: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
const SINGLE_QUOTE = "'".charCodeAt(0)
const DOUBLE_QUOTE = '"'.charCodeAt(0)
const BACKSLASH = '\\'.charCodeAt(0)
const SLASH = '/'.charCodeAt(0)
const NEWLINE = '\n'.charCodeAt(0)
const SPACE = ' '.charCodeAt(0)
const FEED = '\f'.charCodeAt(0)
const TAB = '\t'.charCodeAt(0)
const CR = '\r'.charCodeAt(0)
const OPEN_SQUARE = '['.charCodeAt(0)
const CLOSE_SQUARE = ']'.charCodeAt(0)
const OPEN_PARENTHESES = '('.charCodeAt(0)
const CLOSE_PARENTHESES = ')'.charCodeAt(0)
const OPEN_CURLY = '{'.charCodeAt(0)
const CLOSE_CURLY = '}'.charCodeAt(0)
const SEMICOLON = ';'.charCodeAt(0)
const ASTERISK = '*'.charCodeAt(0)
const COLON = ':'.charCodeAt(0)
const AT = '@'.charCodeAt(0)
const RE_AT_END = /[\t\n\f\r "#'()/;[\\\]{}]/g
const RE_WORD_END = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g
const RE_BAD_BRACKET = /.[\r\n"'(/\\]/
const RE_HEX_ESCAPE = /[\da-f]/i
module.exports = function tokenizer(input, options = {}) {
let css = input.css.valueOf()
let ignore = options.ignoreErrors
let code, next, quote, content, escape
let escaped, escapePos, prev, n, currentToken
function unclosed(what) {
throw input.error('Unclosed ' + what, pos)
return returned.length === 0 && pos >= length
function nextToken(opts) {
if (returned.length) return returned.pop()
if (pos >= length) return
let ignoreUnclosed = opts ? opts.ignoreUnclosed : false
code = css.charCodeAt(pos)
code = css.charCodeAt(next)
currentToken = ['space', css.slice(pos, next)]
case CLOSE_PARENTHESES: {
let controlChar = String.fromCharCode(code)
currentToken = [controlChar, controlChar, pos]
prev = buffer.length ? buffer.pop()[1] : ''
n = css.charCodeAt(pos + 1)
next = css.indexOf(')', next + 1)
if (ignore || ignoreUnclosed) {
while (css.charCodeAt(escapePos - 1) === BACKSLASH) {
currentToken = ['brackets', css.slice(pos, next + 1), pos, next]
next = css.indexOf(')', pos + 1)
content = css.slice(pos, next + 1)
if (next === -1 || RE_BAD_BRACKET.test(content)) {
currentToken = ['(', '(', pos]
currentToken = ['brackets', content, pos, next]
quote = code === SINGLE_QUOTE ? "'" : '"'
next = css.indexOf(quote, next + 1)
if (ignore || ignoreUnclosed) {
while (css.charCodeAt(escapePos - 1) === BACKSLASH) {
currentToken = ['string', css.slice(pos, next + 1), pos, next]
RE_AT_END.lastIndex = pos + 1
if (RE_AT_END.lastIndex === 0) {
next = RE_AT_END.lastIndex - 2
currentToken = ['at-word', css.slice(pos, next + 1), pos, next]
while (css.charCodeAt(next + 1) === BACKSLASH) {
code = css.charCodeAt(next + 1)
if (RE_HEX_ESCAPE.test(css.charAt(next))) {
while (RE_HEX_ESCAPE.test(css.charAt(next + 1))) {
if (css.charCodeAt(next + 1) === SPACE) {
currentToken = ['word', css.slice(pos, next + 1), pos, next]
if (code === SLASH && css.charCodeAt(pos + 1) === ASTERISK) {
next = css.indexOf('*/', pos + 2) + 1
if (ignore || ignoreUnclosed) {
currentToken = ['comment', css.slice(pos, next + 1), pos, next]
RE_WORD_END.lastIndex = pos + 1
if (RE_WORD_END.lastIndex === 0) {
next = RE_WORD_END.lastIndex - 2
currentToken = ['word', css.slice(pos, next + 1), pos, next]
buffer.push(currentToken)
/* eslint-disable no-console */
module.exports = function warnOnce(message) {
if (printed[message]) return
if (typeof console !== 'undefined' && console.warn) {
constructor(text, opts = {}) {
if (opts.node && opts.node.source) {
let range = opts.node.rangeBy(opts)
this.line = range.start.line
this.column = range.start.column
this.endLine = range.end.line
this.endColumn = range.end.column
for (let opt in opts) this[opt] = opts[opt]
return this.node.error(this.text, {
return this.plugin + ': ' + this.text
Warning.default = Warning
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
* Copyright (c) 2013-present, Facebook, Inc.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
var ReactPropTypesSecret = __webpack_require__(4067);
function emptyFunction() {}
function emptyFunctionWithReset() {}
emptyFunctionWithReset.resetWarningCache = emptyFunction;
module.exports = function() {
function shim(props, propName, componentName, location, propFullName, secret) {
if (secret === ReactPropTypesSecret) {
// It is still safe when called from React.
'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
'Use PropTypes.checkPropTypes() to call them. ' +
'Read more at http://fb.me/use-check-prop-types'
err.name = 'Invariant Violation';
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
checkPropTypes: emptyFunctionWithReset,
resetWarningCache: emptyFunction
ReactPropTypes.PropTypes = ReactPropTypes;
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
* Copyright (c) 2013-present, Facebook, Inc.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
if (false) { var throwOnDirectAccess, ReactIs; } else {
// By explicitly using `prop-types` you are opting into new production behavior.
// http://fb.me/prop-types-in-prod
module.exports = __webpack_require__(628)();
* Copyright (c) 2013-present, Facebook, Inc.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
module.exports = ReactPropTypesSecret;
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
var __rest = (this && this.__rest) || function (s, e) {
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
exports.__esModule = true;
var React = __webpack_require__(1609);
var PropTypes = __webpack_require__(5826);
var autosize = __webpack_require__(4306);
var _getLineHeight = __webpack_require__(461);
var getLineHeight = _getLineHeight;
var RESIZED = "autosize:resized";
* A light replacement for built-in textarea component
* which automaticaly adjusts its height to match the content
var TextareaAutosizeClass = /** @class */ (function (_super) {
__extends(TextareaAutosizeClass, _super);
function TextareaAutosizeClass() {
var _this = _super !== null && _super.apply(this, arguments) || this;