1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,1962,e=>{"use strict";var t=e.i(43476),r=e.i(22016);let n=e.i(46932).motion.create(r.default),a={lg:"h-[54px] px-8 text-[18px] font-bold",md:"h-[44px] px-6 text-base font-bold",sm:"h-[36px] px-4 text-sm font-semibold"},o={primary:"rounded-full border border-transparent bg-cc-mint text-cc-foundation shadow-[0_4px_12px_rgba(29,184,104,0.34)] hover:bg-cc-mint",secondary:"rounded-full border border-cc-accent bg-cc-foundation-deep text-cc-mint backdrop-blur-[12px] hover:border-cc-accent-hover hover:bg-cc-foundation-deep",ghost:"rounded-lg text-cc-accent hover:text-cc-accent-hover hover:underline"},s={primary:"rounded-full border border-transparent bg-cc-accent-on-warm text-white shadow-[0_6px_24px_rgba(4,120,87,0.28)] hover:bg-[#065F46]",secondary:"rounded-full border border-cc-text-primary-warm/15 bg-white text-cc-text-primary-warm hover:border-cc-accent-on-warm/40 hover:text-cc-accent-on-warm",ghost:"rounded-lg text-cc-accent-on-warm hover:underline"},i={primary:"font-bold leading-[18px] [font-family:var(--font-cta)] text-trim",secondary:"font-medium leading-[18px] [font-family:var(--font-cta)] text-trim",ghost:"font-semibold leading-[20px] text-trim"};e.s(["default",0,function({href:e,variant:r="primary",size:l="md",children:c,className:d="",style:u,warmSurface:f=!1,chrome:h=!1,dataPrimaryCta:m=!1}){let p="ghost"===r||h?a[l]:`px-6 py-4 text-[16px] ${i[r]}`;return(0,t.jsx)(n,{href:e,className:`inline-flex items-center justify-center focus-visible:ring-2 focus-visible:ring-cc-accent-glow focus-visible:ring-offset-2 focus-visible:ring-offset-cc-foundation ${p} ${(f?s:o)[r]} ${f?"focus-visible:ring-offset-[#FAF9F7]":""} ${d}`,style:u,...m?{"data-primary-cta":""}:{},whileHover:{scale:1.02,boxShadow:u?.boxShadow??(f?"primary"===r?"0 8px 24px rgba(4,120,87,0.34)":"secondary"===r?"0 4px 18px rgba(26,29,38,0.12)":void 0:"primary"===r?"0 6px 20px rgba(29,184,104,0.47)":"secondary"===r?"0 4px 24px rgba(16,185,129,0.25)":void 0),transition:{type:"spring",stiffness:200,damping:25}},whileTap:{scale:.98,transition:{type:"spring",stiffness:300,damping:28}},children:c})}])},13729,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(69464);let a=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),r.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H136v48a8,8,0,0,1-16,0V136H72a8,8,0,0,1,0-16h48V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H132v84a4,4,0,0,1-8,0V132H40a4,4,0,0,1,0-8h84V40a4,4,0,0,1,8,0v84h84A4,4,0,0,1,220,128Z"}))]]),o=r.forwardRef((e,t)=>r.createElement(n.default,{ref:t,...e,weights:a}));o.displayName="PlusIcon";var s=e.i(88653),i=e.i(46932),l=e.i(72328),c=e.i(63575),d=e.i(75679);let u=[{q:"How does the AI work?",a:"Your reps record real field conversations on the phone they already carry. The AI transcribes each one, scores it across seven skill dimensions, flags the objections and the moments that got missed, and measures the call against what your top performers do differently. That comes back to the manager as specific coaching â which rep, which moment, what to work on next."},{q:"Is this a mobile app? Web app? Or both?",a:"Both, and they do different jobs. Reps live in the mobile app: roleplay against an AI buyer before the appointment, record the real one, get scored after it. Managers live in the web command center: every conversation, a live map of who is out, flagged objections as they happen, and live listen with whisper coaching. One system, two front doors."},{q:"How safe is my data?",a:"SOC2 and GDPR, with SSO, SAML, role-based access control, audit logging, and data residency options on Business plans. Calls are encrypted in transit and at rest. Your recordings stay yours â they are never used to train models for other customers."},{q:"How long does setup take?",a:"Your team is live in 72 hours. Setup is completely done-for-you â we build your sales process, scripts, objections and top performers into the platform and integrate your CRM, then hand it over ready to use. You also get a dedicated Slack channel with our founders and engineers, so adoption is not left to chance."},{q:"Does CloserCoach integrate with my CRM?",a:"Yes. We work with the trade CRMs, and there is a REST API with webhooks on top â so scores and call data flow into whatever else you run instead of being tracked by hand. Our done-for-you implementation includes integrating with your CRM."},{q:"Is this the same as an AI receptionist?",a:"No â they solve opposite halves of the same problem. An AI receptionist works before the conversation: it answers, qualifies and gets the lead in front of one of your reps. CloserCoach starts the moment that hand-off happens. A booked lead is only worth what the rep does with it, and reps are human â the energy they bring to the tenth conversation of the day is not the energy they brought to the first, and nobody is in the room to notice. We record what actually gets said, score it, and train each rep on the moments that cost them the deal. The receptionist fills the calendar. We make sure those appointments close."},{q:"Isnât this cheating?",a:"No more than a ride-along is. Reps rehearse against an AI buyer before the appointment, the same way a team runs plays before the game â and when a manager listens in live and sends a suggested response, that is the coaching they would have given from the passenger seat, without the drive. The conversation is still your repâs. We just stop them learning it on your leads."}];e.s(["default",0,function(){let e=(0,l.useReducedMotion)()??!1,[n,a]=(0,r.useState)(null);return(0,t.jsx)("section",{id:"faq","data-surface":"warm","aria-labelledby":"home-faq-heading",className:"bg-[#FAF9F7] py-20 md:py-28",children:(0,t.jsxs)("div",{className:"mx-auto grid w-full max-w-[1100px] grid-cols-1 gap-10 px-6 lg:grid-cols-[minmax(240px,340px)_1fr] lg:gap-16 2xl:max-w-[1200px]",children:[(0,t.jsx)(c.default,{children:(0,t.jsx)("h2",{id:"home-faq-heading",className:"text-trim display-md uppercase text-cc-text-primary-warm",children:"Frequently asked questions"})}),(0,t.jsx)(c.default,{delay:.08,children:(0,t.jsx)("dl",{className:"border-t border-cc-text-primary-warm/12",children:u.map((r,l)=>{let c=n===l;return(0,t.jsxs)("div",{className:"border-b border-cc-text-primary-warm/12",children:[(0,t.jsx)("dt",{children:(0,t.jsxs)("button",{type:"button","aria-expanded":c,"aria-controls":`faq-panel-${l}`,id:`faq-trigger-${l}`,onClick:()=>{let e=c?null:l;a(e),null!==e&&(0,d.track)("faq_open",{question:r.q,page:"home"})},className:"group flex min-h-[64px] w-full items-center justify-between gap-6 py-5 text-left transition-colors hover:text-cc-accent-on-warm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cc-accent-on-warm focus-visible:ring-offset-2",children:[(0,t.jsx)("span",{className:"text-[16px] font-bold leading-snug text-cc-text-primary-warm transition-colors group-hover:text-cc-accent-on-warm md:text-[18px]",children:r.q}),(0,t.jsx)(o,{weight:"bold","aria-hidden":"true",className:`h-[18px] w-[18px] shrink-0 text-cc-text-primary-warm/45 transition-transform duration-300 group-hover:text-cc-accent-on-warm ${c?"rotate-45":""}`})]})}),(0,t.jsx)(s.AnimatePresence,{initial:!1,children:c&&(0,t.jsx)(i.motion.dd,{id:`faq-panel-${l}`,"aria-labelledby":`faq-trigger-${l}`,initial:{height:0,opacity:0}
1,animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:e?{duration:0}:{duration:.28,ease:[.22,1,.36,1]},className:"overflow-hidden",children:(0,t.jsx)("p",{className:"max-w-[62ch] pb-6 pr-8 text-[15px] leading-relaxed text-cc-text-secondary-warm md:text-[16px]",children:r.a})})})]},r.q)})})})]})})}],13729)},30570,e=>{"use strict";e.i(43476);var t=e.i(71645);e.i(22016);let r=["utm_source","utm_medium","utm_campaign","gclid","fbclid","ttclid","msclkid"];var n=e.i(85149);let a=new Map,o=()=>()=>{};e.s(["useDemoHref",0,function(e,s="homepage"){return(0,t.useSyncExternalStore)(o,()=>{let t,n,o;return t=window.location.search,n=`${e}|${s}|${t}`,(o=a.get(n))||(o=function(e,t="homepage",n){let a=new URLSearchParams(n??""),o=r.some(e=>a.get(e)),s=new URLSearchParams;return o?(a.forEach((e,t)=>s.set(t,e)),s.set("cc_cta",`${t}:${e}`)):(s.set("utm_source","closercoach.ai"),s.set("utm_medium","internal_cta"),s.set("utm_campaign",t),s.set("utm_content",e)),`/book-demo?${s.toString()}`}(e,s,t),a.set(n,o)),o},()=>n.CTA.bookDemo.href)}],30570)},95087,e=>{"use strict";var t=e.i(43476),r=e.i(58243),n=e.i(63575),a=e.i(1962),o=e.i(93680),s=e.i(30570),i=e.i(85149);let l="#34E18E";e.s(["default",0,function({variant:e="assets"}={}){let c=(0,s.useDemoHref)("command-close");return(0,t.jsxs)("section",{id:"cta",className:"relative overflow-hidden bg-cc-pitch py-24 md:py-36",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 z-0","aria-hidden":"true",style:{background:"radial-gradient(ellipse 50% 45% at 50% 26%, rgba(52,225,142,0.06) 0%, rgba(16,185,129,0.02) 50%, transparent 74%), linear-gradient(to bottom, #010B09 0%, #021410 45%, #010B09 100%)"}}),(0,t.jsx)(o.default,{opacity:.02}),(0,t.jsx)("div",{className:"relative z-10 mx-auto flex max-w-[1000px] flex-col items-center px-6",children:(0,t.jsxs)(n.default,{className:"flex w-full flex-col items-center gap-7",children:["assets"===e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{className:"inline-flex items-center gap-2 rounded-full px-4 py-2 font-mono text-[10.5px] font-bold uppercase tracking-[0.18em] md:text-[11.5px]",style:{color:l,border:`1px solid ${l}4D`,background:`${l}14`},children:[(0,t.jsx)("span",{className:"h-[6px] w-[6px] shrink-0 rounded-full",style:{background:l},"aria-hidden":"true"}),"For multi-location & PE-backed operators"]}),(0,t.jsxs)("h2",{className:"broadcast-sub text-center text-cc-text-primary",children:["Turn real conversations"," ",(0,t.jsx)("span",{className:"block",children:(0,t.jsx)("span",{className:"italic",children:"into company assets."})})]}),(0,t.jsx)("p",{className:"max-w-[660px] text-center font-sans text-lg leading-relaxed text-white/95",children:"Your best closerâs process, extracted from the sits theyâre actually running â documented, deployed across every location, and yours to keep."}),(0,t.jsx)("ul",{className:"flex flex-col gap-3 text-left",children:["Your process documented, not stuck in two peopleâs heads","One playbook that installs across every location","Yours to keep â it stays when your best closer doesnât"].map(e=>(0,t.jsxs)("li",{className:"flex items-start gap-3",children:[(0,t.jsx)("span",{className:"mt-[3px] flex h-[18px] w-[18px] shrink-0 items-center justify-center rounded-full",style:{background:`${l}26`},"aria-hidden":"true",children:(0,t.jsx)(r.Check,{size:11,weight:"bold",style:{color:l}})}),(0,t.jsx)("span",{className:"text-pretty font-sans text-[15.5px] leading-snug text-white md:text-[17px]",children:e})]},e))}),(0,t.jsx)("p",{className:"max-w-[560px] text-center font-sans text-[13.5px] leading-relaxed text-white/70 md:text-[14.5px]",children:"Built for roll-ups, multi-location operators, and owners building toward an exit."})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("h2",{className:"broadcast-sub text-center text-cc-text-primary",children:["One extra sale a month"," ",(0,t.jsx)("span",{className:"block",children:(0,t.jsx)("span",{className:"italic",children:"pays for itself."})})]}),(0,t.jsx)("p",{className:"max-w-[620px] text-center font-sans text-lg leading-relaxed text-white",children:"See how CloserCoach can plug the gaps in your sales process."})]}),(0,t.jsx)(a.default,{href:c,variant:"primary",size:"lg",className:"w-full sm:w-auto",dataPrimaryCta:!0,children:i.CTA.bookDemo.text})]})})]})}])},10542,35382,95420,e=>{"use strict";
1var t=e.i(30551),r=e.i(86427),n=e.i(65566),a=e.i(71645),o=e.i(60830),s=e.i(87022);function i(e,t){let r,n=()=>{let{currentTime:n}=t,a=(null===n?0:n.value)/100;r!==a&&e(a),r=a};return s.frame.preUpdate(n,!0),()=>(0,s.cancelFrame)(n)}function l(e){return!("u"<typeof window)&&(e?(0,t.supportsViewTimeline)():(0,t.supportsScrollTimeline)())}var c=e.i(61327),d=e.i(83920),u=e.i(25791);let f=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),h={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function m(e,t,r,n){let a=r[t],{length:o,position:s}=h[t],i=a.current,l=r.time;a.current=Math.abs(e[`scroll${s}`]),a.scrollLength=e[`scroll${o}`]-e[`client${o}`],a.offset.length=0,a.offset[0]=0,a.offset[1]=a.scrollLength,a.progress=(0,d.progress)(0,a.scrollLength,a.current);let c=n-l;a.velocity=c>50?0:(0,u.velocityPerSecond)(a.current-i,c)}e.i(47167);var p=e.i(44230),g=e.i(15923),x=e.i(76959),y=e.i(72846);let w={start:0,center:.5,end:1};function b(e,t,r=0){let n=0;if(e in w&&(e=w[e]),"string"==typeof e){let t=parseFloat(e);e.endsWith("px")?n=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?n=t/100*document.documentElement.clientWidth:e.endsWith("vh")?n=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(n=t*e),r+n}let v=[0,0],j=[[0,0],[1,1]],k={x:0,y:0},E=new WeakMap,A=new WeakMap,N=new WeakMap,H=new WeakMap,C=new WeakMap,M=e=>e===document.scrollingElement?window:e;function S(e,{container:t=document.scrollingElement,trackContentSize:r=!1,...n}={}){if(!t)return o.noop;let a=N.get(t);a||(a=new Set,N.set(t,a));let i=function(e,t,r,n={}){return{measure:t=>{!function(e,t=e,r){if(r.x.targetOffset=0,r.y.targetOffset=0,t!==e){let n=t;for(;n&&n!==e;)r.x.targetOffset+=n.offsetLeft,r.y.targetOffset+=n.offsetTop,n=n.offsetParent}r.x.targetLength=t===e?t.scrollWidth:t.clientWidth,r.y.targetLength=t===e?t.scrollHeight:t.clientHeight,r.x.containerLength=e.clientWidth,r.y.containerLength=e.clientHeight}(e,n.target,r),m(e,"x",r,t),m(e,"y",r,t),r.time=t,(n.offset||n.target)&&function(e,t,r){let{offset:n=j}=r,{target:a=e,axis:o="y"}=r,s="y"===o?"height":"width",i=a!==e?function(e,t){let r={x:0,y:0},n=e;for(;n&&n!==t;)if((0,y.isHTMLElement)(n))r.x+=n.offsetLeft,r.y+=n.offsetTop,n=n.offsetParent;else if("svg"===n.tagName){let e=n.getBoundingClientRect(),t=(n=n.parentElement).getBoundingClientRect();r.x+=e.left-t.left,r.y+=e.top-t.top}else if(n instanceof SVGGraphicsElement){let{x:e,y:t}=n.getBBox();r.x+=e,r.y+=t;let a=null,o=n.parentNode;for(;!a;)"svg"===o.tagName&&(a=o),o=n.parentNode;n=a}else break;return r}(a,e):k,l=a===e?{width:e.scrollWidth,height:e.scrollHeight}:"getBBox"in a&&"svg"!==a.tagName?a.getBBox():{width:a.clientWidth,height:a.clientHeight},c={width:e.clientWidth,height:e.clientHeight};t[o].offset.length=0;let d=!t[o].interpolate,u=n.length;for(let e=0;e<u;e++){let r=function(e,t,r,n){let a=Array.isArray(e)?e:v,o=0;return"number"==typeof e?a=[e,e]:"string"==typeof e&&(a=(e=e.trim()).includes(" ")?e.split(" "):[e,w[e]?e:"0"]),(o=b(a[0],r,n))-b(a[1],t)}(n[e],c[s],l[s],i[o]);d||r===t[o].interpolatorOffsets[e]||(d=!0),t[o].offset[e]=r}d&&(t[o].interpolate=(0,p.interpolate)(t[o].offset,(0,g.defaultOffset)(n),{clamp:!1}),t[o].interpolatorOffsets=[...t[o].offset]),t[o].progress=(0,x.clamp)(0,1,t[o].interpolate(t[o].current))}(e,r,n)},notify:()=>t(r)}}(t,e,{time:0,x:f(),y:f()},n);if(a.add(i),!E.has(t)){let e=()=>{for(let e of a)e.measure(s.frameData.timestamp);s.frame.preUpdate(r)},r=()=>{for(let e of a)e.notify()},n=()=>s.frame.read(e);E.set(t,n);let o=M(t);window.addEventListener("resize",n),t!==document.documentElement&&A.set(t,(0,c.resize)(t,n)),o.addEventListener("scroll",n),n()}if(r&&!C.has(t)){let e=E.get(t),r={width:t.scrollWidth,height:t.scrollHeight};H.set(t,r);let n=s.frame.read(()=>{let n=t.scrollWidth,a=t.scrollHeight;(r.width!==n||r.height!==a)&&(e(),r.width=n,r.height=a)},!0);C.set(t,n)}let l=E.get(t);return s.frame.read(l,!1,!0),()=>{(0,s.cancelFrame)(l);let e=N.get(t);if(!e||(e.delete(i),e.size))return;let r=E.get(t);E.delete(t),r&&(M(t).removeEventListener("scroll",r),A.get(t)?.(),window.removeEventListener("resize",r));let n=C.get(t);n&&((0,s.cancelFrame)(n),C.delete(t)),H.delete(t)}}let V=[[[[0,1],[1,1]],"entry"],[[[0,0],[1,0]],"exit"],[[[1,0],[0,1]],"cover"],[j,"contain"]],T={start:0,end:1};function W(e){if(!e)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(let[t,r]of V)if(function(e,t){let r=function(e){if(2!==e.length)return;let t=[];for(let r of e)if(Array.isArray(r))t.push(r);else{if("string"!=typeof r)return;let e=function(e){let t=e.trim().split(/\s+/);if(2!==t.length)return;let r=T[t[0]],n=T[t[1]];if(void 0!==r&&void 0!==n)return[r,n]}(r);if(!e)return;t.push(e)}return t}(e);if(!r)return!1;for(let e=0;e<2;e++){let n=r[e],a=t[e];if(n[0]!==a[0]||n[1]!==a[1])return!1}return!0}(e,t))return{rangeStart:`${r} 0%`,rangeEnd:`${r} 100%`}}let $=new Map;function L(e){let t={value:0},r=S(r=>
1{t.value=100*r[e.axis].progress},e);return{currentTime:t,cancel:r}}function q({source:e,container:t,...r}){let{axis:n}=r;e&&(t=e);let a=$.get(t);a||(a=new Map,$.set(t,a));let o=r.target??"self",s=a.get(o);s||(s={},a.set(o,s));let i=n+(r.offset??[]).join(",");return s[i]||(r.target&&l(r.target)?W(r.offset)?s[i]=new ViewTimeline({subject:r.target,axis:n}):s[i]=L({container:t,...r}):l()?s[i]=new ScrollTimeline({source:t,axis:n}):s[i]=L({container:t,...r})),s[i]}function F(e,{axis:t="y",container:r=document.scrollingElement,...n}={}){var a,s;let c,d,u;if(!r)return o.noop;let f={axis:t,container:r,...n};return"function"==typeof e?(a=e,s=f,2===a.length?S(e=>{a(e[s.axis].progress,e)},s):i(a,q(s))):(c=q(f),d=f.target?W(f.offset):void 0,u=f.target?l(f.target)&&!!d:l(),e.attachTimeline({timeline:u?c:void 0,...d&&u&&{rangeStart:d.rangeStart,rangeEnd:d.rangeEnd},observe:e=>(e.pause(),i(t=>{e.time=e.iterationDuration*t},c))}))}var O=e.i(47414),P=e.i(74008);let R=()=>({scrollX:(0,r.motionValue)(0),scrollY:(0,r.motionValue)(0),scrollXProgress:(0,r.motionValue)(0),scrollYProgress:(0,r.motionValue)(0)}),_=e=>!!e&&!e.current;function B(e,t,r,n){return{factory:a=>F(a,{...t,axis:e,container:r?.current||void 0,target:n?.current||void 0}),times:[0,1],keyframes:[0,1],ease:e=>e,duration:1}}e.s(["useScroll",0,function({container:e,target:r,...o}={}){var s;let i=(0,O.useConstant)(R);s=o.offset,!("u"<typeof window)&&(r?(0,t.supportsViewTimeline)()&&!!W(s):(0,t.supportsScrollTimeline)())&&(i.scrollXProgress.accelerate=B("x",o,e,r),i.scrollYProgress.accelerate=B("y",o,e,r));let l=(0,a.useRef)(null),c=(0,a.useRef)(!1),d=(0,a.useCallback)(()=>(l.current=F((e,{x:t,y:r})=>{i.scrollX.set(t.current),i.scrollXProgress.set(t.progress),i.scrollY.set(r.current),i.scrollYProgress.set(r.progress)},{...o,container:e?.current||void 0,target:r?.current||void 0}),()=>{l.current?.()}),[e,r,JSON.stringify(o.offset)]);return(0,P.useIsomorphicLayoutEffect)(()=>{if(c.current=!1,!(_(e)||_(r)))return d();c.current=!0},[d]),(0,a.useEffect)(()=>c.current?((0,n.invariant)(!_(e),"Container ref is defined but not hydrated","use-scroll-ref"),(0,n.invariant)(!_(r),"Target ref is defined but not hydrated","use-scroll-ref"),d()):void 0,[d]),i}],10542);var I=e.i(37806);function Y(e){let t=(0,O.useConstant)(()=>(0,r.motionValue)(e)),{isStatic:n}=(0,a.useContext)(I.MotionConfigContext);if(n){let[,r]=(0,a.useState)(e);(0,a.useEffect)(()=>t.on("change",r),[])}return t}function D(e,t){let r=Y(t()),n=()=>r.set(t());return n(),(0,P.useIsomorphicLayoutEffect)(()=>{let t=()=>s.frame.preRender(n,!1,!0),r=e.map(e=>e.on("change",t));return()=>{r.forEach(e=>e()),(0,s.cancelFrame)(n)}}),r}e.s(["useMotionValue",0,Y],35382);function z(e,t){let r=(0,O.useConstant)(()=>[]);return D(e,()=>{r.length=0;let n=e.length;for(let t=0;t<n;t++)r[t]=e[t].get();return t(r)})}e.s(["useTransform",0,function e(t,n,a,o){if("function"==typeof t){let e;return r.collectMotionValues.current=[],t(),e=D(r.collectMotionValues.current,t),r.collectMotionValues.current=void 0,e}if(void 0!==a&&!Array.isArray(a)&&"function"!=typeof n){var s=t,i=n,l=a,c=o;let r=(0,O.useConstant)(()=>Object.keys(l)),d=(0,O.useConstant)(()=>({}));for(let t of r)d[t]=e(s,i,l[t],c);return d}let d="function"==typeof n?n:function(...e){let t=!Array.isArray(e[0]),r=t?0:-1,n=e[0+r],a=e[1+r],o=e[2+r],s=e[3+r],i=(0,p.interpolate)(a,o,s);return t?i(n):i}(n,a,o),u=Array.isArray(t)?z(t,d):z([t],([e])=>d(e)),f=Array.isArray(t)?void 0:t.accelerate;return f&&!f.isTransformed&&"function"!=typeof n&&Array.isArray(a)&&o?.clamp!==!1&&(u.accelerate={...f,times:n,keyframes:a,isTransformed:!0,...o?.ease?{ease:o.ease}:{}}),u}],95420)}]);
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.