1import{w}from"./CDyyt5o8.js";import{r as E,l as j}from"./AXiBBE1Z.js";import{l as O}from"./DJB1Ny2I.js";import{i as A}from"./vK_o3JBb.js";function a(t,e){if(t===e||t!==t)return()=>t;const i=typeof t;if(i!==typeof e||Array.isArray(t)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(t)){const s=e.map((n,r)=>a(t[r],n));return n=>s.map(r=>r(n))}if(i==="object"){if(!t||!e)throw new Error("Object cannot be null");if(A(t)&&A(e)){const r=t.getTime(),f=e.getTime()-r;return c=>new Date(r+c*f)}const s=Object.keys(e),n={};return s.forEach(r=>{n[r]=a(t[r],e[r])}),r=>{const o={};return s.forEach(f=>{o[f]=n[f](r)}),o}}if(i==="number"){const s=e-t;return n=>t+n*s}return()=>e}function C(t,e={}){const i=w(t);let s,n=t;function r(o,f){if(n=o,t==null)return i.set(t=o),Promise.resolve();let c=s,l=!1,{delay:g=0,duration:u=400,easing:b=O,interpolate:h=a}={...e,...f};if(u===0)return c&&(c.abort(),c=null),i.set(t=n),Promise.resolve();const p=E.now()+g;let m;return s=j(y=>{if(y<p)return!0;l||(m=h(t,o),typeof u=="function"&&(u=u(t,o)),l=!0),c&&(c.abort(),c=null);const d=y-p;return d>u?(i.set(t=o),!1):(i.set(t=m(b(d/u))),!0)}),s.promise}return{set:r,update:(o,f)=>r(o(n,t),f),subscribe:i.subscribe}}export{C as t};
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.