1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,930749,e=>{"use strict";var t=e.i(665506);let r=.08,a=(e,r)=>{let a=t.default.utils.toArray(e.querySelectorAll(r)).filter(t=>t.closest("[data-reveal-sequence]")===e);return e.matches(r)?[e,...a]:a},n=(e,t,a,n=r)=>{0!==t.length&&e.fromTo(t,{opacity:0,y:40},{opacity:1,y:0,duration:.6,ease:"cubic-bezier(0.22, 1, 0.36, 1)",stagger:n,immediateRender:!1},a)};function o({root:e,sequenceSelector:o,containerSelector:l,textSelector:i,heroSelector:s,heroHeadingSelector:c,sequenceStartAttribute:d,rowStaggerAttribute:u,splitHeadingIntoLines:f}){e.querySelectorAll(o).forEach(e=>{e.setAttribute("data-reveal-sequence","")});let p=t.default.utils.toArray(e.querySelectorAll(o)),m=t.default.utils.toArray(e.querySelectorAll(`${l}, ${i}`));if(0===p.length||0===m.length)return[];if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return t.default.set(m,{opacity:1,y:0}),[];let h=[];return p.forEach(e=>{let o=!!s&&e.hasAttribute(s),p=o&&c?e.querySelector(c):null,m=p&&f?f(p):[],g=a(e,l),b=a(e,o&&c?`${i}:not(${c})`:i);if(0===g.length&&0===b.length&&0===m.length)return;p&&t.default.set(p,{opacity:1}),t.default.set([...g,...b,...m],{opacity:0,y:40});let v=d&&e.getAttribute(d)||"top 90%",x={done:!1},y=t.default.timeline({scrollTrigger:{trigger:e,start:v,onEnter:e=>{!x.done&&(x.done=!0,window.requestAnimationFrame(()=>e.kill(!1,!0)))}}});if(o){let e=m.length*r,t=e+b.length*r+.12;n(y,m,0),n(y,b,e),n(y,g,t,0)}else{if(u&&e.hasAttribute(u)){let e,t,a=(e=[...g].sort((e,t)=>{let r=e.offsetTop-t.offsetTop;return Math.abs(r)>2?r:e.offsetLeft-t.offsetLeft}),t=[],e.forEach(e=>{let r=t.find(t=>2>=Math.abs(t[0].offsetTop-e.offsetTop));r?r.push(e):t.push([e])}),t);a.forEach((e,t)=>{n(y,e,t<=0?0:a.slice(0,t).reduce((e,t)=>e+.6+Math.max(t.length-1,0)*r,0)+(t-1)*.08)})}else n(y,g,0);n(y,m,.1*(g.length>0)),n(y,b,.12*(g.length>0||m.length>0))}h.push(y)}),h}e.s(["setupSequenceRevealOnce",()=>o])},140462,e=>{"use strict";var t=e.i(989970);e.s(["gsap",()=>t.default])},876878,e=>{"use strict";var t=e.i(843476);function r(){return(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute left-1/2 top-1/2 h-[180%] w-[180%] -translate-x-1/2 -translate-y-1/2 rounded-full blur-3xl",style:{background:"radial-gradient(closest-side, hsl(var(--brand-default) / 0.14), transparent 72%)"}})}e.s(["HeroGlow",()=>r])},949549,e=>{"use strict";e.i(247167);var t=e.i(843476),r=e.i(271645),a=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,c=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,d=(e,t)=>{for(var r in t||(t={}))i.call(t,r)&&c(e,r,t[r]);if(l)for(var r of l(t))s.call(t,r)&&c(e,r,t[r]);return e},u=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function f(e){return e.fields.reduce((e,t)=>(e[t.name]="checkbox"!==t.type&&"",e),{})}var p="pcf-field-wrapper",m="pcf-label",h="pcf-requirement",g="pcf-control",b="pcf-description",v="pcf-error-text",x=null,y={fontFamily:"Inter, var(--font-sans), ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif",panelBackground:"#111111",panelBorderColor:"#2f2f2f",panelRadius:"14px",panelPadding:"24px",panelShadow:"0 34px 80px -36px rgba(0, 0, 0, 0.85)",fieldGap:"16px",fieldInnerGap:"10px",requirementGap:"6px",labelColor:"#f5f5f5",inputTextColor:"#f5f5f5",inputBackground:"#0b0b0b",inputBorderColor:"#2f2f2f",inputRadius:"12px",inputPaddingY:"12px",inputPaddingX:"14px",textareaMinHeight:"140px",selectPaddingRight:"46px",inputPlaceholderColor:"#a3a3a3",checkboxGap:"10px",checkboxSize:"17px",checkboxRadius:"4px",descriptionColor:"#a3a3a3",requirementColor:"#a3a3a3",errorColor:"#fda4af",successColor:"#86efac",buttonBackground:"#ffffff",buttonTextColor:"#111111",buttonBorderColor:"#ffffff",buttonRadius:"12px",buttonPaddingY:"12px",buttonPaddingX:"18px",buttonShadow:"0 18px 40px -16px rgba(0, 0, 0, 0.7)",focusBorderColor:"#737373",focusRingColor:"rgba(163, 163, 163, 0.28)",focusRingStyle:"solid",focusRingWidth:"3px",focusRingOffset:"2px",selectCaretColor:"#a3a3a3"}
1,w={fontFamily:"--pcf-font-family",panelBackground:"--pcf-panel-background",panelBorderColor:"--pcf-panel-border-color",panelRadius:"--pcf-panel-radius",panelPadding:"--pcf-panel-padding",panelShadow:"--pcf-panel-shadow",fieldGap:"--pcf-field-gap",fieldInnerGap:"--pcf-field-inner-gap",requirementGap:"--pcf-requirement-gap",labelColor:"--pcf-label-color",inputTextColor:"--pcf-input-text-color",inputBackground:"--pcf-input-background",inputBorderColor:"--pcf-input-border-color",inputRadius:"--pcf-input-radius",inputPaddingY:"--pcf-input-padding-y",inputPaddingX:"--pcf-input-padding-x",textareaMinHeight:"--pcf-textarea-min-height",selectPaddingRight:"--pcf-select-padding-right",inputPlaceholderColor:"--pcf-input-placeholder-color",checkboxGap:"--pcf-checkbox-gap",checkboxSize:"--pcf-checkbox-size",checkboxRadius:"--pcf-checkbox-radius",descriptionColor:"--pcf-description-color",requirementColor:"--pcf-requirement-color",errorColor:"--pcf-error-color",successColor:"--pcf-success-color",buttonBackground:"--pcf-button-background",buttonTextColor:"--pcf-button-text-color",buttonBorderColor:"--pcf-button-border-color",buttonRadius:"--pcf-button-radius",buttonPaddingY:"--pcf-button-padding-y",buttonPaddingX:"--pcf-button-padding-x",buttonShadow:"--pcf-button-shadow",focusBorderColor:"--pcf-focus-border-color",focusRingColor:"--pcf-focus-ring-color",focusRingStyle:"--pcf-focus-ring-style",focusRingWidth:"--pcf-focus-ring-width",focusRingOffset:"--pcf-focus-ring-offset",selectCaretColor:"--pcf-select-caret-color"},C=Object.entries({fontFamily:"fontFamily",wrapperBackground:"panelBackground",wrapperBorderColor:"panelBorderColor",wrapperRadius:"panelRadius",wrapperPadding:"panelPadding",fieldGap:"fieldGap",fieldInnerGap:"fieldInnerGap",requirementGap:"requirementGap",labelColor:"labelColor",inputTextColor:"inputTextColor",inputBackground:"inputBackground",inputBorderColor:"inputBorderColor",inputRadius:"inputRadius",controlPaddingY:"inputPaddingY",controlPaddingX:"inputPaddingX",textareaMinHeight:"textareaMinHeight",selectPaddingRight:"selectPaddingRight",inputPlaceholderColor:"inputPlaceholderColor",checkboxGap:"checkboxGap",checkboxSize:"checkboxSize",checkboxRadius:"checkboxRadius",descriptionColor:"descriptionColor",requirementColor:"requirementColor",errorColor:"errorColor",successColor:"successColor",buttonBackground:"buttonBackground",buttonTextColor:"buttonTextColor",buttonRadius:"buttonRadius",buttonPaddingY:"buttonPaddingY",buttonPaddingX:"buttonPaddingX",focusBorderColor:"focusBorderColor",focusRingColor:"focusRingColor",focusRingStyle:"focusRingStyle",focusRingWidth:"focusRingWidth",focusRingOffset:"focusRingOffset",selectCaretColor:"selectCaretColor"}).reduce((e,[t,r])=>(e[r]||(e[r]=t),e),{});function k(...e){return e.filter(Boolean).join(" ")}function P(e){let t=e.trim();return 0===t.length?"":t.startsWith("--")?t:`--${t}`}function j(e,t){let r=e[t];return"string"==typeof r?r:""}function N({config:e,webhookUrl:a,clientId:l,submitLabel:i="Send message",successMessage:s="Thanks. Your message was sent successfully.",unavailableMessage:c="Form is currently unavailable.",networkErrorMessage:N="Network error while sending message.",hcaptchaSiteKey:R,hcaptchaEnabled:q,hcaptchaTheme:S="dark",hcaptchaSize:E="normal",hcaptchaErrorMessage:_="Please complete the hCaptcha challenge.",classNames:B,theme:T,tokenBindings:A,analyticsEnabled:L=!0,analyticsDataLayerName:M="dataLayer",analyticsFormId:O,onAnalyticsEvent:$,renderSubmitButton:F}){var G,Y;let I=(0,r.useMemo)(()=>f(e),[e]),z=(0,r.useMemo)(()=>(function(e,t){let r={};for(let a of Object.keys(w))r[w[a]]=function(e,t,r){let a=null==t?void 0:t[e];if("string"==typeof a&&a.trim().length>0)return a.trim();let n=C[e];if(n){let e=null==t?void 0:t[n];if("string"==typeof e&&e.trim().length>0)return e.trim()}let o=null==r?void 0:r[e];if("string"==typeof o&&o.trim().length>0){let t=P(o);if(t.length>0)return`var(${t}, ${y[e]})`}if(n){let t=null==r?void 0:r[n];if("string"==typeof t&&t.trim().length>0){let r=P(t);if(r.length>0)return`var(${r}, ${y[e]})`}}return y[e]}(a,e,t);return r})(T,A),[T,A]),X=(null==(G=e.honeypotFieldName)?void 0:G.trim())||"website_url",U=(0,r.useMemo)(()=>e.fields.map(e=>e.name),[e]),W=null!=(Y=null==R?void 0:R.trim())?Y:"",H=null!=q?q:W.length>0,D=(0,r.useRef)(!1),V=(0,r.useRef)(null),K=(0,r.useRef)(null),[J,Z]=(0,r.useState)(I),[Q,ee]=(0,r.useState)(""),[et,er]=(0,r.useState)(""),[ea,en]=(0,r.useState)(null),[eo,el]=(0,r.useState)(!1),[ei,es]=(0,r.useState)({}),[ec,ed]=(0,r.useState)(""),[eu,ef]=(0,r.useState)(!1),[ep,em]=(0,r.useState)(!1),eh=(0,r.useCallback)((e,t={})=>
1{if(!L||"u"<typeof window)return;let r=d({event:e,client_id:l,form_id:O,page_url:window.location.href,field_names:U},t);null==$||$(r);let a=M.trim()||"dataLayer",n=window;void 0===n[a]&&(n[a]=[]);let o=n[a];Array.isArray(o)&&o.push(r)},[M,L,O,l,U,$]);(0,r.useEffect)(()=>{Z(I),ee(""),er(""),es({}),ed(""),em(!1),en(null),el(!1),D.current=!1},[I]),(0,r.useEffect)(()=>{eh("form_viewed")},[eh]),(0,r.useEffect)(()=>{var e;if(!H||0===W.length){K.current=null,er("");return}let t=V.current;if(!t)return;let r=!0;return t.innerHTML="",K.current=null,er(""),("u"<typeof window||(null==(e=window.hcaptcha)?void 0:e.render)?Promise.resolve():x||(x=new Promise((e,t)=>{let r=document.querySelector("script[data-pcf-hcaptcha]");if(r){r.addEventListener("load",()=>e(),{once:!0}),r.addEventListener("error",()=>t(Error("Unable to load hCaptcha.")),{once:!0});return}let a=document.createElement("script");a.src="https://js.hcaptcha.com/1/api.js?render=explicit",a.async=!0,a.defer=!0,a.dataset.pcfHcaptcha="true",a.addEventListener("load",()=>e(),{once:!0}),a.addEventListener("error",()=>t(Error("Unable to load hCaptcha.")),{once:!0}),document.head.appendChild(a)}))).then(()=>{var e;r&&(null==(e=window.hcaptcha)?void 0:e.render)&&null===K.current&&(K.current=window.hcaptcha.render(t,{sitekey:W,theme:S,size:E,callback:e=>er(e),"expired-callback":()=>er(""),"error-callback":()=>er("")}))}).catch(()=>{r&&er("")}),()=>{r=!1}},[E,S,H,W]),(0,r.useEffect)(()=>{let e=e=>{"Tab"===e.key&&el(!0)},t=()=>{el(!1)};return window.addEventListener("keydown",e),window.addEventListener("pointerdown",t),window.addEventListener("mousedown",t),window.addEventListener("touchstart",t,{passive:!0}),()=>{window.removeEventListener("keydown",e),window.removeEventListener("pointerdown",t),window.removeEventListener("mousedown",t),window.removeEventListener("touchstart",t)}},[]);let eg=e=>{let t=ea===e;return{borderColor:t?"var(--pcf-focus-border-color)":void 0,outline:t&&eo?"var(--pcf-focus-ring-width) var(--pcf-focus-ring-style) var(--pcf-focus-ring-color)":"none",outlineOffset:t&&eo?"var(--pcf-focus-ring-offset)":"0px",boxShadow:"none"}},eb=(e,t)=>{D.current||(D.current=!0,eh("form_started")),Z(r=>n(d({},r),o({[e]:t}))),es(t=>{if(!t[e])return t;let r=d({},t);return delete r[e],r}),em(!1),ed("")},ev=async t=>{var r,n,o,i;if(t.preventDefault(),ed(""),em(!1),eh("form_submit_attempted"),!a||!l)return void ed(c);let s=function(e,t){let r={},a=f(t),n=new Set(t.fields.map(e=>e.name));if(!("object"==typeof e&&null!==e&&!Array.isArray(e)))return{isValid:!1,errors:{_form:"Invalid payload format."},sanitizedFields:a};for(let t of Object.keys(e))if(!n.has(t)){r._form="Payload contains unknown fields.";break}for(let n of t.fields){let t=e[n.name];if("checkbox"===n.type){let e=!1;null==t?e=!1:"boolean"==typeof t?e=t:r[n.name]=`${n.label} must be true or false.`,n.required&&!0!==e&&(r[n.name]=`${n.label} is required.`),a[n.name]=e;continue}let o="string"==typeof t?t.trim():null==t?"":null;if(null===o){r[n.name]=`${n.label} must be a string.`,a[n.name]="";continue}n.required&&0===o.length&&(r[n.name]=`${n.label} is required.`),"email"===n.type&&o.length>0&&!u.test(o)&&(r[n.name]="Please enter a valid email address."),"select"===n.type&&o.length>0&&(new Set(n.options.map(e=>e.value)).has(o)||(r[n.name]=`${n.label} contains an invalid option.`)),a[n.name]=o}return{isValid:0===Object.keys(r).length,errors:r,sanitizedFields:a}}(J,e);if(!s.isValid)return void es(s.errors);if(H&&0===et.length)return void ed(_);let p=String(null!=(r=s.sanitizedFields.email)?r:"").trim().toLowerCase(),m=Q.trim(),h=p.length>0&&m.toLowerCase()===p?"":m,g={client_id:l,fields:function(e,t){var r;let a=d({},t),n=e.fields.find(e=>"select"===e.type&&"inquiry"===e.name);if((null==n?void 0:n.type)==="select"){let e=j(t,n.name),o=n.options.find(t=>t.value===e);a.inquiry=null!=(r=null==o?void 0:o.label)?r:e}return a}(e,s.sanitizedFields),meta:{pageUrl:window.location.href,userAgent:navigator.userAgent},captcha:H&&et.length>0?{provider:"hcaptcha",token:et}:void 0,hp:h};es({}),ef(!0);try{let e=await fetch(a,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(g)}),t=(i=await e.json().catch(()=>null),"object"!=typeof i||null===i||Array.isArray(i)?null:!0===i.ok&&"string"==typeof i.client_id?{ok:!0,client_id:i.client_id}:!1===i.ok&&"string"==typeof i.error?{ok:!1,error:i.error,client_id:"string"==typeof i.client_id?i.client_id:void 0}:null);if(!(e.ok&&null!==t&&!0===t.ok&&t.client_id===l)){let r=t&&!1===t.ok?t.error:"Unable to send your message right now.";t&&!1===t.ok?ed(t.error):ed("Unable to send your message right now."),eh("form_submit_failed",{response_status:e.status,error:r});return}Z(I),ee(""),er(""),H&&null!==K.current&&(null==(n=window.hcaptcha)||n.reset(K.current)),em(!0),eh("form_submit_success",{response_status:e.status})}catch(e){ed(N),eh("form_submit_failed",{error:e instanceof Error?e.message:N})}finally{H&&null!==K.current&&(null==(o=window.hcaptcha)||o.reset(K.current),er("")),ef(!1)}},ex=H&&0===W.length,ey=eu||!a||!l||ex,ew=!a||!l||ex||ec.length>0||ep;return(0,t.jsx)("div",{className:k("pcf-wrapper",null==B?void 0:B.root,null==B?void 0:B.wrapper,null==B?void 0:B.panel),style:z,children:(0,t.jsxs)("form",{className:k("pcf-form",null==B?void 0:B.form),onSubmit:ev,noValidate:!0,children:[(0,t.jsx)("input",{type:"text","aria-hidden":!0,tabIndex:-1,autoComplete:"new-password",name:X,value:Q,onChange:e=>ee(e.target.value),"data-lpignore":"true","data-1p-ignore":"true",spellCheck:!1,className:"pcf-honeypot"}),e.fields.map(e=>{var r,a;let l=ei[e.name],i=`${e.name}-description`,s=`${e.name}
1-error`,c=[e.description?i:null,l?s:null].filter(Boolean).join(" ");if("checkbox"===e.type){let r;return(0,t.jsxs)("div",{className:k(p,null==B?void 0:B.fieldWrapper),children:[(0,t.jsxs)("div",{className:k("pcf-checkbox-row",null==B?void 0:B.checkboxWrapper,null==B?void 0:B.checkboxRow),children:[(0,t.jsx)("input",{id:e.name,name:e.name,type:"checkbox",className:k("pcf-checkbox",null==B?void 0:B.checkbox),style:{outline:(r=ea===e.name)&&eo?"var(--pcf-focus-ring-width) var(--pcf-focus-ring-style) var(--pcf-focus-ring-color)":"none",outlineOffset:r&&eo?"var(--pcf-focus-ring-offset)":"0px",boxShadow:"none"},checked:!0===J[e.name],onChange:t=>{var r,a;return r=e.name,a=t.currentTarget.checked,void(!D.current&&(D.current=!0,eh("form_started")),Z(e=>n(d({},e),o({[r]:a}))),es(e=>{if(!e[r])return e;let t=d({},e);return delete t[r],t}),em(!1),ed(""))},onFocus:()=>en(e.name),onBlur:()=>en(t=>t===e.name?null:t),"aria-invalid":!!l,"aria-describedby":c||void 0}),(0,t.jsxs)("label",{htmlFor:e.name,className:k(m,null==B?void 0:B.label,null==B?void 0:B.checkboxLabel),children:[e.label,(0,t.jsx)("span",{className:k(h,null==B?void 0:B.requirement),children:e.required?"(Required)":"(Optional)"})]})]}),e.description?(0,t.jsx)("p",{id:i,className:k(b,null==B?void 0:B.description),children:e.description}):null,l?(0,t.jsx)("p",{id:s,className:k(v,null==B?void 0:B.errorText),children:l}):null]},e.name)}return(0,t.jsxs)("div",{className:k(p,null==B?void 0:B.fieldWrapper),children:[(0,t.jsxs)("label",{htmlFor:e.name,className:k(m,null==B?void 0:B.label),children:[e.label,(0,t.jsx)("span",{className:k(h,null==B?void 0:B.requirement),children:e.required?"(Required)":"(Optional)"})]}),"textarea"===e.type?(0,t.jsx)("textarea",{id:e.name,name:e.name,placeholder:e.placeholder,className:k(g,"pcf-textarea",null==B?void 0:B.control,null!=(r=null==B?void 0:B.textarea)?r:null==B?void 0:B.input),style:eg(e.name),value:j(J,e.name),onChange:t=>eb(e.name,t.currentTarget.value),onFocus:()=>en(e.name),onBlur:()=>en(t=>t===e.name?null:t),"aria-invalid":!!l,"aria-describedby":c||void 0}):"select"===e.type?(0,t.jsx)("select",{id:e.name,name:e.name,className:k(g,"pcf-select-control",null==B?void 0:B.control,null!=(a=null==B?void 0:B.select)?a:null==B?void 0:B.input),style:eg(e.name),value:j(J,e.name),onChange:t=>eb(e.name,t.currentTarget.value),onFocus:()=>en(e.name),onBlur:()=>en(t=>t===e.name?null:t),"aria-invalid":!!l,"aria-describedby":c||void 0,children:e.options.map(r=>(0,t.jsx)("option",{value:r.value,children:r.label},`${e.name}-${r.value}`))}):(0,t.jsx)("input",{id:e.name,name:e.name,type:e.type,placeholder:e.placeholder,className:k(g,null==B?void 0:B.control,null==B?void 0:B.input),style:eg(e.name),value:j(J,e.name),onChange:t=>eb(e.name,t.currentTarget.value),onFocus:()=>en(e.name),onBlur:()=>en(t=>t===e.name?null:t),"aria-invalid":!!l,"aria-describedby":c||void 0}),e.description?(0,t.jsx)("p",{id:i,className:k(b,null==B?void 0:B.description),children:e.description}):null,l?(0,t.jsx)("p",{id:s,className:k(v,null==B?void 0:B.errorText),children:l}):null]},e.name)}),H&&W.length>0?(0,t.jsx)("div",{className:k("pcf-captcha-wrapper",null==B?void 0:B.captchaWrapper),children:(0,t.jsx)("div",{ref:V,className:k("pcf-captcha",null==B?void 0:B.captcha)})}):null,ew?(0,t.jsxs)("div",{className:k("pcf-status-region",null==B?void 0:B.statusRegion),children:[a&&l?null:(0,t.jsx)("p",{className:k(v,null==B?void 0:B.statusMessage,null==B?void 0:B.unavailableMessage,null==B?void 0:B.submitError,null==B?void 0:B.errorText),children:c}),ex?(0,t.jsx)("p",{className:k(v,null==B?void 0:B.statusMessage,null==B?void 0:B.unavailableMessage,null==B?void 0:B.errorText),children:"hCaptcha is enabled but no site key is configured."}):null,ec?(0,t.jsx)("p",{className:k(v,null==B?void 0:B.statusMessage,null==B?void 0:B.submitError,null==B?void 0:B.errorText),children:ec}):null,ep?(0,t.jsx)("p",{className:k("pcf-success-text",null==B?void 0:B.statusMessage,null==B?void 0:B.successMessage),children:s}):null]}):null,(0,t.jsx)("div",{className:k("pcf-actions",null==B?void 0:B.actions),children:F?F({isSubmitting:eu,submitLabel:i,disabled:ey}):(0,t.jsx)("button",{type:"submit",className:k("pcf-button",null==B?void 0:B.button,null==B?void 0:B.submitButton),style:{opacity:ey?.65:1,pointerEvents:ey?"none":"auto"},disabled:ey,children:eu?"Sending...":i})})]})})}var R=e.i(365747),q=e.i(363178),S=e.i(481755),E=e.i(411531),_=e.i(167881),B=e.i(876878),T=e.i(833627),A=e.i(558249);e.i(665506);var L=e.i(140462),M=e.i(883495),O=e.i(229755),$=e.i(439637),F=e.i(930749);let G={form_id:"contact",form_name:"Contact Form"};function Y(e){let t=e.getAttribute("data-contact-hero-heading-source")??e.textContent?.trim()??"";if(!t)return[];e.setAttribute("data-contact-hero-heading-source",t),e.setAttribute("aria-label",t),e.textContent="";
1let r=t.split(/\s+/).filter(Boolean);if(0===r.length)return[];let a=r.map((t,a)=>{let n=document.createElement("span");return n.style.display="inline-block",n.textContent=a<r.length-1?`${t}\u00A0`:t,e.appendChild(n),n}),n=[],o="",l=a[0]?.offsetTop??0;return a.forEach(e=>{let t=e.offsetTop,r=e.textContent?.replace(/\u00A0/g," ")??"";if(Math.abs(t-l)>1){o.trim()&&n.push(o.trim()),o=r,l=t;return}o+=r}),o.trim()&&n.push(o.trim()),e.textContent="",n.map(t=>{let r=document.createElement("span");r.className="block",r.setAttribute("aria-hidden","true");let a=document.createElement("span");return a.className="block",a.setAttribute("data-contact-hero-heading-line",""),a.textContent=t,r.appendChild(a),e.appendChild(r),a})}function I({cmsPage:e}){let{t:a,currentLocale:n}=(0,O.useTranslation)(),{resolvedTheme:o}=(0,q.useTheme)(),[l,i]=(0,r.useState)(!1),[s,c]=(0,r.useState)(!1),d=(0,r.useRef)(null),u=(0,r.useRef)(null),f=(0,r.useRef)(null),p=(0,r.useRef)(null),m=(0,r.useRef)(null),h=(0,r.useRef)(!1);(0,r.useRef)(!1);let g=(0,r.useRef)(!1),b=(0,r.useRef)(!1),v=(0,r.useRef)(G),x=(0,r.useRef)(null),y=(0,r.useMemo)(()=>a.contactPage.form.inquiryOptions.map((e,t)=>{let r,a;return{label:e,value:(r=e,a=t,r.toLowerCase().normalize("NFKD").replace(/[^\w\s-]/g,"").trim().replace(/[\s_]+/g,"-")||`option-${a+1}`)}}),[a.contactPage.form.inquiryOptions]),w=(0,r.useMemo)(()=>({honeypotFieldName:"website_url",fields:[{name:"inquiry",label:a.contactPage.form.inquiryLabel,type:"select",required:!0,options:[{label:a.contactPage.form.inquiryLabel,value:""},...y]},{name:"firstName",label:a.contactPage.form.fields.firstName.label,type:"text",required:!0,placeholder:a.contactPage.form.fields.firstName.placeholder},{name:"lastName",label:a.contactPage.form.fields.lastName.label,type:"text",required:!0,placeholder:a.contactPage.form.fields.lastName.placeholder},{name:"email",label:a.contactPage.form.fields.email.label,type:"email",required:!0,placeholder:a.contactPage.form.fields.email.placeholder},{name:"phone",label:a.contactPage.form.fields.phone.label,type:"tel",required:!1,placeholder:a.contactPage.form.fields.phone.placeholder},{name:"company",label:a.contactPage.form.fields.company.label,type:"text",required:!1,placeholder:a.contactPage.form.fields.company.placeholder},{name:"message",label:a.contactPage.form.fields.message.label,type:"textarea",required:!0,placeholder:a.contactPage.form.fields.message.placeholder}]}),[y,a.contactPage.form.fields.company.label,a.contactPage.form.fields.company.placeholder,a.contactPage.form.fields.email.label,a.contactPage.form.fields.email.placeholder,a.contactPage.form.fields.firstName.label,a.contactPage.form.fields.firstName.placeholder,a.contactPage.form.fields.lastName.label,a.contactPage.form.fields.lastName.placeholder,a.contactPage.form.fields.message.label,a.contactPage.form.fields.message.placeholder,a.contactPage.form.fields.phone.label,a.contactPage.form.fields.phone.placeholder,a.contactPage.form.inquiryLabel]),C=(0,r.useMemo)(()=>({...G,form_locale:n}),[n]),k=l?"dark"===o&&e?.hero?.imageDark?.filename?`/media/${e.hero.imageDark.filename}`:e?.hero?.image?.filename?`/media/${e.hero.image.filename}`:void 0:void 0;return(0,r.useEffect)(()=>{i(!0)},[]),(0,r.useEffect)(()=>{v.current=C},[C]),(0,r.useEffect)(()=>{let e=()=>{g.current&&!b.current&&(0,A.pushAnalyticsEvent)({event:"form_abandon",...v.current})};return window.addEventListener("beforeunload",e),()=>{window.removeEventListener("beforeunload",e)}},[]),(0,r.useEffect)(()=>{if(h.current)return;h.current=!0;let e=new URLSearchParams(window.location.search).get("target");if(!e)return;let t=document.getElementById(e);if(!t)return;let r=Number.parseFloat(window.getComputedStyle(t).scrollMarginTop||"0"),a=Math.max(t.getBoundingClientRect().top+window.scrollY-r,0),n=window.matchMedia("(prefers-reduced-motion: reduce)").matches;if(window.scrollTo(0,0),n){window.scrollTo(0,a),window.history.replaceState(null,"",`${window.location.pathname}#${e}`);return}let o=performance.now(),l=t=>{let r=Math.min((t-o)/1350,1),n=r<.5?4*r*r*r:1-(-2*r+2)**3/2;(window.scrollTo(0,a*n),r<1)?window.requestAnimationFrame(l):window.history.replaceState(null,"",`${window.location.pathname}#${e}`)};window.requestAnimationFrame(l)},[]),(0,R.useGSAP)(()=>{let e=d.current;if(!e)return;
1let t=u.current,r=f.current,a=p.current,n=m.current,o=window.matchMedia("(prefers-reduced-motion: reduce)").matches,l={scrollRotationX:0,scrollRotationY:0,scrollY:0},i=()=>{r&&L.gsap.set(r,{rotationX:-15+l.scrollRotationX,rotationY:10+l.scrollRotationY,rotationZ:0,y:l.scrollY})},s=()=>{r&&L.gsap.to(r,{scale:1.02,duration:.5,ease:"power2.out"})},c=()=>{r&&L.gsap.to(r,{scale:1,duration:.58,ease:"power2.out"})},h=()=>{if(!r)return;let e=Number(L.gsap.getProperty(r,"scale"))||1;L.gsap.to(r,{keyframes:[{scale:.99*e,duration:.14,ease:"power2.out"},{scale:e,duration:.24,ease:"power2.out"}],overwrite:"auto"})},g=null,b=null,v=null;t&&r&&a&&n&&(r.addEventListener("mouseenter",s),r.addEventListener("mouseleave",c),r.addEventListener("pointerdown",h),i(),o||(g=L.gsap.to(a,{y:-12,rotationX:2,rotationY:-2,duration:3.6,ease:"power1.inOut",yoyo:!0,repeat:-1}),b=L.gsap.to(n,{yPercent:-.6,duration:5,ease:"sine.inOut",yoyo:!0,repeat:-1}),v=M.ScrollTrigger.create({trigger:t,start:"top top",end:"bottom top",scrub:!0,onUpdate:e=>{l.scrollRotationX=-25*e.progress,l.scrollRotationY=25*e.progress,l.scrollY=-250*e.progress,i()}})));let x=(0,F.setupSequenceRevealOnce)({root:e,sequenceSelector:"[data-contact-sequence]",containerSelector:"[data-contact-container]",textSelector:"[data-contact-text]",heroSelector:"data-contact-hero",heroHeadingSelector:"[data-contact-hero-heading]",sequenceStartAttribute:"data-contact-sequence-start",splitHeadingIntoLines:Y});return()=>{v?.kill(),g?.kill(),b?.kill(),r?.removeEventListener("mouseenter",s),r?.removeEventListener("mouseleave",c),r?.removeEventListener("pointerdown",h),x.forEach(e=>e.kill())}},{scope:d}),(0,t.jsxs)("div",{className:"relative min-h-screen overflow-x-hidden bg-background-base text-foreground-default font-sans antialiased",children:[(0,t.jsx)(E.Navigation,{}),(0,t.jsxs)("main",{ref:d,className:"relative z-10 outline-none",id:"main-content",tabIndex:-1,children:[(0,t.jsx)("section",{ref:u,className:"relative overflow-hidden px-6 pt-40 pb-24","data-contact-sequence":!0,"data-contact-hero":!0,children:(0,t.jsxs)("div",{className:"mx-auto w-full grid max-w-7xl grid-cols-1 items-center gap-10 lg:grid-cols-[1.1fr_0.9fr] lg:gap-16",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-h1 md:text-h1-md","data-contact-hero-heading":!0,"data-contact-text":!0,children:e?.hero?.heading}),(0,t.jsx)("p",{className:"mt-6 max-w-3xl text-h4 md:text-h4-md text-foreground-muted","data-contact-hero-sub":!0,"data-contact-text":!0,children:e?.hero?.subheading})]}),(0,t.jsxs)("div",{className:"relative flex w-full items-center justify-center","data-contact-container":!0,children:[(0,t.jsx)(B.HeroGlow,{}),(0,t.jsx)("div",{ref:f,className:"relative w-full max-w-[560px] aspect-[5/4]",style:{perspective:1200},children:(0,t.jsx)("div",{ref:p,className:"relative h-full w-full",style:{transformStyle:"preserve-3d",willChange:"transform"},children:(0,t.jsx)("div",{ref:m,className:"relative h-full w-full",children:k&&(0,t.jsx)("img",{alt:"","aria-hidden":"true",className:"pointer-events-none absolute inset-0 h-full w-full select-none object-contain drop-shadow-xl",draggable:!1,height:560,src:k,width:700})})})})]})]})}),(0,t.jsx)("section",{className:"px-6 pt-20 pb-24",children:(0,t.jsxs)("div",{className:"mx-auto max-w-7xl",children:[(0,t.jsxs)("div",{className:"max-w-4xl","data-contact-sequence":!0,"data-contact-sequence-start":"top 90%",children:[(0,t.jsx)("h2",{className:"text-h2 md:text-h2-md","data-contact-text":!0,children:a.contactPage.form.heading}),(0,t.jsxs)("p",{className:"mt-6 max-w-4xl text-p md:text-p-md text-foreground-muted","data-contact-text":!0,children:[a.contactPage.intro.prefix,(0,t.jsx)("a",{className:"font-medium text-foreground-default no-underline transition-all duration-[var(--duration-normal)] [transition-timing-function:var(--ease-out)] hover:text-foreground-light hover:underline underline-offset-2",href:"mailto:[email protected]",children:a.contactPage.intro.email}),a.contactPage.intro.suffix]})]}),(0,t.jsx)("div",{className:"mt-6 max-w-4xl","data-contact-sequence":!0,"data-contact-sequence-start":"top 90%",children:(0,t.jsx)("div",{ref:x,className:"rounded-xl card-surface border p-6 shadow-xl md:p-8","data-contact-container":!0,id:"contact-form",children:(0,t.jsx)(N,{config:w,webhookUrl:"/api/contact",clientId:"nickle-ai",submitLabel:a.contactPage.form.submitLabel,successMessage:a.contactPage.form.successMessage,unavailableMessage:a.contactPage.form.unavailableMessage,networkErrorMessage:a.contactPage.form.networkErrorMessage,onAnalyticsEvent:e=>
1{let t,r,a=(t=x.current?.querySelector('select[name="inquiry"]')?.value.trim()??"",r=y.find(e=>e.value===t)?.label??t,t?{inquiry_type:t,inquiry_label:r}:{});switch(e.event){case"form_started":g.current=!0,(0,A.pushAnalyticsEvent)({event:"form_start",...v.current,...a});break;case"form_submit_attempted":g.current=!0,(0,A.pushAnalyticsEvent)({event:"form_submit",...v.current,...a});break;case"form_submit_success":g.current=!0,b.current=!0,(0,A.pushAnalyticsEvent)({event:"form_submit_success",...v.current,...a,lead_source:"contact_form"});break;case"form_submit_failed":g.current=!0,(0,A.pushAnalyticsEvent)({event:"form_submit_error",...v.current,...a,error_type:"validation"===e.error?"validation":"server"})}},analyticsEnabled:!1,theme:{fontFamily:"var(--type-family-sans)",panelBackground:"transparent",panelBorderColor:"transparent",panelPadding:"0px",panelShadow:"none",fieldGap:"20px",inputBackground:"hsl(var(--surface-default))",inputBorderColor:"hsl(var(--border-control))",inputRadius:"var(--radius-default)",inputTextColor:"hsl(var(--foreground-default))",inputPlaceholderColor:"hsl(var(--foreground-muted))",labelColor:"hsl(var(--foreground-default))",errorColor:"hsl(var(--destructive-subtle))",successColor:"hsl(var(--foreground-default))",focusBorderColor:"hsl(var(--border-stronger))",focusRingColor:"hsl(var(--foreground-default))",focusRingWidth:"2px",focusRingOffset:"2px"},classNames:{label:"block font-medium text-foreground-default text-small mb-1.5",input:"h-[42px] px-4 py-2 text-p md:text-p-md bg-surface-default border border-border-control rounded-md focus-visible:border-border-stronger",textarea:"px-4 py-2 text-p md:text-p-md bg-surface-default border border-border-control rounded-md focus-visible:border-border-stronger min-h-[120px]",select:"h-[42px] px-4 py-2 text-p md:text-p-md bg-surface-default border border-border-control rounded-md focus-visible:border-border-stronger w-full",errorText:"mt-2 text-destructive-subtle text-small",successMessage:"text-foreground-muted text-p md:text-p-md",submitError:"text-destructive-subtle text-small md:text-small-md text-right",actions:"flex flex-col items-end"},renderSubmitButton:({isSubmitting:e,disabled:r,submitLabel:o})=>(0,t.jsxs)("div",{className:"flex w-full flex-col items-end gap-6",children:[(0,t.jsxs)("label",{className:"flex w-full cursor-pointer items-start gap-3 text-small text-foreground-muted",children:[(0,t.jsx)("input",{type:"checkbox",name:"privacy",required:!0,checked:s,onChange:e=>c(e.target.checked),className:"mt-0.5 h-4 w-4 shrink-0 cursor-pointer accent-current"}),(0,t.jsxs)("span",{children:[a.contactPage.form.privacy.before,(0,t.jsx)("a",{href:(0,$.getPath)(n,"privacy"),target:"_blank",rel:"noopener noreferrer",className:"text-foreground-default underline underline-offset-2",children:a.contactPage.form.privacy.link}),a.contactPage.form.privacy.after," *"]})]}),(0,t.jsx)(_.Button,{className:"relative overflow-hidden",disabled:r||!s,size:"md",slideInIcon:!0,slideInIconComponent:T.ArrowRight02Icon,type:"submit",variant:"primary",children:e?a.contactPage.form.submittingLabel:o})]})})})})]})})]}),(0,t.jsx)("div",{className:"relative z-10",children:(0,t.jsx)(S.Footer,{})})]})}e.s(["ContactPage",()=>I],949549)}]);
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.