1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[521],{512:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/about",function(){return i(6862)}])},2049:function(e,t,i){"use strict";var r=i(5893);i(7294);var n=i(4789),s=i.n(n);t.Z=e=>{let{children:t}=e;return(0,r.jsx)("button",{className:s().button,children:(0,r.jsx)("span",{children:t})})}},6438:function(e,t,i){"use strict";i.d(t,{Z:function(){return u}});var r=i(5893);function n(e,t){let i;return e.attributes.mime.includes("image")?i=e.attributes.url:e.attributes.mime.includes("video")&&(i=e.attributes.url),i}var s=i(5675),a=i.n(s),o=i(7294);let c=()=>{let e=navigator.userAgent.toLowerCase();return e.indexOf("safari")>-1&&0>e.indexOf("chrome")};var l=e=>{let{video:t}=e,i=(0,o.useRef)(),[s,a]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{if(c()&&i.current){let e=i.current.children[0];e&&(e.controls=!1,e.playsinline=!0,e.muted=!0,e.setAttribute("muted",""),e.autoplay=!0,setTimeout(()=>{let t=e.play();t.then&&t.then(()=>{}).catch(()=>{i.current.style.display="none",a(!0)})},0))}},[]),s?(0,r.jsx)("img",{src:n(t),alt:"Muted Video"}):(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:'\n <video\n loop\n muted\n autoplay\n playsinline\n preload="metadata"\n style={{\n position:"relative",\n width: "100%",\n height: "100%",\n objectFit: "cover"\n }}\n >\n <source src="'.concat(n(t),'" type="video/mp4" />\n </video>')}})},u=e=>{let{media:t,size:i="original"}=e,{width:s,height:o}=t.attributes;return t.attributes.mime.includes("image")?(0,r.jsx)(a(),{src:n(t,i),alt:"",width:s,height:o,style:{position:"relative",width:"100%",height:"100%",objectFit:"cover"}}):t.attributes.mime.includes("video")?(0,r.jsx)(l,{video:t}):void 0}},6866:function(e,t,i){"use strict";var r=i(5893),n=i(9008),s=i.n(n),a=i(1163),o=i(7294),c=i(3454);t.Z=e=>{let{data:t}=e,i=(0,a.useRouter)(),{metaTitle:n,metaDescription:l,metaImage:u,metaSocial:d,keywords:h,metaRobots:p,structuredData:_,metaViewport:m,canonicalURL:f}=t,v=f||"".concat(c.env.NEXT_PUBLIC_CANONICAL).concat(i.pathname);return(0,r.jsxs)(s(),{children:[n&&(0,r.jsx)("title",{children:n}),l&&(0,r.jsx)("meta",{name:"description",content:l}),u&&u.url&&(0,r.jsx)("meta",{property:"og:image",content:u.url}),d&&d.map((e,t)=>(0,r.jsxs)(o.Fragment,{children:[e.socialNetwork&&(0,r.jsx)("meta",{property:"og:site_name",content:e.socialNetwork}),e.title&&(0,r.jsx)("meta",{property:"og:title",content:e.title}),e.description&&(0,r.jsx)("meta",{property:"og:description",content:e.description}),e.image&&e.image.url&&(0,r.jsx)("meta",{property:"og:image",content:e.image.url})]},t)),h&&(0,r.jsx)("meta",{name:"keywords",content:h}),p&&(0,r.jsx)("meta",{name:"robots",content:p}),_&&(0,r.jsx)("script",{type:"application/ld+json",children:JSON.stringify(_)}),(0,r.jsx)("meta",{name:"viewport",content:m||"width=device-width, initial-scale=1"}),(0,r.jsx)("link",{rel:"canonical",href:v})]})}},6862:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSG:function(){return _},default:function(){return m}});var r=i(5893),n=i(7294);i(9008);var s=i(1010),a=i.n(s),o=i(4526),c=i(6438),l=i(2471),u=i(2049),d=i(1664),h=i.n(d),p=i(6866),_=!0;function m(e){let{data:t,exEdData:i,projectsData:s}=e,d=t.data.attributes,_=i.data,m=s.data,[f,v]=(0,n.useState)(200);(0,n.useEffect)(()=>{let e=setTimeout(()=>{let e=setInterval(()=>{v(e=>Math.max(0,e-25))},250);return()=>clearInterval(e)},1500);return()=>clearTimeout(e)},[]);let[j,b]=(0,n.useState)(!1),[x,y]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=()=>{b(window.innerWidth<767),y(window.innerWidth>=767&&window.innerWidth<1023)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p.Z,{data:d.SEO}),(0,r.jsxs)("div",{className:a().main,children:[(0,r.jsxs)("div",{className:a().bio,children:[(0,r.jsx)("div",{className:a().sectionTitle,children:"About me"}),(0,r.jsx)("div",{className:a().biography,children:(0,r.jsx)(o.U,{children:d.Bio})}),(0,r.jsx)("div",{className:a().smallBio,children:(0,r.jsx)(o.U,{children:d.SmallBio})}),(0,r.jsx)("div",{className:a().portrait,children:j||x?(0,r.jsx)(c.Z,{media:d.Portrait.data}):(0,r.jsx)(l.Pixelify,{src:d.Portrait.data.attributes.url,pixelSize:f})})]}),(0,r.jsxs)("div",{className:a().edEx,children:[(0,r.jsx)("div",{className:a().sectionTitle,children:"Education & Experience"}),(0,r.jsx)("div",{className:a().list,children:_.map((e,t)=>(0,r.jsxs)("div",{className:a().item,children:[(0,r.jsx)("div",{className:a().type,children:e.attributes.Type}),(0,r.jsx)("div",{className:a().title,children:e.attributes.Title}),(0,r.jsx)("div",{className:a().place,children:e.attributes.Place}),(0,r.jsx)("div",{className:a().date,children:e.attributes.Date})]},"item"+t))})]}),(0,r.jsxs)("div",{className:a().services,children:[(0,r.jsx)("div",{className:a().sectionTitle,children:"Services"}),(0,r.jsx)("div",{className:a().servicesList,children:d.Services.map((e,t)=>(0,r.jsx)("span",{className:a().serviceItem,children:e},t))})]}),(0,r.jsxs)("div",{className:a().outro,children:[(0,r.jsx)("div",{className:a().sectionTitle,children:"Latest Project"}),(0,r.jsxs)("div",{className:a().latestProject,children:[(0,r.jsx)("div",{className:a().projectCover,children:(0,r.jsx)(c.Z,{media:m[0].attributes.Cover.data})}),(0,r.jsx)("div",{className:a().projectTitle,children:m[0].attributes.Title}),(0,r.jsxs)("div",{className:a().projectInfo,children:[(0,r.jsxs)("span",{className:a().projectServices,children:[m[0].attributes.Services[0],", ",m[0].attributes.Services[1]]}),(0,r.jsx)("span",{className:a().projectDate,children:m[0].attributes.Year})]}),(0,r.jsx)("div",{className:a().button,children:(0,r.jsx)(h(),{scroll:!1,href:"/work
1/"+m[0].attributes.slug,children:(0,r.jsx)(u.Z,{children:"View "})})})]}),(0,r.jsx)("div",{className:a().contactTitle,children:"Contact me!"}),(0,r.jsx)("div",{className:a().contactButton,children:(0,r.jsx)(h(),{scroll:!1,href:"/contact/",children:(0,r.jsx)(u.Z,{href:"/contact",children:"Contact"})})})]})]})]})}},1010:function(e){e.exports={main:"About_main___Xxip",bio:"About_bio__36Juq",sectionTitle:"About_sectionTitle___6frd",biography:"About_biography__8E14a",smallBio:"About_smallBio__C1T6T",portrait:"About_portrait__r83Ai",edEx:"About_edEx__5GDGc",list:"About_list__j2KSk",item:"About_item__P_A1Y",type:"About_type__qu72T",title:"About_title__UwDJe",place:"About_place__7X_VY",date:"About_date__4GOZ4",services:"About_services__thiBJ",servicesList:"About_servicesList__qa6Fe",serviceItem:"About_serviceItem__YWAP0",outro:"About_outro__TuSBD",latestProject:"About_latestProject__NOD7Y",projectCover:"About_projectCover__vBx_5",projectTitle:"About_projectTitle__rw_GU",projectInfo:"About_projectInfo__Qmpu0",projectServices:"About_projectServices__GlnRq",contactTitle:"About_contactTitle__6qJp3",button:"About_button__WPG8m",contactButton:"About_contactButton__N5iUF"}},4789:function(e){e.exports={button:"Button_button__DgYPU"}},5395:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,i,r){return i&&e(t.prototype,i),r&&e(t,r),t}}(),n=i(7294),s=o(n),a=o(i(5697));function o(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}var l=function(e){function t(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t);for(var e,i,r,n=arguments.length,s=Array(n),a=0;a<n;a++)s[a]=arguments[a];return i=r=c(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),r.canvas=null,c(r,i)}return!function(e,t){if("function"!=typeof t&&null!==t)throw 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),r(t,[{key:"componentDidMount",value:function(){this.pixelify(this.props)}},{key:"componentDidUpdate",value:function(){this.pixelify(this.props)}},{key:"pixelify",value:function(e){var t=this,i=e.src,r=e.width,n=e.height,s=e.pixelSize,a=e.centered,o=e.fillTransparencyColor;s=parseInt(s,10);var c=new Image;c.crossOrigin="anonymous",c.src=i,c.onload=function(){var e=t.canvas,i=e.getContext("2d");c.width=r||c.width,c.height=n||c.height,e.width=c.width,e.height=c.height,i.drawImage(c,0,0,c.width,c.height),t.paintPixels(i,c,s,a,o),c=null}}},{key:"paintPixels",value:function(e,t,i,r,n){if(!isNaN(i)&&i>0)for(var s=0;s<t.width+i;s+=i)for(var a=0;a<t.height+i;a+=i){var o=s,c=a;s>=t.width&&(o=s-(i-t.width%i/2)+1),a>=t.height&&(c=a-(i-t.height%i/2)+1);var l=e.getImageData(o,c,1,1).data;e.fillStyle=0===l[3]?n:"rgba("+l[0]+","+l[1]+","+l[2]+","+l[3]+")",r?e.fillRect(parseInt(s-(i-t.width%i/2),10),parseInt(a-(i-t.height%i/2),10),i,i):e.fillRect(s,a,i,i)}}},{key:"render",value:function(){var e=this;return s.default.createElement("canvas",{ref:function(t){e.canvas=t}})}}]),t}(n.Component);l.propTypes={src:a.default.string.isRequired,pixelSize:a.default.number,width:a.default.number,height:a.default.number,centered:a.default.bool,fillTransparencyColor:a.default.string},l.defaultProps={centered:!1,fillTransparencyColor:"white"},t.default=l},2471:function(e,t,i){"use strict";var r,n=(r=i(5395))&&r.__esModule?r:{default:r};e.exports={Pixelify:n.default}}},function(e){e.O(0,[541,526,888,774,179],function(){return e(e.s=512)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.