1/** 2 * Master Slider, Staff Carousel v1.0 3 * @author: Averta Ltd. 4 */ 5(function() { 6 window.MSStfFadeView = function(n) { 7 MSWaveView.call(this, n), this.$element.removeClass("ms-wave-view").addClass("ms-stf-view"), this._3dreq = !0 8 }, MSStfFadeView.extend(MSWaveView); 9 var n = MSStfFadeView.prototype, 10 t = MSStfFadeView.prototype; 11 n.__updateSlidesHoriz = function(n, t) { 12 var i = Math.abs(t * .6 / this.__width); 13 i = 1 - Math.min(i, .6), n.$element.css("opacity", i) 14 }, n.__updateSlidesVertic = function(n, t) { 15 this.__updateSlidesHoriz(n, t) 16 }, MSSlideController.registerView("stffade", MSStfFadeView) 17})(), 18function() { 19 window.MSStfView = function(n) { 20 MSWaveView.call(this, n), this.$element.removeClass("ms-wave-view").addClass("ms-stf-view"), this._3dreq = !0, this.options.centerSpace = this.options.centerSpace || 1 21 }, MSStfView.extend(MSWaveView), MSStfView._3dreq = !0, MSStfView._fallback = MSStfFadeView; 22 var n = MSStfView.prototype, 23 t = MSStfView.prototype; 24 n.__calcview = function(n, t) { 25 var i = t / 2 * n / (n + 2e3); 26 return i * (n + 2e3) / 2e3 27 }, n.__updateSlidesHoriz = function(n, t) { 28 var i = Math.abs(t * 100 / this.__width); 29 i = -Math.min(i, 100) * 15, n.$element.css(window._csspfx + "transform", "translateZ(" + i + "px) rotateY(0.01deg) translateX(" + (t < 0 ? 1 : -1) * -this.__calcview(i, this.__width) * this.options.centerSpace + "px)") 30 }, n.__updateSlidesVertic = function(n, t) { 31 this.__updateSlidesHoriz(n, t) 32 }, MSSlideController.registerView("stf", MSStfView) 33}()
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.