1import{r as t}from"./react-vendor-hAxFZxNQ.js";import{aH as e,aI as n,aJ as r,aK as o}from"./main-C-ofR5-x.js";import{u as s,a}from"./use-transform-dqqzNBqy.js";function i(t,e){return e?t+e:t}function u(t){return"number"==typeof t?t:parseFloat(t)}function c(c,f={}){return function(c,f={}){const{isStatic:p}=t.useContext(o),m=()=>n(c)?c.get():c;if(p)return s(m);const l=a(m());return t.useInsertionEffect(()=>function(t,o,s={}){const a=t.get();let c,f=null,p=a;const m="string"==typeof a?a.replace(/[\d.-]/g,""):void 0,l=()=>{f&&(f.stop(),f=null)};if(t.attach((n,o)=>{p=n,c=t=>o(i(t,m)),e.postRender(()=>{(()=>{l();const e=u(t.get()),n=u(p);e!==n&&(f=new r({keyframes:[e,n],velocity:t.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...s,onUpdate:c}))})(),t.events.animationStart?.notify(),f?.then(()=>{t.events.animationComplete?.notify()})})},l),n(o)){const e=o.on("change",e=>t.set(i(e,m))),n=t.on("destroy",e);return()=>{e(),n()}}return l}(l,c,f),[l,JSON.stringify(f)]),l}(c,{type:"spring",...f})}export{c as 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.