PageSourceSearch

https://www.dacia.fr/client/dacia-color-picker-cf519a53dbd00bf2.js

js dacia.fr collected 2026-10-01 11:47:15 UTC 35,529 bytes, 1 lines download raw bytes

1"use strict";(self.rspackChunkOne=self.rspackChunkOne||[]).push([[9140],{31114(e,t,r){var n,s,i,o=r(71763);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>o.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),n||(n=o.createElement("path",{fillRule:"evenodd",d:"M11.128 6.946a2.1 2.1 0 1 1-1.2-.017l.06-5.983 1.2.012zM10.5 8.05a.9.9 0 1 0 0 1.8.9.9 0 0 0 0-1.8",clipRule:"evenodd"})),s||(s=o.createElement("path",{d:"M6.955 15.385c.411.166.852.25 1.295.245a8.2 8.2 0 0 0 2.825-.715l.5-.185 2-.73 3.725-.13.925-.64-3.8-10.415L12 3.7l.425 1.13 1.3-.475 3.055 8.335-3.425.13-2.175.795-.5.19-.034.013c-1.109.426-2.221.853-3.21.457A3.1 3.1 0 0 1 6 12.71a7.9 7.9 0 0 1-.87-2.675A3.26 3.26 0 0 1 5.335 8.2 3.28 3.28 0 0 1 6.93 6.835c.595-.275 1.205-.5 1.705-.665L8.25 5.035c-.51.175-1.18.415-1.825.71a4.3 4.3 0 0 0-2.165 1.92 4.4 4.4 0 0 0-.32 2.5 9 9 0 0 0 .975 3.095 4.23 4.23 0 0 0 2.04 2.125"})),i||(i=o.createElement("path",{fillRule:"evenodd",d:"M17.86 23.04h-.085a2.2 2.2 0 0 1-2.35-2c-.17-1.585 1.625-4.82 1.83-5.18H18.3c.205.36 2 3.595 1.83 5.175a2.185 2.185 0 0 1-2.27 2.005m-.05-1.2h-.065a1 1 0 0 1-1.125-.92c-.075-.7.545-2.235 1.155-3.47.61 1.235 1.235 2.77 1.16 3.47a1 1 0 0 1-1.125.92",clipRule:"evenodd"})))})},7459(e,t,r){r.d(t,{X:()=>f});var n=r(91987),s=r(71763),i=r(20496),o=r(97500),l=r.n(o),a=r(16383),c=r(46773),u=r(20409),d=r(5839);let f=(0,i.Ng)(({app:e,page:t})=>({threshold:e.threshold??d.qN,isBrowserEngine:e.isBrowserEngine,isEditMode:t.data?.mode==="EDIT"}),null,null,{forwardRef:!0})(({autoPlay:e=!0,src:t,alt:r,video:i,isBrowserEngine:o,threshold:d,disableLazyLoaded:f=!1,isEditMode:h,sizes:p=["100vw","100vw","1280px"],onVideoEnded:g,onVideoProgress:m,onVideoStarted:v,endSrc:y})=>{let[w,b]=(0,s.useState)(!1),[x,k]=(0,s.useState)(!0),[E,C]=(0,s.useState)(!1),P=(0,s.useRef)(null),{ref:S,isVisible:N}=(0,u.A)({role:"animation",stayVisible:!1}),_=(0,c.A)(),j=(0,s.useCallback)(()=>{b(!0),g?.()},[g]);(0,s.useEffect)(()=>{let t=P.current;x&&t&&(N&&e?t?.play().catch(e=>{"NotAllowedError"===e.name&&k(!1)}):t?.pause())},[e,N,x,v,_]);let A=(0,s.useCallback)(()=>{let e=P.current;e?.duration&&Number.isFinite(e.duration)&&m?.(e.currentTime/e.duration)},[m]);(0,s.useEffect)(()=>{C(!1),b(!1)},[i?.mobile]);let{desktop:M,tablet:W,mobile:L}=i||{},V=L;"large"===d&&M?V=M:"medium"===d&&W&&(V=W);let I=(0,s.useMemo)(()=>c.l.includes(_.effectiveType),[_.effectiveType]),O=!V&&!y?.small||V,T=V&&o&&N&&!w&&x&&!I,q=y?.small&&(!V||E)&&!I,R=q?y:t;return t?(0,n.jsxs)("div",{className:l()("ImageWithVideo",{"is-editMode":h}),"aria-hidden":"true",ref:S,children:[(O||q)&&(0,n.jsx)("div",{className:"ImageWithVideo__picture",children:(0,n.jsx)(a._,{src:R||{},alt:r,width:"100%",height:"100%",disableLazyLoaded:f,sizes:p})}),T&&(0,n.jsx)("video",{ref:P,className:"ImageWithVideo__video",autoPlay:e,onEnded:j,loop:!y?.small,muted:!0,src:V,playsInline:!0,onPlaying:()=>{C(!0),v?.()},onTimeUpdate:m?A:void 0},V)]}):null})},12984(e,t,r){r.r(t),r.d(t,{ColorPickerContext:()=>P,default:()=>S});var n=r(91987),s=r(71763),i=r(20496),o=r(97500),l=r.n(o),a=r(61124),c=r(93196),u=r(32464),d=r(32739),f=r(5839),h=r(84122),p=r(15957),g=r(41546);let m=({screensCount:e=0,isEditMode:t,snapHeight:r="100vh",mode:i="proximity",debugMode:o=!1})=>{let a=(0,s.useMemo)(()=>Array(e).fill(!0).map((e,t)=>({id:t}
1)),[e]),c=(0,s.useRef)(null),[u,d]=(0,s.useState)(!1),[f,m]=(0,s.useState)("down"),{scrollY:v}=(0,h.L)(),y=(0,p.W)(c,{margin:"-50% 0px"});return((0,g.L)(v,"change",e=>{let t=c?.current?.parentElement?.querySelectorAll(".Snap__snap");t?.length&&d(Array.from(t).some(e=>0===Math.round(e.getBoundingClientRect().top))),m(e-(v.getPrevious()||0)>0?"down":"up");let r=document.querySelector("html");"up"===f?r?.classList.add("is-scrolling-up"):r?.classList.remove("is-scrolling-up")}),(0,s.useEffect)(()=>{if(t)return()=>{};let e=document.querySelector("html");return"u">typeof document&&e&&(y&&!u?e.style.setProperty("scroll-snap-type",`y ${i}`):e.style.removeProperty("scroll-snap-type")),()=>{"u">typeof document&&e&&e.style&&e.style.removeProperty("scroll-snap-type")}},[t,i,f,y,u]),t)?null:(0,n.jsxs)("div",{className:l()("Snap",{"is-debug":o,"is-scrolling-up":"up"===f,"is-mandatory":"mandatory"===i}),style:{"--Snap-height":r},children:[(0,n.jsx)("div",{className:"Snap__visibilityRef",ref:c}),a.map(({id:e})=>(0,n.jsx)("div",{className:"Snap__snap"},`Snap__snap_${e}`))]})},v=({cards:e,currentColorId:t,isEditMode:r,threshold:i})=>{let o=(0,s.useMemo)(()=>(0,d.NR)(e),[e]);return(0,n.jsxs)("div",{className:l()("ColorPickerCards",{"is-edit-mode":r}),style:{"--ColorPickerCards-length":o},children:["large"===i&&o>1&&(0,n.jsx)(m,{screensCount:o,isEditMode:r,mode:"mandatory"}),(0,n.jsx)("div",{children:(0,d._n)(e,e=>({...e,currentColorId:t,isSingle:1===o,isEditMode:!0}))})]})};var y=r(7459),w=r(73437),b=r(31114),x=r(78948);let k=({colorPickerArr:e,containerRef:t})=>(0,n.jsx)("div",{className:"ColorPicker__wrapCarousel",children:(0,n.jsx)("div",{className:"ColorPicker__carousel",ref:t,children:e.map(e=>(0,n.jsx)("div",{className:"ColorPicker__carouselItem"},`${e.colorId}-item`))})}),E=({titleSize:e,label:t,colorPickerArr:r,threshold:i,alternativeMode:o})=>{let{setCurrentColor:a,currentColor:c}
1=(0,s.useContext)(P),[u,d]=(0,s.useState)(null),[p,m]=(0,s.useState)(!0),[v,E]=(0,s.useState)(!1),[C,S]=(0,s.useState)(-1),N=(0,s.useRef)(null),_=(0,s.useRef)(null),{scrollYProgress:j}=(0,h.L)({target:_,offset:["start end","end start"]});(0,g.L)(j,"change",e=>{let t=2*e;(0===e||1===e)&&(t=-1),e>.5&&1!==e&&(t=1),S(t)});let A=(0,s.useCallback)(()=>{let e=N.current;if(!e)return;let t=e.scrollLeft>=e.scrollWidth-window.innerWidth,n=e.scrollLeft+100,s=[...e.children].findIndex(e=>e.offsetLeft>n)-1;t&&s<e.children.length-1&&(s=e.children.length-1),s<0&&(s=e.children.length-1),a(r[s])},[r,a]),M=(0,s.useCallback)(()=>{v||A()},[v,A]);return(0,s.useEffect)(()=>{let e=N.current;if(e)return e.addEventListener("scroll",M),()=>{e.removeEventListener("scroll",M)}},[M]),(0,n.jsx)("div",{className:l()("ColorPicker__header",{"is-alternative-mode":o}),ref:_,children:(0,n.jsx)("div",{className:"ColorPicker__cont",children:(0,n.jsxs)("div",{className:"ColorPicker__pinned",children:[p&&(0,n.jsxs)("div",{className:"ColorPicker__hero",children:[(0,n.jsx)("h2",{className:l()("ColorPicker__heroTitle",{"is-large":"large"==e,"is-regular":"regular"==e,"is-small":"small"==e}),children:c?.title}),c?.description&&(0,n.jsx)("div",{className:"ColorPicker__description",children:c?.description}),c?.ctaLabel&&c?.ctaLink&&(0,n.jsx)("div",{className:"ColorPicker__linkWrapper",children:(0,n.jsx)(w.l,{title:c?.ctaLabel,href:c?.ctaLink,variant:"link-arrow",target:"_blank",isInverted:o})})]}),(0,n.jsx)("div",{className:"ColorPicker__backgrounds",children:r.map(e=>(0,n.jsx)("div",{className:l()("ColorPicker__imageBackground",{"is-hidden":c?.colorId!==e.colorId,"is-next":u===e.colorId}),children:(0,n.jsx)(y.X,{video:e.video,src:e.image,sizes:"100vw",alt:""})},`${e.colorId}-img`))}),i===f.qN&&(0,n.jsx)(k,{colorPickerArr:r,containerRef:N}),(0,n.jsxs)("div",{className:l()("ColorPicker__colors",{"is-visible":i===f.qN||C>.4,"is-expand":C>.5}),children:[(0,n.jsx)("div",{className:"ColorPicker__colorsLabel",children:t}),(0,n.jsx)("div",{className:"ColorPicker__colorsBackground",style:{"--ColorPicker-width":i===f.qN?`${36*r.length+40}px`:`${36*r.length+64}px`}}),(0,n.jsx)("div",{className:"ColorPicker__iconWrap",children:(0,n.jsx)("div",{className:"ColorPicker__icon",children:(0,n.jsx)(b.A,{})})}),(0,n.jsx)("div",{className:"ColorPicker__colorsSelector",children:r.map(e=>(0,n.jsx)("span",{role:"button",tabIndex:0,className:l()("ColorPicker__colorsBt",{"is-selected":e.colorId===c?.colorId}),onClick:()=>(e=>{let t=parseInt(e.aemKey,10)||0;if(C<=.7){let e=document.querySelector(".ColorPicker");if(e)return void window.scrollTo({behavior:"smooth",top:window.scrollY+e.getBoundingClientRect().top})}if((0,x.d)({event:"navigationClick",buttonText:e.hexaCode,locationInPage:"ColorPicker"}),i===f.qN){let e=document.querySelectorAll(".ColorPicker__carouselItem");E(!0),e[t]&&e[t].scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"}),setTimeout(()=>{E(!1)},1e3)}d(e.colorId),a(e),m(!1),setTimeout(()=>{d(null),m(!0)},100)})(e),style:{"--ColorPicker-color":e?e.hexaCode:"black"}},e.colorId))})]})]})})})},C=(0,i.Ng)(({app:e})=>({threshold:e?.threshold||f.qN})),P=(0,s.createContext)({currentColor:void 0,setCurrentColor:()=>{}}),S=C(({editContext:e,label:t,titleSize:r,colorPicker:i,threshold:o,alternativeMode:f,ctaLabel:h,ctaLink:p,description:g,...y})=>{let w=(0,s.useMemo)(()=>
1(0,u.Hj)(i),[i]),[b,x]=(0,s.useState)(w?.[0]),k=(0,s.useMemo)(()=>(0,d.NR)(y),[y]),C=!!b?.colorId,S=(0,s.useMemo)(()=>({currentColor:b,setCurrentColor:x}),[b,x]);return(0,s.useEffect)(()=>{x(w?.[0])},[w]),(0,n.jsx)(a.G,{isFullWidth:!0,padding:"no-padding",children:(0,n.jsx)(P.Provider,{value:S,children:(0,n.jsxs)("section",{className:l()("ColorPicker",{"is-edit-mode":(0,c.Q)(e),"has-header-only":0===k,"is-alternative-mode":f}),style:{"--ColorPicker-color":b?.colorId,"--ColorPicker-nbUsp":k},children:["large"!==o&&k>1&&(0,n.jsx)(m,{screensCount:C?k+1:k,isEditMode:(0,c.Q)(e),mode:"proximity"}),C&&(0,n.jsx)(E,{label:t,titleSize:r,colorPickerArr:w,threshold:o,alternativeMode:f}),k>0&&(0,n.jsx)(v,{cards:y,currentColorId:b?.colorId,isEditMode:(0,c.Q)(e),threshold:o}),(0,n.jsx)(c.Cq,{editContext:e})]},w.map(({colorId:e})=>e).toString())})})})},46773(e,t,r){var n=r(71763);let s=()=>navigator&&(navigator.connection||navigator.mozConnection||navigator.webkitConnection);r.d(t,{},{A:()=>{let[e,t]=(0,n.useState)(void 0);return(0,n.useEffect)(()=>{t(s())},[]),(0,n.useEffect)(()=>{if(!e)return()=>{};let r=()=>t(s());return e?.addEventListener?.("change",r,{passive:!0}),()=>{e?.removeEventListener?.("change",r)}},[e,t]),(0,n.useMemo)(()=>({effectiveType:e?.effectiveType??"unknown"}),[e?.effectiveType])},l:["2g","slow-2g","3g"]})},20409(e,t,r){var n=r(71763),s=r(24948),i=r(5839);r.d(t,{},{A:e=>{let t=(0,n.useMemo)(()=>(e=>{let t="u">typeof window&&i.LO.large&&window.innerWidth>=i.LO.large,{role:r,options:n={},stayVisible:s=!0}=e;return"lazyload"===r?n.rootMargin=`0px -10px ${t?"200px":"30px"} 0px`:"animation"===r?n.rootMargin=`0px -10px ${t?"-140px":"-100px"} 0px`:"technical"===r&&(n.rootMargin="0px -10px 0px 0px"),{...n,triggerOnce:s}})(e),[e]),{ref:r,inView:o=!1,entry:l}=(0,s.Wx)(t);return{ref:r,isVisible:o,entry:l}}})},88911(e,t,r){var n=r(71763);function s(e){let t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}r.d(t,{M:()=>s})},15957(e,t,r){r.d(t,{W:()=>o});var n=r(71763),s=r(92922);let i={some:0,all:1};function o(e,{root:t,margin:r,amount:l,once:a=!1,initial:c=!1}={}){let[u,d]=(0,n.useState)(c);return(0,n.useEffect)(()=>{if(!e.current||a&&u)return;let n={root:t&&t.current||void 0,margin:r,amount:l};return function(e,t,{root:r,margin:n,amount:o="some"}={}){let l=(0,s.K)(e),a=new WeakMap,c=new IntersectionObserver(e=>{e.forEach(e=>{let r=a.get(e.target);if(!!r!==e.isIntersecting)if(e.isIntersecting){let r=t(e.target,e);"function"==typeof r?a.set(e.target,r):c.unobserve(e.target)}else"function"==typeof r&&(r(e),a.delete(e.target))})},{root:r,rootMargin:n,threshold:"number"==typeof o?o:i[o]});return l.forEach(e=>c.observe(e)),()=>c.disconnect()}(e.current,()=>(d(!0),a?void 0:()=>d(!1)),n)},[t,e,r,a,l]),u}},96329(e,t,r){r.d(t,{E:()=>s});var n=r(71763);let s="u">typeof window?n.useLayoutEffect:n.useEffect},41546(e,t,r){var n=r(71763);function s(e,t,r){(0,n.useInsertionEffect)(()=>e.on(t,r),[e,t,r])}r.d(t,{L:()=>s})},84122(e,t,r){let n,s;r.d(t,{L:()=>er});var i=r(46960),o=r(69525),l=r(19540),a=r(14419),c=r(71763),u=r(3158),d=r(53921);function f(e,t){let r,n=()=>{let{currentTime:n}=t,s=(null===n?0:n.value)/100;r!==s&&e(s),r=s};return d.Gt.preUpdate(n,!0),()=>(0,d.WG)(n)}function h(e){return!("u"<typeof window)&&(e?(0,l.d)():(0,l.J)())}var p=r(6986),g=r(92922);let m=new WeakMap,v=(e,t,r)=>(n,s)=>s&&s[0]?s[0][e+"Size"]:(0,p.G)(n)&&"ownerSVGElement"in n&&"getBBox"in n?n.getBBox()[t]:n[r],y=v("inl
1ine","width","offsetWidth"),w=v("block","height","offsetHeight");function b({target:e,borderBoxSize:t}){m.get(e)?.forEach(r=>{r(e,{get width(){return y(e,t)},get height(){return w(e,t)}})})}function x(e){e.forEach(b)}let k=new Set;var E=r(41487),C=r(44558);let P=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),S={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function N(e,t,r,n){let s=r[t],{length:i,position:o}=S[t],l=s.current,a=r.time;s.current=Math.abs(e[`scroll${o}`]),s.scrollLength=e[`scroll${i}`]-e[`client${i}`],s.offset.length=0,s.offset[0]=0,s.offset[1]=s.scrollLength,s.progress=(0,E.q)(0,s.scrollLength,s.current);let c=n-a;s.velocity=c>50?0:(0,C.f)(s.current-l,c)}var _=r(87205),j=r(13326),A=r(67059),M=r(5129);let W={start:0,center:.5,end:1};function L(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],I=[[0,0],[1,1]],O={x:0,y:0},T=new WeakMap,q=new WeakMap,R=new WeakMap,B=new WeakMap,$=new WeakMap,F=e=>e===document.scrollingElement?window:e;function G(e,{container:t=document.scrollingElement,trackContentSize:r=!1,...i}={}){if(!t)return u.l;let o=R.get(t);o||(o=new Set,R.set(t,o));let l=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),N(e,"x",r,t),N(e,"y",r,t),r.time=t,(n.offset||n.target)&&function(e,t,r){let{offset:n=I}=r,{target:s=e,axis:i="y"}=r,o="y"===i?"height":"width",l=s!==e?function(e,t){let r={x:0,y:0},n=e;for(;n&&n!==t;)if((0,M.s)(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 s=null,i=n.parentNode;for(;!s;)"svg"===i.tagName&&(s=i),i=n.parentNode;n=s}else break;return r}(s,e):O,a=s===e?{width:e.scrollWidth,height:e.scrollHeight}:"getBBox"in s&&"svg"!==s.tagName?s.getBBox():{width:s.clientWidth,height:s.clientHeight},c={width:e.clientWidth,height:e.clientHeight};t[i].offset.length=0;let u=!t[i].interpolate,d=n.length;for(let e=0;e<d;e++){let r=function(e,t,r,n){let s=Array.isArray(e)?e:V,i=0;return"number"==typeof e?s=[e,e]:"string"==typeof e&&(s=(e=e.trim()).includes(" ")?e.split(" "):[e,W[e]?e:"0"]),(i=L(s[0],r,n))-L(s[1],t)}(n[e],c[o],a[o],l[i]);
1u||r===t[i].interpolatorOffsets[e]||(u=!0),t[i].offset[e]=r}u&&(t[i].interpolate=(0,_.G)(t[i].offset,(0,j.Z)(n),{clamp:!1}),t[i].interpolatorOffsets=[...t[i].offset]),t[i].progress=(0,A.q)(0,1,t[i].interpolate(t[i].current))}(e,r,n)},notify:()=>t(r)}}(t,e,{time:0,x:P(),y:P()},i);if(o.add(l),!T.has(t)){let e,r=()=>{for(let e of o)e.measure(d.uv.timestamp);d.Gt.preUpdate(i)},i=()=>{for(let e of o)e.notify()},l=()=>d.Gt.read(r);T.set(t,l);let a=F(t);window.addEventListener("resize",l),t!==document.documentElement&&q.set(t,"function"==typeof t?(k.add(t),s||(s=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};k.forEach(t=>t(e))},window.addEventListener("resize",s)),()=>{k.delete(t),k.size||"function"!=typeof s||(window.removeEventListener("resize",s),s=void 0)}):(!n&&"u">typeof ResizeObserver&&(n=new ResizeObserver(x)),(e=(0,g.K)(t)).forEach(e=>{let t=m.get(e);t||(t=new Set,m.set(e,t)),t.add(l),n?.observe(e)}),()=>{e.forEach(e=>{let t=m.get(e);t?.delete(l),t?.size||n?.unobserve(e)})})),a.addEventListener("scroll",l),l()}if(r&&!$.has(t)){let e=T.get(t),r={width:t.scrollWidth,height:t.scrollHeight};B.set(t,r);let n=d.Gt.read(()=>{let n=t.scrollWidth,s=t.scrollHeight;(r.width!==n||r.height!==s)&&(e(),r.width=n,r.height=s)},!0);$.set(t,n)}let a=T.get(t);return d.Gt.read(a,!1,!0),()=>{(0,d.WG)(a);let e=R.get(t);if(!e||(e.delete(l),e.size))return;let r=T.get(t);T.delete(t),r&&(F(t).removeEventListener("scroll",r),q.get(t)?.(),window.removeEventListener("resize",r));let n=$.get(t);n&&((0,d.WG)(n),$.delete(t)),B.delete(t)}}let z=[[[[0,1],[1,1]],"entry"],[[[0,0],[1,0]],"exit"],[[[1,0],[0,1]],"cover"],[I,"contain"]],H={start:0,end:1};function U(e){if(!e)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(let[t,r]of z)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=H[t[0]],n=H[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],s=t[e];if(n[0]!==s[0]||n[1]!==s[1])return!1}return!0}(e,t))return{rangeStart:`${r} 0%`,rangeEnd:`${r} 100%`}}let X=new Map;function Q(e){let t={value:0},r=G(r=>{t.value=100*r[e.axis].progress},e);return{currentTime:t,cancel:r}}function K({source:e,container:t,...r}){let{axis:n}=r;e&&(t=e);let s=X.get(t);s||(s=new Map,X.set(t,s));let i=r.target??"self",o=s.get(i);o||(o={},s.set(i,o));let l=n+(r.offset??[]).join(",");return o[l]||(r.target&&h(r.target)?U(r.offset)?o[l]=new ViewTimeline({subject:r.target,axis:n}):o[l]=Q({container:t,...r}):h()?o[l]=new ScrollTimeline({source:t,axis:n}):o[l]=Q({container:t,...r})),o[l]}function J(e,{axis:t="y",container:r=document.scrollingElement,...n}={}){let s,i,o;if(!r)return u.l;let l={axis:t,container:r,...n};return"function"==typeof e?function(e,t){return 2===e.length||t&&(t.target||t.offset)?G(r=>{e(r[t.axis].progress,r)},t):f(e,K(t))}(e,l):(s=K(l),i=l.target?U(l.offset):void 0,o=l.target?h(l.target)&&!!i:h(),e.attachTimeline({timeline:o?s:void 0,...i&&o&&{rangeStart:i.rangeStart,rangeEnd:i.rangeEnd},observe:e=>(e.pause(),f(t=>{e.time=e.iterationDuration*t},s))}))}var Y=r(88911),D=r(96329);let Z=()=>({scrollX:(0,i.OQ)(0),scrollY:(0,i.OQ)(0),scrollXProgress:(0,i.OQ)(0),scrollYProgress:(0,i.OQ)(0)}),ee=e=>!!e&&!e.current;function et(e,t,r,n){return{factory:s=>{let i,l=()=>{ee(r)||ee(n)?o.k.read(l):i=J(s,{...t,axis:e,container:r?.current||void 0,target:n?.current||void 0})};return o.k.read(l),()=>{(0,o.c)(l),i?.()}},times:[0,1],keyframes:[0,1],ease:e=>e,duration:1}}function er({container:e,target:t,...r}={}){var n;let s=(0,Y.M)(Z);n=r.offset,!("u"<typeof window)&&(t?(0,l.d)()&&!!U(n):(0,l.J)())&&(s.scrollXProgress.accelerate=et("x",r,e,t),s.scrollYProgress.accelerate=et("y",r,e,t));let i=(0,c.useRef)(null),u=(0,c.useRef)(!1),d=(0,c.useCallback)(()=>(i.current=J((e,{x:t,y:r})=>{s.scrollX.set(t.current),s.scrollXProgress.set(t.progress),s.scrollY.set(r.current),s.scrollYProgress.set(r.progress)},{...r,container:e?.current||void 0,target:t?.current||void 0}),()=>{i.current?.()}),[e,t,JSON.stringify(r.offset)]);return(0,D.E)(()=>
1{if(u.current=!1,!(ee(e)||ee(t)))return d();u.current=!0},[d]),(0,c.useEffect)(()=>{let r;if(!u.current)return;let n=()=>{let n=ee(e),s=ee(t);(0,a.V)(!n,"Container ref is defined but not hydrated","use-scroll-ref"),(0,a.V)(!s,"Target ref is defined but not hydrated","use-scroll-ref"),n||s||(r=d())};return o.k.read(n),()=>{(0,o.c)(n),r?.()}},[d]),s}},13326(e,t,r){r.d(t,{Z:()=>i});var n=r(41487),s=r(86826);function i(e){let t=[0];return!function(e,t){let r=e[e.length-1];for(let i=1;i<=t;i++){let o=(0,n.q)(0,t,i);e.push((0,s.k)(r,1,o))}}(t,e.length-1),t}},14160(e,t,r){let n=e=>t=>"string"==typeof t&&t.startsWith(e),s=n("--"),i=n("var(--"),o=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function l(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}r.d(t,{rm:()=>l},{j4:s,pG:e=>!!i(e)&&o.test(e.split("/*")[0].trim())})},50984(e,t,r){r.d(t,{I:()=>i});var n=r(78958);let s=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function i(e,t){let r=!1,i=!0,o={delta:0,timestamp:0,isProcessing:!1},l=()=>r=!0,a=s.reduce((e,t)=>(e[t]=function(e){let t=new Set,r=new Set,n=!1,s=!1,i=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function l(t){i.has(t)&&(a.schedule(t),e()),t(o)}let a={schedule:(e,s=!1,o=!1)=>{let l=o&&n?t:r;return s&&i.add(e),l.add(e),e},cancel:e=>{r.delete(e),i.delete(e)},process:e=>{if(o=e,n){s=!0;return}n=!0;let i=t;t=r,r=i,t.forEach(l),t.clear(),n=!1,s&&(s=!1,a.process(e))}};return a}(l),e),{}),{setup:c,read:u,resolveKeyframes:d,preUpdate:f,update:h,preRender:p,render:g,postRender:m}=a,v=()=>{let s=n.W.useManualTiming,l=s?o.timestamp:performance.now();r=!1,s||(o.delta=i?1e3/60:Math.max(Math.min(l-o.timestamp,40),1)),o.timestamp=l,o.isProcessing=!0,c.process(o),u.process(o),d.process(o),f.process(o),h.process(o),p.process(o),g.process(o),m.process(o),o.isProcessing=!1,r&&t&&(i=!1,e(v))};return{schedule:s.reduce((t,n)=>{let s=a[n];return t[n]=(t,n=!1,l=!1)=>(!r&&(r=!0,i=!0,o.isProcessing||e(v)),s.schedule(t,n,l)),t},{}),cancel:e=>{for(let t=0;t<s.length;t++)a[s[t]].cancel(e)},state:o,steps:a}}},53921(e,t,r){var n=r(3158);let{schedule:s,cancel:i,state:o}=(0,r(50984).I)("u">typeof requestAnimationFrame?requestAnimationFrame:n.l,!0);r.d(t,{},{Gt:s,WG:i,uv:o})},69525(e,t,r){let{schedule:n,cancel:s}=(0,r(50984).I)(queueMicrotask,!1);r.d(t,{},{c:s,k:n})},3871(e,t,r){let n;var s=r(78958),i=r(53921);function o(){n=void 0}let l={now:()=>(void 0===n&&l.set(i.uv.isProcessing||s.W.useManualTiming?i.uv.timestamp:performance.now()),n),set:e=>{n=e,queueMicrotask(o)}};r.d(t,{},{k:l})},87205(e,t,r){var n=r(78958),s=r(3158),i=r(53258),o=r(14419),l=r(41487),a=r(67059),c=r(67462);function u(e,t,{clamp:r=!0,ease:d,mixer:f}={}){let h=e.length;if((0,o.V)(h===t.length,"Both input and output ranges must be the same length","range-length"),1===h)return()=>t[0];if(2===h&&t[0]===t[1])return()=>t[1];let p=e[0]===e[1];e[0]>e[h-1]&&(e=[...e].reverse(),t=[...t].reverse());let g=function(e,t,r){let o=[],l=r||n.W.mix||c.j,a=e.length-1;for(let r=0;r<a;r++){let n=l(e[r],e[r+1]);if(t){let e=Array.isArray(t)?t[r]||s.l:t;n=(0,i.F)(e,n)}o.push(n)}return o}(t,d,f),m=g.length,v=r=>{if(p&&r<e[0])return t[0];let n=0;if(m>1)for(;n<e.length-2&&!(r<e[n+1]);n++);let s=(0,l.q)(e[n],e[n+1],r);return g[n](s)};return r?t=>v((0,a.q)(e[0],e[h-1],t)):v}r.d(t,{G:()=>u})},5129(e,t,r){var n=r(6986);function s(e){return(0,n.G)(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}r.d(t,{s:()=>s})},67462(e,t,r){r.d(t,{j:()=>C});var n=r(53258),s=r(14419),i=r(14160),o=r(3218),l=r(40706),a=r(96985),c=r(2512);function u(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}var d=r(60892);function f(e,t){return r=>r>0?t:e}var h=r(86826);let p=(e,t,r)=>{let n=e*e,s=r*(t*t-n)+n;return s<0?0:Math.sqrt(s)},g=[a.u,d.B,c.V];function m(e){let t=g.find(t=>t.test(e));if((0,s.$)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let r=t.parse(e);return t===c.V&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let s=0,i=0,o=0;if(t/=100){let n=r<.5?r*(1+t):r+t-r*t,l=2*r-n;s=u(l,n,e+1/3),i=u(l,n,e),o=u(l,n,e-1/3)}else s=i=o=r;return{red:Math.round(255*s),green:Math.round(255*i),blue:Math.round(255*o),alpha:n}}(r)),r}let v=(e,t)=>
1{let r=m(e),n=m(t);if(!r||!n)return f(e,t);let s={...r};return e=>(s.red=p(r.red,n.red,e),s.green=p(r.green,n.green,e),s.blue=p(r.blue,n.blue,e),s.alpha=(0,h.k)(r.alpha,n.alpha,e),d.B.transform(s))},y=new Set(["none","hidden"]);function w(e,t){return r=>(0,h.k)(e,t,r)}function b(e){return"number"==typeof e?w:"string"==typeof e?(0,i.pG)(e)?f:o.y.test(e)?v:E:Array.isArray(e)?x:"object"==typeof e?o.y.test(e)?v:k:f}function x(e,t){let r=[...e],n=r.length,s=e.map((e,r)=>b(e)(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=s[t](e);return r}}function k(e,t){let r={...e,...t},n={};for(let s in r)void 0!==e[s]&&void 0!==t[s]&&(n[s]=b(e[s])(e[s],t[s]));return e=>{for(let t in n)r[t]=n[t](e);return r}}let E=(e,t)=>{let r=l.f.createTransformer(t),i=(0,l.V)(e),o=(0,l.V)(t);if(!(i.indexes.var.length===o.indexes.var.length&&i.indexes.color.length===o.indexes.color.length&&i.indexes.number.length>=o.indexes.number.length))return(0,s.$)(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),f(e,t);if(y.has(e)&&!o.values.length||y.has(t)&&!i.values.length)return y.has(e)?r=>r<=0?e:t:r=>r>=1?t:e;return(0,n.F)(x(function(e,t){let r=[],n={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){let i=t.types[s],o=e.indexes[i][n[i]],l=e.values[o]??0;r[s]=l,n[i]++}return r}(i,o),o.values),r)};function C(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?(0,h.k)(e,t,r):b(e)(e,t)}},86826(e,t,r){r.d(t,{},{k:(e,t,r)=>e+(t-e)*r})},92922(e,t,r){function n(e,t,r){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let n=document;t&&(n=t.current);let s=r?.[e]??n.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e).filter(e=>null!=e)}r.d(t,{K:()=>n})},21184(e,t,r){r.d(t,{J:()=>i});var n=r(7616);let s={};function i(e,t){let r=(0,n.p)(e);return()=>s[t]??r()}},19540(e,t,r){var n=r(21184);let s=(0,n.J)(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),i=(0,n.J)(()=>void 0!==window.ViewTimeline,"viewTimeline");r.d(t,{},{J:s,d:i})},46960(e,t,r){var n=r(60191),s=r(44558),i=r(3871),o=r(53921);let l={current:void 0};class a{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=i.k.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=i.k.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new n.v);let r=this.events[e].add(t);return"change"===e?()=>{r(),o.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=i.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,s.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function c(e,t){return new a(e,t)}r.d(t,{OQ:()=>c},{bt:l})},96985(e,t,r){var n=r(60892);let s={test:(0,r(87356).$)("#"),parse:function(e){let t="",r="",n="",s="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),s=e.substring(4,5),t+=t,r+=r,n+=n,s+=s),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alph
1a:s?parseInt(s,16)/255:1}},transform:n.B.transform};r.d(t,{},{u:s})},2512(e,t,r){var n=r(39021),s=r(36788),i=r(99525),o=r(87356);let l={test:(0,o.$)("hsl","hue"),parse:(0,o.q)("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:o=1})=>"hsla("+Math.round(e)+", "+s.KN.transform((0,i.a)(t))+", "+s.KN.transform((0,i.a)(r))+", "+(0,i.a)(n.X4.transform(o))+")"};r.d(t,{},{V:l})},3218(e,t,r){var n=r(96985),s=r(2512),i=r(60892);let o={test:e=>i.B.test(e)||n.u.test(e)||s.V.test(e),parse:e=>i.B.test(e)?i.B.parse(e):s.V.test(e)?s.V.parse(e):n.u.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?i.B.transform(e):s.V.transform(e),getAnimatableNone:e=>{let t=o.parse(e);return t.alpha=0,o.transform(t)}};r.d(t,{},{y:o})},60892(e,t,r){var n=r(67059),s=r(39021),i=r(99525),o=r(87356);let l={...s.ai,transform:e=>Math.round((0,n.q)(0,255,e))},a={test:(0,o.$)("rgb","red"),parse:(0,o.q)("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+l.transform(e)+", "+l.transform(t)+", "+l.transform(r)+", "+(0,i.a)(s.X4.transform(n))+")"};r.d(t,{},{B:a})},87356(e,t,r){r.d(t,{$:()=>i,q:()=>o});var n=r(86280);let s=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,i=(e,t)=>r=>!!("string"==typeof r&&s.test(r)&&r.startsWith(e)||t&&null!=r&&Object.prototype.hasOwnProperty.call(r,t)),o=(e,t,r)=>s=>{if("string"!=typeof s)return s;let[i,o,l,a]=s.match(n.S);return{[e]:parseFloat(i),[t]:parseFloat(o),[r]:parseFloat(l),alpha:void 0!==a?parseFloat(a):1}}},40706(e,t,r){r.d(t,{V:()=>u,f:()=>f});var n=r(3218);let s=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var i=r(86280),o=r(99525);let l="number",a="color",c=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function u(e){let t=e.toString(),r=[],s={color:[],number:[],var:[]},i=[],o=0,u=t.replace(c,e=>(n.y.test(e)?(s.color.push(o),i.push(a),r.push(n.y.parse(e))):e.startsWith("var(")?(s.var.push(o),i.push("var"),r.push(e)):(s.number.push(o),i.push(l),r.push(parseFloat(e))),++o,"${}")).split("${}");return{values:r,split:u,indexes:s,types:i}}function d({split:e,types:t}){let r=e.length;return s=>{let i="";for(let c=0;c<r;c++)if(i+=e[c],void 0!==s[c]){let e=t[c];e===l?i+=(0,o.a)(s[c]):e===a?i+=n.y.transform(s[c]):i+=s[c]}return i}}let f={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(i.S)?.length||0)+(e.match(s)?.length||0)>0},parse:function(e){return u(e).values},createTransformer:function(e){return d(u(e))},getAnimatableNone:function(e){let t=u(e);return d(t)(t.values.map((e,r)=>((e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof e?0:n.y.test(e)?n.y.getAnimatableNone(e):e)(e,t.split[r])))}}},39021(e,t,r){var n=r(67059);let s={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},i={...s,transform:e=>(0,n.q)(0,1,e)},o={...s,default:1};r.d(t,{},{X4:i,ai:s,hs:o})},36788(e,t,r){let n=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),s=n("deg"),i=n("%"),o=n("px"),l=n("vh"),a=n("vw"),c={...i,parse:e=>i.parse(e)/100,transform:e=>i.transform(100*e)};r.d(t,{},{KN:i,gQ:c,px:o,uj:s,vh:l,vw:a})},86280(e,t,r){r.d(t,{},{S:/-?(?:\d+(?:\.\d+)?|\.\d+)/gu})},99525(e,t,r){r.d(t,{},{a:e=>Math.round(1e5*e)/1e5})},67059(e,t,r){r.d(t,{},{q:(e,t,r)=>r>t?t:r<e?e:r})},14419(e,t,r){let n=()=>{},s=()=>{};r.d(t,{$:()=>n,V:()=>s})},78958(e,t,r){r.d(t,{},{W:{}})},6986(e,t,r){r.d(t,{},{G:e=>"object"==typeof e&&null!==e})},7616(e,t,r){function n(e){let t;return()=>(void 0===t&&(t=e()),t)}r.d(t,{p:()=>n})},3158(e,t,r){r.d(t,{},{l:e=>e})},53258(e,t,r){r.d(t,{},{F:(...e)=>e.reduce((e,t)=>r=>t(e(r)))})},41487(e,t,r){r.d(t,{},{q:(e,t,r)=>{let n=t-e;return n?(r-e)/n:1}})},60191(e,t,r){r.d(t,{v:()=>n});class n{constructor(){this.subscriptions=[]}add(e){var t;return t=this.subscriptions,-1===t.indexOf(e)&&t.push(e),()=>{var t;let r;return t=this.subscriptions,void((r=t.indexOf(e))>-1&&t.splice(r,1))}}notify(e,t,r){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(let s=0;s<n;s++){let n=this.subscriptions[s];n&&n(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},44558(e,t,r){r.d(t,{},{f:(e,t)=>t?1e3/t*e:0})},24948(e,t,r){var n,s,i=r(71763),o=Object.defineProperty,l=new Map,a=new WeakMap,c=0;function u({threshold:e,delay:t,trackVisibility:r,rootMargin:s,scrollMargin:o,root:d,triggerOnce:f,skip:h,initialInView:p,fallbackInView:g,onChange:m}={}){var v;let[y,w]=i.useState(null),b=i.useRef(m),x=i.useRef(p),[k,E]=i.useState({inView:!!p,entry:void 0});b.current=m,i.useEffect(()=>{let i;if(void 0===x.current&&(x.current=p),!h&&y)return i=function(e,t,r={},s=n){if(void 0===window.IntersectionObserver&&void 0!==s){let n=e.getBoundingClientRect();return t(s,{isIntersecting:s,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:n,intersectionRect:n,rootBounds:n}
1),()=>{}}let{id:i,observer:o,elements:u}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var r;return`${t}_${"root"===t?!(r=e.root)?"0":(a.has(r)||(c+=1,a.set(r,c.toString())),a.get(r)):e[t]}`}).toString(),r=l.get(t);if(!r){let n,s=new Map,i=new IntersectionObserver(t=>{t.forEach(t=>{var r;let i=t.isIntersecting&&n.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=i),[...null!=(r=s.get(t.target))?r:[]].forEach(e=>{e(i,t)})})},e);n=i.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:i,elements:s},l.set(t,r)}return r}(r),d=u.get(e)||[];return u.has(e)||u.set(e,d),d.push(t),o.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(u.delete(e),o.unobserve(e)),0===u.size&&(o.disconnect(),l.delete(i))}}(y,(e,t)=>{let r=x.current;x.current=e,(void 0!==r||e)&&(E({inView:e,entry:t}),b.current&&b.current(e,t),t.isIntersecting&&f&&i&&(i(),i=void 0))},{root:d,rootMargin:s,scrollMargin:o,threshold:e,trackVisibility:r,delay:t},g),()=>{i&&i()}},[Array.isArray(e)?e.toString():e,y,d,s,o,f,h,r,g,t]);let C=null==(v=k.entry)?void 0:v.target,P=i.useRef(void 0);y||!C||f||h||P.current===C||(P.current=C,E({inView:!!p,entry:void 0}),x.current=p);let S=[w,k.inView,k.entry];return S.ref=S[0],S.inView=S[1],S.entry=S[2],S}i.Component,null!=(null!=(s=i.useInsertionEffect)?s:i.useLayoutEffect)||i.useEffect,r.d(t,{Wx:()=>u})}}]);

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.