1"use strict";(self.webpackChunktheTastyYolk=self.webpackChunktheTastyYolk||[]).push([[2007],{72007:function(e,t,a){a.r(t),a.d(t,{default:function(){return m}});var n=a(27378),i=a(17049);function l(e){let{formName:t,variantName:a,city:l,isMultiLocationSite:r}=e;return n.createElement(i.kC,{as:"form",variant:a+".formContainer",name:t||"contactformV2",method:"POST",action:"/success/","data-netlify":"true","data-netlify-honeypot":"bot-field"},n.createElement(i.II,{type:"hidden",name:"form-name",value:t||"contactformV2"}),n.createElement(i.II,{variant:a+".name",name:"name",type:"text",id:"name",mb:3,placeholder:"Name",className:"inputField name"}),n.createElement(i.II,{variant:a+".email",type:"email",name:"email",id:"email",mb:3,placeholder:"Email",className:"inputField email"}),n.createElement(i.II,{variant:a+".phone",type:"phone",name:"phone",id:"phone",mb:3,placeholder:"Phone",className:"inputField phone"}),n.createElement(i.gx,{name:"message",id:"message",variant:a+".message",rows:"6",mb:3,placeholder:"Message",className:"textField message"}),r?n.createElement(i.II,{sx:{display:"none !important"},name:"location",id:"location",value:l,placeholder:l}):"",n.createElement(i.zx,{className:"button submitBtn"},"Submit"))}var r=a(93265),o=a(34514);function m(e){let{businessData:t,configData:a,options:m,variantName:s,locationIndex:c,isMultiLocationSite:u,formName:d}=e;const{name:p,street:h,city:f,state:b,zip:v,phone:g}=t,{containerStyles:E,title:N,subtitle:y,text:k,contactDetails:I,email:x,backgroundImages:w}=m,{0:S,1:F}=(0,n.useState)(void 0),M=E?JSON.parse(E):{},C=s||"contactFormV2";return(0,n.useEffect)((()=>(w&&F((0,o.Z)(w[c],window.innerWidth<1800?window.innerWidth+500:window.innerWidth)),()=>{})),[]),n.createElement(i.kC,{variant:C+".container",sx:{background:w?"linear-gradient( rgba(0,0,0,0.5),rgba(0,0,0,0.5) ), url('"+(S||"")+"')":"",backgroundSize:"cover",backgroundRepeat:"no-repeat",...M}},N&&n.createElement(i.X6,{as:"h2",variant:C+".title",className:"title"},N),y&&n.createElement(i.X6,{as:"h3",variant:C+".subtitle",className:"subtitle"},y),k&&n.createElement(i.xv,{as:"p",variant:C+".text",className:"text"},k),I&&n.createElement(n.Fragment,null,n.createElement(r.Z,{phone:g,address:{name:p,street:h,city:f,state:b,zip:v},email:x,alternativeGoogleMapLink:a.alternativeGoogleMapLink}),n.createElement("br",null)),n.createElement(l,{formName:d||p+"-"+f,variantName:""+C,city:f,isMultiLocationSite:u}))}},34514:function(e,t){t.Z=e=>{if(e){const t=e.split("upload/");return t[0]+"upload/w_2500/q_auto/f_auto/"+t[1]}return""}}}]); 2//# sourceMappingURL=2007-f7a09df8667d40711749.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.