1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[993,222],{3147:function(e,t,r){r.r(t),r.d(t,{PrismicNextLink:function(){return l}});var n=r(7437),a=r(6686),i=JSON.parse('{"_d":"https://revivestudios.prismic.io/api/v2","AF":"revivestudios"}');function s(e){switch(e.type){case"homepage":return"/";case"page":return"/".concat(e.uid);default:return null}}i._d,i.AF;let l=e=>(0,n.jsx)(a.PrismicNextLink,{...e,linkResolver:s})},1523:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return a}});let n=r(8993);function a(e){let{reason:t,children:r}=e;if("undefined"==typeof window)throw new n.BailoutToCSRError(t);return r}},49:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadCss",{enumerable:!0,get:function(){return i}});let n=r(7437),a=r(544);function i(e){let{moduleIds:t}=e;if("undefined"!=typeof window)return null;let r=(0,a.getExpectedRequestStore)("next/dynamic css"),i=[];if(r.reactLoadableManifest&&t){let e=r.reactLoadableManifest;for(let r of t){if(!e[r])continue;let t=e[r].files.filter(e=>e.endsWith(".css"));i.push(...t)}}return 0===i.length?null:(0,n.jsx)(n.Fragment,{children:i.map(e=>(0,n.jsx)("link",{precedence:"dynamic",rel:"stylesheet",href:r.assetPrefix+"/_next/"+encodeURI(e),as:"style"},e))})}},9776:function(e,t,r){r.r(t);var n=r(7437),a=r(1990),i=r(9376),s=r(8667),l=r(2265);let c=e=>{let{children:t}=e;return(0,n.jsx)("p",{className:"contact-headline",children:t})};t.default=e=>{let{slice:t}=e,r=(0,i.useRouter)(),o=(0,l.useRef)(null),d=()=>"undefined"!=typeof document&&document.location.search.includes("success=true"),[u,m]=(0,l.useState)(d());(0,l.useEffect)(()=>{m(d())});let p=async e=>{e&&e.preventDefault&&e.stopPropagation&&(e.preventDefault(),e.stopPropagation());let t=Object.fromEntries(["first-name","last-name","email","url","reference","message"].map(e=>[e,o.current[e].value]));await fetch("/api/email",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}),r.push("".concat(document.location.href,"?success=true"))};return(0,l.useEffect)(()=>(window.onSubmitContactForm=p,()=>{delete window.onSubmitContactForm})),(0,n.jsxs)("div",{className:"contact","data-slice-type":t.slice_type,"data-slice-variation":t.variation,children:[(0,n.jsx)(s.default,{src:"https://www.google.com/recaptcha/api.js",async:!0,defer:!0}),(0,n.jsxs)("div",{className:"contact-info",children:[(0,n.jsxs)("p",{className:"contact-headline",children:[(0,n.jsx)("a",{href:"mailto:".concat(t.primary.email),children:t.primary.email}),(0,n.jsx)("br",{}),(0,n.jsx)("a",{href:"tel:".concat(t.primary.phone),children:t.primary.phone}),(0,n.jsx)("p",{style:{fontWeight:"normal"},children:t.primary.hours})]}),(0,n.jsx)("p",{style:{fontWeight:"bold"},children:"Mailing Address"}),(0,n.jsx)(a.v,{components:{paragraph:c},field:t.primary.address})]}),(0,n.jsx)("div",{className:"contact-form",children:u?(0,n.jsx)("p",{className:"contact-headline",children:"Thanks for contacting us! Weâll do our best to respond via email within 24 hours. If youâve contacted us on a weekend, weâll respond on Monday. If you donât hear from us, youâre welcome to email or call."}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.v,{field:t.primary.content}),(0,n.jsxs)("form",{action:"/api/email",method:"post",onSubmit:p,ref:o,children:[(0,n.jsxs)("div",{className:"form-item",children:[(0,n.jsx)("label",{htmlFor:"first-name",children:"First Name"}),(0,n.jsx)("input",{type:"text",id:"first-name",name:"first-name"})]}),(0,n.jsxs)("div",{className:"form-item",children:[(0,n.jsx)("label",{htmlFor:"last-name",children:"Last Name"}),(0,n.jsx)("input",{type:"text",id:"last-name",name:"last-name"})]}),(0,n.jsxs)("div",{className:"form-item",children:[(0,n.jsx)("label",{htmlFor:"email",children:"Email"}),(0,n.jsx)("input",{type:"email",id:"email",name:"email"})]}),(0,n.jsxs)("div",{className:"form-item",children:[(0,n.jsx)("label",{htmlFor:"url",children:"Website URL"}),(0,n.jsx)("input",{type:"text",id:"url",name:"url"})]}),(0,n.jsxs)("div",{className:"form-item",children:[(0,n.jsx)("label",{htmlFor:"reference",children:"How Did You Hear About Us?"}),(0,n.jsxs)("select",{name:"reference",id:"reference",children:[(0,n.jsx)("option",{value:"",children:"--Please choose an option--"}),t.items.map((e,t)=>{let{reference:r}=e;return(0,n.jsx)("option",{value:r,children:r},t)})]})]}),(0,n.jsxs)("div",{className:"form-item",children:[(0,n.jsx)("label",{htmlFor:"message",children:"How Can We Help?"}),(0,n.jsx)("textarea",{name:"message"})]}),(0,n.jsx)("div",{className:"form-item",children:(0,n.jsx)("input",{className:"g
1-recaptcha","data-sitekey":"6Le1eCYoAAAAAB8DxUZZOp7yLppqClt6CwzxXhTi","data-callback":"onSubmitContactForm",type:"submit",value:"Submit"})})]})]})})]})}},2222:function(e,t,r){r.r(t);var n=r(7437),a=r(3147),i=r(3145),s=r(7648),l=r(2265);t.default=e=>{let{slice:t}=e,[r,c]=(0,l.useState)(!1);return(0,n.jsxs)("header",{className:r?"reveal":void 0,"data-slice-type":t.slice_type,"data-slice-variation":t.variation,children:[(0,n.jsx)("div",{className:"header-brand",children:(0,n.jsx)(s.default,{href:"/",children:(0,n.jsx)(i.default,{className:"reviveMark",src:"/img/revive-logo.svg",alt:"Revive Logo",height:72,width:180})})}),(0,n.jsx)("nav",{className:"header-nav",children:(0,n.jsxs)("ul",{children:[t.items.map((e,t)=>{let{link:r,link_text:i}=e;return(0,n.jsx)("li",{onClick:()=>c(!1),children:(0,n.jsx)(a.PrismicNextLink,{field:r,children:i})},t)}),(0,n.jsx)("li",{className:"callout",children:(0,n.jsx)(s.default,{href:"/contact",children:"Contact"})})]})}),(0,n.jsx)("div",{className:"nav-open",children:(0,n.jsx)("span",{role:"button",onClick:()=>c(!0),children:"Menu"})}),(0,n.jsx)("div",{className:"nav-close",children:(0,n.jsx)("span",{role:"button",onClick:()=>c(!1),children:"Close"})})]})}},3843:function(e,t,r){r.d(t,{PrismicToolbar:function(){return l}});var n=class extends Error{url;response;constructor(e="An invalid API response was returned",t,r){super(e),this.url=t,this.response=r}};let a=e=>/^[a-zA-Z0-9][-a-zA-Z0-9]{2,}[a-zA-Z0-9]$/.test(e),i=e=>{if(a(e))return`https://static.cdn.prismic.io/prismic.js?new=true&repo=${e}`;throw new n(`An invalid Prismic repository name was given: ${e}`,void 0,void 0)};var s=r(2265);let l=e=>{let{repositoryName:t,onPreviewUpdate:r,onPreviewEnd:n}=e,a=i(t),l=(0,s.useRef)(r);l.current=r;let c=(0,s.useRef)(n);return c.current=n,(0,s.useEffect)(()=>{if(!document.querySelector('script[src="'.concat(a,'"]'))){let e=document.createElement("script");e.src=a,e.defer=!0,e.dataset.prismicToolbar="",e.dataset.repositoryName=t,e._evaluateScript=!1,document.body.appendChild(e)}},[t,a]),(0,s.useEffect)(()=>{let e=new AbortController;return window.addEventListener("prismicPreviewUpdate",e=>{var t;return null===(t=l.current)||void 0===t?void 0:t.call(l,e)},{signal:e.signal}),window.addEventListener("prismicPreviewEnd",e=>{var t;return null===(t=c.current)||void 0===t?void 0:t.call(c,e)},{signal:e.signal}),()=>e.abort()},[]),null}},453:function(e,t){t.Z=!1}}]);
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.