: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
} else if (code === singleQuote || code === doubleQuote) {
quote = code === singleQuote ? "'" : '"';
next = value.indexOf(quote, next + 1);
while (value.charCodeAt(escapePos - 1) === backslash) {
token.value = value.slice(pos + 1, next);
token.sourceEndIndex = token.unclosed ? next : next + 1;
code = value.charCodeAt(pos);
} else if (code === slash && value.charCodeAt(pos + 1) === star) {
next = value.indexOf("*/", pos);
token.sourceEndIndex = next;
token.value = value.slice(pos + 2, next);
code = value.charCodeAt(pos);
(code === slash || code === star) &&
parent.type === "function" &&
sourceIndex: pos - before.length,
sourceEndIndex: pos + token.length,
code = value.charCodeAt(pos);
} else if (code === slash || code === comma || code === colon) {
sourceIndex: pos - before.length,
sourceEndIndex: pos + token.length,
code = value.charCodeAt(pos);
} else if (openParentheses === code) {
// Whitespaces after open parentheses
code = value.charCodeAt(next);
parenthesesOpenPos = pos;
sourceIndex: pos - name.length,
before: value.slice(parenthesesOpenPos + 1, next)
if (name === "url" && code !== singleQuote && code !== doubleQuote) {
next = value.indexOf(")", next + 1);
while (value.charCodeAt(escapePos - 1) === backslash) {
// Whitespaces before closed
code = value.charCodeAt(whitespacePos);
if (parenthesesOpenPos < whitespacePos) {
if (pos !== whitespacePos + 1) {
sourceEndIndex: whitespacePos + 1,
value: value.slice(pos, whitespacePos + 1)
if (token.unclosed && whitespacePos + 1 !== next) {
sourceIndex: whitespacePos + 1,
value: value.slice(whitespacePos + 1, next)
token.after = value.slice(whitespacePos + 1, next);
token.sourceEndIndex = next;
token.sourceEndIndex = token.unclosed ? next : pos;
code = value.charCodeAt(pos);
token.sourceEndIndex = pos + 1;
tokens = token.nodes = [];
} else if (closeParentheses === code && balanced) {
code = value.charCodeAt(pos);
parent.sourceEndIndex += after.length;
stack[stack.length - 1].sourceEndIndex = pos;
parent = stack[balanced];
if (code === backslash) {
code = value.charCodeAt(next);
code === openParentheses ||
parent.type === "function" &&
parent.value === "calc") ||
parent.type === "function" &&
parent.value === "calc") ||
(code === closeParentheses && balanced)
token = value.slice(pos, next);
if (openParentheses === code) {
(uLower === token.charCodeAt(0) || uUpper === token.charCodeAt(0)) &&
plus === token.charCodeAt(1) &&
isUnicodeRange.test(token.slice(2))
for (pos = stack.length - 1; pos; pos -= 1) {
stack[pos].unclosed = true;
stack[pos].sourceEndIndex = value.length;
function stringifyNode(node, custom) {
if (custom && (customResult = custom(node)) !== undefined) {
} else if (type === "word" || type === "space") {
} else if (type === "string") {
return buf + value + (node.unclosed ? "" : buf);
} else if (type === "comment") {
return "/*" + value + (node.unclosed ? "" : "*/");
} else if (type === "div") {
return (node.before || "") + value + (node.after || "");
} else if (Array.isArray(node.nodes)) {
buf = stringify(node.nodes, custom);
if (type !== "function") {
(node.unclosed ? "" : ")")
function stringify(nodes, custom) {
if (Array.isArray(nodes)) {
for (i = nodes.length - 1; ~i; i -= 1) {
result = stringifyNode(nodes[i], custom) + result;
return stringifyNode(nodes, custom);
module.exports = stringify;
var minus = "-".charCodeAt(0);
var plus = "+".charCodeAt(0);
var dot = ".".charCodeAt(0);
var exp = "e".charCodeAt(0);
var EXP = "E".charCodeAt(0);
// Check if three code points would start a number
// https://www.w3.org/TR/css-syntax-3/#starts-with-a-number
function likeNumber(value) {
var code = value.charCodeAt(0);
if (code === plus || code === minus) {
nextCode = value.charCodeAt(1);
if (nextCode >= 48 && nextCode <= 57) {
var nextNextCode = value.charCodeAt(2);
if (nextCode === dot && nextNextCode >= 48 && nextNextCode <= 57) {
nextCode = value.charCodeAt(1);
if (nextCode >= 48 && nextCode <= 57) {
if (code >= 48 && code <= 57) {
// https://www.w3.org/TR/css-syntax-3/#consume-number
module.exports = function(value) {
var length = value.length;
if (length === 0 || !likeNumber(value)) {
code = value.charCodeAt(pos);
if (code === plus || code === minus) {
code = value.charCodeAt(pos);
if (code < 48 || code > 57) {
code = value.charCodeAt(pos);
nextCode = value.charCodeAt(pos + 1);
if (code === dot && nextCode >= 48 && nextCode <= 57) {
code = value.charCodeAt(pos);
if (code < 48 || code > 57) {
code = value.charCodeAt(pos);
nextCode = value.charCodeAt(pos + 1);
nextNextCode = value.charCodeAt(pos + 2);
(code === exp || code === EXP) &&
((nextCode >= 48 && nextCode <= 57) ||
((nextCode === plus || nextCode === minus) &&
pos += nextCode === plus || nextCode === minus ? 3 : 2;
code = value.charCodeAt(pos);
if (code < 48 || code > 57) {
number: value.slice(0, pos),
module.exports = function walk(nodes, cb, bubble) {
var i, max, node, result;
for (i = 0, max = nodes.length; i < max; i += 1) {
result = cb(node, i, nodes);
node.type === "function" &&
Array.isArray(node.nodes)
walk(node.nodes, cb, bubble);
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
let Container = __webpack_require__(683)
class AtRule extends Container {
if (!this.proxyOf.nodes) this.nodes = []
return super.append(...children)
if (!this.proxyOf.nodes) this.nodes = []
return super.prepend(...children)