"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[786],{4786:function(e,r,n){n.r(r),n.d(r,{default:function(){return O}});var t=n(57437),o=n(2265),i=n(56198),a=n(54272),s=n(10356),l=n(25166),d=n(97894),c=n(89539),m=n(21316),u=n(18087),h=n(85195),x=n(95996),p=n(27494),g=n(2990),f=n(7155);let j=(0,p.Z)({typography:{fontFamily:'sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"'},palette:{primary:{main:"#e64f6c"},companyBlue:{backgroundColor:"#65CFE9",color:"#fff"},background:{default:"#ebcbd80a"},grey:{main:"#cccccc"}},components:{MuiCardContent:{styleOverrides:{root:{padding:"0","&:last-child":{padding:"0"}}}}}});j=(0,g.Z)(j);var Z=function(e){let[r,n]=(0,o.useState)(!1),[i,a]=(0,o.useState)([]),[s,l]=(0,o.useState)(!1);(0,o.useEffect)(()=>{let r={bodegaid:e.bodegaid,fecha:e.fecha};l(!0),fetch("/api/turnos/getturnosbyidfecha",{method:"POST",body:JSON.stringify(r),headers:{"Content-Type":"application/json"}}).then(e=>{if(l(!1),!e.ok)throw Error("HTTP error! Status: ".concat(e.status));return e.json()}).then(e=>{l(!1),a(e),n(!0)}).catch(e=>{l(!1),n(!1)})},[e.fecha]);let d=(r,n,t)=>{e.turnoSelected(r,n,t)};return(0,t.jsx)(f.Z,{theme:j,children:(0,t.jsx)(t.Fragment,{children:r&&0===i.length?(0,t.jsx)(m.ZP,{container:!0,style:{position:"relative",padding:"1rem",color:"#000000",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,t.jsx)(u.Z,{variant:"h4",style:{fontSize:"1.6rem",fontWeight:"400",color:"#000000"},align:"center",color:"textPrimary",gutterBottom:!0,children:"Lo sentimos. No existen turnos de visita disponibles para esa fecha."})}):r&&0!==i.length?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.ZP,{style:{position:"relative",color:"#000000",paddingBottom:"1rem",maxWidth:"700px",margin:"auto"},children:(0,t.jsx)(u.Z,{variant:"h2",style:{fontSize:"1.2rem",fontWeight:"600",color:"#000000"},align:"left",color:"textPrimary",gutterBottom:!0,children:"Selecciona la hora"})}),i.map(r=>(0,t.jsx)(h.Z,{onClick:()=>d(e.bodegaid,r.fechaTurnoid,r.hora),sx:{cursor:"pointer",maxWidth:"700px",padding:"1rem",margin:"auto",marginTop:"2rem"},children:(0,t.jsx)(x.Z,{children:(0,t.jsxs)(m.ZP,{container:!0,spacing:2,sx:{color:"#000000"},children:[(0,t.jsx)(m.ZP,{item:!0,xs:4,sm:3,md:3,sx:{padding:"1rem 1rem 0rem 1rem"},children:(0,t.jsx)(m.ZP,{container:!0,justifyContent:"center",alignItems:"center",sx:{height:"100%",display:"flex",alignItems:"center",borderRight:"2px solid #f9ecec"},children:(0,t.jsxs)(u.Z,{gutterBottom:!0,component:"div",variant:"h4",sx:{color:"#d60036",padding:"1rem 1rem 0rem 1rem",margin:0},children:[r.hora,(0,t.jsx)(u.Z,{gutterBottom:!0,variant:"caption",component:"div",sx:{color:"#1b2442",margin:"0.5rem",padding:"0.5rem",display:"flex",borderTop:"2px solid #f9ecec",flexDirection:"column",alignItems:"center"},children:r.idioma})]})})}),(0,t.jsx)(m.ZP,{item:!0,xs:6,sm:6,md:6,sx:{padding:"1rem 4rem 0rem 1rem"},children:(0,t.jsx)(m.ZP,{container:!0,justifyContent:"center",alignItems:"center",sx:{height:"100%",display:"flex",alignItems:"center"},children:(0,t.jsx)(u.Z,{gutterBottom:!0,variant:"h6",component:"div",sz:{color:"#1b2442"},children:r.nombrevisitaadulto})})}),(0,t.jsx)(m.ZP,{item:!0,xs:2,sm:3,md:3,sx:{padding:"1rem 1rem 0rem 1rem"},children:(0,t.jsx)(m.ZP,{container:!0,justifyContent:"center",alignItems:"center",sx:{height:"100%",borderRadius:2,display:"flex",alignItems:"center"},children:(0,t.jsx)(m.ZP,{item:!0,sx:{flex:1},children:"-"===r.ofertaadulto?(0,t.jsxs)(u.Z,{variant:"h6",color:"#ffffff",sx:{textAlign:"center",backgroundColor:"#d60036",padding:"1rem",borderRadius:2},children:[r.preciovisitaadulto,"€"]}):(0,t.jsxs)(u.Z,{variant:"h6",color:"#ffffff",sx:{textAlign:"center",backgroundColor:"green",padding:"1rem",borderRadius:2},children:[r.ofertaadulto,"€"]})})})})]})})},r.fechaTurnoid))]}):s?(0,t.jsx)(m.ZP,{container:!0,style:{position:"relative",padding:"1rem",color:"#000000",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,t.jsx)("img",{src:"/loader-wt.gif",alt:"Loading..."})}):(0,t.jsx)(t.Fragment,{})})})},b=n(44777),v=n(15412),y=n(19038),S=n(41848),P=n(91088),C=n(35662),B=n(3537),T=n(41991),I=n(16608),w=n(47907),k=n(65482),z=n(11923);let _=(0,k.J)("pk_live_51MDo6gA5Ej6B9yw9APzK1pzhZPimZcw7twr02vgIPlBLAgUzWpj17xM0CwL3W3Wv8oLuKqjKfVqXcS72R7NzXtXN00ssqKA4as"),q=e=>{let[r,n]=(0,o.useState)({clientSecret:""}),[i,s]=(0,o.useState)([]),[l,d]=(0,o.useState)(0),[h,x]=(0,o.useState)(!1),[p,g]=o.useState(!1);(0,w.useRouter)();let[f,j]=o.useState({bodegaid:e.bodegaid,fechaTurnoid:e.fechaturnoid,email:"",padultos:e.padultos,pninos:e.pninos,numadultos:0,numninos:0,fecha:c(),name:"",surname:"",phone:"",total:0,codigocupon:""}),Z=T.Ry().shape({name:T.Z_().required("Name is required"),surname:T.Z_().required("Surname is required"),phone:T.Z_().required("Phone is required"),numadultos:T.Rx().min(1,"Please select a value other than 0"),email:T.Z_().matches(/^[a-zA-Z0-9._-]+@[a-zA-Z0-9-]+\.[a-zA-Z]{2,6}$/,"Invalid email address").required("Email is required"),confirmemail:T.Z_().email("Invalid email address").oneOf([T.iH("email"),null],"Emails must match").required("Confirm Email is required")}),k=(0,B.TA)({initialValues:{name:"",bodegaid:e.bodegaid,fechaTurnoid:e.fechaturnoid,surname:"",phone:"",email:"",confirmemail:"",numadultos:0,numninos:0,codigocupon:""},validationSchema:Z,onSubmit:e=>{E()}}),q=e=>r=>{j({...f,[e]:r.target.value}),k.handleChange(r)},A=e=>r=>{if("numadultos"===e){let e=r.target.value*f.padultos+f.numninos*f.pninos;j({...f,numadultos:r.target.value,total:e})}else if("numninos"===e){let e=f.numadultos*f.padultos+r.target.value*f.pninos;j({...f,numninos:r.target.value,total:e})}k.handleChange(r)},E=async()=>{g(!0);let e=await fetch("/api/reservas/create/cliente",{method:"POST",body:JSON.stringify(f),headers:{"Content-Type":"application/json"}});e.ok&&n({clientSecret:(await e.json()).clientSecret}),g(!1)};return(0,t.jsx)(t.Fragment,{children:""===r.clientSecret?(0,t.jsxs)("form",{onSubmit:k.handleSubmit,children:[(0,t.jsx)(S.Z,{sx:{width:"100%"},children:(0,t.jsx)(v.Z,{label:"Nombre",margin:"normal",variant:"outlined",name:"name",value:k.values.name,onChange:q("name"),onBlur:k.handleBlur,error:k.touched.name&&!!k.errors.name,helpertext:k.touched.name&&k.errors.name,InputLabelProps:{shrink:!0}})}),(0,t.jsx)(S.Z,{sx:{width:"100%"},children:(0,t.jsx)(v.Z,{label:"Apellidos",margin:"normal",variant:"outlined",name:"surname",value:k.values.surname,onChange:q("surname"),onBlur:k.handleBlur,error:k.touched.surname&&!!k.errors.surname,helpertext:k.touched.surname&&k.errors.surname,InputLabelProps:{shrink:!0}})}),(0,t.jsx)(S.Z,{sx:{width:"100%"},children:(0,t.jsx)(v.Z,{label:"Email",margin:"normal",type:"email",variant:"outlined",name:"email",value:k.values.email,onChange:q("email"),onBlur:k.handleBlur,error:k.touched.email&&!!k.errors.email,helpertext:k.touched.email&&k.errors.email,InputLabelProps:{shrink:!0}})}),(0,t.jsx)(S.Z,{sx:{width:"100%"},children:(0,t.jsx)(v.Z,{label:"Repite tu email",margin:"normal",type:"email",variant:"outlined",name:"confirmemail",value:k.values.confirmemail,onChange:q("confirmemail"),onBlur:k.handleBlur,error:k.touched.confirmemail&&!!k.errors.confirmemail,helpertext:k.touched.confirmemail&&k.errors.confirmemail,InputLabelProps:{shrink:!0}})}),(0,t.jsx)(S.Z,{sx:{width:"100%"},children:(0,t.jsx)(v.Z,{label:"Tel\xe9fono",margin:"normal",variant:"outlined",name:"phone",value:k.values.phone,onChange:q("phone"),onBlur:k.handleBlur,error:k.touched.phone&&!!k.errors.phone,helpertext:k.touched.phone&&k.errors.phone,InputLabelProps:{shrink:!0}})}),(0,t.jsx)(a.Z,{sx:{marginTop:"10px",marginBottom:"10px"},children:(0,t.jsx)(m.ZP,{container:!0,alignItems:"center",spacing:1,children:(0,t.jsx)(m.ZP,{item:!0,xs:12,children:(0,t.jsxs)(S.Z,{sx:{width:"100%"},children:[(0,t.jsx)(u.Z,{id:"discrete-slider",align:"left",variant:"caption",gutterBottom:!0,sx:{color:"#00000099"},children:"\xbfCu\xe1ntos adultos? (Mayores de 16 a\xf1os)"}),(0,t.jsx)(C.Z,{name:"numadultos",value:k.values.numadultos,onChange:A("numadultos"),onBlur:k.handleBlur,error:k.touched.numadultos&&!!k.errors.numadultos,children:Array.from({length:e.numplazas+1},(e,r)=>(0,t.jsx)(y.Z,{value:r,children:r},r))}),(0,t.jsx)(I.Z,{error:k.touched.numadultos&&!!k.errors.numadultos,children:k.touched.numadultos&&k.errors.numadultos})]})})})}),(0,t.jsx)(a.Z,{sx:{marginTop:"10px",marginBottom:"10px"},children:(0,t.jsx)(m.ZP,{container:!0,alignItems:"center",spacing:1,children:(0,t.jsx)(m.ZP,{item:!0,xs:12,children:(0,t.jsxs)(S.Z,{sx:{width:"100%"},children:[(0,t.jsx)(u.Z,{id:"discrete-slider",align:"left",variant:"caption",gutterBottom:!0,sx:{color:"#00000099"},children:"\xbfCu\xe1ntos ni\xf1os? (Menores de 16 a\xf1os)"}),(0,t.jsxs)(C.Z,{name:"numninos",value:k.values.numninos,onChange:A("numninos"),onBlur:k.handleBlur,error:k.touched.numninos&&!!k.errors.numninos,helpertext:k.touched.numninos&&k.errors.numninos,children:[(0,t.jsx)(y.Z,{value:0,children:"0  "}),(0,t.jsx)(y.Z,{value:1,children:"1  "}),(0,t.jsx)(y.Z,{value:2,children:"2  "}),(0,t.jsx)(y.Z,{value:3,children:"3  "}),(0,t.jsx)(y.Z,{value:4,children:"4  "}),(0,t.jsx)(y.Z,{value:5,children:"5  "}),(0,t.jsx)(y.Z,{value:6,children:"6  "}),(0,t.jsx)(y.Z,{value:7,children:"7  "}),(0,t.jsx)(y.Z,{value:8,children:"8  "})]})]})})})}),e.tienecupon,!0===e.tienecupon?(0,t.jsxs)(a.Z,{sx:{marginTop:"1rem"},children:[(0,t.jsx)(b.Z,{color:"primary",fullWidth:"true",onClick:()=>{x(!h)},children:"\xbfTienes un cup\xf3n?"}),!0===h?(0,t.jsx)(S.Z,{sx:{width:"100%"},children:(0,t.jsx)(v.Z,{onChange:q("codigocupon"),label:"Cup\xf3n descuento (Se aplicar\xe1 en el momento de pago)",margin:"normal",variant:"outlined",name:"codigocupon",InputLabelProps:{shrink:!0}})}):(0,t.jsx)(t.Fragment,{})]}):(0,t.jsx)(t.Fragment,{}),(0,t.jsx)(a.Z,{sx:{marginTop:"1rem",marginBottom:"1rem"},children:(0,t.jsx)(S.Z,{sx:{width:"100%"},children:(0,t.jsx)(P.Z,{type:"submit",fullWidth:!0,variant:"contained",color:"success",size:"large",loading:p,sx:{height:"70px",fontSize:"20px"},children:(0,t.jsxs)("span",{children:["RESERVAR (",f.total.toFixed(2),"€)"]})})})})]}):""!==r.clientSecret?(0,t.jsx)(z.EmbeddedCheckoutProvider,{stripe:_,options:r,children:(0,t.jsx)(z.EmbeddedCheckout,{})}):(0,t.jsx)(t.Fragment,{})})};var A=function(e){let[r,n]=(0,o.useState)(!1),[i,a]=(0,o.useState)([]),[s,l]=(0,o.useState)(!1),[d,c]=(0,o.useState)("-"),[p,g]=(0,o.useState)("-");(0,o.useEffect)(()=>{let r={bodegaid:e.bodegaid,fechaTurnoid:e.fechaTurnoid};l(!0),fetch("/api/turnos/getbyidfechaturnoid",{method:"POST",body:JSON.stringify(r),headers:{"Content-Type":"application/json"}}).then(e=>{if(l(!1),!e.ok)throw Error("HTTP error! Status: ".concat(e.status));return e.json()}).then(e=>{l(!1),c(f(d,e[0].preciovisitaadulto,e[0].ofertaadulto)),g(f(p,e[0].preciovisitanino,e[0].ofertanino)),a(e),n(!0)}).catch(e=>{l(!1),n(!1)}),n(!0)},[e.fechaTurnoid]);let f=(e,r,n)=>"-"===e?parseFloat(r)>parseFloat(n)?n:r:e;return(0,t.jsx)(t.Fragment,{children:r&&0!==i.length?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.ZP,{sx:{position:"relative",color:"#000000",paddingBottom:"1rem",maxWidth:"700px",margin:"auto"},children:(0,t.jsx)(u.Z,{variant:"h6",sx:{fontSize:"1rem",fontWeight:"600",color:"#000000"},align:"left",color:"textPrimary",gutterBottom:!0,children:"Completa con tus datos:"})}),i.map(r=>(0,t.jsx)(h.Z,{sx:{margin:"auto",maxWidth:"700px"},children:(0,t.jsx)(x.Z,{children:(0,t.jsxs)(m.ZP,{container:!0,spacing:1,sx:{color:"#000000"},children:[(0,t.jsx)(m.ZP,{item:!0,xs:4,sm:3,md:3,sx:{padding:"1rem 1rem 0rem 1rem",borderRight:"2px solid #f9ecec"},children:(0,t.jsx)(m.ZP,{container:!0,justifyContent:"center",alignItems:"center",sx:{height:"100%",display:"flex",alignItems:"center"},children:(0,t.jsxs)(u.Z,{gutterBottom:!0,component:"div",variant:"h4",sx:{color:"#d60036",padding:"1rem 1rem 0rem 1rem",margin:0},children:[r.hora,(0,t.jsx)(u.Z,{gutterBottom:!0,variant:"caption",component:"div",sx:{color:"#1b2442",margin:"0.5rem",padding:"0.5rem",display:"flex",borderTop:"2px solid #f9ecec",flexDirection:"column",alignItems:"center"},children:r.idioma})]})})}),(0,t.jsx)(m.ZP,{item:!0,xs:8,sm:9,md:9,sx:{padding:"1rem 0rem 0rem 0.5rem",backgroundColor:"#fafafa"},children:(0,t.jsxs)(x.Z,{children:[(0,t.jsx)(u.Z,{gutterBottom:!0,variant:"subtitle2",color:"textSecondary",sx:{marginBottom:"1rem",fontSize:"12px"},children:"-"!==r.descripcionturno?(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:r.descripcionturno}}):null}),(0,t.jsxs)(u.Z,{gutterBottom:!0,variant:"subtitle2",color:"textSecondary",sx:{marginBottom:"0.5rem",fontSize:"14px",fontWeight:"bold"},children:["Visita de adulto: ",r.nombrevisitaadulto," (",d,"€)"]}),(0,t.jsx)(u.Z,{gutterBottom:!0,variant:"subtitle2",color:"textSecondary",sx:{marginBottom:"1rem",fontSize:"12px"},children:(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:r.descripvisitaadulto}})}),(0,t.jsxs)(u.Z,{gutterBottom:!0,variant:"subtitle2",color:"textSecondary",sx:{marginBottom:"0.5rem",fontSize:"14px",fontWeight:"bold"},children:["Visita de ni\xf1o: ",r.nombrevisitanino," (",p,"€)"]}),(0,t.jsx)(u.Z,{gutterBottom:!0,variant:"subtitle2",color:"textSecondary",sx:{marginBottom:"1rem",fontSize:"12px"},children:(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:r.descripvisitanino}})}),(0,t.jsxs)(u.Z,{gutterBottom:!0,variant:"subtitle2",color:"textSecondary",sx:{marginBottom:"1rem",fontSize:"12px"},children:["Duraci\xf3n aproximada: ",r.duracion,"min"]})]})}),(0,t.jsx)(m.ZP,{item:!0,xs:12,sx:{color:"#1b2442",borderTop:"2px solid #f9ecec",paddingTop:"1rem",margin:"2rem 1rem 0rem 1rem"},children:(0,t.jsx)(B.J9,{initialValues:{name:"",bodegaid:e.bodegaid,fechaTurnoid:e.fechaTurnoid,surname:"",phone:"",email:"",confirmemail:"",numadultos:0,numninos:0,codigocupon:""},children:e=>(0,t.jsx)(q,{...e,numplazas:r.disponibles,fechaturnoid:r.fechaTurnoid,bodegaid:r.bodegaid,tienecupon:r.tienecupon,padultos:d,pninos:p})})})]})})},r.fechaTurnoid))]}):s?(0,t.jsx)(m.ZP,{container:!0,style:{position:"relative",padding:"1rem",color:"#000000",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,t.jsx)("img",{src:"/loader-wt.gif",alt:"Loading..."})}):(0,t.jsx)(t.Fragment,{})})},E=n(58836),F=n(43206),R=n(95423),L=n(34111),W=n(79309),M=n(92293);n(18006);var O=function(e){c.locale("es");let[r,n]=(0,o.useState)(!1),[h,x]=(0,o.useState)(!1),[p,g]=(0,o.useState)(!1),[f,j]=(0,o.useState)(),b=c().subtract(1,"day"),v=c(),y=c().add(1,"days"),S=v.format("YYYY"),P=v.format("MM"),C=v.format("DD"),B=S.concat("-"+P).concat("-"+C);(0,E.ZP)(F.Z)(e=>{let{theme:r}=e;return{borderRadius:r.shape.borderRadius}}),(0,E.ZP)(d.H)(e=>{let{theme:r}=e;return{borderRadius:r.shape.borderRadius,color:"light"===r.palette.mode?r.palette.secondary.dark:r.palette.secondary.light}});let[T,I]=(0,o.useState)({hoy:v,fechaquery:B,fechaconsultada:y,manana:y,horaelegida:0,modificada:!1});function w(e){let r=e.substring(0,4),n=parseInt(e.substring(4,6))-1,t=e.substring(6,8);I({horaelegida:0,fechaquery:e,fechaconsultada:y=c().year(r).month(n).date(t),modificada:!0})}return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(m.ZP,{style:{backgroundColor:"#d60036",paddingTop:"3rem",paddingBottom:"3rem",color:"#ccccc",textAlign:"center"},children:[(0,t.jsx)(u.Z,{variant:"h2",style:{backgroundColor:"#d60036",fontSize:"1.5rem",fontWeight:"400",marginTop:"2px",color:"#ffffff"},align:"center",color:"textPrimary",gutterBottom:!0,children:"\xbfCu\xe1ndo quieres visitar la bodega?"}),(0,t.jsx)(a.Z,{sx:{display:"flex",justifyContent:"center",p:1,m:0,bgcolor:"#d60036",borderRadius:2},children:(0,t.jsx)(s._,{dateAdapter:l.y,adapterLocale:"es",children:(0,t.jsx)(i.O,{disablePast:!0,closeOnSelect:!0,defaultValue:b,views:["year","month","day"],onChange:function(r){x(!0);let n=c(r),t=n.format("YYYY"),o=n.format("MM"),i=n.format("DD"),a=t.concat("-"+o).concat("-"+i);e.bodega,g(!1),x(!0),I({horaelegida:0,fechaquery:a,manana:y,fechaconsultada:n,modificada:!0})},slotProps:{textField:{sx:{"& input":{color:"white",fontSize:"24px",textAlign:"center"},"& .MuiOutlinedInput-root":{border:"2px solid white"}},InputProps:{endAdornment:(0,t.jsx)(L.Z,{position:"end",children:(0,t.jsx)(R.Z,{sx:{fontSize:30,color:"white"}})})}},actionBar:{actions:[]},toolbar:{hidden:!0}}})})}),(0,t.jsx)(m.ZP,{style:{color:"#000000",padding:"0.2rem 1rem 0rem 1rem"},children:(0,t.jsx)(u.Z,{variant:"caption",style:{backgroundColor:"#d60036",fontWeight:"100",marginTop:"2px",color:"#ffffff"},color:"textPrimary",gutterBottom:!0,children:(0,t.jsx)(M.Z,{href:"https://www.winetour.io",sx:{color:"white"},underline:"hover",children:"Powered by winetour.io"})})})]}),!0===h?(0,t.jsxs)(m.ZP,{style:{position:"relative",color:"#000000",padding:"2.5rem 0.5rem 2.5rem 0.5rem",backgroundColor:"#fff9f9"},children:[(0,t.jsx)(F.Z,{sx:{position:"absolute",top:0,right:0,zIndex:2,padding:"1rem"},onClick:()=>x(!1),"aria-label":"close menu",children:(0,t.jsx)(W.Z,{})}),(0,t.jsx)(Z,{bodegaid:e.bodegaid,fecha:T.fechaquery,cerrarSelected:w,turnoSelected:(e,r,n)=>{j(r),g(!0),x(!1)}})]}):!0===p?(0,t.jsxs)(m.ZP,{style:{position:"relative",color:"#000000",padding:"2.5rem 0.5rem 2.5rem 0.5rem",backgroundColor:"#fff9f9"},children:[(0,t.jsx)(F.Z,{sx:{position:"absolute",top:0,right:0,zIndex:2,padding:"1rem"},onClick:()=>g(!1),"aria-label":"close menu",children:(0,t.jsx)(W.Z,{})}),(0,t.jsx)(A,{bodegaid:e.bodegaid,fechaTurnoid:f,cerrarSelected:w})]}):(0,t.jsx)(t.Fragment,{})]})}}}]);