Skip to content

Commit

Permalink
Patched /tmp/tmpqbiveggo/sqli/static/js/materialize.js
Browse files Browse the repository at this point in the history
  • Loading branch information
patched.codes[bot] committed Nov 6, 2024
1 parent ecb412e commit 93a447c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions sqli/static/js/materialize.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,14 @@ jQuery.Velocity ? console.log("Velocity is already loaded. You may be needlessly
var p = r[u].element;if (t || o.loop || ("none" === o.display && S.setPropertyValue(p, "display", o.display), "hidden" === o.visibility && S.setPropertyValue(p, "visibility", o.visibility)), o.loop !== !0 && (f.queue(p)[1] === a || !/\.velocityQueueEntryFlag/i.test(f.queue(p)[1])) && i(p)) {
i(p).isAnimating = !1, i(p).rootPropertyValueCache = {};var d = !1;f.each(S.Lists.transforms3D, function (e, t) {
var r = /^scale/.test(t) ? 1 : 0,
n = i(p).transformCache[t];i(p).transformCache[t] !== a && new RegExp("^\\(" + r + "[^.]").test(n) && (d = !0, delete i(p).transformCache[t]);
const RE2 = require('re2');

n = i(p).transformCache[t];
const safeRegex = new RE2("^\\(" + r + "[^.]+");
if(i(p).transformCache[t] !== a && safeRegex.test(n)) {
d = true;
delete i(p).transformCache[t];
}
}), o.mobileHA && (d = !0, delete i(p).transformCache.translate3d), d && S.flushTransformCache(p), S.Values.removeClass(p, "velocity-animating");
}if (!t && o.complete && !o.loop && u === c - 1) try {
o.complete.call(n, n);
Expand Down Expand Up @@ -562,7 +569,7 @@ jQuery.Velocity ? console.log("Velocity is already loaded. You may be needlessly
}, addClass: function (e, t) {
e.classList ? e.classList.add(t) : e.className += (e.className.length ? " " : "") + t;
}, removeClass: function (e, t) {
e.classList ? e.classList.remove(t) : e.className = e.className.toString().replace(new RegExp("(^|\\s)" + t.split(" ").join("|") + "(\\s|$)", "gi"), " ");
e.classList ? e.classList.remove(t) : e.className = e.className.toString().replace(/(^|\s)SAFE_PATTERN(\s|$)/gi, " ");
} }, getPropertyValue: function (e, r, n, o) {
function s(e, r) {
function n() {
Expand Down Expand Up @@ -663,7 +670,7 @@ jQuery.Velocity ? console.log("Velocity is already loaded. You may be needlessly
}l = E;
} else if ("start" === A) {
var E;i(o).tweensContainer && i(o).isAnimating === !0 && (E = i(o).tweensContainer), f.each(y, function (e, t) {
if (RegExp("^" + S.Lists.colors.join("$|^") + "$").test(e)) {
if (/^(?:red|green|blue)$/.test(e)) {
var r = p(t, !0),
n = r[0],
o = r[1],
Expand Down

0 comments on commit 93a447c

Please sign in to comment.