PageSourceSearch

https://www.ehn.org/static/dist/social-ux/8274.3b260f81a9b664b1b0d4.bundle.js

js ehn.org collected 2026-09-24 08:46:08 UTC 1,731 bytes, 3 lines download raw bytes

1/*! For license information please see 8274.3b260f81a9b664b1b0d4.bundle.js.LICENSE.txt */
2"use strict";(self.webpackChunksocialUX=self.webpackChunksocialUX||[]).push([[8274],{8274:function(t,e,s){s.r(e),s.d(e,{PhysicsPropsPlugin:function(){return p},default:function(){return p}});var i,r,n,o,a,c=function(){return i||"undefined"!=typeof window&&(i=window.gsap)&&i.registerPlugin&&i},l=function(t){return Math.round(1e4*t)/1e4},u=function(t){i=t||c(),r||(n=i.utils.getUnit,o=i.core.getStyleSaver,a=i.core.reverting||function(){},r=1)},f=function(t,e,s,i,r,o){var a=t._gsap,c=a.get(t,e);this.p=e,this.set=a.set(t,e),this.s=this.val=parseFloat(c),this.u=n(c)||0,this.vel=s||0,this.v=this.vel/o,i||0===i?(this.acc=i,this.a=this.acc/(o*o)):this.acc=this.a=0,this.fr=1-(r||0)},p={version:"3.15.0",name:"physicsProps",register:u,init:function(t,e,s){r||u();var i,n=this;for(i in n.styles=o&&o(t),n.target=t,n.tween=s,n.step=0,n.sps=30,n.vProps=[],e){var a=e[i],c=a.velocity,l=a.acceleration,p=a.friction;(c||l)&&(n.vProps.push(new f(t,i,c,l,p,n.sps)),n._props.push(i),o&&n.styles.save(i),p&&(n.hasFr=1))}},render:function(t,e){var s,i,r,n,o,c=e.vProps,u=e.tween,f=e.target,p=e.step,v=e.hasFr,h=e.sps,g=c.length,P=u._from?u._dur-u._time:u._time;if(u._time||!a())if(v){if((i=(0|(P*=h))-p)<0){for(;g--;)(s=c[g]).v=s.vel/h,s.val=s.s;g=c.length,e.step=p=0,i=0|P}for(r=P%1;g--;){for(s=c[g],n=i;n--;)s.v+=s.a,s.v*=s.fr,s.val+=s.v;s.set(f,s.p,l(s.val+s.v*r*s.fr)+s.u)}e.step+=i}else for(o=P*P*.5;g--;)(s=c[g]).set(f,s.p,l(s.s+s.vel*P+s.acc*o)+s.u);else e.styles.revert()},kill:function(t){for(var e=this.vProps,s=e.length;s--;)e[s].p===t&&e.splice(s,1)}};c()&&i.registerPlugin(p)}}]);
3//# sourceMappingURL=8274.3b260f81a9b664b1b0d4.bundle.js.map

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.