text: (window.webpackJsonp=window.webpackJsonp||[]).push([[5],{261:function(e,t,a){"use strict";a.r(t);var r=a(267),n=a(0),s=a.n(n),i=a(55),o=(a(15),a(78),a(52),a(50)),l=a.n(o),c=a(268),u=a.n(c),d=a(273),f=a.n(d),m=(a(22),function(e){var t=e.status,a=e.message,r=e.className,n=e.style,i=e.onSubmitted,o=void 0;return s.a.createElement("div",{className:r,style:n},"sending"===t&&s.a.createElement("div",{style:{color:"blue"}},"sending..."),"error"===t&&s.a.createElement("div",{style:{color:"red"},dangerouslySetInnerHTML:{__html:a}}),"success"===t&&s.a.createElement("div",{style:{color:"green"},dangerouslySetInnerHTML:{__html:a}}),s.a.createElement("input",{ref:function(e){return o=e},type:"email",placeholder:"Your email"}),s.a.createElement("button",{onClick:function(){return o&&o.value.indexOf("@")>-1&&i({EMAIL:o.value})}},"Submit"))});function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var g=function(e){return e.replace("/post?","/post-json?")},h=function(e){function t(){var a,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,s=Array(n),i=0;i<n;i++)s[i]=arguments[i];return a=r=p(this,e.call.apply(e,[this].concat(s))),r.state={status:null,message:null},r.subscribe=function(e){var t=f()(e),a=g(r.props.url)+"&"+t;r.setState({status:"sending",message:null},(function(){return u()(a,{param:"c"},(function(e,t){e?r.setState({status:"error",message:e}):"success"!==t.result?r.setState({status:"error",message:t.msg}):r.setState({status:"success",message:t.msg})}))}))},p(r,a)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){return this.props.render({subscribe:this.subscribe,status:this.state.status,message:this.state.message})},t}(s.a.Component);h.propTypes={},h.defaultProps={render:function(e){var t=e.subscribe,a=e.status,r=e.message;return s.a.createElement(m,{status:a,message:r,onSubmitted:function(e){return t(e)}})}};var b=h,v=a(75),y=a(1),A=a(3),w=a(5),E=a.n(w),O=a(9),S=s.a.forwardRef((function(e,t){var a=e.bsPrefix,r=e.noGutters,n=e.as,i=void 0===n?"div":n,o=e.className,l=Object(A.a)(e,["bsPrefix","noGutters","as","className"]),c=Object(O.a)(a,"row");return s.a.createElement(i,Object(y.a)({ref:t},l,{className:E()(o,c,r&&"no-gutters")}))}));S.defaultProps={noGutters:!1};var j=S,I=(a(26),["xl","lg","md","sm","xs"]),N=s.a.forwardRef((function(e,t){var a=e.bsPrefix,r=e.className,n=e.as,i=void 0===n?"div":n,o=Object(A.a)(e,["bsPrefix","className","as"]),l=Object(O.a)(a,"col"),c=[],u=[];return I.forEach((function(e){var t,a,r,n=o[e];if(delete o[e],null!=n&&"object"==typeof n){var s=n.span;t=void 0===s||s,a=n.offset,r=n.order}else t=n;var i="xs"!==e?"-"+e:"";null!=t&&c.push(!0===t?""+l+i:""+l+i+"-"+t),null!=r&&u.push("order"+i+"-"+r),null!=a&&u.push("offset"+i+"-"+a)})),c.length||c.push(l),s.a.createElement(i,Object(y.a)({},o,{ref:t,className:E.a.apply(void 0,[r].concat(c,u))}))}));N.displayName="Col";var x,C=N,P=a(253),L=(a(126),a(127),a(177),a(274)),k=a(275),R=a.n(k),T=function(e){var t=e.filename,a=e.alt,r=L.data.images.edges.find((function(e){return e.node.relativePath.includes(t)}));if(!r)return null;var n=r.node.childImageSharp.sizes;return s.a.createElement(R.a,{alt:a,sizes:n,style:{maxWidth:600}})},z=a(93),V=a(94),U=a(129),M=a(61),F=a(162),B=a.n(F),G=a(163),J=((x={})[M.b]="show",x[M.a]="show",x),K=s.a.forwardRef((function(e,t){var a=e.className,r=e.children,i=Object(A.a)(e,["className","children"]),o=Object(n.useCallback)((function(e){Object(G.a)(e),i.onEnter&&i.onEnter(e)}),[i]);return s.a.createElement(M.e,Object(y.a)({ref:t,addEndListener:B.a},i,{onEnter:o}),(function(e,t){return s.a.cloneElement(r,Object(y.a)({},t,{className:E()("fade",a,r.props.className,J[e])}))}))}));K.defaultProps={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1},K.displayName="Fade";var q=K,W={label:l.a.string.isRequired,onClick:l.a.func},Y=s.a.forwardRef((function(e,t){var a=e.label,r=e.onClick,n=e.className,i=Object(A.a)(e,["label","onClick","className"]);return s.a.createElement("button",Object(y.a)({ref:t,type:"button",className:E()("close",n),onClick:r},i),s.a.createElement("span",{"aria-hidden":"true"},"×"),s.a.createElement("span",{className:"sr-only"},a))}));Y.displayName="CloseButton",Y.propTypes=W,Y.defaultProps={label:"Close"};var D,H=Y,X=a(130),Z={show:!0,transition:q,closeLabel:"Close alert"},Q={show:"onClose"},_=s.a.forwardRef((function(e,t){var a=Object(z.a)(e,Q),r=a.bsPrefix,n=a.show,i=a.closeLabel,o=a.className,l=a.children,c=a.variant,u=a.onClose,d=a.dismissible,f=a.transition,m=Object(A.a)(a,["bsPrefix","show","closeLabel","className","children","variant","onClose","dismissible","transition"]),p=Object(O.a)(r,"alert"),g=Object(V.a)((function(e){u(!1,e)})),h=s.a.createElement("div",Object(y.a)({role:"alert"},f?m:void 0,{className:E()(o,p,c&&p+"-"+c,d&&p+"-dismissible")}),d&&s.a.createElement(H,{onClick:g,label:i}),l);return f?s.a.createElement(f,Object(y.a)({unmountOnExit:!0,ref:t},m,{in:n}),h):n?h:null})),$=(D="h4",s.a.forwardRef((function(e,t){return s.a.createElement("div",Object(y.a)({},e,{ref:t,className:E()(e.className,D)}))})));$.displayName="DivStyledAsH4",_.displayName="Alert",_.defaultProps=Z,_.Link=Object(U.a)("alert-link",{Component:X.a}),_.Heading=Object(U.a)("alert-heading",{Component:$});var ee=_,te=(a(178),{type:l.a.string.isRequired,as:l.a.elementType}),ae=s.a.forwardRef((function(e,t){var a=e.as,r=void 0===a?"div":a,n=e.className,i=e.type,o=Object(A.a)(e,["as","className","type"]);return s.a.createElement(r,Object(y.a)({},o,{ref:t,className:E()(n,i&&i+"-feedback")}))}));ae.displayName="Feedback",ae.propTypes=te,ae.defaultProps={type:"valid"};var re=ae,ne=s.a.createContext({controlId:void 0}),se=s.a.forwardRef((function(e,t){var a=e.id,r=e.bsPrefix,i=e.bsCustomPrefix,o=e.className,l=e.isValid,c=e.isInvalid,u=e.isStatic,d=e.as,f=void 0===d?"input":d,m=Object(A.a)(e,["id","bsPrefix","bsCustomPrefix","className","isValid","isInvalid","isStatic","as"]),p=Object(n.useContext)(ne),g=p.controlId;return r=p.custom?Object(O.a)(i,"custom-control-input"):Object(O.a)(r,"form-check-input"),s.a.createElement(f,Object(y.a)({},m,{ref:t,id:a||g,className:E()(o,r,l&&"is-valid",c&&"is-invalid",u&&"position-static")}))}));se.displayName="FormCheckInput",se.defaultProps={type:"checkbox"};var ie=se,oe=s.a.forwardRef((function(e,t){var a=e.bsPrefix,r=e.bsCustomPrefix,i=e.className,o=e.htmlFor,l=Object(A.a)(e,["bsPrefix","bsCustomPrefix","className","htmlFor"]),c=Object(n.useContext)(ne),u=c.controlId;return a=c.custom?Object(O.a)(r,"custom-control-label"):Object(O.a)(a,"form-check-label"),s.a.createElement("label",Object(y.a)({},l,{ref:t,htmlFor:o||u,className:E()(i,a)}))}));oe.displayName="FormCheckLabel";var le=oe,ce=s.a.forwardRef((function(e,t){var a=e.id,r=e.bsPrefix,i=e.bsCustomPrefix,o=e.inline,l=e.disabled,c=e.isValid,u=e.isInvalid,d=e.feedback,f=e.className,m=e.style,p=e.title,g=e.type,h=e.label,b=e.children,v=e.custom,w=e.as,S=void 0===w?"input":w,j=Object(A.a)(e,["id","bsPrefix","bsCustomPrefix","inline","disabled","isValid","isInvalid","feedback","className","style","title","type","label","children","custom","as"]),I="switch"===g||v;r=I?Object(O.a)(i,"custom-control"):Object(O.a)(r,"form-check");var N=Object(n.useContext)(ne).controlId,x=Object(n.useMemo)((function(){return{controlId:a||N,custom:I}}),[N,I,a]),C=null!=h&&!1!==h&&!b,P=s.a.createElement(ie,Object(y.a)({},j,{type:"switch"===g?"checkbox":g,ref:t,isValid:c,isInvalid:u,isStatic:!C,disabled:l,as:S}));return s.a.createElement(ne.Provider,{value:x},s.a.createElement("div",{style:m,className:E()(f,r,I&&"custom-"+g,o&&r+"-inline")},b||s.a.createElement(s.a.Fragment,null,P,C&&s.a.createElement(le,{title:p},h),(c||u)&&s.a.createElement(re,{type:c?"valid":"invalid"},d))))}));ce.displayName="FormCheck",ce.defaultProps={type:"checkbox",inline:!1,disabled:!1,isValid:!1,isInvalid:!1,title:""},ce.Input=ie,ce.Label=le;var ue=ce,de=(a(266),s.a.forwardRef((function(e,t){var a,r,i=e.bsPrefix,o=e.type,l=e.size,c=e.id,u=e.className,d=e.isValid,f=e.isInvalid,m=e.plaintext,p=e.readOnly,g=e.as,h=void 0===g?"input":g,b=Object(A.a)(e,["bsPrefix","type","size","id","className","isValid","isInvalid","plaintext","readOnly","as"]),v=Object(n.useContext)(ne).controlId;if(i=Object(O.a)(i,"form-control"),m)(r={})[i+"-plaintext"]=!0,a=r;else if("file"===o){var w;(w={})[i+"-file"]=!0,a=w}else{var S;(S={})[i]=!0,S[i+"-"+l]=l,a=S}return s.a.createElement(h,Object(y.a)({},b,{type:o,ref:t,readOnly:p,id:c||v,className:E()(u,a,d&&"is-valid",f&&"is-invalid")}))})));de.displayName="FormControl",de.Feedback=re;var fe=de,me=s.a.forwardRef((function(e,t){var a=e.bsPrefix,r=e.className,i=e.children,o=e.controlId,l=e.as,c=void 0===l?"div":l,u=Object(A.a)(e,["bsPrefix","className","children","controlId","as"]);a=Object(O.a)(a,"form-group");var d=Object(n.useMemo)((function(){return{controlId:o}}),[o]);return s.a.createElement(ne.Provider,{value:d},s.a.createElement(c,Object(y.a)({},u,{ref:t,className:E()(r,a)}),i))}));me.displayName="FormGroup";var pe=me,ge=s.a.forwardRef((function(e,t){var a=e.bsPrefix,r=e.column,i=e.srOnly,o=e.className,l=e.htmlFor,c=Object(A.a)(e,["bsPrefix","column","srOnly","className","htmlFor"]),u=Object(n.useContext)(ne).controlId;a=Object(O.a)(a,"form-label");var d=E()(o,a,i&&"sr-only",r&&"col-form-label");return l=l||u,r?s.a.createElement(C,Object(y.a)({as:"label",className:d,htmlFor:l},c)):s.a.createElement("label",Object(y.a)({ref:t,className:d,htmlFor:l},c))}));ge.displayName="FormLabel",ge.defaultProps={column:!1,srOnly:!1};var he=ge,be=s.a.forwardRef((function(e,t){var a=e.bsPrefix,r=e.className,n=e.as,i=void 0===n?"small":n,o=e.muted,l=Object(A.a)(e,["bsPrefix","className","as","muted"]);return a=Object(O.a)(a,"form-text"),s.a.createElement(i,Object(y.a)({},l,{ref:t,className:E()(r,a,o&&"text-muted")}))}));be.displayName="FormText";var ve=be,ye=s.a.forwardRef((function(e,t){return s.a.createElement(ue,Object(y.a)({},e,{ref:t,type:"switch"}))}));ye.displayName="Switch",ye.Input=ue.Input,ye.Label=ue.Label;var Ae=ye,we=s.a.forwardRef((function(e,t){var a=e.bsPrefix,r=e.inline,n=e.className,i=e.validated,o=e.as,l=void 0===o?"form":o,c=Object(A.a)(e,["bsPrefix","inline","className","validated","as"]);return a=Object(O.a)(a,"form"),s.a.createElement(l,Object(y.a)({},c,{ref:t,className:E()(n,i&&"was-validated",r&&a+"-inline")}))}));we.displayName="Form",we.defaultProps={inline:!1},we.Row=Object(U.a)("form-row"),we.Group=pe,we.Control=fe,we.Check=ue,we.Switch=Ae,we.Label=he,we.Text=ve;var Ee=we,Oe=s.a.forwardRef((function(e,t){var a=e.bsPrefix,r=e.variant,n=e.size,i=e.active,o=e.className,l=e.block,c=e.type,u=e.as,d=Object(A.a)(e,["bsPrefix","variant","size","active","className","block","type","as"]),f=Object(O.a)(a,"btn"),m=E()(o,f,i&&"active",f+"-"+r,l&&f+"-block",n&&f+"-"+n);if(d.href)return s.a.createElement(X.a,Object(y.a)({},d,{as:u,ref:t,className:E()(m,d.disabled&&"disabled")}));t&&(d.ref=t),u||(d.type=c);var p=u||"button";return s.a.createElement(p,Object(y.a)({},d,{className:m}))}));Oe.displayName="Button",Oe.defaultProps={variant:"primary",active:!1,disabled:!1,type:"button"};var Se=Oe,je=function(e){var t,a=e.status,r=e.message,n=e.onValidated;return s.a.createElement(Ee,null,s.a.createElement(Ee.Group,{controlId:"mailchimp.email"},s.a.createElement(Ee.Label,null,"Email address"),s.a.createElement(Ee.Control,{type:"email",ref:function(e){return t=e},placeholder:"Your email"})),s.a.createElement(Se,{variant:"primary",type:"submit",onClick:function(e){e.preventDefault(),t&&t.value.indexOf("@")>-1&&n({EMAIL:t.value})}},"Submit"),s.a.createElement(Ee.Group,{className:"mt-3"},"sending"===a&&s.a.createElement(ee,{variant:"info"},"sending..."),"error"===a&&s.a.createElement(ee,{variant:"danger"},r),"success"===a&&s.a.createElement(ee,{variant:"success"},r)))},Ie=a(252),Ne=a(263),xe=a(259),Ce=a.n(xe);t.default=function(){var e=r.data.allMarkdownRemark.edges.filter((function(e){return!!e.node.frontmatter.date})).map((function(e){return s.a.createElement(Ne.a,{key:e.node.id,post:e.node})}));return s.a.createElement(s.a.Fragment,null,s.a.createElement("div",{className:Ce.a.hero},s.a.createElement(v.a,null,s.a.createElement("h1",null,"nz.js(con);",s.a.createElement("br",null),"wlg 2020"))),s.a.createElement(P.a,{homepage:!0},s.a.createElement(Ie.a,null),s.a.createElement(j,null,s.a.createElement(C,{xs:12,md:7},s.a.createElement("h2",null,"sign up for updates"),s.a.createElement("p",null,"Sign up for our low-volume announcement mailing list to find out when we have a venue and date finalised, when tickets go on sale and when the CFP is announced. We promise to not spam you, and to not pass your email address onwards."),s.a.createElement(b,{url:"//gmail.us4.list-manage.com/subscribe/post?u=abbe98fd5ccc3eecd8807a2d0&id=4bc06dd189",render:function(e){var t=e.subscribe,a=e.status,r=e.message;return s.a.createElement(je,{status:a,message:r,onValidated:function(e){return t(e)}})}})),s.a.createElement(C,{md:1}),s.a.createElement(C,null,s.a.createElement("h2",{id:"news"},"news"),s.a.createElement("div",null,e),s.a.createElement("p",null,s.a.createElement(i.a,{to:"/news",className:"btn btn-secondary"},"News archive")))),s.a.createElement(j,null,s.a.createElement(C,null,s.a.createElement("h2",null,"past events"),s.a.createElement("a",{href:"/2017"},s.a.createElement(T,{filename:"2017-logo.png",alt:"2017 conference logo"}))),s.a.createElement(C,{md:1}),s.a.createElement(C,{xs:12,md:7},s.a.createElement("h2",{id:"sponsors"},"sponsors"),s.a.createElement("p",null,s.a.createElement("span",{className:"conf-name"},"nz.js(con);")," is a low cost event and relies on sponsorship to make that possible. Interested in becoming a sponsor for 2020? Reach out to us"," ",s.a.createElement("a",{href:"mailto:conference@javascript.org.nz"},"via email"),".")))))}},263:function(e,t,a){"use strict";a(15);var r=a(0),n=a.n(r),s=a(55),i=a(264),o=a.n(i),l=a(254),c=a.n(l);t.a=function(e){var t=e.post;return n.a.createElement("div",null,n.a.createElement("h3",null,n.a.createElement(s.a,{to:o()(t.frontmatter.title,t.frontmatter.date)},t.frontmatter.title)),n.a.createElement("p",{className:"text-muted"},c()(t.frontmatter.date)),n.a.createElement("p",null,t.excerpt.replace("…","...")," ",n.a.createElement(s.a,{to:o()(t.frontmatter.title,t.frontmatter.date)},"read more")))}},264:function(e,t,a){var r=a(265),n=a(124).DateTime;e.exports=function(e,t){return"/news/"+r(e,{lower:!0})+"-"+n.fromISO(t).toISODate()}},265:function(e,t,a){var r;a(43),a(51),a(77),a(15),r=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","ǈ":"LJ","ǉ":"lj","ǋ":"NJ","ǌ":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","џ":"dz","Ґ":"G","ґ":"g","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","‘":"\'","’":"\'","“":"\\"","”":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₹":"indian rupee","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial"}'),t=JSON.parse('{"bg":{"locale":"Bulgarian","ѝ":"u"}}');function a(a,r){if("string"!=typeof a)throw new Error("slugify: string argument expected");var n=t[(r="string"==typeof r?{replacement:r}:r||{}).locale]||{},s=a.split("").reduce((function(t,a){return t+(n[a]||e[a]||a).replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]/g,"")}),"").trim().replace(/[-\s]+/g,r.replacement||"-");return r.lower?s.toLowerCase():s}return a.extend=function(t){for(var a in t)e[a]=t[a]},a},e.exports=r(),e.exports.default=r()},266:function(e,t,a){"use strict";a(15);var r=function(){};e.exports=r},267:function(e){e.exports=JSON.parse('{"data":{"allMarkdownRemark":{"edges":[{"node":{"id":"7d6ee679-cc32-5b3b-9c3b-5d10706f6f10","excerpt":"The conference was always conceived as having a rotating set of locations and…","frontmatter":{"date":"2017-04-02T09:39:55.000Z","title":"2018 and beyond"}}},{"node":{"id":"9b7da0a5-4768-591f-a1d9-dd033547fbef","excerpt":"We\'re a week on from the conference, and all the videos have been\\nup for a few days…","frontmatter":{"date":"2017-03-18T09:39:55.000Z","title":"Videos now up"}}}]}}}')},268:function(e,t,a){a(15),a(22),a(31);var r=a(269)("jsonp");e.exports=function(e,t,a){"function"==typeof t&&(a=t,t={});t||(t={});var i,o,l=t.prefix||"__jp",c=t.name||l+n++,u=t.param||"callback",d=null!=t.timeout?t.timeout:6e4,f=encodeURIComponent,m=document.getElementsByTagName("script")[0]||document.head;d&&(o=setTimeout((function(){p(),a&&a(new Error("Timeout"))}),d));function p(){i.parentNode&&i.parentNode.removeChild(i),window[c]=s,o&&clearTimeout(o)}return window[c]=function(e){r("jsonp got",e),p(),a&&a(null,e)},e=(e+=(~e.indexOf("?")?"&":"?")+u+"="+f(c)).replace("?&","?"),r('jsonp req "%s"',e),(i=document.createElement("script")).src=e,m.parentNode.insertBefore(i,m),function(){window[c]&&p()}};var n=0;function s(){}},269:function(e,t,a){(function(r){function n(){var e;try{e=t.storage.debug}catch(a){}return!e&&void 0!==r&&"env"in r&&(e={}.DEBUG),e}a(15),a(125),a(99),(t=e.exports=a(271)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var a=this.useColors;if(e[0]=(a?"%c":"")+this.namespace+(a?" %c":" ")+e[0]+(a?"%c ":" ")+"+"+t.humanize(this.diff),!a)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var n=0,s=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(n++,"%c"===e&&(s=n))})),e.splice(s,0,r)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(a){}},t.load=n,t.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},t.enable(n())}).call(this,a(270))},270:function(e,t){var a,r,n=e.exports={};function s(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(a===setTimeout)return setTimeout(e,0);if((a===s||!a)&&setTimeout)return a=setTimeout,setTimeout(e,0);try{return a(e,0)}catch(t){try{return a.call(null,e,0)}catch(t){return a.call(this,e,0)}}}!function(){try{a="function"==typeof setTimeout?setTimeout:s}catch(e){a=s}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var l,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&m())}function m(){if(!u){var e=o(f);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function g(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var a=1;a<arguments.length;a++)t[a-1]=arguments[a];c.push(new p(e,t)),1!==c.length||u||o(m)},p.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=g,n.addListener=g,n.once=g,n.off=g,n.removeListener=g,n.removeAllListeners=g,n.emit=g,n.prependListener=g,n.prependOnceListener=g,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},271:function(e,t,a){var r;function n(e){function a(){if(a.enabled){var e=a,n=+new Date,s=n-(r||n);e.diff=s,e.prev=r,e.curr=n,r=n;for(var i=new Array(arguments.length),o=0;o<i.length;o++)i[o]=arguments[o];i[0]=t.coerce(i[0]),"string"!=typeof i[0]&&i.unshift("%O");var l=0;i[0]=i[0].replace(/%([a-zA-Z%])/g,(function(a,r){if("%%"===a)return a;l++;var n=t.formatters[r];if("function"==typeof n){var s=i[l];a=n.call(e,s),i.splice(l,1),l--}return a})),t.formatArgs.call(e,i),(a.log||t.log||console.log.bind(console)).apply(e,i)}}return a.namespace=e,a.enabled=t.enabled(e),a.useColors=t.useColors(),a.color=function(e){var a,r=0;for(a in e)r=(r<<5)-r+e.charCodeAt(a),r|=0;return t.colors[Math.abs(r)%t.colors.length]}(e),"function"==typeof t.init&&t.init(a),a}a(125),a(43),a(34),a(15),(t=e.exports=n.debug=n.default=n).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){t.save(e),t.names=[],t.skips=[];for(var a=("string"==typeof e?e:"").split(/[\s,]+/),r=a.length,n=0;n<r;n++)a[n]&&("-"===(e=a[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){var a,r;for(a=0,r=t.skips.length;a<r;a++)if(t.skips[a].test(e))return!1;for(a=0,r=t.names.length;a<r;a++)if(t.names[a].test(e))return!0;return!1},t.humanize=a(272),t.names=[],t.skips=[],t.formatters={}},272:function(e,t){var a=1e3,r=60*a,n=60*r,s=24*n,i=365.25*s;function o(e,t,a){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+a:Math.ceil(e/t)+" "+a+"s"}e.exports=function(e,t){t=t||{};var l,c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!t)return;var o=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return o*i;case"days":case"day":case"d":return o*s;case"hours":case"hour":case"hrs":case"hr":case"h":return o*n;case"minutes":case"minute":case"mins":case"min":case"m":return o*r;case"seconds":case"second":case"secs":case"sec":case"s":return o*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}(e);if("number"===c&&!1===isNaN(e))return t.long?o(l=e,s,"day")||o(l,n,"hour")||o(l,r,"minute")||o(l,a,"second")||l+" ms":function(e){if(e>=s)return Math.round(e/s)+"d";if(e>=n)return Math.round(e/n)+"h";if(e>=r)return Math.round(e/r)+"m";if(e>=a)return Math.round(e/a)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},273:function(e,t,a){a(44),a(33),a(15),a(11),a(12),a(6),a(18),a(53),a(35),a(29),a(54),"undefined"!=typeof self&&self,e.exports=function(e){function t(r){if(a[r])return a[r].exports;var n=a[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var a={};return t.m=e,t.c=a,t.d=function(e,a,r){t.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,a){"use strict";function r(e,t,a){return"object"===(void 0===t?"undefined":s(t))?""+n(t,a+""+e+(a&&"]")+"["):a&&a.length?""+a+e+"]="+encodeURIComponent(t):e+"="+encodeURIComponent(t)}function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).arrayPrefix||"";return(Array.isArray(e)?e.map((function(e,n){return r(""+n+a,e,t)})):Object.keys(e).filter((function(t){return void 0!==e[t]})).map((function(n){return e[n]&&Array.isArray(e[n])?function(e,t,a){return t.map((function(t){return r(e,t,a)})).join("&")}(""+n+a,e[n],t):r(n,e[n],t)}))).join("&").replace(/%20/g,"+")}Object.defineProperty(t,"__esModule",{value:!0});var s="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};t.default=n}])},274:function(e){e.exports=JSON.parse('{"data":{"images":{"edges":[{"node":{"relativePath":"2017-logo.png","name":"2017-logo","childImageSharp":{"sizes":{"base64":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAECAYAAACOXx+WAAAACXBIWXMAAAsTAAALEwEAmpwYAAABT0lEQVQY0wFEAbv+AAAoIgZRcVwGh6SABW+Ydw19oH4CWHhgDHydfHBNVkYIAAAAAJWsh0yImHhF8frCAltqVgVWkHMLAAAAAA9ANgcAAAAAip58V5ashz0AAAAAAIarhbayxJmdl517Ro+yjLmAqIUmAAAAAKa6kIKpt4+Mh6WCe4ilgnCpv5VusbuTiJCngmGHsYujl7SNdJSwipuVuJCcpbqRU5Wth3mDqYVeAKi7ksOXvZSShrCKioixi76NnXs8l62ISMHPoJaJpIGNibOMu5KngnulwZahjrSNfoerh4OZu5Ots8KYv7TCl6CVu5SZkbWPdIWnhHGhrYhNAIKbekdflHUxc6B+UoOwi2uSqIRFlKaCZLnGm5tjj3FKb6KATKW1jluTqIRWdqqFX2yUdjiLs45nk6qGNJajgDZ0mHovfKKBanyigFGotI2CrgucCa3tmyUAAAAASUVORK5CYII=","aspectRatio":4.664,"src":"/static/cfdf0fc02e53044649e38eac60010fed/a4ce8/2017-logo.png","srcSet":"/static/cfdf0fc02e53044649e38eac60010fed/d3809/2017-logo.png 150w,\\n/static/cfdf0fc02e53044649e38eac60010fed/fdbb0/2017-logo.png 300w,\\n/static/cfdf0fc02e53044649e38eac60010fed/a4ce8/2017-logo.png 583w","sizes":"(max-width: 583px) 100vw, 583px"}}}},{"node":{"relativePath":"nz-dot-js-con-icon.png","name":"nz-dot-js-con-icon","childImageSharp":{"sizes":{"base64":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAACXBIWXMAAAsTAAALEwEAmpwYAAACZ0lEQVQ4y2P48lAGiD7eA6FP90How10ZiCBBxPD5ocy3RzL/38j+fyv767nsz2ey/9/Jfn1EnOafT2Xvn5PMSeGJi+DetUastoTf2Z4dKPLrmeznB4Q0/3kpe2aveLAvZ0E6T2M534wewbgILqBDiLGc4c8L2XP7xIE2L5wqWJrD62jDnpXEM2+SUH+LANAjwIBAVg10C7JzGCCh9eqG9Iur0g/OS105InHhgMSd05I3jkv8eIKiFMj+8RSIEN5hADrv7W3piwclgIzfz2X/v5Z9cU3q1XVpuMu/g434+ljm9wvZhxeknlySgutnAAYM0J7aEj5gUD+7Ig3UUJTJc+2oBDAWgM759ljm5Q1pYBQALQBKHdsmVlPMBzQXqhlo2+VDEsVZPFO7BB2s2XeuFi3L5T21S9zRln3RNKHqQj5nO/bV84QTIrlc7DkmtAjUFPHtWCnaXMn377UsKLTP7hUPDeBcNVfYxZ59YptAZz1/RT5fWw3/zROS/p6cwMDzdedIjeMGSoUHcjaU8Z3eLX58hzjQOQx/X8qe3w+Kqg2LRazN2IFKKwv4Ni8VcXPkmN0vWFXIB2QsnyXcUsW3ZblIdjJPdRHfse3ikcFcP5/KMPx/J9fVIACMKmBqAYbH/09yQP3Xjkt+uCfz+qY0MLSeXpH6/VIWmGz/vZI9vEVs42KRG8clgREJ9C8otJ9elgIGAFAdMCaAin49B5Hfn8gCQwssDtIJiqqHMkDF0MB7AmKD4vn7Y5lP4Nj/fB+aSSCJARKkUJ0Q9gOZj/dB2iCCDBChTw+IyglwE6FRRWTuw562R6BmAM/dvg5pDOvzAAAAAElFTkSuQmCC","aspectRatio":1,"src":"/static/311d5db2aab248343d53086228c58368/a0798/nz-dot-js-con-icon.png","srcSet":"/static/311d5db2aab248343d53086228c58368/d3809/nz-dot-js-con-icon.png 150w,\\n/static/311d5db2aab248343d53086228c58368/a0798/nz-dot-js-con-icon.png 180w","sizes":"(max-width: 180px) 100vw, 180px"}}}},{"node":{"relativePath":"civic-pyramid.png","name":"civic-pyramid","childImageSharp":{"sizes":{"base64":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAICAYAAAD5nd/tAAAACXBIWXMAAAsSAAALEgHS3X78AAACIUlEQVQoz2OYNKGZAQRANIxdXxUNpovyY4DsSKZgXzUwf+bkHNWsNM/DmameJSB+UqwD851n/8FyTbUJYJqhp7uBITLchyEuJoAhOtKHISUpECxeXRbO2FAVyswABY01kaWtDVHf+zsT/nc0x/zvbEkIAom31EeygOiKIk+GCd15DFhBfpYn3KD6qiiL9GQvg9qK0JcTuhL/tzVE/WiqCf/fWBPxu7UhzgrsupoIsKH1laEMDLNm9omFhXpLpqVGimZnRilkpvkLgCSnTMjnqa8Mn9JUG/E/K83bw8/b9Eh7Y/T/huqwv0D8u7E6HMgOf9tYE6sCsTgc4oiM9CjPuGgfhcgwTwUHe2upwAAvvcQ4t9iiXN87IJd0NEX/b2+K95aUENxeVuj/H+iKP5UlQf9L8v1+11eF/q+rDLs1dUKeEMTQSGYGf18nI3c3awNxSVXBqHA3j7wsn63lRQEgDf+L83y/1VaE/J/Slx4OVL8sItT6P9Blv6pKgv7WlAX/LSnw+1lbHvK/qjTkyP///5nALrS2MtO0tzMVK8kPKCot8P9SVRr0v7IkEOSS/yAXdQIjYNGcghxGRqbFFmZqYD4oGEAYpAakvrTA739KgusmoKFAL6f6OwGTyS6gi/7VlId8qigOelVWGPCmEkiXFwU+qyoN/t5cF1Wjq6PoZmSgfAoodh/o5ftFeb4PgC59UJzv9yAlweVuUpzTp6Jc/zIAwr7unFTKiUgAAAAASUVORK5CYII=","aspectRatio":2.446475195822454,"src":"/static/e7a12479332971c9e25b9cafbee6a031/59139/civic-pyramid.png","srcSet":"/static/e7a12479332971c9e25b9cafbee6a031/d3809/civic-pyramid.png 150w,\\n/static/e7a12479332971c9e25b9cafbee6a031/fdbb0/civic-pyramid.png 300w,\\n/static/e7a12479332971c9e25b9cafbee6a031/59139/civic-pyramid.png 600w,\\n/static/e7a12479332971c9e25b9cafbee6a031/cb30f/civic-pyramid.png 900w,\\n/static/e7a12479332971c9e25b9cafbee6a031/be0fd/civic-pyramid.png 937w","sizes":"(max-width: 600px) 100vw, 600px"}}}},{"node":{"relativePath":"pages/contact.md","name":"contact","childImageSharp":null}},{"node":{"relativePath":"posts/2017-03-08-videos-are-up.md","name":"2017-03-08-videos-are-up","childImageSharp":null}},{"node":{"relativePath":"posts/2017-04-01-2018-and-beyond.md","name":"2017-04-01-2018-and-beyond","childImageSharp":null}}]}}}')},275:function(e,t,a){"use strict";a(11),a(12),a(6),a(100),a(174),a(128);var r=a(17);t.__esModule=!0,t.default=void 0;var n,s=r(a(101)),i=r(a(98)),o=r(a(175)),l=r(a(176)),c=r(a(0)),u=r(a(50)),d=function(e){var t=(0,l.default)({},e),a=t.resolutions,r=t.sizes,n=t.critical;return a&&(t.fixed=a,delete t.resolutions),r&&(t.fluid=r,delete t.sizes),n&&(t.loading="eager"),t.fluid&&(t.fluid=A([].concat(t.fluid))),t.fixed&&(t.fixed=A([].concat(t.fixed))),t},f=function(e){var t=e.fluid,a=e.fixed;return(t&&t[0]||a&&a[0]).src},m=Object.create({}),p=function(e){var t=d(e),a=f(t);return m[a]||!1},g="undefined"!=typeof HTMLImageElement&&"loading"in HTMLImageElement.prototype,h="undefined"!=typeof window,b=h&&window.IntersectionObserver,v=new WeakMap;function y(e){return e.map((function(e){var t=e.src,a=e.srcSet,r=e.srcSetWebp,n=e.media,s=e.sizes;return c.default.createElement(c.default.Fragment,{key:t},r&&c.default.createElement("source",{type:"image/webp",media:n,srcSet:r,sizes:s}),c.default.createElement("source",{media:n,srcSet:a,sizes:s}))}))}function A(e){var t=[],a=[];return e.forEach((function(e){return(e.media?t:a).push(e)})),[].concat(t,a)}function w(e){return e.map((function(e){var t=e.src,a=e.media,r=e.tracedSVG;return c.default.createElement("source",{key:t,media:a,srcSet:r})}))}function E(e){return e.map((function(e){var t=e.src,a=e.media,r=e.base64;return c.default.createElement("source",{key:t,media:a,srcSet:r})}))}function O(e,t){var a=e.srcSet,r=e.srcSetWebp,n=e.media,s=e.sizes;return"<source "+(t?"type='image/webp' ":"")+(n?'media="'+n+'" ':"")+'srcset="'+(t?r:a)+'" '+(s?'sizes="'+s+'" ':"")+"/>"}var S=function(e,t){var a=(void 0===n&&"undefined"!=typeof window&&window.IntersectionObserver&&(n=new window.IntersectionObserver((function(e){e.forEach((function(e){if(v.has(e.target)){var t=v.get(e.target);(e.isIntersecting||e.intersectionRatio>0)&&(n.unobserve(e.target),v.delete(e.target),t())}}))}),{rootMargin:"200px"})),n);return a&&(a.observe(e),v.set(e,t)),function(){a.unobserve(e),v.delete(e)}},j=function(e){var t=e.src?'src="'+e.src+'" ':'src="" ',a=e.sizes?'sizes="'+e.sizes+'" ':"",r=e.srcSet?'srcset="'+e.srcSet+'" ':"",n=e.title?'title="'+e.title+'" ':"",s=e.alt?'alt="'+e.alt+'" ':'alt="" ',i=e.width?'width="'+e.width+'" ':"",o=e.height?'height="'+e.height+'" ':"",l=e.crossOrigin?'crossorigin="'+e.crossOrigin+'" ':"",c=e.loading?'loading="'+e.loading+'" ':"",u=e.draggable?'draggable="'+e.draggable+'" ':"";return"<picture>"+e.imageVariants.map((function(e){return(e.srcSetWebp?O(e,!0):"")+O(e)})).join("")+"<img "+c+i+o+a+r+t+s+n+l+u+'style="position:absolute;top:0;left:0;opacity:1;width:100%;height:100%;object-fit:cover;object-position:center"/></picture>'},I=function(e){var t=e.src,a=e.imageVariants,r=e.generateSources,n=e.spreadProps,s=c.default.createElement(N,(0,l.default)({src:t},n));return a.length>1?c.default.createElement("picture",null,r(a),s):s},N=c.default.forwardRef((function(e,t){var a=e.sizes,r=e.srcSet,n=e.src,s=e.style,i=e.onLoad,u=e.onError,d=e.loading,f=e.draggable,m=(0,o.default)(e,["sizes","srcSet","src","style","onLoad","onError","loading","draggable"]);return c.default.createElement("img",(0,l.default)({sizes:a,srcSet:r,src:n},m,{onLoad:i,onError:u,ref:t,loading:d,draggable:f,style:(0,l.default)({position:"absolute",top:0,left:0,width:"100%",height:"100%",objectFit:"cover",objectPosition:"center"},s)}))}));N.propTypes={style:u.default.object,onError:u.default.func,onLoad:u.default.func};var x=function(e){function t(t){var a;(a=e.call(this,t)||this).seenBefore=h&&p(t),a.isCritical="eager"===t.loading||t.critical,a.addNoScript=!(a.isCritical&&!t.fadeIn),a.useIOSupport=!g&&b&&!a.isCritical&&!a.seenBefore;var r=a.isCritical||h&&(g||!a.useIOSupport);return a.state={isVisible:r,imgLoaded:!1,imgCached:!1,fadeIn:!a.seenBefore&&t.fadeIn},a.imageRef=c.default.createRef(),a.handleImageLoaded=a.handleImageLoaded.bind((0,s.default)(a)),a.handleRef=a.handleRef.bind((0,s.default)(a)),a}(0,i.default)(t,e);var a=t.prototype;return a.componentDidMount=function(){if(this.state.isVisible&&"function"==typeof this.props.onStartLoad&&this.props.onStartLoad({wasCached:p(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=S(e,(function(){var e=p(t.props);t.state.isVisible||"function"!=typeof t.props.onStartLoad||t.props.onStartLoad({wasCached:e}),t.setState({isVisible:!0},(function(){return t.setState({imgLoaded:e,imgCached:!!t.imageRef.current.currentSrc})}))})))},a.handleImageLoaded=function(){var e,t,a;e=this.props,t=d(e),a=f(t),m[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,r=e.className,n=e.style,s=void 0===n?{}:n,i=e.imgStyle,o=void 0===i?{}:i,u=e.placeholderStyle,f=void 0===u?{}:u,m=e.placeholderClassName,p=e.fluid,g=e.fixed,h=e.backgroundColor,b=e.durationFadeIn,v=e.Tag,A=e.itemProp,O=e.loading,S=e.draggable,x=!1===this.state.fadeIn||this.state.imgLoaded,C=!0===this.state.fadeIn&&!this.state.imgCached,P=(0,l.default)({opacity:x?1:0,transition:C?"opacity "+b+"ms":"none"},o),L="boolean"==typeof h?"lightgray":h,k={transitionDelay:b+"ms"},R=(0,l.default)({opacity:this.state.imgLoaded?0:1},C&&k,{},o,{},f),T={title:t,alt:this.state.isVisible?"":a,style:R,className:m};if(p){var z=p,V=z[0];return c.default.createElement(v,{className:(r||"")+" gatsby-image-wrapper",style:(0,l.default)({position:"relative",overflow:"hidden"},s),ref:this.handleRef,key:"fluid-"+JSON.stringify(V.srcSet)},c.default.createElement(v,{style:{width:"100%",paddingBottom:100/V.aspectRatio+"%"}}),L&&c.default.createElement(v,{title:t,style:(0,l.default)({backgroundColor:L,position:"absolute",top:0,bottom:0,opacity:this.state.imgLoaded?0:1,right:0,left:0},C&&k)}),V.base64&&c.default.createElement(I,{src:V.base64,spreadProps:T,imageVariants:z,generateSources:E}),V.tracedSVG&&c.default.createElement(I,{src:V.tracedSVG,spreadProps:T,imageVariants:z,generateSources:w}),this.state.isVisible&&c.default.createElement("picture",null,y(z),c.default.createElement(N,{alt:a,title:t,sizes:V.sizes,src:V.src,crossOrigin:this.props.crossOrigin,srcSet:V.srcSet,style:P,ref:this.imageRef,onLoad:this.handleImageLoaded,onError:this.props.onError,itemProp:A,loading:O,draggable:S})),this.addNoScript&&c.default.createElement("noscript",{dangerouslySetInnerHTML:{__html:j((0,l.default)({alt:a,title:t,loading:O},V,{imageVariants:z}))}}))}if(g){var U=g,M=U[0],F=(0,l.default)({position:"relative",overflow:"hidden",display:"inline-block",width:M.width,height:M.height},s);return"inherit"===s.display&&delete F.display,c.default.createElement(v,{className:(r||"")+" gatsby-image-wrapper",style:F,ref:this.handleRef,key:"fixed-"+JSON.stringify(M.srcSet)},L&&c.default.createElement(v,{title:t,style:(0,l.default)({backgroundColor:L,width:M.width,opacity:this.state.imgLoaded?0:1,height:M.height},C&&k)}),M.base64&&c.default.createElement(I,{src:M.base64,spreadProps:T,imageVariants:U,generateSources:E}),M.tracedSVG&&c.default.createElement(I,{src:M.tracedSVG,spreadProps:T,imageVariants:U,generateSources:w}),this.state.isVisible&&c.default.createElement("picture",null,y(U),c.default.createElement(N,{alt:a,title:t,width:M.width,height:M.height,sizes:M.sizes,src:M.src,crossOrigin:this.props.crossOrigin,srcSet:M.srcSet,style:P,ref:this.imageRef,onLoad:this.handleImageLoaded,onError:this.props.onError,itemProp:A,loading:O,draggable:S})),this.addNoScript&&c.default.createElement("noscript",{dangerouslySetInnerHTML:{__html:j((0,l.default)({alt:a,title:t,loading:O},M,{imageVariants:U}))}}))}return null},t}(c.default.Component);x.defaultProps={fadeIn:!0,durationFadeIn:500,alt:"",Tag:"div",loading:"lazy"};var C=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}),P=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});x.propTypes={resolutions:C,sizes:P,fixed:u.default.oneOfType([C,u.default.arrayOf(C)]),fluid:u.default.oneOfType([P,u.default.arrayOf(P)]),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 L=x;t.default=L}}]);
  //# sourceMappingURL=component---src-pages-index-js-ab56ebcd07ddb331b34f.js.map