text: (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"5h8w":function(e,t,n){(t=e.exports=n("JPst")(!1)).push([e.i,'.app-Components-Presentation-Header-___HeaderStyles__header___119pY {\n  color: #fff;\n  display: flex;\n  flex-direction: row;\n  justify-content: space-between;\n  flex-wrap: nowrap;\n  font-family: "Helvetica", "Verdana", sans-serif;\n  font-size: 20px;\n  width: 100%;\n  max-width: 70%; }\n  @media (max-width: 1440px) {\n    .app-Components-Presentation-Header-___HeaderStyles__header___119pY {\n      max-width: 70%; } }\n  @media (max-width: 1200px) {\n    .app-Components-Presentation-Header-___HeaderStyles__header___119pY {\n      max-width: 80%; } }\n  @media (max-width: 992px) {\n    .app-Components-Presentation-Header-___HeaderStyles__header___119pY {\n      max-width: 100%;\n      margin: 0 16px; } }\n\n.app-Components-Presentation-Header-___HeaderStyles__headerContainer___3tI6j {\n  align-items: center;\n  background: #248ec4;\n  display: flex;\n  flex-direction: row;\n  height: 55px;\n  justify-content: center;\n  position: fixed;\n  width: 100%; }\n',""]),t.locals={header:"app-Components-Presentation-Header-___HeaderStyles__header___119pY",headerContainer:"app-Components-Presentation-Header-___HeaderStyles__headerContainer___3tI6j"}},"7NYU":function(e,t,n){(t=e.exports=n("JPst")(!1)).push([e.i,".app-Components-Presentation-Icon-___IconStyles__icon___1tmiM:hover {\n  cursor: pointer; }\n",""]),t.locals={icon:"app-Components-Presentation-Icon-___IconStyles__icon___1tmiM"}},AdBl:function(e,t,n){var a=n("ES38");"string"==typeof a&&(a=[[e.i,a,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,r);a.locals&&(e.exports=a.locals)},Blwb:function(e,t,n){(t=e.exports=n("JPst")(!1)).push([e.i,'.app-Components-Presentation-Button-___ButtonStyles__button___ReI40 {\n  align-items: center;\n  background-color: #248ec4;\n  border-radius: 5px;\n  color: #fff;\n  font-family: "Helvetica", "Verdana", sans-serif; }\n  .app-Components-Presentation-Button-___ButtonStyles__button___ReI40:hover {\n    cursor: pointer;\n    opacity: 0.8; }\n\n.app-Components-Presentation-Button-___ButtonStyles__small___3Uj6g {\n  padding: 8px 16px;\n  font-size: 10px; }\n\n.app-Components-Presentation-Button-___ButtonStyles__medium___3CPlV {\n  font-size: 16px;\n  padding: 8px 16px; }\n\n.app-Components-Presentation-Button-___ButtonStyles__large___lfnCL {\n  font-size: 20px;\n  padding: 12px 24px; }\n\n.app-Components-Presentation-Button-___ButtonStyles__xlarge___3pqjN {\n  font-size: 36px;\n  padding: 16px 32px; }\n',""]),t.locals={button:"app-Components-Presentation-Button-___ButtonStyles__button___ReI40",small:"app-Components-Presentation-Button-___ButtonStyles__small___3Uj6g",medium:"app-Components-Presentation-Button-___ButtonStyles__medium___3CPlV",large:"app-Components-Presentation-Button-___ButtonStyles__large___lfnCL",xlarge:"app-Components-Presentation-Button-___ButtonStyles__xlarge___3pqjN"}},DLi5:function(e,t,n){(t=e.exports=n("JPst")(!1)).push([e.i,".app-Components-Presentation-IndexItemCard-___IndexCardStyles__indexItem___czPOx {\n  padding: 16px;\n  width: 150px;\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  justify-content: space-between; }\n  .app-Components-Presentation-IndexItemCard-___IndexCardStyles__indexItem___czPOx:hover {\n    cursor: pointer;\n    opacity: 0.8; }\n",""]),t.locals={indexItem:"app-Components-Presentation-IndexItemCard-___IndexCardStyles__indexItem___czPOx"}},ES38:function(e,t,n){(t=e.exports=n("JPst")(!1)).push([e.i,'.app-Components-Presentation-Main-___MainStyles__main___25YKY {\n  display: flex;\n  flex-direction: row;\n  flex-wrap: nowrap;\n  font-family: "Helvetica", "Verdana", sans-serif;\n  width: 100%;\n  max-width: 70%; }\n  @media (max-width: 1440px) {\n    .app-Components-Presentation-Main-___MainStyles__main___25YKY {\n      max-width: 70%; } }\n  @media (max-width: 1200px) {\n    .app-Components-Presentation-Main-___MainStyles__main___25YKY {\n      max-width: 80%; } }\n  @media (max-width: 992px) {\n    .app-Components-Presentation-Main-___MainStyles__main___25YKY {\n      max-width: 100%;\n      margin: 0 16px; } }\n\n.app-Components-Presentation-Main-___MainStyles__mainContainer___KppFz {\n  display: flex;\n  flex-direction: row;\n  justify-content: center; }\n',""]),t.locals={main:"app-Components-Presentation-Main-___MainStyles__main___25YKY",mainContainer:"app-Components-Presentation-Main-___MainStyles__mainContainer___KppFz"}},"Go/W":function(e,t,n){var a=n("Mj0O");"string"==typeof a&&(a=[[e.i,a,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,r);a.locals&&(e.exports=a.locals)},MFg9:function(e,t,n){(t=e.exports=n("JPst")(!1)).push([e.i,".app-Components-Presentation-Column-___ColumnStyles__column___O3Ilw {\n  display: flex;\n  flex-direction: column; }\n",""]),t.locals={column:"app-Components-Presentation-Column-___ColumnStyles__column___O3Ilw"}},Mj0O:function(e,t,n){(t=e.exports=n("JPst")(!1)).push([e.i,'.app-Components-Presentation-Card-___CardStyles__card___2COFk {\n  background: #fff;\n  box-sizing: border-box;\n  border-radius: 2px;\n  font-family: "Helvetica", "Verdana", sans-serif;\n  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); }\n',""]),t.locals={card:"app-Components-Presentation-Card-___CardStyles__card___2COFk"}},Q9U4:function(e,t,n){(t=e.exports=n("JPst")(!1)).push([e.i,'.app-Components-Presentation-Modal-___ModalStyles__modalBackdrop___18tJu {\n  background: rgba(0, 0, 0, 0.57);\n  position: fixed;\n  left: 0;\n  top: 0;\n  width: 100%;\n  height: 100%;\n  opacity: 0;\n  pointer-events: none;\n  will-change: opacity;\n  -webkit-transition: opacity 0.333s cubic-bezier(0, 0, 0.21, 1);\n  transition: opacity 0.333s cubic-bezier(0, 0, 0.21, 1); }\n\n.app-Components-Presentation-Modal-___ModalStyles__backdropVisible___3g0DA {\n  opacity: 1;\n  pointer-events: auto; }\n\n.app-Components-Presentation-Modal-___ModalStyles__modalContent___3ROMG {\n  background: #fff;\n  border-radius: 2px;\n  box-shadow: 0 0 14px rgba(0, 0, 0, 0.24), 0 14px 28px rgba(0, 0, 0, 0.48);\n  font-family: "Helvetica", "Verdana", sans-serif;\n  overflow-y: auto;\n  position: absolute;\n  left: 50%;\n  top: 50%;\n  -webkit-transform: translate(-50%, -50%) translateY(30px);\n  transform: translate(-50%, -50%) translateY(30px);\n  -webkit-transition: -webkit-transform 0.333s cubic-bezier(0, 0, 0.21, 1) 0.05s;\n  transition: -webkit-transform 0.333s cubic-bezier(0, 0, 0.21, 1) 0.05s;\n  transition: transform 0.333s cubic-bezier(0, 0, 0.21, 1) 0.05s;\n  transition: transform 0.333s cubic-bezier(0, 0, 0.21, 1) 0.05s, -webkit-transform 0.333s cubic-bezier(0, 0, 0.21, 1) 0.05s;\n  padding: 16px 16px 16px 16px;\n  min-height: 200px;\n  width: 90%; }\n  .app-Components-Presentation-Modal-___ModalStyles__modalContent___3ROMG.app-Components-Presentation-Modal-___ModalStyles__small___7RHNQ {\n    max-height: 50%;\n    max-width: 400px; }\n  .app-Components-Presentation-Modal-___ModalStyles__modalContent___3ROMG.app-Components-Presentation-Modal-___ModalStyles__medium___17ug_ {\n    max-height: 70%;\n    max-width: 700px; }\n  .app-Components-Presentation-Modal-___ModalStyles__modalContent___3ROMG.app-Components-Presentation-Modal-___ModalStyles__large___2VYmD {\n    max-height: 80%;\n    max-width: 1000px; }\n\n.app-Components-Presentation-Modal-___ModalStyles__cancelButton____5lCG {\n  float: right; }\n  .app-Components-Presentation-Modal-___ModalStyles__cancelButton____5lCG:hover {\n    cursor: pointer;\n    opacity: 0.3; }\n',""]),t.locals={modalBackdrop:"app-Components-Presentation-Modal-___ModalStyles__modalBackdrop___18tJu",backdropVisible:"app-Components-Presentation-Modal-___ModalStyles__backdropVisible___3g0DA",modalContent:"app-Components-Presentation-Modal-___ModalStyles__modalContent___3ROMG",small:"app-Components-Presentation-Modal-___ModalStyles__small___7RHNQ",medium:"app-Components-Presentation-Modal-___ModalStyles__medium___17ug_",large:"app-Components-Presentation-Modal-___ModalStyles__large___2VYmD",cancelButton:"app-Components-Presentation-Modal-___ModalStyles__cancelButton____5lCG"}},QyId:function(e,t,n){var a=n("n/Hj");"string"==typeof a&&(a=[[e.i,a,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,r);a.locals&&(e.exports=a.locals)},azVV:function(e,t,n){var a=n("DLi5");"string"==typeof a&&(a=[[e.i,a,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,r);a.locals&&(e.exports=a.locals)},dRpz:function(e,t,n){var a=n("MFg9");"string"==typeof a&&(a=[[e.i,a,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,r);a.locals&&(e.exports=a.locals)},hEki:function(e,t,n){var a=n("Blwb");"string"==typeof a&&(a=[[e.i,a,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,r);a.locals&&(e.exports=a.locals)},i085:function(e,t,n){"use strict";n.r(t);var a=n("q1tI"),r=n.n(a),o=n("i8i4"),l=n.n(o),i=n("IN8/"),s=(n("9d8Q"),n("jKe7")),c=n("2INN"),u=n("7nGC"),p=n.n(u),m=n("2iEm"),d=n("wIs1"),f=n("Go/W"),_=n.n(f);function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function y(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var g=function(e){var t=e.children,n=y(e,["children"]);return t&&"function"==typeof t?t({cardStyle:_.a.card}):r.a.createElement("div",h({className:_.a.card},n),t)};function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var v=function(e){e.styles;var t=function(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}(e,["styles"]);return r.a.createElement("svg",b({width:"1024",height:"1024",viewBox:"0 0 1024 1024",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),r.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M512 0C229.12 0 0 229.12 0 512c0 226.56 146.56 417.92 350.08 485.76 25.6 4.48 35.2-10.88 35.2-24.32 0-12.16-.64-52.48-.64-95.36-128.64 23.68-161.92-31.36-172.16-60.16-5.76-14.72-30.72-60.16-52.48-72.32-17.92-9.6-43.52-33.28-.64-33.92 40.32-.64 69.12 37.12 78.72 52.48 46.08 77.44 119.68 55.68 149.12 42.24 4.48-33.28 17.92-55.68 32.64-68.48-113.92-12.8-232.96-56.96-232.96-252.8 0-55.68 19.84-101.76 52.48-137.6-5.12-12.8-23.04-65.28 5.12-135.68 0 0 42.88-13.44 140.8 52.48 40.96-11.52 84.48-17.28 128-17.28 43.52 0 87.04 5.76 128 17.28 97.92-66.56 140.8-52.48 140.8-52.48 28.16 70.4 10.24 122.88 5.12 135.68 32.64 35.84 52.48 81.28 52.48 137.6 0 196.48-119.68 240-233.6 252.8 18.56 16 34.56 46.72 34.56 94.72 0 68.48-.64 123.52-.64 140.8 0 13.44 9.6 29.44 35.2 24.32C877.44 929.92 1024 737.92 1024 512 1024 229.12 794.88 0 512 0z",fill:"#1B1F23"}))},w=n("rMe8"),E=n.n(w);function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function O(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var C=function(e){var t=e.svg,n=e.size,a=void 0===n?25:n,o=e.link,l=void 0!==o&&o,i=O(e,["svg","size","link"]);return r.a.createElement(t,x({className:l?E.a.icon:"",width:a,height:a},i))},P=function(){return r.a.createElement("div",{style:{display:"flex",flexDirection:"column"}},r.a.createElement("p",null,"Welcome to the Climate Change Guide!"),r.a.createElement("p",null,"This is a ",r.a.createElement("strong",null,"progressive web app (PWA)")," with some basic information on what individual decisions you can make to help prevent climate change."),r.a.createElement("p",null,"My main source of inspiration for this guide is"," ",r.a.createElement("a",{href:"https://www.reddit.com/r/Futurology/comments/6rbzoz/heres_how_we_can_lower_our_personal_greenhouse/"},"this reddit thread"),", I pretty much am just adding some more details + pictures + charts."),r.a.createElement("p",null,"What is a Progressive Web App? It’s an application hosted on a web browser. What makes it cool is that you can download it, so ",r.a.createElement("strong",null,"it can work offline.")),r.a.createElement("figure",null,r.a.createElement("img",{src:"static/home.jpg",width:"100%",height:"auto",style:{maxWidth:"600px",alignSelf:"center"}}),r.a.createElement("figcaption",null,"Image from Bloomberg"," ",r.a.createElement("a",{href:"https://www.geospatialworld.net/blogs/brazil-abandons-hosting-un-cop25/"},"source"))),r.a.createElement("p",null,"This project was originally done just as a small side project to learn more about PWAs. If you want to learn more about PWAs, you should go check out Google's documentation"," ",r.a.createElement("a",{href:"https://developers.google.com/web/progressive-web-apps/"},"here")),r.a.createElement("div",null,"Source code:",r.a.createElement("a",{href:"https://github.com/aarron-lee/climate_change_pwa/"},r.a.createElement(C,{svg:v,link:!0}))),r.a.createElement("p",null,"If you're curious about if this actually works offline, give it a shot!"),r.a.createElement("p",null,"If you're using a"," ",r.a.createElement("a",{href:"https://jakearchibald.github.io/isserviceworkerready/"},"supported browser"),", try turning off your wifi/internet and navigating to a different page on this site. You should still see stuff render (though some pictures might be missing, since some of them do need a internet connection for the initial load). Depending on your operating system (Android, etc), you can even add a shortcut to your desktop!"),r.a.createElement("p",null,r.a.createElement("h5",null,"Disclaimer: Although effort has been made to provide accurate information in this app, I (the developer of this app) provide no guarantees as to the accuracy of content on this website/app. This is just information that I compiled via Google searches, etc. Some attempt was made to provide legitimate sources for information listed here, but inaccuracies may exist.")))},S=function(){return r.a.createElement("div",null,"A few general rules of thumb is:",r.a.createElement("ul",null,r.a.createElement("li",null,"Whenever possible, subsitute high-impact animal products with lower-impact ones (see chart below).",r.a.createElement("ul",null,r.a.createElement("li",null,"While the ideal is to have none, if it's too hard, start off with substituting higher-impact products with lower-impact ones"),r.a.createElement("li",null,"e.g. eat chicken instead of beef, etc"))),r.a.createElement("li",null,"Eat less industrially produced/processed food, and avoid packaged foods",r.a.createElement("ul",null,r.a.createElement("li",null,"e.g. drink tap/filtered water, not bottled water"))),r.a.createElement("li",null,"Reduce excessive portion sizes (stay healthier and help the environment!)"),r.a.createElement("li",null,"Reduce processed drink intake (water is great!)"),r.a.createElement("li",null,r.a.createElement("a",{href:"https://www.nytimes.com/2018/11/20/magazine/palm-oil-borneo-climate-catastrophe.html",rel:"noopener noreferrer",target:"_blank"},"Avoid Palm Oil"),r.a.createElement("ul",null,r.a.createElement("li",null,"It can be found in soaps, washing powders, etc")))),r.a.createElement("figure",{style:{border:"1px solid gray"}},r.a.createElement("a",{href:"static/food_chart.png"},r.a.createElement("img",{src:"static/food_chart.png",width:"100%",height:"auto",style:{maxWidth:"600px"}})),r.a.createElement("figcaption",null,"From BBC"," ",r.a.createElement("a",{href:"https://www.bbc.com/news/science-environment-46459714",rel:"noopener noreferrer",target:"_blank"},"source"))))},j=function(){return r.a.createElement("div",null,r.a.createElement("p",null,"General rules of thumb:"),r.a.createElement("ul",null,r.a.createElement("li",null,"Use energy efficient lightbulbs, and turn off the lights when possible"),r.a.createElement("li",null,"Unplug devices when not in use",r.a.createElement("ul",null,r.a.createElement("li",null,"To automate this, you can get remote controlled/timed outlets"))),r.a.createElement("li",null,"Insulate your home, don't warm up/cool your home more than necessary"," ",r.a.createElement("ul",null,r.a.createElement("li",null,"During cold weather: Put on more layers/jackets before turning up the heat"),r.a.createElement("li",null,"During warm weather: Install thermal curtains to help keep your house cooler"))),r.a.createElement("li",null,"Contact your energy provider, and see if they offer any renewable energy sources"),r.a.createElement("li",null,"Buy solar panels for your home"),r.a.createElement("li",null,"Support local clean energy efforts, including Solar, Wind, Hydro, Nuclear, etc")),r.a.createElement("figure",{style:{border:"1px solid gray"}},r.a.createElement("a",{href:"static/gases_chart.png"},r.a.createElement("img",{src:"static/gases_chart.png",width:"100%",height:"auto",style:{maxWidth:"600px"}})),r.a.createElement("figcaption",null,"From EPA"," ",r.a.createElement("a",{href:"https://archive.epa.gov/epa/sites/production/files/2014-05/ghg-chart.png",rel:"noopener noreferrer",target:"_blank"},"source"))))},M=function(){return r.a.createElement("div",null,"General rules of thumb:",r.a.createElement("ul",null,r.a.createElement("li",null,"Try to not let food in your refrigerator go to waste/expire"),r.a.createElement("li",null,"Use reusable shopping bags"),r.a.createElement("li",null,"Recycle, and try to purchase recyclable goods"),r.a.createElement("li",null,"avoid items with excessive packaging"),r.a.createElement("li",null,"avoid single-use items",r.a.createElement("ul",null,r.a.createElement("li",null,"e.g. disposable plates, plastic cups, etc"),r.a.createElement("li",null,"if you absolutely need single-use items, get recyclable ones"))),r.a.createElement("li",null,"Don't flush the toilet when not necessary"),r.a.createElement("li",null,"Don't throw anything other than bodily fluids and solids, and toilet paper, into a toilet",r.a.createElement("ul",null,r.a.createElement("li",null,'"Flushable wipes" are'," ",r.a.createElement("a",{href:"https://phys.org/news/2018-04-dont-labelflushable-clog-sewers.html"},"NOT FLUSHABLE")))),r.a.createElement("li",null,"Turn off water when not in use (e.g. brushing teeth, etc)"),r.a.createElement("li",null,"Don't water your lawns, try planting plants that do well in your local environment")),r.a.createElement("figure",{style:{border:"1px solid gray"}},r.a.createElement("a",{href:"static/food_waste.jpg"},r.a.createElement("img",{src:"static/food_waste.jpg",width:"100%",height:"auto",style:{maxWidth:"600px"}})),r.a.createElement("figcaption",null,"From Cook for Good"," ",r.a.createElement("a",{href:"https://cookforgood.com/climate-change-food-waste/",rel:"noopener noreferrer",target:"_blank"},"source"))))},k=function(){return r.a.createElement("div",null,r.a.createElement("p",null,"General rules of thumb:"),r.a.createElement("ul",null,r.a.createElement("li",null,"Whenever possible, substitute high-impact travel options with lower-impact ones (see chart below)",r.a.createElement("ul",null,r.a.createElement("li",null,"Note, flying long-distance can be especially bad depending on the length of the flight. While flights may be unavoidable, as an alternative, consider traveling by train in countries that have strong rail networks"))),r.a.createElement("li",null,"When purchasing vehicles, prioritize gas-efficient cars"),r.a.createElement("li",null,"If you purchase an electric-only car, try to charge it using renewable energy."),r.a.createElement("li",null,"Support local public transportation initiatives")),r.a.createElement("figure",{style:{border:"1px solid gray"}},r.a.createElement("a",{href:"static/transport.jpg"},r.a.createElement("img",{src:"static/transport.jpg",width:"100%",height:"auto",style:{maxWidth:"600px"}})),r.a.createElement("figcaption",null,"From Sightline Institute"," ",r.a.createElement("a",{href:"https://www.sightline.org/maps-and-graphics/climate-co2bymode/"},"Source"))))},I={HOME:"home",FOOD:"food",ENERGY:"energy",TRANSPORT:"transport",WASTE:"waste"},B=function(e){var t=function(e){switch(e){case I.HOME:return r.a.createElement(P,null);case I.FOOD:return r.a.createElement(S,null);case I.ENERGY:return r.a.createElement(j,null);case I.TRANSPORT:return r.a.createElement(k,null);case I.WASTE:return r.a.createElement(M,null);default:return"Invalid category"}}(e.category);return r.a.createElement("div",null,t)};function z(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var W={textDecoration:"none",color:"blue"},R=Object(d.a)(function(e){var t=e.isMobile,n=z(e,["isMobile"]),o="";return o=n.category?n.category:n.match.params.category,r.a.createElement(a.Fragment,null,t&&r.a.createElement(m.a,{to:"/",style:W},"< Back"),r.a.createElement(g,{style:{padding:"0px 16px",marginTop:"25px",width:"100%"}},r.a.createElement("h1",null,p.a.titleize(o)),r.a.createElement(B,{category:o})))}),T=n("QyId"),H=n.n(T),N=function(e){var t=e.children;return r.a.createElement("main",{className:H.a.body},t)},Y=n("dRpz"),A=n.n(Y);function G(){return(G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function D(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var F=function(e){var t=e.children,n=D(e,["children"]);return t&&"function"==typeof t?t({columnStyle:A.a.column}):r.a.createElement("div",G({className:A.a.column},n),t)},V=n("jkKi"),L=n.n(V),J=Object(a.memo)(function(e){var t=e.children;return r.a.createElement("div",{className:L.a.headerContainer},r.a.createElement("header",{className:L.a.header},t))});function U(){return(U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var K=function(e){e.styles;var t=function(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}(e,["styles"]);return r.a.createElement("svg",U({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1000 1000"},t),r.a.createElement("path",{d:"M500 10C229.4 10 10 229.4 10 500s219.4 490 490 490 490-219.4 490-490S770.6 10 500 10zm0 918.8C263.6 928.8 71.2 736.4 71.2 500S263.6 71.2 500 71.2 928.7 263.5 928.7 500c.1 236.4-192.3 428.8-428.7 428.8zm0-551.3c-33.8 0-61.3 27.4-61.3 61.2V745c0 33.8 27.4 61.3 61.3 61.3 33.8 0 61.2-27.4 61.2-61.3V438.7c.1-33.8-27.4-61.2-61.2-61.2zM438.7 256c0-16 6.6-32 17.9-43.3 11.3-11.3 27.3-17.9 43.3-17.9 16 0 32 6.6 43.3 17.9 11.3 11.3 17.9 27.3 17.9 43.3 0 16-6.6 32-17.9 43.3-11.2 11.3-27.2 17.9-43.2 17.9-16 0-32-6.6-43.3-17.9-11.3-11.4-18-27.3-18-43.3z"}))},Q=n("It+4"),q=n("hEki"),X=n.n(q);function Z(){return(Z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function $(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var ee="medium",te=function(e){var t=e.children,n=e.size,a=void 0===n?ee:n,o=$(e,["children","size"]),l="".concat(X.a.button," ").concat(X.a[a]);return t&&"function"==typeof t?t({buttonStyle:l}):r.a.createElement("button",Z({className:l},o),t)};function ne(){return(ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ae=function(e){e.styles;var t=function(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}(e,["styles"]);return r.a.createElement("svg",ne({width:"9",height:"9",viewBox:"-7 -1 10 10"},t),r.a.createElement("path",{d:"M2.301 1.523L1.477.7-2 4.176-5.477.699l-.824.824L-2.824 5l-3.477 3.477.824.824L-2 5.824l3.477 3.477.824-.824L-1.176 5l3.477-3.477z"}))},re=n("iWn/"),oe=n.n(re);function le(e){return(le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ie(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function se(e){return(se=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ce(e,t){return(ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ue(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function me(){return(me=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function de(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var fe="small",_e="medium",he=r.a.createContext(),ye=he.Provider,ge=he.Consumer,be=function(e){var t=e.children,n=e.openOnClick,a=void 0!==n&&n,o=de(e,["children","openOnClick"]);return r.a.createElement(ge,null,function(e){var n=e.modalIsOpen,l=e.toggleModal;if(t&&"function"==typeof t)return t({modalIsOpen:n,toggleModal:l,openModal:function(){return l(!0)},closeModal:function(){return l(!1)}});return r.a.createElement(te,me({},o,{onClick:function(){return l(a)}}),t)})},ve=function(e){function t(e){var n,a,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=this,r=se(t).call(this,e),n=!r||"object"!==le(r)&&"function"!=typeof r?ue(a):r,pe(ue(ue(n)),"toggleModal",function(e){return n.setState({modalIsOpen:e})}),n.state={modalIsOpen:!!e.initiallyOpen},n}var n,a,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ce(e,t)}(t,r.a.Component),n=t,(a=[{key:"render",value:function(){return r.a.createElement(ye,{value:{modalIsOpen:this.state.modalIsOpen,toggleModal:this.toggleModal,contentSize:this.props.size||_e}},this.props.children)}}])&&ie(n.prototype,a),o&&ie(n,o),t}();pe(ve,"Content",function(e){var t=e.children;return r.a.createElement(he.Consumer,null,function(e){var n=e.modalIsOpen,a=e.toggleModal,o=e.contentSize,l=function(e){e.stopPropagation(),n&&a(!1)};return r.a.createElement(Q.a,null,r.a.createElement("div",{className:"".concat(oe.a.modalBackdrop," ").concat(n?oe.a.backdropVisible:""),onClick:l},r.a.createElement("div",{className:"".concat(oe.a.modalContent," ").concat(oe.a[o]),onClick:function(e){return e.stopPropagation()}},r.a.createElement(C,{svg:ae,className:oe.a.cancelButton,onClick:l}),t)))})}),pe(ve,"CloseButton",function(e){var t=e.children,n=de(e,["children"]);return r.a.createElement(be,me({openOnClick:!1},n),t)}),pe(ve,"OpenButton",function(e){var t=e.children,n=de(e,["children"]);return r.a.createElement(be,me({openOnClick:!0},n),t)});var we=ve,Ee=function(){return r.a.createElement(we,{size:fe},r.a.createElement(we.Content,null,r.a.createElement("h3",null,"DISCLAIMER ON ACCURACY:"),r.a.createElement("p",null,"Although effort has been made to provide accurate information in this app, I (the developer of this app) provide no guarantees as to the accuracy of content on this website/app. This is just information that I compiled via Google searches, etc. Some attempt was made to provide legitimate sources for information listed here, but inaccuracies may exist."),r.a.createElement("h3",null,"What is this guide for?"),r.a.createElement("p",null,"This is a guide for those that want to make decisions on what can be done as an individual to help prevent climate change. If you think there's things missing from here you think should be added, feel free to put in an issue on Github (or put in a pull request)."),r.a.createElement("p",null,"Source code on GitHub:",r.a.createElement("br",null),r.a.createElement("a",{href:"https://github.com/aarron-lee/climate_change_pwa/"},r.a.createElement(C,{svg:v,link:!0})))),r.a.createElement(we.OpenButton,null,function(e){var t=e.openModal;return r.a.createElement(C,{svg:K,onClick:t,fill:"white",link:!0})}))},xe=n("AdBl"),Oe=n.n(xe),Ce=function(e){var t=e.children;return r.a.createElement("div",{className:Oe.a.mainContainer},r.a.createElement("div",{className:Oe.a.main},t))};function Pe(){return(Pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Se=function(e){e.styles;var t=function(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}(e,["styles"]);return r.a.createElement("svg",Pe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 477.175 477.175"},t),r.a.createElement("path",{d:"M360.731 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"}))},je=n("azVV"),Me=n.n(je);function ke(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Ie(){return(Ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Be=function(e){return r.a.createElement(C,Ie({svg:Se,size:12},e))},ze=function(e){var t=e.children,n=ke(e,["children"]);return r.a.createElement(g,null,function(e){var a=e.cardStyle;return t&&"function"==typeof t?t({indexItemCardStyle:"".concat(a," ").concat(Me.a.indexItem),RightArrowIcon:Be}):r.a.createElement("div",Ie({className:"".concat(a," ").concat(Me.a.indexItem)},n),t," ",r.a.createElement(Be,null))})};function We(e){return(We="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Re(){return(Re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Te(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function He(e){return(He=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ne(e,t){return(Ne=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ye(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ge=768,De=function(e){return function(t){function n(){var e,t,a,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);for(var o=arguments.length,l=new Array(o),i=0;i<o;i++)l[i]=arguments[i];return a=this,r=(e=He(n)).call.apply(e,[this].concat(l)),t=!r||"object"!==We(r)&&"function"!=typeof r?Ye(a):r,Ae(Ye(Ye(t)),"state",{isMobile:window.innerWidth<=Ge}),Ae(Ye(Ye(t)),"resizeListener",function(){var e=t.state.isMobile;e&&window.innerWidth>Ge?t.setState({isMobile:!1}):!e&&window.innerWidth<Ge&&t.setState({isMobile:!0})}),t}var a,o,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ne(e,t)}(n,r.a.Component),a=n,(o=[{key:"componentDidMount",value:function(){window.addEventListener("resize",this.resizeListener)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.resizeListener)}},{key:"render",value:function(){return r.a.createElement(e,Re({isMobile:this.state.isMobile},this.props))}}])&&Te(a.prototype,o),l&&Te(a,l),n}()},Fe=function(e){var t=e.children,n=e.url,a={};return e.isMobile&&(a.width="100%"),r.a.createElement(m.a,{to:n,style:{textDecoration:"none",color:"black"}},r.a.createElement(ze,{style:a},t))},Ve=De(function(e){var t=e.isMobile;return r.a.createElement(a.Fragment,null,Object.values(I).map(function(e,n){return r.a.createElement(Fe,{url:"/".concat(e),key:n,isMobile:t},p.a.titleize(e))}))}),Le=n("q3xW"),Je=n.n(Le);function Ue(){return(Ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Ke(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var Qe=function(e){var t=e.children,n=Ke(e,["children"]);return t&&"function"==typeof t?t({rowStyle:Je.a.row}):r.a.createElement("div",Ue({className:Je.a.row},n),t)},qe=De(function(e){var t=e.isMobile,n=null;return n=t?r.a.createElement(F,{style:{marginTop:"25px",width:"100%"}},r.a.createElement(s.a,null,r.a.createElement(c.a,{exact:!0,path:"/",component:Ve}),r.a.createElement(c.a,{path:"/:category",render:function(){return r.a.createElement(R,{isMobile:t})}}))):r.a.createElement(a.Fragment,null,r.a.createElement(Qe,{style:{width:"100%"}},r.a.createElement(F,{style:{marginTop:"25px"}},r.a.createElement(Ve,null)),r.a.createElement(s.a,null,r.a.createElement(c.a,{exact:!0,path:"/",render:function(){return r.a.createElement(R,{category:"home"})}}),r.a.createElement(c.a,{path:"/:category",component:R})))),r.a.createElement(a.Fragment,null,r.a.createElement(J,null,r.a.createElement("div",null,"Climate Change Guide"),r.a.createElement(Ee,null)),r.a.createElement(N,null,r.a.createElement(Ce,null,r.a.createElement(Qe,{style:{justifyContent:"center",width:"100%",marginBottom:"25px"}},n))))});document.addEventListener("DOMContentLoaded",function(){var e=document.getElementById("root");e&&l.a.render(r.a.createElement(i.a,null,r.a.createElement(qe,null)),e)}),window.addEventListener("load",function(){"serviceWorker"in navigator&&navigator.serviceWorker.register("service-worker.js").then(function(e){console.log("SW registered: ".concat(e))}).catch(function(e){return console.log("SW registration failed: ".concat(e))})})},"iWn/":function(e,t,n){var a=n("Q9U4");"string"==typeof a&&(a=[[e.i,a,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,r);a.locals&&(e.exports=a.locals)},j1vu:function(e,t,n){(t=e.exports=n("JPst")(!1)).push([e.i,".app-Components-Presentation-Row-___RowStyles__row___12vC9 {\n  display: flex;\n  flex-direction: row; }\n",""]),t.locals={row:"app-Components-Presentation-Row-___RowStyles__row___12vC9"}},jkKi:function(e,t,n){var a=n("5h8w");"string"==typeof a&&(a=[[e.i,a,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,r);a.locals&&(e.exports=a.locals)},"n/Hj":function(e,t,n){(t=e.exports=n("JPst")(!1)).push([e.i,'.app-Components-Presentation-Body-___BodyStyles__body___HkBgs {\n  background: #ececec;\n  font-family: "Helvetica", "Verdana", sans-serif;\n  height: 100vh;\n  padding-top: 60px;\n  overflow-x: hidden;\n  overflow-y: auto; }\n',""]),t.locals={body:"app-Components-Presentation-Body-___BodyStyles__body___HkBgs"}},q3xW:function(e,t,n){var a=n("j1vu");"string"==typeof a&&(a=[[e.i,a,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,r);a.locals&&(e.exports=a.locals)},rMe8:function(e,t,n){var a=n("7NYU");"string"==typeof a&&(a=[[e.i,a,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,r);a.locals&&(e.exports=a.locals)}},[["i085",1,2]]]);