: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
// ! + , / > @ ~ isolate token
case 33: case 43: case 44: case 47: case 62: case 64: case 126:
// ; { } breakpoint token
case 59: case 123: case 125:
// " ' ( [ opening delimit token
case 34: case 39: case 40: case 91:
// ) ] closing delimit token
return line = column = 1, Tokenizer_length = Utility_strlen(characters = value), position = 0, []
function dealloc (value) {
return characters = '', value
function delimit (type) {
return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))
function Tokenizer_tokenize (value) {
return dealloc(tokenizer(alloc(value)))
function whitespace (type) {
while (character = peek())
return token(type) > 2 || token(character) > 3 ? '' : ' '
* @param {string[]} children
function tokenizer (children) {
switch (token(character)) {
case 0: append(identifier(position - 1), children)
case 2: append(delimit(character), children)
default: append(from(character), children)
function escaping (index, count) {
while (--count && next())
if (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))
return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))
function delimiter (type) {
if (type !== 34 && type !== 39)
function commenter (type, index) {
if (type + character === 47 + 10)
else if (type + character === 42 + 42 && peek() === 47)
return '/*' + slice(index, position - 1) + '*' + Utility_from(type === 47 ? type : next())
function identifier (index) {
return slice(index, position)
;// CONCATENATED MODULE: ./node_modules/stylis/src/Enum.js
var Enum_WEBKIT = '-webkit-'
var Enum_RULESET = 'rule'
var Enum_DECLARATION = 'decl'
var VIEWPORT = '@viewport'
var SUPPORTS = '@supports'
var DOCUMENT = '@document'
var NAMESPACE = '@namespace'
var Enum_KEYFRAMES = '@keyframes'
var FONT_FACE = '@font-face'
var COUNTER_STYLE = '@counter-style'
var FONT_FEATURE_VALUES = '@font-feature-values'
;// CONCATENATED MODULE: ./node_modules/stylis/src/Serializer.js
* @param {object[]} children
* @param {function} callback
function Serializer_serialize (children, callback) {
var length = Utility_sizeof(children)
for (var i = 0; i < length; i++)
output += callback(children[i], i, children, callback) || ''
* @param {object} element
* @param {object[]} children
* @param {function} callback
function stringify (element, index, children, callback) {
case IMPORT: case Enum_DECLARATION: return element.return = element.return || element.value
case Enum_KEYFRAMES: return element.return = element.value + '{' + Serializer_serialize(element.children, callback) + '}'
case Enum_RULESET: element.value = element.props.join(',')
return Utility_strlen(children = Serializer_serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''
;// CONCATENATED MODULE: ./node_modules/stylis/src/Middleware.js
* @param {function[]} collection
function middleware (collection) {
var length = Utility_sizeof(collection)
return function (element, index, children, callback) {
for (var i = 0; i < length; i++)
output += collection[i](element, index, children, callback) || ''
* @param {function} callback
function rulesheet (callback) {
return function (element) {
if (element = element.return)
* @param {object} element
* @param {object[]} children
* @param {function} callback
function prefixer (element, index, children, callback) {
case DECLARATION: element.return = prefix(element.value, element.length, children)
return serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)
return combine(element.props, function (value) {
switch (match(value, /(::plac\w+|:read-\w+)/)) {
case ':read-only': case ':read-write':
return serialize([copy(element, {props: [replace(value, /:(read-\w+)/, ':' + MOZ + '$1')]})], callback)
copy(element, {props: [replace(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]}),
copy(element, {props: [replace(value, /:(plac\w+)/, ':' + MOZ + '$1')]}),
copy(element, {props: [replace(value, /:(plac\w+)/, MS + 'input-$1')]})
* @param {object} element
* @param {object[]} children
function namespace (element) {
element.props = element.props.map(function (value) {
return combine(tokenize(value), function (value, index, children) {
switch (charat(value, 0)) {
return substr(value, 1, strlen(value))
case 0: case 40: case 43: case 62: case 126:
if (children[++index] === 'global')
children[index] = '', children[++index] = '\f' + substr(children[index], index = 1, -1)
return index === 1 ? '' : value
return sizeof(children) > 1 ? '' : value
case index = sizeof(children) - 1: case 2:
return index === 2 ? value + element + element : value + element
;// CONCATENATED MODULE: ./node_modules/stylis/src/Parser.js
function compile (value) {
return dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))
* @param {object?} parent
* @param {string[]} rules
* @param {string[]} rulesets
* @param {number[]} pseudo
* @param {number[]} points
* @param {string[]} declarations
function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
switch (previous = character, character = next()) {
if (previous != 108 && Utility_charat(characters, length - 1) == 58) {
if (indexof(characters += Utility_replace(delimit(character), '&', '&\f'), '&\f') != -1)
case 34: case 39: case 91:
characters += delimit(character)
case 9: case 10: case 13: case 32:
characters += whitespace(previous)
characters += escaping(caret() - 1, 7)
Utility_append(comment(commenter(next(), caret()), root, parent), declarations)
points[index++] = Utility_strlen(characters) * ampersand
case 125 * variable: case 59: case 0:
case 0: case 125: scanning = 0
if (property > 0 && (Utility_strlen(characters) - length))
Utility_append(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(Utility_replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations)
case 59: characters += ';'
Utility_append(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets)
parse(characters, root, reference, reference, props, rulesets, length, points, children)
switch (atrule === 99 && Utility_charat(characters, 3) === 110 ? 100 : atrule) {
case 100: case 109: case 115:
parse(value, reference, reference, rule && Utility_append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children)
parse(characters, reference, reference, reference, [''], children, 0, points, children)
index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo
length = 1 + Utility_strlen(characters), property = previous
else if (character == 125 && variable++ == 0 && prev() == 125)
switch (characters += Utility_from(character), character * variable) {
ampersand = offset > 0 ? 1 : (characters += '\f', -1)
points[index++] = (Utility_strlen(characters) - 1) * ampersand, ampersand = 1
characters += delimit(next())
atrule = peek(), offset = length = Utility_strlen(type = characters += identifier(caret())), character++
if (previous === 45 && Utility_strlen(characters) == 2)
* @param {object?} parent
* @param {string[]} rules
* @param {number[]} points
* @param {string[]} props
* @param {string[]} children
function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length) {
var rule = offset === 0 ? rules : ['']
var size = Utility_sizeof(rule)
for (var i = 0, j = 0, k = 0; i < index; ++i)
for (var x = 0, y = Utility_substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)
if (z = trim(j > 0 ? rule[x] + ' ' + y : Utility_replace(y, /&\f/g, rule[x])))
return node(value, root, parent, offset === 0 ? Enum_RULESET : type, props, children, length)
* @param {object?} parent