Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 20, 2023
1 parent 4fda334 commit dad8189
Show file tree
Hide file tree
Showing 17 changed files with 1,085 additions and 1,025 deletions.
62 changes: 31 additions & 31 deletions docs/build/_static/clipboard.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"object" == typeof exports && "object" == typeof module
? (module.exports = e())
: "function" == typeof define && define.amd
? define([], e)
: "object" == typeof exports
? (exports.ClipboardJS = e())
: (t.ClipboardJS = e());
? define([], e)
: "object" == typeof exports
? (exports.ClipboardJS = e())
: (t.ClipboardJS = e());
})(this, function () {
return (
(n = {
Expand Down Expand Up @@ -129,10 +129,10 @@
return t
? l(t, { container: o })
: e
? "cut" === n
? f(e)
: l(e, { container: o })
: void 0;
? "cut" === n
? f(e)
: l(e, { container: o })
: void 0;
};
function d(t) {
return (d =
Expand Down Expand Up @@ -426,12 +426,12 @@
return "function" == typeof t.addEventListener
? i.apply(null, arguments)
: "function" == typeof n
? i.bind(null, document).apply(null, arguments)
: ("string" == typeof t &&
(t = document.querySelectorAll(t)),
Array.prototype.map.call(t, function (t) {
return i(t, e, n, o, r);
}));
? i.bind(null, document).apply(null, arguments)
: ("string" == typeof t &&
(t = document.querySelectorAll(t)),
Array.prototype.map.call(t, function (t) {
return i(t, e, n, o, r);
}));
};
},
879: function (t, n) {
Expand Down Expand Up @@ -521,23 +521,23 @@
"SELECT" === t.nodeName
? (t.focus(), t.value)
: "INPUT" === t.nodeName ||
"TEXTAREA" === t.nodeName
? ((e = t.hasAttribute("readonly")) ||
t.setAttribute("readonly", ""),
t.select(),
t.setSelectionRange(0, t.value.length),
e || t.removeAttribute("readonly"),
t.value)
: (t.hasAttribute("contenteditable") &&
t.focus(),
(n = window.getSelection()),
(e =
document.createRange()).selectNodeContents(
t,
),
n.removeAllRanges(),
n.addRange(e),
n.toString());
"TEXTAREA" === t.nodeName
? ((e = t.hasAttribute("readonly")) ||
t.setAttribute("readonly", ""),
t.select(),
t.setSelectionRange(0, t.value.length),
e || t.removeAttribute("readonly"),
t.value)
: (t.hasAttribute("contenteditable") &&
t.focus(),
(n = window.getSelection()),
(e =
document.createRange()).selectNodeContents(
t,
),
n.removeAllRanges(),
n.addRange(e),
n.toString());
return n;
};
},
Expand Down
125 changes: 66 additions & 59 deletions docs/build/_static/jquery-3.6.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -717,15 +717,15 @@
? // Strip the backslash prefix from a non-hex escape sequence
nonHex
: // Replace a hexadecimal escape sequence with the encoded Unicode code point
// Support: IE <=11+
// For values outside the Basic Multilingual Plane (BMP), manually construct a
// surrogate pair
high < 0
? String.fromCharCode(high + 0x10000)
: String.fromCharCode(
(high >> 10) | 0xd800,
(high & 0x3ff) | 0xdc00,
);
// Support: IE <=11+
// For values outside the Basic Multilingual Plane (BMP), manually construct a
// surrogate pair
high < 0
? String.fromCharCode(high + 0x10000)
: String.fromCharCode(
(high >> 10) | 0xd800,
(high & 0x3ff) | 0xdc00,
);
},
// CSS string/identifier serialization
// https://drafts.csswg.org/cssom/#common-serializing-idioms
Expand Down Expand Up @@ -1722,16 +1722,16 @@
return a == document
? -1
: b == document
? 1
: /* eslint-enable eqeqeq */
aup
? -1
: bup
? 1
: sortInput
? indexOf(sortInput, a) -
indexOf(sortInput, b)
: 0;
? 1
: /* eslint-enable eqeqeq */
aup
? -1
: bup
? 1
: sortInput
? indexOf(sortInput, a) -
indexOf(sortInput, b)
: 0;

// If the nodes are siblings, we can do a quick check
} else if (aup === bup) {
Expand All @@ -1757,16 +1757,16 @@
? // Do a sibling check if the nodes have a common ancestor
siblingCheck(ap[i], bp[i])
: // Otherwise nodes in our document sort first
// Support: IE 11+, Edge 17 - 18+
// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
// two documents; shallow comparisons work.
/* eslint-disable eqeqeq */
ap[i] == preferredDoc
? -1
: bp[i] == preferredDoc
? 1
: /* eslint-enable eqeqeq */
0;
// Support: IE 11+, Edge 17 - 18+
// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
// two documents; shallow comparisons work.
/* eslint-disable eqeqeq */
ap[i] == preferredDoc
? -1
: bp[i] == preferredDoc
? 1
: /* eslint-enable eqeqeq */
0;
};

return document;
Expand Down Expand Up @@ -1839,10 +1839,10 @@
return val !== undefined
? val
: support.attributes || !documentIsHTML
? elem.getAttribute(name)
: (val = elem.getAttributeNode(name)) && val.specified
? val.value
: null;
? elem.getAttribute(name)
: (val = elem.getAttributeNode(name)) && val.specified
? val.value
: null;
};

Sizzle.escape = function (sel) {
Expand Down Expand Up @@ -2104,24 +2104,31 @@
return operator === "="
? result === check
: operator === "!="
? result !== check
: operator === "^="
? check && result.indexOf(check) === 0
: operator === "*="
? check && result.indexOf(check) > -1
: operator === "$="
? check && result.slice(-check.length) === check
: operator === "~="
? (
" " +
result.replace(rwhitespace, " ") +
" "
).indexOf(check) > -1
: operator === "|="
? result === check ||
result.slice(0, check.length + 1) ===
check + "-"
: false;
? result !== check
: operator === "^="
? check && result.indexOf(check) === 0
: operator === "*="
? check && result.indexOf(check) > -1
: operator === "$="
? check &&
result.slice(-check.length) === check
: operator === "~="
? (
" " +
result.replace(
rwhitespace,
" ",
) +
" "
).indexOf(check) > -1
: operator === "|="
? result === check ||
result.slice(
0,
check.length + 1,
) ===
check + "-"
: false;
/* eslint-enable max-len */
};
},
Expand Down Expand Up @@ -2591,8 +2598,8 @@
argument < 0
? argument + length
: argument > length
? length
: argument;
? length
: argument;
for (; --i >= 0; ) {
matchIndexes.push(i);
}
Expand Down Expand Up @@ -2703,9 +2710,9 @@
return parseOnly
? soFar.length
: soFar
? Sizzle.error(selector)
: // Cache the tokens
tokenCache(selector, groups).slice(0);
? Sizzle.error(selector)
: // Cache the tokens
tokenCache(selector, groups).slice(0);
};

function toSelector(tokens) {
Expand Down Expand Up @@ -3405,9 +3412,9 @@
return elem[name] === true
? name.toLowerCase()
: (val = elem.getAttributeNode(name)) &&
val.specified
? val.value
: null;
val.specified
? val.value
: null;
}
});
}
Expand Down
Loading

0 comments on commit dad8189

Please sign in to comment.