Lines 471-511javascript
477 }, JSON.stringify = function(e, t, n) {
479 if (gap = "", indent = "", typeof n == "number") for (r = 0; r < n; r += 1) indent += " ";
480 else typeof n == "string" && (indent = n);
481 if (rep = t, t && typeof t != "function" && (typeof t != "object" || typeof t.length != "number")) throw Error(
482 return str("", { "": e });
483 }), typeof JSON.parse != "function" && (JSON.parse = function(text, reviver) {
485 function walk(e, t) {
487 if (i && typeof i == "object") for (n in i) Object.prototype.hasOwnProperty.call(i, n) && (r = walk(i, n), r === void 0 ?
488 return reviver.call(e, t, i);
490 if (text = String(text), rx_dangerous.lastIndex = 0, rx_dangerous.test(text) && (text = text.replace(rx_dangerous, function(e) {
491 return "\\u" + ("0000" + e.charCodeAt(0).toString(16)).slice(-4);
492 })), rx_one.test(text.replace(rx_two, "@").replace(rx_three, "]").replace(rx_four, ""))) return j = eval("(" + text + ")"), typeof reviver == "function"
493 throw SyntaxError("JSON.parse");
496})), require_json2 = /* @__PURE__ */ __commonJSMin(((e, t) => {
499 return require_json2$1(), {};
501})), require_store_legacy = /* @__PURE__ */ __commonJSMin(((e, t) => {
502 var n = require_store_engine(), r = require_all(), i = [require_json2()];
503 t.exports = n.createStore(r, i);
504})), import_store_legacy = /* @__PURE__ */ __toESM(require_store_legacy()), devtools = {
507}, threshold = 170, emitEvent = (e, t) => {
508 globalThis.dispatchEvent(new globalThis.CustomEvent("devtoolschange", { detail: {