https://european-accreditation.org/wp-content/themes/thegem-elementor/js/jquery.easing.js?ver=5.11.0
vendor: 4,198 bytes, lines 1-92
1(function (factory) { 2 if (typeof define === "function" && define.amd) { 3 define(["jquery"], function ($) { 4 return factory($) 5 }) 6 } else if (typeof module === "object" && typeof module.exports === "object") { 7 exports = factory(require("jquery")) 8 } else { 9 factory(jQuery) 10 } 11})(function ($) { 12 $.easing.jswing = $.easing.swing; 13 var pow = Math.pow, sqrt = Math.sqrt, sin = Math.sin, cos = Math.cos, PI = Math.PI, c1 = 1.70158, c2 = c1 * 1.525, 14 c3 = c1 + 1, c4 = 2 * PI / 3, c5 = 2 * PI / 4.5; 15 16 function bounceOut(x) { 17 var n1 = 7.5625, d1 = 2.75; 18 if (x < 1 / d1) { 19 return n1 * x * x 20 } else if (x < 2 / d1) { 21 return n1 * (x -= 1.5 / d1) * x + .75 22 } else if (x < 2.5 / d1) { 23 return n1 * (x -= 2.25 / d1) * x + .9375 24 } else { 25 return n1 * (x -= 2.625 / d1) * x + .984375 26 } 27 } 28 29 $.extend($.easing, { 30 def: "easeOutQuad", swing: function (x) { 31 return $.easing[$.easing.def](x) 32 }, easeInQuad: function (x) { 33 return x * x 34 }, easeOutQuad: function (x) { 35 return 1 - (1 - x) * (1 - x) 36 }, easeInOutQuad: function (x) { 37 return x < .5 ? 2 * x * x : 1 - pow(-2 * x + 2, 2) / 2 38 }, easeInCubic: function (x) { 39 return x * x * x 40 }, easeOutCubic: function (x) { 41 return 1 - pow(1 - x, 3) 42 }, easeInOutCubic: function (x) { 43 return x < .5 ? 4 * x * x * x : 1 - pow(-2 * x + 2, 3) / 2 44 }, easeInQuart: function (x) { 45 return x * x * x * x 46 }, easeOutQuart: function (x) { 47 return 1 - pow(1 - x, 4) 48 }, easeInOutQuart: function (x) { 49 return x < .5 ? 8 * x * x * x * x : 1 - pow(-2 * x + 2, 4) / 2 50 }, easeInQuint: function (x) { 51 return x * x * x * x * x 52 }, easeOutQuint: function (x) { 53 return 1 - pow(1 - x, 5) 54 }, easeInOutQuint: function (x) { 55 return x < .5 ? 16 * x * x * x * x * x : 1 - pow(-2 * x + 2, 5) / 2 56 }, easeInSine: function (x) { 57 return 1 - cos(x * PI / 2) 58 }, easeOutSine: function (x) { 59 return sin(x * PI / 2) 60 }, easeInOutSine: function (x) { 61 return -(cos(PI * x) - 1) / 2 62 }, easeInExpo: function (x) { 63 return x === 0 ? 0 : pow(2, 10 * x - 10) 64 }, easeOutExpo: function (x) { 65 return x === 1 ? 1 : 1 - pow(2, -10 * x) 66 }, easeInOutExpo: function (x) { 67 return x === 0 ? 0 : x === 1 ? 1 : x < .5 ? pow(2, 20 * x - 10) / 2 : (2 - pow(2, -20 * x + 10)) / 2 68 }, easeInCirc: function (x) { 69 return 1 - sqrt(1 - pow(x, 2)) 70 }, easeOutCirc: function (x) { 71 return sqrt(1 - pow(x - 1, 2)) 72 }, easeInOutCirc: function (x) { 73 return x < .5 ? (1 - sqrt(1 - pow(2 * x, 2))) / 2 : (sqrt(1 - pow(-2 * x + 2, 2)) + 1) / 2 74 }, easeInElastic: function (x) { 75 return x === 0 ? 0 : x === 1 ? 1 : -pow(2, 10 * x - 10) * sin((x * 10 - 10.75) * c4) 76 }, easeOutElastic: function (x) { 77 return x === 0 ? 0 : x === 1 ? 1 : pow(2, -10 * x) * sin((x * 10 - .75) * c4) + 1 78 }, easeInOutElastic: function (x) { 79 return x === 0 ? 0 : x === 1 ? 1 : x < .5 ? -(pow(2, 20 * x - 10) * sin((20 * x - 11.125) * c5)) / 2 : pow(2, -20 * x + 10) * sin((20 * x - 11.125) * c5) / 2 + 1 80 }, easeInBack: function (x) { 81 return c3 * x * x * x - c1 * x * x 82 }, easeOutBack: function (x) { 83 return 1 + c3 * pow(x - 1, 3) + c1 * pow(x - 1, 2) 84 }, easeInOutBack: function (x) { 85 return x < .5 ? pow(2 * x, 2) * ((c2 + 1) * 2 * x - c2) / 2 : (pow(2 * x - 2, 2) * ((c2 + 1) * (x * 2 - 2) + c2) + 2) / 2 86 }, easeInBounce: function (x) { 87 return 1 - bounceOut(1 - x) 88 }, easeOutBounce: bounceOut, easeInOutBounce: function (x) { 89 return x < .5 ? (1 - bounceOut(1 - 2 * x)) / 2 : (1 + bounceOut(2 * x - 1)) / 2 90 } 91 }) 92});
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.