1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,1299,e=>{"use strict";function t(e,t){let i=document.createElement("div");i.style.cssText="position:absolute;visibility:hidden;pointer-events:none;inline-size:"+t,e.appendChild(i);let n=i.getBoundingClientRect().width;return i.remove(),n}function i(e){return t(e,"var(--module)")}e.s(["modulePx",0,i,"probeLength",0,t,"snapFlowMargin",0,function(e){let t=i(e);if(!t)return;let n=((1-(e.getBoundingClientRect().top+window.scrollY+e.offsetHeight)%t)%t+t)%t;n<2&&(n+=t),e.style.marginBlockEnd=`${n}px`},"snapPinDistance",0,function(e,t,n){let o=i(e);return o?Math.ceil((t+n)/o)*o-t:n}])},10346,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={assign:function(){return a},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return s}};for(var o in n)Object.defineProperty(i,o,{enumerable:!0,get:n[o]});function r(e){let t={};for(let[i,n]of e.entries()){let e=t[i];void 0===e?t[i]=n:Array.isArray(e)?e.push(n):t[i]=[e,n]}return t}function l(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function s(e){let t=new URLSearchParams;for(let[i,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(i,l(e));else t.set(i,l(n));return t}function a(e,...t){for(let i of t){for(let t of i.keys())e.delete(t);for(let[t,n]of i.entries())e.append(t,n)}return e}},78538,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={DecodeError:function(){return v},MiddlewareNotFoundError:function(){return b},MissingStaticPage:function(){return w},NormalizeError:function(){return g},PageNotFoundError:function(){return y},SP:function(){return f},ST:function(){return _},WEB_VITALS:function(){return r},execOnce:function(){return l},getDisplayName:function(){return d},getLocationOrigin:function(){return c},getURL:function(){return u},isAbsoluteUrl:function(){return a},isResSent:function(){return h},loadGetInitialProps:function(){return m},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return S}};for(var o in n)Object.defineProperty(i,o,{enumerable:!0,get:n[o]});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function l(e){let t,i=!1;return(...n)=>(i||(i=!0,t=e(...n)),t)}let s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,a=e=>s.test(e);function c(){let{protocol:e,hostname:t,port:i}=window.location;return`${e}//${t}${i?":"+i:""}`}function u(){let{href:e}=window.location,t=c();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function h(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function m(e,t){let i=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await m(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(i&&h(i))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let f="u">typeof performance,_=f&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class v extends Error{}class g extends Error{}class y extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class w extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function S(e){return JSON.stringify({message:e.message,stack:e.stack})}},82435,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},96888,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={formatUrl:function(){return s},formatWithValidation:function(){return c},urlObjectKeys:function(){return a}};for(var o in n)Object.defineProperty(i,o,{enumerable:!0,get:n[o]});let r=e.r(44066)._(e.r(10346)),l=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:i}=e,n=e.protocol||"",o=e.pathname||"",s=e.hash||"",a=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:i&&(c=t+(~i.indexOf(":")?`[${i}]`:i),e.port&&(c+=":"+e.port)),a&&"object"==typeof a&&(a=String(r.urlQueryToSearchParams(a)));let u=e.search||a&&`?${a}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||l.test(n))&&!1!==c?(c="//"+(c||""),o&&"/"!==o[0]&&(o="/"+o)):c||(c=""),s&&"#"!==s[0]&&(s="#"+s),u&&"?"!==u[0]&&(u="?"+u),o=o.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),`${n}${c}${o}${u}${s}`}let a=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return s(e)}},75855,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(55967);function o(e,t){let i=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=i.current;e&&(i.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(i.current=r(e,n)),t&&(o.current=r(t,n))},[e,t])}function r(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let i=e(t);return"function"==typeof i?i:()=>e(null)}}("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esMo
1dule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},61802,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"isLocalURL",{enumerable:!0,get:function(){return r}});let n=e.r(78538),o=e.r(38330);function r(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),i=new URL(e,t);return i.origin===t&&(0,o.hasBasePath)(i.pathname)}catch(e){return!1}}},78686,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},88813,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={default:function(){return v},useLinkStatus:function(){return y}};for(var o in n)Object.defineProperty(i,o,{enumerable:!0,get:n[o]});let r=e.r(44066),l=e.r(46400),s=r._(e.r(55967)),a=e.r(96888),c=e.r(93811),u=e.r(75855),d=e.r(78538),h=e.r(53252);e.r(82435);let p=e.r(48610),m=e.r(88862),f=e.r(61802),_=e.r(97267);function v(t){var i,n;let o,r,v,[y,w]=(0,s.useOptimistic)(m.IDLE_LINK_STATUS),b=(0,s.useRef)(null),{href:S,as:E,children:x,prefetch:N=null,passHref:T,replace:C,shallow:P,scroll:k,onClick:R,onMouseEnter:L,onTouchStart:j,legacyBehavior:O=!1,onNavigate:q,transitionTypes:F,ref:z,unstable_dynamicOnHover:M,...$}=t;o=x,O&&("string"==typeof o||"number"==typeof o)&&(o=(0,l.jsx)("a",{children:o}));let B=s.default.useContext(c.AppRouterContext),A=!1!==N,I=!1!==N?null===(n=N)||"auto"===n?_.FetchStrategy.PPR:_.FetchStrategy.Full:_.FetchStrategy.PPR,D="string"==typeof(i=E||S)?i:(0,a.formatUrl)(i);if(O){if(o?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});r=s.default.Children.only(o)}let W=O?r&&"object"==typeof r&&r.ref:z,H=s.default.useCallback(e=>(null!==B&&(b.current=(0,m.mountLinkInstance)(e,D,B,I,A,w)),()=>{b.current&&((0,m.unmountLinkForCurrentNavigation)(b.current),b.current=null),(0,m.unmountPrefetchableInstance)(e)}),[A,D,B,I,w]),G={ref:(0,u.useMergedRef)(H,W),onClick(t){O||"function"!=typeof R||R(t),O&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(t),!B||t.defaultPrevented||function(t,i,n,o,r,l,a){if("u">typeof window){let c,{nodeName:u}=t.currentTarget;if("A"===u.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,f.isLocalURL)(i)){o&&(t.preventDefault(),location.replace(i));return}if(t.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(1044);s.default.startTransition(()=>{d(i,o?"replace":"push",!1===r?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,a)})}}(t,D,b,C,k,q,F)},onMouseEnter(e){O||"function"!=typeof L||L(e),O&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),B&&A&&(0,m.onNavigationIntent)(e.currentTarget,!0===M)},onTouchStart:function(e){O||"function"!=typeof j||j(e),O&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),B&&A&&(0,m.onNavigationIntent)(e.currentTarget,!0===M)}};return(0,d.isAbsoluteUrl)(D)?G.href=D:O&&!T&&("a"!==r.type||"href"in r.props)||(G.href=(0,h.addBasePath)(D)),v=O?s.default.cloneElement(r,G):(0,l.jsx)("a",{...$,...G,children:o}),(0,l.jsx)(g.Provider,{value:y,children:v})}e.r(78686);let g=(0,s.createContext)(m.IDLE_LINK_STATUS),y=()=>(0,s.useContext)(g);("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},53342,(e,t,i)=>{t.exports=e.r(3549)},73650,e=>{"use strict";let t="We use these details to reply to you. We do not share them with anyone else.",i="document",n=[{kind:"text",name:"name",label:"Name",autoComplete:"name"},{kind:"text",name:"company",label:"Company",autoComplete:"organization"},{kind:"email",name:"email",label:"Work email",autoComplete:"email"}],o=[{kind:"text",name:i,label:"Document",readOnly:!0}
1,...n,{kind:"textarea",name:"reason",label:"Reason",rows:4}],r={contact:{eyebrow:"Get in touch",heading:"Contact us",deck:"Tell us what you need and we will come back to you.",fields:[{kind:"text",name:"name",label:"Full name",autoComplete:"name"},{kind:"text",name:"company",label:"Company",autoComplete:"organization"},{kind:"email",name:"email",label:"Work email",autoComplete:"email"},{kind:"phone",name:"phone",label:"Phone",optional:!0},{kind:"choice",name:"topics",label:"Topic of interest",optional:!0,requiredMessage:"Choose at least one topic.",options:[{value:"data-center",label:"Data Center"},{value:"ev-platform",label:"EV Platform"},{value:"industrial-ai",label:"Physical AI"}]},{kind:"textarea",name:"message",label:"Message",rows:4}],submit:"Send message",privacy:t},demo:{eyebrow:"Product demo",heading:"Request a demo",deck:"Tell us a little about your team and we will set up a walkthrough.",fields:[{kind:"text",name:"name",label:"Full name",autoComplete:"name"},{kind:"text",name:"company",label:"Company",autoComplete:"organization"},{kind:"text",name:"role",label:"Title or role",autoComplete:"organization-title"},{kind:"email",name:"email",label:"Work email",autoComplete:"email"}],submit:"Request a demo",privacy:t},"resource-free-industrial-ai":{eyebrow:"Get free access",heading:"Get free access",deck:"Enter your details below to download this document.",fields:n,submit:"Get free access",privacy:t},"resource-free-data-center":{eyebrow:"Get free access",heading:"Get free access",deck:"Enter your details below to download this document.",fields:n,submit:"Get free access",privacy:t},"resource-request-industrial-ai":{eyebrow:"Request access",heading:"Request access",deck:"Tell us why you need access and weâll get back to you.",fields:o,submit:"Submit request",privacy:t},"resource-request-data-center":{eyebrow:"Request access",heading:"Request access",deck:"Tell us why you need access and weâll get back to you.",fields:o,submit:"Submit request",privacy:t}},l=Object.fromEntries(Object.entries(r).map(([e,t])=>[e,{...t,name:e}]));Object.keys(r),e.s(["DOCUMENT_FIELD",0,i,"PANEL_VARIANTS",0,l,"PHONE_COUNTRIES",0,[{code:"AU",dial:"+61",name:"Australia"},{code:"AT",dial:"+43",name:"Austria"},{code:"BE",dial:"+32",name:"Belgium"},{code:"BR",dial:"+55",name:"Brazil"},{code:"CA",dial:"+1",name:"Canada"},{code:"CL",dial:"+56",name:"Chile"},{code:"CN",dial:"+86",name:"China"},{code:"DK",dial:"+45",name:"Denmark"}
1,{code:"FI",dial:"+358",name:"Finland"},{code:"FR",dial:"+33",name:"France"},{code:"DE",dial:"+49",name:"Germany"},{code:"HK",dial:"+852",name:"Hong Kong"},{code:"IN",dial:"+91",name:"India"},{code:"ID",dial:"+62",name:"Indonesia"},{code:"IE",dial:"+353",name:"Ireland"},{code:"IL",dial:"+972",name:"Israel"},{code:"IT",dial:"+39",name:"Italy"},{code:"JP",dial:"+81",name:"Japan"},{code:"MY",dial:"+60",name:"Malaysia"},{code:"MX",dial:"+52",name:"Mexico"},{code:"NL",dial:"+31",name:"Netherlands"},{code:"NZ",dial:"+64",name:"New Zealand"},{code:"NO",dial:"+47",name:"Norway"},{code:"PH",dial:"+63",name:"Philippines"},{code:"PL",dial:"+48",name:"Poland"},{code:"PT",dial:"+351",name:"Portugal"},{code:"QA",dial:"+974",name:"Qatar"},{code:"SA",dial:"+966",name:"Saudi Arabia"},{code:"SG",dial:"+65",name:"Singapore"},{code:"ZA",dial:"+27",name:"South Africa"},{code:"KR",dial:"+82",name:"South Korea"},{code:"ES",dial:"+34",name:"Spain"},{code:"SE",dial:"+46",name:"Sweden"},{code:"CH",dial:"+41",name:"Switzerland"},{code:"TW",dial:"+886",name:"Taiwan"},{code:"TH",dial:"+66",name:"Thailand"},{code:"AE",dial:"+971",name:"United Arab Emirates"},{code:"GB",dial:"+44",name:"United Kingdom"},{code:"US",dial:"+1",name:"United States"},{code:"VN",dial:"+84",name:"Vietnam"}],"PHONE_COUNTRY_DEFAULT",0,"US"])},50298,e=>{"use strict";var t=e.i(46400),i=e.i(53342),n=e.i(55967);let o=(0,n.createContext)(null);e.s(["default",0,function({children:e}){let[r,l]=(0,n.useState)(null),s=(0,n.useRef)(null),a=(0,i.usePathname)(),c=(0,n.useCallback)(e=>{let t=document.activeElement;s.current=t instanceof HTMLElement?t:null,l(e)},[]),u=(0,n.useCallback)(()=>l(null),[]),[d,h]=(0,n.useState)(a);d!==a&&(h(a),r&&l(null)),(0,n.useEffect)(()=>()=>void(s.current=null),[]);let p=(0,n.useMemo)(()=>({request:r,open:c,close:u,openerRef:s}),[r,c,u]);return(0,t.jsx)(o.Provider,{value:p,children:e})},"usePanel",0,function(){return(0,n.useContext)(o)}])},40149,e=>{"use strict";var t=e.i(50298);e.s(["usePanelTrigger",0,function(e){let i=(0,t.usePanel)();return{onClick:t=>{!i||t.defaultPrevented||0!==t.button||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||(t.preventDefault(),i.open(e))},"aria-haspopup":"dialog"}}])},2768,e=>{"use strict";let t=new Set,i="idle";e.s(["getRoutePhase",0,function(){return i},"getRoutePhaseServerSnapshot",0,function(){return"idle"},"isRouteChanging",0,function(){return"idle"!==i},"setRoutePhase",0,function(e){if(e!==i)for(let n of(i=e,t))n()},"subscribeRoutePhase",0,function(e){return t.add(e),()=>{t.delete(e)}}])},92894,e=>{"use strict";let t=new Set,i=new Set,n=new Set;function o(e,o){if("u"<typeof document||o===t.has(e))return;o?t.add(e):t.delete(e);let r=document.documentElement,l=t.size>0?"accent":"page";r.dataset.navField!==l&&(i.forEach(e=>e()),r.dataset.navField=l,n.forEach(e=>e()))}let r={bottom:0,menuTop:1/0},l=new Set;e.s(["claimNavField",0,o,"getNavZone",0,function(){return r},"isNavFieldClaimed",0,function(e){return t.has(e)},"onNavFieldDidChange",0,function(e){return n.add(e),()=>n.delete(e)},"onNavFieldWillChange",0,function(e){return i.add(e),()=>i.delete(e)},"onNavZoneChange",0,function(e){return l.add(e),()=>l.delete(e)},"publishNavZone",0,function(e){.5>Math.abs(e.bottom-r.bottom)&&(e.menuTop===r.menuTop||.5>Math.abs(e.menuTop-r.menuTop))||(r=e,l.forEach(e=>e()))},"releaseNavField",0,function(e){o(e,!1)}])},74057,e=>{"use strict";let t=new Set,i=["pointerleave","mouseleave"],n=["pointerout","mouseout"];function o(e,t){let i={bubbles:t,cancelable:!1,relatedTarget:null,view:window};return e.startsWith("pointer")&&"function"==typeof PointerEvent?new PointerEvent(e,{...i,pointerType:"mouse",isPrimary:!0}):new MouseEvent(e,i)}e.s(["onRouteReset",0,function(e){return t.add(e),()=>{t.delete(e)}},"resetControlsForRoute",0,function(){if("u">typeof document){let e=[...document.querySelectorAll(":hover")].reverse();if(0!==e.length){for(let t of e)for(let e of i)t.dispatchEvent(o(e,!1));for(let t of n)e[0].dispatchEvent(o(t,!0))}for(let e of[...t])e()}}])},82036,e=>{e.v({invert_hover_disc:"InvertHover-module__Wxb4DG__invert_hover_disc",invert_hover_disc_inverted:"InvertHover-module__Wxb4DG__invert_hover_disc_inverted",invert_hover_disc_resting:"InvertHover-module__Wxb4DG__invert_hover_disc_resting",invert_hover_face:"InvertHover-module__Wxb4DG__invert_hover_face",invert_hover_root:"InvertHover-module__Wxb4DG__invert_hover_root"})},15837,e=>{"use strict";var t=e.i(46400),i=e.i(55967);e.i(65506);var n=e.i(32919),o=e.i(85007),r=e.i(42295),l=e.i(92894),s=e.i(74057),a=e.i(82036);let c="circle(0% at 50% 50%)";e.s(["default",0,function({children:e,active:u=!1,enabled:d=!0,fieldAware:h=!1}){let p=(0,i.useRef)(null),m=(0,i.useRef)(!1),f=(0,i.useRef)(u),_=(0,i.useRef)(d),v=(0,i.useRef)(()=>{}),g=(0,i.useRef)(()=>{});return(0,o.useGSAP)(()=>{let e=p.current,t=e?.parentElement;if(!e||!t)return;let i=e.querySelector(`.${a.default.invert_hover_disc_inverted}`),o=e.querySelector(`.${a.default.invert_hover_disc_resting}`);if(!i||!o)return;let l=[i,o],u=(0,r.prefersReducedMotion)(),d=!1,h=null,y=0,w=null,b=()=>_.current&&(m.current||f.current);t.dataset.inverted="false";let S=e=>{d=e,h=null,t.dataset.inverted=String(e),w?.kill(),w=null,t.style.backgroundColor="",t.style.color="",n.gsap.killTweensOf(l),n.gsap.set(l,{clipPath:c})},E=e=>{if(u)return void S(e);n.gsap.killTweensOf(l),h=e;let t=e?i:o;t.style.zIndex=String(y+=1),n.gsap.fromTo(t,{clipPath:c},{clipPath:"circle(100% at 50% 50%)",duration:r.DURATION.base,ease:r.EASE.loader,overwrite:!0,onComplete:()=>{S(e),x()}})},x=()=>{let e=b();if(null!==h){h!==e&&E(e);return}e!==d&&E(e)};v.current=x;let N=e=>getComputedStyle(t).getPropertyValue(e).trim();g.current=()=>{if(b())return void E(b());if(u)return void S(d);let e=N("--invert-rest-bg"),i=N("--invert-rest-fg");n.gsap.killTweensOf(t,"backgroundColor"),n.gsap.to(t,{backgroundColor:e,duration:r.DURATION.fast,ease:r.EASE.out,overwrite:"auto",onComplete:()=>S(d)}),w?.kill(),w=n.gsap.delayedCall(.05,()=>{t.style.color=i,w=null})};let T=()=>{_.current&&(m.current=!0,x())},C=()=>{m.current=!1,x()},P=()=>{m.current||T()},k=()=>{t.matches(":focus-visible")&&T()};t.addEventListener("pointerenter",T),t.addEventListener("pointermove",P),t.addEventListener("pointerleave",C),t.addEventListener("focus",k),t.addEventListener("blur",C);let R=(0,s.onRouteReset)(()=>{n.gsap.killTweensOf(l),n.gsap.killTweensOf(t,"backgroundColor"),m.current=t.matches(":focus-visible"),S(b())});return x(),()=>{R(),t.removeEventListener("pointerenter",T),t.removeEventListener("pointermove",P),t.removeEventListener("pointerleave",C),t.removeEventListener("focus",k),t.removeEventListener("blur",C),v.current=()=>{},g.current=()=>{}}},{scope:p}),(0,i.useEffect)(()=>
1{if(!h)return;let e=p.current?.parentElement;if(!e)return;let t=(0,l.onNavFieldWillChange)(()=>{let t=getComputedStyle(e);e.style.backgroundColor=t.backgroundColor,e.style.color=t.color}),i=(0,l.onNavFieldDidChange)(()=>g.current());return()=>{t(),i()}},[h]),(0,i.useEffect)(()=>{f.current=u,_.current=d,d||(m.current=!1),v.current()},[u,d]),(0,t.jsxs)("span",{ref:p,className:a.default.invert_hover_root,"data-motion":r.PATTERN.buttonInvertHover,children:[(0,t.jsx)("span",{className:a.default.invert_hover_face,children:e}),(0,t.jsx)("span",{className:`${a.default.invert_hover_disc} ${a.default.invert_hover_disc_inverted}`,"aria-hidden":"true",children:(0,t.jsx)("span",{className:a.default.invert_hover_face,children:e})}),(0,t.jsx)("span",{className:`${a.default.invert_hover_disc} ${a.default.invert_hover_disc_resting}`,"aria-hidden":"true",children:(0,t.jsx)("span",{className:a.default.invert_hover_face,children:e})})]})}])},90295,e=>{"use strict";var t=e.i(46400);e.s(["default",0,function({className:e}){return(0,t.jsx)("svg",{className:e,viewBox:"0 0 56.629 56.629",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:(0,t.jsx)("path",{d:"M53.2957 0C54.1798 0 55.0276 0.35119 55.6527 0.976311C56.2779 1.60143 56.629 2.44928 56.629 3.33333V40L56.5624 40.68C56.4086 41.4334 55.9991 42.1104 55.4033 42.5964C54.8074 43.0824 54.0619 43.3475 53.293 43.3467C52.5241 43.3459 51.7791 43.0793 51.1842 42.5921C50.5894 42.1049 50.1813 41.427 50.029 40.6733L49.9624 40V11.38L5.64904 55.6933C5.02037 56.3005 4.17836 56.6365 3.30437 56.6289C2.43038 56.6213 1.59434 56.2708 0.976312 55.6527C0.358285 55.0347 0.00772074 54.1987 0.000126009 53.3247C-0.00746872 52.4507 0.328512 51.6087 0.935706 50.98L45.249 6.66667H16.629C15.745 6.66667 14.8971 6.31548 14.272 5.69036C13.6469 5.06523 13.2957 4.21739 13.2957 3.33333C13.2957 2.44928 13.6469 1.60143 14.272 0.976311C14.8971 0.35119 15.745 0 16.629 0H53.2957Z",fill:"currentColor"})})}])},26537,e=>{"use strict";var t=e.i(46400);e.s(["default",0,function({className:e}){return(0,t.jsxs)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:[(0,t.jsx)("line",{x1:"5",y1:"5",x2:"19",y2:"19",stroke:"currentColor",strokeWidth:"2"}),(0,t.jsx)("line",{x1:"19",y1:"5",x2:"5",y2:"19",stroke:"currentColor",strokeWidth:"2"})]})}])},5192,e=>{"use strict";var t="1.3.25";function i(e,t,i){return Math.max(e,Math.min(t,i))}var n=class{isRunning=!1;value=0;from=0;to=0;currentTime=0;lerp;duration;easing;onUpdate;advance(e){if(!this.isRunning)return;let t=!1;if(this.duration&&this.easing){this.currentTime+=e;let n=i(0,this.currentTime/this.duration,1),o=(t=n>=1)?1:this.easing(n);this.value=this.from+(this.to-this.from)*o}else if(this.lerp){var n,o,r,l;this.value=(n=this.value,o=this.to,r=60*this.lerp,(1-(l=1-Math.exp(-r*e)))*n+l*o),Math.round(this.value)===Math.round(this.to)&&(this.value=this.to,t=!0)}else this.value=this.to,t=!0;t&&this.stop(),this.onUpdate?.(this.value,t)}stop(){this.isRunning=!1}fromTo(e,t,{lerp:i,duration:n,easing:o,onStart:r,onUpdate:l}){this.from=this.value=e,this.to=t,this.lerp=i,this.duration=n,this.easing=o,this.currentTime=0,this.isRunning=!0,r?.(),this.onUpdate=l}},o=class{width=0;height=0;scrollHeight=0;scrollWidth=0;debouncedResize;wrapperResizeObserver;contentResizeObserver;constructor(e,t,{autoResize:i=!0,debounce:n=250}={}){this.wrapper=e,this.content=t,i&&(this.debouncedResize=function(e,t){let i;return function(...n){clearTimeout(i),i=setTimeout(()=>{i=void 0,e.apply(this,n)},t)}}(this.resize,n),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},r=class{events={};emit(e,...t){let i=this.events[e]||[];for(let e=0,n=i.length;e<n;e++)i[e]?.(...t)}on(e,t){return this.events[e]?this.events[e].push(t):this.events[e]=[t],()=>{this.events[e]=this.events[e]?.filter(e=>t!==e)}}off(e,t){this.events[e]=this.events[e]?.filter(e=>t!==e)}destroy(){this.events={}}};let l=100/6,s={passive:!1};function a(e,t){return 1===e?l:2===e?t:1}var c=class{touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new r;constructor(e,t={wheelMultiplier:1,touchMultiplier:1}){this.element=e,this.options=t,window.addEventListener("resize",this.onWindowResize),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,s),this.element.addEventListener("touchstart",this.onTouchStart,s),this.element.addEventListener("touchmove",this.onTouchMove,s),this.element.addEventListener("touchend",this.onTouchEnd,s)}on(e,t){return this.emitter.on(e,t)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize),this.element.removeEventListener("wheel",this.onWheel,s),this.element.removeEventListener("touchstart",this.onTouchStart,s),this.element.removeEventListener("touchmove",this.onTouchMove,s),this.element.removeEventListener("touchend",this.onTouchEnd,s)}onTouchStart=e=>{let{clientX:t,clientY:i}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=t,this.touchStart.y=i,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:e})};onTouchMove=e=>{let{clientX:t,clientY:i}=e.targetTouches?e.targetTouches[0]:e,n=-(t-this.touchStart.x)*this.options.touchMultiplier,o=-(i-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=t,this.touchStart.y=i,this.lastDelta={x:n,y:o},this.emitter.emit("scroll",{deltaX:n,deltaY:o,event:e})};onTouchEnd=e=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:e})};onWheel=e=>{let{deltaX:t,deltaY:i,deltaMode:n}=e,o=a(n,this.window.width),r=a(n,this.window.height);t*=o,i*=r,t*=this.options.wheelMultiplier,i*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:t,deltaY:i,event:e})};onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}}};let u=e=>Math.min(1,1.001-2**(-10*e));var d=class{_isScrolling=!1;_isStopped=!1;_isLocked=!1;_preventNextNativeScrollEvent=!1;_resetVelocityTimeout=null;_rafId=null;_isDraggingSelection=!1;isTouching;isIos;time=0;userData={};lastVelocity=0;velocity=0;direction=0;options;targetScroll;animatedScroll;animate=new n;emitter=new r;dimensions;virtualScroll;constructor({wrapper:e=window,content:i=document.documentElement,eventsTarget:n=e,smoothWheel:r=!0,syncTouch:l=!1,syncTouchLerp:s=.075,touchInertiaExponent:a=1.7,duration:d,easing:h,lerp:p=.1,infinite:m=!1,orientation:f="vertical",gestureOrientation:_="horizontal"===f?"both":"vertical",touchMultiplier:v=1,wheelMultiplier:g=1,autoResize:y=!0,prevent:w,virtualScroll:b,overscroll:S=!0,autoRaf:E=!1,anchors:x=!1,autoToggle:N=!1,allowNestedScroll:T=!1,__experimental__naiveDimensions:C=!1,naiveDimensions:P=C,stopInertiaOnNavigate:k=!1}
1={}){window.lenisVersion=t,window.lenis||(window.lenis={}),window.lenis.version=t,"horizontal"===f&&(window.lenis.horizontal=!0),!0===l&&(window.lenis.touch=!0),this.isIos=/(iPad|iPhone|iPod)/g.test(navigator.userAgent),e&&e!==document.documentElement||(e=window),"number"==typeof d&&"function"!=typeof h?h=u:"function"==typeof h&&"number"!=typeof d&&(d=1),this.options={wrapper:e,content:i,eventsTarget:n,smoothWheel:r,syncTouch:l,syncTouchLerp:s,touchInertiaExponent:a,duration:d,easing:h,lerp:p,infinite:m,gestureOrientation:_,orientation:f,touchMultiplier:v,wheelMultiplier:g,autoResize:y,prevent:w,virtualScroll:b,overscroll:S,autoRaf:E,anchors:x,autoToggle:N,allowNestedScroll:T,naiveDimensions:P,stopInertiaOnNavigate:k},this.dimensions=new o(e,i,{autoResize:y}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.addEventListener("click",this.onClick),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown),this.virtualScroll=new c(n,{touchMultiplier:v,wheelMultiplier:g}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd)),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.removeEventListener("click",this.onClick),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId&&cancelAnimationFrame(this._rafId)}on(e,t){return this.emitter.on(e,t)}off(e,t){return this.emitter.off(e,t)}onScrollEnd=e=>{e instanceof CustomEvent||"smooth"!==this.isScrolling&&!1!==this.isScrolling||e.stopPropagation()};dispatchScrollendEvent=()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))};get overflow(){let e=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[e]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart()}onTransitionEnd=e=>{e.propertyName?.includes("overflow")&&e.target===this.rootElement&&this.checkOverflow()};setScroll(e){this.isHorizontal?this.options.wrapper.scrollTo({left:e,behavior:"instant"}):this.options.wrapper.scrollTo({top:e,behavior:"instant"})}onClick=e=>{let t=e.composedPath().filter(e=>e instanceof HTMLAnchorElement&&e.href).map(e=>new URL(e.href)),i=new URL(window.location.href);if(this.options.anchors){let e=t.find(e=>i.host===e.host&&i.pathname===e.pathname&&e.hash);if(e){let t="object"==typeof this.options.anchors&&this.options.anchors?this.options.anchors:void 0,i=decodeURIComponent(e.hash);this.scrollTo(i,t);return}}if(this.options.stopInertiaOnNavigate&&t.some(e=>i.host===e.host&&i.pathname!==e.pathname))return void this.reset()};onPointerDown=e=>{1===e.button&&this.reset()};isTouchOnSelectionHandle(e){let t=window.getSelection();if(!t||t.isCollapsed||0===t.rangeCount)return!1;let i=e.targetTouches[0]??e.changedTouches[0];if(!i)return!1;let n=t.getRangeAt(0).getClientRects();if(0===n.length)return!1;let o=n[0],r=n[n.length-1],l=40>=Math.hypot(i.clientX-o.left,i.clientY-o.top),s=40>=Math.hypot(i.clientX-r.right,i.clientY-r.bottom);return l||s}onVirtualScroll=e=>{if("function"==typeof this.options.virtualScroll&&!1===this.options.virtualScroll(e))return;let{deltaX:t,deltaY:i,event:n}=e;if(this.emitter.emit("virtual-scroll",{deltaX:t,deltaY:i,event:n}),n.ctrlKey||n.lenisStopPropagation)return;let o=n.type.includes("touch"),r=n.type.includes("wheel");if(o&&this.isIos&&("touchstart"===n.type&&(this._isDraggingSelection=this.isTouchOnSelectionHandle(n)),this._isDraggingSelection)){"touchend"===n.type&&(this._isDraggingSelection=!1);return}this.isTouching="touchstart"===n.type||"touchmove"===n.type;let l=0===t&&0===i;if(this.options.syncTouch&&o&&"touchstart"===n.type&&l&&!this.isStopped&&!this.isLocked)return void this.reset();let s="vertical"===this.options.gestureOrientation&&0===i||"horizontal"===this.options.gestureOrientation&&0===t;if(l||s)return;let a=n.composedPath();a=a.slice(0,a.indexOf(this.rootElement));let c=this.options.prevent,u=Math.abs(t)>=Math.abs(i)?"horizontal":"vertical";if(a.find(e=>e instanceof HTMLElement&&("function"==typeof c&&c?.(e)||e.hasAttribute?.("data-lenis-prevent")||"vertical"===u&&e.hasAttribute?.("data-lenis-prevent-vertical")||"horizontal"===u&&e.hasAttribute?.("data-lenis-prevent-horizontal")||o&&e.hasAttribute?.("data-lenis-prevent-touch")||r&&e.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.hasNestedScroll(e,{deltaX:t,deltaY:i}
1))))return;if(this.isStopped||this.isLocked){n.cancelable&&n.preventDefault();return}if(!(this.options.syncTouch&&o||this.options.smoothWheel&&r)){this.isScrolling="native",this.animate.stop(),n.lenisStopPropagation=!0;return}let d=i;"both"===this.options.gestureOrientation?d=Math.abs(i)>Math.abs(t)?i:t:"horizontal"===this.options.gestureOrientation&&(d=t),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll<this.limit||0===this.animatedScroll&&i>0||this.animatedScroll===this.limit&&i<0))&&(n.lenisStopPropagation=!0),n.cancelable&&n.preventDefault();let h=o&&this.options.syncTouch,p=o&&"touchend"===n.type;p&&(d=Math.sign(d)*Math.abs(this.velocity)**this.options.touchInertiaExponent),this.scrollTo(this.targetScroll+d,{programmatic:!1,...h?{lerp:p?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})};resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}onNativeScroll=()=>{if(null!==this._resetVelocityTimeout&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(!1===this.isScrolling||"native"===this.isScrolling){let e=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-e,this.direction=Math.sign(this.animatedScroll-e),this.isStopped||(this.isScrolling="native"),this.emit(),0!==this.velocity&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}};reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(this.isStopped){if(this.options.autoToggle)return void this.rootElement.style.removeProperty("overflow");this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle)return void this.rootElement.style.setProperty("overflow","clip");this.internalStop()}}internalStop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}raf=e=>{let t=e-(this.time||e);this.time=e,this.animate.advance(.001*t),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))};scrollTo(e,{offset:t=0,immediate:n=!1,lock:o=!1,programmatic:r=!0,lerp:l=r?this.options.lerp:void 0,duration:s=r?this.options.duration:void 0,easing:a=r?this.options.easing:void 0,onStart:c,onComplete:d,force:h=!1,userData:p}={}){if((this.isStopped||this.isLocked)&&!h)return;let m=e,f=t;if("string"==typeof m&&["top","left","start","#"].includes(m))m=0;else if("string"==typeof m&&["bottom","right","end"].includes(m))m=this.limit;else{let e=null;if("string"==typeof m?(e=m.startsWith("#")?document.getElementById(m.slice(1)):document.querySelector(m))||("#top"===m?m=0:console.warn("Lenis: Target not found",m)):m instanceof HTMLElement&&m?.nodeType&&(e=m),e){if(this.options.wrapper!==window){let e=this.rootElement.getBoundingClientRect();f-=this.isHorizontal?e.left:e.top}let t=e.getBoundingClientRect(),i=getComputedStyle(e),n=this.isHorizontal?Number.parseFloat(i.scrollMarginLeft):Number.parseFloat(i.scrollMarginTop),o=getComputedStyle(this.rootElement),r=this.isHorizontal?Number.parseFloat(o.scrollPaddingLeft):Number.parseFloat(o.scrollPaddingTop);m=(this.isHorizontal?t.left:t.top)+this.animatedScroll-(Number.isNaN(n)?0:n)-(Number.isNaN(r)?0:r)}}if("number"==typeof m){if(m+=f,this.options.infinite){if(r){this.targetScroll=this.animatedScroll=this.scroll;let e=m-this.animatedScroll;e>this.limit/2?m-=this.limit:e<-this.limit/2&&(m+=this.limit)}}else m=i(0,m,this.limit);if(m===this.targetScroll){c?.(this),d?.(this);return}if(this.userData=p??{},n){this.animatedScroll=this.targetScroll=m,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),d?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}r||(this.targetScroll=m),"number"==typeof s&&"function"!=typeof a?a=u:"function"==typeof a&&"number"!=typeof s&&(s=1),this.animate.fromTo(this.animatedScroll,m,{duration:s,easing:a,lerp:l,onStart:()=>{o&&(this.isLocked=!0),this.isScrolling="smooth",c?.(this)},onUpdate:(e,t)=>
1{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=e-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=e,this.setScroll(this.scroll),r&&(this.targetScroll=e),t||this.emit(),t&&(this.reset(),this.emit(),d?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}hasNestedScroll(e,{deltaX:t,deltaY:i}){let n,o,r,l,s,a,c,u,d,h,p,m,f,_,v,g,y=Date.now();e._lenis||(e._lenis={});let w=e._lenis;if(y-(w.time??0)>2e3){w.time=Date.now();let t=window.getComputedStyle(e);if(w.computedStyle=t,n=["auto","overlay","scroll"].includes(t.overflowX),o=["auto","overlay","scroll"].includes(t.overflowY),s=["auto"].includes(t.overscrollBehaviorX),a=["auto"].includes(t.overscrollBehaviorY),w.hasOverflowX=n,w.hasOverflowY=o,!(n||o))return!1;c=e.scrollWidth,u=e.scrollHeight,d=e.clientWidth,h=e.clientHeight,r=c>d,l=u>h,w.isScrollableX=r,w.isScrollableY=l,w.scrollWidth=c,w.scrollHeight=u,w.clientWidth=d,w.clientHeight=h,w.hasOverscrollBehaviorX=s,w.hasOverscrollBehaviorY=a}else r=w.isScrollableX,l=w.isScrollableY,n=w.hasOverflowX,o=w.hasOverflowY,c=w.scrollWidth,u=w.scrollHeight,d=w.clientWidth,h=w.clientHeight,s=w.hasOverscrollBehaviorX,a=w.hasOverscrollBehaviorY;if(!(n&&r||o&&l))return!1;let b=Math.abs(t)>=Math.abs(i)?"horizontal":"vertical";if("horizontal"===b)p=Math.round(e.scrollLeft),m=c-d,f=t,_=n,v=r,g=s;else{if("vertical"!==b)return!1;p=Math.round(e.scrollTop),m=u-h,f=i,_=o,v=l,g=a}return!g&&(p>=m||p<=0)||(f>0?p<m:p>0)&&_&&v}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return"horizontal"===this.options.orientation}get actualScroll(){let e=this.options.wrapper;return this.isHorizontal?e.scrollX??e.scrollLeft:e.scrollY??e.scrollTop}get scroll(){var e;return this.options.infinite?(this.animatedScroll%(e=this.limit)+e)%e:this.animatedScroll}get progress(){return 0===this.limit?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(e){this._isScrolling!==e&&(this._isScrolling=e,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(e){this._isStopped!==e&&(this._isStopped=e,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(e){this._isLocked!==e&&(this._isLocked=e,this.updateClassName())}get isSmooth(){return"smooth"===this.isScrolling}get className(){let e="lenis";return this.options.autoToggle&&(e+=" lenis-autoToggle"),this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),"smooth"===this.isScrolling&&(e+=" lenis-smooth"),e}updateClassName(){this.cleanUpClassName(),this.className.split(" ").forEach(e=>{this.rootElement.classList.add(e)})}cleanUpClassName(){for(let e of Array.from(this.rootElement.classList))("lenis"===e||e.startsWith("lenis-"))&&this.rootElement.classList.remove(e)}},h=e.i(55967);e.i(65506);var p=e.i(32919),m=e.i(43340),f=e.i(42295);let _={lerp:.1,wheelMultiplier:1,syncTouch:!1,autoResize:!0},v=null;e.s(["default",0,function(){return(0,h.useEffect)(()=>{if((0,f.prefersReducedMotion)())return;let e=new d(_);v=e,e.on("scroll",m.ScrollTrigger.update);let t=t=>e.raf(1e3*t);return p.gsap.ticker.add(t),p.gsap.ticker.lagSmoothing(0),"run"===document.documentElement.dataset.loader&&e.stop(),()=>{p.gsap.ticker.remove(t),p.gsap.ticker.lagSmoothing(500,33),e.destroy(),v=null}},[]),null},"getLenis",0,function(){return v}],5192)},33154,e=>{e.v({panel_caret:"PanelForm-module__qXmGBq__panel_caret",panel_caret_mirror:"PanelForm-module__qXmGBq__panel_caret_mirror",panel_choice:"PanelForm-module__qXmGBq__panel_choice",panel_choice_input:"PanelForm-module__qXmGBq__panel_choice_input",panel_choice_label:"PanelForm-module__qXmGBq__panel_choice_label",panel_choice_row:"PanelForm-module__qXmGBq__panel_choice_row",panel_done_action:"PanelForm-module__qXmGBq__panel_done_action",panel_done_lede:"PanelForm-module__qXmGBq__panel_done_lede",panel_done_note:"PanelForm-module__qXmGBq__panel_done_note",panel_done_wrap:"PanelForm-module__qXmGBq__panel_done_wrap",panel_field_control:"PanelForm-module__qXmGBq__panel_field_control",panel_field_error:"PanelForm-module__qXmGBq__panel_field_error",panel_field_label:"PanelForm-module__qXmGBq__panel_field_label",panel_field_optional:"PanelForm-module__qXmGBq__panel_field_optional",panel_field_shell:"PanelForm-module__qXmGBq__panel_field_shell",panel_field_textarea:"PanelForm-module__qXmGBq__panel_field_textarea",panel_field_wrap:"PanelForm-module__qXmGBq__panel_field_wrap",panel_form_note:"PanelForm-module__qXmGBq__panel_form_note",panel_form_privacy:"PanelForm-module__qXmGBq__panel_form_privacy",panel_form_status:"PanelForm-module__qXmGBq__panel_form_status",panel_form_status_link:"PanelForm-module__qXmGBq__panel_form_status_link",panel_form_submit:"PanelForm-module__qXmGBq__panel_form_submit",panel_form_submit_sizer:"PanelForm-module__qXmGBq__panel_form_submit_sizer",panel_form_trap:"PanelForm-module__qXmGBq__panel_form_trap",panel_form_wrap:"PanelForm-module__qXmGBq__panel_form_wrap",panel_phone_chevron:"PanelForm-module__qXmGBq__panel_phone_chevron",panel_phone_country:"PanelForm-module__qXmGBq__panel_phone_country",panel_phone_input:"PanelForm-module__qXmGBq__panel_phone_input",panel_phone_row:"PanelForm-module__qXmGBq__panel_phone_row",panel_phone_select:"PanelForm-module__qXmGBq__panel_phone_select"})},26049,e=>{"use strict";var t=e.i(46400),i=e.i(53342),n=e.i(55967),o=e.i(15837);function r({className:e}){return(0,t.jsx)("svg",{className:e,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:(0,t.jsx)("path",{d:"M6.15879 11.8651C6.36026 12.0536 6.67706 12.043 6.86582 11.8416L10.6158 7.84162C10.7957 7.64939 10.7957 7.35026 10.6158 7.15803L6.86582 3.15803L6.78868 3.09162C6.59895 2.95743 6.33504 2.96965 6.15879 3.13459C5.98254 3.29983 5.95206 3.56345 6.07383 3.76155L6.13535 3.84162L9.56407 7.49983L6.13535 11.158C5.94681 11.3595 5.95745 11.6763 6.15879 11.8651Z",fill:"currentColor"})})}var l=e.i(33154);e.i(65506);var s=e.i(32919),a=e.i(42295);let c=["boxSizing","fontFamily","fontSize","fontStyle","fontWeight","fontVariant","fontFeatureSettings","letterSpacing","lineHeight","paddingTop","paddingRight","paddingBottom","paddingLeft","tabSize","textIndent","textTransform","wordSpacing"];function u({multiline:e,rows:i,className:o,wrapperClassName:r,...d}){let h=(0,n.useRef)(null),p=(0,n.useRef)(null),m=(0,n.useRef)(null),f=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let t=h.current,i=p.current,n=m.current,o=f.current;if(!t||!i||!n||!o)return;let r=(0,a.prefersReducedMotion)(),l=e=>r?t=>{s.gsap.set(o,{[e]:t})}:s.gsap.quickTo(o,e,{duration:a.DURATION.fast,ease:a.EASE.out}),u=l("x"),d=l("y");t.dataset.caret="glide";let _=()=>{s.gsap.set(o,{opacity:0}
1)},v=()=>{let t=window.getComputedStyle(i);for(let e of c)n.style[e]=t[e];n.style.width=`${i.clientWidth}px`,n.style.whiteSpace=e?"pre-wrap":"pre",n.style.overflowWrap=e?"break-word":"normal"},g=(e=!1)=>{let t,r;if(document.activeElement!==i||(i.selectionStart??0)!==(i.selectionEnd??0))return _();n.textContent=i.value.slice(0,(t=i.selectionStart??0,t===(r=i.selectionEnd??0)||"backward"===i.selectionDirection?t:r));let l=document.createElement("span");l.textContent="â",n.appendChild(l);let a=l.offsetLeft-i.scrollLeft,c=l.offsetTop-i.scrollTop,h=window.getComputedStyle(i),p=parseFloat(h.paddingLeft)||0,m=parseFloat(h.paddingRight)||0,f=parseFloat(h.paddingTop)||0,v=parseFloat(h.paddingBottom)||0;if(!(a>=p-1&&a<=i.clientWidth-m+1&&c>=f-1&&c<=i.clientHeight-v+1))return _();let g=Math.min(l.offsetHeight,i.clientHeight-f-v);(o.style.blockSize=`${g}px`,s.gsap.set(o,{opacity:1}),e)?s.gsap.set(o,{x:a,y:c}):(u(a),d(c))},y=()=>g(!0),w=()=>g(),b=()=>{document.activeElement===i&&g()};i.addEventListener("focus",y),i.addEventListener("blur",_),i.addEventListener("input",w),i.addEventListener("scroll",w),document.addEventListener("selectionchange",b),v();let S=new ResizeObserver(()=>{v(),g(!0)});return S.observe(i),document.fonts?.ready.then(()=>{v(),g(!0)}),()=>{i.removeEventListener("focus",y),i.removeEventListener("blur",_),i.removeEventListener("input",w),i.removeEventListener("scroll",w),document.removeEventListener("selectionchange",b),S.disconnect(),s.gsap.killTweensOf(o),delete t.dataset.caret}},[e]),(0,t.jsxs)("span",{ref:h,className:`${l.default.panel_field_shell} ${r??""}`,"data-motion":a.PATTERN.fieldCaretGlide,children:[e?(0,t.jsx)("textarea",{...d,ref:p,rows:i,className:o}):(0,t.jsx)("input",{...d,ref:p,className:o}),(0,t.jsx)("div",{ref:m,className:l.default.panel_caret_mirror,"aria-hidden":"true"}),(0,t.jsx)("span",{ref:f,className:l.default.panel_caret,"aria-hidden":"true"})]})}let d="companyWebsite",h=/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;function p(e){return e.requiredMessage??`${e.label} is required.`}function m(e,t){let i={};for(let n of e){if("choice"===n.kind){let e=function(e,t){let i=e[t];return Array.isArray(i)?i:"string"==typeof i&&""!==i?[i]:[]}(t,n.name);if(!n.optional&&0===e.length){i[n.name]=p(n);continue}if(e.length>12){i[n.name]="Choose 12 options or fewer.";continue}let o=new Set(n.options.map(e=>e.value));e.some(e=>!o.has(e))&&(i[n.name]=p(n));continue}let e=function(e,t){let i=e[t];return"string"==typeof i?i.trim():""}(t,n.name);if(!e){n.optional||(i[n.name]=p(n));continue}let o=function(e){switch(e.kind){case"email":return 160;case"phone":return 32;case"textarea":return 2e3;default:return 120}}(n);if(e.length>o){i[n.name]=`Keep this to ${o} characters or fewer.`;continue}"email"!==n.kind||h.test(e)||(i[n.name]="Enter an email address in the form [email protected]."),"phone"===n.kind&&e.replace(/\D/g,"").length<7&&(i[n.name]="Enter a phone number with at least 7 digits.")}return i}function f(e,t){let i={};for(let n of e){if("choice"===n.kind){i[n.name]=t.getAll(n.name).map(e=>String(e));continue}if(i[n.name]=String(t.get(n.name)??"").trim(),"phone"===n.kind){let e=`${n.name}Country`;i[e]=String(t.get(e)??"").trim()}}return i[d]=String(t.get(d)??""),i}var _=e.i(73650);let v="[email protected]";function g({file:e}){let i=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let e=i.current;e&&(e.focus(),e.click())},[]),(0,t.jsxs)("section",{className:l.default.panel_done_wrap,role:"status","aria-live":"polite",children:[(0,t.jsx)("p",{className:`${l.default.panel_done_lede} u-text-style-label`,children:"Thank you. Your document is ready."}),(0,t.jsxs)("a",{ref:i,href:e,download:!0,className:`${l.default.panel_form_submit} ${l.default.panel_done_action} u-text-style-mono-button`,children:[(0,t.jsx)("span",{className:l.default.panel_form_submit_sizer,"aria-hidden":"true",children:"Download the document"}),(0,t.jsx)(o.default,{children:"Download the document"})]}),(0,t.jsx)("p",{className:`${l.default.panel_done_note} u-text-style-caption`,children:"The download should start on its own. If it does not, use the button above."})]})}function y({field:e,id:i,errorId:n,error:o,seed:s,onEdit:a,backdrop:c}){let d=!!o,h=d?n:void 0,p=(0,t.jsxs)(t.Fragment,{children:[e.label,e.optional&&(0,t.jsx)("span",{className:l.default.panel_field_optional,children:" (optional)"})]}),m=d?(0,t.jsx)("p",{id:n,className:`${l.default.panel_field_error} u-text-style-caption`,children:o}):null;if("choice"===e.kind)return(0,t.jsxs)("fieldset",{className:l.default.panel_field_wrap,"data-invalid":d||void 0,"aria-describedby":h,children:[(0,t.jsx)("legend",{className:`${l.default.panel_field_label} u-text-style-mono-label${c}`,children:p}),(0,t.jsx)("div",{className:`${l.default.panel_choice_row}${c}`,children:e.options.map(i=>(0,t.jsxs)("label",{className:l.default.panel_choice,children:[(0,t.jsx)("input",{type:"checkbox",name:e.name,value:i.value,className:l.default.panel_choice_input,onChange:a}),(0,t.jsx)("span",{className:`${l.default.panel_choice_label} u-text-style-body`,children:i.label})]},i.value))}),m]});if("phone"===e.kind)return(0,t.jsxs)("div",{className:l.default.panel_field_wrap,"data-invalid":d||void 0,children:[(0,t.jsx)("label",{htmlFor:i,className:`${l.default.panel_field_label} u-text-style-mono-label${c}`,children:p}),(0,t.jsxs)("div",{className:l.default.panel_phone_row,children:[(0,t.jsxs)("span",{className:l.default.panel_phone_country,children:[(0,t.jsx)("select",{name:`${e.name}Country`,defaultValue:_.PHONE_COUNTRY_DEFAULT,className:`${l.default.panel_field_control} ${l.default.panel_phone_select} u-text-style-body`,"aria-label":"Country dial code",children:_.PHONE_COUNTRIES.map(e=>(0,t.jsxs)("option",{value:e.code,children:[e.name," (",e.dial,")"]},e.code))}),(0,t.jsx)(r,{className:l.default.panel_phone_chevron,"aria-hidden":"true"})]}),(0,t.jsx)(u,{id:i,type:"tel",name:e.name,defaultValue:s,autoComplete:"tel-national",required:!e.optional,"aria-invalid":d||void 0,"aria-describedby":h,className:`${l.default.panel_field_control} u-text-style-body`,wrapperClassName:l.default.panel_phone_input,onInput:a,onBlur:a})]}),m]});let f={id:i,name:e.name,defaultValue:s,autoComplete:e.autoComplete,readOnly:e.readOnly,required:!e.optional,"aria-invalid":d||void 0,"aria-describedby":h,onInput:a,onBlur:a};return(0,t.jsxs)("div",{className:l.default.panel_field_wrap,"data-invalid":d||void 0,children:[(0,t.jsx)("label",{htmlFor:i,className:`${l.default.panel_field_label} u-text-style-mono-label${c}`,children:p}),"textarea"===e.kind?(0,t.jsx)(u,{...f,multiline:!0,rows:e.rows??4,className:`${l.default.panel_field_control} ${l.default.panel_field_textarea} u-text-style-body`}):(0,t.jsx)(u,{...f,type:"text",inputMode:"email"===e.kind?"email":void 0,className:`${l.default.panel_field_control} u-text-style-body`}),m]})}e.s(["default",0,function({variant:e,values:r,document:s,download:a,onDelivered:c,formId:u,onPageField:h=!1}){let p=h?" u-field-backdrop":"",_=(0,n.useId)(),w=(0,n.useRef)(null),b=(0,i.useRouter)(),[S,E]=(0,n.use
1State)({}),[x,N]=(0,n.useState)(!1),[T,C]=(0,n.useState)("idle"),[P,k]=(0,n.useState)(""),R="submitting"===T||"sent"===T,L=e=>`${_}-${e}`,j=()=>{x&&w.current&&E(m(e.fields,f(e.fields,new FormData(w.current))))},O=t=>{let i=e.fields.find(e=>t[e.name])?.name;i&&w.current?.querySelector(`[name="${i}"]`)?.focus()},q=e=>{let t=Object.keys(e).length;k(1===t?"One field needs attention. It is marked below.":`${t} fields need attention. They are marked below.`)},F=async i=>{if(i.preventDefault(),R)return;N(!0);let n=w.current;if(!n)return;let o=f(e.fields,new FormData(n)),r=m(e.fields,o);if(E(r),Object.keys(r).length>0){C("idle"),q(r),O(r);return}C("submitting"),k("");try{let i=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({variant:e.name,document:s,values:o})}),n=await i.json().catch(()=>null),r=n&&"object"==typeof n?n:null;if(r?.ok){if(C("sent"),a){k(""),c?.();return}k("Sent. Taking you to a confirmation page."),b.push("/thank-you");return}if(r?.status==="invalid"&&r.errors){E(r.errors),C("idle"),q(r.errors),O(r.errors);return}if(r?.status==="not-configured"){C("unavailable"),k((0,t.jsxs)(t.Fragment,{children:["This form is not connected yet: nothing was sent and nothing was stored. What you typed is still in the fields above. You can reach us at"," ",(0,t.jsx)("a",{className:l.default.panel_form_status_link,href:`mailto:${v}`,children:v})," ","in the meantime."]}));return}if(r?.status==="rate-limited"){C("failed"),k("That is a lot of attempts from this connection. Please wait a few minutes and try again.");return}C("failed"),k("Something went wrong at our end and nothing was sent. What you typed is still here: please try again.")}catch{C("failed"),k("The request did not reach us, so nothing was sent. Check your connection and try again.")}},z=e.fields.filter(e=>e.optional).length;return"sent"===T&&a?(0,t.jsx)(g,{file:a}):(0,t.jsxs)("form",{ref:w,id:u,className:l.default.panel_form_wrap,noValidate:!0,"aria-busy":R||void 0,onSubmit:F,children:[z>0&&(0,t.jsx)("p",{className:`${l.default.panel_form_note} u-text-style-caption${p}`,children:"Fields are required unless marked optional."}),e.fields.map(e=>{let i;return(0,t.jsx)(y,{field:e,id:L(e.name),errorId:(i=e.name,`${_}-${i}-error`),error:S[e.name],seed:r?.[e.name],onEdit:j,backdrop:p},e.name)}),(0,t.jsxs)("div",{className:l.default.panel_form_trap,"aria-hidden":"true",children:[(0,t.jsx)("label",{htmlFor:L(d),children:"Company website"}),(0,t.jsx)("input",{id:L(d),type:"text",name:d,tabIndex:-1,autoComplete:"off",defaultValue:""})]}),(0,t.jsx)("p",{className:`${l.default.panel_form_status} u-text-style-label`,"data-state":T,role:"status","aria-live":"polite",children:P}),(0,t.jsxs)("button",{type:"submit",className:`${l.default.panel_form_submit} u-text-style-mono-button`,"data-state":R?"pending":"idle","aria-disabled":R||void 0,children:[(0,t.jsx)("span",{className:l.default.panel_form_submit_sizer,"aria-hidden":"true",children:R?"Sending":e.submit}),(0,t.jsx)(o.default,{enabled:!R,children:R?"Sending":e.submit})]}),(0,t.jsx)("p",{className:`${l.default.panel_form_privacy} u-text-style-caption${p}`,children:e.privacy})]})}],26049)}]);
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.