1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="dfef387f-9dcf-4533-9f77-077e0a7be402",e._sentryDebugIdIdentifier="sentry-dbid-dfef387f-9dcf-4533-9f77-077e0a7be402")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6689],{57440:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/locations",function(){return n(50820)}])},68101:function(e,t,n){"use strict";var o=n(85893);n(67294);var s=n(9008),r=n.n(s),i=n(11163),a=n(11439);n(38546),t.Z=e=>{var t,n;let{canonical:s,path:l,overrideText:c,metaTitle:d,metaDescription:p,metaKeywords:u,openGraphTitle:x="Openwork",openGraphDescription:m,openGraphImage:h,twitterUser:g="@openwork",twitterTitle:j="Openwork",twitterDescription:f,twitterImage:w,siteName:v="Openwork",siteUrl:b="https://www.openwork.com",disallowRobots:k,name:N,address:L,telephone:y,openingHours:C,url:_,logo:Z,image:I,priceRange:M,geo:E,serviceArea:T}=e,{asPath:O}=(0,i.useRouter)(),H=(0,a.Z)(d,c),S=(0,a.Z)(p,c),P=null!=l?l:O;return L&&(L.streetAddress,L.addressLocality,L.addressRegion,L.postalCode,L.addressCountry),_||"".concat(b).concat(P),E&&(E.latitude,E.longitude),T&&(null===(t=T.geo.geoMidpoint)||void 0===t||t.latitude,null===(n=T.geo.geoMidpoint)||void 0===n||n.longitude,T.geo.geoRadius),(0,o.jsxs)(r(),{children:[d&&(0,o.jsx)("title",{children:H}),p&&(0,o.jsx)("meta",{name:"description",content:S}),(0,o.jsx)("meta",{name:"keywords",content:u}),(0,o.jsx)("link",{rel:"canonical",href:"".concat(b).concat(null!=s?s:P)}),(0,o.jsx)("meta",{property:"og:url",content:"".concat(b).concat(P)}),(0,o.jsx)("meta",{property:"og:title",content:x}),(0,o.jsx)("meta",{property:"og:site_name",content:v}),(0,o.jsx)("meta",{property:"og:description",content:m}),h&&(0,o.jsx)("meta",{property:"og:image",content:h.url}),(0,o.jsx)("meta",{name:"twitter:site",content:g}),(0,o.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,o.jsx)("meta",{name:"twitter:title",content:j}),(0,o.jsx)("meta",{name:"twitter:description",content:f}),(0,o.jsx)("meta",{name:"twitter:url",content:"".concat(b).concat(P)}),w&&(0,o.jsx)("meta",{name:"twitter:image:src",content:w.url}),k&&(0,o.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]})}},50820:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return L},default:function(){return locations}});var o=n(85893),s=n(67294),r=n(68101),i=n(94184),a=n.n(i),l=n(21190),c=n(43860),d=n(7739),p=n.n(d),u=n(89734),x=n.n(u),m=n(35161),h=n.n(m),g=n(63218),j=n(30228),f=n(68208);let LocationTile=e=>{let{title:t,slug:n,address:s,phone:r,nearestTransit:i,suboffices:a,hours:l,...c}=e;return console.log("location",c),(0,o.jsx)("div",{className:"w-full relative",children:(0,o.jsxs)("div",{className:"shadow-card bg-white p-40 h-full relative transition-transform hover:-translate-y-2 ease-in",children:[(0,o.jsx)(f.Z,{className:"link--opacity no-focus link--cover",url:"/locations/".concat(n,"/staffing-agency-in-").concat(n),children:(0,o.jsx)("h5",{className:"font-600 text-20 leading-16 text-purple mb-40",children:t})}),(0,o.jsx)("div",{className:"flex mb-20",children:(0,o.jsxs)("div",{className:" flex items-start",children:[(0,o.jsx)("img",{className:"mr-16 pt-3",src:"/images/map-pin.svg",alt:"Map Pin Icon"}),(0,o.jsxs)("div",{className:"relative z-2",children:[(0,o.jsx)("p",{children:s.address}),(0,o.jsx)("p",{children:s.address2}),(0,o.jsx)("p",{children:"".concat(s.city,", ").concat(s.stateCode," ").concat(s.postCode)}),s.placeId&&(0,o.jsx)("a",{href:"https://www.google.com/maps/place/?q=place_id:".concat(s.placeId),target:"_blank",rel:"noopener noreferrer",className:"font-600 text-light-purple link--opacity no-focus ",children:"Get Directions"})]})]})}),(0,o.jsxs)("div",{className:"flex items-start ",children:[(0,o.jsx)("img",{className:"mr-16 pt-3",src:"/images/icon-phone.svg",alt:"Phone Icon"}),(0,o.jsx)(f.Z,{url:"tel:".concat(r),className:"link--opacity no-focus z-2 relative",children:r})]}),i&&(0,o.jsxs)("div",{className:"mt-20 flex items-start",children:[(0,o.jsx)("img",{className:"mr-16 pt-3",src:"/images/icon-bus.svg",alt:"Bus Icon"}),(0,o.jsx)("p",{children:i})]}),l&&(0,o.jsxs)("div",{className:"mt-20 flex items-start",children:[(0,o.jsx)("img",{className:"mr-16 pt-3",src:"/images/icon-clock.svg",alt:"Clock Icon"}),(0,o.jsx)("p",{children:l})]})]})})},LocationRow=e=>{let{title:t,locations:n}=e;return console.log("locations",n),(0,o.jsx)("div",{className:"border-b border-solid border-gray-e3",children:(0,o.jsx)(j.Z,{openByDefault:!0,renderTrigger:e=>{let{onClick:n,isOpen:s}=e;return(0,o.jsxs)("button",{className:"flex items-center justify-between w-full py-24",onClick:n,children:[(0,o.jsx)("h4",{className:"text-purple text-28 leading-28 800:text-36 800:leading-36 font-headline",children:t}),(0,o.jsx)(g.Z,{className:a()("transform transform-center transition-transform duration-200 h-20 text-purple",{"-rotate-90":s,"rotate-90":!s})})]})},children:(0,o.jsx)("div",{className:"pb-40 pt-16 grid 800:grid-cols-2 1200:grid-cols-4 gap-x-16 gap-y-16 flex-wrap",children:n.map((e,t)=>(0,o.jsx)(o.Fragment,{children:e.address&&(0,s.createElement)(LocationTile,{...e,key:"location-".concat(t)})}))})})})};var components_LocationsList=e=>
1{let{offices:t=[],listTitle:n}=e,s=p()(x()(x()(t,"title"),"address.state"),"address.state");return console.log("officesByState",s),(0,o.jsx)("div",{className:"",children:h()(s,(e,t)=>(0,o.jsx)(o.Fragment,{children:"undefined"!==t&&(0,o.jsx)(LocationRow,{title:t,locations:e},"location-row-".concat(t))}))})},w=n(33458);let v=(0,w.WS)((0,w.OI)(e=>{let{defaultZoom:t,defaultCenter:n,children:s}=e;return(0,o.jsx)(w.b6,{defaultZoom:t,defaultCenter:n,children:s},new Date().getTime())}));var b=n(61324),k=n(43456),components_LocationsMap=e=>{let{offices:t}=e,[n,r]=s.useState(null),[i,a]=s.useState(4),[l,c]=s.useState({lat:35,lng:-100});s.useEffect(()=>{(0,b.Z)().then(e=>{c({lat:e.coords.latitude,lng:e.coords.longitude}),a(8)}).catch(e=>console.error(e))},[]);let navigateToLocationPage=()=>window.location.href="/locations//".concat(n.slug,"/staffing-agency-in-").concat(n.slug);return(0,o.jsx)(v,{defaultZoom:i,defaultCenter:l,googleMapURL:"https://maps.googleapis.com/maps/api/js?key=".concat(k.Z,"&v=3.exp&libraries=geometry,drawing,places"),loadingElement:(0,o.jsx)("div",{style:{position:"absolute",left:0,right:0,top:0,bottom:0}}),containerElement:(0,o.jsx)("div",{style:{minHeight:190,paddingTop:"50%",position:"relative"}}),mapElement:(0,o.jsx)("div",{style:{position:"absolute",left:0,right:0,top:0,bottom:0}}),children:t.map(e=>{let{address:t,title:s,slug:i}=e;return(0,o.jsx)(o.Fragment,{children:t.location&&(0,o.jsx)(w.Jx,{position:{lat:t.location.lat,lng:t.location.lng},onClick:()=>{r({...t,title:s,slug:i})},children:n&&n.location&&n.location.lat===t.location.lat&&n.location.lng===t.location.lng&&(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(w.nx,{onCloseClick:()=>{r(null)},position:{lat:n.location.lat,lng:n.location.lng},children:(0,o.jsxs)("div",{className:"800:p-4 800:pt-12",children:[(0,o.jsx)("div",{className:"text-14 800:text-20 leading-14 800:leading-20 font-600 mb-4",children:n.title}),(0,o.jsx)("div",{className:"text-12 800:text-16 leading-12 800:leading-16 text-purple",children:n.address}),(0,o.jsx)("div",{className:"text-12 800:text-16 leading-12 800:leading-16 text-purple",children:n.address2}),(0,o.jsx)("div",{className:"text-12 800:text-16 leading-12 800:leading-16 mb-8 text-purple",children:"".concat(n.city,", ").concat(n.stateCode," ").concat(n.postCode)}),(0,o.jsx)("div",{className:"text-12 800:text-16 leading-12 800:leading-16 font-600 text-light-purple link--underline--hover opacity-80",children:(0,o.jsx)("a",{onClick:navigateToLocationPage,children:"View More"})})]})})})})})})})},components_IconList=e=>(0,o.jsxs)("svg",{...e,width:"16",height:"13",viewBox:"0 0 16 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("path",{d:"M6 2.5H13.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M6 6.5H13.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M6 10.5H13.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M2.5 2.5H3.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M2.5 6.5H3.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M2.5 10.5H3.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),components_IconMap=e=>(0,o.jsxs)("svg",{...e,width:"15",height:"20",viewBox:"0 0 15 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("path",{d:"M8.12174 18L7.30965 18.6421C7.51072 18.8964 7.8193 19.0419 8.14341 19.0351C8.46752 19.0283 8.76974 18.8701 8.95999 18.6076L8.12174 18ZM12.5465 11.8954L11.7083 11.2879L12.5465 11.8954ZM8.93383 17.3579L4.13326 11.2868L2.50908 12.571L7.30965 18.6421L8.93383 17.3579ZM3.03529 8.12801V7.86667H0.964706V8.12801H3.03529ZM12.698 7.86667V8.2358H14.7686V7.86667H12.698ZM11.7083 11.2879L7.28349 17.3924L8.95999 18.6076L13.3848 12.503L11.7083 11.2879ZM12.698 8.2358C12.698 9.33204 12.3516 10.4003 11.7083 11.2879L13.3848 12.503C14.2843 11.262 14.7686 9.76851 14.7686 8.2358H12.698ZM7.86667 3.03529C10.535 3.03529 12.698 5.19837 12.698 7.86667H14.7686C14.7686 4.05482 11.6785 0.964706 7.86667 0.964706V3.03529ZM3.03529 7.86667C3.03529 5.19837 5.19837 3.03529 7.86667 3.03529V0.964706C4.05482 0.964706 0.964706 4.05482 0.964706 7.86667H3.03529ZM4.13326 11.28
168C3.42215 10.3874 3.03529 9.27449 3.03529 8.12801H0.964706C0.964706 9.74063 1.50885 11.3061 2.50908 12.571L4.13326 11.2868Z",fill:"currentColor"}),(0,o.jsx)("ellipse",{cx:"7.86563",cy:"7.8666",rx:"1.6",ry:"1.6",fill:"currentColor"})]}),components_LocationsOverview=e=>{let{offices:t=[],listTitle:n}=e,[r,i]=(0,s.useState)(!0);return(0,o.jsx)("div",{className:"page-container-lg 800:grid 800:grid-cols-16 gap-x-24 pb-80 800:pb-160 relative z-2 pt-40",children:(0,o.jsxs)("div",{className:"col-start-2 col-span-14",children:[(0,o.jsxs)("div",{className:"flex justify-between items-center flex-col-reverse 800:flex-row mb-40 800:mb-64",children:[(0,o.jsx)("h2",{className:"text-14 leading-14 uppercase text-light-purple font-600",children:n}),(0,o.jsxs)("div",{className:"flex gap-x-16 mb-40 800:mb-0",children:[(0,o.jsxs)("button",{className:a()("px-28 py-12 flex items-center font-600 rounded-2 transition-colors duration-300 border border-solid",{"bg-light-purple text-white border-transparent":r," border-purple text-purple":!r}),onClick:e=>{e.preventDefault(),i(!0)},children:[(0,o.jsx)(components_IconList,{className:a()("mr-8 transition-colors duration-300",{"text-white":r,"text-light-purple":!r})}),(0,o.jsx)("span",{children:"List View"})]}),(0,o.jsxs)("button",{className:a()("px-28 py-12 flex items-center font-600 rounded-2 transition-colors duration-300 border border-solid",{"bg-light-purple text-white border-transparent":!r,"border-purple text-purple":r}),onClick:e=>{e.preventDefault(),i(!1)},children:[(0,o.jsx)(components_IconMap,{className:a()("mr-8 transition-colors duration-300",{"text-white":!r,"text-light-purple":r})}),(0,o.jsx)("span",{children:"Map View"})]})]})]}),(0,o.jsx)("div",{className:"",children:(0,o.jsx)(l.M,{exitBeforeEnter:!0,children:(0,o.jsx)(c.m.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},children:r?(0,o.jsx)(components_LocationsList,{offices:t}):(0,o.jsx)(components_LocationsMap,{offices:t})},r)})})]})})},N=n(30126),components_LocationsHero=e=>{let{title:t,subtitle:n,heroImage:s={}}=e;return(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"absolute inset-0 background-lavender-gradient-down z-1"}),(0,o.jsxs)("div",{className:"pt-72 relative z-2",children:[(0,o.jsxs)("div",{className:"page-container-lg",children:[(0,o.jsx)("h1",{className:"text-center text-40 leading-40 800:text-64 800:leading-64 font-headline font-500 mb-24 text-purple",children:t}),(0,o.jsx)("p",{className:"mx-auto max-w-[75rem] text-center mb-48 text-purple",children:n})]}),(0,o.jsx)("div",{className:"image aspect-w-10 aspect-h-3",children:(0,o.jsxs)("picture",{children:[(0,o.jsx)("source",{srcSet:(0,N.Z)(s.url,{w:2e3}),media:"(min-width: 1600px)"}),(0,o.jsx)("source",{srcSet:(0,N.Z)(s.url,{w:1600}),media:"(min-width: 1200px)"}),(0,o.jsx)("source",{srcSet:(0,N.Z)(s.url,{w:1200}),media:"(min-width: 800px)"}),(0,o.jsx)("img",{className:"h-full w-full object-cover",alt:s.alt,src:(0,N.Z)(s.url,{w:800})})]})})]})]})},L=!0,locations=e=>{let{config:t={},seo:n={},offices:s=[],title:i,subtitle:a,listTitle:l,heroImage:c}=e,d=t.seo||{},p={...d,metaTitle:"Locations | Openwork Jobs",openGraphTitle:"Locations | Openwork Jobs",twitterTitle:"Locations | Openwork Jobs",...n,path:"/locations"};return(0,o.jsxs)("div",{children:[(0,o.jsx)(r.Z,{...p}),(0,o.jsx)(components_LocationsHero,{title:i,subtitle:a,heroImage:c}),(0,o.jsx)(components_LocationsOverview,{listTitle:l,offices:s})]})}},43456:function(e,t){"use strict";t.Z="AIzaSyCB44fnX7LKrSpCgt_-mr9IU78EoOGS3OY"},11439:function(e,t,n){"use strict";n.d(t,{K:function(){return interpolateRichText}}),n(94103);let interpolateRichText=(e,t)=>t?e.map(e=>({...e,children:e.children.map(e=>({...e,text:e.text.replaceAll("{overrideText}",t)}))})):e;t.Z=(e,t)=>t?e.replaceAll("{overrideText}",t):e},61324:function(e,t){"use strict";let n={enableHighAccuracy:!1,timeout:1e4,maximumAge:6e4},tryGetPosition=()=>new Promise((e,t)=>{navigator.geolocation.getCurrentPosition(e,t,n)}),requestCurrentPosition=async()=>{if(!navigator.geolocation)throw"Geolocation is not supported by this browser.";try{return await tryGetPosition()}catch(e){if(e.code===e.POSITION_UNAVAILABLE)return tryGetPosition().catch(e=>{throw mapError(e)});throw mapError(e)}},mapError=e=>{switch(e.code){case e.PERMISSION_DENIED:return"User denied the request for Geolocation.";case e.POSITION_UNAVAILABLE:return"Location information is unavailable.";case e.TIMEOUT:return"The request to get user location timed out.";default:return"An unknown error occurred."}};t.Z=requestCurrentPosition},30126:function(e,t,n){"use strict";var o=n(35161),s=n.n(o);let r={auto:"format",q:"85"};t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={...r,...t},o=s()(n,(e,t)=>"".concat(t,"=").concat(e));return"".concat(e,"?").concat(o.join("&"))}},24654:function(){}},function(e){e.O(0,[2060,535,9774,2888,179],function(){return e(e.s=57440)}),_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.