{"version":3,"sources":["modules/Layout/Header.tsx","modules/Home/components/HeroVideo.tsx","modules/Home/components/FamilyOwned.tsx","modules/Home/components/Product.tsx","modules/Home/components/Windows.tsx","modules/Home/components/Doors.tsx","modules/Home/components/AboutUs.tsx","modules/Home/components/ContactUs.tsx","modules/Home/components/Location.tsx","modules/Home/components/Locations.tsx","modules/Home/Container.tsx","modules/Layout/CTA.tsx","App.tsx","serviceWorker.ts","index.tsx"],"names":["Header","className","src","width","alt","href","offset","onClick","window","open","HeroVideo","preload","autoPlay","loop","muted","type","FamilyOwned","useState","hoveredState","setHoveredState","lightbulbClassNames","familyClassNames","flagClassNames","onMouseOver","icon","faUsers","faLightbulbOn","faFlagUsa","sectionDescription","family","energy","flag","Product","Windows","id","Doors","AboutUs","ContactUs","name","setName","phone","setPhone","error","setError","onChange","e","currentTarget","value","placeholder","preventDefault","Location","city","region","street1","state","zipCode","telephone","fax","mapSource","height","frameBorder","title","Locations","HomeContainer","CTA","format","addBusinessDays","Date","App","Boolean","location","hostname","match","ReactDOM","render","StrictMode","document","getElementById","navigator","serviceWorker","ready","then","registration","unregister","catch","console","message"],"mappings":"4PAKaA,EAAgC,WAK3C,OACE,yBAAKC,UAAU,oBACb,yBAAKA,UAAU,eACb,yBAAKC,IAAI,mCAAmCC,MAAO,IAAKC,IAAI,UAE9D,yBAAKH,UAAU,gBACb,yBAAKA,UAAU,cACb,yBAAKA,UAAU,mBACb,kBAAC,IAAD,CAAYI,KAAK,WAAWC,OAAO,MAAnC,YAIF,yBAAKL,UAAU,mBACb,kBAAC,IAAD,CAAYI,KAAK,SAASC,OAAO,MAAjC,UAIF,yBAAKL,UAAU,kCACb,kBAAC,IAAD,CAAYI,KAAK,WAAWC,OAAO,MAAnC,YAIF,yBAAKL,UAAU,+BAA+BM,QA1BlC,WAClBC,OAAOC,KAAK,sBAyBN,wBC5BGC,EAAsC,WACjD,OACE,yBAAKT,UAAU,6BACb,2BACEA,UAAU,kBACVU,QAAQ,OACRC,UAAU,E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nE,UAAU,OACb,kBAAC,EAAD,MACA,kBAAC,EAAD,MACA,kBAAC,EAAD,QCEcoE,QACW,cAA7B7D,OAAO8D,SAASC,UAEe,UAA7B/D,OAAO8D,SAASC,UAEhB/D,OAAO8D,SAASC,SAASC,MACvB,2DCZNC,IAASC,OACP,kBAAC,IAAMC,WAAP,KACE,kBAAC,EAAD,OAEFC,SAASC,eAAe,SDiIpB,kBAAmBC,WACrBA,UAAUC,cAAcC,MACrBC,MAAK,SAAAC,GACJA,EAAaC,gBAEdC,OAAM,SAAA1C,GACL2C,QAAQ3C,MAAMA,EAAM4C,c","file":"static/js/main.43e34364.chunk.js","sourcesContent":["import React from \"react\";\r\nimport AnchorLink from \"react-anchor-link-smooth-scroll\";\r\n\r\ninterface HeaderProps {}\r\n\r\nexport const Header: React.FC = () => {\r\n const onCallPhone = () => {\r\n window.open(\"tel:+19099463697\");\r\n };\r\n\r\n return (\r\n
\r\n
\r\n \"logo\"\r\n
\r\n
\r\n
\r\n
\r\n \r\n Windows\r\n \r\n
\r\n
\r\n \r\n Doors\r\n \r\n
\r\n
\r\n \r\n Contact\r\n \r\n
\r\n
\r\n 1 (909) 946-3697\r\n
\r\n
\r\n
\r\n
\r\n );\r\n};\r\n","import React from \"react\";\r\n\r\ninterface HeroVideoProps {}\r\n\r\nexport const HeroVideo: React.FC = () => {\r\n return (\r\n
\r\n \r\n \r\n \r\n
\r\n
We are
\r\n
Your window manufacturer
\r\n
\r\n Our products deliver the best quality for the right price.\r\n
\r\n
\r\n
\r\n );\r\n};\r\n","import React, { useState } from \"react\";\r\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\r\nimport {\r\n faUsers,\r\n faLightbulbOn,\r\n faFlagUsa,\r\n} from \"@fortawesome/pro-duotone-svg-icons\";\r\n\r\ninterface FamilyOwnedProps {}\r\n\r\nexport const FamilyOwned: React.FC = () => {\r\n const [hoveredState, setHoveredState] = useState(\"family\");\r\n const lightbulbClassNames = `family-owned-icon ${\r\n hoveredState === \"energy\" && \"lightbulb-icon\"\r\n }`;\r\n const familyClassNames = `family-owned-icon ${\r\n hoveredState === \"family\" && \"family-icon\"\r\n }`;\r\n const flagClassNames = `family-owned-icon ${\r\n hoveredState === \"flag\" && \"flag-icon\"\r\n }`;\r\n\r\n return (\r\n
\r\n
\r\n setHoveredState(\"family\")}\r\n >\r\n \r\n
\r\n setHoveredState(\"energy\")}\r\n >\r\n \r\n
\r\n setHoveredState(\"flag\")}\r\n >\r\n \r\n \r\n \r\n
\r\n {sectionDescription[hoveredState]}\r\n
\r\n \r\n );\r\n};\r\n\r\nconst sectionDescription: { [index: string]: string } = {\r\n family:\r\n \"The Right Window Company is a family owned company with over 40 years of experience working with tract builders and contractors.\",\r\n energy: \"All of our products are Energy Star rated and made to last.\",\r\n flag: \"Our windows and doors are made right here in America.\",\r\n};\r\n","import React from \"react\";\r\n\r\ninterface ProductProps {}\r\n\r\nexport const Product: React.FC = () => {\r\n return (\r\n
\r\n
The product
\r\n
\r\n One-third of a home's energy loss occurs through windows and doors.\r\n Right Window products use the latest production methods to ensure\r\n perfect craftsmanship and leading energy efficiency. Energy saved is\r\n money earned.\r\n
\r\n
\r\n );\r\n};\r\n","import React from \"react\";\r\n\r\ninterface WindowsProps {}\r\n\r\nexport const Windows: React.FC = () => {\r\n return (\r\n
\r\n
\r\n
\r\n
Windows
\r\n
\r\n Whether your job is retrofit or new construction, our windows come\r\n in a variety of orientations and glass types. Contact us today for\r\n more information.\r\n
\r\n
\r\n
\r\n
\r\n \"windows-1\"\r\n
\r\n
\r\n \"windows-2\"\r\n
\r\n
\r\n
\r\n
\r\n );\r\n};\r\n","import React from \"react\";\r\n\r\ninterface DoorsProps {}\r\n\r\nexport const Doors: React.FC = () => {\r\n return (\r\n
\r\n
\r\n
\r\n
Doors
\r\n
\r\n Different from your old door. Energy efficient, quiet and safe. No\r\n size is too big or too small. We manufacture patio doors as small as\r\n five feet and as large as sixteen feet — perfect for any size you\r\n need.\r\n
\r\n
\r\n
\r\n
\r\n \"doors-1\"\r\n
\r\n
{\" \"}\r\n
\r\n
\r\n );\r\n};\r\n","import React from \"react\";\r\n\r\ninterface AboutUsProps {}\r\n\r\nexport const AboutUs: React.FC = () => {\r\n return (\r\n
\r\n
About Us
\r\n
\r\n The Right Window Company is a family owned and operated company that has\r\n served builders in California for over 40 years. No matter the size we\r\n treat every customer with the same level of care and respect. All of our\r\n products are energy star rated and every component is made in America.\r\n We are not just a store - we are experts with experience you can trust.\r\n
\r\n
\r\n );\r\n};\r\n","import React, { useState } from \"react\";\r\n\r\ninterface ContactUsProps {}\r\n\r\nexport const ContactUs: React.FC = () => {\r\n const [name, setName] = useState(\"\");\r\n const [phone, setPhone] = useState(\"\");\r\n const [error, setError] = useState(null);\r\n\r\n const onCallPhone = () => {\r\n window.open(\"tel:+19099463697\");\r\n };\r\n\r\n const onClickEmail = (e: any) => {\r\n e.preventDefault();\r\n if (!name) {\r\n setError(\"Please enter your name\");\r\n } else if (!phone) {\r\n setError(\"Please enter your phone number\");\r\n }\r\n\r\n if (name && phone) {\r\n setError(null);\r\n window.open(\r\n `mailto:sales@atiwindows.com?subject=I need a quote&body=Name: ${name}%0D%0A\r\nPhone Number: ${phone}%0D%0A\r\nEnter any details if you wish (or just wait for us to call during business hours).`\r\n );\r\n }\r\n };\r\n\r\n const onSetName = (e: React.ChangeEvent) => {\r\n setName(e.currentTarget.value);\r\n };\r\n\r\n const onSetPhone = (e: React.ChangeEvent) => {\r\n setPhone(e.currentTarget.value);\r\n };\r\n\r\n return (\r\n
\r\n
\r\n We are not just a store, we are your partners on your next project.\r\n
\r\n
Call us to get started:
\r\n\r\n
\r\n 1 (909) 946-3697\r\n
\r\n\r\n
8am to 4:30pm PST Mon-Fri
\r\n\r\n
Don’t have time to talk?
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n {error &&
{error}
}\r\n \r\n Send us an email\r\n \r\n
\r\n
\r\n
\r\n );\r\n};\r\n","import React from \"react\";\r\n\r\ninterface LocationProps {\r\n region: string;\r\n street1: string;\r\n city: string;\r\n state: string;\r\n zipCode: string;\r\n telephone: string;\r\n fax: string;\r\n mapSource: string;\r\n}\r\n\r\nexport const Location: React.FC = ({\r\n city,\r\n region,\r\n street1,\r\n state,\r\n zipCode,\r\n telephone,\r\n fax,\r\n mapSource,\r\n}) => {\r\n return (\r\n
\r\n
\r\n
{region}
\r\n
{street1}
\r\n
{`${city}, ${state} ${zipCode}`}
\r\n
Tel: {telephone}
\r\n
Fax: {fax}
\r\n
\r\n \r\n
\r\n );\r\n};\r\n","import React from \"react\";\r\nimport { Location } from \"./Location\";\r\n\r\ninterface LocationsProps {}\r\n\r\nexport const Locations: React.FC = () => {\r\n return (\r\n
\r\n \r\n \r\n \r\n
\r\n );\r\n};\r\n","import React from \"react\";\r\nimport { HeroVideo } from \"./components/HeroVideo\";\r\nimport { FamilyOwned } from \"./components/FamilyOwned\";\r\nimport { Product } from \"./components/Product\";\r\nimport { Windows } from \"./components/Windows\";\r\nimport { Doors } from \"./components/Doors\";\r\nimport { AboutUs } from \"./components/AboutUs\";\r\nimport { ContactUs } from \"./components/ContactUs\";\r\nimport { Locations } from \"./components/Locations\";\r\n\r\ninterface HomeContainerProps {}\r\n\r\nexport const HomeContainer: React.FC = () => {\r\n return (\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n );\r\n};\r\n","import React from \"react\";\r\nimport { addBusinessDays, format } from \"date-fns\";\r\n\r\ninterface CTAProps {}\r\n\r\nexport const CTA: React.FC = () => {\r\n const onClick = () => {\r\n window.open(\"tel:+19099463697\");\r\n };\r\n\r\n return (\r\n
\r\n Call now and get your windows by{\" \"}\r\n {format(addBusinessDays(new Date(), 5), \"M/dd\")}\r\n
\r\n );\r\n};\r\n","import React from \"react\";\r\nimport { Header } from \"./modules/Layout/Header\";\r\nimport { HomeContainer } from \"./modules/Home/Container\";\r\nimport { CTA } from \"./modules/Layout/CTA\";\r\n\r\nfunction App() {\r\n return (\r\n
\r\n
\r\n \r\n \r\n
\r\n );\r\n}\r\n\r\nexport default App;\r\n","// This optional code is used to register a service worker.\r\n// register() is not called by default.\r\n\r\n// This lets the app load faster on subsequent visits in production, and gives\r\n// it offline capabilities. However, it also means that developers (and users)\r\n// will only see deployed updates on subsequent visits to a page, after all the\r\n// existing tabs open on the page have been closed, since previously cached\r\n// resources are updated in the background.\r\n\r\n// To learn more about the benefits of this model and instructions on how to\r\n// opt-in, read https://bit.ly/CRA-PWA\r\n\r\nconst isLocalhost = Boolean(\r\n window.location.hostname === 'localhost' ||\r\n // [::1] is the IPv6 localhost address.\r\n window.location.hostname === '[::1]' ||\r\n // 127.0.0.0/8 are considered localhost for IPv4.\r\n window.location.hostname.match(\r\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\r\n )\r\n);\r\n\r\ntype Config = {\r\n onSuccess?: (registration: ServiceWorkerRegistration) => void;\r\n onUpdate?: (registration: ServiceWorkerRegistration) => void;\r\n};\r\n\r\nexport function register(config?: Config) {\r\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\r\n // The URL constructor is available in all browsers that support SW.\r\n const publicUrl = new URL(\r\n process.env.PUBLIC_URL,\r\n window.location.href\r\n );\r\n if (publicUrl.origin !== window.location.origin) {\r\n // Our service worker won't work if PUBLIC_URL is on a different origin\r\n // from what our page is served on. This might happen if a CDN is used to\r\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\r\n return;\r\n }\r\n\r\n window.addEventListener('load', () => {\r\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\r\n\r\n if (isLocalhost) {\r\n // This is running on localhost. Let's check if a service worker still exists or not.\r\n checkValidServiceWorker(swUrl, config);\r\n\r\n // Add some additional logging to localhost, pointing developers to the\r\n // service worker/PWA documentation.\r\n navigator.serviceWorker.ready.then(() => {\r\n console.log(\r\n 'This web app is being served cache-first by a service ' +\r\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\r\n );\r\n });\r\n } else {\r\n // Is not localhost. Just register service worker\r\n registerValidSW(swUrl, config);\r\n }\r\n });\r\n }\r\n}\r\n\r\nfunction registerValidSW(swUrl: string, config?: Config) {\r\n navigator.serviceWorker\r\n .register(swUrl)\r\n .then(registration => {\r\n registration.onupdatefound = () => {\r\n const installingWorker = registration.installing;\r\n if (installingWorker == null) {\r\n return;\r\n }\r\n installingWorker.onstatechange = () => {\r\n if (installingWorker.state === 'installed') {\r\n if (navigator.serviceWorker.controller) {\r\n // At this point, the updated precached content has been fetched,\r\n // but the previous service worker will still serve the older\r\n // content until all client tabs are closed.\r\n console.log(\r\n 'New content is available and will be used when all ' +\r\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\r\n );\r\n\r\n // Execute callback\r\n if (config && config.onUpdate) {\r\n config.onUpdate(registration);\r\n }\r\n } else {\r\n // At this point, everything has been precached.\r\n // It's the perfect time to display a\r\n // \"Content is cached for offline use.\" message.\r\n console.log('Content is cached for offline use.');\r\n\r\n // Execute callback\r\n if (config && config.onSuccess) {\r\n config.onSuccess(registration);\r\n }\r\n }\r\n }\r\n };\r\n };\r\n })\r\n .catch(error => {\r\n console.error('Error during service worker registration:', error);\r\n });\r\n}\r\n\r\nfunction checkValidServiceWorker(swUrl: string, config?: Config) {\r\n // Check if the service worker can be found. If it can't reload the page.\r\n fetch(swUrl, {\r\n headers: { 'Service-Worker': 'script' }\r\n })\r\n .then(response => {\r\n // Ensure service worker exists, and that we really are getting a JS file.\r\n const contentType = response.headers.get('content-type');\r\n if (\r\n response.status === 404 ||\r\n (contentType != null && contentType.indexOf('javascript') === -1)\r\n ) {\r\n // No service worker found. Probably a different app. Reload the page.\r\n navigator.serviceWorker.ready.then(registration => {\r\n registration.unregister().then(() => {\r\n window.location.reload();\r\n });\r\n });\r\n } else {\r\n // Service worker found. Proceed as normal.\r\n registerValidSW(swUrl, config);\r\n }\r\n })\r\n .catch(() => {\r\n console.log(\r\n 'No internet connection found. App is running in offline mode.'\r\n );\r\n });\r\n}\r\n\r\nexport function unregister() {\r\n if ('serviceWorker' in navigator) {\r\n navigator.serviceWorker.ready\r\n .then(registration => {\r\n registration.unregister();\r\n })\r\n .catch(error => {\r\n console.error(error.message);\r\n });\r\n }\r\n}\r\n","import React from \"react\";\r\nimport ReactDOM from \"react-dom\";\r\nimport \"./styles/index.scss\";\r\nimport App from \"./App\";\r\nimport * as serviceWorker from \"./serviceWorker\";\r\n\r\nReactDOM.render(\r\n \r\n \r\n ,\r\n document.getElementById(\"root\")\r\n);\r\n\r\n// If you want your app to work offline and load faster, you can change\r\n// unregister() to register() below. Note this comes with some pitfalls.\r\n// Learn more about service workers: https://bit.ly/CRA-PWA\r\nserviceWorker.unregister();\r\n"],"sourceRoot":""}