Skip to content

Commit

Permalink
Patched /tmp/tmp2fozvdll/sqli/static/js/materialize.js
Browse files Browse the repository at this point in the history
  • Loading branch information
patched.codes[bot] committed Nov 1, 2024
1 parent 6d1546c commit 67f6295
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions sqli/static/js/materialize.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,8 @@ 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]);
n = i(p).transformCache[t];
i(p).transformCache[t] !== a && /^\(\d+[^.]/.test(n) && (d = !0, 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 +563,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)(CLASS_NAME_HERE)(\s|$)/gi, " ");
} }, getPropertyValue: function (e, r, n, o) {
function s(e, r) {
function n() {
Expand Down Expand Up @@ -663,7 +664,9 @@ 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)) {
const allowableColors = ["red", "green", "blue", "yellow", "orange", "purple"];

if (allowableColors.includes(e)) {
var r = p(t, !0),
n = r[0],
o = r[1],
Expand Down

0 comments on commit 67f6295

Please sign in to comment.