{"version":3,"sources":["components/Layout/Layout.tsx","containers/App.tsx","serviceWorker.ts","index.tsx","images/logo.png"],"names":["Layout","children","src","logo","className","alt","href","title","App","path","component","window","location","replace","target","rel","Boolean","hostname","match","ReactDOM","render","document","getElementById","navigator","serviceWorker","ready","then","registration","unregister","module","exports"],"mappings":"+LA0CeA,G,OAtCU,SAAC,GAAkB,IAAhBC,EAAe,EAAfA,SAC1B,OACE,oCACE,yBAAKC,IAAKC,IAAMC,UAAU,OAAOC,IAAI,sCACrC,yBAAKD,UAAU,YACf,yBAAKA,UAAU,YACb,yBAAKA,UAAU,gBACf,yBAAKA,UAAU,mBACb,yBAAKA,UAAU,aACb,yBAAKA,UAAU,kBACb,yBAAKA,UAAU,4CAA4CH,OAMnE,yBAAKG,UAAU,gBACb,wBAAIA,UAAU,kCACZ,wBAAIA,UAAU,sBACZ,uBACEE,KAAK,4GACLC,MAAM,yBAEN,uBAAGH,UAAU,qBAEf,uBAAGE,KAAK,sCAAsCC,MAAM,uBAClD,uBAAGH,UAAU,uBAEf,uBAAGE,KAAK,gDAAgDC,MAAM,yBAC5D,uBAAGH,UAAU,4B,eC4FZI,EAzHO,WACpB,OACE,kBAAC,EAAD,KACE,kBAAC,IAAD,KACE,kBAAC,IAAD,KACE,kBAAC,IAAD,CACEC,KAAK,iBACLC,UAAW,WAIT,OAHAC,OAAOC,SAASC,QACd,sFAEK,QAGX,kBAAC,IAAD,CAAOJ,KAAK,eACV,oCACE,6BACE,wBAAIL,UAAU,QAAd,sDACA,uBAAGA,UAAU,QAAb,0EAC0E,IACxE,4DAFF,kCAKF,6BACE,wBAAIA,UAAU,QAAd,qBACA,8CACkB,uBAAGE,KAAK,yCAAR,mBADlB,8EAIA,8JAIA,uBACEF,UAAU,oBACVU,OAAO,SACPC,IAAI,sBACJT,KAAK,yCAJP,oBAUF,6BACE,wBAAIF,UAAU,QAAd,8BACA,wIAIA,uBACEA,UAAU,oBACVU,OAAO,SACPC,IAAI,sBACJT,KAAK,8CAJP,gCAWN,kBAAC,IAAD,CAAOG,KAAK,KACV,oCACE,6BACE,wBAAIL,UAAU,gBAAd,iCACA,+DACoC,IAClC,8CACa,mCADb,qBAFF,0GAOA,uBAAGA,UAAU,oBAAoBE,KAAK,uBAAuBQ,OAAO,UAApE,oBA4BF,yBAAKV,UAAU,sCACb,oFAEE,iDAFF,6DAIA,uBACEA,UAAU,oBACVE,KAAK,sCACLS,IAAI,sBACJD,OAAO,UAJT,qBChGIE,QACW,cAA7BL,OAAOC,SAASK,UAEe,UAA7BN,OAAOC,SAASK,UAEhBN,OAAOC,SAASK,SAASC,MACvB,2DCZNC,IAASC,OAAO,kBAAC,EAAD,MAASC,SAASC,eAAe,SDmI3C,kBAAmBC,WACrBA,UAAUC,cAAcC,MAAMC,MAAK,SAAAC,GACjCA,EAAaC,iB,mBE3InBC,EAAOC,QAAU,IAA0B,kC","file":"static/js/main.f788478e.chunk.js","sourcesContent":["import React from 'react';\r\nimport logo from '../../images/logo.png';\r\nimport '../../containers/App.scss';\r\n\r\nconst Layout: React.FC = ({ children }) => {\r\n return (\r\n <>\r\n <img src={logo} className=\"logo\" alt=\"Shawtown Neighborhood Association\" />\r\n <div className=\"overlay\"></div>\r\n <div className=\"masthead\">\r\n <div className=\"masthead-bg\"></div>\r\n <div className=\"container h-100\">\r\n <div className=\"row h-100\">\r\n <div className=\"col-12 my-auto\">\r\n <div className=\"masthead-content text-white py-5 py-md-0\">{children}</div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div className=\"social-icons\">\r\n <ul className=\"list-unstyled text-center mb-0\">\r\n <li className=\"list-unstyled-item\">\r\n <a\r\n href=\"https://docs.google.com/forms/d/1lNVEedF3Zw6FTGuCLueDh7zCMlKF3LY5DFNDJ0-wOpc/viewform?edit_requested=true\"\r\n title=\"Join our Mailing List\"\r\n >\r\n <i className=\"far fa-envelope\"></i>\r\n </a>\r\n <a href=\"https://www.facebook.com/ShawtownEC\" title=\"Find us on Facebook\">\r\n <i className=\"fab fa-facebook-f\"></i>\r\n </a>\r\n <a href=\"https://www.instagram.com/shawtown.wisconsin/\" title=\"Find us on Instragram\">\r\n <i className=\"fab fa-instagram\"></i>\r\n </a>\r\n </li>\r\n </ul>\r\n </div>\r\n </>\r\n );\r\n};\r\n\r\nexport default Layout;\r\n","import React from 'react';\nimport Layout from '../components/Layout/Layout';\nimport { BrowserRouter, Route, Switch } from 'react-router-dom';\n\nconst App: React.FC = () => {\n return (\n <Layout>\n <BrowserRouter>\n <Switch>\n <Route\n path=\"/easteregghunt\"\n component={() => {\n window.location.replace(\n 'https://www.cognitoforms.com/ShawtownNeighborhoodAssociation/RSVPEasterEggHunt2022'\n );\n return null;\n }}\n ></Route>\n <Route path=\"/thriftsale\">\n <>\n <div>\n <h1 className=\"mb-3\">Garage Sale? Yard Sale? Rummage Sale? Thrift Sale?</h1>\n <p className=\"mb-5\">\n It does not matter what you call it, you will want to be in Shawtown on{' '}\n <strong>Saturday, May 14th, 2022</strong> to find the very best deals!\n </p>\n </div>\n <div>\n <h2 className=\"mb-3\">Find Those Deals!</h2>\n <p>\n You can use our <a href=\"http://go.shawtown.org/thriftsale/map\">interactive map</a> to find all of the\n Shawtown Residents who have registered to participate!\n </p>\n <p>\n On the day of the event, you can pickup a printed map at River Country Coop (Ferry St) or ASAP Used\n Auto Parts (Menomonie St.).\n </p>\n <a\n className=\"btn btn-secondary\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n href=\"http://go.shawtown.org/thriftsale/map\"\n >\n Interactive Map\n </a>\n </div>\n\n <div>\n <h2 className=\"mb-3\">Register Your Thrift Sale!</h2>\n <p>\n Shawtown residents are invited to register their very own thrift sales to be included on all of the\n maps!\n </p>\n <a\n className=\"btn btn-secondary\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n href=\"http://go.shawtown.org/thriftsale/register\"\n >\n Register Your Thrift Sale\n </a>\n </div>\n </>\n </Route>\n <Route path=\"/\">\n <>\n <div>\n <h2 className=\"next-meeting\">Shawtown Neighborhood Meeting</h2>\n <p>\n Our next meeting is scheduled for{' '}\n <strong>\n August 17th<sup>th</sup>, 2023 at 7:00 pm\n </strong>\n , being held at Newell Playground. All neighbors are encouraged to come learn more about the progress.\n </p>\n <a className=\"btn btn-secondary\" href=\"./Packet-2023-08.pdf\" target=\"_blank\">\n Meeting Details\n </a>\n {/* <a\n className=\"btn btn-secondary\"\n href=\"./Packet-2022-03.pdf\"\n target=\"_blank\"\n >\n Meeting Details\n </a> */}\n </div>\n\n {/* <div>\n <h2 className=\"mb-3\">Help us, and the Neighborhood!</h2>\n <p className=\"mb-5\">\n We need your input to help us better understand the needs and interests of our Neighborhood and its\n residents!\n </p>\n <a\n className=\"btn btn-secondary\"\n href=\"https://forms.gle/3783GEPP8TdDa66y7\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n Neighborhood Survey\n </a>\n </div> */}\n\n <div className=\"input-group input-group-newsletter\">\n <p>\n We encourage our Neighbors and Friends to fill out our\n <strong> Contact Form</strong> to learn about all of the exciting and upcoming updates!\n </p>\n <a\n className=\"btn btn-secondary\"\n href=\"https://forms.gle/xEz9f6VBCXCiknvf9\"\n rel=\"noopener noreferrer\"\n target=\"_blank\"\n >\n Notify Me!\n </a>\n </div>\n </>\n </Route>\n </Switch>\n </BrowserRouter>\n </Layout>\n );\n};\n\nexport default App;\n","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.1/8 is considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\ntype Config = {\n onSuccess?: (registration: ServiceWorkerRegistration) => void;\n onUpdate?: (registration: ServiceWorkerRegistration) => void;\n};\n\nexport function register(config?: Config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(\n (process as { env: { [key: string]: string } }).env.PUBLIC_URL,\n window.location.href\n );\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl: string, config?: Config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl: string, config?: Config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl)\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType != null && contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n );\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister();\n });\n }\n}\n","import 'react-app-polyfill/ie11';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport App from './containers/App';\nimport * as serviceWorker from './serviceWorker';\n\nReactDOM.render(<App />, document.getElementById('root'));\n\nserviceWorker.unregister();\n","module.exports = __webpack_public_path__ + \"static/media/logo.6a3ceccb.png\";"],"sourceRoot":""}