1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,264790,e=>{"use strict";var t=e.i(357577),a=e.i(714081),s=e.i(852870),r=e.i(647163);e.s(["ChapterNav",0,function({chapters:e,className:n}){let[l,i]=a.useState(e[0]?.id??null),o=a.useRef({}),d=a.useRef(null),c=a.useRef({}),m=a.useRef(null);return a.useEffect(()=>{let t=()=>{m.current=null;let t=window.scrollY,a=Math.max(0,document.documentElement.scrollHeight-window.innerHeight),s=e.flatMap(e=>{let a,s=document.getElementById(e.id);if(!s)return[];let r=s.getBoundingClientRect();return[{id:e.id,height:r.height||1,landing:r.top+t-(Number.isFinite(a=Number.parseFloat(window.getComputedStyle(s).scrollMarginTop))?a:0)}]}),r=e[0]?.id??null;s.forEach((e,n)=>{let l=s[n+1],i=Math.max(1,Math.min(l?l.landing:e.landing+e.height,a)-e.landing),d=Math.max(0,Math.min(1,(t-e.landing)/i)),c=o.current[e.id];c&&(c.style.transform=`scaleX(${d})`),e.landing<=t+1&&(r=e.id)}),r&&i(e=>e===r?e:r)},a=()=>{null===m.current&&(m.current=window.requestAnimationFrame(t))};return t(),window.addEventListener("scroll",a,{passive:!0}),window.addEventListener("resize",a),()=>{window.removeEventListener("scroll",a),window.removeEventListener("resize",a),null!==m.current&&window.cancelAnimationFrame(m.current)}},[e]),a.useEffect(()=>{if(!l)return;let e=c.current[l],t=d.current;e&&t&&t.scrollTo({left:e.offsetLeft-(t.clientWidth-e.clientWidth)/2})},[l]),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(s.GridTee,{className:"absolute -top-[0.5px] -left-[3.5px] z-10 hidden lg:block"}),(0,t.jsx)(s.GridTee,{className:"absolute -top-[0.5px] -right-[3.5px] z-10 hidden lg:block"}),(0,t.jsx)("nav",{ref:d,"data-home-chapter-nav":!0,"aria-label":"Page chapters",className:(0,r.cn)("bg-grey-0 border-grey-100 flex w-full gap-3 overflow-x-auto border p-6 [-ms-overflow-style:none] [scrollbar-width:none] lg:overflow-x-visible lg:border-t-0 lg:p-3 [&::-webkit-scrollbar]:hidden",n),children:e.map(e=>{let a,s=l===e.id;return(0,t.jsxs)("a",{ref:t=>{c.current[e.id]=t},href:`#${e.id}`,onClick:(a=e.id,e=>{e.preventDefault();let t=document.getElementById(a);t&&t.scrollIntoView({behavior:"smooth",block:"start"})}),"aria-current":s?"true":void 0,className:(0,r.cn)("rounded-ds-m relative flex h-8 shrink-0 items-center overflow-hidden px-3 text-[12px] leading-[1.4] tracking-[-0.02em] whitespace-nowrap lg:flex-1 lg:px-2",s?"bg-[#f3f3f3]":"bg-[#f9f9f9] hover:bg-[#f3f3f3]"),children:[s&&(0,t.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute inset-y-0 left-0 w-full origin-left bg-[#e5e6e6]",ref:t=>{o.current[e.id]=t},style:{transform:"scaleX(0)",willChange:"transform"}}),(0,t.jsx)("span",{className:"text-grey-950 relative",children:e.label})]},e.id)})})]})}])},798438,e=>{"use strict";var t=e.i(357577),a=e.i(435554),s=e.i(14606),r=e.i(647163);e.s(["HeroApplyNowForm",0,function({emailPlaceholder:e,ctaLabel:n,sendingLabel:l="Sendingâ¦",className:i}){return(0,t.jsx)(a.ApplyNowEmailCapture,{id:"hero-email",emailPlaceholder:e,applyLabel:n,sendingLabel:l,buttonLayout:"hero-form",allowEmptyEmail:!0,formClassName:(0,r.cn)(s.EMAIL_CAPTURE_PILL_FORM_CLASS,"border-grey-300 bg-grey-0 mt-1 max-w-[426px]","focus-within:border-grey-500 transition-colors",i),inputClassName:s.EMAIL_CAPTURE_PILL_INPUT_CLASS})}])},282746,e=>{"use strict";var t=e.i(357577),a=e.i(928952);e.s(["HomeHeroTitle",0,function({lead:e,subtitle:s}){let r=e.endsWith(".")?e:`${e}.`;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"md:hidden",children:(0,t.jsx)(a.ScrollRevealText,{variant:"light",className:"text-balance",children:r})}),(0,t.jsx)("span",{className:"hidden md:contents",children:(0,t.jsxs)(a.ScrollRevealText,{variant:"light",className:"text-balance",children:[e,(0,t.jsx)("br",{}),s]})})]})}])},162341,e=>{"use strict";var t=e.i(357577),a=e.i(714081),s=e.i(647163);e.s(["StickyExpand",0,function({children:e}){let r=a.useRef(null),[n,l]=a.useState(!1),i=a.useRef(73);return a.useEffect(()=>{let e=r.current;if(!e)return;let t=()=>{let e;i.current=Number.isFinite(e=Number.parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--chapter-position").trim()))&&e>0?e:73},a=()=>{let t=i.current,a=e.getBoundingClientRect().top;l(e=>e?a<t+10:a<t)},s=()=>{t(),a()};t(),a(),window.addEventListener("scroll",a,{passive:!0}),window.addEventListener("resize",s),window.addEventListener("announcement-h-change",s);let n=document.querySelector("header");return n?.addEventListener("transitionend",s),()=>{window.removeEventListener("scroll",a),window.removeEventListener("resize",s),window.removeEventListener("announcement-h-change",s),n?.removeEventListener("transitionend",s)}},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{ref:r,"aria-hidden":!0}),(0,t.jsx)("div",{className:"sticky top-[var(--chapter-position)] z-20",children:(0,t.jsx)("div",{className:(0,s.cn)("mx-auto transition-[max-width] duration-700 ease-[
1cubic-bezier(0.23,1,0.32,1)] motion-reduce:transition-none",n?"max-w-full":"max-w-full md:max-w-[calc(100%-80px)] lg:max-w-[min(1280px,calc(100%-160px))]"),children:e})})]})}])},191246,e=>{"use strict";var t=e.i(357577),a=e.i(524422),s=e.i(108490),r=e.i(532990),n=e.i(191556),l=e.i(169114),i=e.i(88328),o=e.i(714081),d=e.i(647163);function c({heading:e,subheading:a}){return(0,t.jsxs)("h2",{className:"text-grey-950 w-full text-[24px] leading-[1.2] tracking-[-0.04em] md:text-[28px] lg:text-[32px]",children:[e," ",(0,t.jsx)("span",{className:"text-grey-500",children:a})]})}function m({children:e,className:a}){return(0,t.jsx)("div",{className:(0,d.cn)("rounded-ds-xl border-grey-100 bg-grey-0 relative overflow-hidden border",a),style:{backgroundImage:"linear-gradient(121deg, var(--grey-50) 0%, rgba(255,255,255,0) 100%)"},children:e})}var u=e.i(549727),h=e.i(590121);function g({progress:e,className:a,tickCount:s=36,stepCount:r,onStepSelect:n}){let l=(0,i.useTransform)(e,e=>`inset(0 ${(1-Math.min(1,Math.max(0,e)))*100}% 0 0)`),o=!!(r&&r>0&&n),c=Array.from({length:s},(e,t)=>t),m=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(x,{ticks:c,className:"bg-grey-100"}),(0,t.jsx)(h.motion.div,{className:"absolute inset-0",style:{clipPath:l},children:(0,t.jsx)(x,{ticks:c,className:"bg-grey-500"})})]});return(0,t.jsx)("div",{className:(0,d.cn)("flex h-9 items-center rounded-[8px] bg-white px-[10px] shadow-[0px_4.827px_24.134px_0px_rgba(0,0,0,0.06)]",a),children:o?(0,t.jsx)("button",{type:"button",onClick:e=>{if(!o||!r||!n)return;let t=e.currentTarget.getBoundingClientRect();n(Math.min(r-1,Math.max(0,Math.floor((e.clientX-t.left)/t.width*r))))},"aria-label":"Underwriting steps",className:"relative h-4 w-full cursor-pointer border-0 bg-transparent p-0",children:m}):(0,t.jsx)("div",{"aria-hidden":"true",className:"relative h-4 w-full",children:m})})}function x({ticks:e,className:a}){return(0,t.jsx)("div",{className:"absolute inset-0 flex justify-between",children:e.map(e=>(0,t.jsx)("span",{className:(0,d.cn)("w-[1.5px] shrink-0 self-stretch rounded-full",a)},e))})}function p({steps:e,activeStep:a,progress:s,showAll:r=!1,onStepSelect:n,className:l}){if(r)return(0,t.jsx)("ol",{className:(0,d.cn)("flex flex-col gap-8",l),children:e.map(e=>(0,t.jsx)("li",{className:"flex flex-col gap-2",children:(0,t.jsx)(f,{step:e})},e.number))});let i=e[Math.min(a,e.length-1)];return i?(0,t.jsxs)("div",{className:(0,d.cn)("flex max-w-[465px] flex-col gap-6",l),children:[(0,t.jsx)("div",{className:"relative min-h-[180px]",children:(0,t.jsx)(u.AnimatePresence,{mode:"wait",initial:!1,children:(0,t.jsx)(h.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:{duration:.22,ease:"easeOut"},className:"flex flex-col gap-2",children:(0,t.jsx)(f,{step:i})},i.number)})}),s&&(0,t.jsx)(g,{progress:s,className:"w-[236px]",stepCount:e.length,onStepSelect:n})]}):null}function f({step:e}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"text-grey-500 text-[12px] leading-[1.4] font-medium",children:e.eyebrow}),(0,t.jsx)("p",{className:"text-grey-950 text-[20px] leading-[1.2] tracking-[-0.04em] md:text-[24px]",children:e.title})]})}var b=e.i(175041);let v={width:"70.71%",aspectRatio:"1",transform:"scaleY(0.5) rotate(-45deg)",transformOrigin:"center",borderRadius:"4%",overflow:"hidden"},y="rotate(-25deg) skewX(39deg) scaleY(0.78)",w={orange:"rgba(255, 96, 64, 0.4)",magenta:"rgba(201, 74, 214, 0.36)",blue:"rgba(0, 120, 255, 0.4)"},j={orange:"linear-gradient(17.2deg, #FE634D 21.1%, #E040B4 79.4%, #942AEF 169.3%, #001EFF 256.8%)",magenta:"linear-gradient(307.7deg, #FE634D -3.1%, #E040B4 24.1%, #942AEF 65.9%, #001EFF 106.6%)",blue:"linear-gradient(233.2deg, #001EFF -23.3%, #0077F7 30.9%, #00A7F9 78.3%, #00DDFE 139.4%)"},N={orange:"Performance\ndata in",magenta:"Underwriting\ndecision made",blue:"Capital out"},C={orange:`translateY(-8%) ${y}`,magenta:y,blue:y};function L({variant:e,className:a}){return(0,t.jsxs)("span",{"aria-hidden":"true",className:(0,d.cn)("relative block aspect-[337/174] w-full",a),style:{containerType:"inline-size",f
1ilter:`drop-shadow(0 16px 30px ${w[e]})`},children:[(0,t.jsxs)("span",{className:"absolute inset-0 m-auto",style:{...v,background:j[e],border:"1px solid rgba(255,255,255,0.16)",boxShadow:"inset 0 0 62px rgba(255,255,255,0.45), inset 0 0 62px rgba(255,255,255,0.3)"},children:["blue"===e&&(0,t.jsx)("span",{className:"absolute inset-0",style:{background:"linear-gradient(332.1deg, #00DDFE, #001EFF)",mixBlendMode:"overlay"}}),(0,t.jsx)("span",{className:"absolute inset-0",style:{borderRadius:"inherit",borderLeft:"1.5px solid rgba(255,255,255,0.5)",borderBottom:"1.5px solid rgba(255,255,255,0.5)"}})]}),(0,t.jsx)("span",{className:"absolute inset-0 grid place-items-center",children:(0,t.jsx)("span",{className:"text-center whitespace-pre-line",style:{transform:C[e],transformOrigin:"center",color:"#fff",mixBlendMode:"lighten",fontFamily:"var(--font-inter, Inter), sans-serif",fontSize:"4.15cqw",lineHeight:1.15,letterSpacing:"-0.01em",fontFeatureSettings:'"ss03","ss01","zero","ss02"'},children:N[e]})})]})}let M="blur(12px) saturate(1.8) brightness(1.04) contrast(1.05)",E="linear-gradient(225deg, rgba(0,0,0,0.18) 0%, rgba(4,9,20,0.20) 28%, rgba(0,0,0,0.18) 100%)";function S({variant:e,tint:a,className:s}){return(0,t.jsxs)("span",{"aria-hidden":"true",className:(0,d.cn)("relative block aspect-[337/174] w-full",s),children:[(0,t.jsxs)("span",{className:"absolute inset-0 m-auto",style:{...v,borderRadius:0},children:[(0,t.jsx)("span",{className:"absolute inset-0",style:{borderRadius:"4%",backdropFilter:M,WebkitBackdropFilter:M}}),(0,t.jsx)("span",{className:"absolute inset-0",style:{borderRadius:"4%",border:"1px solid rgba(255,255,255,0.22)",background:a?`${a}, ${E}`:E}}),(0,t.jsx)("span",{className:"absolute inset-0",style:{borderRadius:"4%",borderLeft:"1.5px solid rgba(255,255,255,0.5)",borderBottom:"1.5px solid rgba(255,255,255,0.5)"}}),"top"===e&&(0,t.jsx)("span",{className:"absolute inset-0",style:{borderRadius:"4%",borderTop:"1px solid rgba(255,255,255,0.4)",borderRight:"1px solid rgba(255,255,255,0.4)"}})]}),"top"===e&&(0,t.jsx)("span",{className:"absolute top-1/2 left-1/2",style:{width:"23%",transform:`translate(-50%,-50%) ${y}`,transformOrigin:"center"},children:(0,t.jsx)(F,{})})]})}function H({veilOpacity:e=1,className:a,style:s}){return(0,t.jsxs)(h.motion.span,{"aria-hidden":"true",className:(0,d.cn)("relative block",a),style:{...s,opacity:e},children:[(0,t.jsxs)("span",{className:"absolute inset-0 block",style:{clipPath:'path("M 0 97 Q 0 85 10.7 79.6 L 159.3 5.4 Q 170 0 180.7 5.4 L 329.3 79.6 Q 340 85 340 97 L 340 189 Q 340 201 329.3 206.4 L 180.7 280.6 Q 170 286 159.3 280.6 L 10.7 206.4 Q 0 201 0 189 Z")'},children:[(0,t.jsxs)("span",{className:"absolute block",style:{inset:-30,filter:"blur(14px)",background:"linear-gradient(to bottom, #2E7BD8, #3D50E2 42%, #A44BDC 58%, #F07BC8 74%, #F8DFDC)"},children:[(0,t.jsx)("span",{className:"absolute",style:{top:24,left:24,width:352,height:188},children:(0,t.jsx)("span",{className:"absolute inset-0 m-auto",style:{...v,borderRadius:0,transform:"scaleY(0.5) rotate(-45deg) scale(1.12)",background:"linear-gradient(135deg, #95BCDA, #1577DB 45%, #16A1DA)"}})}),(0,t.jsx)("span",{className:"absolute",style:{top:112,left:20,width:190,height:150,transform:"skewY(26.57deg)",transformOrigin:"0 0",background:"linear-gradient(to bottom, #0F69D5, #8C52E7 32%, #F581DD 58%, #F7DEDC 85%, #FAF0EE)"}}),(0,t.jsx)("span",{className:"absolute",style:{top:112,left:190,width:190,height:150,transform:"skewY(-26.57deg)",transformOrigin:"100% 0",background:"linear-gradient(to bottom, #4594D5, #E366CA 32%, #F48EA5 58%, #F8DFDC 85%, #FAF0EE)"}}),(0,t.jsx)("span",{className:"absolute",style:{top:190,left:194,width:12,height:130,background:"linear-gradient(to bottom, #3BC8FE, #BB3DE0 45%, #F0789A 80%, #F8DFDC)"}})]}),(0,t.jsx)("span",{className:"absolute",style:{top:0,left:0,width:340,height:176,filter:"blur(2px) drop-shadow(0 12px 26px rgba(23, 42, 190, 0.5))"},children:(0,t.jsx)("span",{className:"absolute inset-0 m-auto",style:{...v,transform:"scaleY(0.5) rotate(-45deg) scale(0.97)",background:"linear-gradient(225deg, #55CBF2, #2E7FE2 45%, #1D3FE3)"},children:(0,t.jsx)("span",{className:"absolute inset-0",style:{borderRadius:"inherit",borderLeft:"2px s
1olid rgba(13, 25, 110, 0.4)",borderBottom:"2px solid rgba(13, 25, 110, 0.4)"}})})}),(0,t.jsx)("span",{className:"absolute",style:{left:169,top:170,width:2.5,height:116,background:"linear-gradient(to bottom, rgba(13,25,110,0.45), rgba(140,40,120,0.3) 55%, rgba(180,80,120,0.12))",filter:"blur(0.5px)"}}),(0,t.jsx)("span",{className:"absolute",style:{width:78,left:170,top:85,transform:`translate(-50%,-50%) ${y}`,transformOrigin:"center"},children:(0,t.jsx)(F,{})})]}),(0,t.jsx)("svg",{viewBox:"0 0 340 286",className:"absolute inset-0 block h-full w-full",style:{overflow:"visible"},children:(0,t.jsx)("path",{d:"M 0 97 Q 0 85 10.7 79.6 L 159.3 5.4 Q 170 0 180.7 5.4 L 329.3 79.6 Q 340 85 340 97 L 340 189 Q 340 201 329.3 206.4 L 180.7 280.6 Q 170 286 159.3 280.6 L 10.7 206.4 Q 0 201 0 189 Z",fill:"none",stroke:"rgba(30, 30, 90, 0.3)",strokeWidth:1.5,strokeLinejoin:"round"})})]})}function F(){return(0,t.jsxs)("svg",{viewBox:"0 0 77.8894 16.9834",fill:"none",style:{display:"block",width:"100%",mixBlendMode:"lighten"},"aria-hidden":!0,children:[(0,t.jsx)("path",{d:"M77.0903 3.67049C76.4087 3.67049 75.7977 3.83572 75.2571 4.15438C74.7165 4.48484 74.317 4.96874 74.0702 5.62966H73.4121V3.77671H70.7797V6.3614H72.0607V13.2185H74.6107V8.45039C74.6107 7.74226 74.7988 7.21116 75.1748 6.8807C75.5509 6.53843 76.0797 6.3614 76.7613 6.3614H77.8894V3.67049H77.0903Z",fill:"white"}),(0,t.jsx)("path",{d:"M67.7832 4.15439C67.0781 3.77672 66.2437 3.58788 65.2566 3.58788C64.2695 3.58788 63.3764 3.78852 62.636 4.18979C61.9074 4.57927 61.3433 5.13397 60.9438 5.87751C60.5442 6.59745 60.3444 7.47081 60.3444 8.474C60.3444 9.47719 60.5442 10.3624 60.9555 11.1059C61.3668 11.8376 61.9427 12.4159 62.6948 12.8172C63.4469 13.2185 64.3282 13.4191 65.3389 13.4191C66.3495 13.4191 67.6069 13.1359 68.406 12.5694C69.2052 11.9911 69.7222 11.2003 69.922 10.1971H67.3249C67.1839 10.5866 66.9606 10.8699 66.6316 11.0587C66.3025 11.2475 65.8677 11.3419 65.3154 11.3419C64.7631 11.3419 64.0462 11.1531 63.6231 10.7872C63.2001 10.4214 62.9298 9.89027 62.824 9.18214H69.9573V8.29697C69.9573 7.31738 69.7692 6.47943 69.3932 5.78309C69.0171 5.07496 68.4765 4.54386 67.7597 4.16619L67.7832 4.15439ZM62.918 7.44721C63.0591 6.8571 63.3176 6.40861 63.7171 6.11356C64.1285 5.8067 64.6455 5.65327 65.2801 5.65327C65.9147 5.65327 66.42 5.8067 66.7961 6.11356C67.1721 6.40861 67.4072 6.8571 67.4894 7.44721H62.918Z",fill:"white"}),(0,t.jsx)("path",{d:"M40.7075 0.519298C40.3314 0.849761 40.1434 1.38086 40.1434 2.08899V3.77671H38.4394V5.8185H40.1199V13.2185H42.717V5.8185H44.797V3.77671H42.6818V2.04179H44.9851V0H42.2939C41.6124 0 41.0835 0.177034 40.7075 0.519298Z",fill:"white"}),(0,t.jsx)("path",{d:"M46.1601 0V11.1295C46.1601 11.8376 46.3482 12.3687 46.7242 12.6992C47.1003 13.0415 47.6291 13.2185 48.3107 13.2185H49.9089V11.1767H48.769V0H46.1601Z",fill:"white"}),(0,t.jsx)("path",{d:"M32.5402 10.1381H32.4814L29.8491 3.77672H27.0874L31.1417 13.1359L30.4014 14.8944H28.3331V16.9834H30.4836C31.1887 16.9834 31.7176 16.8064 32.0701 16.4641C32.4109 16.1337 32.7164 15.6498 32.975 15.036L33.7388 13.2067L37.7696 3.76491H35.102L32.5284 10.1263L32.5402 10.1381Z",fill:"white"}),(0,t.jsx)("path",{d:"M26.1003 7.28198C26.1003 6.07815 25.7242 5.15758 24.9839 4.53206C24.2553 3.90654 23.1859 3.58788 21.7875 3.58788C20.389 3.58788 19.5077 3.85933 18.7438 4.39043C17.9799 4.92153 17.4981 5.71228 17.2866 6.75088H19.872C20.0952 6.01914 20.7298 5.65327 21.7875 5.65327C22.8451 5.65327 23.609 6.16077 23.609 7.17576V7.54163H20.9178C19.7074 7.54163 18.7791 7.78947 18.1327 8.29697C17.4864 8.80446 17.1573 9.5244 17.1573 10.4568C17.1573 11.3892 17.4746 12.0501 18.0975 12.593C18.7203 13.1241 19.5899 13.3955 20.6946 13.3955C21.7992 13.3955 22.187 13.2539 22.7276 12.9588C23.2682 12.652 23.703 12.2271 24.032 11.6842H24.6901V13.2303H27.3225V10.6456H26.1003V7.28198ZM23.6207 9.40638C23.6207 9.78405 23.5149 10.1263 23.2917 10.4332C23.0684 10.7282 22.7746 10.9643 22.3985 11.1413C22.0225 11.3183 21.5877 11.4128 21.0941 11.4128C20.6006 11.4128 20.295 11.3183 20.0247 11.1295C19.7662 10.9407 19.6369 10.6692 19.6369 10.327C19.6369 9.61882 20.107 9.27655 21.0471 9.27655H23.6207V9.41818V9.40638Z",fill:"white"}),(0,t.jsx)("path",{d:"M12.0101 0V2.57289H14.3487V2.6437L12.6565 9.06411H12.5977L10.3414 2.04179H5.5585V4.62647H6.21659V4.70909L4.88866 9.06411H4.8064L3.40796 3.77671H0V6.3614H1.43369V6.43221L3.34921 13.2185H6.00507L8.63742 5.90111H8.69618L11.4578 13.2185H14.1019L17.8624 0H12.0101Z",fill:"white"}),(0,t.jsx)("path",{d:"M55.9493 6.3614H56.6074V6.44402L55.1149 10.1381H55.0562L52.4238 3.77672H49.6622L53.7165 13.1359L52.9762 14.8944H50.9079V16.9834H53.0584C53.7635 16.9834 54.2923 16.8064 54.6449 16.4641C54.9857 16.1337 55.2912 15.6498 55.5498 15.036L56.3136 13.2067L60.3444 3.76491H55.9493V6.3614Z",fill:"white"})]})}let k=300/340,V=Math.round(300/340*286),z=Math.round(174/337*300),T=[0,46,92].map(e=>Math.round(e*k)),R=Math.max(0,V-z-T[2]),A=T[2]+z+20+R,B={stiffness:90,damping:28,mass:.4},D=[{variant:"mid",bottom:Math.round(24*k),z:15,tint:"linear-gradient(45deg, rgba(255,96,64,0.3), rgba(201,74,214,0.24))"},{variant:"mid",bottom:Math.round(70*k),z:25,tint:"linear-gradient(45deg, rgba(201,74,214,0.3), rgba(0,120,255,0.24))"},{variant:"top",bottom:Math.round(116*k),z:35,tint:"linear-gradient(45deg, rgba(0,120,255,0.3), rgba(64,208,255,0.24))"}];function $({heading:e,subheading:s,steps:r,className:n}){let[u,x]=(0,b.default)({align:"start",containScroll:!1}),p=(0,a.useMotionValue)(r.length>0?1/r.length:0),f=(0,l.useSpring)(p,B),[v,y]=(0,o.useState)(0),[w,j]=(0,o.useState)(0);(0,o.useEffect)(()=>
1{if(!x)return;let e=()=>{p.set(Math.min(1,Math.max(0,function(e,t){let a=e.scrollSnapList(),s=t>0?t:a.length;if(s<=1)return 1;let r=e.scrollProgress(),n=e.selectedScrollSnap();for(let e=0;e<a.length-1;e++){let t=a[e],n=a[e+1];if(r>=t-.001&&r<=n+.001){let a=n-t||1;return Math.min(1,Math.max(0,(e+(r-t)/a+1)/s))}}return(n+1)/s}(x,r.length)))),y(x.selectedScrollSnap()),j(x.scrollProgress())};return e(),x.on("scroll",e),x.on("select",e),x.on("reInit",e),()=>{x.off("scroll",e),x.off("select",e),x.off("reInit",e)}},[x,p,r.length]);let N=1/3,C=2/3,M=5/6,E=(0,l.useSpring)((0,i.useTransform)(f,[N,N+.08],[-280,0]),B),F=(0,l.useSpring)((0,i.useTransform)(f,[N+.05,N+.18],[-280,0]),B),z=(0,l.useSpring)((0,i.useTransform)(f,[C-.05,C+.05],[-280,0]),B),R=(0,l.useSpring)((0,i.useTransform)(f,[M-.07,M+.07],[-280,0]),B),I=(0,l.useSpring)((0,i.useTransform)(f,[M+.02,M+.12],[-280,0]),B),_=(0,i.useTransform)(f,[.94,1],[0,1]),P=[{variant:"orange",bottom:T[0],z:10,y:null},{variant:"magenta",bottom:T[1],z:20,y:F},{variant:"blue",bottom:T[2],z:30,y:R}],O=[{...D[0],y:E},{...D[1],y:z},{...D[2],y:I}],Q=x?.scrollSnapList()??[],Z=Q.length>1?Math.max(Q[1]-Q[0],.001):1;return(0,t.jsxs)("div",{className:(0,d.cn)("flex flex-col gap-6",n),children:[(0,t.jsx)(c,{heading:e,subheading:s}),(0,t.jsxs)(m,{className:"flex flex-col gap-8 px-4 py-8",children:[(0,t.jsx)("div",{className:"relative mx-auto w-full",style:{height:A,maxWidth:348},children:(0,t.jsxs)("div",{className:"absolute bottom-0 left-1/2 -translate-x-1/2",style:{width:300},children:[P.map(e=>{let a=(0,t.jsx)(L,{variant:e.variant}),s={width:300,left:0,bottom:e.bottom,zIndex:e.z};return e.y?(0,t.jsx)(h.motion.div,{className:"absolute will-change-transform",style:{...s,y:e.y},children:a},e.variant):(0,t.jsx)("div",{className:"absolute",style:s,children:a},e.variant)}),O.map((e,a)=>(0,t.jsx)(h.motion.div,{className:"absolute left-0 will-change-transform",style:{width:300,left:0,bottom:e.bottom,zIndex:e.z,y:e.y},children:(0,t.jsx)(S,{variant:e.variant,tint:e.tint})},`glass-${a}`)),(0,t.jsx)("div",{className:"pointer-events-none absolute overflow-hidden",style:{left:0,width:300,bottom:3,height:V,zIndex:38},children:(0,t.jsx)(H,{veilOpacity:_,style:{width:340,height:286,transform:`scale(${k})`,transformOrigin:"top left"}})})]})}),(0,t.jsx)("div",{className:"overflow-hidden",ref:u,children:(0,t.jsx)("ol",{className:"-ml-3 flex items-center",children:r.map((e,a)=>{let s=Q[a]??a/Math.max(r.length-1,1),n=(x?s-w:a-v)/Z,l=.905+.09499999999999997*Math.max(0,1-Math.abs(n)),i=Math.max(0,Math.min(1,1-4*Math.abs(n)));return(0,t.jsx)("li",{className:"min-w-0 flex-[0_0_90%] pl-3","aria-current":.05>Math.abs(n)?"step":void 0,children:(0,t.jsx)("article",{className:"flex min-h-[164px] origin-left flex-col gap-2 rounded-[8px] bg-white p-4 drop-shadow-[0px_4.827px_12.067px_rgba(0,0,0,0.06)] will-change-transform",style:{transform:`scale(${l})`},children:(0,t.jsxs)("div",{className:"flex flex-col gap-2",style:{opacity:i},"aria-hidden":i<.05||void 0,children:[(0,t.jsx)("p",{className:"text-grey-500 text-[12px] leading-[1.4]",children:e.eyebrow}),(0,t.jsx)("p",{className:"text-grey-950 text-[18px] leading-[1.3] tracking-[-0.02em]",children:e.title})]})})},e.number)})})}),(0,t.jsx)(g,{progress:f,className:"mx-auto w-full max-w-[288px]",tickCount:45,stepCount:r.length,onStepSelect:e=>x?.scrollTo(e)}),(0,t.jsxs)("p",{className:"sr-only","aria-live":"polite",children:["Step ",v+1," of ",r.length,": ",r[v]?.eyebrow]})]})]})}let I=[{variant:"orange",bottom:0,z:10},{variant:"magenta",bottom:46,z:20},{variant:"blue",bottom:92,z:30}],_=[{variant:"mid",bottom:24,z:15,layer:0,tint:"linear-gradient(45deg, rgba(255,96,64,0.3), rgba(201,74,214,0.24))"},{variant:"mid",bottom:70,z:25,layer:1,tint:"linear-gradient(45deg, rgba(201,74,214,0.3), rgba(0,120,255,0.24))"},{variant:"top",bottom:116,z:35,layer:2,tint:"linear-gradient(45deg, rgba(0,120,255,0.3), rgba(64,208,255,0.24))"}],P=Math.round(174/337*340),O=Math.max(...I.map(e=>e.bottom),..._.map(e=>e.bottom));function Q({steps:e,activeStep:a,cards:s,glassCards:r,box:n,onStepSelect:l,className:i}){return(0,t.jsxs)("div",{className:(0,d.cn)("relative",i),style:{width:404,height:O+P+24},children:[s&&(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0",children:[0,170,340].map(e=>(0,t.jsx)("div",{className:"border-grey-100 absolute top-1/2 h-[900px] w-0 -translate-y-1/2 border-l border-dashed",style:{left:e}},e))}),(0,t.jsxs)("div",{className:"absolute bottom-0 left-0",style:{width:340},children:[I.map((e,a)=>{let r=s?.[a],n={className:"absolute left-0 will-change-transform",style:{width:340,bottom:e.bottom,zIndex:e.z}},l=(0,t.jsx)(L,{variant:e.variant});return r?(0,t.jsx)(h.motion.div,{className:n.className,style:{...n.style,y:r.y},children:l},e.variant):(0,t.jsx)("div",{className:n.className,style:n.style,children:l},e.variant)}),_.map((e,a)=>{let n=r?.[a]??s?.[e.layer],l={className:"absolute left-0 will-change-transform",style:{width:340,bottom:e.bottom,zIndex:e.z}},i=(0,t.jsx)(S,{variant:e.variant,tint:e.tint});return n?(0,t.jsx)(h.motion.div,{className:l.className,style:{...l.style,y:n.y},children:i},`${e.variant}-${a}`):(0,t.jsx)("div",{className:l.className,style:l.style,children:i},`${e.variant}-${a}`)}),(0,t.jsx)("div",{className:"absolute",style:{left:0,width:340,bottom:3,height:286,zIndex:38},children:(0,t.jsx)(H,{veilOpacity:n?.veil,style:{width:"100%",height:"100%"}})})]}),(0,t.jsx)("div",{className:"absolute right-0 bottom-0 z-40",style:{width:24},role:l?"group":void 0,"aria-label":l?"Underwriting steps":void 0,children:I.map((s,r)=>{let n=r===a,i=e[r],o=(0,d.cn)("shadow-ds-xs absolute right-0 flex items-center justify-center rounded-full bg-white text-[10px] font-medium transition-colors duration-200",n?"border-grey-200 text-grey-950 border":"text-grey-500",l&&"hover:border-grey-200 hover:text-grey-950 focus-visible:ring-grey-950 focus-visible:ring-offset-grey-0 cursor-pointer focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none"),c={width:24,height:24,bottom:s.bottom+P/2-12};return l?(0,t.jsx)("button",{type:"button","aria-current":n?"step":void 0,"aria-label":i?`Go to step ${i.number}: ${i.eyebrow}`:`Go to step ${r+1}`,onClick:()=>l(r),className:o,style:c,children:i?.number},s.variant):(0,t.jsx)("div",{"aria-current":n?"step":void 0,className:o,style:c,children:i?.number},s.variant)})})]})}let Z={stiffness:90,damping:28,mass:.4},U=[0,.39,.65];function Y(e,t){if(U.length!==t)return Math.min(t-1,Math.max(0,Math.floor(e*t)));let a=0;
1return U.forEach((t,s)=>{e>=t&&(a=s)}),a}function W({heading:e,subheading:r,steps:u,className:h}){let g=(0,o.useRef)(null),[x,f]=(0,o.useState)(0),{scrollYProgress:b}=(0,n.useScroll)({target:g,offset:["start start","end end"]});(0,s.useMotionValueEvent)(b,"change",e=>{let t=Y(e,u.length);f(e=>e===t?e:t)});let v=[{y:(0,a.useMotionValue)(0)},{y:(0,l.useSpring)((0,i.useTransform)(b,[.26,.39],[-620,0]),Z)},{y:(0,l.useSpring)((0,i.useTransform)(b,[.52,.65],[-620,0]),Z)}],y=[{y:(0,l.useSpring)((0,i.useTransform)(b,[.13,.26],[-620,0]),Z)},{y:(0,l.useSpring)((0,i.useTransform)(b,[.39,.52],[-620,0]),Z)},{y:(0,l.useSpring)((0,i.useTransform)(b,[.65,.78],[-620,0]),Z)}],w={veil:(0,l.useSpring)((0,i.useTransform)(b,[.87,.89],[0,1]),{stiffness:220,damping:30,mass:.3})},j=(0,l.useSpring)(b,Z),N=(0,o.useCallback)(e=>{let t=g.current;if(!t)return;let a=t.getBoundingClientRect().top+window.scrollY,s=t.offsetHeight-window.innerHeight;if(s<=0)return;let r=Math.min(u.length-1,Math.max(0,e)),n=U.length===u.length?U[r]:(r+.5)/u.length;window.scrollTo({top:a+n*s,behavior:"smooth"})},[u.length]);return(0,t.jsx)("section",{ref:g,className:(0,d.cn)("relative",h),style:{height:`${100*u.length}vh`},children:(0,t.jsxs)("div",{className:(0,d.cn)("sticky flex flex-col gap-8","top-[calc(var(--nav-offset)+var(--chapter-nav-h)+16px)]"),children:[(0,t.jsx)(c,{heading:e,subheading:r}),(0,t.jsxs)(m,{className:"h-[560px]",children:[(0,t.jsx)(p,{steps:u,activeStep:x,progress:j,onStepSelect:N,className:"absolute top-1/2 left-[7%] w-[42%] max-w-[465px] -translate-y-1/2"}),(0,t.jsx)(Q,{steps:u,activeStep:x,cards:v,glassCards:y,box:w,onStepSelect:N,className:"absolute top-1/2 right-[6%] -translate-y-1/2"}),(0,t.jsx)(X,{activeStep:x,steps:u})]})]})})}function G({heading:e,subheading:a,steps:s,className:r}){return(0,t.jsxs)("div",{className:(0,d.cn)("flex flex-col gap-8",r),children:[(0,t.jsx)(c,{heading:e,subheading:a}),(0,t.jsxs)(m,{className:"flex flex-col items-center gap-12 px-6 py-10 md:px-10 md:py-14",children:[(0,t.jsx)(p,{steps:s,activeStep:0,showAll:!0,className:"w-full max-w-[520px]"}),(0,t.jsx)(Q,{steps:s,activeStep:s.length-1,className:"hidden shrink-0 sm:block"})]})]})}function X({activeStep:e,steps:a}){return(0,t.jsxs)("p",{className:"sr-only","aria-live":"polite",children:["Step ",e+1," of ",a.length,": ",a[e]?.eyebrow]})}e.s(["STEP_LANDINGS",0,U,"UnderwritingEngine",0,function({heading:e,subheading:a,steps:s,className:n}){let l=(0,r.useReducedMotion)();return(0,t.jsx)("div",{className:(0,d.cn)("flex flex-col gap-8",n),children:l?(0,t.jsx)(G,{heading:e,subheading:a,steps:s}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)($,{className:"lg:hidden",heading:e,subheading:a,steps:s}),(0,t.jsx)(W,{className:"hidden lg:block",heading:e,subheading:a,steps:s})]})})},"stepAtProgress",0,Y],191246)}]); 2 3//# sourceMappingURL=362az02fuwq99.js.map
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.