1/*! For license information please see 4059.2de060060b8007676555.bundle.js.LICENSE.txt */ 2"use strict";(self.webpackChunksocialUX=self.webpackChunksocialUX||[]).push([[4059],{4059:function(t,o,e){function n(t){return n="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},n(t)}e.r(o),e.d(o,{ScrollToPlugin:function(){return m},default:function(){return m}});var r,l,i,s,c,p,u,f,a=function(){return"undefined"!=typeof window},y=function(){return r||a()&&(r=window.gsap)&&r.registerPlugin&&r},g=function(t){return"string"==typeof t},x=function(t){return"function"==typeof t},d=function(t,o){var e="x"===o?"Width":"Height",n="scroll"+e,r="client"+e;return t===i||t===s||t===c?Math.max(s[n],c[n])-(i["inner"+e]||s[r]||c[r]):t[n]-t["offset"+e]},h=function(t,o){var e="scroll"+("x"===o?"Left":"Top");return t===i&&(null!=t.pageXOffset?e="page"+o.toUpperCase()+"Offset":t=null!=s[e]?s:c),function(){return t[e]}},T=function(t,o){if(!(t=p(t)[0])||!t.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var e=t.getBoundingClientRect(),n=!o||o===i||o===c,r=n?{top:s.clientTop-(i.pageYOffset||s.scrollTop||c.scrollTop||0),left:s.clientLeft-(i.pageXOffset||s.scrollLeft||c.scrollLeft||0)}:o.getBoundingClientRect(),l={x:e.left-r.left,y:e.top-r.top};return!n&&o&&(l.x+=h(o,"x")(),l.y+=h(o,"y")()),l},v=function(t,o,e,r,l){return isNaN(t)||"object"===n(t)?g(t)&&"="===t.charAt(1)?parseFloat(t.substr(2))*("-"===t.charAt(0)?-1:1)+r-l:"max"===t?d(o,e)-l:Math.min(d(o,e),T(t,o)[e]-l):parseFloat(t)-l},k=function(){r=y(),a()&&r&&"undefined"!=typeof document&&document.body&&(i=window,c=document.body,s=document.documentElement,p=r.utils.toArray,r.config({autoKillThreshold:7}),u=r.config(),l=1)},m={version:"3.15.0",name:"scrollTo",rawVars:1,register:function(t){r=t,k()},init:function(t,o,e,s,c){l||k();var p=this,a=r.getProperty(t,"scrollSnapType");p.isWin=t===i,p.target=t,p.tween=e,o=function(t,o,e,r){if(x(t)&&(t=t(o,e,r)),"object"!==n(t))return g(t)&&"max"!==t&&"="!==t.charAt(1)?{x:t,y:t}:{y:t};if(t.nodeType)return{y:t,x:t};var l,i={};for(l in t)i[l]="onAutoKill"!==l&&x(t[l])?t[l](o,e,r):t[l];return i}(o,s,t,c),p.vars=o,p.autoKill=!!("autoKill"in o?o:u).autoKill,p.getX=h(t,"x"),p.getY=h(t,"y"),p.x=p.xPrev=p.getX(),p.y=p.yPrev=p.getY(),f||(f=r.core.globals().ScrollTrigger),"smooth"===r.getProperty(t,"scrollBehavior")&&r.set(t,{scrollBehavior:"auto"}),a&&"none"!==a&&(p.snap=1,p.snapInline=t.style.scrollSnapType,t.style.scrollSnapType="none"),null!=o.x?(p.add(p,"x",p.x,v(o.x,t,"x",p.x,o.offsetX||0),s,c),p._props.push("scrollTo_x")):p.skipX=1,null!=o.y?(p.add(p,"y",p.y,v(o.y,t,"y",p.y,o.offsetY||0),s,c),p._props.push("scrollTo_y")):p.skipY=1},render:function(t,o){for(var e,n,r,l,s,c=o._pt,p=o.target,a=o.tween,y=o.autoKill,g=o.xPrev,x=o.yPrev,h=o.isWin,T=o.snap,v=o.snapInline;c;)c.r(t,c.d),c=c._next;e=h||!o.skipX?o.getX():g,r=(n=h||!o.skipY?o.getY():x)-x,l=e-g,s=u.autoKillThreshold,o.x<0&&(o.x=0),o.y<0&&(o.y=0),y&&(!o.skipX&&(l>s||l<-s)&&e<d(p,"x")&&(o.skipX=1),!o.skipY&&(r>s||r<-s)&&n<d(p,"y")&&(o.skipY=1),o.skipX&&o.skipY&&(a.kill(),o.vars.onAutoKill&&o.vars.onAutoKill.apply(a,o.vars.onAutoKillParams||[]))),h?i.scrollTo(o.skipX?e:o.x,o.skipY?n:o.y):(o.skipY||(p.scrollTop=o.y),o.skipX||(p.scrollLeft=o.x)),!T||1!==t&&0!==t||(n=p.scrollTop,e=p.scrollLeft,v?p.style.scrollSnapType=v:p.style.removeProperty("scroll-snap-type"),p.scrollTop=n+1,p.scrollLeft=e+1,p.scrollTop=n,p.scrollLeft=e),o.xPrev=o.x,o.yPrev=o.y,f&&f.update()},kill:function(t){var o="scrollTo"===t,e=this._props.indexOf(t);return(o||"scrollTo_x"===t)&&(this.skipX=1),(o||"scrollTo_y"===t)&&(this.skipY=1),e>-1&&this._props.splice(e,1),!this._props.length}};m.max=d,m.getOffset=T,m.buildGetter=h,m.config=function(t){for(var o in u||k()||(u=r.config()),t)u[o]=t[o]},y()&&r.registerPlugin(m)}}]); 3//# sourceMappingURL=4059.2de060060b8007676555.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.