PageSourceSearch

https://kartridgesale.ru/bitrix/templates/elektro_flat/js/anythingslider/jquery.easing.1.2.js?15674580004406

js kartridgesale.ru collected 2026-10-05 03:14:27 UTC 4,406 bytes, 128 lines download raw bytes

vendor: 4,406 bytes, lines 1-128
1/***jQuery EasIng v1.1.2***/
2jQuery.extend( jQuery.easing,
3{
4	easeInQuad: function (x, t, b, c, d) {
5		return c*(t/=d)*t + b;
6	},
7	easeOutQuad: function (x, t, b, c, d) {
8		return -c *(t/=d)*(t-2) + b;
9	},
10	easeInOutQuad: function (x, t, b, c, d) {
11		if ((t/=d/2) < 1) return c/2*t*t + b;
12		return -c/2 * ((--t)*(t-2) - 1) + b;
13	},
14	easeInCubic: function (x, t, b, c, d) {
15		return c*(t/=d)*t*t + b;
16	},
17	easeOutCubic: function (x, t, b, c, d) {
18		return c*((t=t/d-1)*t*t + 1) + b;
19	},
20	easeInOutCubic: function (x, t, b, c, d) {
21		if ((t/=d/2) < 1) return c/2*t*t*t + b;
22		return c/2*((t-=2)*t*t + 2) + b;
23	},
24	easeInQuart: function (x, t, b, c, d) {
25		return c*(t/=d)*t*t*t + b;
26	},
27	easeOutQuart: function (x, t, b, c, d) {
28		return -c * ((t=t/d-1)*t*t*t - 1) + b;
29	},
30	easeInOutQuart: function (x, t, b, c, d) {
31		if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
32		return -c/2 * ((t-=2)*t*t*t - 2) + b;
33	},
34	easeInQuint: function (x, t, b, c, d) {
35		return c*(t/=d)*t*t*t*t + b;
36	},
37	easeOutQuint: function (x, t, b, c, d) {
38		return c*((t=t/d-1)*t*t*t*t + 1) + b;
39	},
40	easeInOutQuint: function (x, t, b, c, d) {
41		if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
42		return c/2*((t-=2)*t*t*t*t + 2) + b;
43	},
44	easeInSine: function (x, t, b, c, d) {
45		return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
46	},
47	easeOutSine: function (x, t, b, c, d) {
48		return c * Math.sin(t/d * (Math.PI/2)) + b;
49	},
50	easeInOutSine: function (x, t, b, c, d) {
51		return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
52	},
53	easeInExpo: function (x, t, b, c, d) {
54		return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
55	},
56	easeOutExpo: function (x, t, b, c, d) {
57		return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
58	},
59	easeInOutExpo: function (x, t, b, c, d) {
60		if (t==0) return b;
61		if (t==d) return b+c;
62		if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
63		return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
64	},
65	easeInCirc: function (x, t, b, c, d) {
66		return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
67	},
68	easeOutCirc: function (x, t, b, c, d) {
69		return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
70	},
71	easeInOutCirc: function (x, t, b, c, d) {
72		if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
73		return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
74	},
75	easeInElastic: function (x, t, b, c, d) {
76		var s=1.70158;var p=0;var a=c;
77		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
78		if (a < Math.abs(c)) { a=c; var s=p/4; }
79		else var s = p/(2*Math.PI) * Math.asin (c/a);
80		return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
81	},
82	easeOutElastic: function (x, t, b, c, d) {
83		var s=1.70158;var p=0;var a=c;
84		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
85		if (a < Math.abs(c)) { a=c; var s=p/4; }
86		else var s = p/(2*Math.PI) * Math.asin (c/a);
87		return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
88	},
89	easeInOutElastic: function (x, t, b, c, d) {
90		var s=1.70158;var p=0;var a=c;
91		if (t==0) return b;  if ((t/=d/2)==2) return b+c;  if (!p) p=d*(.3*1.5);
92		if (a < Math.abs(c)) { a=c; var s=p/4; }
93		else var s = p/(2*Math.PI) * Math.asin (c/a);
94		if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
95		return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
96	},
97	easeInBack: function (x, t, b, c, d, s) {
98		if (s == undefined) s = 1.70158;
99		return c*(t/=d)*t*((s+1)*t - s) + b;
100	},
101	easeOutBack: function (x, t, b, c, d, s) {
102		if (s == undefined) s = 1.70158;
103		return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
104	},
105	easeInOutBack: function (x, t, b, c, d, s) {
106		if (s == undefined) s = 1.70158; 
107		if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
108		return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
109	},
110	easeInBounce: function (x, t, b, c, d) {
111		return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
112	},
113	easeOutBounce: function (x, t, b, c, d) {
114		if ((t/=d) < (1/2.75)) {
115			return c*(7.5625*t*t) + b;
116		} else if (t < (2/2.75)) {
117			return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
118		} else if (t < (2.5/2.75)) {
119			return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
120		} else {
121			return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
122		}
123	},
124	easeInOutBounce: function (x, t, b, c, d) {
125		if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
126		return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
127	}
128});

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.