const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Website-nxiLIexi.js","assets/index-DnB1XXdB.js","assets/styles-B9gET2wI.js","assets/Wifi-CmcBurRt.js","assets/Icon-J4cd48xR.js","assets/Phone-SkqePKWB.js","assets/Video-B_1FhOaO.js","assets/mockup-video-BqUvLByR.js","assets/Pdf-8hgkrafD.js","assets/mockup_pdf-B-5vjlGQ.js","assets/Images-Yj4BN6Iq.js","assets/mockup-images3-CJBxWM9x.js","assets/Landing-nF2c-vRM.js","assets/mockup_landing-Bn1gUOmy.js","assets/Text-CzpJPkJu.js","assets/Email-DcHmUqLO.js","assets/index-GeNT8hOl.js","assets/styles-D70fo_QL.js","assets/Sms-CZGuQf_a.js","assets/index-DpTIWDKo.js","assets/Whatsapp-CY0elz3K.js","assets/index-CXmGbpaI.js","assets/Barcode-DTiCmCUn.js","assets/Search-BF985Gek.js","assets/Star-BDIRaGT3.js"])))=>i.map(i=>d[i]); import{J as i,m as A,I as w,aa as v,i as a,bc as S,g as L,E as M,r,j as e,b as R,a4 as F,V as x,_ as m,Y as W,A as H,D as c,w as P,bk as O,ad as V,bb as N,cP as U,ba as Q,an as $,cQ as G}from"./index-DnB1XXdB.js";import{a as Y,l as q,f as J,b as K,t as X,M as Z}from"./twitter_nocolor-BV2e2BPP.js";import{a as ee,b as te,c as ie,d as oe}from"./alergeno_pescado-CXFncakG.js";import{I as _}from"./Icon-J4cd48xR.js";import{P as ne}from"./Phone-SkqePKWB.js";const se=i("div")({width:"100%",height:1500,transformOrigin:"0 0","&.coupon":{width:"117.85%",transform:"scale(0.85)"},"&.vcard-plus":{width:"125.85%",transform:"scale(0.8)"},"&.event, &.feedback":{width:"127.85%",transform:"scale(0.78)"}},"SimulateIframe");i("div")({width:"100%",height:"100%"},"SimulateBuilderIframe");const re={simulateIframe:{height:"100%",position:"relative",zIndex:2}},ae=A(re,"BuilderPreview-Generic"),k={Container:i("div")(({theme:t})=>({width:"calc(50% - 13px)",maxWidth:515,height:426,transition:w.transition(),overflow:"hidden",paddingTop:35,[t.breakpoints.up("md")]:{overflow:"visible",height:515,paddingTop:0},[t.breakpoints.down("md")]:{width:"100%",maxWidth:"none"},[t.breakpoints.only("xs")]:{width:"100%"}}),"MokckupFrame"),BgWrapper:i(v("div",["bgGradient"]))(({theme:t,bgGradient:d})=>({borderRadius:"12px 0 0 12px",background:d,position:"relative",width:"100%",height:"100%",display:"flex",alignItems:"flex-end",justifyContent:"center",pointerEvents:"none",padding:"0 10px",[t.breakpoints.down("md")]:{borderRadius:"12px 12px 0 0"}})),BgImage:i(v("div",["bgImage"]))(({theme:t})=>({[t.breakpoints.up("md")]:{display:"block",position:"absolute",top:0,left:0,width:"100%",height:"100%"}})),Bottom:i("div")({height:60,width:"100%",borderRadius:"0 0 8px 8px",position:"absolute",bottom:0,left:0,zIndex:2},"MockupFrame-Bottom"),Cellphone:i(v("div",["large"]))(({large:t})=>({width:"100%",maxWidth:t?250:288,height:t?503:440,border:t?"none":"2px solid #E5E7EF",borderRadius:t?"none":"32px 32px 0 0",display:"flex",flexDirection:"column",padding:t?"12px":"24px 10px 0",backgroundColor:t?"none":a.white,position:"relative",zIndex:2,overflow:"hidden"}),"MokckupFrame-Cellphone"),CellContent:i("div")(({large:t,realpreview:d})=>({backgroundColor:"#EAEAF1",flexGrow:1,position:"relative",borderRadius:t?"32px":"16px 16px 0 0",overflowY:d?"visible":"auto","&::-webkit-scrollbar":{display:"none"}}),"MokckupFrame-CellContent"),CellFrame:i("div")({position:"absolute",zIndex:-1,top:0,left:0,backgroundRepeat:"no-repeat",backgroundSize:"250px 503px",width:250,height:503,"&.visible":{backgroundImage:`url("${S}")`}},"MokckupFrame-CellFrame"),CellTop:i("div")({position:"absolute",zIndex:10,top:0,left:0,width:"100%",height:24,display:"flex",alignItems:"center",justifyContent:"center"},"MokckupFrame-CellTop"),CellLine:i("div")({width:29,height:4,borderRadius:2,backgroundColor:"#CDD1E0"},"MokckupFrame-CellLine")};i("p")(({dark:t})=>({position:"absolute",top:27,left:35,color:t?"#000":"#fff",fontSize:8,lineHeight:"6px"}),"MokckupFrame-CellTime"),i("div")(({dark:t})=>({position:"absolute",zIndex:2,top:30.63,left:177.24,width:"1.85px",height:"2.78px",background:t?"#000":"#fff",borderRadius:"2px"}),"MokckupFrame-CellSignalA"),i("div")(({dark:t})=>({position:"absolute",zIndex:2,top:29.71,left:180.02,width:"1.85px",height:"3.71px",background:t?"#000":"#fff",borderRadius:"2px"}),"MokckupFrame-CellSignalB"),i("div")(({dark:t})=>({position:"absolute",zIndex:2,top:28.47,left:182.8,width:"1.85px",height:"4.94px",background:t?"#000":"#fff",borderRadius:"2px"}),"MokckupFrame-CellSignalC"),i("div")(({dark:t})=>({position:"absolute",zIndex:2,top:27.24,left:185.58,width:"1.85px",height:"6.18px",background:t?"rgba(60, 60, 67, 0.18)":"rgba(255, 255, 255, 0.25)",borderRadius:"2px"}),"MokckupFrame-CellSignalD"),i(L)({position:"absolute",left:191,top:18,width:10},"MockupFrame-Wifi"),i("div")(({dark:t})=>({position:"absolute",zIndex:20,left:206,top:28,width:"12px",height:"5px",background:t?"#000":"#fff",borderRadius:"0.832px"}),"MokckupFrame-Charge"),i("div")({position:"absolute",zIndex:2,left:204,top:26,width:"16px",height:"9px",border:"1px solid #D9D9D9",borderRadius:"2px"},"MokckupFrame-ChargeOutline"),i("div")({position:"absolute",zIndex:2,left:220,top:29,width:"1px",height:"3px",background:"#D9D9D9",borderRadius:"0px 2px 2px 0px"},"MokckupFrame-ChargeOutline");function le({children:t,bgGradient:d="",bgImage:u="",withoutContainer:n=!1,realPreview:s=!1,onLoad:y=()=>{},bgWrapper:b=!0}){const j=M("mdUp"),[T,l]=r.useState(!1),g=r.useRef(null);if(r.useEffect(()=>{if(!("IntersectionObserver"in window)||!g.curent)return l(!0);const h=new IntersectionObserver(D=>{D.forEach(z=>{z.isIntersecting&&(l(!0),h.unobserve(z.target))})},{rootMargin:"700px 0px"});return h.observe(g.current),()=>{h.disconnect()}},[]),!n){const h=e.jsxs(k.Cellphone,{className:"mockup-cell-phone",large:1,style:{marginBottom:-77},ref:g,children:[e.jsx(k.CellFrame,{className:T?"visible":""}),e.jsx(k.CellContent,{className:"mockup-cell-content",large:1,realpreview:s?1:0,children:t})]});return e.jsx(k.Container,{children:b?e.jsxs(k.BgWrapper,{bgGradient:d,children:[j&&u&&e.jsx(k.BgImage,{bgImage:u,style:{backgroundRepeat:"no-repeat",backgroundSize:"contain",backgroundPosition:"0 0",backgroundImage:`url("${u}")`}}),h]}):h})}const p=r.useRef(null),I=()=>{p.current&&!p.current.style.backgroundImage&&(p.current.style.backgroundImage=`url("${S}")`,y())};let C;return r.useEffect(()=>{p!=null&&p.current&&!C&&(C=new Image,C.onload=I,C.src=S)},[p.current]),e.jsxs(k.Cellphone,{large:1,children:[e.jsx(k.CellFrame,{ref:p}),e.jsx(k.CellContent,{className:"mockup-cell-content",style:{backgroundColor:"transparent"},large:1,realpreview:s?1:0,children:t})]})}const de="/assets/mockup_menu_pubs-C1hRTyOo.webp",pe="/assets/mockup_menu_hotels-B7xueFJf.webp",ce="/assets/mockup_menu_transport-CG2_tP2m.webp",me="/assets/mockup_menu_events-DY_oIORW.webp",o={Container:i("div")({display:"flex",flexDirection:"column",color:a.white},"Website-Container"),HeaderContainer:i("div")({display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:"0 0 16px 0px",backgroundColor:"#fff"}),HeaderImg:i("img")({position:"relative",width:"100%",height:"auto"}),HeaderText:i("div")({textAlign:"center",fontSize:"14",lineHeight:"22px",marginBottom:2,fontFamily:"Lato",fontWeight:700,color:"#000",marginTop:16}),Subtitle:i("p")({width:"100%",fontWeight:400,fontSize:9,textAlign:"center",minHeight:"25px",lineHeight:"16px",color:"#5A5B70"}),ContentContainer:i("div")({width:"100%",position:"relative",backgroundColor:"#fff",borderTop:"1px solid #E5E7EF",display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",padding:"16px 16px 0"}),Title:i("p")({width:190,fontWeight:800,fontSize:9,textAlign:"left",lineHeight:"22px",color:"#220E27",textTransform:"uppercase",letterSpacing:"1px",marginBottom:8}),Items:i("div")({display:"flex",flexDirection:"column",marginBottom:20}),Item:i("div")({display:"flex",justifyContent:"space-between",alignItems:"center",width:190,height:36,borderRadius:4,backgroundColor:"#fff",border:"1px solid #E5E7EF",marginBottom:8,"&:hover":{cursor:"pointer"},"&:last-child":{marginBottom:0}}),ItemText:i("p")({color:"#000",paddingLeft:13.5,fontSize:12,fontWeight:700,lineHeight:"22px"}),ItemIcon:i("div")({border:"solid #306C3F",borderWidth:"0 3px 3px 0",display:"inline-block",padding:3,transform:"rotate(-45deg)",WebkitTransform:"rotate(-45deg)",marginRight:13}),TypesContainer:i("div")({width:190,height:172,backgroundColor:"#F3F5FE",borderRadius:4,display:"flex",justifyContent:"center",alignItems:"center",padding:16,flexWrap:"wrap",marginBottom:16}),Type:i("div")({display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"50%"}),TypeText:i("p")({color:"#8B8CA5",fontSize:12,fontWeight:500,lineHeight:"19px"}),Img:i("img")({width:32,height:32,marginBottom:4}),ScheduleContainer:i("div")({width:190,height:"auto",backgroundColor:"#F7F7F7",borderRadius:4,display:"flex",flexDirection:"column",alignItems:"center",padding:"18px 12px 12px",flexWrap:"wrap"}),Section:i("div")({width:"100%",display:"flex",marginBottom:15,"&:last-child":{marginBottom:0}}),IconWrapper:i("div")({display:"flex",justifyContent:"center",alignItems:"center",color:"#000",backgroundColor:"#fff",width:30,height:30,borderRadius:4}),RightText:i("div")({display:"flex",flexDirection:"column",alignItems:"start",paddingTop:1,paddingLeft:12,maxWidth:136}),RightTextTitle:i("p")({fontSize:11,fontWeight:600,lineHeight:"13px",color:"#000"}),RightTextSubtitle:i("p")({marginTop:6,fontSize:9,fontWeight:500,lineHeight:"19px",color:"#31D3B3"}),ScheduleContent:i("div")({display:"flex",flexDirection:"column",width:"100%"}),ScheduleItem:i("div")({display:"flex",justifyContent:"space-between",width:"100%",fontSize:9,fontWeight:500,lineHeight:"19px",color:"#8B8CA5",marginBottom:9,"&:first-child":{color:"#000",fontWeight:600}}),Link:i("a")({marginTop:12,fontSize:9,fontWeight:500,lineHeight:"19px",color:"#1D59F9","&:hover":{cursor:"pointer"}}),PhoneText:i("p")({marginTop:1,fontSize:10,fontWeight:500,lineHeight:"19px",color:"#8B8CA5"}),Contact:i("div")({marginTop:20,display:"flex",flexDirection:"column",borderTop:"solid 1px #E5E7EF",borderBottom:"solid 1px #E5E7EF",padding:"20px 16px"}),ContactSubtitle:i("p")({width:"100%",textAlign:"left",color:"#000",fontSize:9,fontWeight:800,lineHeight:"22px",textTransform:"uppercase"}),Socials:i("div")({marginTop:25,display:"flex",flexDirection:"column",marginBottom:34}),Social:i("div")({display:"flex",width:"100%",marginBottom:19,"&:last-child":{marginBottom:0}}),Logo:i("div")({}),SocialUser:i("p")({paddingLeft:8,color:"#220E27",fontWeight:400,fontSize:13,lineHeight:"16px"}),MapImage:i("img")({marginTop:12,width:189,height:138}),Bottom:i("div")({backgroundColor:"#fff",color:"#96949C",height:"63px",fontSize:12,fontWeight:500,lineHeight:"19px",display:"flex",justifyContent:"center",alignItems:"center",textAlign:"center",verticalAlign:"middle"})},ue=[{social:"facebook",icon:J,user:"/corleonepizzas"},{social:"linkedin",icon:K,user:"/corleonepizzas"},{social:"twitter",icon:X,user:"/corleonepizzas"}];function ge({large:t=!1,onLoad:d=()=>{},category:u=""}){var T;const n=R(),{handleLoad:s}=F(7,d),y={default:{title:n.formatMessage({id:"mockups.menu.title"}),description:n.formatMessage({id:"mockups.menu.description"}),image:Y,sections:[n.formatMessage({id:"mockups.menu.sections.0"}),n.formatMessage({id:"mockups.menu.sections.1"}),n.formatMessage({id:"mockups.menu.sections.2"}),n.formatMessage({id:"mockups.menu.sections.3"})]},pubs:{title:n.formatMessage({id:"mockups.menu.pubs.title"}),description:n.formatMessage({id:"mockups.menu.pubs.description"}),image:de,sections:[n.formatMessage({id:"mockups.menu.sections.4"}),n.formatMessage({id:"mockups.menu.sections.5"})]},hotels:{title:n.formatMessage({id:"mockups.menu.hotels.title"}),description:n.formatMessage({id:"mockups.menu.hotels.description"}),image:pe,sections:[n.formatMessage({id:"mockups.menu.sections.0"}),n.formatMessage({id:"mockups.menu.sections.8"})]},transport:{title:n.formatMessage({id:"mockups.menu.transports.title"}),description:n.formatMessage({id:"mockups.menu.transports.description"}),image:ce,sections:[n.formatMessage({id:"mockups.menu.sections.0"}),n.formatMessage({id:"mockups.menu.sections.6"})]},events:{title:n.formatMessage({id:"mockups.menu.events.title"}),description:n.formatMessage({id:"mockups.menu.events.description"}),image:me,sections:[n.formatMessage({id:"mockups.menu.sections.0"}),n.formatMessage({id:"mockups.menu.sections.7"})]}},b=y[u]||y.default,j=[{day:n.formatMessage({id:"mockups.menu.schedule.day1"}),time:"10:00 am - 12:00 am"},{day:n.formatMessage({id:"mockups.menu.schedule.day2"}),time:"10:00 am - 12:00 am"},{day:n.formatMessage({id:"mockups.menu.schedule.day3"}),time:"10:00 am - 12:00 am"},{day:n.formatMessage({id:"mockups.menu.schedule.day4"}),time:null},{day:n.formatMessage({id:"mockups.menu.schedule.day5"}),time:"10:00 am - 12:00 am"},{day:n.formatMessage({id:"mockups.menu.schedule.day6"}),time:"10:00 am - 12:00 am"},{day:n.formatMessage({id:"mockups.menu.schedule.day7"}),time:"10:00 am - 12:00 am"}];return e.jsxs(o.Container,{children:[e.jsxs(o.HeaderContainer,{children:[e.jsx(o.HeaderImg,{src:b.image,large:t?1:0,width:"226",height:"212",alt:"Pizza",loading:"lazy",onLoad:s,onError:s}),e.jsx(o.HeaderText,{large:t?1:0,children:b.title}),e.jsx(o.Subtitle,{large:t?1:0,children:b.description})]}),e.jsxs(o.ContentContainer,{large:t?1:0,children:[e.jsx(o.Title,{children:e.jsx(x,{id:"mockups.pdf.button"})}),e.jsx(o.Items,{children:!!((T=b.sections)!=null&&T.length)&&b.sections.map(l=>e.jsxs(o.Item,{children:[e.jsx(o.ItemText,{children:l}),e.jsx(o.ItemIcon,{})]}))}),t&&e.jsxs("div",{children:[e.jsxs(o.TypesContainer,{children:[e.jsxs(o.Type,{children:[e.jsx(o.Img,{src:ee,alt:"cereales",onLoad:s,onError:s}),e.jsx(o.TypeText,{children:e.jsx(x,{id:"mockups.menu.allergen1"})})]}),e.jsxs(o.Type,{children:[e.jsx(o.Img,{src:te,alt:"crustaceos",onLoad:s,onError:s}),e.jsx(o.TypeText,{children:e.jsx(x,{id:"mockups.menu.allergen2"})})]}),e.jsxs(o.Type,{children:[e.jsx(o.Img,{src:ie,alt:"huevos",onLoad:s,onError:s}),e.jsx(o.TypeText,{children:e.jsx(x,{id:"mockups.menu.allergen3"})})]}),e.jsxs(o.Type,{children:[e.jsx(o.Img,{src:oe,alt:"pescados",onLoad:s,onError:s}),e.jsx(o.TypeText,{children:e.jsx(x,{id:"mockups.menu.allergen4"})})]})]}),e.jsxs(o.ScheduleContainer,{children:[e.jsxs(o.Section,{children:[e.jsx(o.IconWrapper,{children:e.jsx(_,{name:"clock",size:18})}),e.jsxs(o.RightText,{children:[e.jsx(o.RightTextTitle,{children:e.jsx(x,{id:"mockups.menu.schedule.title"})}),e.jsx(o.RightTextSubtitle,{children:e.jsx(x,{id:"mockups.menu.schedule.subtitle"})})]})]}),e.jsxs(o.ScheduleContent,{children:[j.map((l,g)=>e.jsxs(o.ScheduleItem,{children:[e.jsx("p",{children:l.day}),e.jsx("p",{children:l.time?l.time:e.jsx(x,{id:"mockups.menu.schedule.closed"})})]},g)),e.jsxs(o.Section,{style:{marginTop:19},children:[e.jsx(o.IconWrapper,{children:e.jsx(_,{name:"location",size:18})}),e.jsxs(o.RightText,{children:[e.jsx(o.RightTextTitle,{children:"Prta del Sol, 41, 28013 Madrid, Spain"}),e.jsx(o.Link,{href:"https://www.google.com/maps/place/Prta+del+Sol,+41,+28013+Madrid,+Espa%C3%B1a/data=!4m2!3m1!1s0xd42287e116bdf5d:0xe7bf72fdcb3a56da?sa=X&ved=2ahUKEwifu_-A5838AhWOrJUCHZWbAQYQ8gF6BAgTEAI",target:"_blank",children:"Mostrar en el mapa"})]})]}),e.jsxs(o.Section,{style:{marginTop:5},children:[e.jsx(o.IconWrapper,{children:e.jsx(ne,{size:18})}),e.jsxs(o.RightText,{children:[e.jsx(o.RightTextTitle,{children:"+54 11 0000 0000"}),e.jsx(o.PhoneText,{children:"Teléfono Celular"})]})]})]})]}),e.jsxs(o.Contact,{children:[e.jsx(o.ContactSubtitle,{children:e.jsx(x,{id:"mockups.menu.contact.socials"})}),e.jsx(o.Socials,{children:ue.map((l,g)=>e.jsxs(o.Social,{children:[e.jsx(o.Logo,{children:e.jsx("img",{src:l.icon,alt:l.social,onLoad:s,onError:s})}),e.jsx(o.SocialUser,{children:l.user})]},g))}),e.jsx(o.ContactSubtitle,{children:e.jsx(x,{id:"mockups.menu.contact.location"})}),e.jsx(o.MapImage,{src:q,alt:"map",onLoad:s,onError:s})]})]})]}),e.jsx(o.Bottom,{large:t?1:0,children:"2022 © QRfy, España"})]})}const E=r.lazy(()=>m(()=>import("./Website-nxiLIexi.js"),__vite__mapDeps([0,1,2]))),he=r.lazy(()=>m(()=>import("./Wifi-CmcBurRt.js"),__vite__mapDeps([3,1,2,4,5]))),xe=r.lazy(()=>m(()=>import("./Video-B_1FhOaO.js"),__vite__mapDeps([6,1,7,2]))),fe=r.lazy(()=>m(()=>import("./Pdf-8hgkrafD.js"),__vite__mapDeps([8,1,9,2]))),be=r.lazy(()=>m(()=>import("./Images-Yj4BN6Iq.js"),__vite__mapDeps([10,1,11,2]))),ke=r.lazy(()=>m(()=>import("./Landing-nF2c-vRM.js"),__vite__mapDeps([12,1,13,2]))),ye=r.lazy(()=>m(()=>import("./Text-CzpJPkJu.js"),__vite__mapDeps([14,1,2]))),Te=r.lazy(()=>m(()=>import("./Email-DcHmUqLO.js"),__vite__mapDeps([15,1,16,17]))),Ce=r.lazy(()=>m(()=>import("./Sms-CZGuQf_a.js"),__vite__mapDeps([18,1,19,17]))),je=r.lazy(()=>m(()=>import("./Whatsapp-CY0elz3K.js"),__vite__mapDeps([20,1,21,17]))),ve=r.lazy(()=>m(()=>import("./Barcode-DTiCmCUn.js"),__vite__mapDeps([22,1,2,23,4,5,24]))),we={url:E,"url-static":E,wifi:he,video:xe,app:"",business:"",event:"",menu:ge,"vcard-plus":"",pdf:fe,images:be,"link-list":"",mp3:"",coupon:"",landing:ke,playlist:"",text:ye,email:Te,sms:Ce,whatsapp:je,barcode:ve},Ie=[c.vcardPlus,c.vcard,c.event,c.coupon,c.business];function Se({type:t,category:d="default",large:u=!1,...n}){const s=we[t],y=ae();return e.jsx(le,{type:t,...n,children:e.jsx(W,{in:!0,children:e.jsx("div",{style:{height:"100%",marginTop:"-10px"},className:"qr-types-mockup",children:e.jsx(r.Suspense,{fallback:e.jsx("div",{}),children:s?e.jsx(s,{large:u,category:d}):e.jsx("div",{className:H({[y.simulateIframe]:Ie.includes(t)}),children:e.jsx(se,{className:t,children:e.jsx(Z,{large:u,type:t,category:d})})})})})},t)})}const ze=i("h2")(({theme:t})=>({fontSize:40,fontWeight:700,lineHeight:"48px",[t.breakpoints.down("md")]:{fontSize:20,lineHeight:"24px"}}),"QrTypes-Title");i("div")(({theme:t})=>({display:"flex",flexDirection:"column",alignItems:"center",width:"100%",maxWidth:1030,margin:"0 auto",[t.breakpoints.down("md")]:{maxWidth:"calc(100% - 40px)"}}),"QrTypes-Center");const _e=i(v("button",["selected"]))(({selected:t})=>({border:`2px solid ${t?a.primary.blue:"#E4E4E4"}`,borderRadius:8,height:"auto",minHeight:116,width:130,display:"inline-flex",flexDirection:"column",alignItems:"center",justifyContent:"center",backgroundColor:a.white,outline:0,padding:6,paddingBottom:6,cursor:"pointer",marginLeft:11,opacity:1,color:a.black,transition:w.transition(),"&:first-child":{marginLeft:0},"&:hover":{backgroundColor:a.white,opacity:1,borderColor:a.primary.blue}}),"Types-Type"),Ae={Container:i("section")({position:"relative"}),Center:P(t=>({root:{paddingTop:40,paddingBottom:40,position:"relative",zIndex:1,[t.breakpoints.up("md")]:{paddingTop:110,paddingBottom:140}}}),"Types-Center")(O),Title:i(ze)(({theme:t})=>({marginBottom:12,textAlign:"center",[t.breakpoints.up("md")]:{marginBottom:20,lineHeight:"48px"}}),"Types-Title"),Text:i("p")(({theme:t})=>({fontSize:16,lineHeight:"28px",color:a.gray.darkest,marginBottom:32,textAlign:"center",[t.breakpoints.up("md")]:{fontSize:20,lineHeight:"34px",marginBottom:36,maxWidth:860}}),"Types-Text"),TypesWrapper:i("div")({width:"100%",marginBottom:54,height:132,"& .container":{lineHeight:1,fontSize:0,whiteSpace:"nowrap",textAlign:"center",display:"flex",justifyContent:"center"}},"Types-TypesWrapper"),TypesContainer:i("div")(({theme:t})=>({display:"flex",flexWrap:"wrap",justifyContent:"center",marginBottom:32,maxWidth:"100%",height:"auto",[t.breakpoints.down("lg")]:{marginBottom:14}}),"Types-TypesContainer"),Type:_e,TypeIconWrapper:i("div")({width:"auto",height:"auto",borderRadius:0,backgroundColor:a.transparent,marginBottom:-7,transition:w.transition(),lineHeight:1,fontSize:0,position:"relative","&::after":{position:"absolute",content:"''",top:0,left:-10,borderRadius:8,display:"block",width:100,height:64,background:a.secondary.lightBlue},"& img":{width:80,height:80,position:"relative",top:-8,zIndex:1}},"Types-TypeIconWrapper"),TypeTitle:i("div")({fontSize:15,lineHeight:"22px",fontWeight:700,marginLeft:0,height:"auto",minHeight:22,whiteSpace:"normal",display:"flex",alignItems:"center",wordBreak:"break-word",padding:"0 4px",flex:"1 auto"},"Types-TypeTitle")},B=i(V)({width:44,height:44,borderRadius:"50%",background:a.black,color:a.white,position:"absolute",top:"50%",zIndex:1}),f={Container:i("div")(({theme:t})=>({display:"flex",flexDirection:"column",alignItems:"center",width:"100%",border:0,borderRadius:8,backgroundColor:a.white,position:"relative",[t.breakpoints.up("md")]:{flexDirection:"row",alignItems:"flex-start",justifyContent:"flex-start"}}),"SelectedType-Container"),ArrowLeft:i(B)(({theme:t})=>({left:-22,[t.breakpoints.down("lg")]:{left:-10}})),ArrowRight:i(B)(({theme:t})=>({right:-22,[t.breakpoints.down("lg")]:{right:-10}})),ImageWrapper:i("div")(({theme:t})=>({[t.breakpoints.up("md")]:{width:"53%"}}),"SelectedType-ImageWrapper"),Image:i("img")({maxWidth:"100%"},"SelectedType-Image"),SlideContent:i("div")(({theme:t})=>({display:"flex",flexDirection:"column",alignItems:"center",width:"100%",[t.breakpoints.up("md")]:{flexDirection:"row",alignItems:"flex-start",justifyContent:"flex-start",overflow:"hidden"},"& .mockup-cell-phone":{[t.breakpoints.up("md")]:{position:"absolute",right:-76}}})),TextWrapper:i("div")(({theme:t})=>({marginTop:0,textAlign:"center",background:a.gray.light,height:"100%",[t.breakpoints.up("md")]:{paddingLeft:61,paddingTop:20,paddingBottom:20,maxWidth:528,borderRadius:"0 12px 12px 0",display:"flex",flexDirection:"column",justifyContent:"center"},[t.breakpoints.down("md")]:{width:"100%",padding:"32px 24px 32px",borderRadius:"0 0 12px 12px"}}),"SelectedType-TextWrapper"),Title:i("h3")(({theme:t})=>({fontSize:24,fontWeight:700,lineHeight:"32px",marginBottom:12,color:a.black,textAlign:"left",[t.breakpoints.up("md")]:{fontSize:40,lineHeight:"48px",marginLeft:64,marginBottom:23}}),"SelectedType-Title"),Description:i("p")(({theme:t})=>({fontSize:15,lineHeight:"26px",color:a.gray.darkest,marginBottom:24,textAlign:"left",[t.breakpoints.up("md")]:{fontSize:16,lineHeight:"28px",maxHeight:200,margin:"0 80px 36px 64px",maxWidth:368}}),"SelectedType-Description"),Actions:i("div")(({theme:t})=>({paddingLeft:64,paddingRight:20,textAlign:"left",display:"flex",alignItems:"center",flexWrap:"wrap",gap:20,[t.breakpoints.down("md")]:{paddingLeft:0,paddingRight:0,justifyContent:"center"},[t.breakpoints.down("sm")]:{flexDirection:"column"}})),ButtonWrapper:i("h2")({}),CategoryLink:i(N)({color:a.primary.blue,fontSize:18,fontWeight:700,padding:"5px 20px",transition:w.transition(),"&:hover, &:active":{color:a.primary.darkBlue}})},Ee=[c.landing,c.text,c.email,c.sms,c.whatsapp,c.barcode];function Le({name:t,title:d,fullName:u="",description:n,category:s="default",bgGradient:y="linear-gradient(180deg, rgba(168, 168, 168, 0.90) 0%, rgba(168, 168, 168, 0.00) 100%)",bgImage:b="",style:j={},handleNext:T=()=>{},handlePrev:l=()=>{},actionCategory:g=null}){const[p,I]=r.useState("menu"),C=M("mdUp"),h=R();return r.useEffect(()=>{I(t)},[t]),e.jsxs(f.Container,{style:j,children:[e.jsx(f.ArrowLeft,{onClick:l,"aria-label":h.formatMessage({id:"common.previous"}),children:e.jsx(U,{size:14})}),e.jsxs(f.SlideContent,{children:[e.jsx(Se,{type:t,category:s,large:!0,dark:Ee.includes(t),bgGradient:y,bgImage:b}),e.jsx(W,{in:p===t,timeout:150,children:e.jsx("div",{style:{display:p===t?"block":"none",flexGrow:1,paddingTop:0,...C?{height:515}:{}},children:e.jsxs(f.TextWrapper,{children:[e.jsx(f.Title,{children:u||d}),e.jsx(f.Description,{children:n}),e.jsxs(f.Actions,{children:[e.jsx(f.ButtonWrapper,{children:e.jsx(Q,{size:"medium",hasArrow:!1,width:219,homeRedirect:!0})}),g&&e.jsx(f.CategoryLink,{to:$("qrForBusinessInternal").replace(":category",g),children:h.formatMessage({id:"qrTypes.moreInfo"})})]})]})})})]}),e.jsx(f.ArrowRight,{"aria-label":h.formatMessage({id:"common.next"}),onClick:T,children:e.jsx(G,{size:14})})]})}export{Se as M,Le as S,Ee as d,Ae as s};