import { _ as $ } from "./index.es324.js";
import { g as b } from "./index.es378.js";
import { f as d } from "./index.es379.js";
import { f as O } from "./index.es372.js";
import { f as C } from "./index.es463.js";
import { f as A } from "./index.es470.js";
import { i as I } from "./index.es381.js";
import { i as N } from "./index.es539.js";
import { a as _ } from "./index.es568.js";
import { g as h } from "./index.es569.js";
import { s as x } from "./index.es525.js";
var B = $, y = b, S = d, E = O, u = C, F = A, s = I, l = N, D = _, R = h, L = x, T = String, t = y("JSON", "stringify"), f = u(/./.exec), c = u("".charAt), J = u("".charCodeAt), M = u("".replace), U = u(1 .toString), V = /[\uD800-\uDFFF]/g, v = /^[\uD800-\uDBFF]$/, m = /^[\uDC00-\uDFFF]$/, p = !L || F(function() {
  var r = y("Symbol")("stringify detection");
  return t([r]) !== "[null]" || t({ a: r }) !== "{}" || t(Object(r)) !== "{}";
}), g = F(function() {
  return t("\uDF06\uD834") !== '"\\udf06\\ud834"' || t("\uDEAD") !== '"\\udead"';
}), W = function(r, o) {
  var i = D(arguments), n = R(o);
  if (!(!s(n) && (r === void 0 || l(r))))
    return i[1] = function(e, a) {
      if (s(n) && (a = E(n, this, T(e), a)), !l(a))
        return a;
    }, S(t, null, i);
}, Y = function(r, o, i) {
  var n = c(i, o - 1), e = c(i, o + 1);
  return f(v, r) && !f(m, e) || f(m, r) && !f(v, n) ? "\\u" + U(J(r, 0), 16) : r;
};
t && B({ target: "JSON", stat: !0, arity: 3, forced: p || g }, {
  // eslint-disable-next-line no-unused-vars -- required for `.length`
  stringify: function(o, i, n) {
    var e = D(arguments), a = S(p ? W : t, null, e);
    return g && typeof a == "string" ? M(a, V, Y) : a;
  }
});
//# sourceMappingURL=index.es427.js.map
