1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1019],{40768:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(12115),i=r(90533);let o=({root:e,target:t,targets:r,onIntersect:o,threshold:a=1,rootMargin:l="0px"})=>{let s=(0,n.useRef)(null),c=!!t?.current,u=!!r?.current;(0,i.A)(()=>(s.current=new IntersectionObserver(o,{root:e?.current,rootMargin:l,threshold:a}),()=>{s.current?.disconnect(),s.current=null}),[e,o,l,a]),(0,i.A)(()=>(s.current&&(t?.current?s.current?.observe(t.current):r?.current&&r.current?.forEach(e=>{e&&s.current?.observe(e)})),()=>{s.current?.disconnect()}),[e,o,l,a,c,u,t,r])}},63400:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>T});var n=r(95155),i=r(12115),o=r(14051),a=r.n(o),l=r(18441),s=r.n(l),c=r(86832),u=r(59172),p=r(40768),d=r(74230),y=r(65700),h=r(29237),b=r(29839),_=r(8225),g=r(61644),f=r(44948),m=r(37206),x=r(82330),A=r.n(x);let v=(0,m.default)(()=>r.e(7263).then(r.bind(r,7263)),{loadableGenerated:{webpack:()=>[7263]},ssr:!1});function w(e){let{rootRef:t,showRef:r,hideRef:o,label:a="Get a free quote",href:l="",mobileLabel:g="",mobileHref:m="",theme:x="shelby",bodyText:w="Peddle will buy your car right now.",experimentVariant:T=null,dataContent:k}=e,{isMenuOpen:E}=(0,d.A)(),B=(0,c.A)({query:`(min-width: ${s().largeWidth})`}),R=(0,c.A)({query:`(max-width: ${s().smallWidth})`}),[S,F]=(0,i.useState)(!1),{SELLER_SELL_CAR_URI:C,queryParamsString:L}=(0,b.Ok)(),U=(0,i.useRef)(!1),W=(0,i.useCallback)(e=>{e.forEach(e=>{let{isIntersecting:t}=e;F(!t&&0!==document.scrollingElement.scrollTop&&!E)})},[E]);(0,i.useEffect)(()=>{E&&S?(F(!1),U.current=!0):!E&&U.current&&(F(!0),U.current=!1)},[E,S]),(0,i.useEffect)(()=>{let e=()=>{if(E)return;if(0===(document.scrollingElement?.scrollTop??0))return void F(!1);if(!r?.current)return;let{bottom:e}=r.current.getBoundingClientRect();if(e>.2*window.innerHeight)return void F(!1);if(o?.current){let{top:e}=o.current.getBoundingClientRect();if(e<window.innerHeight)return void F(!1)}F(!0)};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[r,o,E]),(0,p.A)({root:t,target:r,rootMargin:"-20% 0% 0% 0%",threshold:0,onIntersect:W}),(0,p.A)({root:t,target:o,rootMargin:"0% 0% 0% 0%",threshold:0,onIntersect:W});let q=T&&T!==f.W3,H=(0,n.jsx)(h.A,{}),I=q?A().ctaButton:"",$=q?k?.heading:w,z=q?k?.callToAction?.label:a,N=q?k?.callToAction?.href:l,j=N?`${N}${L}`:C,O=q?k?.mobileCallToAction:{label:g,href:m},J=!!(O?.label&&O?.href),M=R&&J,P=M?O.label:z,D=M?`${O.href}${L}`:j;return(0,n.jsx)(v,{isActive:S,bodyText:$,experimentVariant:T,button:(0,n.jsx)(u.A,{className:I,isLink:!0,right:H,label:P,href:D,theme:x,size:B?"large":"small",isFullWidth:R,id:"Floating-get-an-offer-button",onClick:_.cx,dataID:y.U8})})}w.propTypes={rootRef:g.A.isRequired,hideRef:g.A.isRequired,showRef:g.A.isRequired,label:a().string,href:a().string,mobileLabel:a().string,mobileHref:a().string,theme:a().string,bodyText:a().string,experimentVariant:a().string,dataContent:a().object};let T=w},82330:e=>{e.exports={variables:'"@peddleon/apex/dist/styles/variables.module.css"',typography:'"@peddleon/apex/dist/styles/typography.module.css"',buoyantZIndex:"2",white:"#FFFFFF",neutralLight:"#E9E9E9",smallWidth:"480px",mediumWidth:"768px",largeWidth:"1080px",threeSpace:"24px",twoSpace:"16px",fourSpace:"32px","ease-out-expo":"cubic-bezier(0.19, 1.0, 0.22, 1.0)",bodyBase:"typography_bodyBase__8qRzm",displayTypography:'"~/styles/displayTypography.module.css"',buttonLabelUppercase:"displayTypography_buttonLabelUppercase__HlSE6 displayTypography_buttonLabel___x6sC displayTypography_displayFace__5TUU0",container:"StickyActionBar_container__hdOJ1",isInactive:"StickyActionBar_isInactive__8HwYY",isPositionRelative:"StickyActionBar_isPositionRelative__DF0Hh",bodyText:"StickyActionBar_bodyText__ez4NN typography_bodyBase__8qRzm",buttonWrapper:"StickyActionBar_buttonWrapper__JSt0v",ctaButton:"StickyActionBar_ctaButton__gSUFJ displayTypography_buttonLabelUppercase__HlSE6 displayTypography_buttonLabel___x6sC displayTypography_displayFace__5TUU0"}}}]);
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.