1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[748],{8420:function(e,t,r){r.d(t,{Z:function(){return i}});Math.pow(10,8);var n=36e5,a=r(3882),l=r(3946);function i(e,t){var r;(0,a.Z)(1,arguments);var n=(0,l.Z)(null!==(r=null===t||void 0===t?void 0:t.additionalDigits)&&void 0!==r?r:2);if(2!==n&&1!==n&&0!==n)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!==typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var i,c=d(e);if(c.date){var s=f(c.date,n);i=h(s.restDateString,s.year)}if(!i||isNaN(i.getTime()))return new Date(NaN);var o,u=i.getTime(),m=0;if(c.time&&(m=g(c.time),isNaN(m)))return new Date(NaN);if(!c.timezone){var x=new Date(u+m),v=new Date(0);return v.setFullYear(x.getUTCFullYear(),x.getUTCMonth(),x.getUTCDate()),v.setHours(x.getUTCHours(),x.getUTCMinutes(),x.getUTCSeconds(),x.getUTCMilliseconds()),v}return o=p(c.timezone),isNaN(o)?new Date(NaN):new Date(u+m+o)}var c={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},s=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,o=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,u=/^([+-])(\d{2})(?::?(\d{2}))?$/;function d(e){var t,r={},n=e.split(c.dateTimeDelimiter);if(n.length>2)return r;if(/:/.test(n[0])?t=n[0]:(r.date=n[0],t=n[1],c.timeZoneDelimiter.test(r.date)&&(r.date=e.split(c.timeZoneDelimiter)[0],t=e.substr(r.date.length,e.length))),t){var a=c.timezone.exec(t);a?(r.time=t.replace(a[1],""),r.timezone=a[1]):r.time=t}return r}function f(e,t){var r=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),n=e.match(r);if(!n)return{year:NaN,restDateString:""};var a=n[1]?parseInt(n[1]):null,l=n[2]?parseInt(n[2]):null;return{year:null===l?a:100*l,restDateString:e.slice((n[1]||n[2]).length)}}function h(e,t){if(null===t)return new Date(NaN);var r=e.match(s);if(!r)return new Date(NaN);var n=!!r[4],a=m(r[1]),l=m(r[2])-1,i=m(r[3]),c=m(r[4]),o=m(r[5])-1;if(n)return function(e,t,r){return t>=1&&t<=53&&r>=0&&r<=6}(0,c,o)?function(e,t,r){var n=new Date(0);n.setUTCFullYear(e,0,4);var a=n.getUTCDay()||7,l=7*(t-1)+r+1-a;return n.setUTCDate(n.getUTCDate()+l),n}(t,c,o):new Date(NaN);var u=new Date(0);return function(e,t,r){return t>=0&&t<=11&&r>=1&&r<=(v[t]||(w(e)?29:28))}(t,l,i)&&function(e,t){return t>=1&&t<=(w(e)?366:365)}(t,a)?(u.setUTCFullYear(t,l,Math.max(a,i)),u):new Date(NaN)}function m(e){return e?parseInt(e):1}function g(e){var t=e.match(o);if(!t)return NaN;var r=x(t[1]),a=x(t[2]),l=x(t[3]);return function(e,t,r){if(24===e)return 0===t&&0===r;return r>=0&&r<60&&t>=0&&t<60&&e>=0&&e<25}(r,a,l)?r*n+6e4*a+1e3*l:NaN}function x(e){return e&&parseFloat(e.replace(",","."))||0}function p(e){if("Z"===e)return 0;var t=e.match(u);if(!t)return 0;var r="+"===t[1]?-1:1,a=parseInt(t[2]),l=t[3]&&parseInt(t[3])||0;return function(e,t){return t>=0&&t<=59}(0,l)?r*(a*n+6e4*l):NaN}var v=[31,null,31,30,31,30,31,31,30,31,30,31];function w(e){return e%400===0||e%4===0&&e%100!==0}},7090:function(e,t,r){r.d(t,{LB:function(){return c},Js:function(){return h},DR:function(){return m},ZP:function(){return x}});var n=r(5893),a=r(7294),l=r(5675),i=r.n(l),c=function(e){var t=e.src,r=e.className,l=e.overlay,c=e.onClick,s=e.children,o=(0,a.useState)(!1),u=o[0],d=o[1],f=function(e){return function(){d(e)}},h=(0,n.jsxs)("div",{className:"relative h-full w-full overflow-hidden ".concat(r||""),onMouseEnter:f(!0),onMouseLeave:f(!1),children:[(0,n.jsx)(i(),{priority:!0,src:t||"/svg/logo-full-white.svg",layout:"fill",className:"".concat(t?"object-cover":"object-fit"," h-full w-full transition-all transform ").concat(u?"scale-110":"scale-100")}),(0,n.jsx)("div",{className:"absolute bottom-0 left-1/2 transform -translate-x-1/2 z-20 w-full",children:s}),l&&(0,n.jsx)("div",{className:"center-absolute h-full w-full bg-black transition-all ".concat(u?"bg-opacity-50":"bg-opacity-75")})]});return c?(0,n.jsx)("button",{onClick:c,children:h}):h},s=r(1664),o=r.n(s),u=r(4900),d=r(2320),f=r(6005),h=function(e){var t=e.news;return(0,n.jsx)("div",{className:"flex flex-wrap justify-center box-border",children:t.map((function(e){var t=e.slug,r=e.date,a=e.title,l=e.preview;o(),"/news/".concat(t),d.Z;return(0,n.jsx)("div",{className:"flex flex-col w-96 p-4",children:(0,n.jsxs)("div",{className:"bg-gray-one flex-grow p-8",children:[(0,n.jsx)(d.Z,{component:"h6",className:"text-gray-400",children:(0,u.Z)(new Date(r),"MMM yyyy")}),(0,n.jsx)(d.Z,{component:"h4",className:"text-white news-title",gutterBottom:!0,children:a}),(0,n.jsx)(d.Z,{component:"p",className:"text-white news-body",gutterBottom:!0,children:l}),(0,n.jsx)(o(),{href:"/news/".concat(t),children:(0,n.jsx)("a",{children:(0,n.jsx)(f.Z,{color:"yellow",children:"Continue Reading"})})})]})},t)}))})},m=function(e){var t=e.color,r=void 0===t?"gray":t,a=e.children,l="whitespace-nowrap font-bold mr-4 px-4 py-2 rounded-full ".concat(g[r]);return(0,n.jsx)("span",{className:l,children:a})},g={gray:"bg-gray-five text-white",yellow:"text-gray-two bg-yellow-main"},x=function(e){var t=e.children,r=e.color,a=e.dense,l=e.onClick,i=e.className,c="".concat(a?"p-2":"p-4"," rounded shadow-lg inline-block");switch(r){case"lightest":c+=" bg-gray-four";break;case"light":c+=" bg-gray-three";break;case"yellow":c+=" bg-yellow-main";break;case"white":c+=" bg-white";break;case"dark":c+=" bg-gray-one";break;case"translucent":c+=" bg-black bg-opacity-70";break;case"blue-dark":c+=" bg-blue-dark";break;case"blue-light":c+=" bg-blue-light";break;default:c+=" bg-gray-two"}var s=(0,n.jsx)("span",{className:"".concat(c," ").concat(i||""),children:t});return l?(0,n.jsx)("button",{onClick:l,className:"focus:outline-none",children:s}):s}},8969:function(e,t,r){r.d(t,{Z:function(){return u}});var n=r(5893),a=r(7294),l=r(6042),i=r(9396),c=r(990),s=r(6546),o={duration:.8,opacity:0}
1;c.p8.registerPlugin(s.ScrollTrigger);var u=function(e){var t=e.direction,r=e.options,s=e.className,u=e.children,d=(0,a.useRef)(null);return(0,a.useEffect)((function(){"top"===t?function(e,t){c.p8.from(e.current,(0,l.Z)((0,i.Z)((0,l.Z)({},o),{y:-50,scrollTrigger:{trigger:e.current,start:"center 75%"}}),t))}(d,r):"bottom"===t?function(e,t){c.p8.from(e.current,(0,l.Z)((0,i.Z)((0,l.Z)({},o),{y:50,scrollTrigger:{trigger:e.current,start:"center 75%"}}),t))}(d,r):"left"===t?function(e,t){c.p8.from(e.current,(0,l.Z)((0,i.Z)((0,l.Z)({},o),{x:-80,scrollTrigger:{trigger:e.current,start:"center 75%"}}),t))}(d,r):"right"===t?function(e,t){c.p8.from(e.current,(0,l.Z)((0,i.Z)((0,l.Z)({},o),{x:80,scrollTrigger:{trigger:e.current,start:"center 75%"}}),t))}(d,r):function(e,t){c.p8.from(e.current,(0,l.Z)((0,i.Z)((0,l.Z)({},o),{scrollTrigger:{trigger:e.current,start:"center 75%"}}),t))}(d,r)}),[]),(0,n.jsx)("div",{ref:d,className:s,children:u})}},7748:function(e,t,r){r.d(t,{H:function(){return b},Z:function(){return Z}});var n=r(6042),a=r(9396),l=r(5893),i=r(6486),c=r(1664),s=r.n(c),o=r(5675),u=r.n(o),d=r(4900),f=r(8420),h=r(6066),m=r(2320),g=r(3760),x=r(6005),p=(r(8969),r(8301)),v=r(7294),w=r(7090),N=function(e){var t=e.slug,r=e.title,n=e.img,a=(0,v.useState)(!1),i=a[0],c=a[1],o=function(e){return function(){c(e)}};return(0,l.jsx)(s(),{href:"/projects/".concat(t),children:(0,l.jsx)("a",{className:"h-96 w-96 m-2",onMouseEnter:o(!0),onMouseLeave:o(!1),children:(0,l.jsx)(w.LB,{src:n,children:(0,l.jsx)("div",{className:"py-6 px-2 bg-white border-b-4 border-blue-dark absolute w-full transition-transform bottom-0 transform ".concat(i?"translate-y-0":"translate-y-full"),children:(0,l.jsx)(m.Z,{component:"h4",className:"text-center text-black",children:r})})},r)})},t)},b=function(e){var t=e.projects;return(0,l.jsx)("div",{className:"flex flex-wrap justify-center",children:(0,i.isEmpty)(t)?(0,l.jsx)(m.Z,{component:"h4",className:"text-white",children:"No projects found"}):t.map((function(e){var t=e.slug,r=e.title,n=e.img;return(0,l.jsx)(N,{slug:t,title:r,img:n})}))})},j=function(e){var t=e.orientation,r=e.className,a=e.style,i=e.onClick;return(0,l.jsx)("div",{className:"hidden sm:block",children:(0,l.jsx)("div",{className:r,style:(0,n.Z)({background:"#FEBC18",height:100,width:50,zIndex:20},a),onClick:i,children:(0,l.jsxs)("div",{className:"grid place-items-center h-full",children:["right"===t&&(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 213.3 362.6",className:"h-10",fill:"#000",children:(0,l.jsx)("path",{d:"M0,181.3a20.27,20.27,0,0,1,3.6-11.7L110.3,9.6A21,21,0,0,1,128,0h64a21.38,21.38,0,0,1,21.3,21.3A20.27,20.27,0,0,1,209.7,33L111,181.3l98.7,148.3a20.5,20.5,0,0,1,3.6,11.7A21.38,21.38,0,0,1,192,362.6H128a21,21,0,0,1-17.7-9.6L3.7,193A19.64,19.64,0,0,1,0,181.3Z"})}),"left"===t&&(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 213.3 362.6",className:"h-10",fill:"#000",children:(0,l.jsx)("path",{d:"M213.3,181.3a20.27,20.27,0,0,1-3.6,11.7L103,353a21,21,0,0,1-17.7,9.6h-64A21.38,21.38,0,0,1,0,341.3a20.27,20.27,0,0,1,3.6-11.7l98.7-148.3L3.6,33A20.5,20.5,0,0,1,0,21.3,21.38,21.38,0,0,1,21.3,0h64A21,21,0,0,1,103,9.6l106.6,160a19.64,19.64,0,0,1,3.7,11.7Z"})})]})})})},Z=function(e){var t=e.title,r=void 0===t?"projects":t,c=e.href,o=void 0===c?"/projects":c,v=e.projects,w=e.noTop,N=e.noBot,b={dots:!1,infinite:!0,speed:500,slidesToShow:1,slidesToScroll:1,prevArrow:(0,l.jsx)(j,{orientation:"right"}),nextArrow:(0,l.jsx)(j,{orientation:"left"})};return(0,l.jsxs)(g.Z,{noTop:w,noBot:N,children:[(0,l.jsx)(m.h,{sub:"Prep. Build. Maintain.",children:r}),(0,l.jsx)(h.Z,(0,a.Z)((0,n.Z)({},b),{children:v&&v.map((function(e){var t=e.slug,r=e.title,n=e.img,a=e.location,c=e.dateCompleted,o=e.specs;return(0,l.jsxs)("div",{className:"w-full h-100 relative",children:[(0,l.jsx)(u(),{objectFit:"cover",layout:"fill",src:(0,p.wD)(n)}),(0,l.jsxs)("div",{className:"bg-white absolute left-0 sm:left-10 bottom-0 max-w-md w-full rounded-t h-auto sm:h-3/4 flex flex-col",children:[(0,l.jsxs)("div",{className:"p-4",children:[(0,l.jsx)(m.Z,{component:"h4",className:"text-black mt-4",gutterBottom:!0,children:r}),(0,l.jsxs)(m.Z,{component:"h6",className:"text-black",children:["Location: ",(0,l.jsx)("span",{className:"italic font-normal",children:a})]}),c&&(0,l.jsxs)(m.Z,{component:"h6",className:"text-black",children:["Year Completed: ",(0,l.jsx)("span",{className:"italic font-normal",children:(0,d.Z)((0,f.Z)(c),"yyyy")})]}),(0,l.jsxs)(m.Z,{component:"h6",className:"text-black",children:["Client: ",(0,l.jsx)("span",{className:"italic font-normal",children:o.client})]}),(0,i.has)(o,"contract")&&(0,l.jsxs)(m.Z,{component:"h6",className:"text-black ",children:["Contract Value: ",(0,l.jsx)("span",{className:"italic font-normal",children:o.contract.toLocaleStr
1ing()})]})]}),(0,l.jsx)("div",{className:"mt-auto bg-blue-light p-4 px-8 inline-block rounded-tr w-max",children:(0,l.jsx)(s(),{href:"/projects/".concat(t),children:(0,l.jsx)(x.Z,{color:"white",children:"More Info"})})})]})]},t)}))})),(0,l.jsx)("div",{className:"text-center mt-6",children:(0,l.jsx)(s(),{href:o,children:(0,l.jsx)(x.Z,{contained:!0,color:"yellow",children:"View All Projects"})})})]})}}}]);
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.