1/*! For license information please see 7515.6357871a2333c5361aa6.bundle.js.LICENSE.txt */ 2"use strict";(self.webpackChunksocialUX=self.webpackChunksocialUX||[]).push([[7515],{7515:function(t,n,e){e.r(n),e.d(n,{InertiaPlugin:function(){return $},VelocityTracker:function(){return k},default:function(){return $}});var r,i,o,s,a,c,u,f,l=function(){return r||"undefined"!=typeof window&&(r=window.gsap)},p={},g=function(t){return f(t).id},v=function(t){return p[g("string"==typeof t?o(t)[0]:t)]},h=function(t){var n,e=a;if(t-u>=.05)for(u=t;e;)((n=e.g(e.t,e.p))!==e.v1||t-e.t1>.2)&&(e.v2=e.v1,e.v1=n,e.t2=e.t1,e.t1=t),e=e._next},d={deg:360,rad:2*Math.PI},m=function(){(r=l())&&(o=r.utils.toArray,s=r.utils.getUnit,f=r.core.getCache,c=r.ticker,i=1)},y=function(t,n,e,r){this.t=t,this.p=n,this.g=t._gsap.get,this.rCap=d[e||s(this.g(t,n))],this.v1=this.v2=this.g(t,n),this.t1=this.t2=c.time,r&&(this._next=r,r._prev=this)},k=function(){function t(t,n){i||m(),this.target=o(t)[0],p[g(this.target)]=this,this._props={},n&&this.add(n)}t.register=function(t){r=t,m()};var n=t.prototype;return n.get=function(t,n){var e,r,i,o=this._props[t]||console.warn("Not tracking "+t+" velocity.");return e=parseFloat(n?o.v1:o.g(o.t,o.p))-parseFloat(o.v2),(r=o.rCap)&&(e%=r)!=e%(r/2)&&(e=e<0?e+r:e-r),i=e/((n?o.t1:c.time)-o.t2),Math.round(1e4*i)/1e4},n.getAll=function(){var t,n={},e=this._props;for(t in e)n[t]=this.get(t);return n},n.isTracking=function(t){return t in this._props},n.add=function(t,n){var e=this._props[t];e?(e.v1=e.v2=e.g(e.t,e.p),e.t1=e.t2=c.time):(a||(c.add(h),u=c.time),a=this._props[t]=new y(this.target,t,n,a))},n.remove=function(t){var n,e,r=this._props[t];r&&(n=r._prev,e=r._next,n&&(n._next=e),e?e._prev=n:a===r&&(c.remove(h),a=0),delete this._props[t])},n.kill=function(t){for(var n in this._props)this.remove(n);t||delete p[g(this.target)]},t.track=function(n,e,r){i||m();for(var s,a,c=[],u=o(n),f=e.split(","),l=(r||"").split(","),p=u.length;p--;){for(s=v(u[p])||new t(u[p]),a=f.length;a--;)s.add(f[a],l[a]||l[0]);c.push(s)}return c},t.untrack=function(t,n){var e=n&&n.split(",");o(t).forEach((function(t){var n=v(t);n&&(e?e.forEach((function(t){return n.remove(t)})):n.kill(1))}))},t.isTracking=function(t,n){var e=v(t);return e&&e.isTracking(n)},t.getVelocity=function(t,n){var e=v(t);return e&&e.isTracking(n)?e.get(n):console.warn("Not tracking velocity of "+n)},t}();function _(t){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_(t)}k.getByTarget=v,l()&&r.registerPlugin(k);var w,x,b,T,F,N,P,M,S,A,C,E,O,U,B=k.getByTarget,I=function(){return w||"undefined"!=typeof window&&(w=window.gsap)&&w.registerPlugin&&w},R=function(t){return"number"==typeof t},V=function(t){return"object"===_(t)},j=function(t){return"function"==typeof t},X=Array.isArray,q=function(t){return t},z=1e10,D=function(t,n,e){for(var r in n)r in t||r===e||(t[r]=n[r]);return t},G=function t(n){var e,r,i={};for(e in n)i[e]=V(r=n[e])&&!X(r)?t(r):r;return i},H=function(t,n,e,r,i){var o,s,a,c,u=n.length,f=0,l=z;if(V(t)){for(;u--;){for(a in o=n[u],s=0,t)s+=(c=o[a]-t[a])*c;s<l&&(f=u,l=s)}if((i||z)<z&&i<Math.sqrt(l))return t}else for(;u--;)(s=(o=n[u])-t)<0&&(s=-s),s<l&&o>=r&&o<=e&&(f=u,l=s);return n[f]},J=function(t,n,e,r,i,o,s){if("auto"===t.end)return t;var a,c,u=t.end;if(e=isNaN(e)?z:e,r=isNaN(r)?-z:r,V(n)){if(a=n.calculated?n:(j(u)?u(n,s):H(n,u,e,r,o))||n,!n.calculated){for(c in a)n[c]=a[c];n.calculated=!0}a=a[i]}else a=j(u)?u(n,s):X(u)?H(n,u,e,r,o):parseFloat(u);return a>e?a=e:a<r&&(a=r),{max:a,min:a,unitFactor:t.unitFactor}},K=function(t,n,e){return isNaN(t[n])?e:+t[n]},L=function(t,n){return.05*n*t/A},Q=function(t,n,e){return Math.abs((n-t)*A/e/.05)},W={resistance:1,checkpoint:1,preventOvershoot:1,linkedProps:1,radius:1,duration:1},Y=function(t,n,e,r){if(n.linkedProps){var i,o,s,a,c,u,f=n.linkedProps.split(","),l={};for(i=0;i<f.length;i++)(s=n[o=f[i]])&&(a=R(s.velocity)?s.velocity:(c=c||B(t))&&c.isTracking(o)?c.get(o):0,u=Math.abs(a/K(s,"resistance",r)),l[o]=parseFloat(e(t,o))+L(a,u));return l}},Z=function(){(w=I())&&(b=w.parseEase,T=w.utils.toArray,P=w.utils.getUnit,S=w.core.getCache,C=w.utils.clamp,O=w.core.getStyleSaver,U=w.core.reverting||function(){},F=b("power3"),A=F(.05),M=w.core.PropTween,w.config({resistance:100,unitFactors:{time:1e3,totalTime:1e3,progress:1e3,totalProgress:1e3}}),N=w.config(),w.registerPlugin(k),x=1)},$={version:"3.15.0",name:"inertia",register:function(t){w=t,Z()},init:function(t,n,e,r,i){x||Z();var o=B(t);if("auto"===n){if(!o)return void console.warn("No inertia tracking on "+t+". InertiaPlugin.track(target) first.");n=o.getAll()}this.styles=O&&"object"===_(t.style)&&O(t),this.target=t,this.tween=e,E=n;var s,a,c,u,f,l,p,g,v,h=t._gsap,d=h.get,m=n.duration,y=V(m),k=n.preventOvershoot||y&&0===m.overshoot,w=K(n,"resistance",N.resistance),b=R(m)?m:function(t,n,e,r,i,o){if(void 0===e&&(e=10),void 0===r&&(r=.2),void 0===i&&(i=1),void 0===o&&(o=0),"string"==typeof t&&(t=T(t)[0]),!t)return 0;var s,a,c,u,f,l,p,g,v,h,d=0,m=z,y=n.inertia||n,k=S(t).get,_=K(y,"resistance",N.resistance);for(s in h=Y(t,y,k,_),y)W[s]||(a=y[s],V(a)||((g=g||B(t))&&g.isTracking(s)?a=R(a)?{velocity:a}:{velocity:g.get(s)}:(u=+a||0,c=Math.abs(u/_))),V(a)&&(u=R(a.velocity)?a.velocity:(g=g||B(t))&&g.isTracking(s)?g.get(s):0,c=C(r,e,Math.abs(u/K(a,"resistance",_))),l=(f=parseFloat(k(t,s))||0)+L(u,c),"end"in a&&(a=J(a,h&&s in h?h:l,a.max,a.min,s,y.radius,u),o&&(E===n&&(E=y=G(n)),y[s]=D(a,y[s],"end"))),"max"in a&&l>+a.max+1e-10?(v=a.unitFactor||N.unitFactors[s]||1,(p=f>a.max&&a.min!==a.max||u*v>-15&&u*v<45?r+.1*(e-r):Q(f,a.max,u))+i<m&&(m=p+i)):"min"in a&&l<+a.min-1e-10&&(v=a.unitFactor||N.unitFactors[s]||1,(p=f<a.min&&a.min!==a.max||u*v>-45&&u*v<15?r+.1*(e-r):Q(f,a.min,u))+i<m&&(m=p+i)),p>d&&(d=p)),c>d&&(d=c));return d>m&&(d=m),d>e?e:d<r?r:d}(t,n,y&&m.max||10,y&&m.min||.2,y&&"overshoot"in m?+m.overshoot:k?0:1,!0);for(s in n=E,E=0,v=Y(t,n,d,w),n)W[s]||(a=n[s],j(a)&&(a=a(r,t,i)),R(a)?f=a:V(a)&&!isNaN(a.velocity)?f=+a.velocity:o&&o.isTracking(s)?f=o.get(s):console.warn("ERROR: No velocity was defined for "+t+" property: "+s),l=L(f,b),g=0,c=d(t,s),u=P(c),c=parseFloat(c),V(a)&&(p=c+l,"end"in a&&(a=J(a,v&&s in v?v:p,a.max,a.min,s,n.radius,f)),"max"in a&&+a.max<p?k||a.preventOvershoot?l=a.max-c:g=a.max-c-l:"min"in a&&+a.min>p&&(k||a.preventOvershoot?l=a.min-c:g=a.min-c-l)),this._props.push(s),this.styles&&this.styles.save(s),this._pt=new M(this._pt,t,s,c,0,q,0,h.set(t,s,this)),this._pt.u=u||0,this._pt.c1=l,this._pt.c2=g);return e.duration(b),1},render:function(t,n){var e,r=n._pt;
2if((t=F(n.tween._time/n.tween._dur))||!U())for(;r;)r.set(r.t,r.p,(e=r.s+r.c1*t+r.c2*t*t,Math.round(1e4*e)/1e4+r.u),r.d,t),r=r._next;else n.styles.revert()}};"track,untrack,isTracking,getVelocity,getByTarget".split(",").forEach((function(t){return $[t]=k[t]})),I()&&w.registerPlugin($)}}]); 3//# sourceMappingURL=7515.6357871a2333c5361aa6.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.