PageSourceSearch

https://handcar.co/_next/static/chunks/1nog8g2q2ea3g.js

js handcar.co collected 2026-10-09 23:17:18 UTC 61,398 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,14377,(e,t,r)=>{"use strict";var n=e.r(191788),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=n.useState,a=n.useEffect,l=n.useLayoutEffect,o=n.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var u="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=s({inst:{value:r,getSnapshot:t}}),i=n[0].inst,u=n[1];return l(function(){i.value=r,i.getSnapshot=t,c(i)&&u({inst:i})},[e,r,t]),a(function(){return c(i)&&u({inst:i}),e(function(){c(i)&&u({inst:i})})},[e]),o(r),r};r.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:u},531928,(e,t,r)=>{"use strict";e.i(350461),t.exports=e.r(14377)},736206,e=>{"use strict";let t;var r=e.i(391398),n=e.i(191788),i=e.i(262926),s=e.i(979796),a=e.i(932943),l=e.i(301027),o=e.i(533592),c=e.i(391424),u=e.i(83026),d=e.i(388905),f=e.i(344063),m=e.i(262448);function h(e,t){let r,n=()=>{let{currentTime:n}=t,i=(null===n?0:n.value)/100;r!==i&&e(i),r=i};return m.frame.preUpdate(n,!0),()=>(0,m.cancelFrame)(n)}function p(e){return!("u"<typeof window)&&(e?(0,c.supportsViewTimeline)():(0,c.supportsScrollTimeline)())}var g=e.i(922098),x=e.i(661064),v=e.i(350833);let y=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),N={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function w(e,t,r,n){let i=r[t],{length:s,position:a}=N[t],l=i.current,o=r.time;i.current=Math.abs(e[`scroll${a}`]),i.scrollLength=e[`scroll${s}`]-e[`client${s}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=(0,x.progress)(0,i.scrollLength,i.current);let c=n-o;i.velocity=c>50?0:(0,v.velocityPerSecond)(i.current-l,c)}var A=e.i(354833),T=e.i(195129),b=e.i(371955),I=e.i(251723);let j={start:0,center:.5,end:1};function R(e,t,r=0){let n=0;if(e in j&&(e=j[e]),"string"==typeof e){let t=parseFloat(e);e.endsWith("px")?n=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?n=t/100*document.documentElement.clientWidth:e.endsWith("vh")?n=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(n=t*e),r+n}let E=[0,0],V=[[0,0],[1,1]],S={x:0,y:0},_=new WeakMap,O=new WeakMap,k=new WeakMap,L=new WeakMap,M=new WeakMap,C=e=>e===document.scrollingElement?window:e;function z(e,{container:t=document.scrollingElement,trackContentSize:r=!1,...n}={}){if(!t)return f.noop;let i=k.get(t);i||(i=new Set,k.set(t,i));let s=function(e,t,r,n={}){return{measure:t=>{!function(e,t=e,r){if(r.x.targetOffset=0,r.y.targetOffset=0,t!==e){let n=t;for(;n&&n!==e;)r.x.targetOffset+=n.offsetLeft,r.y.targetOffset+=n.offsetTop,n=n.offsetParent}r.x.targetLength=t===e?t.scrollWidth:t.clientWidth,r.y.targetLength=t===e?t.scrollHeight:t.clientHeight,r.x.containerLength=e.clientWidth,r.y.containerLength=e.clientHeight}(e,n.target,r),w(e,"x",r,t),w(e,"y",r,t),r.time=t,(n.offset||n.target)&&function(e,t,r){let{offset:n=V}=r,{target:i=e,axis:s="y"}=r,a="y"===s?"height":"width",l=i!==e?function(e,t){let r={x:0,y:0},n=e;for(;n&&n!==t;)if((0,I.isHTMLElement)(n))r.x+=n.offsetLeft,r.y+=n.offsetTop,n=n.offsetParent;else if("svg"===n.tagName){let e=n.getBoundingClientRect(),t=(n=n.parentElement).getBoundingClientRect();r.x+=e.left-t.left,r.y+=e.top-t.top}else if(n instanceof SVGGraphicsElement){let{x:e,y:t}=n.getBBox();r.x+=e,r.y+=t;let i=null,s=n.parentNode;for(;!i;)"svg"===s.tagName&&(i=s),s=n.parentNode;n=i}else break;return r}(i,e):S,o=i===e?{width:e.scrollWidth,height:e.scrollHeight}:"getBBox"in i&&"svg"!==i.tagName?i.getBBox():{width:i.clientWidth,height:i.clientHeight},c={width:e.clientWidth,height:e.clientHeight};t[s].offset.length=0;let u=!t[s].interpolate,d=n.length;for(let e=0;e<d;e++){let r=function(e,t,r,n){let i=Array.isArray(e)?e:E,s=0;return"number"==typeof e?i=[e,e]:"string"==typeof e&&(i=(e=e.trim()).includes(" ")?e.split(" "):[e,j[e]?e:"0"]),(s=R(i[0],r,n
1))-R(i[1],t)}(n[e],c[a],o[a],l[s]);u||r===t[s].interpolatorOffsets[e]||(u=!0),t[s].offset[e]=r}u&&(t[s].interpolate=(0,A.interpolate)(t[s].offset,(0,T.defaultOffset)(n),{clamp:!1}),t[s].interpolatorOffsets=[...t[s].offset]),t[s].progress=(0,b.clamp)(0,1,t[s].interpolate(t[s].current))}(e,r,n)},notify:()=>t(r)}}(t,e,{time:0,x:y(),y:y()},n);if(i.add(s),!_.has(t)){let e=()=>{for(let e of i)e.measure(m.frameData.timestamp);m.frame.preUpdate(r)},r=()=>{for(let e of i)e.notify()},n=()=>m.frame.read(e);_.set(t,n);let s=C(t);window.addEventListener("resize",n),t!==document.documentElement&&O.set(t,(0,g.resize)(t,n)),s.addEventListener("scroll",n),n()}if(r&&!M.has(t)){let e=_.get(t),r={width:t.scrollWidth,height:t.scrollHeight};L.set(t,r);let n=m.frame.read(()=>{let n=t.scrollWidth,i=t.scrollHeight;(r.width!==n||r.height!==i)&&(e(),r.width=n,r.height=i)},!0);M.set(t,n)}let a=_.get(t);return m.frame.read(a,!1,!0),()=>{(0,m.cancelFrame)(a);let e=k.get(t);if(!e||(e.delete(s),e.size))return;let r=_.get(t);_.delete(t),r&&(C(t).removeEventListener("scroll",r),O.get(t)?.(),window.removeEventListener("resize",r));let n=M.get(t);n&&((0,m.cancelFrame)(n),M.delete(t)),L.delete(t)}}let P=[[[[0,1],[1,1]],"entry"],[[[0,0],[1,0]],"exit"],[[[1,0],[0,1]],"cover"],[V,"contain"]],D={start:0,end:1};function W(e){if(!e)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(let[t,r]of P)if(function(e,t){let r=function(e){if(2!==e.length)return;let t=[];for(let r of e)if(Array.isArray(r))t.push(r);else{if("string"!=typeof r)return;let e=function(e){let t=e.trim().split(/\s+/);if(2!==t.length)return;let r=D[t[0]],n=D[t[1]];if(void 0!==r&&void 0!==n)return[r,n]}(r);if(!e)return;t.push(e)}return t}(e);if(!r)return!1;for(let e=0;e<2;e++){let n=r[e],i=t[e];if(n[0]!==i[0]||n[1]!==i[1])return!1}return!0}(e,t))return{rangeStart:`${r} 0%`,rangeEnd:`${r} 100%`}}let Y=new Map;function q(e){let t={value:0},r=z(r=>{t.value=100*r[e.axis].progress},e);return{currentTime:t,cancel:r}}function H({source:e,container:t,...r}){let{axis:n}=r;e&&(t=e);let i=Y.get(t);i||(i=new Map,Y.set(t,i));let s=r.target??"self",a=i.get(s);a||(a={},i.set(s,a));let l=n+(r.offset??[]).join(",");return a[l]||(r.target&&p(r.target)?W(r.offset)?a[l]=new ViewTimeline({subject:r.target,axis:n}):a[l]=q({container:t,...r}):p()?a[l]=new ScrollTimeline({source:t,axis:n}):a[l]=q({container:t,...r})),a[l]}function B(e,{axis:t="y",container:r=document.scrollingElement,...n}={}){let i,s,a;if(!r)return f.noop;let l={axis:t,container:r,...n};return"function"==typeof e?function(e,t){return 2===e.length||t&&(t.target||t.offset)?z(r=>{e(r[t.axis].progress,r)},t):h(e,H(t))}(e,l):(i=H(l),s=l.target?W(l.offset):void 0,a=l.target?p(l.target)&&!!s:p(),e.attachTimeline({timeline:a?i:void 0,...s&&a&&{rangeStart:s.rangeStart,rangeEnd:s.rangeEnd},observe:e=>(e.pause(),h(t=>{e.time=e.iterationDuration*t},i))}))}var F=e.i(357126),G=e.i(39016);let $=()=>({scrollX:(0,u.motionValue)(0),scrollY:(0,u.motionValue)(0),scrollXProgress:(0,u.motionValue)(0),scrollYProgress:(0,u.motionValue)(0)}),K=e=>!!e&&!e.current;function U(e,t,r,n){return{factory:i=>{let s,a=()=>{K(r)||K(n)?o.microtask.read(a):s=B(i,{...t,axis:e,container:r?.current||void 0,target:n?.current||void 0})};return o.microtask.read(a),()=>{(0,o.cancelMicrotask)(a),s?.()}},times:[0,1],keyframes:[0,1],ease:e=>e,duration:1}}var X=e.i(112600);function Z(e,t){let r=function(e){let t=(0,F.useConstant)(()=>(0,u.motionValue)(e)),{isStatic:r}=(0,n.useContext)(X.MotionConfigContext);if(r){let[,r]=(0,n.useState)(e);(0,n.useEffect)(()=>t.on("change",r),[])}return t}(t()),i=()=>r.set(t());return i(),(0,G.useIsomorphicLayoutEffect)(()=>{let t=()=>m.frame.preRender(i,!1,!0),r=e.map(e=>e.on("change",t));return()=>{r.forEach(e=>e()),(0,m.cancelFrame)(i)}}),r}function J(e,t,r,n){if("function"==typeof e){let t;return u.collectMotionValues.current=[],e(),t=Z(u.collectMotionValues.current,e),u.collectMotionValues.current=void 0,t}if(void 0!==r&&!Array.isArray(r)&&"function"!=typeof t){var i=e,s=t,a=r,l=n;let o=(0,F.useConstant)(()=>Object.keys(a)),c=(0,F.useConstant)(()=>({}));for(let e of o)c[e]=J(i,s,a[e],l);return c}let o="function"==typeof t?t:function(...e){let t=!Array.isArray(e[0]),r=t?0:-1,n=e[0+r],i=e[1+r],s=e[2+r],a=e[3+r],l=(0,A.interpolate)(i,s,a);return t?l(n):l}(t,r,n),c=Array.isArray(e)?Q(e,o):Q([e],([e])=>o(e)),d=Array.isArray(e)?void 0:e.accelerate;return d&&!d.isTransformed&&"function"!=typeof t&&Array.isArray(r)&&n?.clamp!==!1&&(c.accelerate={...d,times:t,keyframes:r,isTransformed:!0,...n?.ease?{ease:n.ease}:{}}),c}function Q(e,t){let r=(0,F.useConstant)(()=>[]);return Z(e,()=>{r.length=0;let n=e.length;for(let t=0;t<n;t++)r[t]=e[t].get();return t(r)})}var ee=e.i(657610),et=e.i(813591),er=e.i(149381),en=e.i(272043),ei=e.i(441940),es=e.i(122434),ea=e.i(911867);let el=({category:e,index:t})=>{let s=(0,n.useRef)(null),o=(0,ee.useInView)(s,{amount:.1,once:!0}),[c,u]=(0,ea.default)(),{title:d,description:f,image:m,cta:h}
1=e,p=t%2==0,g=(0,r.jsxs)(l.m.div,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:(0,en.default)("col-span-10 700:col-span-7 flex flex-col gap-8 700:gap-34",{"700:order-2 700:col-start-9 ":p,"700:order-1":!p}),children:[(0,r.jsx)("p",{className:"mobile-nav 700:subhead 700:leading-18",children:d}),(0,r.jsx)("div",{className:"rich-text line-break mobile-body--large 700:text-36 700:leading-42 1000:text-40 1000:leading-46 1200:text-48 1200:leading-52 1400:text-58 1400:leading-68",children:(0,r.jsx)(a.default,{blocks:f,serializers:er.default})})]}),x=(0,r.jsxs)(l.m.div,{...u,variants:et.IMAGE_ROUNDED_VARIANT,transition:et.IMAGE_DELAYED_TRANSITION,className:(0,en.default)("col-span-10 700:col-span-7 rounded-30 700:rounded-50 relative h-min",{"700:col-start-9 700:order-2":!p,"700:order-1":p}),children:[(0,r.jsx)("div",{className:"overflow-hidden",children:(0,r.jsx)(l.m.div,{initial:{scale:1},animate:{scale:c?1.1:1},transition:et.TRANSITION,children:(0,r.jsx)(i.default,{alt:m.alt||"Handcar",src:{url:m.url,w:800},sizes:"(min-width: 700px) 50vw, 100vw",lqip:m.lqip,imgProps:{className:"w-full block"}})})}),(0,r.jsx)("div",{className:"bg-beige p-24 1000:py-40 1000:px-45 px-",children:(0,r.jsx)(es.default,{className:"link--cover",isParentHovered:c,link:h,children:h.title})})]});return(0,r.jsxs)(l.m.div,{ref:s,variants:et.CONTAINER_VARIANT,initial:"hidden",animate:o?"show":"hidden",className:"site-grid 700:grid-cols-15 gap-y-30",children:[x,g]})};var eo=e.i(2202);let ec=e=>(0,r.jsxs)("svg",{...e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 145 47",children:[(0,r.jsx)("path",{fill:"none",stroke:"#d2cec4",strokeMiterlimit:10,strokeWidth:"2px",d:"M41.36,9.96c-3.95-3.95-10.41-3.95-14.36,0l-1.5,1.5-1.5-1.5c-3.95-3.95-10.41-3.95-14.36,0-3.95,3.95-3.95,10.41,0,14.36l1.5,1.5,14.36,14.36,14.36-14.36,1.5-1.5c3.95-3.95,3.95-10.41,0-14.36Z"}),(0,r.jsx)("path",{fill:"none",stroke:"#d2cec4",strokeMiterlimit:10,strokeWidth:"2px",d:"M90.37,39.65l-1.89-8.6,.18-.44c.86-2.03,1.33-4.26,1.33-6.6,0-9.39-7.61-17-17-17s-17,7.61-17,17,7.61,17,17,17c3.15,0,6.1-.86,8.63-2.35l8.75,.99Z"}),(0,r.jsxs)("g",{children:[(0,r.jsx)("polygon",{fill:"none",stroke:"#d2cec4",strokeMiterlimit:10,strokeWidth:"2px",points:"138.13 9 101.87 8.78 112.55 22.1 117.12 38.55 138.13 9"}),(0,r.jsx)("line",{fill:"none",stroke:"#d2cec4",strokeMiterlimit:10,strokeWidth:"2px",x1:"138.13",y1:"9",x2:"112.55",y2:"22.1"})]})]});var eu=e.i(531928);let ed=new WeakMap,ef={},em={},eh=()=>{},ep=eh(),eg=Object,ex=e=>e===ep,ev=(e,t)=>
1({...e,...t}),ey="undefined",eN=typeof window!=ey,ew=typeof document!=ey,eA=(e,t)=>{let r=ed.get(e);return[()=>e.get(t)||ef,n=>{if(!ex(t)){let i=e.get(t);t in em||(em[t]=i),r[5](t,ev(i,n),i||ef)}},r[6],()=>!ex(t)&&t in em?em[t]:e.get(t)||ef]},eT=new WeakMap,eb=0,eI=e=>{let t,r,n=typeof e,i=e&&e.constructor,s=i==Date;if(eg(e)!==e||s||i==RegExp)t=s?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=eT.get(e))return t;if(t=++eb+"~",eT.set(e,t),i==Array){for(r=0,t="@";r<e.length;r++)t+=eI(e[r])+",";eT.set(e,t)}if(i==eg){t="#";let n=eg.keys(e).sort();for(;!ex(r=n.pop());)ex(e[r])||(t+=r+":"+eI(e[r])+",");eT.set(e,t)}}return t},ej=!0,[eR,eE]=eN&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[eh,eh],eV={initFocus:e=>(ew&&document.addEventListener("visibilitychange",e),eR("focus",e),()=>{ew&&document.removeEventListener("visibilitychange",e),eE("focus",e)}),initReconnect:e=>{let t=()=>{ej=!0,e()},r=()=>{ej=!1};return eR("online",t),eR("offline",r),()=>{eE("online",t),eE("offline",r)}}},eS=!n.default.useId,e_=!eN||"Deno"in window,eO=e_?n.useEffect:n.useLayoutEffect,ek="u">typeof navigator&&navigator.connection,eL=!e_&&ek&&(["slow-2g","2g"].includes(ek.effectiveType)||ek.saveData),eM=e=>{if("function"==typeof e)try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?eI(e):"",t]},eC=0,ez=()=>++eC;async function eP(...e){let[t,r,n,i]=e,s=ev({populateCache:!0,throwOnError:!0},"boolean"==typeof i?{revalidate:i}:i||{}),a=s.populateCache,l=s.rollbackOnError,o=s.optimisticData,c=!1!==s.revalidate,u=s.throwOnError;if("function"==typeof r){let e=[],n=t.keys();for(let i=n.next();!i.done;i=n.next()){let n=i.value;!n.startsWith("$inf$")&&r(t.get(n)._k)&&e.push(n)}return Promise.all(e.map(d))}return d(r);async function d(r){let i,[s]=eM(r);if(!s)return;let[d,f]=eA(t,s),[m,h,p]=ed.get(t),g=m[s],x=()=>c&&(delete p[s],g&&g[0])?g[0](2).then(()=>d().data):d().data;if(e.length<3)return x();let v=n,y=ez();h[s]=[y,0];let N=!ex(o),w=d(),A=w.data,T=w._c,b=ex(T)?A:T;if(N&&f({data:o="function"==typeof o?o(b):o,_c:b}),"function"==typeof v)try{v=v(b)}catch(e){i=e}if(v&&"function"==typeof v.then){let e;if(v=await v.catch(e=>{i=e}),y!==h[s][0]){if(i)throw i;return v}i&&N&&(e=i,"function"==typeof l?l(e):!1!==l)&&(a=!0,f({data:v=b,_c:ep}))}a&&!i&&("function"==typeof a&&(v=a(v,b)),f({data:v,_c:ep})),h[s][1]=ez();let I=await x();if(f({_c:ep}),i){if(u)throw i;return}return a?I:v}}let eD=(e,t)=>{for(let r in e)e[r][0]&&e[r][0](t)},eW=(e,t)=>{if(!ed.has(e)){let r=ev(eV,t),n={},i=eP.bind(ep,e),s=eh,a={},l=(e,t)=>{let r=a[e]||[];return a[e]=r,r.push(t),()=>r.splice(r.indexOf(t),1)},o=(t,r,n)=>{e.set(t,r);let i=a[t];if(i)for(let e=i.length;e--;)i[e](r,n)},c=()=>{if(!ed.has(e)&&(ed.set(e,[n,{},{},{},i,o,l]),!e_)){let t=r.initFocus(setTimeout.bind(ep,eD.bind(ep,n,0))),i=r.initReconnect(setTimeout.bind(ep,eD.bind(ep,n,1)));s=()=>{t&&t(),i&&i(),ed.delete(e)}}};return c(),[e,i,c,s]}return[e,ed.get(e)[4]]},[eY,eq]=eW(new Map),eH=ev({onLoadingSlow:eh,onSuccess:eh,onError:eh,onErrorRetry:(e,t,r,n,i)=>{let s=r.errorRetryCount,a=i.retryCount,l=~~((Math.random()+.5)*(1<<(a<8?a:8)))*r.errorRetryInterval;(ex(s)||!(a>s))&&setTimeout(n,l,i)},onDiscarded:eh,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:eL?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:eL?5e3:3e3,compare:(e,t)=>eI(e)==eI(t),isPaused:()=>!1,cache:eY,mutate:eq,fallback:{}},{isOnline:()=>ej,isVisible:()=>{let e=ew&&document.visibilityState;return ex(e)||"hidden"!==e}}),eB=(e,t)=>{let r=ev(e,t);if(t){let{use:n,fallback:i}=e,{use:s,fallback:a}=t;n&&s&&(r.use=n.concat(s)),i&&a&&(r.fallback=ev(i,a))}return r},eF=(0,n.createContext)({}),eG=eN&&window.__SWR_DEVTOOLS_USE__,e$=(eG?window.__SWR_DEVTOOLS_USE__:[]).concat(e=>(t,r,n)=>{let i=r&&((...e)=>{let n=eM(t)[0],[,,,i]=ed.get(eY),s=i[n];return s?(delete i[n],s):r(...e)});return e(t,i,n)});eG&&(window.__SWR_DEVTOOLS_REACT__=n.default);let eK={dedupe:!0};eg.defineProperty(e=>{let{value:t}=e,r=(0,n.useContext)(eF),i="function"==typeof t,s=(0,n.useMemo)(()=>i?t(r):t,[i,r,t]),a=(0,n.useMemo)(()=>
1i?s:eB(r,s),[i,r,s]),l=s&&s.provider,[o]=(0,n.useState)(()=>l?eW(l(a.cache||eY),s):ep);return o&&(a.cache=o[0],a.mutate=o[1]),eO(()=>{if(o)return o[2]&&o[2](),o[3]},[]),(0,n.createElement)(eF.Provider,ev(e,{value:a}))},"defaultValue",{value:eH});var eU=(t=(e,t,r)=>{let{cache:i,compare:s,suspense:a,fallbackData:l,revalidateOnMount:o,revalidateIfStale:c,refreshInterval:u,refreshWhenHidden:d,refreshWhenOffline:f,keepPreviousData:m}=r,[h,p,g]=ed.get(i),[x,v]=eM(e),y=(0,n.useRef)(!1),N=(0,n.useRef)(!1),w=(0,n.useRef)(x),A=(0,n.useRef)(t),T=(0,n.useRef)(r),b=()=>T.current.isVisible()&&T.current.isOnline(),[I,j,R,E]=eA(i,x),V=(0,n.useRef)({}).current,S=ex(l)?r.fallback[x]:l,_=(e,t)=>{let r=!0;for(let n in V)"data"===n?!s(t[n],e[n])&&(ex(e[n])&&s(t[n],W)||(r=!1)):t[n]!==e[n]&&(r=!1);return r},O=(0,n.useMemo)(()=>{let e=!!x&&!!t&&(ex(o)?!T.current.isPaused()&&!a&&(!!ex(c)||c):o),r=t=>{let r=ev(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=r(I()),i=r(E());return[()=>{let e=r(I());return _(e,n)?n:n=e},()=>i]},[i,x]),k=(0,eu.useSyncExternalStore)((0,n.useCallback)(e=>R(x,(t,r)=>{_(r,t)||e()}),[i,x]),O[0],O[1]),L=!y.current,M=h[x]&&h[x].length>0,C=k.data,z=ex(C)?S:C,P=k.error,D=(0,n.useRef)(z),W=m?ex(C)?D.current:C:z,Y=(!M||!!ex(P))&&(L&&!ex(o)?o:!T.current.isPaused()&&(a?!ex(z)&&c:ex(z)||c)),q=!!(x&&t&&L&&Y),H=ex(k.isValidating)?q:k.isValidating,B=ex(k.isLoading)?q:k.isLoading,F=(0,n.useCallback)(async e=>{let t,n,i=A.current;if(!x||!i||N.current||T.current.isPaused())return!1;let a=!0,l=e||{},o=!g[x]||!l.dedupe,c=()=>eS?!N.current&&x===w.current&&y.current:x===w.current,u={isValidating:!1,isLoading:!1},d=()=>{j(u)},f=()=>{let e=g[x];e&&e[1]===n&&delete g[x]},m={isValidating:!0};ex(I().data)&&(m.isLoading=!0);try{if(o&&(j(m),r.loadingTimeout&&ex(I().data)&&setTimeout(()=>{a&&c()&&T.current.onLoadingSlow(x,r)},r.loadingTimeout),g[x]=[i(v),ez()]),[t,n]=g[x],t=await t,o&&setTimeout(f,r.dedupingInterval),!g[x]||g[x][1]!==n)return o&&c()&&T.current.onDiscarded(x),!1;u.error=ep;let e=p[x];if(!ex(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return d(),o&&c()&&T.current.onDiscarded(x),!1;let l=I().data;u.data=s(l,t)?l:t,o&&c()&&T.current.onSuccess(t,x,r)}catch(r){f();let e=T.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(u.error=r,o&&c())&&(e.onError(r,x,e),(!0===t||"function"==typeof t&&t(r))&&b()&&e.onErrorRetry(r,x,e,F,{retryCount:(l.retryCount||0)+1,dedupe:!0}))}return a=!1,d(),!0},[x,i]),G=(0,n.useCallback)((...e)=>eP(i,w.current,...e),[]);if(eO(()=>{A.current=t,T.current=r,ex(C)||(D.current=C)}),eO(()=>{var e;let t;if(!x)return;let r=F.bind(ep,eK),n=0,i=(e=e=>{if(0==e){let e=Date.now();T.current.revalidateOnFocus&&e>n&&b()&&(n=e+T.current.focusThrottleInterval,r())}else if(1==e)T.current.revalidateOnReconnect&&b()&&r();else if(2==e)return F()},(t=h[x]||(h[x]=[])).push(e),()=>{let r=t.indexOf(e);r>=0&&(t[r]=t[t.length-1],t.pop())});if(N.current=!1,w.current=x,y.current=!0,j({_k:v}),Y)if(ex(z)||e_)r();else eN&&typeof window.requestAnimationFrame!=ey?window.requestAnimationFrame(r):setTimeout(r,1);return()=>{N.current=!0,i()}},[x]),eO(()=>{let e;function t(){let t="function"==typeof u?u(z):u;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!I().error&&(d||T.current.isVisible())&&(f||T.current.isOnline())?F(eK).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[u,d,f,x]),(0,n.useDebugValue)(W),a&&ex(z)&&x){if(!eS&&e_)throw Error("Fallback data is required when using suspense in SSR.");throw A.current=t,T.current=r,N.current=!1,ex(P)?F(eK):P}return{mutate:G,get data(){return V.data=!0,W},get error(){return V.error=!0,P},get isValidating(){return V.isValidating=!0,H},get isLoading(){return V.isLoading=!0,B}}},function(...e){let r=ev(eH,(0,n.useContext)(eF)),[i,s,a]="function"==typeof e[1]?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],l=eB(r,a),o=t,{use:c}=l,u=(c||[]).concat(e$);for(let e=u.length;e--;)o=u[e](o);return o(i,s||l.fetcher||null,l)});e.i(839030);var eX=e.i(644086),eZ=e.i(274248);e.i(446104);var eJ=e.i(223815);let eQ=e=>fetch(e).then(e=>e.json());var e0=e.i(389767),e1=e.i(193709),e8=e.i(451233),e2=e.i(948544);let e5=[];function e3(e){(0,e1.removeItem)(e5,e)}function e4(e,t,r={},n){let i=[],{velocity:s}=r,a=r.reduceMotion??n?.shouldReduceMotion;for(let l in t){if("transition"===l||"transitionEnd"===l)continue;let o=t[l];if(void 0===o)continue;let c=e(l),u=c.get();if(void 0!==u&&!c.isAnimating()&&!Array.isArray(o)&&o===u&&!s){m.frame.update(()=>c.set(o));continue}c.start((0,e2.animateMotionValue)(l,c,o,a&&e8.positionalKeys.has(l)?{type:!1}:r,n)),c.animation&&i.push(c.animation)}let{transitionEnd:l}=t;if(l){let t=()=>m.frame.update(()=>{for(let t in l)e(t).set(l[t])});i.length?Promise.all(i).then(t):t()}return i}function e6(e,t,r,n,i){return e4(n=>{let s=e.get(t,n);if(!s){let l;if(!i){var a;let i,s=r[n];l=(null===(i=Array.isArray(a=s)?a[0]:void 0)?void 0:i)??e.read(t,n,s),(0,d.invariant)(void 0!==l,`"${n}" can't be read from the animated subject. Provide [from, to] keyframes.`,"effect-unreadable-value")}e(t,{[n]:s=(0,u.motionValue)(l,{owner:i})})}return s},r,n,i)}class e7{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let r=0;r<this.animations.length;r++)this.animations[r][e]=t}attachTimeline(e){let t=this.animations.map(t=>t.attachTimeline(e));return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return e9(this.animations,"duration")}get iterationDuration(){return e9(this.animations,"iterationDuration")}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function e9(e,t){let r=0;for(let n=0;n<e.length;n++){let i=e[n][t];null!==i&&i>r&&(r=i)}return r}class te extends e7{then(e,t){return this.finished.finally(e).then(()=>{})}}var tt=e.i(800151),tr=e.i(665907),tn=e.i(525778),ti=e.i(737657),ts=e.i(400073),ta=e.i(727524),tl=e.i(335846),to=e.i(247836);function tc(e,t){var r;let n;return(0,to.isEasingArray)(e)?e[r=e.length,((t-0)%(n=r-0)+n)%n+0]:e}var tu=e.i(798715);function td(e){return"object"==typeof e&&!Array.isArray(e)}function tf(e,t,r,n){return null==e?[]:"string"==typeof e&&td(t)?(0,tu.resolveElements)(e,r,n):e instanceof NodeList?Array.from(e):Array.isArray(e)?e.filter(e=>null!=e):[e]}function tm(e,t,r,n){return"number"==typeof t?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?r:t.startsWith("<")?Math.max(0,r+parseFloat(t.slice(1))):n.get(t)??e}var th=e.i(566651);function tp(e,t){return e.at!==t.at?e.at-t.at:null===e.value?1:null===t.value?-1:0}function tg(e,t){return t.has(e)||t.set(e,{}),t.get(e)}function tx(e,t){return t[e]||(t[e]=[]),t[e]}let tv=e=>"number"==typeof e,ty=e=>e.every(tv);var tN=e.i(310389),tw=e.i(867130),tA=e.i(54389),tT=e.i(555810),tb=e.i(720972),tI=e.i(553882),tj=e.i(230717);class tR{constructor(e=m.frame.render){this.step=e,this.values=new Map,this.pending=[],this.numPending=0,this.flush=()=>{let{pending:e,numPending:t}=this;this.numPending=0;for(let r=0;r<t;r++)e[r]()}}set(e,t,r,n){if(this.values.get(e)?.onRemove(),n)for(let e of this.values.values())e.value===n&&(r=e.render);let i=()=>r&&this.schedule(r);void 0!==t.get()&&i();
1let s=t.on("change",i),a=()=>{s(),r&&!n&&this.cancel(r),this.values.delete(e)};return this.values.set(e,{value:t,render:n?void 0:r,onRemove:a}),a}get(e){return this.values.get(e)?.value}release(){let e=new Map;return this.values.forEach((t,r)=>{e.set(r,t.value),t.onRemove()}),this.transformKeys=this.transformValues=void 0,e}schedule(e){let{pending:t,numPending:r}=this;for(let n=0;n<r;n++)if(t[n]===e)return;r||this.step(this.flush),t[this.numPending++]=e}cancel(e){let{pending:t}=this;for(let r=0;r<this.numPending;r++)if(t[r]===e){t[r]=t[--this.numPending];return}}}function tE(e,{step:t,...r}={}){let n=new WeakMap;return Object.assign((r,i)=>{let s=n.get(r)??new tR(t);n.set(r,s);let a=[];for(let t in i){let n=i[t],l=e(r,s,t,n);a.push(l)}return()=>{for(let e of a)e()}},r,{get:(e,t)=>n.get(e)?.get(t),flush:e=>n.get(e)?.flush(),state:e=>n.get(e)})}var tV=e.i(778673);let tS={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},t_={},tO=new Set(["originX","originY","originZ"]),tk=(e,t)=>(0,tj.getValueAsType)(e.get(t)?.get(),tI.numberValueTypes[t]),tL=(e,t,r,n)=>{let i,s;if(tT.transformProps.has(r)){if("pathRotation"!==r){let e=t.transformKeys??(t.transformKeys=[]);(t.transformValues??(t.transformValues={}))[r]=n,e.includes(r)||(e.push(r),e.sort((e,t)=>tT.transformPropOrder.indexOf(e)-tT.transformPropOrder.indexOf(t)))}t.get("transform")||((0,I.isHTMLElement)(e)||t.get("transformBox")||tL(e,t,"transformBox",new u.MotionValue("fill-box")),t.set("transform",new u.MotionValue("none"),()=>{e.style.transform=function(e){let t="",{transformKeys:r=[],transformValues:n={}}=e;for(let e=0;e<r.length;e++){let i=r[e],s=n[i].get();void 0!==s&&("number"==typeof s?s:parseFloat(s))!==+!!i.startsWith("scale")&&(t+=(t&&" ")+(t_[i]||(t_[i]=(tS[i]||i)+"("))+(0,tj.getValueAsType)(s,tV.transformValueTypes[i])+")")}let i=e.get("pathRotation")?.get();return i&&(t+=(t&&" ")+"rotate("+(0,tj.getValueAsType)(i,tV.transformValueTypes.pathRotation)+")"),t||"none"}(t)})),s=t.get("transform")}else tO.has(r)?(t.get("transformOrigin")||t.set("transformOrigin",new u.MotionValue(""),()=>{let r=tk(t,"originX")??"50%",n=tk(t,"originY")??"50%",i=tk(t,"originZ")??0;e.style.transformOrigin=`${r} ${n} ${i}`}),s=t.get("transformOrigin")):i=(0,tw.isCSSVar)(r)?()=>{e.style.setProperty(r,n.get())}:()=>{e.style[r]=(0,tj.getValueAsType)(n.get(),tI.numberValueTypes[r])};return t.set(r,n,i,s)},tM=(e,t)=>{if(tT.transformProps.has(t))return(0,tA.readTransformValue)(e,t);let r=getComputedStyle(e),n=(0,tw.isCSSVar)(t)?r.getPropertyValue(t):r[t];return"string"==typeof n&&n.trim()||0},tC=tE(tL,{test:e=>(0,I.isHTMLElement)(e)||(0,tb.isSVGElement)(e),read:tM});var tz=e.i(646768),tP=e.i(125052);let tD=(e,t,r,n,i=r)=>{let s=function(e,t){if(!(t in e))return!1;let r=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),t)||Object.getOwnPropertyDescriptor(e,t);return r&&"function"==typeof r.set}(e,i);!s&&(i.startsWith("data")||i.startsWith("aria"))&&(i=(0,tz.camelToDash)(i));let a=tI.numberValueTypes[r]||tI.numberValueTypes[i],l=s?()=>{e[i]=(0,tj.getValueAsType)(n.get(),tI.numberValueTypes[r])}:()=>{let t=(0,tj.getValueAsType)(n.get(),a);null==t?e.removeAttribute(i):e.setAttribute(i,String(t))};return t.set(r,n,l)},tW=tE((e,t,r,n)=>{if(r.startsWith("path"))return(m.frame.render(()=>e.setAttribute("pathLength","1")),"pathOffset"===r)?t.set(r,n,()=>{let t=n.get();e.setAttribute("stroke-dashoffset",`${-t}`)}):(t.get("stroke-dasharray")||t.set("stroke-dasharray",new u.MotionValue("1 1"),()=>{let r=t.get("pathLength")?.get()??1,n=t.get("pathSpacing")?.get();e.setAttribute("stroke-dasharray",`${r} ${n??1-Number(r)}`)}),t.set(r,n,void 0,t.get("stroke-dasharray")));return r.startsWith("attr")?tD(e,t,r,n,tY(r)):((0,tw.isCSSVar)(r)||r in e.style?tL:tD)(e,t,r,n)},{test:tb.isSVGElement,read:(e,t)=>tT.transformProps.has(t)?tI.numberValueTypes[t]?.default||0:(0,tw.isCSSVar)(t)||tP.cssStyleProperties.includes(t)?tM(e,t):(t=tY(t),e.getAttribute((0,tz.camelToDash)(t))??e.getAttribute(t)??void 0)});function tY(e){return e.replace(/^attr([A-Z])/,(e,t)=>t.toLowerCase())}var tq=e.i(604955),tH=e.i(53556);let tB={};class tF{constructor(e,t){this.effect=e,this.current=t,this.KeyframeResolver=tH.DOMKeyframesResolver}getValue(e){return this.effect.get(this.current,e)}readValue(e,t){return this.effect.read(this.current,e,t)}render(){this.effect.flush(this.current)}measureViewportBox(){return(0,tq.measureViewportBox)(this.current)}getProps(){return tB}}var tG=e.i(235866),t$=e.i(68098);let tK=tE((e,t,r,n)=>
1t.set(r,n,()=>{e[r]=n.get()}),{test:e=>(0,t$.isObject)(e),read:(e,t)=>{let r=e[t];return"string"==typeof r||"number"==typeof r?r:void 0}});function tU(e,t,r,n){let i=[];if((0,tr.isMotionValue)(e)||"number"==typeof e||"string"==typeof e&&!td(t))i.push((0,tN.animateSingleValue)(e,td(t)&&t.default||t,r&&r.default||r));else{if(null==e)return i;let s=tf(e,t,n),a=s.length;(0,d.invariant)(!!a,"No valid elements provided.","no-valid-elements");for(let e=0;e<a;e++){let n=s[e],l={...r};"delay"in l&&"function"==typeof l.delay&&(l.delay=l.delay(e,a)),n instanceof Element?i.push(...function(e,t,r,n){if(n)return e4(e=>n.getValue(e,null),t,r,n);let i=(0,tb.isSVGElement)(e)?tW:tC;return e6(i,e,t,r,new tF(i,e))}(n,t,l,tG.visualElementStore.get(n))):i.push(...e6(function(e){return e5.find(t=>t.test(e))}(n)??tK,n,t,l))}}return i}let tX=Object.assign(function(e={}){let{scope:t,reduceMotion:r,skipAnimations:n}=e;return function(e,i,s){var a;let l,o=[],c={};if(void 0!==r&&(c.reduceMotion=r),void 0!==n&&(c.skipAnimations=n),Array.isArray(e)&&e.some(Array.isArray)){let r,{onComplete:n,...s}=i||{};"function"==typeof n&&(l=n),a={...c,...s},r=[],(function(e,{defaultTransition:t={},...r}={},n,i){let s=t.duration||.3,a=new Map,l=new Map,o={},c=new Map,u=0,f=0,m=0;for(let r=0;r<e.length;r++){let a=e[r];if("string"==typeof a){c.set(a,f);continue}if(!Array.isArray(a)){c.set(a.name,tm(f,a.at,u,c));continue}let[g,x,v={}]=a;void 0!==v.at&&(f=tm(f,v.at,u,c));let y=0,N=(e,r,n,a=0,l=0)=>{var o;let c=Array.isArray(o=e)?o:[o],{delay:u=0,times:h=(0,T.defaultOffset)(c),type:p=t.type||"keyframes",repeat:g,repeatType:x,repeatDelay:v=0,...N}=r,{ease:w=t.ease||"easeOut",duration:A}=r,b="function"==typeof u?u(a,l):u,I=c.length,j=(0,tn.isGenerator)(p)?p:i?.[p||"keyframes"];if(I<=2&&j){let e=100;2===I&&ty(c)&&(e=Math.abs(c[1]-c[0]));let r={...t,...N};void 0!==A&&(r.duration=(0,ta.secondsToMilliseconds)(A));let n=(0,ti.createGeneratorEasing)(r,e,j);w=n.ease,A=n.duration}A??(A=s);let R=f+b;1===h.length&&0===h[0]&&(h[1]=1);let E=h.length-c.length;if(E>0&&(0,ts.fillOffset)(h,E),1===c.length&&c.unshift(null),g&&(0,d.warning)(g<20,`Sequence segments can't repeat ${g} times — ignoring repeat option. Use a value below 20 or apply repeat at the sequence level instead.`),g&&g<20){let e=A>0?v/A:0;A=A*(g+1)+v*g;let t=[...c],r=[...h],n=[...w=Array.isArray(w)?[...w]:[w]],i="reverse"===x||"mirror"===x,s=t,a=n;i&&(s=[...t].reverse(),"reverse"===x&&(a=[...n].reverse().map(e=>"function"==typeof e?(0,tl.reverseEasing)(e):e)));for(let l=0;l<g;l++){let o=i&&l%2==0,u=o?s:t,d=o?a:n,f=(l+1)*(1+e);e>0&&(c.push(c[c.length-1]),h.push(f),w.push("linear")),c.push(...u);for(let e=0;e<u.length;e++)h.push(r[e]+f),w.push(0===e?"linear":tc(d,e-1))}!function(e,t,r=0){let n=t+1+t*r;for(let t=0;t<e.length;t++)e[t]=e[t]/n}(h,g,e)}let V=R+A;!function(e,t,r,n,i,s){for(let t=0;t<e.length;t++){let r=e[t];r.at>i&&r.at<s&&((0,e1.removeItem)(e,r),t--)}for(let a=0;a<t.length;a++)e.push({value:t[a],at:(0,th.mixNumber)(i,s,n[a]),easing:tc(r,a)})}(n,c,w,h,R,V),y=Math.max(b+A,y),m=Math.max(V,m)};if((0,tr.isMotionValue)(g))N(x,v,tx("default",tg(g,l)));else{let e=tf(g,x,n,o),t=e.length;for(let r=0;r<t;r++){let n=tg(e[r],l);for(let e in x){var h,p;N(x[e],(h=v,p=e,h&&h[p]?{...h,...h[p]}:{...h}),tx(e,n),r,t)}}}u=f,f+=y}return l.forEach((e,n)=>{for(let i in e){let s=e[i];s.sort(tp);let l=[],o=[],c=[];for(let e=0;e<s.length;e++){let{at:t,value:r,easing:n}=s[e];l.push(r),o.push((0,x.progress)(0,m,t)),c.push(n||"easeOut")}0!==o[0]&&(o.unshift(0),l.unshift(l[0]),c.unshift("easeInOut")),1!==o[o.length-1]&&(o.push(1),l.push(null)),a.has(n)||a.set(n,{keyframes:{},transition:{}});let u=a.get(n);u.keyframes[i]=l;let{type:d,...f}=t;u.transition[i]={...f,duration:m,ease:c,times:o,...r}}}),a})(e.map(e=>{if(Array.isArray(e)&&"function"==typeof e[0]){let t=e[0],r=(0,u.motionValue)(0);return(r.on("change",t),1===e.length)?[r,[0,1]]:2===e.length?[r,[0,1],e[1]]:[r,e[1],e[2]]}return e}),a,t,{spring:tt.spring}).forEach(({keyframes:e,transition:t},n)=>{r.push(...tU(n,e,t))}),o=r}else{let{onComplete:r,...n}=s||{};"function"==typeof r&&(l=r),o=tU(e,i,{...c,...n},t)}let f=new te(o);return l&&f.finished.then(l),t&&(t.animations.push(f),f.finished.then(()=>{(0,e1.removeItem)(t.animations,f)})),f}}(),{addEffect:function(e){(0,d.invariant)("function"==typeof e.test&&"function"==typeof e.read,"Effects passed to animate.addEffect() need test() and read().","effect-missing-test"),e3(e),e5.unshift(e)},removeEffect:e3}),tZ=({maxNum:e,duration:t,start:i})=>{let s=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let r=s.current;if(!r)return;let n=tX(0,e,{duration:t,onUpdate(e){r.textContent=e.toFixed(0)}});return()=>n.stop()},[i]),(0,r.jsx)("span",{ref:s})},tJ=({start:e,title:t,index:i=0})=>
1{let s=t.replace(/\'/g,"").split(/(\d+)/).filter(Boolean),a=1+.25*i/2,l=s.map(t=>(0,r.jsx)(n.default.Fragment,{children:isNaN(Number(t))?t:(0,r.jsx)(tZ,{start:e,maxNum:Number(t),duration:a})},t));return(0,r.jsx)(n.default.Fragment,{children:l})};var tQ=e.i(185874);let t0=({_type:e,alt:t,caption:n,url:s,lqip:a,dimensions:l,poster:o,video:c})=>(0,r.jsx)("div",{className:"bg-black border-4 border-solid border-black rounded-24 800:rounded-26 1000:rounded-28 1200:rounded-36 1400:rounded-46  overflow-hidden ",children:(0,r.jsxs)("div",{className:"phone",children:["mobileImage"===e&&(0,r.jsx)(i.default,{alt:t||"Handcar",src:{url:s,w:800},sizes:"(min-width: 800px) 22vw, 40vw",lqip:a,imgProps:{className:"h-full w-full block inset-0 absolute object-cover"}}),"mobileVideo"===e&&(0,r.jsx)(ei.default,{video:c,poster:o,posterWidth:800,autoplay:!0,lazyOnScroll:!0,className:"absolute inset-0 h-full w-full object-cover",videoClassName:"absolute inset-0 h-full w-full object-cover"})]})}),t1={heroModule:({title:e,mobileImage:t,desktopImage:u,description:f,images:m=[]})=>{let h=(0,n.useRef)(null),p=(0,ee.useInView)(h,{amount:.1,once:!0}),{scrollY:g}=function({container:e,target:t,...r}={}){var i;let s=(0,F.useConstant)($);i=r.offset,!("u"<typeof window)&&(t?(0,c.supportsViewTimeline)()&&!!W(i):(0,c.supportsScrollTimeline)())&&(s.scrollXProgress.accelerate=U("x",r,e,t),s.scrollYProgress.accelerate=U("y",r,e,t));let a=(0,n.useRef)(null),l=(0,n.useRef)(!1),u=(0,n.useCallback)(()=>(a.current=B((e,{x:t,y:r})=>{s.scrollX.set(t.current),s.scrollXProgress.set(t.progress),s.scrollY.set(r.current),s.scrollYProgress.set(r.progress)},{...r,container:e?.current||void 0,target:t?.current||void 0}),()=>{a.current?.()}),[e,t,JSON.stringify(r.offset)]);return(0,G.useIsomorphicLayoutEffect)(()=>{if(l.current=!1,!(K(e)||K(t)))return u();l.current=!0},[u]),(0,n.useEffect)(()=>{let r;if(!l.current)return;let n=()=>{let n=K(e),i=K(t);(0,d.invariant)(!n,"Container ref is defined but not hydrated","use-scroll-ref"),(0,d.invariant)(!i,"Target ref is defined but not hydrated","use-scroll-ref"),n||i||(r=u())};return o.microtask.read(n),()=>{(0,o.cancelMicrotask)(n),r?.()}},[u]),s}(),x=J(g,[0,600],[0,-200]),v=J(g,[0,600],[0,-50]),y=J(g,[0,600],[0,-100]),N=J(g,[0,600],[0,-300]),w=m.map(({_key:e,url:t,alt:n,lqip:s},a)=>(0,r.jsx)(l.m.div,{variants:et.IMAGE_VARIANT,transition:et.IMAGE_DELAYED_TRANSITION,className:(0,en.default)("absolute",{"top-20 left-50 z-3 800:left-80 1200:-left-120 800:top-50":0===a,"right-0 top-85 800:top-1/4 800:-right-100 z-1":1===a,"top-100 left-30 800:top-1/3 800:left-[20%] z-1":2===a,"top-175 left-1/2 z-1 800:top-auto 800:-bottom-100 800:left-auto 800:right-[20%] 800:z-3":3===a}),style:{...0===a&&{y:x},...1===a&&{y:v},...2===a&&{y:y},...3===a&&{y:N}},children:(0,r.jsx)(i.default,{alt:n||"Handcar",src:{url:t,w:1e3},sizes:"(min-width: 800px) 800px, 100px",lqip:s,lazy:!1,imgProps:{className:"max-w-100 max-h-60 800:max-w-800 800:max-h-200 object-contain"}})},e)),A=(0,r.jsx)(l.m.h2,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"px-30 800:px-0 col-span-10 800:col-span-15 text-center z-2  relative","aria-label":e,children:(0,r.jsxs)("picture",{children:[(0,r.jsx)("source",{media:"(min-width: 800px)",srcSet:(0,s.sanityImageSrcSet)(u.url),sizes:"100vw"}),(0,r.jsx)("img",{src:(0,s.default)(t.url,{w:800}),srcSet:(0,s.sanityImageSrcSet)(t.url),sizes:"100vw",alt:t.alt,className:"block w-full h-auto"})]})}),T=(0,r.jsx)(l.m.div,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"col-span-10 800:col-span-7 800:col-start-2 rich-text line-break mobile-body--medium 800:body--medium",children:(0,r.jsx)(a.default,{blocks:f,serializers:er.default})});return(0,r.jsx)(l.m.section,{ref:h,variants:et.CONTAINER_DELAY_VARIANT,initial:"hidden",animate:p?"show":"hidden",className:"grid-padding",children:(0,r.jsxs)("section",{className:"site-grid gap-y-80 800:gap-y-100",children:[(0,r.jsxs)("section",{className:"col-span-10 800:col-span-13 800:col-start-2 relative",children:[A,w]}),T]})})},heroImage:({image:e})=>{let t=(0,n.useRef)(null),s=(0,ee.useInView)(t,{amount:.1,once:!0});return(0,r.jsx)(l.m.section,{ref:t,variants:et.CONTAINER_DELAY_VARIANT,initial:"hidden",animate:s?"show":"hidden",className:"w-full",children:(0,r.jsx)(l.m.div,{variants:et.IMAGE_VARIA
1NT,transition:et.IMAGE_DELAYED_TRANSITION,children:(0,r.jsx)(i.default,{alt:e.alt||"Handcar",src:{url:e.url,w:800},sizes:"100vw",lqip:e.lqip,lazy:!1,imgProps:{className:"w-full block"}})})})},heroVideo:({showControls:e,video:t,poster:i})=>{let s=(0,n.useRef)(null),a=(0,ee.useInView)(s,{amount:.225,once:!0});return(0,r.jsx)(l.m.section,{ref:s,variants:et.CONTAINER_DELAY_VARIANT,initial:"hidden",animate:a?"show":"hidden",className:"w-full",children:(0,r.jsx)(l.m.div,{variants:et.IMAGE_VARIANT,transition:et.IMAGE_DELAYED_TRANSITION,children:(0,r.jsx)(ei.default,{video:t,poster:i,autoplay:!e,lazyOnScroll:!0})})})},homeCategories:({categories:e})=>(0,r.jsx)("section",{className:"grid-padding flex flex-col gap-80 700:gap-140",children:e?.map((e,t)=>(0,r.jsx)(el,{category:e,index:t},e._key))}),homeServices:({services:e,description:t,link:i})=>{let s=(0,n.useRef)(null),o=(0,ee.useInView)(s,{amount:.1,once:!0}),c=(0,n.useRef)(null),[u,d]=(0,n.useState)(0),f=()=>{c.current&&(window.innerWidth<800?d(200):d(c.current.getBoundingClientRect().height))};(0,n.useEffect)(()=>(f(),window.addEventListener("resize",f),()=>{window.removeEventListener("resize",f)}),[]);let m=(0,r.jsxs)(l.m.div,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"col-span-10 800:col-span-7 flex flex-col relative mt-40 800:mt-54",children:[(0,r.jsx)("p",{className:"mobile-subhead 800:subhead absolute -top-40 800:-top-54",children:"Services"}),(0,r.jsx)("div",{className:"overflow-hidden border-b-2 border-t-2 border-solid border-beige h-[22em] 800:h-[52em]",children:(0,r.jsxs)(l.m.div,{initial:{y:"0%"},animate:{y:"-50%"},transition:{duration:20,repeat:1/0,ease:"linear"},className:"flex flex-col",children:[(0,r.jsx)("ul",{className:"py-4 800:py-17 flex flex-col gap-8 800:gap-34",children:e?.map(e=>(0,r.jsx)("p",{className:"font-500 font-sans text-26 leading-34 800:text-48 800:leading-52 tracking-5",children:e}))}),(0,r.jsx)("ul",{className:"py-4 800:py-17 flex flex-col gap-8 800:gap-34",children:e?.map(e=>(0,r.jsx)("p",{className:"font-500 font-sans text-26 leading-34 800:text-48 800:leading-52 tracking-5",children:e}))})]})})]}),h=(0,r.jsxs)(l.m.div,{ref:c,variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"col-span-10 800:col-span-7 800:col-start-9 flex flex-col gap-30 800:gap-34 mt-40 800:mt-54",children:[(0,r.jsx)("div",{className:"rich-text line-break mobile-body--medium 600:text-17 600:leading-26 1000:text-25 1000:leading-35",children:(0,r.jsx)(a.default,{blocks:t,serializers:er.default})}),(0,r.jsx)(es.default,{link:i,children:i.title})]});return(0,r.jsxs)(l.m.section,{ref:s,variants:et.CONTAINER_VARIANT,initial:"hidden",animate:o?"show":"hidden",className:"grid-padding site-grid gap-y-30",children:[m,h]})},homeFeaturedProject:({title:e,fallbackTitle:t,slug:s,client:a,projectName:o,color:c,poster:u,video:d})=>{let f=(0,n.useRef)(null),m=(0,ee.useInView)(f,{amount:.225,once:!0}),[h,p]=(0,ea.default)();return(0,r.jsxs)(l.m.section,{ref:f,variants:et.CONTAINER_DELAY_VARIANT,initial:"hidden",animate:m?"show":"hidden",style:{backgroundColor:c},className:"w-full relative h-[125vw] 800:h-[53vw] flex flex-col justify-center items-center overflow-x-hidden",children:[!d&&u&&(0,r.jsx)(i.default,{alt:u.alt||e||t||"Handcar",src:{url:u.url,w:1e3},sizes:"100vw",lqip:u.lqip,imgProps:{className:"absolute inset-0 h-full w-full object-cover"}}),d&&(0,r.jsx)(ei.default,{video:d,poster:u,autoplay:!0,lazyOnScroll:!0,videoClassName:"absolute inset-0 h-full w-full object-cover",className:(0,en.default)("absolute inset-0 h-full w-full transition-opacity duration-400 z-0",{"800:opacity-0":h,"800:opacity-100":!h})}),(0,r.jsx)(l.m.div,{variants:et.LIST_ITEM_VARIANT,transition:et.IMAGE_DELAYED_TRANSITION,className:"relative h-[125vw] 800:h-[53vw] w-full flex flex-col justify-center items-center",children:(0,r.jsxs)(eo.default,{...p,slug:s,title:e||t,_type:"projectLink",className:"link--cover w-fit flex flex-col justify-center text-white items-center gap-10 600:gap-30 1200:gap-0 z-10",children:[(0,r.jsx)("p",{className:"uppercase font-huben text-50 leading-44 600:text-80 600:leading-80 700:text-100 700:leading-100 1200:desktop-hero word-break text-center",children:e||a}),(0,r.jsx)("p",{className:"mobile-subhead 600:subhead",children:o})]})})]})},marquee:({title:e,url:t})=>{let i=(0,n.useRef)(null),s=(0,ee.useInView)(i,{amount:.225,once:!0});return(0,r.jsx)(l.m.section,{ref:i,variants:et.CONTAINER_VARIANT,initial:"hidden",animate:s?"show":"hidden",className:"w-full",children:(0,r.jsx)(l.m.div,{variants:et.LIST_ITEM_VARIA
1NT,transition:et.TRANSITION,children:(0,r.jsx)(e0.default,{direction:"left",children:t?(0,r.jsx)(eo.default,{url:t,className:"px-[1ch] uppercase font-huben-outline text-50 leading-normal 800:text-150",children:e}):(0,r.jsx)("p",{className:"px-[1ch] uppercase font-huben-outline text-50 leading-normal 800:text-150",children:e})})})})},instagramFeed:({showFeed:e})=>{if(!e)return null;let[t,i]=(0,n.useState)(!0),[s,a]=(0,n.useState)(30),[o,c]=(0,n.useState)(10),[u,d]=(0,n.useState)(1.5),f=()=>{let e=window.innerWidth<800;i(e),e&&a(30),!e&&window.innerWidth<2e3&&a(144),!e&&window.innerWidth>2e3&&a((window.innerWidth-2e3)/2+144),c(e?10:20),d(e?1.5:3.5)};(0,n.useEffect)(()=>(f(),window.addEventListener("resize",f),()=>window.removeEventListener("resize",f)),[]);let m=(0,n.useRef)(null),h=(0,ee.useInView)(m,{amount:.225,once:!0}),{data:p=[],error:g,isLoading:x}=eU("/api/get-instagram",eQ),{posts:v=[],profilePictureUrl:y}=p||{};return(0,r.jsx)(l.m.section,{ref:m,variants:et.CONTAINER_DELAY_VARIANT,initial:"hidden",animate:h?"show":"hidden",className:"site-grid w-full",children:(0,r.jsx)("div",{className:"col-span-10 800:col-span-15",children:(0,r.jsx)(eX.Swiper,{slidesOffsetAfter:s,slidesOffsetBefore:s,spaceBetween:o,slidesPerView:u,mousewheel:{forceToAxis:!0,releaseOnEdges:!0},modules:[eJ.Mousewheel],children:v.map(({id:e,permalink:t,mediaType:n,mediaUrl:i,caption:s})=>(0,r.jsx)(eZ.SwiperSlide,{className:"h-full",children:(0,r.jsxs)(l.m.div,{variants:et.IMAGE_VARIANT,transition:et.TRANSITION,className:"border border-beige border-solid relative h-full",children:[(0,r.jsx)("div",{className:"h-40 px-10 flex items-center 800:h-60",children:(0,r.jsx)("div",{className:"rounded-full bg-beige h-20 w-20 800:h-32 800:w-32 relative overflow-hidden",children:(0,r.jsx)("img",{src:y,className:"absolute inset-0 h-full w-full object-cover rounded-full"})})}),(0,r.jsxs)("div",{className:"relative h-0 pt-full bg-beige border-t border-solid border-beige",children:[!x&&"VIDEO"!==n&&(0,r.jsx)("img",{src:i,className:"absolute inset-0 object-cover w-full h-full"}),!x&&"VIDEO"===n&&(0,r.jsx)("video",{src:i,className:"absolute inset-0 object-cover w-full h-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0})]}),(0,r.jsxs)("div",{className:"p-10  border-t border-solid border-beige",children:[(0,r.jsx)(ec,{className:"h-20 1000:h-28 w-auto"}),!x&&(0,r.jsxs)("p",{className:"mt-10 h-55 text-12 font-sans 800:text-14",children:[(0,r.jsx)(eo.default,{url:t,openInNewWindow:!0,title:"View Post on Instagram",className:"w-fit link--cover  active:cursor-grabbing",children:(0,r.jsx)("strong",{children:"handcar.co"})})," ",s.slice(0,60),"..."]})]})]})},e))})})})},projectIntroTextBlock:({descriptionLabel:e="The Opportunity",description:t,servicesLabel:i,services:s})=>{let o=(0,n.useRef)(null),c=(0,ee.useInView)(o,{amount:.1,once:!0}),u=(0,r.jsxs)(l.m.div,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"col-span-10 800:col-start-2 800:col-span-8 flex flex-col gap-y-12 order-2 800:order-1",children:[(0,r.jsx)("p",{className:"mobile-subhead 800:subhead",children:e}),(0,r.jsx)("div",{className:"rich-text line-break mobile-body--medium 800:body--small",children:(0,r.jsx)(a.default,{blocks:t,serializers:er.default})})]}),d=(0,r.jsxs)(l.m.div,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"col-span-10 800:col-start-11 800:col-span-5 flex flex-col gap-y-12 order-1 800:order-2",children:[(0,r.jsx)("p",{className:"mobile-subhead 800:subhead",children:i}),s&&(0,r.jsx)("ul",{children:s.map(e=>(0,r.jsx)("li",{className:"block font-700 mobile-body--large 800:text-31 800:leading-46",children:e},e))})]});return(0,r.jsxs)(l.m.section,{ref:o,variants:et.CONTAINER_DELAY_VARIANT,initial:"hidden",animate:c?"show":"hidden",className:"grid-padding site-grid my-42 800:my-80 1200:my-120 gap-y-40",children:[u,d]})},projectTextBlock:({description:e})=>{let t=(0,n.useRef)(null),i=(0,ee.useInView)(t,{amount:.1,once:!0});return(0,r.jsx)(l.m.section,{ref:t,variants:et.CONTAINER_DELAY_VARIANT,initial:"hidden",animate:i?"show":"hidden",className:"grid-padding site-grid my-42 800:my-80 1200:my-120 gap-y-40",children:(0,r.jsx)(l.m.div,{variants:et.LIST_ITEM_VARIA
1NT,transition:et.TRANSITION,className:"col-span-10 800:col-start-2 800:col-span-13",children:(0,r.jsx)("div",{className:"rich-text line-break mobile-body--large 800:text-39 800:leading-52",children:(0,r.jsx)(a.default,{blocks:e,serializers:er.default})})})})},projectQuote:({color:e,description:t,source:i})=>{let s=(0,n.useRef)(null),o=(0,ee.useInView)(s,{amount:.1,once:!0});return(0,r.jsx)(l.m.section,{ref:s,variants:et.CONTAINER_DELAY_VARIANT,initial:"hidden",animate:o?"show":"hidden",className:"px-10 800:px-24 my-42 800:my-80",children:(0,r.jsxs)("div",{style:{backgroundColor:e||"var(--color-blue)"},className:"w-full rounded-30 800:rounded-40 1200:my-120 py-30 px-20 800:p-45 1000:p-60 1400:p-86 flex flex-col justify-center items-center gap-20 1000:gap-75 text-white",children:[(0,r.jsx)(l.m.div,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"text-center rich-text line-break text-39 leading-44 font-700 800:text-60 800:leading-72 1000:text-75 1000:leading-90 1400:text-80 1400:leading-90 max-w-prose mx-auto",children:(0,r.jsx)(a.default,{blocks:t,serializers:er.default})}),(0,r.jsx)(l.m.p,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"text-center mobile-subhead 1000:subhead",children:i})]})})},projectTextBlockWithLabel:({label:e="The Solution",description:t,additionalDescription:i})=>{let s=(0,n.useRef)(null),o=(0,ee.useInView)(s,{amount:.1,once:!0}),c=(0,r.jsx)(l.m.div,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"col-span-10 800:col-start-2",children:(0,r.jsx)("p",{className:"mobile-subhead 800:subhead",children:e})}),u=(0,r.jsx)(l.m.div,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"col-span-10 800:col-start-2 800:col-span-6",children:(0,r.jsx)("div",{className:"rich-text line-break mobile-body--medium 800:body--small",children:(0,r.jsx)(a.default,{blocks:t,serializers:er.default})})}),d=i&&(0,r.jsx)(l.m.div,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"col-span-10 800:col-start-9 800:col-span-6",children:(0,r.jsx)("div",{className:"rich-text line-break mobile-body--medium 800:body--small",children:(0,r.jsx)(a.default,{blocks:i,serializers:er.default})})});return(0,r.jsxs)(l.m.section,{ref:s,variants:et.CONTAINER_DELAY_VARIANT,initial:"hidden",animate:o?"show":"hidden",className:"grid-padding site-grid my-42 800:my-80 1200:my-120 gap-y-12",children:[c,u,d]})},projectImageAndText:({description:e,image:t})=>{let s=(0,n.useRef)(null),o=(0,ee.useInView)(s,{amount:.1,once:!0});return(0,r.jsxs)(l.m.section,{ref:s,variants:et.CONTAINER_DELAY_VARIANT,initial:"hidden",animate:o?"show":"hidden",className:"flex flex-col 800:flex-row items-center gap-y-40 relative",children:[(0,r.jsx)(l.m.div,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"w-full 800:w-1/2",children:(0,r.jsx)(i.default,{alt:t.alt||"Handcar",src:{url:t.url,w:1e3},sizes:"(min-width: 800px) 50vw, 100vw",lqip:t.lqip,imgProps:{className:"w-full h-full object-contain 800:max-h-full-screen--project"}})}),(0,r.jsx)("div",{className:"grid-padding site-grid my-42 800:my-80 1200:my-120 gap-y-40 800:absolute 800:inset-0",children:(0,r.jsx)(l.m.div,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"col-span-7 col-start-2 800:col-start-9 800:col-span-8 1000:col-span-6 1000:col-start-9 flex flex-col justify-center",children:(0,r.jsx)("div",{className:"rich-text line-break mobile-body--medium 1000:body--small",children:(0,r.jsx)(a.default,{blocks:e,serializers:er.default})})})})]})},projectStats:({label:e="The Result",title:t,stats:i})=>{let s=(0,n.useRef)(null),a=(0,ee.useInView)(s,{amount:.1,once:!0});return(0,r.jsxs)(l.m.section,{ref:s,variants:et.CONTAINER_DELAY_VARIANT,initial:"hidden",animate:a?"show":"hidden",className:"grid-padding site-grid my-60 800:my-80 1200:my-120 gap-y-40",children:[(0,r.jsxs)(l.m.div,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"col-span-10 800:col-span-15 1000:col-span-13 1000:col-start-2 1500:col-span-11 1500:col-start-3",children:[(0,r.jsx)("p",{className:"mobile-subhead 800:subhead",children:e}),(0,r.jsx)("p",{className:"font-700 text-36 leading-40 1000:text-49 1000:-tracking-4 mt-10 800:mt-20",children:t})]}),(0,r.jsx)("div",{className:"col-span-10 800:col-span-15 1000:col-span-13 1000:col-start-2 1500:col-span-11 1500:col-start-3 flex flex-col gap-40 800:gap-30",children:i.map(({_key:e,label:t,value:n},i)=>
1(0,r.jsxs)(l.m.div,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"site-grid w-full items-center",children:[(0,r.jsx)("p",{className:"col-span-10 800:col-span-9 900:col-span-8 font-huben text-57 600:text-66  1600:text-86",children:(0,r.jsx)(tJ,{title:n,index:i,start:a})}),(0,r.jsx)("p",{className:"col-span-10 800:col-span-6 900:col-span-7 text-16 leading-26 tracking-6 800:text-25 800:leading-32 800:tracking-6 uppercase",children:t})]},e))})]})},projectImageAndTextCard:({image:e,color:t,title:s})=>{let a=(0,n.useRef)(null),o=(0,ee.useInView)(a,{amount:.1,once:!0});return(0,r.jsxs)(l.m.section,{ref:a,variants:et.CONTAINER_DELAY_VARIANT,initial:"hidden",animate:o?"show":"hidden",className:"flex flex-col 800:flex-row px-10 800:px-24 gap-10 800:gap-24 my-42 800:my-80 1200:my-120",children:[(0,r.jsx)(l.m.div,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"w-full 800:w-1/2",children:(0,r.jsx)("div",{className:"w-full rounded-30 800:rounded-50 h-0 pt-[100%] relative overflow-hidden",children:(0,r.jsx)(i.default,{alt:e.alt||"Handcar",src:{url:e.url,w:1200},sizes:"(min-width: 800px) 50vw, 100vw",lqip:e.lqip,imgProps:{className:"w-full h-full block object-cover absolute inset-0 rounded-30 800:rounded-50"}})})}),(0,r.jsx)(l.m.div,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"w-full 800:w-1/2 ",children:(0,r.jsx)("div",{style:{backgroundColor:t},className:"w-full rounded-30 800:rounded-50 h-0 pt-[100%] relative",children:(0,r.jsx)("div",{className:"absolute inset-0 flex flex-col justify-center items-center p-50",children:(0,r.jsx)("p",{className:"text-white font-700 text-38 leading-46 800:text-56 800:leading-normal 1200:text-78 1200:leading-76 text-center",children:s})})})})]})},projectImageCards:({image1:e,image2:t})=>{let s=(0,n.useRef)(null),a=(0,ee.useInView)(s,{amount:.1,once:!0});return(0,r.jsxs)(l.m.section,{ref:s,variants:et.CONTAINER_DELAY_VARIANT,initial:"hidden",animate:a?"show":"hidden",className:"flex flex-col 800:flex-row px-10 800:px-24 gap-10 800:gap-24 my-42 800:my-80 1200:my-120",children:[(0,r.jsx)(l.m.div,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"w-full 800:w-1/2",children:(0,r.jsx)("div",{className:"w-full rounded-30 800:rounded-50 h-0 pt-[100%] relative overflow-hidden",children:(0,r.jsx)(i.default,{alt:e.alt||"Handcar",src:{url:e.url,w:1200},sizes:"(min-width: 800px) 50vw, 100vw",lqip:e.lqip,imgProps:{className:"w-full h-full block object-cover absolute inset-0 rounded-30 800:rounded-50"}})})}),(0,r.jsx)(l.m.div,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"w-full 800:w-1/2",children:(0,r.jsx)("div",{className:"w-full rounded-30 800:rounded-50 h-0 pt-[100%] relative overflow-hidden",children:(0,r.jsx)(i.default,{alt:t.alt||"Handcar",src:{url:t.url,w:1200},sizes:"(min-width: 800px) 50vw, 100vw",lqip:t.lqip,imgProps:{className:"w-full h-full block object-cover absolute inset-0 rounded-30 800:rounded-50"}})})})]})},projectColorTextBlock:({font:e,color:t,description:i,hubenDescription:s})=>{let o=(0,n.useRef)(null),c=(0,ee.useInView)(o,{amount:.1,once:!0});return(0,r.jsx)(l.m.section,{ref:o,variants:et.CONTAINER_DELAY_VARIANT,initial:"hidden",animate:c?"show":"hidden",className:"px-10 800:px-24 my-42 800:my-80",children:(0,r.jsx)(l.m.div,{style:{backgroundColor:t},variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"w-full rounded-30 800:rounded-40  1200:my-120 1200:px-100 relative h-0 pt-[100%] 800:pt-[50%] px-10 800:px-24",children:(0,r.jsx)("div",{className:(0,en.default)("flex flex-col justify-center items-center py-42 px-20 800:py-80 800:px-40 1200:px-80 1200:py-120 font-700 rich-text text-white 800:text-80 800:leading-96 1200:text-110 1200:leading-110 text-center absolute inset-0 w-full h-full",{"text-65 leading-55":"huben"!==e,"text-38 leading-40  font-huben uppercase tracking-20":"huben"===e}),children:(0,r.jsx)(a.default,{blocks:"huben"===e?s:i,serializers:er.default})})})})},projectImage:tQ.default,projectImages:({list:e})=>{let t=(0,n.useRef)(null),s=(0,ee.useInView)(t,{amount:.1,once:!0});return(0,r.jsx)(l.m.section,{ref:t,variants:et.CONTAINER_DELAY_VARIANT,initial:"hidden",animate:s?"show":"hidden",className:"grid-padding site-grid my-60 800:my-80 1200:my-120 gap-y-40 ",children:e.map(({_key:e,alt:t,url:n,lqip:s},a)=>
1(0,r.jsx)(l.m.div,{variants:et.IMAGE_VARIANT,transition:et.TRANSITION,className:(0,en.default)("",{"z-2 col-span-6 800:col-span-4 800:translate-y-1/4":0===a,"z-3 col-span-5 col-start-5 -mt-[100%] 800:col-span-4 800:col-start-4 800:-mt-[75%] 800:self-end":1===a,"z-2 col-span-6 col-start-2 -mt-[66%] 800:col-span-5 800:col-start-6 800:-mt-0 800:row-start-1":2===a,"z-1 col-span-7  col-start-4 -mt-[50%] 800:col-span-5 800:col-start-11 800:mt-0 800:translate-y-1/3 800:row-start-1":3===a}),children:(0,r.jsx)(i.default,{alt:t||"Handcar",src:{url:n,w:800},sizes:"(min-width: 800px) 35vw, 70vw",lqip:s,imgProps:{className:"h-full w-full rounded-30 800:rounded-40"}})},e))})},projectImageGrid:({list:e})=>{let t=(0,n.useRef)(null),s=(0,ee.useInView)(t,{amount:.1,once:!0});return(0,r.jsx)(l.m.section,{ref:t,variants:et.CONTAINER_DELAY_VARIANT,initial:"hidden",animate:s?"show":"hidden",className:"grid-padding site-grid my-60 800:my-80 1200:my-120 gap-y-40 800:gap-y-64",children:e.map(({_key:e,alt:t,url:n,lqip:s},a)=>(0,r.jsx)(l.m.div,{variants:et.IMAGE_VARIANT,transition:et.TRANSITION,className:(0,en.default)("col-span-5 800:col-span-3",{"800:col-start-1":0===a||4===a||8===a,"800:col-start-5":1===a||5===a||9===a,"800:col-start-9":2===a||6===a||10===a,"800:col-start-13":3===a||7===a||11===a}),children:(0,r.jsx)(i.default,{alt:t||"Handcar",src:{url:n,w:800},sizes:"(min-width: 800px) 20vw, 45vw",lqip:s,imgProps:{className:"w-full h-auto block"}})},e))})},projectMobileAssets:({backgroundColor:e,assets:t})=>{let i=(0,n.useRef)(null),s=(0,ee.useInView)(i,{amount:.1,once:!0});return(0,r.jsx)(l.m.section,{ref:i,variants:et.CONTAINER_DELAY_VARIANT,initial:"hidden",animate:s?"show":"hidden",style:{backgroundColor:e},className:"my-60 800:my-80 1200:my-120 py-60 800:py-80 1200:py-120 gap-y-40",children:(0,r.jsx)("div",{className:"grid-padding",children:(0,r.jsx)("div",{className:"px-18 800:px-38 grid grid-cols-2 800:grid-cols-4 gap-38",children:t.map(({_key:e,...t})=>(0,r.jsx)(l.m.div,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"col-span-1",children:(0,r.jsx)(t0,{...t})},e))})})})},singleVideo:({iphoneMask:e,showControls:t,video:s,poster:a})=>{let o=(0,n.useRef)(null),c=(0,ee.useInView)(o,{amount:.225,once:!0});return(0,r.jsx)(l.m.section,{ref:o,variants:et.CONTAINER_DELAY_VARIANT,initial:"hidden",animate:c?"show":"hidden",className:"grid-padding site-grid my-66 800:my-80 1200:my-180",children:(0,r.jsxs)(l.m.div,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"col-span-10 800:col-span-11 800:col-start-3 flex justify-center items-center max-h-800",children:[e&&(0,r.jsx)("div",{className:"w-full max-w-296 max-h-800 object-contain mx-auto bg-black border-4 border-solid border-black rounded-24 800:rounded-26 1000:rounded-28 1200:rounded-36 1400:rounded-46  overflow-hidden ",children:(0,r.jsx)("div",{className:"phone",children:(0,r.jsx)(ei.default,{video:s,poster:a,posterWidth:640,autoplay:!t,lazyOnScroll:!0})})}),!e&&(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(i.default,{alt:a.alt||"Handcar",src:{url:a.url,w:1e3},sizes:"(min-width: 1200px) 900px, (min-width: 800px) 75vw, 100vw",lqip:a.lqip,imgProps:{className:"w-full max-w-900 max-h-800 object-contain mx-auto"}}),(0,r.jsx)(ei.default,{video:s,poster:a,posterWidth:1200,autoplay:!t,lazyOnScroll:!0,className:"absolute inset-0 h-full w-full object-cover",videoClassName:"absolute inset-0 h-full w-full object-cover"})]})]})})},videoAndText:({iphoneMask:e,showControls:t,video:s,poster:o,description:c})=>{let u=(0,n.useRef)(null),d=(0,ee.useInView)(u,{amount:.225,once:!0}),f=(0,r.jsxs)(l.m.div,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"col-span-10 800:col-span-8 flex justify-center items-center max-h-800",children:[e&&(0,r.jsx)("div",{className:"w-full max-w-296 max-h-800 object-contain mx-auto bg-black border-4 border-solid border-black rounded-24 800:rounded-26 1000:rounded-28 1200:rounded-36 1400:rounded-46  overflow-hidden ",children:(0,r.jsx)("div",{className:"phone",children:(0,r.jsx)(ei.default,{video:s,poster:o,posterWidth:640,autoplay:!t,lazyOnScroll:!0,
1className:"absolute inset-0 h-full w-full object-cover",videoClassName:"absolute inset-0 h-full w-full object-cover"})})}),!e&&(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(i.default,{alt:o.alt||"Handcar",src:{url:o.url,w:1e3},sizes:"(min-width: 800px) 55vw, 100vw",lqip:o.lqip,imgProps:{className:"w-full max-w-900 max-h-800 object-contain mx-auto"}}),(0,r.jsx)(ei.default,{video:s,poster:o,posterWidth:1200,autoplay:!t,lazyOnScroll:!0,className:"absolute inset-0 h-full w-full object-cover",videoClassName:"absolute inset-0 h-full w-full object-cover"})]})]}),m=(0,r.jsx)(l.m.div,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:"col-span-8 col-start-2 800:col-span-6 800:col-start-10 flex flex-col justify-center",children:(0,r.jsx)("div",{className:"rich-text line-break mobile-body--medium 800:body--small",children:(0,r.jsx)(a.default,{blocks:c,serializers:er.default})})});return(0,r.jsxs)(l.m.section,{ref:u,variants:et.CONTAINER_DELAY_VARIANT,initial:"hidden",animate:d?"show":"hidden",className:"grid-padding site-grid my-66 800:my-80 1200:my-180",children:[f,m]})},twoVideos:({list:e})=>{let t=(0,n.useRef)(null),s=(0,ee.useInView)(t,{amount:.225,once:!0});return(0,r.jsx)(l.m.section,{ref:t,variants:et.CONTAINER_DELAY_VARIANT,initial:"hidden",animate:s?"show":"hidden",className:"grid-padding site-grid gap-y-42 my-66 800:my-80 1200:my-180",children:e.map(({_key:e,iphoneMask:t,showControls:n,video:s,poster:a},o)=>(0,r.jsxs)(l.m.div,{variants:et.LIST_ITEM_VARIANT,transition:et.TRANSITION,className:(0,en.default)("col-span-8 col-start-2 800:col-span-6 flex justify-center items-center max-h-550",{"800:col-start-2":0===o,"800:col-start-9":1===o}),children:[t&&(0,r.jsx)("div",{className:"w-full max-w-296 max-h-550 object-contain mx-auto bg-black border-4 border-solid border-black rounded-24 800:rounded-26 1000:rounded-28 1200:rounded-36 1400:rounded-46  overflow-hidden ",children:(0,r.jsx)("div",{className:"phone ",children:(0,r.jsx)(ei.default,{video:s,poster:a,posterWidth:640,autoplay:!n,lazyOnScroll:!0,className:"absolute inset-0 h-full w-full object-cover",videoClassName:"absolute inset-0 h-full w-full object-cover"})})}),!t&&(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(i.default,{alt:a.alt||"Handcar",src:{url:a.url,w:1e3},sizes:"(min-width: 800px) 45vw, 90vw",lqip:a.lqip,imgProps:{className:"w-full max-w-900 max-h-550 object-contain mx-auto"}}),(0,r.jsx)(ei.default,{video:s,poster:a,posterWidth:1e3,autoplay:!n,lazyOnScroll:!0,className:"absolute inset-0 h-full w-full object-cover",videoClassName:"absolute inset-0 h-full w-full object-cover"})]})]},e))})}};e.s(["default",0,({components:e=[]})=>{let t=e?.map((e,t)=>{let n=t1[e._type];return(0,r.jsx)(n,{index:t,...e},e._key)});return(0,r.jsx)(n.Fragment,{children:t})}],736206)}]);

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.