text: (window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"3nLz":function(e,t,a){"use strict";a("t+fG")("fixed",(function(e){return function(){return e(this,"tt","","")}}))},"9eSz":function(e,t,a){"use strict";a("rzGZ"),a("Dq+y"),a("8npG"),a("YbXK"),a("eMsz"),a("zTTH"),a("3nLz");var n=a("TqRt");t.__esModule=!0,t.default=void 0;var r,i=n(a("PJYZ")),l=n(a("VbXa")),o=n(a("8OQS")),c=n(a("pVnL")),s=n(a("q1tI")),u=n(a("17x9")),d=function(e){var t=(0,c.default)({},e),a=t.resolutions,n=t.sizes,r=t.critical;return a&&(t.fixed=a,delete t.resolutions),n&&(t.fluid=n,delete t.sizes),r&&(t.loading="eager"),t.fluid&&(t.fluid=S([].concat(t.fluid))),t.fixed&&(t.fixed=S([].concat(t.fixed))),t},f=function(e){var t=e.media;return!!t&&(v&&!!window.matchMedia(t).matches)},m=function(e){var t=e.fluid,a=e.fixed;return g(t||a).src},g=function(e){if(v&&function(e){return!!e&&Array.isArray(e)&&e.some((function(e){return void 0!==e.media}))}(e)){var t=e.findIndex(f);if(-1!==t)return e[t];var a=e.findIndex((function(e){return void 0===e.media}));if(-1!==a)return e[a]}return e[0]},p=Object.create({}),h=function(e){var t=d(e),a=m(t);return p[a]||!1},b="undefined"!=typeof HTMLImageElement&&"loading"in HTMLImageElement.prototype,v="undefined"!=typeof window,w=v&&window.IntersectionObserver,E=new WeakMap;function y(e){return e.map((function(e){var t=e.src,a=e.srcSet,n=e.srcSetWebp,r=e.media,i=e.sizes;return s.default.createElement(s.default.Fragment,{key:t},n&&s.default.createElement("source",{type:"image/webp",media:r,srcSet:n,sizes:i}),s.default.createElement("source",{media:r,srcSet:a,sizes:i}))}))}function S(e){var t=[],a=[];return e.forEach((function(e){return(e.media?t:a).push(e)})),[].concat(t,a)}function x(e){return e.map((function(e){var t=e.src,a=e.media,n=e.tracedSVG;return s.default.createElement("source",{key:t,media:a,srcSet:n})}))}function k(e){return e.map((function(e){var t=e.src,a=e.media,n=e.base64;return s.default.createElement("source",{key:t,media:a,srcSet:n})}))}function z(e,t){var a=e.srcSet,n=e.srcSetWebp,r=e.media,i=e.sizes;return"<source "+(t?"type='image/webp' ":"")+(r?'media="'+r+'" ':"")+'srcset="'+(t?n:a)+'" '+(i?'sizes="'+i+'" ':"")+"/>"}var C=function(e,t){var a=(void 0===r&&"undefined"!=typeof window&&window.IntersectionObserver&&(r=new window.IntersectionObserver((function(e){e.forEach((function(e){if(E.has(e.target)){var t=E.get(e.target);(e.isIntersecting||e.intersectionRatio>0)&&(r.unobserve(e.target),E.delete(e.target),t())}}))}),{rootMargin:"200px"})),r);return a&&(a.observe(e),E.set(e,t)),function(){a.unobserve(e),E.delete(e)}},R=function(e){var t=e.src?'src="'+e.src+'" ':'src="" ',a=e.sizes?'sizes="'+e.sizes+'" ':"",n=e.srcSet?'srcset="'+e.srcSet+'" ':"",r=e.title?'title="'+e.title+'" ':"",i=e.alt?'alt="'+e.alt+'" ':'alt="" ',l=e.width?'width="'+e.width+'" ':"",o=e.height?'height="'+e.height+'" ':"",c=e.crossOrigin?'crossorigin="'+e.crossOrigin+'" ':"",s=e.loading?'loading="'+e.loading+'" ':"",u=e.draggable?'draggable="'+e.draggable+'" ':"";return"<picture>"+e.imageVariants.map((function(e){return(e.srcSetWebp?z(e,!0):"")+z(e)})).join("")+"<img "+s+l+o+a+n+t+i+r+c+u+'style="position:absolute;top:0;left:0;opacity:1;width:100%;height:100%;object-fit:cover;object-position:center"/></picture>'},I=s.default.forwardRef((function(e,t){var a=e.src,n=e.imageVariants,r=e.generateSources,i=e.spreadProps,l=e.ariaHidden,o=s.default.createElement(N,(0,c.default)({ref:t,src:a},i,{ariaHidden:l}));return n.length>1?s.default.createElement("picture",null,r(n),o):o})),N=s.default.forwardRef((function(e,t){var a=e.sizes,n=e.srcSet,r=e.src,i=e.style,l=e.onLoad,u=e.onError,d=e.loading,f=e.draggable,m=e.ariaHidden,g=(0,o.default)(e,["sizes","srcSet","src","style","onLoad","onError","loading","draggable","ariaHidden"]);return s.default.createElement("img",(0,c.default)({"aria-hidden":m,sizes:a,srcSet:n,src:r},g,{onLoad:l,onError:u,ref:t,loading:d,draggable:f,style:(0,c.default)({position:"absolute",top:0,left:0,width:"100%",height:"100%",objectFit:"cover",objectPosition:"center"},i)}))}));N.propTypes={style:u.default.object,onError:u.default.func,onLoad:u.default.func};var A=function(e){function t(t){var a;(a=e.call(this,t)||this).seenBefore=v&&h(t),a.isCritical="eager"===t.loading||t.critical,a.addNoScript=!(a.isCritical&&!t.fadeIn),a.useIOSupport=!b&&w&&!a.isCritical&&!a.seenBefore;var n=a.isCritical||v&&(b||!a.useIOSupport);return a.state={isVisible:n,imgLoaded:!1,imgCached:!1,fadeIn:!a.seenBefore&&t.fadeIn},a.imageRef=s.default.createRef(),a.placeholderRef=t.placeholderRef||s.default.createRef(),a.handleImageLoaded=a.handleImageLoaded.bind((0,i.default)(a)),a.handleRef=a.handleRef.bind((0,i.default)(a)),a}(0,l.default)(t,e);var a=t.prototype;return a.componentDidMount=function(){if(this.state.isVisible&&"function"==typeof this.props.onStartLoad&&this.props.onStartLoad({wasCached:h(this.props)}),this.isCritical){var e=this.imageRef.current;e&&e.complete&&this.handleImageLoaded()}},a.componentWillUnmount=function(){this.cleanUpListeners&&this.cleanUpListeners()},a.handleRef=function(e){var t=this;this.useIOSupport&&e&&(this.cleanUpListeners=C(e,(function(){var e=h(t.props);t.state.isVisible||"function"!=typeof t.props.onStartLoad||t.props.onStartLoad({wasCached:e}),t.setState({isVisible:!0},(function(){t.setState({imgLoaded:e,imgCached:!(!t.imageRef.current||!t.imageRef.current.currentSrc)})}))})))},a.handleImageLoaded=function(){var e,t,a;e=this.props,t=d(e),a=m(t),p[a]=!0,this.setState({imgLoaded:!0}),this.props.onLoad&&this.props.onLoad()},a.render=function(){var e=d(this.props),t=e.title,a=e.alt,n=e.className,r=e.style,i=void 0===r?{}:r,l=e.imgStyle,o=void 0===l?{}:l,u=e.placeholderStyle,f=void 0===u?{}:u,m=e.placeholderClassName,p=e.fluid,h=e.fixed,b=e.backgroundColor,v=e.durationFadeIn,w=e.Tag,E=e.itemProp,S=e.loading,z=e.draggable,C=!1===this.state.fadeIn||this.state.imgLoaded,A=!0===this.state.fadeIn&&!this.state.imgCached,L=(0,c.default)({opacity:C?1:0,transition:A?"opacity "+v+"ms":"none"},o),O="boolean"==typeof b?"lightgray":b,T={transitionDelay:v+"ms"},H=(0,c.default)((0,c.default)((0,c.default)({opacity:this.state.imgLoaded?0:1},A&&T),o),f),V={title:t,alt:this.state.isVisible?"":a,style:H,className:m,itemProp:E};if(p){var W=p,j=g(p);return s.default.createElement(w,{className:(n||"")+" gatsby-image-wrapper",style:(0,c.default)({position:"relative",overflow:"hidden",maxWidth:j.maxWidth?j.maxWidth+"px":null,maxHeight:j.maxHeight?j.maxHeight+"px":null},i),ref:this.handleRef,key:"fluid-"+JSON.stringify(j.srcSet)},s.default.createElement(w,{"aria-hidden":!0,style:{width:"100%",paddingBottom:100/j.aspectRatio+"%"}}),O&&s.default.createElement(w,{"aria-hidden":!0,title:t,style:(0,c.default)({backgroundColor:O,position:"absolute",top:0,bottom:0,opacity:this.state.imgLoaded?0:1,right:0,left:0},A&&T)}),j.base64&&s.default.createElement(I,{ariaHidden:!0,ref:this.placeholderRef,src:j.base64,spreadProps:V,imageVariants:W,generateSources:k}),j.tracedSVG&&s.default.createElement(I,{ariaHidden:!0,ref:this.placeholderRef,src:j.tracedSVG,spreadProps:V,imageVariants:W,generateSources:x}),this.state.isVisible&&s.default.createElement("picture",null,y(W),s.default.createElement(N,{alt:a,title:t,sizes:j.sizes,src:j.src,crossOrigin:this.props.crossOrigin,srcSet:j.srcSet,style:L,ref:this.imageRef,onLoad:this.handleImageLoaded,onError:this.props.onError,itemProp:E,loading:S,draggable:z})),this.addNoScript&&s.default.createElement("noscript",{dangerouslySetInnerHTML:{__html:R((0,c.default)((0,c.default)({alt:a,title:t,loading:S},j),{},{imageVariants:W}))}}))}if(h){var q=h,B=g(h),P=(0,c.default)({position:"relative",overflow:"hidden",display:"inline-block",width:B.width,height:B.height},i);return"inherit"===i.display&&delete P.display,s.default.createElement(w,{className:(n||"")+" gatsby-image-wrapper",style:P,ref:this.handleRef,key:"fixed-"+JSON.stringify(B.srcSet)},O&&s.default.createElement(w,{"aria-hidden":!0,title:t,style:(0,c.default)({backgroundColor:O,width:B.width,opacity:this.state.imgLoaded?0:1,height:B.height},A&&T)}),B.base64&&s.default.createElement(I,{ariaHidden:!0,ref:this.placeholderRef,src:B.base64,spreadProps:V,imageVariants:q,generateSources:k}),B.tracedSVG&&s.default.createElement(I,{ariaHidden:!0,ref:this.placeholderRef,src:B.tracedSVG,spreadProps:V,imageVariants:q,generateSources:x}),this.state.isVisible&&s.default.createElement("picture",null,y(q),s.default.createElement(N,{alt:a,title:t,width:B.width,height:B.height,sizes:B.sizes,src:B.src,crossOrigin:this.props.crossOrigin,srcSet:B.srcSet,style:L,ref:this.imageRef,onLoad:this.handleImageLoaded,onError:this.props.onError,itemProp:E,loading:S,draggable:z})),this.addNoScript&&s.default.createElement("noscript",{dangerouslySetInnerHTML:{__html:R((0,c.default)((0,c.default)({alt:a,title:t,loading:S},B),{},{imageVariants:q}))}}))}return null},t}(s.default.Component);A.defaultProps={fadeIn:!0,durationFadeIn:500,alt:"",Tag:"div",loading:"lazy"};var L=u.default.shape({width:u.default.number.isRequired,height:u.default.number.isRequired,src:u.default.string.isRequired,srcSet:u.default.string.isRequired,base64:u.default.string,tracedSVG:u.default.string,srcWebp:u.default.string,srcSetWebp:u.default.string,media:u.default.string}),O=u.default.shape({aspectRatio:u.default.number.isRequired,src:u.default.string.isRequired,srcSet:u.default.string.isRequired,sizes:u.default.string.isRequired,base64:u.default.string,tracedSVG:u.default.string,srcWebp:u.default.string,srcSetWebp:u.default.string,media:u.default.string,maxWidth:u.default.number,maxHeight:u.default.number});A.propTypes={resolutions:L,sizes:O,fixed:u.default.oneOfType([L,u.default.arrayOf(L)]),fluid:u.default.oneOfType([O,u.default.arrayOf(O)]),fadeIn:u.default.bool,durationFadeIn:u.default.number,title:u.default.string,alt:u.default.string,className:u.default.oneOfType([u.default.string,u.default.object]),critical:u.default.bool,crossOrigin:u.default.oneOfType([u.default.string,u.default.bool]),style:u.default.object,imgStyle:u.default.object,placeholderStyle:u.default.object,placeholderClassName:u.default.string,backgroundColor:u.default.oneOfType([u.default.string,u.default.bool]),onLoad:u.default.func,onError:u.default.func,onStartLoad:u.default.func,Tag:u.default.string,itemProp:u.default.string,loading:u.default.oneOf(["auto","lazy","eager"]),draggable:u.default.bool};var T=A;t.default=T},ECHx:function(e,t,a){},Qsam:function(e,t,a){e.exports=a.p+"static/wanted-banner-compressed-176a09f299bdae080a12ac8603090ea6.png"},ezAz:function(e){e.exports=JSON.parse('{"data":{"placeholderImage":{"childImageSharp":{"fluid":{"base64":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAACXBIWXMAAAsSAAALEgHS3X78AAACYklEQVQ4y42Uy28SQRjA+dM8efDmwYN6qF6qiSY+Y/WgQRMibY00TaWNBSRSCraYQtHl/bR0KyxQWCgWWAqU8izl/Sq7rLNsRHlVJpvJtzPfb77nDIOcZHSoqZSrp4+KtXIziubaLRysMCZiCYqOoVnhjNEi8RcztdxxeTzc6VBfT+5O2Vhpb+vw4wMdZ0ppWvP9xzLeJoDNThf2W+Nz1+XzNxQubSToSKKW+BDc+WOnkshhSVgeCiGpViZMEg1oxc26Knt+ae3bEtJTZwzE1kXLccG0+sOOlrcvZXvsczPkITfsa20vwIKnhsh+BnjUarT74Gb13CY7KBVJMv3z4N1NszQYsMWM62HNrCis/GxXn0iYls23uz5LPBcv0bH8hUH2XRoM85ySXv7JBtO87jMIvWq+H5GoYIHCLA1ZxD6Qap3Ak8IKfW7TJ50lK6uP9E6RgndHaODtCJ6Z5RyHfnE7j6gRbcKlCYNSt+rtETHTpUGgEP8FYmdNqd/Mo7aiVWTfuH2L9xASvfxxlqr01EYkrJszvNkgW9bH0OuFr+99m+y9IOeyU6zIp/Hubp/yMEztlzFPwOhdvq+nIoS1JNn4t2sugCmVsDvPe2KKolnZLCxhOcAKQRDDXTQaVi46lqYhIBwHTrl3oWqhMRDtaJge37lOBMKo4tfbqhVX0J7snTsWps8uZWuoOQY6CcjpSIF55UvmqNgr5wUwtV1IVdnXtnSfPEB2qjDNqnvczRl0m+j6Jn5lXb6nAQJqinmN0ZEBj03YLzghY8PnTRz80o/GRJZpOLCb0PM9BN7pvUEjx28V00WUg9jIVwAAAABJRU5ErkJggg==","aspectRatio":1,"src":"/static/6d91c86c0fde632ba4cd01062fd9ccfa/630fb/gatsby-astronaut.png","srcSet":"/static/6d91c86c0fde632ba4cd01062fd9ccfa/5db04/gatsby-astronaut.png 75w,\\n/static/6d91c86c0fde632ba4cd01062fd9ccfa/6d161/gatsby-astronaut.png 150w,\\n/static/6d91c86c0fde632ba4cd01062fd9ccfa/630fb/gatsby-astronaut.png 300w,\\n/static/6d91c86c0fde632ba4cd01062fd9ccfa/62b1f/gatsby-astronaut.png 450w,\\n/static/6d91c86c0fde632ba4cd01062fd9ccfa/2a4de/gatsby-astronaut.png 600w,\\n/static/6d91c86c0fde632ba4cd01062fd9ccfa/ee604/gatsby-astronaut.png 800w","sizes":"(max-width: 300px) 100vw, 300px"}}}}}')},pAKa:function(e,t,a){"use strict";a.r(t);a("E5k/");var n=a("q1tI"),r=a.n(n),i=a("5D9J"),l=(a("Bl7J"),a("ezAz"),a("9eSz"),a("vrFN"),a("/Cf1"),a("KaO+"),a("dHma")),o=a("2CHS"),c=function(e){var t=e.activist;return r.a.createElement("div",null,t>2&&r.a.createElement("div",null,r.a.createElement(o.b,null,"Great!"," ",r.a.createElement("span",{role:"img","aria-label":"Strong arm emoji"},"💪")),r.a.createElement(o.c,{style:{marginBottom:10}},"We're activists too"),r.a.createElement(o.e,null,"In fact our vision is a future free of climate change and inequality")),t<3&&r.a.createElement("div",null,r.a.createElement(o.b,null,"Hey, everyone starts somewhere!")))};a("pJf4"),a("ECHx");function s(){var e=d(["\n  display: grid;\n  grid-template-columns: 34vw 42px 42px 34vw;\n  grid-template-rows: 46px;\n"]);return s=function(){return e},e}function u(){var e=d(["\n  padding: 10px 0 10px 0;\n  font-size: calc(10px + 1vw);\n  font-weight: 800;\n  text-transform: uppercase;\n  text-align: ",";\n"]);return u=function(){return e},e}function d(e,t){return t||(t=e.slice(0)),e.raw=t,e}var f=function(e){var t=e.onChange;return r.a.createElement("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"}},r.a.createElement(o.b,null,"Given the choice..."),r.a.createElement(o.c,{style:{marginBottom:"calc(10px + 2vw)"}},"What would you rather invest in?"),r.a.createElement(g,null,r.a.createElement(m,null,"Fossil Fuels"),r.a.createElement("div",null,r.a.createElement("label",{className:"container"},r.a.createElement("input",{className:"checkmark",type:"radio",name:"ff_renew",value:"fossilfuels",onChange:function(e){return t(e.target.name,e.target.value)}}),r.a.createElement("span",{className:"checkmark"}))),r.a.createElement("div",null,r.a.createElement("label",{className:"container"},r.a.createElement("input",{type:"radio",name:"ff_renew",value:"renewables",onChange:function(e){return t(e.target.name,e.target.value)}}),r.a.createElement("span",{className:"checkmark"}))),r.a.createElement(m,{right:!0},"Renewables")),r.a.createElement(g,null,r.a.createElement(m,null,"Gambling"),r.a.createElement("div",null,r.a.createElement("label",{className:"container"},r.a.createElement("input",{className:"checkmark",type:"radio",name:"gambling_education",value:"gambling",onChange:function(e){return t(e.target.name,e.target.value)}}),r.a.createElement("span",{className:"checkmark"}))),r.a.createElement("div",null,r.a.createElement("label",{className:"container"},r.a.createElement("input",{type:"radio",name:"gambling_education",value:"education",onChange:function(e){return t(e.target.name,e.target.value)}}),r.a.createElement("span",{className:"checkmark"}))),r.a.createElement(m,{right:!0},"Education")),r.a.createElement(g,null,r.a.createElement(m,null,"Tobacco"),r.a.createElement("div",null,r.a.createElement("label",{className:"container"},r.a.createElement("input",{className:"checkmark",type:"radio",name:"tobacco_healthcare",value:"tobacco",onChange:function(e){return t(e.target.name,e.target.value)}}),r.a.createElement("span",{className:"checkmark"}))),r.a.createElement("div",null,r.a.createElement("label",{className:"container"},r.a.createElement("input",{type:"radio",name:"tobacco_healthcare",value:"healthcare",onChange:function(e){return t(e.target.name,e.target.value)}}),r.a.createElement("span",{className:"checkmark"}))),r.a.createElement(m,{right:!0},"Healthcare")))},m=i.a.div(u(),(function(e){return e.right?"left":"right"})),g=i.a.div(s()),p=function(e){var t=e.howInvest,a=t.ff_renew,n=t.gambling_education,i=t.tobacco_healthcare,l="renewables"===a&&"education"===n&&"healthcare"===i,c="";return l||(c="renewables"!==a?"Fossil Fuels":"education"!==n?"Gambling":"Tobacco"),r.a.createElement("div",null,l&&r.a.createElement("div",null,r.a.createElement(o.b,{style:{marginBottom:10}},"Amazing!"," ",r.a.createElement("span",{role:"img","aria-label":"Raised hands emoji"},"🙌")),r.a.createElement(o.c,{style:{marginBottom:10}},"Us too!"),r.a.createElement(o.e,null,"We invest in exactly zero fossil fuels, gambling and tobacco")),!l&&r.a.createElement("div",null,r.a.createElement(o.b,{style:{marginBottom:20}},"A fan of ",c," hey?"),r.a.createElement(o.e,null,"Just so you know... We don't invest in fossil fuels, gambling or tobacco")))},h=(a("y7hu"),a("Qsam")),b=a.n(h);function v(){var e=E(["\n  font-size: calc(12px + 0.5vw);\n  text-transform: uppercase;\n  cursor: ",";\n  text-decoration: ",";\n  opacity: ",";\n  color: white;\n"]);return v=function(){return e},e}function w(){var e=E(["\n  margin: calc(10px + 1vw);\n  padding: 1.5vw 4vw 1.5vw 4vw;\n  background: white;\n  font-size: calc(20px + 1vw);\n  text-transform: uppercase;\n  font-weight: 800;\n  cursor: pointer;\n  border: 0;\n"]);return w=function(){return e},e}function E(e,t){return t||(t=e.slice(0)),e.raw=t,e}var y=function(e){var t=e.onNextPage;return r.a.createElement("div",null,r.a.createElement("img",{src:b.a,alt:"Wanted",style:{maxWidth:"90vw",maxHeight:"40vh",display:"block",marginBottom:"4vh",marginTop:"calc(50px - 4vw)"}}),r.a.createElement(x,null,"Are we a good ethical match?"," ",r.a.createElement("span",{role:"img","aria-label":"Pointing down emoji"},"👇")),r.a.createElement(S,{onClick:t},"Take quiz →"),r.a.createElement(x,{onClick:function(){return window.location="https://www.futuresuper.com.au"},link:!0},"Skip and go to futuresuper.com.au"))},S=i.a.button(w()),x=i.a.div(v(),(function(e){return e.link?"pointer":"auto"}),(function(e){return e.link?"underline":"none"}),(function(e){return e.link?"0.5":"1"}));function k(){var e=C(["\n  font-size: calc(12px + 0.5vw);\n  text-transform: uppercase;\n  cursor: ",";\n  text-decoration: ",";\n  opacity: ",";\n  color: black;\n"]);return k=function(){return e},e}function z(){var e=C(["\n  margin: 4vh 2vw 4vh 2vw;\n  padding: 1.5vw 4vw 1.5vw 4vw;\n  background: transparent;\n  border: 4px solid black;\n  font-size: calc(18px + 1vw);\n  text-transform: uppercase;\n  font-weight: 800;\n  cursor: pointer;\n"]);return z=function(){return e},e}function C(e,t){return t||(t=e.slice(0)),e.raw=t,e}var R=function(e){var t=e.onRestart;return r.a.createElement("div",null,r.a.createElement(o.b,{style:{marginBottom:20}},"Well, it looks like we might be a good ethical fit"," ",r.a.createElement("span",{role:"img","aria-label":"Thumbs Up emoji"},"👍")),r.a.createElement(N,null,"Don't forget though that it's not just about the ethics."),r.a.createElement(N,{style:{marginTop:10,marginBottom:20}},"You should read the"," ",r.a.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:function(){return window.location="https://www.myfuturesuper.com.au/more/documents"}},"Product Disclosure Statement")," ","before deciding if Future Super is right for you."),r.a.createElement(o.c,null,"What's Next?"),r.a.createElement(I,{onClick:function(){return window.location="https://portal.myfuturesuper.com.au/join"}},"Join Future Super →"),r.a.createElement(N,{onClick:function(){return window.location="https://www.futuresuper.com.au"},link:!0},"More about Future Super"),r.a.createElement(N,{onClick:t,link:!0,style:{marginTop:12}},"Start quiz again"))},I=i.a.button(z()),N=i.a.div(k(),(function(e){return e.link?"pointer":"auto"}),(function(e){return e.link?"underline":"none"}),(function(e){return e.link?"0.5":"1"})),A=a("JwsL");function L(){var e=V(["\n  margin: 2vw 6vw 2vw 6vw;\n  padding: 0.9vw 2.8vw 0.9vw 2.8vw;\n  background: transparent;\n  border: solid 4px black;\n  font-size: calc(14px + 1.3vw);\n  font-weight: 800;\n  cursor: pointer;\n"]);return L=function(){return e},e}function O(){var e=V(["\n  margin-top: calc(16px + 2vw);\n  display: flex;\n  width: 100%;\n  justify-content: space-between;\n"]);return O=function(){return e},e}function T(){var e=V(["\n  display: flex;\n  justify-content: center;\n  align-items: top;\n  text-align: center;\n"]);return T=function(){return e},e}function H(){var e=V(["\n  min-height: 90vh;\n  width: 100%;\n  padding: calc(10vw + 22px) 0 2vw 0;\n  background: ",";\n"]);return H=function(){return e},e}function V(e,t){return t||(t=e.slice(0)),e.raw=t,e}t.default=function(){var e=Object(n.useState)("3"),t=e[0],a=e[1],i=Object(n.useState)({}),s=i[0],u=i[1],d=Object(n.useState)(1),m=d[0],g=d[1],h=s.ff_renew,b=s.gambling_education,v=s.tobacco_healthcare,w=m<4||h&&b&&v;return r.a.createElement("div",null,r.a.createElement(o.d,{fill:1===m?"white":"black"}),r.a.createElement(W,{page:m},r.a.createElement(j,null,1===m&&r.a.createElement(y,{onNextPage:function(){g(2)}}),2===m&&r.a.createElement(l.a,{slider:t,onChange:function(e){a(e)}}),3===m&&r.a.createElement(c,{activist:t}),4===m&&r.a.createElement(f,{onChange:function(e,t){var a;return u(Object.assign(Object.assign({},s),{},((a={})[e]=t,a)))}}),5===m&&r.a.createElement(p,{howInvest:s}),6===m&&r.a.createElement(R,{onRestart:function(){return g(1)}})),1!==m&&6!==m&&r.a.createElement(q,null,r.a.createElement(B,{onClick:function(){g(m-1)},page:m},"Back"),w&&r.a.createElement(B,{onClick:function(){g(m+1)},page:m},"Next"))),r.a.createElement(A.a,null))};var W=i.a.div(H(),(function(e){return P[e.page-1]})),j=i.a.div(T()),q=i.a.div(O()),B=i.a.button(L()),P=["#333333","#f5ab3e","#f5ab3e","#A6D9E1","#A6D9E1","#7DC364"]},zTTH:function(e,t,a){"use strict";var n=a("P8UN"),r=a("Wadk")(6),i="findIndex",l=!0;i in[]&&Array(1)[i]((function(){l=!1})),n(n.P+n.F*l,"Array",{findIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),a("Dq1/")(i)}}]);
  //# sourceMappingURL=component---src-pages-wanted-js-2bca64a810967e14e538.js.map