From d157943788acdd3e577a0d4933ce93628d0383a4 Mon Sep 17 00:00:00 2001 From: Nans Pellicari Date: Fri, 14 Feb 2025 14:15:47 +0100 Subject: [PATCH 1/3] Add typescript, vite and vitest --- .github/workflows/ci.yml | 2 +- .gitignore | 3 + .npmignore | 6 +- .prettierrc.json | 8 +- .vscode/extensions.json | 3 + .vscode/settings.json.sample | 15 + babel.config.json | 10 - dist/bundle.es.js | 5750 +++++++++++++++++++++++++++ dist/bundle.js | 1946 +-------- dist/index.d.ts | 5 + dist/observer.d.ts | 37 + dist/types.d.ts | 4 + dist/undo.d.ts | 165 + index.html | 31 + package.json | 44 +- renovate.json | 4 +- src/index.ts | 10 + src/{observer.js => observer.ts} | 33 +- src/types.ts | 6 + src/{index.js => undo.ts} | 277 +- test/config/assetsTransform.js | 8 - test/fixtures/{data.js => data.ts} | 7 +- test/fixtures/editor.js | 52 - test/fixtures/editorjs.ts | 9 + test/fixtures/tools.ts | 13 + test/{undo.test.js => undo.test.ts} | 117 +- tsconfig.json | 26 + types/vanilla-caret-js.d.ts | 8 + vite.config.mts | 30 + vitest.setup.ts | 1 + webpack.config.js | 26 - yarn.lock | 2753 +++++++------ 32 files changed, 7891 insertions(+), 3518 deletions(-) create mode 100644 .vscode/extensions.json create mode 100644 .vscode/settings.json.sample delete mode 100644 babel.config.json create mode 100644 dist/bundle.es.js create mode 100644 dist/index.d.ts create mode 100644 dist/observer.d.ts create mode 100644 dist/types.d.ts create mode 100644 dist/undo.d.ts create mode 100644 index.html create mode 100644 src/index.ts rename src/{observer.js => observer.ts} (73%) create mode 100644 src/types.ts rename src/{index.js => undo.ts} (58%) delete mode 100644 test/config/assetsTransform.js rename test/fixtures/{data.js => data.ts} (93%) delete mode 100644 test/fixtures/editor.js create mode 100644 test/fixtures/editorjs.ts create mode 100644 test/fixtures/tools.ts rename test/{undo.test.js => undo.test.ts} (70%) create mode 100644 tsconfig.json create mode 100644 types/vanilla-caret-js.d.ts create mode 100644 vite.config.mts create mode 100644 vitest.setup.ts delete mode 100644 webpack.config.js diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24a5b82..8dadbdf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: 16.x + node-version: 18.x - run: yarn - run: yarn test --coverage - name: Coveralls diff --git a/.gitignore b/.gitignore index aa96b5d..694a994 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,6 @@ npm-debug.log .idea/ .DS_Store dist/*.map +.vscode/* +!.vscode/settings.json.sample +!.vscode/extensions.json diff --git a/.npmignore b/.npmignore index e960649..640cb5a 100644 --- a/.npmignore +++ b/.npmignore @@ -3,7 +3,11 @@ src/ test/ assets/ dev/ +.vscode/ .eslintrc.js +.prettierrc.json babel.config.json -webpack.config.js +vite.config.mts +vitest.setup.ts +tsconfig.json yarn.lock diff --git a/.prettierrc.json b/.prettierrc.json index eb73684..0a72520 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,6 +1,6 @@ { - "trailingComma": "es5", - "tabWidth": 2, - "semi": false, - "singleQuote": false + "trailingComma": "es5", + "tabWidth": 2, + "semi": true, + "singleQuote": true } diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..1d7ac85 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"] +} diff --git a/.vscode/settings.json.sample b/.vscode/settings.json.sample new file mode 100644 index 0000000..e1fb25d --- /dev/null +++ b/.vscode/settings.json.sample @@ -0,0 +1,15 @@ +{ + "editor.codeActionsOnSave": { + "source.fixAll.eslint": "explicit" + }, + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.formatOnSave": true, + "editor.formatOnPaste": true, + "editor.formatOnType": false, + "files.associations": { + "*.json.sample": "json" + }, + "[ignore]": { + "editor.defaultFormatter": "foxundermoon.shell-format" + } +} diff --git a/babel.config.json b/babel.config.json deleted file mode 100644 index 8924f68..0000000 --- a/babel.config.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "presets": [ - "@babel/preset-env" - ], - "plugins": [ - ["@babel/plugin-transform-runtime", { - "regenerator": true - }] - ] -} diff --git a/dist/bundle.es.js b/dist/bundle.es.js new file mode 100644 index 0000000..9106882 --- /dev/null +++ b/dist/bundle.es.js @@ -0,0 +1,5750 @@ +var $y = Object.defineProperty; +var Ry = (r, e, t) => e in r ? $y(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t; +var Sr = (r, e, t) => Ry(r, typeof e != "symbol" ? e + "" : e, t); +var ge = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; +function Fy(r) { + return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r; +} +function By(r) { + if (r.__esModule) return r; + var e = r.default; + if (typeof e == "function") { + var t = function a() { + return this instanceof a ? Reflect.construct(e, arguments, this.constructor) : e.apply(this, arguments); + }; + t.prototype = e.prototype; + } else t = {}; + return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(r).forEach(function(a) { + var n = Object.getOwnPropertyDescriptor(r, a); + Object.defineProperty(t, a, n.get ? n : { + enumerable: !0, + get: function() { + return r[a]; + } + }); + }), t; +} +var je, bo; +function ay() { + if (bo) return je; + bo = 1; + var r = Object.prototype.toString; + return je = function(t) { + var a = r.call(t), n = a === "[object Arguments]"; + return n || (n = a !== "[object Array]" && t !== null && typeof t == "object" && typeof t.length == "number" && t.length >= 0 && r.call(t.callee) === "[object Function]"), n; + }, je; +} +var Me, Po; +function Uy() { + if (Po) return Me; + Po = 1; + var r; + if (!Object.keys) { + var e = Object.prototype.hasOwnProperty, t = Object.prototype.toString, a = ay(), n = Object.prototype.propertyIsEnumerable, i = !n.call({ toString: null }, "toString"), o = n.call(function() { + }, "prototype"), y = [ + "toString", + "toLocaleString", + "valueOf", + "hasOwnProperty", + "isPrototypeOf", + "propertyIsEnumerable", + "constructor" + ], f = function(E) { + var $ = E.constructor; + return $ && $.prototype === E; + }, g = { + $applicationCache: !0, + $console: !0, + $external: !0, + $frame: !0, + $frameElement: !0, + $frames: !0, + $innerHeight: !0, + $innerWidth: !0, + $onmozfullscreenchange: !0, + $onmozfullscreenerror: !0, + $outerHeight: !0, + $outerWidth: !0, + $pageXOffset: !0, + $pageYOffset: !0, + $parent: !0, + $scrollLeft: !0, + $scrollTop: !0, + $scrollX: !0, + $scrollY: !0, + $self: !0, + $webkitIndexedDB: !0, + $webkitStorageInfo: !0, + $window: !0 + }, h = function() { + if (typeof window > "u") + return !1; + for (var E in window) + try { + if (!g["$" + E] && e.call(window, E) && window[E] !== null && typeof window[E] == "object") + try { + f(window[E]); + } catch { + return !0; + } + } catch { + return !0; + } + return !1; + }(), v = function(E) { + if (typeof window > "u" || !h) + return f(E); + try { + return f(E); + } catch { + return !1; + } + }; + r = function($) { + var j = $ !== null && typeof $ == "object", I = t.call($) === "[object Function]", b = a($), U = j && t.call($) === "[object String]", A = []; + if (!j && !I && !b) + throw new TypeError("Object.keys called on a non-object"); + var F = o && I; + if (U && $.length > 0 && !e.call($, 0)) + for (var z = 0; z < $.length; ++z) + A.push(String(z)); + if (b && $.length > 0) + for (var K = 0; K < $.length; ++K) + A.push(String(K)); + else + for (var D in $) + !(F && D === "prototype") && e.call($, D) && A.push(String(D)); + if (i) + for (var O = v($), Q = 0; Q < y.length; ++Q) + !(O && y[Q] === "constructor") && e.call($, y[Q]) && A.push(y[Q]); + return A; + }; + } + return Me = r, Me; +} +var _e, Oo; +function vo() { + if (Oo) return _e; + Oo = 1; + var r = Array.prototype.slice, e = ay(), t = Object.keys, a = t ? function(o) { + return t(o); + } : Uy(), n = Object.keys; + return a.shim = function() { + if (Object.keys) { + var o = function() { + var y = Object.keys(arguments); + return y && y.length === arguments.length; + }(1, 2); + o || (Object.keys = function(f) { + return e(f) ? n(r.call(f)) : n(f); + }); + } else + Object.keys = a; + return Object.keys || a; + }, _e = a, _e; +} +var De, Io; +function Rr() { + return Io || (Io = 1, De = Error), De; +} +var Ne, Eo; +function jr() { + return Eo || (Eo = 1, Ne = EvalError), Ne; +} +var Te, wo; +function Mr() { + return wo || (wo = 1, Te = RangeError), Te; +} +var ke, $o; +function _r() { + return $o || ($o = 1, ke = ReferenceError), ke; +} +var Ce, Ro; +function Er() { + return Ro || (Ro = 1, Ce = SyntaxError), Ce; +} +var Ge, Fo; +function gr() { + return Fo || (Fo = 1, Ge = TypeError), Ge; +} +var We, Bo; +function Dr() { + return Bo || (Bo = 1, We = URIError), We; +} +var Le, Uo; +function go() { + return Uo || (Uo = 1, Le = function() { + if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") + return !1; + if (typeof Symbol.iterator == "symbol") + return !0; + var e = {}, t = Symbol("test"), a = Object(t); + if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(a) !== "[object Symbol]") + return !1; + var n = 42; + e[t] = n; + for (t in e) + return !1; + if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0) + return !1; + var i = Object.getOwnPropertySymbols(e); + if (i.length !== 1 || i[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t)) + return !1; + if (typeof Object.getOwnPropertyDescriptor == "function") { + var o = Object.getOwnPropertyDescriptor(e, t); + if (o.value !== n || o.enumerable !== !0) + return !1; + } + return !0; + }), Le; +} +var He, qo; +function ho() { + if (qo) return He; + qo = 1; + var r = typeof Symbol < "u" && Symbol, e = go(); + return He = function() { + return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e(); + }, He; +} +var Ve, xo; +function Be() { + if (xo) return Ve; + xo = 1; + var r = { + __proto__: null, + foo: {} + }, e = Object; + return Ve = function() { + return { __proto__: r }.foo === r.foo && !(r instanceof e); + }, Ve; +} +var Je, jo; +function qy() { + if (jo) return Je; + jo = 1; + var r = "Function.prototype.bind called on incompatible ", e = Object.prototype.toString, t = Math.max, a = "[object Function]", n = function(f, g) { + for (var h = [], v = 0; v < f.length; v += 1) + h[v] = f[v]; + for (var E = 0; E < g.length; E += 1) + h[E + f.length] = g[E]; + return h; + }, i = function(f, g) { + for (var h = [], v = g, E = 0; v < f.length; v += 1, E += 1) + h[E] = f[v]; + return h; + }, o = function(y, f) { + for (var g = "", h = 0; h < y.length; h += 1) + g += y[h], h + 1 < y.length && (g += f); + return g; + }; + return Je = function(f) { + var g = this; + if (typeof g != "function" || e.apply(g) !== a) + throw new TypeError(r + g); + for (var h = i(arguments, 1), v, E = function() { + if (this instanceof v) { + var U = g.apply( + this, + n(h, arguments) + ); + return Object(U) === U ? U : this; + } + return g.apply( + f, + n(h, arguments) + ); + }, $ = t(0, g.length - h.length), j = [], I = 0; I < $; I++) + j[I] = "$" + I; + if (v = Function("binder", "return function (" + o(j, ",") + "){ return binder.apply(this,arguments); }")(E), g.prototype) { + var b = function() { + }; + b.prototype = g.prototype, v.prototype = new b(), b.prototype = null; + } + return v; + }, Je; +} +var ze, Mo; +function Or() { + if (Mo) return ze; + Mo = 1; + var r = qy(); + return ze = Function.prototype.bind || r, ze; +} +var Ke, _o; +function Fr() { + if (_o) return Ke; + _o = 1; + var r = Function.prototype.call, e = Object.prototype.hasOwnProperty, t = Or(); + return Ke = t.call(r, e), Ke; +} +var Ye, Do; +function Vr() { + if (Do) return Ye; + Do = 1; + var r, e = /* @__PURE__ */ Rr(), t = /* @__PURE__ */ jr(), a = /* @__PURE__ */ Mr(), n = /* @__PURE__ */ _r(), i = /* @__PURE__ */ Er(), o = /* @__PURE__ */ gr(), y = /* @__PURE__ */ Dr(), f = Function, g = function(N) { + try { + return f('"use strict"; return (' + N + ").constructor;")(); + } catch { + } + }, h = Object.getOwnPropertyDescriptor; + if (h) + try { + h({}, ""); + } catch { + h = null; + } + var v = function() { + throw new o(); + }, E = h ? function() { + try { + return arguments.callee, v; + } catch { + try { + return h(arguments, "callee").get; + } catch { + return v; + } + } + }() : v, $ = ho()(), j = /* @__PURE__ */ Be()(), I = Object.getPrototypeOf || (j ? function(N) { + return N.__proto__; + } : null), b = {}, U = typeof Uint8Array > "u" || !I ? r : I(Uint8Array), A = { + __proto__: null, + "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError, + "%Array%": Array, + "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer, + "%ArrayIteratorPrototype%": $ && I ? I([][Symbol.iterator]()) : r, + "%AsyncFromSyncIteratorPrototype%": r, + "%AsyncFunction%": b, + "%AsyncGenerator%": b, + "%AsyncGeneratorFunction%": b, + "%AsyncIteratorPrototype%": b, + "%Atomics%": typeof Atomics > "u" ? r : Atomics, + "%BigInt%": typeof BigInt > "u" ? r : BigInt, + "%BigInt64Array%": typeof BigInt64Array > "u" ? r : BigInt64Array, + "%BigUint64Array%": typeof BigUint64Array > "u" ? r : BigUint64Array, + "%Boolean%": Boolean, + "%DataView%": typeof DataView > "u" ? r : DataView, + "%Date%": Date, + "%decodeURI%": decodeURI, + "%decodeURIComponent%": decodeURIComponent, + "%encodeURI%": encodeURI, + "%encodeURIComponent%": encodeURIComponent, + "%Error%": e, + "%eval%": eval, + // eslint-disable-line no-eval + "%EvalError%": t, + "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array, + "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array, + "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry, + "%Function%": f, + "%GeneratorFunction%": b, + "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array, + "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array, + "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array, + "%isFinite%": isFinite, + "%isNaN%": isNaN, + "%IteratorPrototype%": $ && I ? I(I([][Symbol.iterator]())) : r, + "%JSON%": typeof JSON == "object" ? JSON : r, + "%Map%": typeof Map > "u" ? r : Map, + "%MapIteratorPrototype%": typeof Map > "u" || !$ || !I ? r : I((/* @__PURE__ */ new Map())[Symbol.iterator]()), + "%Math%": Math, + "%Number%": Number, + "%Object%": Object, + "%parseFloat%": parseFloat, + "%parseInt%": parseInt, + "%Promise%": typeof Promise > "u" ? r : Promise, + "%Proxy%": typeof Proxy > "u" ? r : Proxy, + "%RangeError%": a, + "%ReferenceError%": n, + "%Reflect%": typeof Reflect > "u" ? r : Reflect, + "%RegExp%": RegExp, + "%Set%": typeof Set > "u" ? r : Set, + "%SetIteratorPrototype%": typeof Set > "u" || !$ || !I ? r : I((/* @__PURE__ */ new Set())[Symbol.iterator]()), + "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer, + "%String%": String, + "%StringIteratorPrototype%": $ && I ? I(""[Symbol.iterator]()) : r, + "%Symbol%": $ ? Symbol : r, + "%SyntaxError%": i, + "%ThrowTypeError%": E, + "%TypedArray%": U, + "%TypeError%": o, + "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array, + "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray, + "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array, + "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array, + "%URIError%": y, + "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap, + "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef, + "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet + }; + if (I) + try { + null.error; + } catch (N) { + var F = I(I(N)); + A["%Error.prototype%"] = F; + } + var z = function N(P) { + var R; + if (P === "%AsyncFunction%") + R = g("async function () {}"); + else if (P === "%GeneratorFunction%") + R = g("function* () {}"); + else if (P === "%AsyncGeneratorFunction%") + R = g("async function* () {}"); + else if (P === "%AsyncGenerator%") { + var q = N("%AsyncGeneratorFunction%"); + q && (R = q.prototype); + } else if (P === "%AsyncIteratorPrototype%") { + var M = N("%AsyncGenerator%"); + M && I && (R = I(M.prototype)); + } + return A[P] = R, R; + }, K = { + __proto__: null, + "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], + "%ArrayPrototype%": ["Array", "prototype"], + "%ArrayProto_entries%": ["Array", "prototype", "entries"], + "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], + "%ArrayProto_keys%": ["Array", "prototype", "keys"], + "%ArrayProto_values%": ["Array", "prototype", "values"], + "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], + "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], + "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], + "%BooleanPrototype%": ["Boolean", "prototype"], + "%DataViewPrototype%": ["DataView", "prototype"], + "%DatePrototype%": ["Date", "prototype"], + "%ErrorPrototype%": ["Error", "prototype"], + "%EvalErrorPrototype%": ["EvalError", "prototype"], + "%Float32ArrayPrototype%": ["Float32Array", "prototype"], + "%Float64ArrayPrototype%": ["Float64Array", "prototype"], + "%FunctionPrototype%": ["Function", "prototype"], + "%Generator%": ["GeneratorFunction", "prototype"], + "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], + "%Int8ArrayPrototype%": ["Int8Array", "prototype"], + "%Int16ArrayPrototype%": ["Int16Array", "prototype"], + "%Int32ArrayPrototype%": ["Int32Array", "prototype"], + "%JSONParse%": ["JSON", "parse"], + "%JSONStringify%": ["JSON", "stringify"], + "%MapPrototype%": ["Map", "prototype"], + "%NumberPrototype%": ["Number", "prototype"], + "%ObjectPrototype%": ["Object", "prototype"], + "%ObjProto_toString%": ["Object", "prototype", "toString"], + "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], + "%PromisePrototype%": ["Promise", "prototype"], + "%PromiseProto_then%": ["Promise", "prototype", "then"], + "%Promise_all%": ["Promise", "all"], + "%Promise_reject%": ["Promise", "reject"], + "%Promise_resolve%": ["Promise", "resolve"], + "%RangeErrorPrototype%": ["RangeError", "prototype"], + "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], + "%RegExpPrototype%": ["RegExp", "prototype"], + "%SetPrototype%": ["Set", "prototype"], + "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], + "%StringPrototype%": ["String", "prototype"], + "%SymbolPrototype%": ["Symbol", "prototype"], + "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], + "%TypedArrayPrototype%": ["TypedArray", "prototype"], + "%TypeErrorPrototype%": ["TypeError", "prototype"], + "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], + "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], + "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], + "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], + "%URIErrorPrototype%": ["URIError", "prototype"], + "%WeakMapPrototype%": ["WeakMap", "prototype"], + "%WeakSetPrototype%": ["WeakSet", "prototype"] + }, D = Or(), O = /* @__PURE__ */ Fr(), Q = D.call(Function.call, Array.prototype.concat), Y = D.call(Function.apply, Array.prototype.splice), er = D.call(Function.call, String.prototype.replace), G = D.call(Function.call, String.prototype.slice), H = D.call(Function.call, RegExp.prototype.exec), or = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, V = /\\(\\)?/g, nr = function(P) { + var R = G(P, 0, 1), q = G(P, -1); + if (R === "%" && q !== "%") + throw new i("invalid intrinsic syntax, expected closing `%`"); + if (q === "%" && R !== "%") + throw new i("invalid intrinsic syntax, expected opening `%`"); + var M = []; + return er(P, or, function(J, X, u, x) { + M[M.length] = u ? er(x, V, "$1") : X || J; + }), M; + }, dr = function(P, R) { + var q = P, M; + if (O(K, q) && (M = K[q], q = "%" + M[0] + "%"), O(A, q)) { + var J = A[q]; + if (J === b && (J = z(q)), typeof J > "u" && !R) + throw new o("intrinsic " + P + " exists, but is not available. Please file an issue!"); + return { + alias: M, + name: q, + value: J + }; + } + throw new i("intrinsic " + P + " does not exist!"); + }; + return Ye = function(P, R) { + if (typeof P != "string" || P.length === 0) + throw new o("intrinsic name must be a non-empty string"); + if (arguments.length > 1 && typeof R != "boolean") + throw new o('"allowMissing" argument must be a boolean'); + if (H(/^%?[^%]*%?$/, P) === null) + throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); + var q = nr(P), M = q.length > 0 ? q[0] : "", J = dr("%" + M + "%", R), X = J.name, u = J.value, x = !1, L = J.alias; + L && (M = L[0], Y(q, Q([0, 1], L))); + for (var k = 1, C = !0; k < q.length; k += 1) { + var w = q[k], s = G(w, 0, 1), S = G(w, -1); + if ((s === '"' || s === "'" || s === "`" || S === '"' || S === "'" || S === "`") && s !== S) + throw new i("property names with quotes must have matching quotes"); + if ((w === "constructor" || !C) && (x = !0), M += "." + w, X = "%" + M + "%", O(A, X)) + u = A[X]; + else if (u != null) { + if (!(w in u)) { + if (!R) + throw new o("base intrinsic for " + P + " exists, but the property is not available."); + return; + } + if (h && k + 1 >= q.length) { + var l = h(u, w); + C = !!l, C && "get" in l && !("originalValue" in l.get) ? u = l.get : u = u[w]; + } else + C = O(u, w), u = u[w]; + C && !x && (A[X] = u); + } + } + return u; + }, Ye; +} +var Xe, No; +function Ue() { + if (No) return Xe; + No = 1; + var r = /* @__PURE__ */ Vr(), e = r("%Object.defineProperty%", !0) || !1; + if (e) + try { + e({}, "a", { value: 1 }); + } catch { + e = !1; + } + return Xe = e, Xe; +} +var Qe, To; +function iy() { + if (To) return Qe; + To = 1; + var r = /* @__PURE__ */ Vr(), e = r("%Object.getOwnPropertyDescriptor%", !0); + if (e) + try { + e([], "length"); + } catch { + e = null; + } + return Qe = e, Qe; +} +var Ze, ko; +function mo() { + if (ko) return Ze; + ko = 1; + var r = /* @__PURE__ */ Ue(), e = /* @__PURE__ */ Er(), t = /* @__PURE__ */ gr(), a = /* @__PURE__ */ iy(); + return Ze = function(i, o, y) { + if (!i || typeof i != "object" && typeof i != "function") + throw new t("`obj` must be an object or a function`"); + if (typeof o != "string" && typeof o != "symbol") + throw new t("`property` must be a string or a symbol`"); + if (arguments.length > 3 && typeof arguments[3] != "boolean" && arguments[3] !== null) + throw new t("`nonEnumerable`, if provided, must be a boolean or null"); + if (arguments.length > 4 && typeof arguments[4] != "boolean" && arguments[4] !== null) + throw new t("`nonWritable`, if provided, must be a boolean or null"); + if (arguments.length > 5 && typeof arguments[5] != "boolean" && arguments[5] !== null) + throw new t("`nonConfigurable`, if provided, must be a boolean or null"); + if (arguments.length > 6 && typeof arguments[6] != "boolean") + throw new t("`loose`, if provided, must be a boolean"); + var f = arguments.length > 3 ? arguments[3] : null, g = arguments.length > 4 ? arguments[4] : null, h = arguments.length > 5 ? arguments[5] : null, v = arguments.length > 6 ? arguments[6] : !1, E = !!a && a(i, o); + if (r) + r(i, o, { + configurable: h === null && E ? E.configurable : !h, + enumerable: f === null && E ? E.enumerable : !f, + value: y, + writable: g === null && E ? E.writable : !g + }); + else if (v || !f && !g && !h) + i[o] = y; + else + throw new e("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable."); + }, Ze; +} +var rt, Co; +function So() { + if (Co) return rt; + Co = 1; + var r = /* @__PURE__ */ Ue(), e = function() { + return !!r; + }; + return e.hasArrayLengthDefineBug = function() { + if (!r) + return null; + try { + return r([], "length", { value: 1 }).length !== 1; + } catch { + return !0; + } + }, rt = e, rt; +} +var et, Go; +function Jr() { + if (Go) return et; + Go = 1; + var r = vo(), e = typeof Symbol == "function" && typeof Symbol("foo") == "symbol", t = Object.prototype.toString, a = Array.prototype.concat, n = /* @__PURE__ */ mo(), i = function(g) { + return typeof g == "function" && t.call(g) === "[object Function]"; + }, o = /* @__PURE__ */ So()(), y = function(g, h, v, E) { + if (h in g) { + if (E === !0) { + if (g[h] === v) + return; + } else if (!i(E) || !E()) + return; + } + o ? n(g, h, v, !0) : n(g, h, v); + }, f = function(g, h) { + var v = arguments.length > 2 ? arguments[2] : {}, E = r(h); + e && (E = a.call(E, Object.getOwnPropertySymbols(h))); + for (var $ = 0; $ < E.length; $ += 1) + y(g, E[$], h[E[$]], v[E[$]]); + }; + return f.supportsDescriptors = !!o, et = f, et; +} +var tt = { exports: {} }, nt, Wo; +function he() { + if (Wo) return nt; + Wo = 1; + var r = /* @__PURE__ */ Vr(), e = /* @__PURE__ */ mo(), t = /* @__PURE__ */ So()(), a = /* @__PURE__ */ iy(), n = /* @__PURE__ */ gr(), i = r("%Math.floor%"); + return nt = function(y, f) { + if (typeof y != "function") + throw new n("`fn` is not a function"); + if (typeof f != "number" || f < 0 || f > 4294967295 || i(f) !== f) + throw new n("`length` must be a positive 32-bit integer"); + var g = arguments.length > 2 && !!arguments[2], h = !0, v = !0; + if ("length" in y && a) { + var E = a(y, "length"); + E && !E.configurable && (h = !1), E && !E.writable && (v = !1); + } + return (h || v || !g) && (t ? e( + /** @type {Parameters[0]} */ + y, + "length", + f, + !0, + !0 + ) : e( + /** @type {Parameters[0]} */ + y, + "length", + f + )), y; + }, nt; +} +var ot, Lo; +function xy() { + return Lo || (Lo = 1, ot = function() { + if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") + return !1; + if (typeof Symbol.iterator == "symbol") + return !0; + var e = {}, t = Symbol("test"), a = Object(t); + if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(a) !== "[object Symbol]") + return !1; + var n = 42; + e[t] = n; + for (t in e) + return !1; + if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0) + return !1; + var i = Object.getOwnPropertySymbols(e); + if (i.length !== 1 || i[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t)) + return !1; + if (typeof Object.getOwnPropertyDescriptor == "function") { + var o = Object.getOwnPropertyDescriptor(e, t); + if (o.value !== n || o.enumerable !== !0) + return !1; + } + return !0; + }), ot; +} +var at, Ho; +function jy() { + if (Ho) return at; + Ho = 1; + var r = typeof Symbol < "u" && Symbol, e = xy(); + return at = function() { + return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e(); + }, at; +} +var it, Vo; +function My() { + if (Vo) return it; + Vo = 1; + var r, e = /* @__PURE__ */ Rr(), t = /* @__PURE__ */ jr(), a = /* @__PURE__ */ Mr(), n = /* @__PURE__ */ _r(), i = /* @__PURE__ */ Er(), o = /* @__PURE__ */ gr(), y = /* @__PURE__ */ Dr(), f = Function, g = function(N) { + try { + return f('"use strict"; return (' + N + ").constructor;")(); + } catch { + } + }, h = Object.getOwnPropertyDescriptor; + if (h) + try { + h({}, ""); + } catch { + h = null; + } + var v = function() { + throw new o(); + }, E = h ? function() { + try { + return arguments.callee, v; + } catch { + try { + return h(arguments, "callee").get; + } catch { + return v; + } + } + }() : v, $ = jy()(), j = /* @__PURE__ */ Be()(), I = Object.getPrototypeOf || (j ? function(N) { + return N.__proto__; + } : null), b = {}, U = typeof Uint8Array > "u" || !I ? r : I(Uint8Array), A = { + __proto__: null, + "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError, + "%Array%": Array, + "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer, + "%ArrayIteratorPrototype%": $ && I ? I([][Symbol.iterator]()) : r, + "%AsyncFromSyncIteratorPrototype%": r, + "%AsyncFunction%": b, + "%AsyncGenerator%": b, + "%AsyncGeneratorFunction%": b, + "%AsyncIteratorPrototype%": b, + "%Atomics%": typeof Atomics > "u" ? r : Atomics, + "%BigInt%": typeof BigInt > "u" ? r : BigInt, + "%BigInt64Array%": typeof BigInt64Array > "u" ? r : BigInt64Array, + "%BigUint64Array%": typeof BigUint64Array > "u" ? r : BigUint64Array, + "%Boolean%": Boolean, + "%DataView%": typeof DataView > "u" ? r : DataView, + "%Date%": Date, + "%decodeURI%": decodeURI, + "%decodeURIComponent%": decodeURIComponent, + "%encodeURI%": encodeURI, + "%encodeURIComponent%": encodeURIComponent, + "%Error%": e, + "%eval%": eval, + // eslint-disable-line no-eval + "%EvalError%": t, + "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array, + "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array, + "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry, + "%Function%": f, + "%GeneratorFunction%": b, + "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array, + "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array, + "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array, + "%isFinite%": isFinite, + "%isNaN%": isNaN, + "%IteratorPrototype%": $ && I ? I(I([][Symbol.iterator]())) : r, + "%JSON%": typeof JSON == "object" ? JSON : r, + "%Map%": typeof Map > "u" ? r : Map, + "%MapIteratorPrototype%": typeof Map > "u" || !$ || !I ? r : I((/* @__PURE__ */ new Map())[Symbol.iterator]()), + "%Math%": Math, + "%Number%": Number, + "%Object%": Object, + "%parseFloat%": parseFloat, + "%parseInt%": parseInt, + "%Promise%": typeof Promise > "u" ? r : Promise, + "%Proxy%": typeof Proxy > "u" ? r : Proxy, + "%RangeError%": a, + "%ReferenceError%": n, + "%Reflect%": typeof Reflect > "u" ? r : Reflect, + "%RegExp%": RegExp, + "%Set%": typeof Set > "u" ? r : Set, + "%SetIteratorPrototype%": typeof Set > "u" || !$ || !I ? r : I((/* @__PURE__ */ new Set())[Symbol.iterator]()), + "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer, + "%String%": String, + "%StringIteratorPrototype%": $ && I ? I(""[Symbol.iterator]()) : r, + "%Symbol%": $ ? Symbol : r, + "%SyntaxError%": i, + "%ThrowTypeError%": E, + "%TypedArray%": U, + "%TypeError%": o, + "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array, + "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray, + "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array, + "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array, + "%URIError%": y, + "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap, + "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef, + "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet + }; + if (I) + try { + null.error; + } catch (N) { + var F = I(I(N)); + A["%Error.prototype%"] = F; + } + var z = function N(P) { + var R; + if (P === "%AsyncFunction%") + R = g("async function () {}"); + else if (P === "%GeneratorFunction%") + R = g("function* () {}"); + else if (P === "%AsyncGeneratorFunction%") + R = g("async function* () {}"); + else if (P === "%AsyncGenerator%") { + var q = N("%AsyncGeneratorFunction%"); + q && (R = q.prototype); + } else if (P === "%AsyncIteratorPrototype%") { + var M = N("%AsyncGenerator%"); + M && I && (R = I(M.prototype)); + } + return A[P] = R, R; + }, K = { + __proto__: null, + "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], + "%ArrayPrototype%": ["Array", "prototype"], + "%ArrayProto_entries%": ["Array", "prototype", "entries"], + "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], + "%ArrayProto_keys%": ["Array", "prototype", "keys"], + "%ArrayProto_values%": ["Array", "prototype", "values"], + "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], + "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], + "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], + "%BooleanPrototype%": ["Boolean", "prototype"], + "%DataViewPrototype%": ["DataView", "prototype"], + "%DatePrototype%": ["Date", "prototype"], + "%ErrorPrototype%": ["Error", "prototype"], + "%EvalErrorPrototype%": ["EvalError", "prototype"], + "%Float32ArrayPrototype%": ["Float32Array", "prototype"], + "%Float64ArrayPrototype%": ["Float64Array", "prototype"], + "%FunctionPrototype%": ["Function", "prototype"], + "%Generator%": ["GeneratorFunction", "prototype"], + "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], + "%Int8ArrayPrototype%": ["Int8Array", "prototype"], + "%Int16ArrayPrototype%": ["Int16Array", "prototype"], + "%Int32ArrayPrototype%": ["Int32Array", "prototype"], + "%JSONParse%": ["JSON", "parse"], + "%JSONStringify%": ["JSON", "stringify"], + "%MapPrototype%": ["Map", "prototype"], + "%NumberPrototype%": ["Number", "prototype"], + "%ObjectPrototype%": ["Object", "prototype"], + "%ObjProto_toString%": ["Object", "prototype", "toString"], + "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], + "%PromisePrototype%": ["Promise", "prototype"], + "%PromiseProto_then%": ["Promise", "prototype", "then"], + "%Promise_all%": ["Promise", "all"], + "%Promise_reject%": ["Promise", "reject"], + "%Promise_resolve%": ["Promise", "resolve"], + "%RangeErrorPrototype%": ["RangeError", "prototype"], + "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], + "%RegExpPrototype%": ["RegExp", "prototype"], + "%SetPrototype%": ["Set", "prototype"], + "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], + "%StringPrototype%": ["String", "prototype"], + "%SymbolPrototype%": ["Symbol", "prototype"], + "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], + "%TypedArrayPrototype%": ["TypedArray", "prototype"], + "%TypeErrorPrototype%": ["TypeError", "prototype"], + "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], + "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], + "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], + "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], + "%URIErrorPrototype%": ["URIError", "prototype"], + "%WeakMapPrototype%": ["WeakMap", "prototype"], + "%WeakSetPrototype%": ["WeakSet", "prototype"] + }, D = Or(), O = /* @__PURE__ */ Fr(), Q = D.call(Function.call, Array.prototype.concat), Y = D.call(Function.apply, Array.prototype.splice), er = D.call(Function.call, String.prototype.replace), G = D.call(Function.call, String.prototype.slice), H = D.call(Function.call, RegExp.prototype.exec), or = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, V = /\\(\\)?/g, nr = function(P) { + var R = G(P, 0, 1), q = G(P, -1); + if (R === "%" && q !== "%") + throw new i("invalid intrinsic syntax, expected closing `%`"); + if (q === "%" && R !== "%") + throw new i("invalid intrinsic syntax, expected opening `%`"); + var M = []; + return er(P, or, function(J, X, u, x) { + M[M.length] = u ? er(x, V, "$1") : X || J; + }), M; + }, dr = function(P, R) { + var q = P, M; + if (O(K, q) && (M = K[q], q = "%" + M[0] + "%"), O(A, q)) { + var J = A[q]; + if (J === b && (J = z(q)), typeof J > "u" && !R) + throw new o("intrinsic " + P + " exists, but is not available. Please file an issue!"); + return { + alias: M, + name: q, + value: J + }; + } + throw new i("intrinsic " + P + " does not exist!"); + }; + return it = function(P, R) { + if (typeof P != "string" || P.length === 0) + throw new o("intrinsic name must be a non-empty string"); + if (arguments.length > 1 && typeof R != "boolean") + throw new o('"allowMissing" argument must be a boolean'); + if (H(/^%?[^%]*%?$/, P) === null) + throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); + var q = nr(P), M = q.length > 0 ? q[0] : "", J = dr("%" + M + "%", R), X = J.name, u = J.value, x = !1, L = J.alias; + L && (M = L[0], Y(q, Q([0, 1], L))); + for (var k = 1, C = !0; k < q.length; k += 1) { + var w = q[k], s = G(w, 0, 1), S = G(w, -1); + if ((s === '"' || s === "'" || s === "`" || S === '"' || S === "'" || S === "`") && s !== S) + throw new i("property names with quotes must have matching quotes"); + if ((w === "constructor" || !C) && (x = !0), M += "." + w, X = "%" + M + "%", O(A, X)) + u = A[X]; + else if (u != null) { + if (!(w in u)) { + if (!R) + throw new o("base intrinsic for " + P + " exists, but the property is not available."); + return; + } + if (h && k + 1 >= q.length) { + var l = h(u, w); + C = !!l, C && "get" in l && !("originalValue" in l.get) ? u = l.get : u = u[w]; + } else + C = O(u, w), u = u[w]; + C && !x && (A[X] = u); + } + } + return u; + }, it; +} +var yt, Jo; +function _y() { + if (Jo) return yt; + Jo = 1; + var r = /* @__PURE__ */ My(), e = r("%Object.defineProperty%", !0) || !1; + if (e) + try { + e({}, "a", { value: 1 }); + } catch { + e = !1; + } + return yt = e, yt; +} +var ft, zo; +function zr() { + return zo || (zo = 1, ft = Function.prototype.call), ft; +} +var pt, Ko; +function Kr() { + return Ko || (Ko = 1, pt = Function.prototype.apply), pt; +} +var ut, Yo; +function Dy() { + return Yo || (Yo = 1, ut = typeof Reflect < "u" && Reflect && Reflect.apply), ut; +} +var st, Xo; +function yy() { + if (Xo) return st; + Xo = 1; + var r = Or(), e = Kr(), t = zr(), a = Dy(); + return st = a || r.call(t, e), st; +} +var lt, Qo; +function ye() { + if (Qo) return lt; + Qo = 1; + var r = Or(), e = /* @__PURE__ */ gr(), t = zr(), a = yy(); + return lt = function(i) { + if (i.length < 1 || typeof i[0] != "function") + throw new e("a function is required"); + return a(r, t, i); + }, lt; +} +var ct, Zo; +function qe() { + if (Zo) return ct; + Zo = 1; + var r = Or(), e = Kr(), t = yy(); + return ct = function() { + return t(r, e, arguments); + }, ct; +} +var ra; +function Ny() { + return ra || (ra = 1, function(r) { + var e = /* @__PURE__ */ he(), t = /* @__PURE__ */ _y(), a = ye(), n = qe(); + r.exports = function(o) { + var y = a(arguments), f = o.length - (arguments.length - 1); + return e( + y, + 1 + (f > 0 ? f : 0), + !0 + ); + }, t ? t(r.exports, "apply", { value: n }) : r.exports.apply = n; + }(tt)), tt.exports; +} +var vt, ea; +function fy() { + return ea || (ea = 1, vt = function() { + if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") + return !1; + if (typeof Symbol.iterator == "symbol") + return !0; + var e = {}, t = Symbol("test"), a = Object(t); + if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(a) !== "[object Symbol]") + return !1; + var n = 42; + e[t] = n; + for (var i in e) + return !1; + if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0) + return !1; + var o = Object.getOwnPropertySymbols(e); + if (o.length !== 1 || o[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t)) + return !1; + if (typeof Object.getOwnPropertyDescriptor == "function") { + var y = ( + /** @type {PropertyDescriptor} */ + Object.getOwnPropertyDescriptor(e, t) + ); + if (y.value !== n || y.enumerable !== !0) + return !1; + } + return !0; + }), vt; +} +var dt, ta; +function Yr() { + return ta || (ta = 1, dt = Object), dt; +} +var gt, na; +function me() { + return na || (na = 1, gt = Math.abs), gt; +} +var ht, oa; +function Se() { + return oa || (oa = 1, ht = Math.floor), ht; +} +var mt, aa; +function Ae() { + return aa || (aa = 1, mt = Math.max), mt; +} +var St, ia; +function be() { + return ia || (ia = 1, St = Math.min), St; +} +var At, ya; +function Pe() { + return ya || (ya = 1, At = Math.pow), At; +} +var bt, fa; +function Oe() { + return fa || (fa = 1, bt = Math.round), bt; +} +var Pt, pa; +function Ty() { + return pa || (pa = 1, Pt = Number.isNaN || function(e) { + return e !== e; + }), Pt; +} +var Ot, ua; +function Ie() { + if (ua) return Ot; + ua = 1; + var r = /* @__PURE__ */ Ty(); + return Ot = function(t) { + return r(t) || t === 0 ? t : t < 0 ? -1 : 1; + }, Ot; +} +var It, sa; +function ky() { + return sa || (sa = 1, It = Object.getOwnPropertyDescriptor), It; +} +var Et, la; +function Cy() { + if (la) return Et; + la = 1; + var r = /* @__PURE__ */ ky(); + if (r) + try { + r([], "length"); + } catch { + r = null; + } + return Et = r, Et; +} +var wt, ca; +function Gy() { + if (ca) return wt; + ca = 1; + var r = Object.defineProperty || !1; + if (r) + try { + r({}, "a", { value: 1 }); + } catch { + r = !1; + } + return wt = r, wt; +} +var $t, va; +function Wy() { + return va || (va = 1, $t = function() { + if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") + return !1; + if (typeof Symbol.iterator == "symbol") + return !0; + var e = {}, t = Symbol("test"), a = Object(t); + if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(a) !== "[object Symbol]") + return !1; + var n = 42; + e[t] = n; + for (var i in e) + return !1; + if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0) + return !1; + var o = Object.getOwnPropertySymbols(e); + if (o.length !== 1 || o[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t)) + return !1; + if (typeof Object.getOwnPropertyDescriptor == "function") { + var y = ( + /** @type {PropertyDescriptor} */ + Object.getOwnPropertyDescriptor(e, t) + ); + if (y.value !== n || y.enumerable !== !0) + return !1; + } + return !0; + }), $t; +} +var Rt, da; +function Ly() { + if (da) return Rt; + da = 1; + var r = typeof Symbol < "u" && Symbol, e = Wy(); + return Rt = function() { + return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e(); + }, Rt; +} +var Ft, ga; +function fe() { + return ga || (ga = 1, Ft = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Ft; +} +var Bt, ha; +function pe() { + if (ha) return Bt; + ha = 1; + var r = /* @__PURE__ */ Yr(); + return Bt = r.getPrototypeOf || null, Bt; +} +var Ut, ma; +function Hy() { + return ma || (ma = 1, Ut = Object.getOwnPropertyDescriptor), Ut; +} +var qt, Sa; +function Vy() { + if (Sa) return qt; + Sa = 1; + var r = /* @__PURE__ */ Hy(); + if (r) + try { + r([], "length"); + } catch { + r = null; + } + return qt = r, qt; +} +var xt, Aa; +function Jy() { + if (Aa) return xt; + Aa = 1; + var r = ye(), e = /* @__PURE__ */ Vy(), t; + try { + t = /** @type {{ __proto__?: typeof Array.prototype }} */ + [].__proto__ === Array.prototype; + } catch (o) { + if (!o || typeof o != "object" || !("code" in o) || o.code !== "ERR_PROTO_ACCESS") + throw o; + } + var a = !!t && e && e( + Object.prototype, + /** @type {keyof typeof Object.prototype} */ + "__proto__" + ), n = Object, i = n.getPrototypeOf; + return xt = a && typeof a.get == "function" ? r([a.get]) : typeof i == "function" ? ( + /** @type {import('./get')} */ + function(y) { + return i(y == null ? y : n(y)); + } + ) : !1, xt; +} +var jt, ba; +function ue() { + if (ba) return jt; + ba = 1; + var r = fe(), e = pe(), t = /* @__PURE__ */ Jy(); + return jt = r ? function(n) { + return r(n); + } : e ? function(n) { + if (!n || typeof n != "object" && typeof n != "function") + throw new TypeError("getProto: not an object"); + return e(n); + } : t ? function(n) { + return t(n); + } : null, jt; +} +var Mt, Pa; +function zy() { + if (Pa) return Mt; + Pa = 1; + var r, e = /* @__PURE__ */ Yr(), t = /* @__PURE__ */ Rr(), a = /* @__PURE__ */ jr(), n = /* @__PURE__ */ Mr(), i = /* @__PURE__ */ _r(), o = /* @__PURE__ */ Er(), y = /* @__PURE__ */ gr(), f = /* @__PURE__ */ Dr(), g = /* @__PURE__ */ me(), h = /* @__PURE__ */ Se(), v = /* @__PURE__ */ Ae(), E = /* @__PURE__ */ be(), $ = /* @__PURE__ */ Pe(), j = /* @__PURE__ */ Oe(), I = /* @__PURE__ */ Ie(), b = Function, U = function(w) { + try { + return b('"use strict"; return (' + w + ").constructor;")(); + } catch { + } + }, A = /* @__PURE__ */ Cy(), F = /* @__PURE__ */ Gy(), z = function() { + throw new y(); + }, K = A ? function() { + try { + return arguments.callee, z; + } catch { + try { + return A(arguments, "callee").get; + } catch { + return z; + } + } + }() : z, D = Ly()(), O = ue(), Q = pe(), Y = fe(), er = Kr(), G = zr(), H = {}, or = typeof Uint8Array > "u" || !O ? r : O(Uint8Array), V = { + __proto__: null, + "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError, + "%Array%": Array, + "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer, + "%ArrayIteratorPrototype%": D && O ? O([][Symbol.iterator]()) : r, + "%AsyncFromSyncIteratorPrototype%": r, + "%AsyncFunction%": H, + "%AsyncGenerator%": H, + "%AsyncGeneratorFunction%": H, + "%AsyncIteratorPrototype%": H, + "%Atomics%": typeof Atomics > "u" ? r : Atomics, + "%BigInt%": typeof BigInt > "u" ? r : BigInt, + "%BigInt64Array%": typeof BigInt64Array > "u" ? r : BigInt64Array, + "%BigUint64Array%": typeof BigUint64Array > "u" ? r : BigUint64Array, + "%Boolean%": Boolean, + "%DataView%": typeof DataView > "u" ? r : DataView, + "%Date%": Date, + "%decodeURI%": decodeURI, + "%decodeURIComponent%": decodeURIComponent, + "%encodeURI%": encodeURI, + "%encodeURIComponent%": encodeURIComponent, + "%Error%": t, + "%eval%": eval, + // eslint-disable-line no-eval + "%EvalError%": a, + "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array, + "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array, + "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry, + "%Function%": b, + "%GeneratorFunction%": H, + "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array, + "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array, + "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array, + "%isFinite%": isFinite, + "%isNaN%": isNaN, + "%IteratorPrototype%": D && O ? O(O([][Symbol.iterator]())) : r, + "%JSON%": typeof JSON == "object" ? JSON : r, + "%Map%": typeof Map > "u" ? r : Map, + "%MapIteratorPrototype%": typeof Map > "u" || !D || !O ? r : O((/* @__PURE__ */ new Map())[Symbol.iterator]()), + "%Math%": Math, + "%Number%": Number, + "%Object%": e, + "%Object.getOwnPropertyDescriptor%": A, + "%parseFloat%": parseFloat, + "%parseInt%": parseInt, + "%Promise%": typeof Promise > "u" ? r : Promise, + "%Proxy%": typeof Proxy > "u" ? r : Proxy, + "%RangeError%": n, + "%ReferenceError%": i, + "%Reflect%": typeof Reflect > "u" ? r : Reflect, + "%RegExp%": RegExp, + "%Set%": typeof Set > "u" ? r : Set, + "%SetIteratorPrototype%": typeof Set > "u" || !D || !O ? r : O((/* @__PURE__ */ new Set())[Symbol.iterator]()), + "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer, + "%String%": String, + "%StringIteratorPrototype%": D && O ? O(""[Symbol.iterator]()) : r, + "%Symbol%": D ? Symbol : r, + "%SyntaxError%": o, + "%ThrowTypeError%": K, + "%TypedArray%": or, + "%TypeError%": y, + "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array, + "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray, + "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array, + "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array, + "%URIError%": f, + "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap, + "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef, + "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet, + "%Function.prototype.call%": G, + "%Function.prototype.apply%": er, + "%Object.defineProperty%": F, + "%Object.getPrototypeOf%": Q, + "%Math.abs%": g, + "%Math.floor%": h, + "%Math.max%": v, + "%Math.min%": E, + "%Math.pow%": $, + "%Math.round%": j, + "%Math.sign%": I, + "%Reflect.getPrototypeOf%": Y + }; + if (O) + try { + null.error; + } catch (w) { + var nr = O(O(w)); + V["%Error.prototype%"] = nr; + } + var dr = function w(s) { + var S; + if (s === "%AsyncFunction%") + S = U("async function () {}"); + else if (s === "%GeneratorFunction%") + S = U("function* () {}"); + else if (s === "%AsyncGeneratorFunction%") + S = U("async function* () {}"); + else if (s === "%AsyncGenerator%") { + var l = w("%AsyncGeneratorFunction%"); + l && (S = l.prototype); + } else if (s === "%AsyncIteratorPrototype%") { + var B = w("%AsyncGenerator%"); + B && O && (S = O(B.prototype)); + } + return V[s] = S, S; + }, N = { + __proto__: null, + "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], + "%ArrayPrototype%": ["Array", "prototype"], + "%ArrayProto_entries%": ["Array", "prototype", "entries"], + "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], + "%ArrayProto_keys%": ["Array", "prototype", "keys"], + "%ArrayProto_values%": ["Array", "prototype", "values"], + "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], + "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], + "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], + "%BooleanPrototype%": ["Boolean", "prototype"], + "%DataViewPrototype%": ["DataView", "prototype"], + "%DatePrototype%": ["Date", "prototype"], + "%ErrorPrototype%": ["Error", "prototype"], + "%EvalErrorPrototype%": ["EvalError", "prototype"], + "%Float32ArrayPrototype%": ["Float32Array", "prototype"], + "%Float64ArrayPrototype%": ["Float64Array", "prototype"], + "%FunctionPrototype%": ["Function", "prototype"], + "%Generator%": ["GeneratorFunction", "prototype"], + "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], + "%Int8ArrayPrototype%": ["Int8Array", "prototype"], + "%Int16ArrayPrototype%": ["Int16Array", "prototype"], + "%Int32ArrayPrototype%": ["Int32Array", "prototype"], + "%JSONParse%": ["JSON", "parse"], + "%JSONStringify%": ["JSON", "stringify"], + "%MapPrototype%": ["Map", "prototype"], + "%NumberPrototype%": ["Number", "prototype"], + "%ObjectPrototype%": ["Object", "prototype"], + "%ObjProto_toString%": ["Object", "prototype", "toString"], + "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], + "%PromisePrototype%": ["Promise", "prototype"], + "%PromiseProto_then%": ["Promise", "prototype", "then"], + "%Promise_all%": ["Promise", "all"], + "%Promise_reject%": ["Promise", "reject"], + "%Promise_resolve%": ["Promise", "resolve"], + "%RangeErrorPrototype%": ["RangeError", "prototype"], + "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], + "%RegExpPrototype%": ["RegExp", "prototype"], + "%SetPrototype%": ["Set", "prototype"], + "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], + "%StringPrototype%": ["String", "prototype"], + "%SymbolPrototype%": ["Symbol", "prototype"], + "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], + "%TypedArrayPrototype%": ["TypedArray", "prototype"], + "%TypeErrorPrototype%": ["TypeError", "prototype"], + "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], + "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], + "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], + "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], + "%URIErrorPrototype%": ["URIError", "prototype"], + "%WeakMapPrototype%": ["WeakMap", "prototype"], + "%WeakSetPrototype%": ["WeakSet", "prototype"] + }, P = Or(), R = /* @__PURE__ */ Fr(), q = P.call(G, Array.prototype.concat), M = P.call(er, Array.prototype.splice), J = P.call(G, String.prototype.replace), X = P.call(G, String.prototype.slice), u = P.call(G, RegExp.prototype.exec), x = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, L = /\\(\\)?/g, k = function(s) { + var S = X(s, 0, 1), l = X(s, -1); + if (S === "%" && l !== "%") + throw new o("invalid intrinsic syntax, expected closing `%`"); + if (l === "%" && S !== "%") + throw new o("invalid intrinsic syntax, expected opening `%`"); + var B = []; + return J(s, x, function(T, Z, _, ar) { + B[B.length] = _ ? J(ar, L, "$1") : Z || T; + }), B; + }, C = function(s, S) { + var l = s, B; + if (R(N, l) && (B = N[l], l = "%" + B[0] + "%"), R(V, l)) { + var T = V[l]; + if (T === H && (T = dr(l)), typeof T > "u" && !S) + throw new y("intrinsic " + s + " exists, but is not available. Please file an issue!"); + return { + alias: B, + name: l, + value: T + }; + } + throw new o("intrinsic " + s + " does not exist!"); + }; + return Mt = function(s, S) { + if (typeof s != "string" || s.length === 0) + throw new y("intrinsic name must be a non-empty string"); + if (arguments.length > 1 && typeof S != "boolean") + throw new y('"allowMissing" argument must be a boolean'); + if (u(/^%?[^%]*%?$/, s) === null) + throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); + var l = k(s), B = l.length > 0 ? l[0] : "", T = C("%" + B + "%", S), Z = T.name, _ = T.value, ar = !1, pr = T.alias; + pr && (B = pr[0], M(l, q([0, 1], pr))); + for (var lr = 1, ir = !0; lr < l.length; lr += 1) { + var rr = l[lr], cr = X(rr, 0, 1), vr = X(rr, -1); + if ((cr === '"' || cr === "'" || cr === "`" || vr === '"' || vr === "'" || vr === "`") && cr !== vr) + throw new o("property names with quotes must have matching quotes"); + if ((rr === "constructor" || !ir) && (ar = !0), B += "." + rr, Z = "%" + B + "%", R(V, Z)) + _ = V[Z]; + else if (_ != null) { + if (!(rr in _)) { + if (!S) + throw new y("base intrinsic for " + s + " exists, but the property is not available."); + return; + } + if (A && lr + 1 >= l.length) { + var sr = A(_, rr); + ir = !!sr, ir && "get" in sr && !("originalValue" in sr.get) ? _ = sr.get : _ = _[rr]; + } else + ir = R(_, rr), _ = _[rr]; + ir && !ar && (V[Z] = _); + } + } + return _; + }, Mt; +} +var _t, Oa; +function Nr() { + if (Oa) return _t; + Oa = 1; + var r = /* @__PURE__ */ zy(), e = ye(), t = e([r("%String.prototype.indexOf%")]); + return _t = function(n, i) { + var o = ( + /** @type {Parameters[0][0]} */ + r(n, !!i) + ); + return typeof o == "function" && t(n, ".prototype.") > -1 ? e([o]) : o; + }, _t; +} +var Dt, Ia; +function py() { + if (Ia) return Dt; + Ia = 1; + var r = vo(), e = fy()(), t = /* @__PURE__ */ Nr(), a = /* @__PURE__ */ Yr(), n = t("Array.prototype.push"), i = t("Object.prototype.propertyIsEnumerable"), o = e ? a.getOwnPropertySymbols : null; + return Dt = function(f, g) { + if (f == null) + throw new TypeError("target must be an object"); + var h = a(f); + if (arguments.length === 1) + return h; + for (var v = 1; v < arguments.length; ++v) { + var E = a(arguments[v]), $ = r(E), j = e && (a.getOwnPropertySymbols || o); + if (j) + for (var I = j(E), b = 0; b < I.length; ++b) { + var U = I[b]; + i(E, U) && n($, U); + } + for (var A = 0; A < $.length; ++A) { + var F = $[A]; + if (i(E, F)) { + var z = E[F]; + h[F] = z; + } + } + } + return h; + }, Dt; +} +var Nt, Ea; +function uy() { + if (Ea) return Nt; + Ea = 1; + var r = py(), e = function() { + if (!Object.assign) + return !1; + for (var a = "abcdefghijklmnopqrst", n = a.split(""), i = {}, o = 0; o < n.length; ++o) + i[n[o]] = n[o]; + var y = Object.assign({}, i), f = ""; + for (var g in y) + f += g; + return a !== f; + }, t = function() { + if (!Object.assign || !Object.preventExtensions) + return !1; + var a = Object.preventExtensions({ 1: 2 }); + try { + Object.assign(a, "xy"); + } catch { + return a[1] === "y"; + } + return !1; + }; + return Nt = function() { + return !Object.assign || e() || t() ? r : Object.assign; + }, Nt; +} +var Tt, wa; +function Ky() { + if (wa) return Tt; + wa = 1; + var r = Jr(), e = uy(); + return Tt = function() { + var a = e(); + return r( + Object, + { assign: a }, + { assign: function() { + return Object.assign !== a; + } } + ), a; + }, Tt; +} +var kt, $a; +function Yy() { + if ($a) return kt; + $a = 1; + var r = Jr(), e = Ny(), t = py(), a = uy(), n = Ky(), i = e.apply(a()), o = function(f, g) { + return i(Object, arguments); + }; + return r(o, { + getPolyfill: a, + implementation: t, + shim: n + }), kt = o, kt; +} +var Ct = { exports: {} }, Ra; +function sy() { + return Ra || (Ra = 1, function(r) { + var e = Or(), t = /* @__PURE__ */ Vr(), a = /* @__PURE__ */ he(), n = /* @__PURE__ */ gr(), i = t("%Function.prototype.apply%"), o = t("%Function.prototype.call%"), y = t("%Reflect.apply%", !0) || e.call(o, i), f = /* @__PURE__ */ Ue(), g = t("%Math.max%"); + r.exports = function(E) { + if (typeof E != "function") + throw new n("a function is required"); + var $ = y(e, o, arguments); + return a( + $, + 1 + g(0, E.length - (arguments.length - 1)), + !0 + ); + }; + var h = function() { + return y(e, i, arguments); + }; + f ? f(r.exports, "apply", { value: h }) : r.exports.apply = h; + }(Ct)), Ct.exports; +} +var Gt, Fa; +function se() { + if (Fa) return Gt; + Fa = 1; + var r = /* @__PURE__ */ Vr(), e = sy(), t = e(r("String.prototype.indexOf")); + return Gt = function(n, i) { + var o = r(n, !!i); + return typeof o == "function" && t(n, ".prototype.") > -1 ? e(o) : o; + }, Gt; +} +var Wt = { exports: {} }, Ba; +function Xy() { + return Ba || (Ba = 1, function(r) { + var e = /* @__PURE__ */ he(), t = /* @__PURE__ */ Ue(), a = ye(), n = qe(); + r.exports = function(o) { + var y = a(arguments), f = o.length - (arguments.length - 1); + return e( + y, + 1 + (f > 0 ? f : 0), + !0 + ); + }, t ? t(r.exports, "apply", { value: n }) : r.exports.apply = n; + }(Wt)), Wt.exports; +} +var Lt, Ua; +function Qy() { + if (Ua) return Lt; + Ua = 1; + var r = function() { + return typeof (function() { + }).name == "string"; + }, e = Object.getOwnPropertyDescriptor; + if (e) + try { + e([], "length"); + } catch { + e = null; + } + r.functionsHaveConfigurableNames = function() { + if (!r() || !e) + return !1; + var n = e(function() { + }, "name"); + return !!n && !!n.configurable; + }; + var t = Function.prototype.bind; + return r.boundFunctionsHaveNames = function() { + return r() && typeof t == "function" && (function() { + }).bind().name !== ""; + }, Lt = r, Lt; +} +var Ht, qa; +function Zy() { + if (qa) return Ht; + qa = 1; + var r = /* @__PURE__ */ mo(), e = /* @__PURE__ */ So()(), t = Qy().functionsHaveConfigurableNames(), a = /* @__PURE__ */ gr(); + return Ht = function(i, o) { + if (typeof i != "function") + throw new a("`fn` is not a function"); + var y = arguments.length > 2 && !!arguments[2]; + return (!y || t) && (e ? r( + /** @type {Parameters[0]} */ + i, + "name", + o, + !0, + !0 + ) : r( + /** @type {Parameters[0]} */ + i, + "name", + o + )), i; + }, Ht; +} +var Vt, xa; +function ly() { + if (xa) return Vt; + xa = 1; + var r = Zy(), e = /* @__PURE__ */ gr(), t = Object; + return Vt = r(function() { + if (this == null || this !== t(this)) + throw new e("RegExp.prototype.flags getter called on non-object"); + var n = ""; + return this.hasIndices && (n += "d"), this.global && (n += "g"), this.ignoreCase && (n += "i"), this.multiline && (n += "m"), this.dotAll && (n += "s"), this.unicode && (n += "u"), this.unicodeSets && (n += "v"), this.sticky && (n += "y"), n; + }, "get flags", !0), Vt; +} +var Jt, ja; +function cy() { + if (ja) return Jt; + ja = 1; + var r = ly(), e = Jr().supportsDescriptors, t = Object.getOwnPropertyDescriptor; + return Jt = function() { + if (e && /a/mig.flags === "gim") { + var n = t(RegExp.prototype, "flags"); + if (n && typeof n.get == "function" && "dotAll" in RegExp.prototype && "hasIndices" in RegExp.prototype) { + var i = "", o = {}; + if (Object.defineProperty(o, "hasIndices", { + get: function() { + i += "d"; + } + }), Object.defineProperty(o, "sticky", { + get: function() { + i += "y"; + } + }), n.get.call(o), i === "dy") + return n.get; + } + } + return r; + }, Jt; +} +var zt, Ma; +function rf() { + return Ma || (Ma = 1, zt = Object.getOwnPropertyDescriptor), zt; +} +var Kt, _a; +function ef() { + if (_a) return Kt; + _a = 1; + var r = /* @__PURE__ */ rf(); + if (r) + try { + r([], "length"); + } catch { + r = null; + } + return Kt = r, Kt; +} +var Yt, Da; +function tf() { + if (Da) return Yt; + Da = 1; + var r = Jr().supportsDescriptors, e = cy(), t = /* @__PURE__ */ ef(), a = Object.defineProperty, n = /* @__PURE__ */ Rr(), i = ue(), o = /a/; + return Yt = function() { + if (!r || !i) + throw new n("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors"); + var f = e(), g = i(o), h = t(g, "flags"); + return (!h || h.get !== f) && a(g, "flags", { + configurable: !0, + enumerable: !1, + get: f + }), f; + }, Yt; +} +var Xt, Na; +function nf() { + if (Na) return Xt; + Na = 1; + var r = Jr(), e = Xy(), t = ly(), a = cy(), n = tf(), i = e(a()); + return r(i, { + getPolyfill: a, + implementation: t, + shim: n + }), Xt = i, Xt; +} +var Qt, Ta; +function of() { + return Ta || (Ta = 1, Qt = Object.getOwnPropertyDescriptor), Qt; +} +var Zt, ka; +function vy() { + if (ka) return Zt; + ka = 1; + var r = /* @__PURE__ */ of(); + if (r) + try { + r([], "length"); + } catch { + r = null; + } + return Zt = r, Zt; +} +var rn, Ca; +function af() { + if (Ca) return rn; + Ca = 1; + var r = Object.defineProperty || !1; + if (r) + try { + r({}, "a", { value: 1 }); + } catch { + r = !1; + } + return rn = r, rn; +} +var en, Ga; +function yf() { + if (Ga) return en; + Ga = 1; + var r = typeof Symbol < "u" && Symbol, e = fy(); + return en = function() { + return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e(); + }, en; +} +var tn, Wa; +function dy() { + if (Wa) return tn; + Wa = 1; + var r, e = /* @__PURE__ */ Yr(), t = /* @__PURE__ */ Rr(), a = /* @__PURE__ */ jr(), n = /* @__PURE__ */ Mr(), i = /* @__PURE__ */ _r(), o = /* @__PURE__ */ Er(), y = /* @__PURE__ */ gr(), f = /* @__PURE__ */ Dr(), g = /* @__PURE__ */ me(), h = /* @__PURE__ */ Se(), v = /* @__PURE__ */ Ae(), E = /* @__PURE__ */ be(), $ = /* @__PURE__ */ Pe(), j = /* @__PURE__ */ Oe(), I = /* @__PURE__ */ Ie(), b = Function, U = function(w) { + try { + return b('"use strict"; return (' + w + ").constructor;")(); + } catch { + } + }, A = /* @__PURE__ */ vy(), F = /* @__PURE__ */ af(), z = function() { + throw new y(); + }, K = A ? function() { + try { + return arguments.callee, z; + } catch { + try { + return A(arguments, "callee").get; + } catch { + return z; + } + } + }() : z, D = yf()(), O = ue(), Q = pe(), Y = fe(), er = Kr(), G = zr(), H = {}, or = typeof Uint8Array > "u" || !O ? r : O(Uint8Array), V = { + __proto__: null, + "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError, + "%Array%": Array, + "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer, + "%ArrayIteratorPrototype%": D && O ? O([][Symbol.iterator]()) : r, + "%AsyncFromSyncIteratorPrototype%": r, + "%AsyncFunction%": H, + "%AsyncGenerator%": H, + "%AsyncGeneratorFunction%": H, + "%AsyncIteratorPrototype%": H, + "%Atomics%": typeof Atomics > "u" ? r : Atomics, + "%BigInt%": typeof BigInt > "u" ? r : BigInt, + "%BigInt64Array%": typeof BigInt64Array > "u" ? r : BigInt64Array, + "%BigUint64Array%": typeof BigUint64Array > "u" ? r : BigUint64Array, + "%Boolean%": Boolean, + "%DataView%": typeof DataView > "u" ? r : DataView, + "%Date%": Date, + "%decodeURI%": decodeURI, + "%decodeURIComponent%": decodeURIComponent, + "%encodeURI%": encodeURI, + "%encodeURIComponent%": encodeURIComponent, + "%Error%": t, + "%eval%": eval, + // eslint-disable-line no-eval + "%EvalError%": a, + "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array, + "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array, + "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry, + "%Function%": b, + "%GeneratorFunction%": H, + "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array, + "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array, + "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array, + "%isFinite%": isFinite, + "%isNaN%": isNaN, + "%IteratorPrototype%": D && O ? O(O([][Symbol.iterator]())) : r, + "%JSON%": typeof JSON == "object" ? JSON : r, + "%Map%": typeof Map > "u" ? r : Map, + "%MapIteratorPrototype%": typeof Map > "u" || !D || !O ? r : O((/* @__PURE__ */ new Map())[Symbol.iterator]()), + "%Math%": Math, + "%Number%": Number, + "%Object%": e, + "%Object.getOwnPropertyDescriptor%": A, + "%parseFloat%": parseFloat, + "%parseInt%": parseInt, + "%Promise%": typeof Promise > "u" ? r : Promise, + "%Proxy%": typeof Proxy > "u" ? r : Proxy, + "%RangeError%": n, + "%ReferenceError%": i, + "%Reflect%": typeof Reflect > "u" ? r : Reflect, + "%RegExp%": RegExp, + "%Set%": typeof Set > "u" ? r : Set, + "%SetIteratorPrototype%": typeof Set > "u" || !D || !O ? r : O((/* @__PURE__ */ new Set())[Symbol.iterator]()), + "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer, + "%String%": String, + "%StringIteratorPrototype%": D && O ? O(""[Symbol.iterator]()) : r, + "%Symbol%": D ? Symbol : r, + "%SyntaxError%": o, + "%ThrowTypeError%": K, + "%TypedArray%": or, + "%TypeError%": y, + "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array, + "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray, + "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array, + "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array, + "%URIError%": f, + "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap, + "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef, + "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet, + "%Function.prototype.call%": G, + "%Function.prototype.apply%": er, + "%Object.defineProperty%": F, + "%Object.getPrototypeOf%": Q, + "%Math.abs%": g, + "%Math.floor%": h, + "%Math.max%": v, + "%Math.min%": E, + "%Math.pow%": $, + "%Math.round%": j, + "%Math.sign%": I, + "%Reflect.getPrototypeOf%": Y + }; + if (O) + try { + null.error; + } catch (w) { + var nr = O(O(w)); + V["%Error.prototype%"] = nr; + } + var dr = function w(s) { + var S; + if (s === "%AsyncFunction%") + S = U("async function () {}"); + else if (s === "%GeneratorFunction%") + S = U("function* () {}"); + else if (s === "%AsyncGeneratorFunction%") + S = U("async function* () {}"); + else if (s === "%AsyncGenerator%") { + var l = w("%AsyncGeneratorFunction%"); + l && (S = l.prototype); + } else if (s === "%AsyncIteratorPrototype%") { + var B = w("%AsyncGenerator%"); + B && O && (S = O(B.prototype)); + } + return V[s] = S, S; + }, N = { + __proto__: null, + "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], + "%ArrayPrototype%": ["Array", "prototype"], + "%ArrayProto_entries%": ["Array", "prototype", "entries"], + "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], + "%ArrayProto_keys%": ["Array", "prototype", "keys"], + "%ArrayProto_values%": ["Array", "prototype", "values"], + "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], + "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], + "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], + "%BooleanPrototype%": ["Boolean", "prototype"], + "%DataViewPrototype%": ["DataView", "prototype"], + "%DatePrototype%": ["Date", "prototype"], + "%ErrorPrototype%": ["Error", "prototype"], + "%EvalErrorPrototype%": ["EvalError", "prototype"], + "%Float32ArrayPrototype%": ["Float32Array", "prototype"], + "%Float64ArrayPrototype%": ["Float64Array", "prototype"], + "%FunctionPrototype%": ["Function", "prototype"], + "%Generator%": ["GeneratorFunction", "prototype"], + "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], + "%Int8ArrayPrototype%": ["Int8Array", "prototype"], + "%Int16ArrayPrototype%": ["Int16Array", "prototype"], + "%Int32ArrayPrototype%": ["Int32Array", "prototype"], + "%JSONParse%": ["JSON", "parse"], + "%JSONStringify%": ["JSON", "stringify"], + "%MapPrototype%": ["Map", "prototype"], + "%NumberPrototype%": ["Number", "prototype"], + "%ObjectPrototype%": ["Object", "prototype"], + "%ObjProto_toString%": ["Object", "prototype", "toString"], + "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], + "%PromisePrototype%": ["Promise", "prototype"], + "%PromiseProto_then%": ["Promise", "prototype", "then"], + "%Promise_all%": ["Promise", "all"], + "%Promise_reject%": ["Promise", "reject"], + "%Promise_resolve%": ["Promise", "resolve"], + "%RangeErrorPrototype%": ["RangeError", "prototype"], + "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], + "%RegExpPrototype%": ["RegExp", "prototype"], + "%SetPrototype%": ["Set", "prototype"], + "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], + "%StringPrototype%": ["String", "prototype"], + "%SymbolPrototype%": ["Symbol", "prototype"], + "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], + "%TypedArrayPrototype%": ["TypedArray", "prototype"], + "%TypeErrorPrototype%": ["TypeError", "prototype"], + "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], + "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], + "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], + "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], + "%URIErrorPrototype%": ["URIError", "prototype"], + "%WeakMapPrototype%": ["WeakMap", "prototype"], + "%WeakSetPrototype%": ["WeakSet", "prototype"] + }, P = Or(), R = /* @__PURE__ */ Fr(), q = P.call(G, Array.prototype.concat), M = P.call(er, Array.prototype.splice), J = P.call(G, String.prototype.replace), X = P.call(G, String.prototype.slice), u = P.call(G, RegExp.prototype.exec), x = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, L = /\\(\\)?/g, k = function(s) { + var S = X(s, 0, 1), l = X(s, -1); + if (S === "%" && l !== "%") + throw new o("invalid intrinsic syntax, expected closing `%`"); + if (l === "%" && S !== "%") + throw new o("invalid intrinsic syntax, expected opening `%`"); + var B = []; + return J(s, x, function(T, Z, _, ar) { + B[B.length] = _ ? J(ar, L, "$1") : Z || T; + }), B; + }, C = function(s, S) { + var l = s, B; + if (R(N, l) && (B = N[l], l = "%" + B[0] + "%"), R(V, l)) { + var T = V[l]; + if (T === H && (T = dr(l)), typeof T > "u" && !S) + throw new y("intrinsic " + s + " exists, but is not available. Please file an issue!"); + return { + alias: B, + name: l, + value: T + }; + } + throw new o("intrinsic " + s + " does not exist!"); + }; + return tn = function(s, S) { + if (typeof s != "string" || s.length === 0) + throw new y("intrinsic name must be a non-empty string"); + if (arguments.length > 1 && typeof S != "boolean") + throw new y('"allowMissing" argument must be a boolean'); + if (u(/^%?[^%]*%?$/, s) === null) + throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); + var l = k(s), B = l.length > 0 ? l[0] : "", T = C("%" + B + "%", S), Z = T.name, _ = T.value, ar = !1, pr = T.alias; + pr && (B = pr[0], M(l, q([0, 1], pr))); + for (var lr = 1, ir = !0; lr < l.length; lr += 1) { + var rr = l[lr], cr = X(rr, 0, 1), vr = X(rr, -1); + if ((cr === '"' || cr === "'" || cr === "`" || vr === '"' || vr === "'" || vr === "`") && cr !== vr) + throw new o("property names with quotes must have matching quotes"); + if ((rr === "constructor" || !ir) && (ar = !0), B += "." + rr, Z = "%" + B + "%", R(V, Z)) + _ = V[Z]; + else if (_ != null) { + if (!(rr in _)) { + if (!S) + throw new y("base intrinsic for " + s + " exists, but the property is not available."); + return; + } + if (A && lr + 1 >= l.length) { + var sr = A(_, rr); + ir = !!sr, ir && "get" in sr && !("originalValue" in sr.get) ? _ = sr.get : _ = _[rr]; + } else + ir = R(_, rr), _ = _[rr]; + ir && !ar && (V[Z] = _); + } + } + return _; + }, tn; +} +var de = { exports: {} }, nn, La; +function Xr() { + if (La) return nn; + La = 1; + var r = go(); + return nn = function() { + return r() && !!Symbol.toStringTag; + }, nn; +} +var on, Ha; +function gy() { + if (Ha) return on; + Ha = 1; + var r = Xr()(), e = /* @__PURE__ */ Nr(), t = e("Object.prototype.toString"), a = function(y) { + return r && y && typeof y == "object" && Symbol.toStringTag in y ? !1 : t(y) === "[object Arguments]"; + }, n = function(y) { + return a(y) ? !0 : y !== null && typeof y == "object" && "length" in y && typeof y.length == "number" && y.length >= 0 && t(y) !== "[object Array]" && "callee" in y && t(y.callee) === "[object Function]"; + }, i = function() { + return a(arguments); + }(); + return a.isLegacyArguments = n, on = i ? a : n, on; +} +const ff = {}, pf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ + __proto__: null, + default: ff +}, Symbol.toStringTag, { value: "Module" })), hy = /* @__PURE__ */ By(pf); +var an, Va; +function xe() { + if (Va) return an; + Va = 1; + var r = typeof Map == "function" && Map.prototype, e = Object.getOwnPropertyDescriptor && r ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, t = r && e && typeof e.get == "function" ? e.get : null, a = r && Map.prototype.forEach, n = typeof Set == "function" && Set.prototype, i = Object.getOwnPropertyDescriptor && n ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, o = n && i && typeof i.get == "function" ? i.get : null, y = n && Set.prototype.forEach, f = typeof WeakMap == "function" && WeakMap.prototype, g = f ? WeakMap.prototype.has : null, h = typeof WeakSet == "function" && WeakSet.prototype, v = h ? WeakSet.prototype.has : null, E = typeof WeakRef == "function" && WeakRef.prototype, $ = E ? WeakRef.prototype.deref : null, j = Boolean.prototype.valueOf, I = Object.prototype.toString, b = Function.prototype.toString, U = String.prototype.match, A = String.prototype.slice, F = String.prototype.replace, z = String.prototype.toUpperCase, K = String.prototype.toLowerCase, D = RegExp.prototype.test, O = Array.prototype.concat, Q = Array.prototype.join, Y = Array.prototype.slice, er = Math.floor, G = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, H = Object.getOwnPropertySymbols, or = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, V = typeof Symbol == "function" && typeof Symbol.iterator == "object", nr = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === V || !0) ? Symbol.toStringTag : null, dr = Object.prototype.propertyIsEnumerable, N = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(p) { + return p.__proto__; + } : null); + function P(p, c) { + if (p === 1 / 0 || p === -1 / 0 || p !== p || p && p > -1e3 && p < 1e3 || D.call(/e/, c)) + return c; + var W = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g; + if (typeof p == "number") { + var fr = p < 0 ? -er(-p) : er(p); + if (fr !== p) { + var ur = String(fr), tr = A.call(c, ur.length + 1); + return F.call(ur, W, "$&_") + "." + F.call(F.call(tr, /([0-9]{3})/g, "$&_"), /_$/, ""); + } + } + return F.call(c, W, "$&_"); + } + var R = hy, q = R.custom, M = T(q) ? q : null, J = { + __proto__: null, + double: '"', + single: "'" + }, X = { + __proto__: null, + double: /(["\\])/g, + single: /(['\\])/g + }; + an = function p(c, W, fr, ur) { + var tr = W || {}; + if (ar(tr, "quoteStyle") && !ar(J, tr.quoteStyle)) + throw new TypeError('option "quoteStyle" must be "single" or "double"'); + if (ar(tr, "maxStringLength") && (typeof tr.maxStringLength == "number" ? tr.maxStringLength < 0 && tr.maxStringLength !== 1 / 0 : tr.maxStringLength !== null)) + throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`'); + var Ar = ar(tr, "customInspect") ? tr.customInspect : !0; + if (typeof Ar != "boolean" && Ar !== "symbol") + throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`"); + if (ar(tr, "indent") && tr.indent !== null && tr.indent !== " " && !(parseInt(tr.indent, 10) === tr.indent && tr.indent > 0)) + throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`'); + if (ar(tr, "numericSeparator") && typeof tr.numericSeparator != "boolean") + throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`'); + var Ir = tr.numericSeparator; + if (typeof c > "u") + return "undefined"; + if (c === null) + return "null"; + if (typeof c == "boolean") + return c ? "true" : "false"; + if (typeof c == "string") + return wr(c, tr); + if (typeof c == "number") { + if (c === 0) + return 1 / 0 / c > 0 ? "0" : "-0"; + var hr = String(c); + return Ir ? P(c, hr) : hr; + } + if (typeof c == "bigint") { + var mr = String(c) + "n"; + return Ir ? P(c, mr) : mr; + } + var ee = typeof tr.depth > "u" ? 5 : tr.depth; + if (typeof fr > "u" && (fr = 0), fr >= ee && ee > 0 && typeof c == "object") + return k(c) ? "[Array]" : "[Object]"; + var Br = d(tr, fr); + if (typeof ur > "u") + ur = []; + else if (ir(ur, c) >= 0) + return "[Circular]"; + function Pr(xr, we, wy) { + if (we && (ur = Y.call(ur), ur.push(we)), wy) { + var Ao = { + depth: tr.depth + }; + return ar(tr, "quoteStyle") && (Ao.quoteStyle = tr.quoteStyle), p(xr, Ao, fr + 1, ur); + } + return p(xr, tr, fr + 1, ur); + } + if (typeof c == "function" && !w(c)) { + var kr = lr(c), te = yr(c, Pr); + return "[Function" + (kr ? ": " + kr : " (anonymous)") + "]" + (te.length > 0 ? " { " + Q.call(te, ", ") + " }" : ""); + } + if (T(c)) { + var Cr = V ? F.call(String(c), /^(Symbol\(.*\))_[^)]*$/, "$1") : or.call(c); + return typeof c == "object" && !V ? $r(Cr) : Cr; + } + if (br(c)) { + for (var Ur = "<" + K.call(String(c.nodeName)), Gr = c.attributes || [], Wr = 0; Wr < Gr.length; Wr++) + Ur += " " + Gr[Wr].name + "=" + u(x(Gr[Wr].value), "double", tr); + return Ur += ">", c.childNodes && c.childNodes.length && (Ur += "..."), Ur += "", Ur; + } + if (k(c)) { + if (c.length === 0) + return "[]"; + var ne = yr(c, Pr); + return Br && !re(ne) ? "[" + m(ne, Br) + "]" : "[ " + Q.call(ne, ", ") + " ]"; + } + if (s(c)) { + var Lr = yr(c, Pr); + return !("cause" in Error.prototype) && "cause" in c && !dr.call(c, "cause") ? "{ [" + String(c) + "] " + Q.call(O.call("[cause]: " + Pr(c.cause), Lr), ", ") + " }" : Lr.length === 0 ? "[" + String(c) + "]" : "{ [" + String(c) + "] " + Q.call(Lr, ", ") + " }"; + } + if (typeof c == "object" && Ar) { + if (M && typeof c[M] == "function" && R) + return R(c, { depth: ee - fr }); + if (Ar !== "symbol" && typeof c.inspect == "function") + return c.inspect(); + } + if (rr(c)) { + var ce = []; + return a && a.call(c, function(xr, we) { + ce.push(Pr(we, c, !0) + " => " + Pr(xr, c)); + }), Zr("Map", t.call(c), ce, Br); + } + if (sr(c)) { + var oe = []; + return y && y.call(c, function(xr) { + oe.push(Pr(xr, c)); + }), Zr("Set", o.call(c), oe, Br); + } + if (cr(c)) + return le("WeakMap"); + if (Qr(c)) + return le("WeakSet"); + if (vr(c)) + return le("WeakRef"); + if (l(c)) + return $r(Pr(Number(c))); + if (Z(c)) + return $r(Pr(G.call(c))); + if (B(c)) + return $r(j.call(c)); + if (S(c)) + return $r(Pr(String(c))); + if (typeof window < "u" && c === window) + return "{ [object Window] }"; + if (typeof globalThis < "u" && c === globalThis || typeof ge < "u" && c === ge) + return "{ [object globalThis] }"; + if (!C(c) && !w(c)) { + var ae = yr(c, Pr), Ee = N ? N(c) === Object.prototype : c instanceof Object || c.constructor === Object, Hr = c instanceof Object ? "" : "null prototype", qr = !Ee && nr && Object(c) === c && nr in c ? A.call(pr(c), 8, -1) : Hr ? "Object" : "", ie = Ee || typeof c.constructor != "function" ? "" : c.constructor.name ? c.constructor.name + " " : "", ve = ie + (qr || Hr ? "[" + Q.call(O.call([], qr || [], Hr || []), ": ") + "] " : ""); + return ae.length === 0 ? ve + "{}" : Br ? ve + "{" + m(ae, Br) + "}" : ve + "{ " + Q.call(ae, ", ") + " }"; + } + return String(c); + }; + function u(p, c, W) { + var fr = W.quoteStyle || c, ur = J[fr]; + return ur + p + ur; + } + function x(p) { + return F.call(String(p), /"/g, """); + } + function L(p) { + return !nr || !(typeof p == "object" && (nr in p || typeof p[nr] < "u")); + } + function k(p) { + return pr(p) === "[object Array]" && L(p); + } + function C(p) { + return pr(p) === "[object Date]" && L(p); + } + function w(p) { + return pr(p) === "[object RegExp]" && L(p); + } + function s(p) { + return pr(p) === "[object Error]" && L(p); + } + function S(p) { + return pr(p) === "[object String]" && L(p); + } + function l(p) { + return pr(p) === "[object Number]" && L(p); + } + function B(p) { + return pr(p) === "[object Boolean]" && L(p); + } + function T(p) { + if (V) + return p && typeof p == "object" && p instanceof Symbol; + if (typeof p == "symbol") + return !0; + if (!p || typeof p != "object" || !or) + return !1; + try { + return or.call(p), !0; + } catch { + } + return !1; + } + function Z(p) { + if (!p || typeof p != "object" || !G) + return !1; + try { + return G.call(p), !0; + } catch { + } + return !1; + } + var _ = Object.prototype.hasOwnProperty || function(p) { + return p in this; + }; + function ar(p, c) { + return _.call(p, c); + } + function pr(p) { + return I.call(p); + } + function lr(p) { + if (p.name) + return p.name; + var c = U.call(b.call(p), /^function\s*([\w$]+)/); + return c ? c[1] : null; + } + function ir(p, c) { + if (p.indexOf) + return p.indexOf(c); + for (var W = 0, fr = p.length; W < fr; W++) + if (p[W] === c) + return W; + return -1; + } + function rr(p) { + if (!t || !p || typeof p != "object") + return !1; + try { + t.call(p); + try { + o.call(p); + } catch { + return !0; + } + return p instanceof Map; + } catch { + } + return !1; + } + function cr(p) { + if (!g || !p || typeof p != "object") + return !1; + try { + g.call(p, g); + try { + v.call(p, v); + } catch { + return !0; + } + return p instanceof WeakMap; + } catch { + } + return !1; + } + function vr(p) { + if (!$ || !p || typeof p != "object") + return !1; + try { + return $.call(p), !0; + } catch { + } + return !1; + } + function sr(p) { + if (!o || !p || typeof p != "object") + return !1; + try { + o.call(p); + try { + t.call(p); + } catch { + return !0; + } + return p instanceof Set; + } catch { + } + return !1; + } + function Qr(p) { + if (!v || !p || typeof p != "object") + return !1; + try { + v.call(p, v); + try { + g.call(p, g); + } catch { + return !0; + } + return p instanceof WeakSet; + } catch { + } + return !1; + } + function br(p) { + return !p || typeof p != "object" ? !1 : typeof HTMLElement < "u" && p instanceof HTMLElement ? !0 : typeof p.nodeName == "string" && typeof p.getAttribute == "function"; + } + function wr(p, c) { + if (p.length > c.maxStringLength) { + var W = p.length - c.maxStringLength, fr = "... " + W + " more character" + (W > 1 ? "s" : ""); + return wr(A.call(p, 0, c.maxStringLength), c) + fr; + } + var ur = X[c.quoteStyle || "single"]; + ur.lastIndex = 0; + var tr = F.call(F.call(p, ur, "\\$1"), /[\x00-\x1f]/g, Tr); + return u(tr, "single", c); + } + function Tr(p) { + var c = p.charCodeAt(0), W = { + 8: "b", + 9: "t", + 10: "n", + 12: "f", + 13: "r" + }[c]; + return W ? "\\" + W : "\\x" + (c < 16 ? "0" : "") + z.call(c.toString(16)); + } + function $r(p) { + return "Object(" + p + ")"; + } + function le(p) { + return p + " { ? }"; + } + function Zr(p, c, W, fr) { + var ur = fr ? m(W, fr) : Q.call(W, ", "); + return p + " (" + c + ") {" + ur + "}"; + } + function re(p) { + for (var c = 0; c < p.length; c++) + if (ir(p[c], ` +`) >= 0) + return !1; + return !0; + } + function d(p, c) { + var W; + if (p.indent === " ") + W = " "; + else if (typeof p.indent == "number" && p.indent > 0) + W = Q.call(Array(p.indent + 1), " "); + else + return null; + return { + base: W, + prev: Q.call(Array(c + 1), W) + }; + } + function m(p, c) { + if (p.length === 0) + return ""; + var W = ` +` + c.prev + c.base; + return W + Q.call(p, "," + W) + ` +` + c.prev; + } + function yr(p, c) { + var W = k(p), fr = []; + if (W) { + fr.length = p.length; + for (var ur = 0; ur < p.length; ur++) + fr[ur] = ar(p, ur) ? c(p[ur], p) : ""; + } + var tr = typeof H == "function" ? H(p) : [], Ar; + if (V) { + Ar = {}; + for (var Ir = 0; Ir < tr.length; Ir++) + Ar["$" + tr[Ir]] = tr[Ir]; + } + for (var hr in p) + ar(p, hr) && (W && String(Number(hr)) === hr && hr < p.length || V && Ar["$" + hr] instanceof Symbol || (D.call(/[^\w$]/, hr) ? fr.push(c(hr, p) + ": " + c(p[hr], p)) : fr.push(hr + ": " + c(p[hr], p)))); + if (typeof H == "function") + for (var mr = 0; mr < tr.length; mr++) + dr.call(p, tr[mr]) && fr.push("[" + c(tr[mr]) + "]: " + c(p[tr[mr]], p)); + return fr; + } + return an; +} +var yn, Ja; +function uf() { + if (Ja) return yn; + Ja = 1; + var r = /* @__PURE__ */ xe(), e = /* @__PURE__ */ gr(), t = function(y, f, g) { + for (var h = y, v; (v = h.next) != null; h = v) + if (v.key === f) + return h.next = v.next, g || (v.next = /** @type {NonNullable} */ + y.next, y.next = v), v; + }, a = function(y, f) { + if (y) { + var g = t(y, f); + return g && g.value; + } + }, n = function(y, f, g) { + var h = t(y, f); + h ? h.value = g : y.next = /** @type {import('./list.d.ts').ListNode} */ + { + // eslint-disable-line no-param-reassign, no-extra-parens + key: f, + next: y.next, + value: g + }; + }, i = function(y, f) { + return y ? !!t(y, f) : !1; + }, o = function(y, f) { + if (y) + return t(y, f, !0); + }; + return yn = function() { + var f, g = { + assert: function(h) { + if (!g.has(h)) + throw new e("Side channel does not contain " + r(h)); + }, + delete: function(h) { + var v = f && f.next, E = o(f, h); + return E && v && v === E && (f = void 0), !!E; + }, + get: function(h) { + return a(f, h); + }, + has: function(h) { + return i(f, h); + }, + set: function(h, v) { + f || (f = { + next: void 0 + }), n( + /** @type {NonNullable} */ + f, + h, + v + ); + } + }; + return g; + }, yn; +} +var fn, za; +function sf() { + return za || (za = 1, fn = Object.getOwnPropertyDescriptor), fn; +} +var pn, Ka; +function lf() { + if (Ka) return pn; + Ka = 1; + var r = /* @__PURE__ */ sf(); + if (r) + try { + r([], "length"); + } catch { + r = null; + } + return pn = r, pn; +} +var un, Ya; +function cf() { + if (Ya) return un; + Ya = 1; + var r = Object.defineProperty || !1; + if (r) + try { + r({}, "a", { value: 1 }); + } catch { + r = !1; + } + return un = r, un; +} +var sn, Xa; +function vf() { + return Xa || (Xa = 1, sn = function() { + if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") + return !1; + if (typeof Symbol.iterator == "symbol") + return !0; + var e = {}, t = Symbol("test"), a = Object(t); + if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(a) !== "[object Symbol]") + return !1; + var n = 42; + e[t] = n; + for (var i in e) + return !1; + if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0) + return !1; + var o = Object.getOwnPropertySymbols(e); + if (o.length !== 1 || o[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t)) + return !1; + if (typeof Object.getOwnPropertyDescriptor == "function") { + var y = ( + /** @type {PropertyDescriptor} */ + Object.getOwnPropertyDescriptor(e, t) + ); + if (y.value !== n || y.enumerable !== !0) + return !1; + } + return !0; + }), sn; +} +var ln, Qa; +function df() { + if (Qa) return ln; + Qa = 1; + var r = typeof Symbol < "u" && Symbol, e = vf(); + return ln = function() { + return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e(); + }, ln; +} +var cn, Za; +function gf() { + if (Za) return cn; + Za = 1; + var r, e = /* @__PURE__ */ Yr(), t = /* @__PURE__ */ Rr(), a = /* @__PURE__ */ jr(), n = /* @__PURE__ */ Mr(), i = /* @__PURE__ */ _r(), o = /* @__PURE__ */ Er(), y = /* @__PURE__ */ gr(), f = /* @__PURE__ */ Dr(), g = /* @__PURE__ */ me(), h = /* @__PURE__ */ Se(), v = /* @__PURE__ */ Ae(), E = /* @__PURE__ */ be(), $ = /* @__PURE__ */ Pe(), j = /* @__PURE__ */ Oe(), I = /* @__PURE__ */ Ie(), b = Function, U = function(w) { + try { + return b('"use strict"; return (' + w + ").constructor;")(); + } catch { + } + }, A = /* @__PURE__ */ lf(), F = /* @__PURE__ */ cf(), z = function() { + throw new y(); + }, K = A ? function() { + try { + return arguments.callee, z; + } catch { + try { + return A(arguments, "callee").get; + } catch { + return z; + } + } + }() : z, D = df()(), O = ue(), Q = pe(), Y = fe(), er = Kr(), G = zr(), H = {}, or = typeof Uint8Array > "u" || !O ? r : O(Uint8Array), V = { + __proto__: null, + "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError, + "%Array%": Array, + "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer, + "%ArrayIteratorPrototype%": D && O ? O([][Symbol.iterator]()) : r, + "%AsyncFromSyncIteratorPrototype%": r, + "%AsyncFunction%": H, + "%AsyncGenerator%": H, + "%AsyncGeneratorFunction%": H, + "%AsyncIteratorPrototype%": H, + "%Atomics%": typeof Atomics > "u" ? r : Atomics, + "%BigInt%": typeof BigInt > "u" ? r : BigInt, + "%BigInt64Array%": typeof BigInt64Array > "u" ? r : BigInt64Array, + "%BigUint64Array%": typeof BigUint64Array > "u" ? r : BigUint64Array, + "%Boolean%": Boolean, + "%DataView%": typeof DataView > "u" ? r : DataView, + "%Date%": Date, + "%decodeURI%": decodeURI, + "%decodeURIComponent%": decodeURIComponent, + "%encodeURI%": encodeURI, + "%encodeURIComponent%": encodeURIComponent, + "%Error%": t, + "%eval%": eval, + // eslint-disable-line no-eval + "%EvalError%": a, + "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array, + "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array, + "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry, + "%Function%": b, + "%GeneratorFunction%": H, + "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array, + "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array, + "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array, + "%isFinite%": isFinite, + "%isNaN%": isNaN, + "%IteratorPrototype%": D && O ? O(O([][Symbol.iterator]())) : r, + "%JSON%": typeof JSON == "object" ? JSON : r, + "%Map%": typeof Map > "u" ? r : Map, + "%MapIteratorPrototype%": typeof Map > "u" || !D || !O ? r : O((/* @__PURE__ */ new Map())[Symbol.iterator]()), + "%Math%": Math, + "%Number%": Number, + "%Object%": e, + "%Object.getOwnPropertyDescriptor%": A, + "%parseFloat%": parseFloat, + "%parseInt%": parseInt, + "%Promise%": typeof Promise > "u" ? r : Promise, + "%Proxy%": typeof Proxy > "u" ? r : Proxy, + "%RangeError%": n, + "%ReferenceError%": i, + "%Reflect%": typeof Reflect > "u" ? r : Reflect, + "%RegExp%": RegExp, + "%Set%": typeof Set > "u" ? r : Set, + "%SetIteratorPrototype%": typeof Set > "u" || !D || !O ? r : O((/* @__PURE__ */ new Set())[Symbol.iterator]()), + "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer, + "%String%": String, + "%StringIteratorPrototype%": D && O ? O(""[Symbol.iterator]()) : r, + "%Symbol%": D ? Symbol : r, + "%SyntaxError%": o, + "%ThrowTypeError%": K, + "%TypedArray%": or, + "%TypeError%": y, + "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array, + "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray, + "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array, + "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array, + "%URIError%": f, + "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap, + "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef, + "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet, + "%Function.prototype.call%": G, + "%Function.prototype.apply%": er, + "%Object.defineProperty%": F, + "%Object.getPrototypeOf%": Q, + "%Math.abs%": g, + "%Math.floor%": h, + "%Math.max%": v, + "%Math.min%": E, + "%Math.pow%": $, + "%Math.round%": j, + "%Math.sign%": I, + "%Reflect.getPrototypeOf%": Y + }; + if (O) + try { + null.error; + } catch (w) { + var nr = O(O(w)); + V["%Error.prototype%"] = nr; + } + var dr = function w(s) { + var S; + if (s === "%AsyncFunction%") + S = U("async function () {}"); + else if (s === "%GeneratorFunction%") + S = U("function* () {}"); + else if (s === "%AsyncGeneratorFunction%") + S = U("async function* () {}"); + else if (s === "%AsyncGenerator%") { + var l = w("%AsyncGeneratorFunction%"); + l && (S = l.prototype); + } else if (s === "%AsyncIteratorPrototype%") { + var B = w("%AsyncGenerator%"); + B && O && (S = O(B.prototype)); + } + return V[s] = S, S; + }, N = { + __proto__: null, + "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], + "%ArrayPrototype%": ["Array", "prototype"], + "%ArrayProto_entries%": ["Array", "prototype", "entries"], + "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], + "%ArrayProto_keys%": ["Array", "prototype", "keys"], + "%ArrayProto_values%": ["Array", "prototype", "values"], + "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], + "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], + "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], + "%BooleanPrototype%": ["Boolean", "prototype"], + "%DataViewPrototype%": ["DataView", "prototype"], + "%DatePrototype%": ["Date", "prototype"], + "%ErrorPrototype%": ["Error", "prototype"], + "%EvalErrorPrototype%": ["EvalError", "prototype"], + "%Float32ArrayPrototype%": ["Float32Array", "prototype"], + "%Float64ArrayPrototype%": ["Float64Array", "prototype"], + "%FunctionPrototype%": ["Function", "prototype"], + "%Generator%": ["GeneratorFunction", "prototype"], + "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], + "%Int8ArrayPrototype%": ["Int8Array", "prototype"], + "%Int16ArrayPrototype%": ["Int16Array", "prototype"], + "%Int32ArrayPrototype%": ["Int32Array", "prototype"], + "%JSONParse%": ["JSON", "parse"], + "%JSONStringify%": ["JSON", "stringify"], + "%MapPrototype%": ["Map", "prototype"], + "%NumberPrototype%": ["Number", "prototype"], + "%ObjectPrototype%": ["Object", "prototype"], + "%ObjProto_toString%": ["Object", "prototype", "toString"], + "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], + "%PromisePrototype%": ["Promise", "prototype"], + "%PromiseProto_then%": ["Promise", "prototype", "then"], + "%Promise_all%": ["Promise", "all"], + "%Promise_reject%": ["Promise", "reject"], + "%Promise_resolve%": ["Promise", "resolve"], + "%RangeErrorPrototype%": ["RangeError", "prototype"], + "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], + "%RegExpPrototype%": ["RegExp", "prototype"], + "%SetPrototype%": ["Set", "prototype"], + "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], + "%StringPrototype%": ["String", "prototype"], + "%SymbolPrototype%": ["Symbol", "prototype"], + "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], + "%TypedArrayPrototype%": ["TypedArray", "prototype"], + "%TypeErrorPrototype%": ["TypeError", "prototype"], + "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], + "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], + "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], + "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], + "%URIErrorPrototype%": ["URIError", "prototype"], + "%WeakMapPrototype%": ["WeakMap", "prototype"], + "%WeakSetPrototype%": ["WeakSet", "prototype"] + }, P = Or(), R = /* @__PURE__ */ Fr(), q = P.call(G, Array.prototype.concat), M = P.call(er, Array.prototype.splice), J = P.call(G, String.prototype.replace), X = P.call(G, String.prototype.slice), u = P.call(G, RegExp.prototype.exec), x = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, L = /\\(\\)?/g, k = function(s) { + var S = X(s, 0, 1), l = X(s, -1); + if (S === "%" && l !== "%") + throw new o("invalid intrinsic syntax, expected closing `%`"); + if (l === "%" && S !== "%") + throw new o("invalid intrinsic syntax, expected opening `%`"); + var B = []; + return J(s, x, function(T, Z, _, ar) { + B[B.length] = _ ? J(ar, L, "$1") : Z || T; + }), B; + }, C = function(s, S) { + var l = s, B; + if (R(N, l) && (B = N[l], l = "%" + B[0] + "%"), R(V, l)) { + var T = V[l]; + if (T === H && (T = dr(l)), typeof T > "u" && !S) + throw new y("intrinsic " + s + " exists, but is not available. Please file an issue!"); + return { + alias: B, + name: l, + value: T + }; + } + throw new o("intrinsic " + s + " does not exist!"); + }; + return cn = function(s, S) { + if (typeof s != "string" || s.length === 0) + throw new y("intrinsic name must be a non-empty string"); + if (arguments.length > 1 && typeof S != "boolean") + throw new y('"allowMissing" argument must be a boolean'); + if (u(/^%?[^%]*%?$/, s) === null) + throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); + var l = k(s), B = l.length > 0 ? l[0] : "", T = C("%" + B + "%", S), Z = T.name, _ = T.value, ar = !1, pr = T.alias; + pr && (B = pr[0], M(l, q([0, 1], pr))); + for (var lr = 1, ir = !0; lr < l.length; lr += 1) { + var rr = l[lr], cr = X(rr, 0, 1), vr = X(rr, -1); + if ((cr === '"' || cr === "'" || cr === "`" || vr === '"' || vr === "'" || vr === "`") && cr !== vr) + throw new o("property names with quotes must have matching quotes"); + if ((rr === "constructor" || !ir) && (ar = !0), B += "." + rr, Z = "%" + B + "%", R(V, Z)) + _ = V[Z]; + else if (_ != null) { + if (!(rr in _)) { + if (!S) + throw new y("base intrinsic for " + s + " exists, but the property is not available."); + return; + } + if (A && lr + 1 >= l.length) { + var sr = A(_, rr); + ir = !!sr, ir && "get" in sr && !("originalValue" in sr.get) ? _ = sr.get : _ = _[rr]; + } else + ir = R(_, rr), _ = _[rr]; + ir && !ar && (V[Z] = _); + } + } + return _; + }, cn; +} +var vn, ri; +function my() { + if (ri) return vn; + ri = 1; + var r = /* @__PURE__ */ gf(), e = /* @__PURE__ */ Nr(), t = /* @__PURE__ */ xe(), a = /* @__PURE__ */ gr(), n = r("%Map%", !0), i = e("Map.prototype.get", !0), o = e("Map.prototype.set", !0), y = e("Map.prototype.has", !0), f = e("Map.prototype.delete", !0), g = e("Map.prototype.size", !0); + return vn = !!n && /** @type {Exclude} */ + function() { + var v, E = { + assert: function($) { + if (!E.has($)) + throw new a("Side channel does not contain " + t($)); + }, + delete: function($) { + if (v) { + var j = f(v, $); + return g(v) === 0 && (v = void 0), j; + } + return !1; + }, + get: function($) { + if (v) + return i(v, $); + }, + has: function($) { + return v ? y(v, $) : !1; + }, + set: function($, j) { + v || (v = new n()), o(v, $, j); + } + }; + return E; + }, vn; +} +var dn, ei; +function hf() { + return ei || (ei = 1, dn = Object.getOwnPropertyDescriptor), dn; +} +var gn, ti; +function mf() { + if (ti) return gn; + ti = 1; + var r = /* @__PURE__ */ hf(); + if (r) + try { + r([], "length"); + } catch { + r = null; + } + return gn = r, gn; +} +var hn, ni; +function Sf() { + if (ni) return hn; + ni = 1; + var r = Object.defineProperty || !1; + if (r) + try { + r({}, "a", { value: 1 }); + } catch { + r = !1; + } + return hn = r, hn; +} +var mn, oi; +function Af() { + return oi || (oi = 1, mn = function() { + if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") + return !1; + if (typeof Symbol.iterator == "symbol") + return !0; + var e = {}, t = Symbol("test"), a = Object(t); + if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(a) !== "[object Symbol]") + return !1; + var n = 42; + e[t] = n; + for (var i in e) + return !1; + if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0) + return !1; + var o = Object.getOwnPropertySymbols(e); + if (o.length !== 1 || o[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t)) + return !1; + if (typeof Object.getOwnPropertyDescriptor == "function") { + var y = ( + /** @type {PropertyDescriptor} */ + Object.getOwnPropertyDescriptor(e, t) + ); + if (y.value !== n || y.enumerable !== !0) + return !1; + } + return !0; + }), mn; +} +var Sn, ai; +function bf() { + if (ai) return Sn; + ai = 1; + var r = typeof Symbol < "u" && Symbol, e = Af(); + return Sn = function() { + return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e(); + }, Sn; +} +var An, ii; +function Pf() { + if (ii) return An; + ii = 1; + var r, e = /* @__PURE__ */ Yr(), t = /* @__PURE__ */ Rr(), a = /* @__PURE__ */ jr(), n = /* @__PURE__ */ Mr(), i = /* @__PURE__ */ _r(), o = /* @__PURE__ */ Er(), y = /* @__PURE__ */ gr(), f = /* @__PURE__ */ Dr(), g = /* @__PURE__ */ me(), h = /* @__PURE__ */ Se(), v = /* @__PURE__ */ Ae(), E = /* @__PURE__ */ be(), $ = /* @__PURE__ */ Pe(), j = /* @__PURE__ */ Oe(), I = /* @__PURE__ */ Ie(), b = Function, U = function(w) { + try { + return b('"use strict"; return (' + w + ").constructor;")(); + } catch { + } + }, A = /* @__PURE__ */ mf(), F = /* @__PURE__ */ Sf(), z = function() { + throw new y(); + }, K = A ? function() { + try { + return arguments.callee, z; + } catch { + try { + return A(arguments, "callee").get; + } catch { + return z; + } + } + }() : z, D = bf()(), O = ue(), Q = pe(), Y = fe(), er = Kr(), G = zr(), H = {}, or = typeof Uint8Array > "u" || !O ? r : O(Uint8Array), V = { + __proto__: null, + "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError, + "%Array%": Array, + "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer, + "%ArrayIteratorPrototype%": D && O ? O([][Symbol.iterator]()) : r, + "%AsyncFromSyncIteratorPrototype%": r, + "%AsyncFunction%": H, + "%AsyncGenerator%": H, + "%AsyncGeneratorFunction%": H, + "%AsyncIteratorPrototype%": H, + "%Atomics%": typeof Atomics > "u" ? r : Atomics, + "%BigInt%": typeof BigInt > "u" ? r : BigInt, + "%BigInt64Array%": typeof BigInt64Array > "u" ? r : BigInt64Array, + "%BigUint64Array%": typeof BigUint64Array > "u" ? r : BigUint64Array, + "%Boolean%": Boolean, + "%DataView%": typeof DataView > "u" ? r : DataView, + "%Date%": Date, + "%decodeURI%": decodeURI, + "%decodeURIComponent%": decodeURIComponent, + "%encodeURI%": encodeURI, + "%encodeURIComponent%": encodeURIComponent, + "%Error%": t, + "%eval%": eval, + // eslint-disable-line no-eval + "%EvalError%": a, + "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array, + "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array, + "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry, + "%Function%": b, + "%GeneratorFunction%": H, + "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array, + "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array, + "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array, + "%isFinite%": isFinite, + "%isNaN%": isNaN, + "%IteratorPrototype%": D && O ? O(O([][Symbol.iterator]())) : r, + "%JSON%": typeof JSON == "object" ? JSON : r, + "%Map%": typeof Map > "u" ? r : Map, + "%MapIteratorPrototype%": typeof Map > "u" || !D || !O ? r : O((/* @__PURE__ */ new Map())[Symbol.iterator]()), + "%Math%": Math, + "%Number%": Number, + "%Object%": e, + "%Object.getOwnPropertyDescriptor%": A, + "%parseFloat%": parseFloat, + "%parseInt%": parseInt, + "%Promise%": typeof Promise > "u" ? r : Promise, + "%Proxy%": typeof Proxy > "u" ? r : Proxy, + "%RangeError%": n, + "%ReferenceError%": i, + "%Reflect%": typeof Reflect > "u" ? r : Reflect, + "%RegExp%": RegExp, + "%Set%": typeof Set > "u" ? r : Set, + "%SetIteratorPrototype%": typeof Set > "u" || !D || !O ? r : O((/* @__PURE__ */ new Set())[Symbol.iterator]()), + "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer, + "%String%": String, + "%StringIteratorPrototype%": D && O ? O(""[Symbol.iterator]()) : r, + "%Symbol%": D ? Symbol : r, + "%SyntaxError%": o, + "%ThrowTypeError%": K, + "%TypedArray%": or, + "%TypeError%": y, + "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array, + "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray, + "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array, + "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array, + "%URIError%": f, + "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap, + "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef, + "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet, + "%Function.prototype.call%": G, + "%Function.prototype.apply%": er, + "%Object.defineProperty%": F, + "%Object.getPrototypeOf%": Q, + "%Math.abs%": g, + "%Math.floor%": h, + "%Math.max%": v, + "%Math.min%": E, + "%Math.pow%": $, + "%Math.round%": j, + "%Math.sign%": I, + "%Reflect.getPrototypeOf%": Y + }; + if (O) + try { + null.error; + } catch (w) { + var nr = O(O(w)); + V["%Error.prototype%"] = nr; + } + var dr = function w(s) { + var S; + if (s === "%AsyncFunction%") + S = U("async function () {}"); + else if (s === "%GeneratorFunction%") + S = U("function* () {}"); + else if (s === "%AsyncGeneratorFunction%") + S = U("async function* () {}"); + else if (s === "%AsyncGenerator%") { + var l = w("%AsyncGeneratorFunction%"); + l && (S = l.prototype); + } else if (s === "%AsyncIteratorPrototype%") { + var B = w("%AsyncGenerator%"); + B && O && (S = O(B.prototype)); + } + return V[s] = S, S; + }, N = { + __proto__: null, + "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], + "%ArrayPrototype%": ["Array", "prototype"], + "%ArrayProto_entries%": ["Array", "prototype", "entries"], + "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], + "%ArrayProto_keys%": ["Array", "prototype", "keys"], + "%ArrayProto_values%": ["Array", "prototype", "values"], + "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], + "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], + "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], + "%BooleanPrototype%": ["Boolean", "prototype"], + "%DataViewPrototype%": ["DataView", "prototype"], + "%DatePrototype%": ["Date", "prototype"], + "%ErrorPrototype%": ["Error", "prototype"], + "%EvalErrorPrototype%": ["EvalError", "prototype"], + "%Float32ArrayPrototype%": ["Float32Array", "prototype"], + "%Float64ArrayPrototype%": ["Float64Array", "prototype"], + "%FunctionPrototype%": ["Function", "prototype"], + "%Generator%": ["GeneratorFunction", "prototype"], + "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], + "%Int8ArrayPrototype%": ["Int8Array", "prototype"], + "%Int16ArrayPrototype%": ["Int16Array", "prototype"], + "%Int32ArrayPrototype%": ["Int32Array", "prototype"], + "%JSONParse%": ["JSON", "parse"], + "%JSONStringify%": ["JSON", "stringify"], + "%MapPrototype%": ["Map", "prototype"], + "%NumberPrototype%": ["Number", "prototype"], + "%ObjectPrototype%": ["Object", "prototype"], + "%ObjProto_toString%": ["Object", "prototype", "toString"], + "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], + "%PromisePrototype%": ["Promise", "prototype"], + "%PromiseProto_then%": ["Promise", "prototype", "then"], + "%Promise_all%": ["Promise", "all"], + "%Promise_reject%": ["Promise", "reject"], + "%Promise_resolve%": ["Promise", "resolve"], + "%RangeErrorPrototype%": ["RangeError", "prototype"], + "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], + "%RegExpPrototype%": ["RegExp", "prototype"], + "%SetPrototype%": ["Set", "prototype"], + "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], + "%StringPrototype%": ["String", "prototype"], + "%SymbolPrototype%": ["Symbol", "prototype"], + "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], + "%TypedArrayPrototype%": ["TypedArray", "prototype"], + "%TypeErrorPrototype%": ["TypeError", "prototype"], + "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], + "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], + "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], + "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], + "%URIErrorPrototype%": ["URIError", "prototype"], + "%WeakMapPrototype%": ["WeakMap", "prototype"], + "%WeakSetPrototype%": ["WeakSet", "prototype"] + }, P = Or(), R = /* @__PURE__ */ Fr(), q = P.call(G, Array.prototype.concat), M = P.call(er, Array.prototype.splice), J = P.call(G, String.prototype.replace), X = P.call(G, String.prototype.slice), u = P.call(G, RegExp.prototype.exec), x = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, L = /\\(\\)?/g, k = function(s) { + var S = X(s, 0, 1), l = X(s, -1); + if (S === "%" && l !== "%") + throw new o("invalid intrinsic syntax, expected closing `%`"); + if (l === "%" && S !== "%") + throw new o("invalid intrinsic syntax, expected opening `%`"); + var B = []; + return J(s, x, function(T, Z, _, ar) { + B[B.length] = _ ? J(ar, L, "$1") : Z || T; + }), B; + }, C = function(s, S) { + var l = s, B; + if (R(N, l) && (B = N[l], l = "%" + B[0] + "%"), R(V, l)) { + var T = V[l]; + if (T === H && (T = dr(l)), typeof T > "u" && !S) + throw new y("intrinsic " + s + " exists, but is not available. Please file an issue!"); + return { + alias: B, + name: l, + value: T + }; + } + throw new o("intrinsic " + s + " does not exist!"); + }; + return An = function(s, S) { + if (typeof s != "string" || s.length === 0) + throw new y("intrinsic name must be a non-empty string"); + if (arguments.length > 1 && typeof S != "boolean") + throw new y('"allowMissing" argument must be a boolean'); + if (u(/^%?[^%]*%?$/, s) === null) + throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); + var l = k(s), B = l.length > 0 ? l[0] : "", T = C("%" + B + "%", S), Z = T.name, _ = T.value, ar = !1, pr = T.alias; + pr && (B = pr[0], M(l, q([0, 1], pr))); + for (var lr = 1, ir = !0; lr < l.length; lr += 1) { + var rr = l[lr], cr = X(rr, 0, 1), vr = X(rr, -1); + if ((cr === '"' || cr === "'" || cr === "`" || vr === '"' || vr === "'" || vr === "`") && cr !== vr) + throw new o("property names with quotes must have matching quotes"); + if ((rr === "constructor" || !ir) && (ar = !0), B += "." + rr, Z = "%" + B + "%", R(V, Z)) + _ = V[Z]; + else if (_ != null) { + if (!(rr in _)) { + if (!S) + throw new y("base intrinsic for " + s + " exists, but the property is not available."); + return; + } + if (A && lr + 1 >= l.length) { + var sr = A(_, rr); + ir = !!sr, ir && "get" in sr && !("originalValue" in sr.get) ? _ = sr.get : _ = _[rr]; + } else + ir = R(_, rr), _ = _[rr]; + ir && !ar && (V[Z] = _); + } + } + return _; + }, An; +} +var bn, yi; +function Of() { + if (yi) return bn; + yi = 1; + var r = /* @__PURE__ */ Pf(), e = /* @__PURE__ */ Nr(), t = /* @__PURE__ */ xe(), a = my(), n = /* @__PURE__ */ gr(), i = r("%WeakMap%", !0), o = e("WeakMap.prototype.get", !0), y = e("WeakMap.prototype.set", !0), f = e("WeakMap.prototype.has", !0), g = e("WeakMap.prototype.delete", !0); + return bn = i ? ( + /** @type {Exclude} */ + function() { + var v, E, $ = { + assert: function(j) { + if (!$.has(j)) + throw new n("Side channel does not contain " + t(j)); + }, + delete: function(j) { + if (i && j && (typeof j == "object" || typeof j == "function")) { + if (v) + return g(v, j); + } else if (a && E) + return E.delete(j); + return !1; + }, + get: function(j) { + return i && j && (typeof j == "object" || typeof j == "function") && v ? o(v, j) : E && E.get(j); + }, + has: function(j) { + return i && j && (typeof j == "object" || typeof j == "function") && v ? f(v, j) : !!E && E.has(j); + }, + set: function(j, I) { + i && j && (typeof j == "object" || typeof j == "function") ? (v || (v = new i()), y(v, j, I)) : a && (E || (E = a()), E.set(j, I)); + } + }; + return $; + } + ) : a, bn; +} +var Pn, fi; +function If() { + if (fi) return Pn; + fi = 1; + var r = /* @__PURE__ */ gr(), e = /* @__PURE__ */ xe(), t = uf(), a = my(), n = Of(), i = n || a || t; + return Pn = function() { + var y, f = { + assert: function(g) { + if (!f.has(g)) + throw new r("Side channel does not contain " + e(g)); + }, + delete: function(g) { + return !!y && y.delete(g); + }, + get: function(g) { + return y && y.get(g); + }, + has: function(g) { + return !!y && y.has(g); + }, + set: function(g, h) { + y || (y = i()), y.set(g, h); + } + }; + return f; + }, Pn; +} +var On, pi; +function Ef() { + if (pi) return On; + pi = 1; + var r = /* @__PURE__ */ Fr(), e = If()(), t = /* @__PURE__ */ gr(), a = { + assert: function(n, i) { + if (!n || typeof n != "object" && typeof n != "function") + throw new t("`O` is not an object"); + if (typeof i != "string") + throw new t("`slot` must be a string"); + if (e.assert(n), !a.has(n, i)) + throw new t("`" + i + "` is not present on `O`"); + }, + get: function(n, i) { + if (!n || typeof n != "object" && typeof n != "function") + throw new t("`O` is not an object"); + if (typeof i != "string") + throw new t("`slot` must be a string"); + var o = e.get(n); + return o && o[ + /** @type {SaltedInternalSlot} */ + "$" + i + ]; + }, + has: function(n, i) { + if (!n || typeof n != "object" && typeof n != "function") + throw new t("`O` is not an object"); + if (typeof i != "string") + throw new t("`slot` must be a string"); + var o = e.get(n); + return !!o && r( + o, + /** @type {SaltedInternalSlot} */ + "$" + i + ); + }, + set: function(n, i, o) { + if (!n || typeof n != "object" && typeof n != "function") + throw new t("`O` is not an object"); + if (typeof i != "string") + throw new t("`slot` must be a string"); + var y = e.get(n); + y || (y = {}, e.set(n, y)), y[ + /** @type {SaltedInternalSlot} */ + "$" + i + ] = o; + } + }; + return Object.freeze && Object.freeze(a), On = a, On; +} +var In, ui; +function wf() { + if (ui) return In; + ui = 1; + var r = Ef(), e = /* @__PURE__ */ Er(), t = typeof StopIteration == "object" ? StopIteration : null; + return In = function(n) { + if (!t) + throw new e("this environment lacks StopIteration"); + r.set(n, "[[Done]]", !1); + var i = { + next: ( + /** @type {() => IteratorResult} */ + function() { + var y = ( + /** @type {typeof origIterator} */ + r.get(this, "[[Iterator]]") + ), f = !!r.get(y, "[[Done]]"); + try { + return { + done: f, + // eslint-disable-next-line no-extra-parens + value: f ? void 0 : ( + /** @type {T} */ + y.next() + ) + }; + } catch (g) { + if (r.set(y, "[[Done]]", !0), g !== t) + throw g; + return { + done: !0, + value: void 0 + }; + } + } + ) + }; + return r.set(i, "[[Iterator]]", n), i; + }, In; +} +var En, si; +function Sy() { + if (si) return En; + si = 1; + var r = {}.toString; + return En = Array.isArray || function(e) { + return r.call(e) == "[object Array]"; + }, En; +} +var wn, li; +function Ay() { + if (li) return wn; + li = 1; + var r = String.prototype.valueOf, e = function(o) { + try { + return r.call(o), !0; + } catch { + return !1; + } + }, t = Object.prototype.toString, a = "[object String]", n = Xr()(); + return wn = function(o) { + return typeof o == "string" ? !0 : typeof o != "object" ? !1 : n ? e(o) : t.call(o) === a; + }, wn; +} +var $n, ci; +function by() { + if (ci) return $n; + ci = 1; + var r = typeof Map == "function" && Map.prototype ? Map : null, e = typeof Set == "function" && Set.prototype ? Set : null, t; + r || (t = function(o) { + return !1; + }); + var a = r ? Map.prototype.has : null, n = e ? Set.prototype.has : null; + return !t && !a && (t = function(o) { + return !1; + }), $n = t || function(o) { + if (!o || typeof o != "object") + return !1; + try { + if (a.call(o), n) + try { + n.call(o); + } catch { + return !0; + } + return o instanceof r; + } catch { + } + return !1; + }, $n; +} +var Rn, vi; +function Py() { + if (vi) return Rn; + vi = 1; + var r = typeof Map == "function" && Map.prototype ? Map : null, e = typeof Set == "function" && Set.prototype ? Set : null, t; + e || (t = function(o) { + return !1; + }); + var a = r ? Map.prototype.has : null, n = e ? Set.prototype.has : null; + return !t && !n && (t = function(o) { + return !1; + }), Rn = t || function(o) { + if (!o || typeof o != "object") + return !1; + try { + if (n.call(o), a) + try { + a.call(o); + } catch { + return !0; + } + return o instanceof e; + } catch { + } + return !1; + }, Rn; +} +var di; +function $f() { + if (di) return de.exports; + di = 1; + var r = /* @__PURE__ */ gy(), e = /* @__PURE__ */ wf(); + if (ho()() || go()()) { + var t = Symbol.iterator; + de.exports = function(Y) { + if (Y != null && typeof Y[t] < "u") + return Y[t](); + if (r(Y)) + return Array.prototype[t].call(Y); + }; + } else { + var a = Sy(), n = Ay(), i = /* @__PURE__ */ Vr(), o = i("%Map%", !0), y = i("%Set%", !0), f = se(), g = f("Array.prototype.push"), h = f("String.prototype.charCodeAt"), v = f("String.prototype.slice"), E = function(Y, er) { + var G = Y.length; + if (er + 1 >= G) + return er + 1; + var H = h(Y, er); + if (H < 55296 || H > 56319) + return er + 1; + var or = h(Y, er + 1); + return or < 56320 || or > 57343 ? er + 1 : er + 2; + }, $ = function(Y) { + var er = 0; + return { + next: function() { + var H = er >= Y.length, or; + return H || (or = Y[er], er += 1), { + done: H, + value: or + }; + } + }; + }, j = function(Y, er) { + if (a(Y) || r(Y)) + return $(Y); + if (n(Y)) { + var G = 0; + return { + next: function() { + var or = E(Y, G), V = v(Y, G, or); + return G = or, { + done: or > Y.length, + value: V + }; + } + }; + } + if (er && typeof Y["_es6-shim iterator_"] < "u") + return Y["_es6-shim iterator_"](); + }; + if (!o && !y) + de.exports = function(Y) { + if (Y != null) + return j(Y, !0); + }; + else { + var I = /* @__PURE__ */ by(), b = /* @__PURE__ */ Py(), U = f("Map.prototype.forEach", !0), A = f("Set.prototype.forEach", !0); + if (typeof process > "u" || !process.versions || !process.versions.node) + var F = f("Map.prototype.iterator", !0), z = f("Set.prototype.iterator", !0); + var K = f("Map.prototype.@@iterator", !0) || f("Map.prototype._es6-shim iterator_", !0), D = f("Set.prototype.@@iterator", !0) || f("Set.prototype._es6-shim iterator_", !0), O = function(Y) { + if (I(Y)) { + if (F) + return e(F(Y)); + if (K) + return K(Y); + if (U) { + var er = []; + return U(Y, function(H, or) { + g(er, [or, H]); + }), $(er); + } + } + if (b(Y)) { + if (z) + return e(z(Y)); + if (D) + return D(Y); + if (A) { + var G = []; + return A(Y, function(H) { + g(G, H); + }), $(G); + } + } + }; + de.exports = function(Y) { + return O(Y) || j(Y); + }; + } + } + return de.exports; +} +var Fn, gi; +function Rf() { + if (gi) return Fn; + gi = 1; + var r = typeof Map == "function" && Map.prototype, e = Object.getOwnPropertyDescriptor && r ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, t = r && e && typeof e.get == "function" ? e.get : null, a = r && Map.prototype.forEach, n = typeof Set == "function" && Set.prototype, i = Object.getOwnPropertyDescriptor && n ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, o = n && i && typeof i.get == "function" ? i.get : null, y = n && Set.prototype.forEach, f = typeof WeakMap == "function" && WeakMap.prototype, g = f ? WeakMap.prototype.has : null, h = typeof WeakSet == "function" && WeakSet.prototype, v = h ? WeakSet.prototype.has : null, E = typeof WeakRef == "function" && WeakRef.prototype, $ = E ? WeakRef.prototype.deref : null, j = Boolean.prototype.valueOf, I = Object.prototype.toString, b = Function.prototype.toString, U = String.prototype.match, A = String.prototype.slice, F = String.prototype.replace, z = String.prototype.toUpperCase, K = String.prototype.toLowerCase, D = RegExp.prototype.test, O = Array.prototype.concat, Q = Array.prototype.join, Y = Array.prototype.slice, er = Math.floor, G = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, H = Object.getOwnPropertySymbols, or = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, V = typeof Symbol == "function" && typeof Symbol.iterator == "object", nr = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === V || !0) ? Symbol.toStringTag : null, dr = Object.prototype.propertyIsEnumerable, N = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(d) { + return d.__proto__; + } : null); + function P(d, m) { + if (d === 1 / 0 || d === -1 / 0 || d !== d || d && d > -1e3 && d < 1e3 || D.call(/e/, m)) + return m; + var yr = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g; + if (typeof d == "number") { + var p = d < 0 ? -er(-d) : er(d); + if (p !== d) { + var c = String(p), W = A.call(m, c.length + 1); + return F.call(c, yr, "$&_") + "." + F.call(F.call(W, /([0-9]{3})/g, "$&_"), /_$/, ""); + } + } + return F.call(m, yr, "$&_"); + } + var R = hy, q = R.custom, M = S(q) ? q : null; + Fn = function d(m, yr, p, c) { + var W = yr || {}; + if (T(W, "quoteStyle") && W.quoteStyle !== "single" && W.quoteStyle !== "double") + throw new TypeError('option "quoteStyle" must be "single" or "double"'); + if (T(W, "maxStringLength") && (typeof W.maxStringLength == "number" ? W.maxStringLength < 0 && W.maxStringLength !== 1 / 0 : W.maxStringLength !== null)) + throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`'); + var fr = T(W, "customInspect") ? W.customInspect : !0; + if (typeof fr != "boolean" && fr !== "symbol") + throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`"); + if (T(W, "indent") && W.indent !== null && W.indent !== " " && !(parseInt(W.indent, 10) === W.indent && W.indent > 0)) + throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`'); + if (T(W, "numericSeparator") && typeof W.numericSeparator != "boolean") + throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`'); + var ur = W.numericSeparator; + if (typeof m > "u") + return "undefined"; + if (m === null) + return "null"; + if (typeof m == "boolean") + return m ? "true" : "false"; + if (typeof m == "string") + return sr(m, W); + if (typeof m == "number") { + if (m === 0) + return 1 / 0 / m > 0 ? "0" : "-0"; + var tr = String(m); + return ur ? P(m, tr) : tr; + } + if (typeof m == "bigint") { + var Ar = String(m) + "n"; + return ur ? P(m, Ar) : Ar; + } + var Ir = typeof W.depth > "u" ? 5 : W.depth; + if (typeof p > "u" && (p = 0), p >= Ir && Ir > 0 && typeof m == "object") + return u(m) ? "[Array]" : "[Object]"; + var hr = le(W, p); + if (typeof c > "u") + c = []; + else if (ar(c, m) >= 0) + return "[Circular]"; + function mr(qr, ie, ve) { + if (ie && (c = Y.call(c), c.push(ie)), ve) { + var xr = { + depth: W.depth + }; + return T(W, "quoteStyle") && (xr.quoteStyle = W.quoteStyle), d(qr, xr, p + 1, c); + } + return d(qr, W, p + 1, c); + } + if (typeof m == "function" && !L(m)) { + var ee = _(m), Br = re(m, mr); + return "[Function" + (ee ? ": " + ee : " (anonymous)") + "]" + (Br.length > 0 ? " { " + Q.call(Br, ", ") + " }" : ""); + } + if (S(m)) { + var Pr = V ? F.call(String(m), /^(Symbol\(.*\))_[^)]*$/, "$1") : or.call(m); + return typeof m == "object" && !V ? br(Pr) : Pr; + } + if (vr(m)) { + for (var kr = "<" + K.call(String(m.nodeName)), te = m.attributes || [], Cr = 0; Cr < te.length; Cr++) + kr += " " + te[Cr].name + "=" + J(X(te[Cr].value), "double", W); + return kr += ">", m.childNodes && m.childNodes.length && (kr += "..."), kr += "", kr; + } + if (u(m)) { + if (m.length === 0) + return "[]"; + var Ur = re(m, mr); + return hr && !$r(Ur) ? "[" + Zr(Ur, hr) + "]" : "[ " + Q.call(Ur, ", ") + " ]"; + } + if (k(m)) { + var Gr = re(m, mr); + return !("cause" in Error.prototype) && "cause" in m && !dr.call(m, "cause") ? "{ [" + String(m) + "] " + Q.call(O.call("[cause]: " + mr(m.cause), Gr), ", ") + " }" : Gr.length === 0 ? "[" + String(m) + "]" : "{ [" + String(m) + "] " + Q.call(Gr, ", ") + " }"; + } + if (typeof m == "object" && fr) { + if (M && typeof m[M] == "function" && R) + return R(m, { depth: Ir - p }); + if (fr !== "symbol" && typeof m.inspect == "function") + return m.inspect(); + } + if (pr(m)) { + var Wr = []; + return a && a.call(m, function(qr, ie) { + Wr.push(mr(ie, m, !0) + " => " + mr(qr, m)); + }), Tr("Map", t.call(m), Wr, hr); + } + if (rr(m)) { + var ne = []; + return y && y.call(m, function(qr) { + ne.push(mr(qr, m)); + }), Tr("Set", o.call(m), ne, hr); + } + if (lr(m)) + return wr("WeakMap"); + if (cr(m)) + return wr("WeakSet"); + if (ir(m)) + return wr("WeakRef"); + if (w(m)) + return br(mr(Number(m))); + if (l(m)) + return br(mr(G.call(m))); + if (s(m)) + return br(j.call(m)); + if (C(m)) + return br(mr(String(m))); + if (typeof window < "u" && m === window) + return "{ [object Window] }"; + if (m === ge) + return "{ [object globalThis] }"; + if (!x(m) && !L(m)) { + var Lr = re(m, mr), ce = N ? N(m) === Object.prototype : m instanceof Object || m.constructor === Object, oe = m instanceof Object ? "" : "null prototype", ae = !ce && nr && Object(m) === m && nr in m ? A.call(Z(m), 8, -1) : oe ? "Object" : "", Ee = ce || typeof m.constructor != "function" ? "" : m.constructor.name ? m.constructor.name + " " : "", Hr = Ee + (ae || oe ? "[" + Q.call(O.call([], ae || [], oe || []), ": ") + "] " : ""); + return Lr.length === 0 ? Hr + "{}" : hr ? Hr + "{" + Zr(Lr, hr) + "}" : Hr + "{ " + Q.call(Lr, ", ") + " }"; + } + return String(m); + }; + function J(d, m, yr) { + var p = (yr.quoteStyle || m) === "double" ? '"' : "'"; + return p + d + p; + } + function X(d) { + return F.call(String(d), /"/g, """); + } + function u(d) { + return Z(d) === "[object Array]" && (!nr || !(typeof d == "object" && nr in d)); + } + function x(d) { + return Z(d) === "[object Date]" && (!nr || !(typeof d == "object" && nr in d)); + } + function L(d) { + return Z(d) === "[object RegExp]" && (!nr || !(typeof d == "object" && nr in d)); + } + function k(d) { + return Z(d) === "[object Error]" && (!nr || !(typeof d == "object" && nr in d)); + } + function C(d) { + return Z(d) === "[object String]" && (!nr || !(typeof d == "object" && nr in d)); + } + function w(d) { + return Z(d) === "[object Number]" && (!nr || !(typeof d == "object" && nr in d)); + } + function s(d) { + return Z(d) === "[object Boolean]" && (!nr || !(typeof d == "object" && nr in d)); + } + function S(d) { + if (V) + return d && typeof d == "object" && d instanceof Symbol; + if (typeof d == "symbol") + return !0; + if (!d || typeof d != "object" || !or) + return !1; + try { + return or.call(d), !0; + } catch { + } + return !1; + } + function l(d) { + if (!d || typeof d != "object" || !G) + return !1; + try { + return G.call(d), !0; + } catch { + } + return !1; + } + var B = Object.prototype.hasOwnProperty || function(d) { + return d in this; + }; + function T(d, m) { + return B.call(d, m); + } + function Z(d) { + return I.call(d); + } + function _(d) { + if (d.name) + return d.name; + var m = U.call(b.call(d), /^function\s*([\w$]+)/); + return m ? m[1] : null; + } + function ar(d, m) { + if (d.indexOf) + return d.indexOf(m); + for (var yr = 0, p = d.length; yr < p; yr++) + if (d[yr] === m) + return yr; + return -1; + } + function pr(d) { + if (!t || !d || typeof d != "object") + return !1; + try { + t.call(d); + try { + o.call(d); + } catch { + return !0; + } + return d instanceof Map; + } catch { + } + return !1; + } + function lr(d) { + if (!g || !d || typeof d != "object") + return !1; + try { + g.call(d, g); + try { + v.call(d, v); + } catch { + return !0; + } + return d instanceof WeakMap; + } catch { + } + return !1; + } + function ir(d) { + if (!$ || !d || typeof d != "object") + return !1; + try { + return $.call(d), !0; + } catch { + } + return !1; + } + function rr(d) { + if (!o || !d || typeof d != "object") + return !1; + try { + o.call(d); + try { + t.call(d); + } catch { + return !0; + } + return d instanceof Set; + } catch { + } + return !1; + } + function cr(d) { + if (!v || !d || typeof d != "object") + return !1; + try { + v.call(d, v); + try { + g.call(d, g); + } catch { + return !0; + } + return d instanceof WeakSet; + } catch { + } + return !1; + } + function vr(d) { + return !d || typeof d != "object" ? !1 : typeof HTMLElement < "u" && d instanceof HTMLElement ? !0 : typeof d.nodeName == "string" && typeof d.getAttribute == "function"; + } + function sr(d, m) { + if (d.length > m.maxStringLength) { + var yr = d.length - m.maxStringLength, p = "... " + yr + " more character" + (yr > 1 ? "s" : ""); + return sr(A.call(d, 0, m.maxStringLength), m) + p; + } + var c = F.call(F.call(d, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, Qr); + return J(c, "single", m); + } + function Qr(d) { + var m = d.charCodeAt(0), yr = { + 8: "b", + 9: "t", + 10: "n", + 12: "f", + 13: "r" + }[m]; + return yr ? "\\" + yr : "\\x" + (m < 16 ? "0" : "") + z.call(m.toString(16)); + } + function br(d) { + return "Object(" + d + ")"; + } + function wr(d) { + return d + " { ? }"; + } + function Tr(d, m, yr, p) { + var c = p ? Zr(yr, p) : Q.call(yr, ", "); + return d + " (" + m + ") {" + c + "}"; + } + function $r(d) { + for (var m = 0; m < d.length; m++) + if (ar(d[m], ` +`) >= 0) + return !1; + return !0; + } + function le(d, m) { + var yr; + if (d.indent === " ") + yr = " "; + else if (typeof d.indent == "number" && d.indent > 0) + yr = Q.call(Array(d.indent + 1), " "); + else + return null; + return { + base: yr, + prev: Q.call(Array(m + 1), yr) + }; + } + function Zr(d, m) { + if (d.length === 0) + return ""; + var yr = ` +` + m.prev + m.base; + return yr + Q.call(d, "," + yr) + ` +` + m.prev; + } + function re(d, m) { + var yr = u(d), p = []; + if (yr) { + p.length = d.length; + for (var c = 0; c < d.length; c++) + p[c] = T(d, c) ? m(d[c], d) : ""; + } + var W = typeof H == "function" ? H(d) : [], fr; + if (V) { + fr = {}; + for (var ur = 0; ur < W.length; ur++) + fr["$" + W[ur]] = W[ur]; + } + for (var tr in d) + T(d, tr) && (yr && String(Number(tr)) === tr && tr < d.length || V && fr["$" + tr] instanceof Symbol || (D.call(/[^\w$]/, tr) ? p.push(m(tr, d) + ": " + m(d[tr], d)) : p.push(tr + ": " + m(d[tr], d)))); + if (typeof H == "function") + for (var Ar = 0; Ar < W.length; Ar++) + dr.call(d, W[Ar]) && p.push("[" + m(W[Ar]) + "]: " + m(d[W[Ar]], d)); + return p; + } + return Fn; +} +var Bn, hi; +function Ff() { + if (hi) return Bn; + hi = 1; + var r = /* @__PURE__ */ Vr(), e = se(), t = /* @__PURE__ */ Rf(), a = /* @__PURE__ */ gr(), n = r("%WeakMap%", !0), i = r("%Map%", !0), o = e("WeakMap.prototype.get", !0), y = e("WeakMap.prototype.set", !0), f = e("WeakMap.prototype.has", !0), g = e("Map.prototype.get", !0), h = e("Map.prototype.set", !0), v = e("Map.prototype.has", !0), E = function(b, U) { + for (var A = b, F; (F = A.next) !== null; A = F) + if (F.key === U) + return A.next = F.next, F.next = /** @type {NonNullable} */ + b.next, b.next = F, F; + }, $ = function(b, U) { + var A = E(b, U); + return A && A.value; + }, j = function(b, U, A) { + var F = E(b, U); + F ? F.value = A : b.next = /** @type {import('.').ListNode} */ + { + // eslint-disable-line no-param-reassign, no-extra-parens + key: U, + next: b.next, + value: A + }; + }, I = function(b, U) { + return !!E(b, U); + }; + return Bn = function() { + var U, A, F, z = { + assert: function(K) { + if (!z.has(K)) + throw new a("Side channel does not contain " + t(K)); + }, + get: function(K) { + if (n && K && (typeof K == "object" || typeof K == "function")) { + if (U) + return o(U, K); + } else if (i) { + if (A) + return g(A, K); + } else if (F) + return $(F, K); + }, + has: function(K) { + if (n && K && (typeof K == "object" || typeof K == "function")) { + if (U) + return f(U, K); + } else if (i) { + if (A) + return v(A, K); + } else if (F) + return I(F, K); + return !1; + }, + set: function(K, D) { + n && K && (typeof K == "object" || typeof K == "function") ? (U || (U = new n()), y(U, K, D)) : i ? (A || (A = new i()), h(A, K, D)) : (F || (F = { key: {}, next: null }), j(F, K, D)); + } + }; + return z; + }, Bn; +} +var Un, mi; +function Oy() { + if (mi) return Un; + mi = 1; + var r = function(e) { + return e !== e; + }; + return Un = function(t, a) { + return t === 0 && a === 0 ? 1 / t === 1 / a : !!(t === a || r(t) && r(a)); + }, Un; +} +var qn, Si; +function Iy() { + if (Si) return qn; + Si = 1; + var r = Oy(); + return qn = function() { + return typeof Object.is == "function" ? Object.is : r; + }, qn; +} +var xn, Ai; +function Bf() { + if (Ai) return xn; + Ai = 1; + var r = Iy(), e = Jr(); + return xn = function() { + var a = r(); + return e(Object, { is: a }, { + is: function() { + return Object.is !== a; + } + }), a; + }, xn; +} +var jn, bi; +function Uf() { + if (bi) return jn; + bi = 1; + var r = Jr(), e = sy(), t = Oy(), a = Iy(), n = Bf(), i = e(a(), Object); + return r(i, { + getPolyfill: a, + implementation: t, + shim: n + }), jn = i, jn; +} +var Mn = { exports: {} }, _n, Pi; +function qf() { + return Pi || (Pi = 1, _n = function() { + if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") + return !1; + if (typeof Symbol.iterator == "symbol") + return !0; + var e = {}, t = Symbol("test"), a = Object(t); + if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(a) !== "[object Symbol]") + return !1; + var n = 42; + e[t] = n; + for (t in e) + return !1; + if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0) + return !1; + var i = Object.getOwnPropertySymbols(e); + if (i.length !== 1 || i[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t)) + return !1; + if (typeof Object.getOwnPropertyDescriptor == "function") { + var o = Object.getOwnPropertyDescriptor(e, t); + if (o.value !== n || o.enumerable !== !0) + return !1; + } + return !0; + }), _n; +} +var Dn, Oi; +function xf() { + if (Oi) return Dn; + Oi = 1; + var r = typeof Symbol < "u" && Symbol, e = qf(); + return Dn = function() { + return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e(); + }, Dn; +} +var Nn, Ii; +function jf() { + if (Ii) return Nn; + Ii = 1; + var r, e = /* @__PURE__ */ Rr(), t = /* @__PURE__ */ jr(), a = /* @__PURE__ */ Mr(), n = /* @__PURE__ */ _r(), i = /* @__PURE__ */ Er(), o = /* @__PURE__ */ gr(), y = /* @__PURE__ */ Dr(), f = Function, g = function(N) { + try { + return f('"use strict"; return (' + N + ").constructor;")(); + } catch { + } + }, h = Object.getOwnPropertyDescriptor; + if (h) + try { + h({}, ""); + } catch { + h = null; + } + var v = function() { + throw new o(); + }, E = h ? function() { + try { + return arguments.callee, v; + } catch { + try { + return h(arguments, "callee").get; + } catch { + return v; + } + } + }() : v, $ = xf()(), j = /* @__PURE__ */ Be()(), I = Object.getPrototypeOf || (j ? function(N) { + return N.__proto__; + } : null), b = {}, U = typeof Uint8Array > "u" || !I ? r : I(Uint8Array), A = { + __proto__: null, + "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError, + "%Array%": Array, + "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer, + "%ArrayIteratorPrototype%": $ && I ? I([][Symbol.iterator]()) : r, + "%AsyncFromSyncIteratorPrototype%": r, + "%AsyncFunction%": b, + "%AsyncGenerator%": b, + "%AsyncGeneratorFunction%": b, + "%AsyncIteratorPrototype%": b, + "%Atomics%": typeof Atomics > "u" ? r : Atomics, + "%BigInt%": typeof BigInt > "u" ? r : BigInt, + "%BigInt64Array%": typeof BigInt64Array > "u" ? r : BigInt64Array, + "%BigUint64Array%": typeof BigUint64Array > "u" ? r : BigUint64Array, + "%Boolean%": Boolean, + "%DataView%": typeof DataView > "u" ? r : DataView, + "%Date%": Date, + "%decodeURI%": decodeURI, + "%decodeURIComponent%": decodeURIComponent, + "%encodeURI%": encodeURI, + "%encodeURIComponent%": encodeURIComponent, + "%Error%": e, + "%eval%": eval, + // eslint-disable-line no-eval + "%EvalError%": t, + "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array, + "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array, + "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry, + "%Function%": f, + "%GeneratorFunction%": b, + "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array, + "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array, + "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array, + "%isFinite%": isFinite, + "%isNaN%": isNaN, + "%IteratorPrototype%": $ && I ? I(I([][Symbol.iterator]())) : r, + "%JSON%": typeof JSON == "object" ? JSON : r, + "%Map%": typeof Map > "u" ? r : Map, + "%MapIteratorPrototype%": typeof Map > "u" || !$ || !I ? r : I((/* @__PURE__ */ new Map())[Symbol.iterator]()), + "%Math%": Math, + "%Number%": Number, + "%Object%": Object, + "%parseFloat%": parseFloat, + "%parseInt%": parseInt, + "%Promise%": typeof Promise > "u" ? r : Promise, + "%Proxy%": typeof Proxy > "u" ? r : Proxy, + "%RangeError%": a, + "%ReferenceError%": n, + "%Reflect%": typeof Reflect > "u" ? r : Reflect, + "%RegExp%": RegExp, + "%Set%": typeof Set > "u" ? r : Set, + "%SetIteratorPrototype%": typeof Set > "u" || !$ || !I ? r : I((/* @__PURE__ */ new Set())[Symbol.iterator]()), + "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer, + "%String%": String, + "%StringIteratorPrototype%": $ && I ? I(""[Symbol.iterator]()) : r, + "%Symbol%": $ ? Symbol : r, + "%SyntaxError%": i, + "%ThrowTypeError%": E, + "%TypedArray%": U, + "%TypeError%": o, + "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array, + "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray, + "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array, + "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array, + "%URIError%": y, + "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap, + "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef, + "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet + }; + if (I) + try { + null.error; + } catch (N) { + var F = I(I(N)); + A["%Error.prototype%"] = F; + } + var z = function N(P) { + var R; + if (P === "%AsyncFunction%") + R = g("async function () {}"); + else if (P === "%GeneratorFunction%") + R = g("function* () {}"); + else if (P === "%AsyncGeneratorFunction%") + R = g("async function* () {}"); + else if (P === "%AsyncGenerator%") { + var q = N("%AsyncGeneratorFunction%"); + q && (R = q.prototype); + } else if (P === "%AsyncIteratorPrototype%") { + var M = N("%AsyncGenerator%"); + M && I && (R = I(M.prototype)); + } + return A[P] = R, R; + }, K = { + __proto__: null, + "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], + "%ArrayPrototype%": ["Array", "prototype"], + "%ArrayProto_entries%": ["Array", "prototype", "entries"], + "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], + "%ArrayProto_keys%": ["Array", "prototype", "keys"], + "%ArrayProto_values%": ["Array", "prototype", "values"], + "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], + "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], + "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], + "%BooleanPrototype%": ["Boolean", "prototype"], + "%DataViewPrototype%": ["DataView", "prototype"], + "%DatePrototype%": ["Date", "prototype"], + "%ErrorPrototype%": ["Error", "prototype"], + "%EvalErrorPrototype%": ["EvalError", "prototype"], + "%Float32ArrayPrototype%": ["Float32Array", "prototype"], + "%Float64ArrayPrototype%": ["Float64Array", "prototype"], + "%FunctionPrototype%": ["Function", "prototype"], + "%Generator%": ["GeneratorFunction", "prototype"], + "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], + "%Int8ArrayPrototype%": ["Int8Array", "prototype"], + "%Int16ArrayPrototype%": ["Int16Array", "prototype"], + "%Int32ArrayPrototype%": ["Int32Array", "prototype"], + "%JSONParse%": ["JSON", "parse"], + "%JSONStringify%": ["JSON", "stringify"], + "%MapPrototype%": ["Map", "prototype"], + "%NumberPrototype%": ["Number", "prototype"], + "%ObjectPrototype%": ["Object", "prototype"], + "%ObjProto_toString%": ["Object", "prototype", "toString"], + "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], + "%PromisePrototype%": ["Promise", "prototype"], + "%PromiseProto_then%": ["Promise", "prototype", "then"], + "%Promise_all%": ["Promise", "all"], + "%Promise_reject%": ["Promise", "reject"], + "%Promise_resolve%": ["Promise", "resolve"], + "%RangeErrorPrototype%": ["RangeError", "prototype"], + "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], + "%RegExpPrototype%": ["RegExp", "prototype"], + "%SetPrototype%": ["Set", "prototype"], + "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], + "%StringPrototype%": ["String", "prototype"], + "%SymbolPrototype%": ["Symbol", "prototype"], + "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], + "%TypedArrayPrototype%": ["TypedArray", "prototype"], + "%TypeErrorPrototype%": ["TypeError", "prototype"], + "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], + "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], + "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], + "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], + "%URIErrorPrototype%": ["URIError", "prototype"], + "%WeakMapPrototype%": ["WeakMap", "prototype"], + "%WeakSetPrototype%": ["WeakSet", "prototype"] + }, D = Or(), O = /* @__PURE__ */ Fr(), Q = D.call(Function.call, Array.prototype.concat), Y = D.call(Function.apply, Array.prototype.splice), er = D.call(Function.call, String.prototype.replace), G = D.call(Function.call, String.prototype.slice), H = D.call(Function.call, RegExp.prototype.exec), or = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, V = /\\(\\)?/g, nr = function(P) { + var R = G(P, 0, 1), q = G(P, -1); + if (R === "%" && q !== "%") + throw new i("invalid intrinsic syntax, expected closing `%`"); + if (q === "%" && R !== "%") + throw new i("invalid intrinsic syntax, expected opening `%`"); + var M = []; + return er(P, or, function(J, X, u, x) { + M[M.length] = u ? er(x, V, "$1") : X || J; + }), M; + }, dr = function(P, R) { + var q = P, M; + if (O(K, q) && (M = K[q], q = "%" + M[0] + "%"), O(A, q)) { + var J = A[q]; + if (J === b && (J = z(q)), typeof J > "u" && !R) + throw new o("intrinsic " + P + " exists, but is not available. Please file an issue!"); + return { + alias: M, + name: q, + value: J + }; + } + throw new i("intrinsic " + P + " does not exist!"); + }; + return Nn = function(P, R) { + if (typeof P != "string" || P.length === 0) + throw new o("intrinsic name must be a non-empty string"); + if (arguments.length > 1 && typeof R != "boolean") + throw new o('"allowMissing" argument must be a boolean'); + if (H(/^%?[^%]*%?$/, P) === null) + throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); + var q = nr(P), M = q.length > 0 ? q[0] : "", J = dr("%" + M + "%", R), X = J.name, u = J.value, x = !1, L = J.alias; + L && (M = L[0], Y(q, Q([0, 1], L))); + for (var k = 1, C = !0; k < q.length; k += 1) { + var w = q[k], s = G(w, 0, 1), S = G(w, -1); + if ((s === '"' || s === "'" || s === "`" || S === '"' || S === "'" || S === "`") && s !== S) + throw new i("property names with quotes must have matching quotes"); + if ((w === "constructor" || !C) && (x = !0), M += "." + w, X = "%" + M + "%", O(A, X)) + u = A[X]; + else if (u != null) { + if (!(w in u)) { + if (!R) + throw new o("base intrinsic for " + P + " exists, but the property is not available."); + return; + } + if (h && k + 1 >= q.length) { + var l = h(u, w); + C = !!l, C && "get" in l && !("originalValue" in l.get) ? u = l.get : u = u[w]; + } else + C = O(u, w), u = u[w]; + C && !x && (A[X] = u); + } + } + return u; + }, Nn; +} +var Tn, Ei; +function Mf() { + if (Ei) return Tn; + Ei = 1; + var r = /* @__PURE__ */ jf(), e = r("%Object.defineProperty%", !0) || !1; + if (e) + try { + e({}, "a", { value: 1 }); + } catch { + e = !1; + } + return Tn = e, Tn; +} +var wi; +function _f() { + return wi || (wi = 1, function(r) { + var e = /* @__PURE__ */ he(), t = /* @__PURE__ */ Mf(), a = ye(), n = qe(); + r.exports = function(o) { + var y = a(arguments), f = o.length - (arguments.length - 1); + return e( + y, + 1 + (f > 0 ? f : 0), + !0 + ); + }, t ? t(r.exports, "apply", { value: n }) : r.exports.apply = n; + }(Mn)), Mn.exports; +} +var kn, $i; +function Ey() { + if ($i) return kn; + $i = 1; + var r = _f(), e = /* @__PURE__ */ Nr(), t = /* @__PURE__ */ dy(), a = t("%ArrayBuffer%", !0), n = e("ArrayBuffer.prototype.byteLength", !0), i = e("Object.prototype.toString"), o = !!a && !n && new a(0).slice, y = !!o && r(o); + return kn = n || y ? function(g) { + if (!g || typeof g != "object") + return !1; + try { + return n ? n(g) : y(g, 0), !0; + } catch { + return !1; + } + } : a ? function(g) { + return i(g) === "[object ArrayBuffer]"; + } : function(g) { + return !1; + }, kn; +} +var Cn, Ri; +function Df() { + if (Ri) return Cn; + Ri = 1; + var r = /* @__PURE__ */ Nr(), e = r("Date.prototype.getDay"), t = function(y) { + try { + return e(y), !0; + } catch { + return !1; + } + }, a = r("Object.prototype.toString"), n = "[object Date]", i = Xr()(); + return Cn = function(y) { + return typeof y != "object" || y === null ? !1 : i ? t(y) : a(y) === n; + }, Cn; +} +var Gn, Fi; +function Nf() { + if (Fi) return Gn; + Fi = 1; + var r = se(), e = Xr()(), t, a, n, i; + if (e) { + t = r("Object.prototype.hasOwnProperty"), a = r("RegExp.prototype.exec"), n = {}; + var o = function() { + throw n; + }; + i = { + toString: o, + valueOf: o + }, typeof Symbol.toPrimitive == "symbol" && (i[Symbol.toPrimitive] = o); + } + var y = r("Object.prototype.toString"), f = Object.getOwnPropertyDescriptor, g = "[object RegExp]"; + return Gn = e ? function(v) { + if (!v || typeof v != "object") + return !1; + var E = f(v, "lastIndex"), $ = E && t(E, "value"); + if (!$) + return !1; + try { + a(v, i); + } catch (j) { + return j === n; + } + } : function(v) { + return !v || typeof v != "object" && typeof v != "function" ? !1 : y(v) === g; + }, Gn; +} +var Wn, Bi; +function Tf() { + if (Bi) return Wn; + Bi = 1; + var r = se(), e = r("SharedArrayBuffer.prototype.byteLength", !0); + return Wn = e ? function(a) { + if (!a || typeof a != "object") + return !1; + try { + return e(a), !0; + } catch { + return !1; + } + } : function(a) { + return !1; + }, Wn; +} +var Ln, Ui; +function kf() { + if (Ui) return Ln; + Ui = 1; + var r = Number.prototype.toString, e = function(o) { + try { + return r.call(o), !0; + } catch { + return !1; + } + }, t = Object.prototype.toString, a = "[object Number]", n = Xr()(); + return Ln = function(o) { + return typeof o == "number" ? !0 : typeof o != "object" ? !1 : n ? e(o) : t.call(o) === a; + }, Ln; +} +var Hn, qi; +function Cf() { + if (qi) return Hn; + qi = 1; + var r = se(), e = r("Boolean.prototype.toString"), t = r("Object.prototype.toString"), a = function(y) { + try { + return e(y), !0; + } catch { + return !1; + } + }, n = "[object Boolean]", i = Xr()(); + return Hn = function(y) { + return typeof y == "boolean" ? !0 : y === null || typeof y != "object" ? !1 : i && Symbol.toStringTag in y ? a(y) : t(y) === n; + }, Hn; +} +var $e = { exports: {} }, xi; +function Gf() { + if (xi) return $e.exports; + xi = 1; + var r = Object.prototype.toString, e = ho()(); + if (e) { + var t = Symbol.prototype.toString, a = /^Symbol\(.*\)$/, n = function(o) { + return typeof o.valueOf() != "symbol" ? !1 : a.test(t.call(o)); + }; + $e.exports = function(o) { + if (typeof o == "symbol") + return !0; + if (r.call(o) !== "[object Symbol]") + return !1; + try { + return n(o); + } catch { + return !1; + } + }; + } else + $e.exports = function(o) { + return !1; + }; + return $e.exports; +} +var Re = { exports: {} }, Vn, ji; +function Wf() { + if (ji) return Vn; + ji = 1; + var r = typeof BigInt < "u" && BigInt; + return Vn = function() { + return typeof r == "function" && typeof BigInt == "function" && typeof r(42) == "bigint" && typeof BigInt(42) == "bigint"; + }, Vn; +} +var Mi; +function Lf() { + if (Mi) return Re.exports; + Mi = 1; + var r = Wf()(); + if (r) { + var e = BigInt.prototype.valueOf, t = function(n) { + try { + return e.call(n), !0; + } catch { + } + return !1; + }; + Re.exports = function(n) { + return n === null || typeof n > "u" || typeof n == "boolean" || typeof n == "string" || typeof n == "number" || typeof n == "symbol" || typeof n == "function" ? !1 : typeof n == "bigint" ? !0 : t(n); + }; + } else + Re.exports = function(n) { + return !1; + }; + return Re.exports; +} +var Jn, _i; +function Hf() { + if (_i) return Jn; + _i = 1; + var r = Ay(), e = kf(), t = Cf(), a = Gf(), n = Lf(); + return Jn = function(o) { + if (o == null || typeof o != "object" && typeof o != "function") + return null; + if (r(o)) + return "String"; + if (e(o)) + return "Number"; + if (t(o)) + return "Boolean"; + if (a(o)) + return "Symbol"; + if (n(o)) + return "BigInt"; + }, Jn; +} +var zn, Di; +function Vf() { + if (Di) return zn; + Di = 1; + var r = typeof WeakMap == "function" && WeakMap.prototype ? WeakMap : null, e = typeof WeakSet == "function" && WeakSet.prototype ? WeakSet : null, t; + r || (t = function(o) { + return !1; + }); + var a = r ? r.prototype.has : null, n = e ? e.prototype.has : null; + return !t && !a && (t = function(o) { + return !1; + }), zn = t || function(o) { + if (!o || typeof o != "object") + return !1; + try { + if (a.call(o, a), n) + try { + n.call(o, n); + } catch { + return !0; + } + return o instanceof r; + } catch { + } + return !1; + }, zn; +} +var Fe = { exports: {} }, Kn, Ni; +function Jf() { + return Ni || (Ni = 1, Kn = Object.getOwnPropertyDescriptor), Kn; +} +var Yn, Ti; +function zf() { + if (Ti) return Yn; + Ti = 1; + var r = /* @__PURE__ */ Jf(); + if (r) + try { + r([], "length"); + } catch { + r = null; + } + return Yn = r, Yn; +} +var Xn, ki; +function Kf() { + if (ki) return Xn; + ki = 1; + var r = Object.defineProperty || !1; + if (r) + try { + r({}, "a", { value: 1 }); + } catch { + r = !1; + } + return Xn = r, Xn; +} +var Qn, Ci; +function Yf() { + return Ci || (Ci = 1, Qn = function() { + if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") + return !1; + if (typeof Symbol.iterator == "symbol") + return !0; + var e = {}, t = Symbol("test"), a = Object(t); + if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(a) !== "[object Symbol]") + return !1; + var n = 42; + e[t] = n; + for (var i in e) + return !1; + if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0) + return !1; + var o = Object.getOwnPropertySymbols(e); + if (o.length !== 1 || o[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t)) + return !1; + if (typeof Object.getOwnPropertyDescriptor == "function") { + var y = ( + /** @type {PropertyDescriptor} */ + Object.getOwnPropertyDescriptor(e, t) + ); + if (y.value !== n || y.enumerable !== !0) + return !1; + } + return !0; + }), Qn; +} +var Zn, Gi; +function Xf() { + if (Gi) return Zn; + Gi = 1; + var r = typeof Symbol < "u" && Symbol, e = Yf(); + return Zn = function() { + return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e(); + }, Zn; +} +var ro, Wi; +function Qf() { + if (Wi) return ro; + Wi = 1; + var r, e = /* @__PURE__ */ Yr(), t = /* @__PURE__ */ Rr(), a = /* @__PURE__ */ jr(), n = /* @__PURE__ */ Mr(), i = /* @__PURE__ */ _r(), o = /* @__PURE__ */ Er(), y = /* @__PURE__ */ gr(), f = /* @__PURE__ */ Dr(), g = /* @__PURE__ */ me(), h = /* @__PURE__ */ Se(), v = /* @__PURE__ */ Ae(), E = /* @__PURE__ */ be(), $ = /* @__PURE__ */ Pe(), j = /* @__PURE__ */ Oe(), I = /* @__PURE__ */ Ie(), b = Function, U = function(w) { + try { + return b('"use strict"; return (' + w + ").constructor;")(); + } catch { + } + }, A = /* @__PURE__ */ zf(), F = /* @__PURE__ */ Kf(), z = function() { + throw new y(); + }, K = A ? function() { + try { + return arguments.callee, z; + } catch { + try { + return A(arguments, "callee").get; + } catch { + return z; + } + } + }() : z, D = Xf()(), O = ue(), Q = pe(), Y = fe(), er = Kr(), G = zr(), H = {}, or = typeof Uint8Array > "u" || !O ? r : O(Uint8Array), V = { + __proto__: null, + "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError, + "%Array%": Array, + "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer, + "%ArrayIteratorPrototype%": D && O ? O([][Symbol.iterator]()) : r, + "%AsyncFromSyncIteratorPrototype%": r, + "%AsyncFunction%": H, + "%AsyncGenerator%": H, + "%AsyncGeneratorFunction%": H, + "%AsyncIteratorPrototype%": H, + "%Atomics%": typeof Atomics > "u" ? r : Atomics, + "%BigInt%": typeof BigInt > "u" ? r : BigInt, + "%BigInt64Array%": typeof BigInt64Array > "u" ? r : BigInt64Array, + "%BigUint64Array%": typeof BigUint64Array > "u" ? r : BigUint64Array, + "%Boolean%": Boolean, + "%DataView%": typeof DataView > "u" ? r : DataView, + "%Date%": Date, + "%decodeURI%": decodeURI, + "%decodeURIComponent%": decodeURIComponent, + "%encodeURI%": encodeURI, + "%encodeURIComponent%": encodeURIComponent, + "%Error%": t, + "%eval%": eval, + // eslint-disable-line no-eval + "%EvalError%": a, + "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array, + "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array, + "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry, + "%Function%": b, + "%GeneratorFunction%": H, + "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array, + "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array, + "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array, + "%isFinite%": isFinite, + "%isNaN%": isNaN, + "%IteratorPrototype%": D && O ? O(O([][Symbol.iterator]())) : r, + "%JSON%": typeof JSON == "object" ? JSON : r, + "%Map%": typeof Map > "u" ? r : Map, + "%MapIteratorPrototype%": typeof Map > "u" || !D || !O ? r : O((/* @__PURE__ */ new Map())[Symbol.iterator]()), + "%Math%": Math, + "%Number%": Number, + "%Object%": e, + "%Object.getOwnPropertyDescriptor%": A, + "%parseFloat%": parseFloat, + "%parseInt%": parseInt, + "%Promise%": typeof Promise > "u" ? r : Promise, + "%Proxy%": typeof Proxy > "u" ? r : Proxy, + "%RangeError%": n, + "%ReferenceError%": i, + "%Reflect%": typeof Reflect > "u" ? r : Reflect, + "%RegExp%": RegExp, + "%Set%": typeof Set > "u" ? r : Set, + "%SetIteratorPrototype%": typeof Set > "u" || !D || !O ? r : O((/* @__PURE__ */ new Set())[Symbol.iterator]()), + "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer, + "%String%": String, + "%StringIteratorPrototype%": D && O ? O(""[Symbol.iterator]()) : r, + "%Symbol%": D ? Symbol : r, + "%SyntaxError%": o, + "%ThrowTypeError%": K, + "%TypedArray%": or, + "%TypeError%": y, + "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array, + "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray, + "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array, + "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array, + "%URIError%": f, + "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap, + "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef, + "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet, + "%Function.prototype.call%": G, + "%Function.prototype.apply%": er, + "%Object.defineProperty%": F, + "%Object.getPrototypeOf%": Q, + "%Math.abs%": g, + "%Math.floor%": h, + "%Math.max%": v, + "%Math.min%": E, + "%Math.pow%": $, + "%Math.round%": j, + "%Math.sign%": I, + "%Reflect.getPrototypeOf%": Y + }; + if (O) + try { + null.error; + } catch (w) { + var nr = O(O(w)); + V["%Error.prototype%"] = nr; + } + var dr = function w(s) { + var S; + if (s === "%AsyncFunction%") + S = U("async function () {}"); + else if (s === "%GeneratorFunction%") + S = U("function* () {}"); + else if (s === "%AsyncGeneratorFunction%") + S = U("async function* () {}"); + else if (s === "%AsyncGenerator%") { + var l = w("%AsyncGeneratorFunction%"); + l && (S = l.prototype); + } else if (s === "%AsyncIteratorPrototype%") { + var B = w("%AsyncGenerator%"); + B && O && (S = O(B.prototype)); + } + return V[s] = S, S; + }, N = { + __proto__: null, + "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], + "%ArrayPrototype%": ["Array", "prototype"], + "%ArrayProto_entries%": ["Array", "prototype", "entries"], + "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], + "%ArrayProto_keys%": ["Array", "prototype", "keys"], + "%ArrayProto_values%": ["Array", "prototype", "values"], + "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], + "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], + "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], + "%BooleanPrototype%": ["Boolean", "prototype"], + "%DataViewPrototype%": ["DataView", "prototype"], + "%DatePrototype%": ["Date", "prototype"], + "%ErrorPrototype%": ["Error", "prototype"], + "%EvalErrorPrototype%": ["EvalError", "prototype"], + "%Float32ArrayPrototype%": ["Float32Array", "prototype"], + "%Float64ArrayPrototype%": ["Float64Array", "prototype"], + "%FunctionPrototype%": ["Function", "prototype"], + "%Generator%": ["GeneratorFunction", "prototype"], + "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], + "%Int8ArrayPrototype%": ["Int8Array", "prototype"], + "%Int16ArrayPrototype%": ["Int16Array", "prototype"], + "%Int32ArrayPrototype%": ["Int32Array", "prototype"], + "%JSONParse%": ["JSON", "parse"], + "%JSONStringify%": ["JSON", "stringify"], + "%MapPrototype%": ["Map", "prototype"], + "%NumberPrototype%": ["Number", "prototype"], + "%ObjectPrototype%": ["Object", "prototype"], + "%ObjProto_toString%": ["Object", "prototype", "toString"], + "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], + "%PromisePrototype%": ["Promise", "prototype"], + "%PromiseProto_then%": ["Promise", "prototype", "then"], + "%Promise_all%": ["Promise", "all"], + "%Promise_reject%": ["Promise", "reject"], + "%Promise_resolve%": ["Promise", "resolve"], + "%RangeErrorPrototype%": ["RangeError", "prototype"], + "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], + "%RegExpPrototype%": ["RegExp", "prototype"], + "%SetPrototype%": ["Set", "prototype"], + "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], + "%StringPrototype%": ["String", "prototype"], + "%SymbolPrototype%": ["Symbol", "prototype"], + "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], + "%TypedArrayPrototype%": ["TypedArray", "prototype"], + "%TypeErrorPrototype%": ["TypeError", "prototype"], + "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], + "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], + "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], + "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], + "%URIErrorPrototype%": ["URIError", "prototype"], + "%WeakMapPrototype%": ["WeakMap", "prototype"], + "%WeakSetPrototype%": ["WeakSet", "prototype"] + }, P = Or(), R = /* @__PURE__ */ Fr(), q = P.call(G, Array.prototype.concat), M = P.call(er, Array.prototype.splice), J = P.call(G, String.prototype.replace), X = P.call(G, String.prototype.slice), u = P.call(G, RegExp.prototype.exec), x = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, L = /\\(\\)?/g, k = function(s) { + var S = X(s, 0, 1), l = X(s, -1); + if (S === "%" && l !== "%") + throw new o("invalid intrinsic syntax, expected closing `%`"); + if (l === "%" && S !== "%") + throw new o("invalid intrinsic syntax, expected opening `%`"); + var B = []; + return J(s, x, function(T, Z, _, ar) { + B[B.length] = _ ? J(ar, L, "$1") : Z || T; + }), B; + }, C = function(s, S) { + var l = s, B; + if (R(N, l) && (B = N[l], l = "%" + B[0] + "%"), R(V, l)) { + var T = V[l]; + if (T === H && (T = dr(l)), typeof T > "u" && !S) + throw new y("intrinsic " + s + " exists, but is not available. Please file an issue!"); + return { + alias: B, + name: l, + value: T + }; + } + throw new o("intrinsic " + s + " does not exist!"); + }; + return ro = function(s, S) { + if (typeof s != "string" || s.length === 0) + throw new y("intrinsic name must be a non-empty string"); + if (arguments.length > 1 && typeof S != "boolean") + throw new y('"allowMissing" argument must be a boolean'); + if (u(/^%?[^%]*%?$/, s) === null) + throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); + var l = k(s), B = l.length > 0 ? l[0] : "", T = C("%" + B + "%", S), Z = T.name, _ = T.value, ar = !1, pr = T.alias; + pr && (B = pr[0], M(l, q([0, 1], pr))); + for (var lr = 1, ir = !0; lr < l.length; lr += 1) { + var rr = l[lr], cr = X(rr, 0, 1), vr = X(rr, -1); + if ((cr === '"' || cr === "'" || cr === "`" || vr === '"' || vr === "'" || vr === "`") && cr !== vr) + throw new o("property names with quotes must have matching quotes"); + if ((rr === "constructor" || !ir) && (ar = !0), B += "." + rr, Z = "%" + B + "%", R(V, Z)) + _ = V[Z]; + else if (_ != null) { + if (!(rr in _)) { + if (!S) + throw new y("base intrinsic for " + s + " exists, but the property is not available."); + return; + } + if (A && lr + 1 >= l.length) { + var sr = A(_, rr); + ir = !!sr, ir && "get" in sr && !("originalValue" in sr.get) ? _ = sr.get : _ = _[rr]; + } else + ir = R(_, rr), _ = _[rr]; + ir && !ar && (V[Z] = _); + } + } + return _; + }, ro; +} +var Li; +function Zf() { + if (Li) return Fe.exports; + Li = 1; + var r = /* @__PURE__ */ Qf(), e = /* @__PURE__ */ Nr(), t = r("%WeakSet%", !0), a = e("WeakSet.prototype.has", !0); + if (a) { + var n = e("WeakMap.prototype.has", !0); + Fe.exports = function(o) { + if (!o || typeof o != "object") + return !1; + try { + if (a(o, a), n) + try { + n(o, n); + } catch { + return !0; + } + return o instanceof t; + } catch { + } + return !1; + }; + } else + Fe.exports = function(o) { + return !1; + }; + return Fe.exports; +} +var eo, Hi; +function rp() { + if (Hi) return eo; + Hi = 1; + var r = /* @__PURE__ */ by(), e = /* @__PURE__ */ Py(), t = Vf(), a = /* @__PURE__ */ Zf(); + return eo = function(i) { + if (i && typeof i == "object") { + if (r(i)) + return "Map"; + if (e(i)) + return "Set"; + if (t(i)) + return "WeakMap"; + if (a(i)) + return "WeakSet"; + } + return !1; + }, eo; +} +var to, Vi; +function ep() { + if (Vi) return to; + Vi = 1; + var r = Function.prototype.toString, e = typeof Reflect == "object" && Reflect !== null && Reflect.apply, t, a; + if (typeof e == "function" && typeof Object.defineProperty == "function") + try { + t = Object.defineProperty({}, "length", { + get: function() { + throw a; + } + }), a = {}, e(function() { + throw 42; + }, null, t); + } catch (A) { + A !== a && (e = null); + } + else + e = null; + var n = /^\s*class\b/, i = function(F) { + try { + var z = r.call(F); + return n.test(z); + } catch { + return !1; + } + }, o = function(F) { + try { + return i(F) ? !1 : (r.call(F), !0); + } catch { + return !1; + } + }, y = Object.prototype.toString, f = "[object Object]", g = "[object Function]", h = "[object GeneratorFunction]", v = "[object HTMLAllCollection]", E = "[object HTML document.all class]", $ = "[object HTMLCollection]", j = typeof Symbol == "function" && !!Symbol.toStringTag, I = !(0 in [,]), b = function() { + return !1; + }; + if (typeof document == "object") { + var U = document.all; + y.call(U) === y.call(document.all) && (b = function(F) { + if ((I || !F) && (typeof F > "u" || typeof F == "object")) + try { + var z = y.call(F); + return (z === v || z === E || z === $ || z === f) && F("") == null; + } catch { + } + return !1; + }); + } + return to = e ? function(F) { + if (b(F)) + return !0; + if (!F || typeof F != "function" && typeof F != "object") + return !1; + try { + e(F, null, t); + } catch (z) { + if (z !== a) + return !1; + } + return !i(F) && o(F); + } : function(F) { + if (b(F)) + return !0; + if (!F || typeof F != "function" && typeof F != "object") + return !1; + if (j) + return o(F); + if (i(F)) + return !1; + var z = y.call(F); + return z !== g && z !== h && !/^\[object HTML/.test(z) ? !1 : o(F); + }, to; +} +var no, Ji; +function tp() { + if (Ji) return no; + Ji = 1; + var r = ep(), e = Object.prototype.toString, t = Object.prototype.hasOwnProperty, a = function(f, g, h) { + for (var v = 0, E = f.length; v < E; v++) + t.call(f, v) && (h == null ? g(f[v], v, f) : g.call(h, f[v], v, f)); + }, n = function(f, g, h) { + for (var v = 0, E = f.length; v < E; v++) + h == null ? g(f.charAt(v), v, f) : g.call(h, f.charAt(v), v, f); + }, i = function(f, g, h) { + for (var v in f) + t.call(f, v) && (h == null ? g(f[v], v, f) : g.call(h, f[v], v, f)); + }, o = function(f, g, h) { + if (!r(g)) + throw new TypeError("iterator must be a function"); + var v; + arguments.length >= 3 && (v = h), e.call(f) === "[object Array]" ? a(f, g, v) : typeof f == "string" ? n(f, g, v) : i(f, g, v); + }; + return no = o, no; +} +var oo, zi; +function np() { + return zi || (zi = 1, oo = [ + "Float32Array", + "Float64Array", + "Int8Array", + "Int16Array", + "Int32Array", + "Uint8Array", + "Uint8ClampedArray", + "Uint16Array", + "Uint32Array", + "BigInt64Array", + "BigUint64Array" + ]), oo; +} +var ao, Ki; +function op() { + if (Ki) return ao; + Ki = 1; + var r = /* @__PURE__ */ np(), e = typeof globalThis > "u" ? ge : globalThis; + return ao = function() { + for (var a = [], n = 0; n < r.length; n++) + typeof e[r[n]] == "function" && (a[a.length] = r[n]); + return a; + }, ao; +} +var io = { exports: {} }, yo, Yi; +function ap() { + return Yi || (Yi = 1, yo = function() { + if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") + return !1; + if (typeof Symbol.iterator == "symbol") + return !0; + var e = {}, t = Symbol("test"), a = Object(t); + if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(a) !== "[object Symbol]") + return !1; + var n = 42; + e[t] = n; + for (t in e) + return !1; + if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0) + return !1; + var i = Object.getOwnPropertySymbols(e); + if (i.length !== 1 || i[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t)) + return !1; + if (typeof Object.getOwnPropertyDescriptor == "function") { + var o = Object.getOwnPropertyDescriptor(e, t); + if (o.value !== n || o.enumerable !== !0) + return !1; + } + return !0; + }), yo; +} +var fo, Xi; +function ip() { + if (Xi) return fo; + Xi = 1; + var r = typeof Symbol < "u" && Symbol, e = ap(); + return fo = function() { + return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e(); + }, fo; +} +var po, Qi; +function yp() { + if (Qi) return po; + Qi = 1; + var r, e = /* @__PURE__ */ Rr(), t = /* @__PURE__ */ jr(), a = /* @__PURE__ */ Mr(), n = /* @__PURE__ */ _r(), i = /* @__PURE__ */ Er(), o = /* @__PURE__ */ gr(), y = /* @__PURE__ */ Dr(), f = Function, g = function(N) { + try { + return f('"use strict"; return (' + N + ").constructor;")(); + } catch { + } + }, h = Object.getOwnPropertyDescriptor; + if (h) + try { + h({}, ""); + } catch { + h = null; + } + var v = function() { + throw new o(); + }, E = h ? function() { + try { + return arguments.callee, v; + } catch { + try { + return h(arguments, "callee").get; + } catch { + return v; + } + } + }() : v, $ = ip()(), j = /* @__PURE__ */ Be()(), I = Object.getPrototypeOf || (j ? function(N) { + return N.__proto__; + } : null), b = {}, U = typeof Uint8Array > "u" || !I ? r : I(Uint8Array), A = { + __proto__: null, + "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError, + "%Array%": Array, + "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer, + "%ArrayIteratorPrototype%": $ && I ? I([][Symbol.iterator]()) : r, + "%AsyncFromSyncIteratorPrototype%": r, + "%AsyncFunction%": b, + "%AsyncGenerator%": b, + "%AsyncGeneratorFunction%": b, + "%AsyncIteratorPrototype%": b, + "%Atomics%": typeof Atomics > "u" ? r : Atomics, + "%BigInt%": typeof BigInt > "u" ? r : BigInt, + "%BigInt64Array%": typeof BigInt64Array > "u" ? r : BigInt64Array, + "%BigUint64Array%": typeof BigUint64Array > "u" ? r : BigUint64Array, + "%Boolean%": Boolean, + "%DataView%": typeof DataView > "u" ? r : DataView, + "%Date%": Date, + "%decodeURI%": decodeURI, + "%decodeURIComponent%": decodeURIComponent, + "%encodeURI%": encodeURI, + "%encodeURIComponent%": encodeURIComponent, + "%Error%": e, + "%eval%": eval, + // eslint-disable-line no-eval + "%EvalError%": t, + "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array, + "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array, + "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry, + "%Function%": f, + "%GeneratorFunction%": b, + "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array, + "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array, + "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array, + "%isFinite%": isFinite, + "%isNaN%": isNaN, + "%IteratorPrototype%": $ && I ? I(I([][Symbol.iterator]())) : r, + "%JSON%": typeof JSON == "object" ? JSON : r, + "%Map%": typeof Map > "u" ? r : Map, + "%MapIteratorPrototype%": typeof Map > "u" || !$ || !I ? r : I((/* @__PURE__ */ new Map())[Symbol.iterator]()), + "%Math%": Math, + "%Number%": Number, + "%Object%": Object, + "%parseFloat%": parseFloat, + "%parseInt%": parseInt, + "%Promise%": typeof Promise > "u" ? r : Promise, + "%Proxy%": typeof Proxy > "u" ? r : Proxy, + "%RangeError%": a, + "%ReferenceError%": n, + "%Reflect%": typeof Reflect > "u" ? r : Reflect, + "%RegExp%": RegExp, + "%Set%": typeof Set > "u" ? r : Set, + "%SetIteratorPrototype%": typeof Set > "u" || !$ || !I ? r : I((/* @__PURE__ */ new Set())[Symbol.iterator]()), + "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer, + "%String%": String, + "%StringIteratorPrototype%": $ && I ? I(""[Symbol.iterator]()) : r, + "%Symbol%": $ ? Symbol : r, + "%SyntaxError%": i, + "%ThrowTypeError%": E, + "%TypedArray%": U, + "%TypeError%": o, + "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array, + "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray, + "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array, + "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array, + "%URIError%": y, + "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap, + "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef, + "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet + }; + if (I) + try { + null.error; + } catch (N) { + var F = I(I(N)); + A["%Error.prototype%"] = F; + } + var z = function N(P) { + var R; + if (P === "%AsyncFunction%") + R = g("async function () {}"); + else if (P === "%GeneratorFunction%") + R = g("function* () {}"); + else if (P === "%AsyncGeneratorFunction%") + R = g("async function* () {}"); + else if (P === "%AsyncGenerator%") { + var q = N("%AsyncGeneratorFunction%"); + q && (R = q.prototype); + } else if (P === "%AsyncIteratorPrototype%") { + var M = N("%AsyncGenerator%"); + M && I && (R = I(M.prototype)); + } + return A[P] = R, R; + }, K = { + __proto__: null, + "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], + "%ArrayPrototype%": ["Array", "prototype"], + "%ArrayProto_entries%": ["Array", "prototype", "entries"], + "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], + "%ArrayProto_keys%": ["Array", "prototype", "keys"], + "%ArrayProto_values%": ["Array", "prototype", "values"], + "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], + "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], + "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], + "%BooleanPrototype%": ["Boolean", "prototype"], + "%DataViewPrototype%": ["DataView", "prototype"], + "%DatePrototype%": ["Date", "prototype"], + "%ErrorPrototype%": ["Error", "prototype"], + "%EvalErrorPrototype%": ["EvalError", "prototype"], + "%Float32ArrayPrototype%": ["Float32Array", "prototype"], + "%Float64ArrayPrototype%": ["Float64Array", "prototype"], + "%FunctionPrototype%": ["Function", "prototype"], + "%Generator%": ["GeneratorFunction", "prototype"], + "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], + "%Int8ArrayPrototype%": ["Int8Array", "prototype"], + "%Int16ArrayPrototype%": ["Int16Array", "prototype"], + "%Int32ArrayPrototype%": ["Int32Array", "prototype"], + "%JSONParse%": ["JSON", "parse"], + "%JSONStringify%": ["JSON", "stringify"], + "%MapPrototype%": ["Map", "prototype"], + "%NumberPrototype%": ["Number", "prototype"], + "%ObjectPrototype%": ["Object", "prototype"], + "%ObjProto_toString%": ["Object", "prototype", "toString"], + "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], + "%PromisePrototype%": ["Promise", "prototype"], + "%PromiseProto_then%": ["Promise", "prototype", "then"], + "%Promise_all%": ["Promise", "all"], + "%Promise_reject%": ["Promise", "reject"], + "%Promise_resolve%": ["Promise", "resolve"], + "%RangeErrorPrototype%": ["RangeError", "prototype"], + "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], + "%RegExpPrototype%": ["RegExp", "prototype"], + "%SetPrototype%": ["Set", "prototype"], + "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], + "%StringPrototype%": ["String", "prototype"], + "%SymbolPrototype%": ["Symbol", "prototype"], + "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], + "%TypedArrayPrototype%": ["TypedArray", "prototype"], + "%TypeErrorPrototype%": ["TypeError", "prototype"], + "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], + "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], + "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], + "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], + "%URIErrorPrototype%": ["URIError", "prototype"], + "%WeakMapPrototype%": ["WeakMap", "prototype"], + "%WeakSetPrototype%": ["WeakSet", "prototype"] + }, D = Or(), O = /* @__PURE__ */ Fr(), Q = D.call(Function.call, Array.prototype.concat), Y = D.call(Function.apply, Array.prototype.splice), er = D.call(Function.call, String.prototype.replace), G = D.call(Function.call, String.prototype.slice), H = D.call(Function.call, RegExp.prototype.exec), or = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, V = /\\(\\)?/g, nr = function(P) { + var R = G(P, 0, 1), q = G(P, -1); + if (R === "%" && q !== "%") + throw new i("invalid intrinsic syntax, expected closing `%`"); + if (q === "%" && R !== "%") + throw new i("invalid intrinsic syntax, expected opening `%`"); + var M = []; + return er(P, or, function(J, X, u, x) { + M[M.length] = u ? er(x, V, "$1") : X || J; + }), M; + }, dr = function(P, R) { + var q = P, M; + if (O(K, q) && (M = K[q], q = "%" + M[0] + "%"), O(A, q)) { + var J = A[q]; + if (J === b && (J = z(q)), typeof J > "u" && !R) + throw new o("intrinsic " + P + " exists, but is not available. Please file an issue!"); + return { + alias: M, + name: q, + value: J + }; + } + throw new i("intrinsic " + P + " does not exist!"); + }; + return po = function(P, R) { + if (typeof P != "string" || P.length === 0) + throw new o("intrinsic name must be a non-empty string"); + if (arguments.length > 1 && typeof R != "boolean") + throw new o('"allowMissing" argument must be a boolean'); + if (H(/^%?[^%]*%?$/, P) === null) + throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); + var q = nr(P), M = q.length > 0 ? q[0] : "", J = dr("%" + M + "%", R), X = J.name, u = J.value, x = !1, L = J.alias; + L && (M = L[0], Y(q, Q([0, 1], L))); + for (var k = 1, C = !0; k < q.length; k += 1) { + var w = q[k], s = G(w, 0, 1), S = G(w, -1); + if ((s === '"' || s === "'" || s === "`" || S === '"' || S === "'" || S === "`") && s !== S) + throw new i("property names with quotes must have matching quotes"); + if ((w === "constructor" || !C) && (x = !0), M += "." + w, X = "%" + M + "%", O(A, X)) + u = A[X]; + else if (u != null) { + if (!(w in u)) { + if (!R) + throw new o("base intrinsic for " + P + " exists, but the property is not available."); + return; + } + if (h && k + 1 >= q.length) { + var l = h(u, w); + C = !!l, C && "get" in l && !("originalValue" in l.get) ? u = l.get : u = u[w]; + } else + C = O(u, w), u = u[w]; + C && !x && (A[X] = u); + } + } + return u; + }, po; +} +var uo, Zi; +function fp() { + if (Zi) return uo; + Zi = 1; + var r = /* @__PURE__ */ yp(), e = r("%Object.defineProperty%", !0) || !1; + if (e) + try { + e({}, "a", { value: 1 }); + } catch { + e = !1; + } + return uo = e, uo; +} +var ry; +function pp() { + return ry || (ry = 1, function(r) { + var e = /* @__PURE__ */ he(), t = /* @__PURE__ */ fp(), a = ye(), n = qe(); + r.exports = function(o) { + var y = a(arguments), f = o.length - (arguments.length - 1); + return e( + y, + 1 + (f > 0 ? f : 0), + !0 + ); + }, t ? t(r.exports, "apply", { value: n }) : r.exports.apply = n; + }(io)), io.exports; +} +var so, ey; +function up() { + if (ey) return so; + ey = 1; + var r = tp(), e = /* @__PURE__ */ op(), t = pp(), a = /* @__PURE__ */ Nr(), n = /* @__PURE__ */ vy(), i = a("Object.prototype.toString"), o = Xr()(), y = typeof globalThis > "u" ? ge : globalThis, f = e(), g = a("String.prototype.slice"), h = Object.getPrototypeOf, v = a("Array.prototype.indexOf", !0) || function(b, U) { + for (var A = 0; A < b.length; A += 1) + if (b[A] === U) + return A; + return -1; + }, E = { __proto__: null }; + o && n && h ? r(f, function(I) { + var b = new y[I](); + if (Symbol.toStringTag in b) { + var U = h(b), A = n(U, Symbol.toStringTag); + if (!A) { + var F = h(U); + A = n(F, Symbol.toStringTag); + } + E["$" + I] = t(A.get); + } + }) : r(f, function(I) { + var b = new y[I](), U = b.slice || b.set; + U && (E["$" + I] = t(U)); + }); + var $ = function(b) { + var U = !1; + return r( + // eslint-disable-next-line no-extra-parens + /** @type {Record<`\$${TypedArrayName}`, Getter>} */ + /** @type {any} */ + E, + /** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */ + function(A, F) { + if (!U) + try { + "$" + A(b) === F && (U = g(F, 1)); + } catch { + } + } + ), U; + }, j = function(b) { + var U = !1; + return r( + // eslint-disable-next-line no-extra-parens + /** @type {Record<`\$${TypedArrayName}`, Getter>} */ + /** @type {any} */ + E, + /** @type {(getter: typeof cache, name: `\$${import('.').TypedArrayName}`) => void} */ + function(A, F) { + if (!U) + try { + A(b), U = g(F, 1); + } catch { + } + } + ), U; + }; + return so = function(b) { + if (!b || typeof b != "object") + return !1; + if (!o) { + var U = g(i(b), 8, -1); + return v(f, U) > -1 ? U : U !== "Object" ? !1 : j(b); + } + return n ? $(b) : null; + }, so; +} +var lo, ty; +function sp() { + if (ty) return lo; + ty = 1; + var r = /* @__PURE__ */ Nr(), e = r("ArrayBuffer.prototype.byteLength", !0), t = /* @__PURE__ */ Ey(); + return lo = function(n) { + return t(n) ? e ? e(n) : n.byteLength : NaN; + }, lo; +} +var co, ny; +function lp() { + if (ny) return co; + ny = 1; + var r = Yy(), e = se(), t = nf(), a = /* @__PURE__ */ dy(), n = $f(), i = Ff(), o = Uf(), y = /* @__PURE__ */ gy(), f = Sy(), g = /* @__PURE__ */ Ey(), h = /* @__PURE__ */ Df(), v = Nf(), E = /* @__PURE__ */ Tf(), $ = vo(), j = Hf(), I = /* @__PURE__ */ rp(), b = /* @__PURE__ */ up(), U = /* @__PURE__ */ sp(), A = e("SharedArrayBuffer.prototype.byteLength", !0), F = e("Date.prototype.getTime"), z = Object.getPrototypeOf, K = e("Object.prototype.toString"), D = a("%Set%", !0), O = e("Map.prototype.has", !0), Q = e("Map.prototype.get", !0), Y = e("Map.prototype.size", !0), er = e("Set.prototype.add", !0), G = e("Set.prototype.delete", !0), H = e("Set.prototype.has", !0), or = e("Set.prototype.size", !0); + function V(u, x, L, k) { + for (var C = n(u), w; (w = C.next()) && !w.done; ) + if (R(x, w.value, L, k)) + return G(u, w.value), !0; + return !1; + } + function nr(u) { + if (typeof u > "u") + return null; + if (typeof u != "object") + return typeof u == "symbol" ? !1 : typeof u == "string" || typeof u == "number" ? +u == +u : !0; + } + function dr(u, x, L, k, C, w) { + var s = nr(L); + if (s != null) + return s; + var S = Q(x, s), l = r({}, C, { strict: !1 }); + return typeof S > "u" && !O(x, s) || !R(k, S, l, w) ? !1 : !O(u, s) && R(k, S, l, w); + } + function N(u, x, L) { + var k = nr(L); + return k ?? (H(x, k) && !H(u, k)); + } + function P(u, x, L, k, C, w) { + for (var s = n(u), S, l; (S = s.next()) && !S.done; ) + if (l = S.value, // eslint-disable-next-line no-use-before-define + R(L, l, C, w) && R(k, Q(x, l), C, w)) + return G(u, l), !0; + return !1; + } + function R(u, x, L, k) { + var C = L || {}; + if (C.strict ? o(u, x) : u === x) + return !0; + var w = j(u), s = j(x); + if (w !== s) + return !1; + if (!u || !x || typeof u != "object" && typeof x != "object") + return C.strict ? o(u, x) : u == x; + var S = k.has(u), l = k.has(x), B; + if (S && l) { + if (k.get(u) === k.get(x)) + return !0; + } else + B = {}; + return S || k.set(u, B), l || k.set(x, B), X(u, x, C, k); + } + function q(u) { + return !u || typeof u != "object" || typeof u.length != "number" || typeof u.copy != "function" || typeof u.slice != "function" || u.length > 0 && typeof u[0] != "number" ? !1 : !!(u.constructor && u.constructor.isBuffer && u.constructor.isBuffer(u)); + } + function M(u, x, L, k) { + if (or(u) !== or(x)) + return !1; + for (var C = n(u), w = n(x), s, S, l; (s = C.next()) && !s.done; ) + if (s.value && typeof s.value == "object") + l || (l = new D()), er(l, s.value); + else if (!H(x, s.value)) { + if (L.strict || !N(u, x, s.value)) + return !1; + l || (l = new D()), er(l, s.value); + } + if (l) { + for (; (S = w.next()) && !S.done; ) + if (S.value && typeof S.value == "object") { + if (!V(l, S.value, L.strict, k)) + return !1; + } else if (!L.strict && !H(u, S.value) && !V(l, S.value, L.strict, k)) + return !1; + return or(l) === 0; + } + return !0; + } + function J(u, x, L, k) { + if (Y(u) !== Y(x)) + return !1; + for (var C = n(u), w = n(x), s, S, l, B, T, Z; (s = C.next()) && !s.done; ) + if (B = s.value[0], T = s.value[1], B && typeof B == "object") + l || (l = new D()), er(l, B); + else if (Z = Q(x, B), typeof Z > "u" && !O(x, B) || !R(T, Z, L, k)) { + if (L.strict || !dr(u, x, B, T, L, k)) + return !1; + l || (l = new D()), er(l, B); + } + if (l) { + for (; (S = w.next()) && !S.done; ) + if (B = S.value[0], Z = S.value[1], B && typeof B == "object") { + if (!P(l, u, B, Z, L, k)) + return !1; + } else if (!L.strict && (!u.has(B) || !R(Q(u, B), Z, L, k)) && !P(l, u, B, Z, r({}, L, { strict: !1 }), k)) + return !1; + return or(l) === 0; + } + return !0; + } + function X(u, x, L, k) { + var C, w; + if (typeof u != typeof x || u == null || x == null || K(u) !== K(x) || y(u) !== y(x)) + return !1; + var s = f(u), S = f(x); + if (s !== S) + return !1; + var l = u instanceof Error, B = x instanceof Error; + if (l !== B || (l || B) && (u.name !== x.name || u.message !== x.message)) + return !1; + var T = v(u), Z = v(x); + if (T !== Z || (T || Z) && (u.source !== x.source || t(u) !== t(x))) + return !1; + var _ = h(u), ar = h(x); + if (_ !== ar || (_ || ar) && F(u) !== F(x) || L.strict && z && z(u) !== z(x)) + return !1; + var pr = b(u), lr = b(x); + if (pr !== lr) + return !1; + if (pr || lr) { + if (u.length !== x.length) + return !1; + for (C = 0; C < u.length; C++) + if (u[C] !== x[C]) + return !1; + return !0; + } + var ir = q(u), rr = q(x); + if (ir !== rr) + return !1; + if (ir || rr) { + if (u.length !== x.length) + return !1; + for (C = 0; C < u.length; C++) + if (u[C] !== x[C]) + return !1; + return !0; + } + var cr = g(u), vr = g(x); + if (cr !== vr) + return !1; + if (cr || vr) + return U(u) !== U(x) ? !1 : typeof Uint8Array == "function" && R(new Uint8Array(u), new Uint8Array(x), L, k); + var sr = E(u), Qr = E(x); + if (sr !== Qr) + return !1; + if (sr || Qr) + return A(u) !== A(x) ? !1 : typeof Uint8Array == "function" && R(new Uint8Array(u), new Uint8Array(x), L, k); + if (typeof u != typeof x) + return !1; + var br = $(u), wr = $(x); + if (br.length !== wr.length) + return !1; + for (br.sort(), wr.sort(), C = br.length - 1; C >= 0; C--) + if (br[C] != wr[C]) + return !1; + for (C = br.length - 1; C >= 0; C--) + if (w = br[C], !R(u[w], x[w], L, k)) + return !1; + var Tr = I(u), $r = I(x); + return Tr !== $r ? !1 : Tr === "Set" || $r === "Set" ? M(u, x, L, k) : Tr === "Map" ? J(u, x, L, k) : !0; + } + return co = function(x, L, k) { + return R(x, L, k, i()); + }, co; +} +var cp = lp(); +const vp = /* @__PURE__ */ Fy(cp); +class oy { + /** + * get/set caret position + * @param {HTMLColletion} target + */ + constructor(e) { + this.target = e, this.isContentEditable = e && e.contentEditable; + } + /** + * get caret position + * @returns {number} : -1 if elememnt is not in focus + */ + getPos() { + if (document.activeElement !== this.target) + return -1; + if (this.isContentEditable === "true") { + this.target.focus(); + let e = document.getSelection().getRangeAt(0), t = e.cloneRange(); + return t.selectNodeContents(this.target), t.setEnd(e.endContainer, e.endOffset), t.toString().length; + } + return this.target.selectionStart; + } + /** + * set caret position + * @param {number} position - caret position + */ + setPos(e) { + if (this.isContentEditable === "true") { + if (e >= 0) { + var t = window.getSelection(), a = this.createRange(this.target, { + count: e + }); + a && (a.collapse(!1), t.removeAllRanges(), t.addRange(a)); + } + } else + this.target.setSelectionRange(e, e); + } + createRange(e, t, a) { + if (a || (a = document.createRange(), a.selectNode(e), a.setStart(e, 0)), t.count === 0) + a.setEnd(e, t.count); + else if (e && t.count > 0) + if (e.nodeType === Node.TEXT_NODE) + e.textContent.length < t.count ? t.count -= e.textContent.length : (a.setEnd(e, t.count), t.count = 0); + else + for (var n = 0; n < e.childNodes.length && (a = this.createRange(e.childNodes[n], t, a), t.count !== 0); n++) + ; + return a; + } +} +class dp { + /** + * Creates a new instance of the Observer object. + * @param {Function} registerChange - Function that register a change in the history stack. + * @param {String} holder - Editor.js holder id. + * @param {Number} debounceTimer Delay time for the debouncer. + */ + constructor(e, t, a) { + Sr(this, "debounceTimer"); + Sr(this, "holder"); + Sr(this, "mutationDebouncer"); + Sr(this, "observer"); + this.holder = t, this.observer = null, this.debounceTimer = a, this.mutationDebouncer = this.debounce(() => { + e(); + }, this.debounceTimer); + } + /** + * Sets a mutation observer to catch every change in the editor. + */ + setMutationObserver() { + const e = { + childList: !0, + attributes: !0, + subtree: !0, + characterData: !0, + characterDataOldValue: !0 + }, t = this.holder.querySelector(".codex-editor__redactor"); + this.observer = new MutationObserver((a) => { + this.mutationHandler(a); + }), this.observer.observe(t, e); + } + /** + * Handles the mutations and checks if a new mutation has been produced. + * @param {Object} mutationList The registered mutations + */ + mutationHandler(e) { + let t = !1; + e.forEach((a) => { + switch (a.type) { + case "childList": + a.target === this.holder ? this.onDestroy() : t = !0; + break; + case "characterData": + t = !0; + break; + case "attributes": + a.target instanceof Element && !a.target.classList.contains("ce-block") && !a.target.classList.contains("tc-toolbox") && (t = !0); + break; + } + }), t && this.mutationDebouncer(); + } + /** + * Delays invoking a function until after wait millis have elapsed. + * @param {Function} callback The function to be delayed. + * @param {Number} wait The deplay time in millis. + */ + debounce(e, t) { + let a; + return (...n) => { + const i = this; + window.clearTimeout(a), a = window.setTimeout(() => e.apply(i, n), t); + }; + } + onDestroy() { + const e = new CustomEvent("destroy"); + document.dispatchEvent(e), this.observer != null && this.observer.disconnect(); + } +} +class hp { + /** + * @param options — Plugin custom options. + */ + constructor({ editor: e, config: t = {}, onUpdate: a, maxLength: n }) { + Sr(this, "blocks"); + Sr(this, "caret"); + Sr(this, "config"); + Sr(this, "defaultBlock"); + Sr(this, "editor"); + Sr(this, "holder"); + Sr(this, "initialItem"); + Sr(this, "maxLength"); + Sr(this, "onUpdate"); + Sr(this, "position", 0); + Sr(this, "readOnly"); + Sr(this, "shouldSaveHistory"); + Sr(this, "stack", []); + const i = { + maxLength: 30, + onUpdate() { + }, + config: { + debounceTimer: 200, + shortcuts: { + undo: ["CMD+Z"], + redo: ["CMD+Y", "CMD+SHIFT+Z"] + } + } + }, o = e, { blocks: y, caret: f } = o, { configuration: g } = o, { holder: h, defaultBlock: v } = g, E = i.config.shortcuts, { shortcuts: $ } = t, j = { ...E, ...$ }, I = Array.isArray(j.undo) ? j.undo : [j.undo], b = Array.isArray(j.redo) ? j.redo : [j.redo], U = i.config.debounceTimer, { debounceTimer: A = U } = t; + this.holder = typeof h == "string" ? document.getElementById(h) : h, this.editor = o, this.defaultBlock = v, this.blocks = y, this.caret = f, this.shouldSaveHistory = !0, this.readOnly = g.readOnly, this.maxLength = n || i.maxLength, this.onUpdate = a || i.onUpdate, this.config = { debounceTimer: A, shortcuts: { undo: I, redo: b } }, this.holder && new dp( + () => this.registerChange(), + this.holder, + this.config.debounceTimer + ).setMutationObserver(), this.setEventListeners(), this.initialItem = null, this.clear(); + } + /** + * Notify core that read-only mode is suppoorted + * + * @returns {boolean} + */ + static get isReadOnlySupported() { + return !0; + } + /** + * Truncates the history stack when it excedes the limit of changes. + * + * @param {Object} stack Changes history stack. + * @param {Number} stack Limit of changes recorded by the history stack. + */ + truncate(e, t) { + for (; e.length > t; ) + e.shift(); + } + /** + * Initializes the stack when the user provides initial data. + * + * @param {Object} initialItem Initial data provided by the user. + */ + initialize(e) { + const t = "blocks" in e ? e.blocks : e, n = { index: t.length - 1, state: t }; + this.stack[0] = n, this.initialItem = n; + } + /** + * Clears the history stack. + */ + clear() { + this.stack = this.initialItem ? [this.initialItem] : [ + { + index: 0, + state: [{ type: this.defaultBlock, data: {} }] + } + ], this.position = 0, this.onUpdate(); + } + /** + * Returns true if readOnly was toggled to true + * @returns {Node} Indirectly shows if readOnly was set to true or false + */ + setReadOnly() { + var t; + const e = (t = this.holder) == null ? void 0 : t.querySelector(".ce-toolbox"); + this.readOnly = !e; + } + /** + * Registers the data returned by API's save method into the history stack. + */ + registerChange() { + this.setReadOnly(), this.readOnly || (this.editor && this.editor.save && this.shouldSaveHistory && this.editor.save().then((e) => { + this.editorDidUpdate(e.blocks) && this.save(e.blocks); + }), this.shouldSaveHistory = !0); + } + /** + * Checks if the saved data has to be added to the history stack. + * + * @param {Object} newData New data to be saved in the history stack. + * @returns {Boolean} + */ + editorDidUpdate(e) { + const { state: t } = this.stack[this.position]; + return e.length ? e.length !== t.length ? !0 : JSON.stringify(t) !== JSON.stringify(e) : !1; + } + /** + * Adds the saved data in the history stack and updates current position. + */ + save(e) { + this.position >= this.maxLength && this.truncate(this.stack, this.maxLength), this.position = Math.min(this.position, this.stack.length - 1), this.stack = this.stack.slice(0, this.position + 1); + const t = this.blocks.getCurrentBlockIndex(), a = this.blocks.getBlocksCount(); + let n = t; + e[t] || (n -= a - e.length); + const i = e[n] && (e[n].type === "paragraph" || e[n].type === "header") ? this.getCaretIndex(t) : null; + this.stack.push({ index: n, state: e, caretIndex: i }), this.position += 1, this.onUpdate(); + } + /** + * Gets the caret position. + * @param {Number} index is the block index + * @returns The caret position + */ + getCaretIndex(e) { + var a; + const t = (a = this.holder) == null ? void 0 : a.getElementsByClassName("ce-block__content"); + return t ? new oy(t[e].firstChild).getPos() : null; + } + /** + * Decreases the current position and update the respective block in the editor. + */ + async undo() { + if (this.canUndo()) { + const { state: e } = this.stack[this.position]; + this.position -= 1, this.shouldSaveHistory = !1; + const { caretIndex: t, index: a, state: n } = this.stack[this.position]; + await this.switchState(n, e), this.onUpdate(), this.blocks.getBlockByIndex(a) && (t ? this.setCaretIndex(a, t) : this.caret.setToBlock(a, "end")); + } + } + /** + * Sets the caret position. + * @param {Number} index is the block index + * @param {Number} caretIndex is the caret position + * @param {Array} state is the current state according to this.position. + */ + setCaretIndex(e, t) { + var n; + const a = (n = this.holder) == null ? void 0 : n.getElementsByClassName("ce-block__content"); + if (t && t !== -1 && a) { + const i = new oy(a[e].firstChild); + setTimeout(() => i.setPos(t), 50); + } else + this.caret.setToBlock(e, "end"); + } + /** + * Inserts new block + * @param {Array} state is the current state according to this.position. + * @param {Number} index is the block index + */ + insertBlock(e, t) { + this.blocks.insert(e[t].type, e[t].data, {}, t, !0); + } + /** + * Updates the passed block or render the state when the content was copied. + * @param {Array} state is the current state according to this.position. + * @param {Number} index is the block index. + */ + async updateModifiedBlock(e, t) { + const a = e[t]; + return a.id && this.editor.blocks.getById(a.id) ? this.blocks.update(a.id, a.data) : this.blocks.render({ blocks: e }); + } + /** + * Increases the current position and update the respective block in the editor. + */ + async redo() { + if (this.canRedo()) { + this.position += 1, this.shouldSaveHistory = !1; + const { caretIndex: e, index: t, state: a } = this.stack[this.position], { state: n } = this.stack[this.position - 1]; + await this.switchState(a, n), this.onUpdate(), this.blocks.getBlockByIndex(t) && (e ? this.setCaretIndex(t, e) : this.caret.setToBlock(t, "end")); + } + } + async switchState(e, t) { + t.reduce( + (n, i, o) => e.find((y) => y.id === i.id) ? n : [...n, o], + [] + ).sort((n, i) => i - n).forEach((n) => this.blocks.delete(n)), e.reduce( + (n, i, o) => t.find((y) => y.id === i.id) ? n : [...n, o], + [] + ).forEach((n) => this.insertBlock(e, n)); + const a = e.reduce((n, i, o) => { + const y = t.findIndex((f) => f.id === i.id); + return y > -1 && !vp(i, t[y]) ? [...n, o] : n; + }, []); + await Promise.all( + a.map(async (n) => await this.updateModifiedBlock(e, n)) + ); + } + /** + * Checks if the history stack can perform an undo action. + * + * @returns {Boolean} + */ + canUndo() { + return !this.readOnly && this.position > 0; + } + /** + * Checks if the history stack can perform a redo action. + * + * @returns {Boolean} + */ + canRedo() { + return !this.readOnly && this.position < this.count(); + } + /** + * Returns the number of changes recorded in the history stack. + * + * @returns {Number} + */ + count() { + return this.stack.length - 1; + } + /** + * Parses the keys passed in the shortcut property to accept CMD,ALT and SHIFT + * + * @param {Array} keys are the keys passed in shortcuts in config + * @returns {Array} + */ + parseKeys(e) { + const t = { + CMD: /(Mac)/i.test(navigator.platform) ? "metaKey" : "ctrlKey", + ALT: "altKey", + SHIFT: "shiftKey" + }, a = e.slice(0, -1).map((i) => t[i]), n = a.includes("shiftKey") && e.length === 2 ? e[e.length - 1].toUpperCase() : e[e.length - 1].toLowerCase(); + return a.push(n), a; + } + /** + * Sets events listeners to allow keyboard actions support + */ + setEventListeners() { + const { holder: e } = this, { shortcuts: t } = this.config, { redo: a, undo: n } = t, i = n.map( + (b) => b.replace(/ /g, "").split("+") + ), o = a.map( + (b) => b.replace(/ /g, "").split("+") + ), y = i.map((b) => this.parseKeys(b)), f = o.map((b) => this.parseKeys(b)), g = (b, U) => U.length === 2 && b[U[0]] && b.key.toLowerCase() === U[1], h = (b, U) => U.length === 3 && b[U[0]] && b[U[1]] && b.key.toLowerCase() === U[2], v = (b, U) => U.reduce( + (A, F) => A || g(b, F), + !1 + ), E = (b, U) => U.reduce( + (A, F) => A || h(b, F), + !1 + ), $ = (b, U, A) => !!(v(b, U) && !E(b, A) || E(b, U)), j = (b) => { + $(b, y, f) && (b.preventDefault(), this.undo()); + }, I = (b) => { + $(b, f, y) && (b.preventDefault(), this.redo()); + }; + if (e) { + const b = () => { + e.removeEventListener("keydown", j), e.removeEventListener("keydown", I); + }; + e.addEventListener("keydown", j), e.addEventListener("keydown", I), e.addEventListener("destroy", b); + } + } +} +export { + hp as default +}; diff --git a/dist/bundle.js b/dist/bundle.js index 026f0de..beb23f7 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -1,1939 +1,7 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -(function webpackUniversalModuleDefinition(root, factory) { - if(typeof exports === 'object' && typeof module === 'object') - module.exports = factory(); - else if(typeof define === 'function' && define.amd) - define([], factory); - else if(typeof exports === 'object') - exports["Undo"] = factory(); - else - root["Undo"] = factory(); -})(self, () => { -return /******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./src/index.js": -/*!**********************!*\ - !*** ./src/index.js ***! - \**********************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Undo)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ \"./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"./node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ \"./node_modules/@babel/runtime/helpers/esm/classCallCheck.js\");\n/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/createClass */ \"./node_modules/@babel/runtime/helpers/esm/createClass.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"./node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var deep_equal__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! deep-equal */ \"./node_modules/deep-equal/index.js\");\n/* harmony import */ var deep_equal__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(deep_equal__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var vanilla_caret_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vanilla-caret-js */ \"./node_modules/vanilla-caret-js/index.js\");\n/* harmony import */ var vanilla_caret_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(vanilla_caret_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _observer__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./observer */ \"./src/observer.js\");\n\n\n\n\n\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\n\n\n\n/**\n * Undo/Redo feature for Editor.js.\n *\n * @typedef {Object} Undo\n * @description Feature's initialization class.\n * @property {Object} editor — Editor.js instance object.\n * @property {Number} maxLength - Max amount of changes recorded by the history stack.\n * @property {Function} onUpdate - Callback called when the user performs an undo or redo action.\n * @property {Boolean} shouldSaveHistory - Defines if the plugin should save the change in the stack\n * @property {Object} initialItem - Initial data object.\n */\nvar Undo = /*#__PURE__*/function () {\n /**\n * @param options — Plugin custom options.\n */\n function Undo(_ref) {\n var _this = this;\n var editor = _ref.editor,\n _ref$config = _ref.config,\n config = _ref$config === void 0 ? {} : _ref$config,\n onUpdate = _ref.onUpdate,\n maxLength = _ref.maxLength;\n (0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(this, Undo);\n var defaultOptions = {\n maxLength: 30,\n onUpdate: function onUpdate() {},\n config: {\n debounceTimer: 200,\n shortcuts: {\n undo: [\"CMD+Z\"],\n redo: [\"CMD+Y\", \"CMD+SHIFT+Z\"]\n }\n }\n };\n var blocks = editor.blocks,\n caret = editor.caret;\n var configuration = editor.configuration;\n var holder = configuration.holder,\n defaultBlock = configuration.defaultBlock;\n var defaultShortcuts = defaultOptions.config.shortcuts;\n var configShortcuts = config.shortcuts;\n var shortcuts = _objectSpread(_objectSpread({}, defaultShortcuts), configShortcuts);\n var undo = Array.isArray(shortcuts.undo) ? shortcuts.undo : [shortcuts.undo];\n var redo = Array.isArray(shortcuts.redo) ? shortcuts.redo : [shortcuts.redo];\n var defaultDebounceTimer = defaultOptions.config.debounceTimer;\n var _config$debounceTimer = config.debounceTimer,\n debounceTimer = _config$debounceTimer === void 0 ? defaultDebounceTimer : _config$debounceTimer;\n this.holder = typeof holder === \"string\" ? document.getElementById(holder) : holder;\n this.editor = editor;\n this.defaultBlock = defaultBlock;\n this.blocks = blocks;\n this.caret = caret;\n this.shouldSaveHistory = true;\n this.readOnly = configuration.readOnly;\n this.maxLength = maxLength || defaultOptions.maxLength;\n this.onUpdate = onUpdate || defaultOptions.onUpdate;\n this.config = {\n debounceTimer: debounceTimer,\n shortcuts: {\n undo: undo,\n redo: redo\n }\n };\n var observer = new _observer__WEBPACK_IMPORTED_MODULE_8__[\"default\"](function () {\n return _this.registerChange();\n }, this.holder, this.config.debounceTimer);\n observer.setMutationObserver();\n this.setEventListeners();\n this.initialItem = null;\n this.clear();\n }\n\n /**\n * Notify core that read-only mode is suppoorted\n *\n * @returns {boolean}\n */\n return (0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(Undo, [{\n key: \"truncate\",\n value:\n /**\n * Truncates the history stack when it excedes the limit of changes.\n *\n * @param {Object} stack Changes history stack.\n * @param {Number} stack Limit of changes recorded by the history stack.\n */\n function truncate(stack, limit) {\n while (stack.length > limit) {\n stack.shift();\n }\n }\n\n /**\n * Initializes the stack when the user provides initial data.\n *\n * @param {Object} initialItem Initial data provided by the user.\n */\n }, {\n key: \"initialize\",\n value: function initialize(initialItem) {\n var initialData = \"blocks\" in initialItem ? initialItem.blocks : initialItem;\n var initialIndex = initialData.length - 1;\n var firstElement = {\n index: initialIndex,\n state: initialData\n };\n this.stack[0] = firstElement;\n this.initialItem = firstElement;\n }\n\n /**\n * Clears the history stack.\n */\n }, {\n key: \"clear\",\n value: function clear() {\n this.stack = this.initialItem ? [this.initialItem] : [{\n index: 0,\n state: [{\n type: this.defaultBlock,\n data: {}\n }]\n }];\n this.position = 0;\n this.onUpdate();\n }\n\n /**\n * Returns true if readOnly was toggled to true\n * @returns {Node} Indirectly shows if readOnly was set to true or false\n */\n }, {\n key: \"setReadOnly\",\n value: function setReadOnly() {\n var toolbox = this.holder.querySelector(\".ce-toolbox\");\n this.readOnly = !toolbox;\n }\n\n /**\n * Registers the data returned by API's save method into the history stack.\n */\n }, {\n key: \"registerChange\",\n value: function registerChange() {\n var _this2 = this;\n this.setReadOnly();\n if (!this.readOnly) {\n if (this.editor && this.editor.save && this.shouldSaveHistory) {\n this.editor.save().then(function (savedData) {\n if (_this2.editorDidUpdate(savedData.blocks)) _this2.save(savedData.blocks);\n });\n }\n this.shouldSaveHistory = true;\n }\n }\n\n /**\n * Checks if the saved data has to be added to the history stack.\n *\n * @param {Object} newData New data to be saved in the history stack.\n * @returns {Boolean}\n */\n }, {\n key: \"editorDidUpdate\",\n value: function editorDidUpdate(newData) {\n var state = this.stack[this.position].state;\n if (!newData.length) return false;\n if (newData.length !== state.length) return true;\n return JSON.stringify(state) !== JSON.stringify(newData);\n }\n\n /**\n * Adds the saved data in the history stack and updates current position.\n */\n }, {\n key: \"save\",\n value: function save(state) {\n if (this.position >= this.maxLength) {\n this.truncate(this.stack, this.maxLength);\n }\n this.position = Math.min(this.position, this.stack.length - 1);\n this.stack = this.stack.slice(0, this.position + 1);\n var index = this.blocks.getCurrentBlockIndex();\n var blockCount = this.blocks.getBlocksCount();\n var indexInState = index;\n if (!state[index]) indexInState -= blockCount - state.length;\n var caretIndex = state[indexInState] && (state[indexInState].type === \"paragraph\" || state[indexInState].type === \"header\") ? this.getCaretIndex(index) : null;\n this.stack.push({\n index: indexInState,\n state: state,\n caretIndex: caretIndex\n });\n this.position += 1;\n this.onUpdate();\n }\n\n /**\n * Gets the caret position.\n * @param {Number} index is the block index\n * @returns The caret position\n */\n }, {\n key: \"getCaretIndex\",\n value: function getCaretIndex(index) {\n var blocks = this.holder.getElementsByClassName(\"ce-block__content\");\n var caretBlock = new (vanilla_caret_js__WEBPACK_IMPORTED_MODULE_7___default())(blocks[index].firstChild);\n return caretBlock.getPos();\n }\n\n /**\n * Decreases the current position and update the respective block in the editor.\n */\n }, {\n key: \"undo\",\n value: (function () {\n var _undo = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[\"default\"])( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark(function _callee() {\n var currentState, _this$stack$this$posi, caretIndex, index, prevState, block;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap(function _callee$(_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n if (!this.canUndo()) {\n _context.next = 10;\n break;\n }\n currentState = this.stack[this.position].state;\n this.position -= 1;\n this.shouldSaveHistory = false;\n _this$stack$this$posi = this.stack[this.position], caretIndex = _this$stack$this$posi.caretIndex, index = _this$stack$this$posi.index, prevState = _this$stack$this$posi.state;\n _context.next = 7;\n return this.switchState(prevState, currentState);\n case 7:\n this.onUpdate();\n block = this.blocks.getBlockByIndex(index);\n if (block) {\n if (caretIndex) this.setCaretIndex(index, caretIndex);else this.caret.setToBlock(index, 'end');\n }\n case 10:\n case \"end\":\n return _context.stop();\n }\n }, _callee, this);\n }));\n function undo() {\n return _undo.apply(this, arguments);\n }\n return undo;\n }()\n /**\n * Sets the caret position.\n * @param {Number} index is the block index\n * @param {Number} caretIndex is the caret position\n * @param {Array} state is the current state according to this.position.\n */\n )\n }, {\n key: \"setCaretIndex\",\n value: function setCaretIndex(index, caretIndex) {\n if (caretIndex && caretIndex !== -1) {\n var blocks = this.holder.getElementsByClassName(\"ce-block__content\");\n var caretBlock = new (vanilla_caret_js__WEBPACK_IMPORTED_MODULE_7___default())(blocks[index].firstChild);\n setTimeout(function () {\n return caretBlock.setPos(caretIndex);\n }, 50);\n } else {\n this.caret.setToBlock(index, \"end\");\n }\n }\n\n /**\n * Inserts new block\n * @param {Array} state is the current state according to this.position.\n * @param {Number} index is the block index\n */\n }, {\n key: \"insertBlock\",\n value: (function () {\n var _insertBlock = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[\"default\"])( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark(function _callee2(state, index) {\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap(function _callee2$(_context2) {\n while (1) switch (_context2.prev = _context2.next) {\n case 0:\n _context2.next = 2;\n return this.blocks.insert(state[index].type, state[index].data, {}, index, true);\n case 2:\n case \"end\":\n return _context2.stop();\n }\n }, _callee2, this);\n }));\n function insertBlock(_x, _x2) {\n return _insertBlock.apply(this, arguments);\n }\n return insertBlock;\n }()\n /**\n * Updates the passed block or render the state when the content was copied.\n * @param {Array} state is the current state according to this.position.\n * @param {Number} index is the block index.\n */\n )\n }, {\n key: \"updateModifiedBlock\",\n value: (function () {\n var _updateModifiedBlock = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[\"default\"])( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark(function _callee3(state, index) {\n var block;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap(function _callee3$(_context3) {\n while (1) switch (_context3.prev = _context3.next) {\n case 0:\n block = state[index - 1];\n if (!this.editor.blocks.getById(block.id)) {\n _context3.next = 3;\n break;\n }\n return _context3.abrupt(\"return\", this.blocks.update(block.id, block.data));\n case 3:\n return _context3.abrupt(\"return\", this.blocks.render({\n blocks: state\n }));\n case 4:\n case \"end\":\n return _context3.stop();\n }\n }, _callee3, this);\n }));\n function updateModifiedBlock(_x3, _x4) {\n return _updateModifiedBlock.apply(this, arguments);\n }\n return updateModifiedBlock;\n }()\n /**\n * Increases the current position and update the respective block in the editor.\n */\n )\n }, {\n key: \"redo\",\n value: (function () {\n var _redo = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[\"default\"])( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark(function _callee4() {\n var _this$stack$this$posi2, caretIndex, index, nextState, currentState, block;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap(function _callee4$(_context4) {\n while (1) switch (_context4.prev = _context4.next) {\n case 0:\n if (!this.canRedo()) {\n _context4.next = 10;\n break;\n }\n this.position += 1;\n this.shouldSaveHistory = false;\n _this$stack$this$posi2 = this.stack[this.position], caretIndex = _this$stack$this$posi2.caretIndex, index = _this$stack$this$posi2.index, nextState = _this$stack$this$posi2.state;\n currentState = this.stack[this.position - 1].state;\n _context4.next = 7;\n return this.switchState(nextState, currentState);\n case 7:\n this.onUpdate();\n block = this.blocks.getBlockByIndex(index);\n if (block) {\n if (caretIndex) this.setCaretIndex(index, caretIndex);else this.caret.setToBlock(index, 'end');\n }\n case 10:\n case \"end\":\n return _context4.stop();\n }\n }, _callee4, this);\n }));\n function redo() {\n return _redo.apply(this, arguments);\n }\n return redo;\n }())\n }, {\n key: \"switchState\",\n value: function () {\n var _switchState = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[\"default\"])( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark(function _callee6(stateToApply, stateToCompare) {\n var _this3 = this;\n var indexesToDelete, indexesToAdd, idxToUpdate, updates;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap(function _callee6$(_context6) {\n while (1) switch (_context6.prev = _context6.next) {\n case 0:\n indexesToDelete = stateToCompare.reduce(function (acc, x, idx) {\n return stateToApply.find(function (y) {\n return y.id === x.id;\n }) ? acc : [].concat((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(acc), [idx]);\n }, []);\n indexesToDelete.forEach(function (i) {\n return _this3.blocks[\"delete\"](i);\n });\n indexesToAdd = stateToApply.reduce(function (acc, x, idx) {\n return stateToCompare.find(function (y) {\n return y.id === x.id;\n }) ? acc : [].concat((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(acc), [idx]);\n }, []);\n indexesToAdd.forEach(function (i) {\n return _this3.insertBlock(stateToApply, i);\n });\n idxToUpdate = stateToApply.reduce(function (acc, x, idxNew) {\n var idx = stateToCompare.findIndex(function (y) {\n return y.id === x.id;\n });\n var isEqual = deep_equal__WEBPACK_IMPORTED_MODULE_6___default()(x, stateToCompare[idx]);\n return !isEqual ? [].concat((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(acc), [idxNew]) : acc;\n }, []);\n updates = Array.from(new Set([].concat((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(idxToUpdate), (0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(indexesToAdd), (0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(indexesToDelete))));\n _context6.next = 8;\n return Promise.all(updates.map( /*#__PURE__*/function () {\n var _ref2 = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[\"default\"])( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark(function _callee5(idx) {\n var rendered;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap(function _callee5$(_context5) {\n while (1) switch (_context5.prev = _context5.next) {\n case 0:\n _context5.next = 2;\n return _this3.updateModifiedBlock(stateToApply, idx);\n case 2:\n rendered = _context5.sent;\n return _context5.abrupt(\"return\", rendered);\n case 4:\n case \"end\":\n return _context5.stop();\n }\n }, _callee5);\n }));\n return function (_x7) {\n return _ref2.apply(this, arguments);\n };\n }()));\n case 8:\n case \"end\":\n return _context6.stop();\n }\n }, _callee6);\n }));\n function switchState(_x5, _x6) {\n return _switchState.apply(this, arguments);\n }\n return switchState;\n }()\n /**\n * Checks if the history stack can perform an undo action.\n *\n * @returns {Boolean}\n */\n }, {\n key: \"canUndo\",\n value: function canUndo() {\n return !this.readOnly && this.position > 0;\n }\n\n /**\n * Checks if the history stack can perform a redo action.\n *\n * @returns {Boolean}\n */\n }, {\n key: \"canRedo\",\n value: function canRedo() {\n return !this.readOnly && this.position < this.count();\n }\n\n /**\n * Returns the number of changes recorded in the history stack.\n *\n * @returns {Number}\n */\n }, {\n key: \"count\",\n value: function count() {\n return this.stack.length - 1; // -1 because of initial item\n }\n\n /**\n * Parses the keys passed in the shortcut property to accept CMD,ALT and SHIFT\n *\n * @param {Array} keys are the keys passed in shortcuts in config\n * @returns {Array}\n */\n }, {\n key: \"parseKeys\",\n value: function parseKeys(keys) {\n var specialKeys = {\n CMD: /(Mac)/i.test(navigator.platform) ? \"metaKey\" : \"ctrlKey\",\n ALT: \"altKey\",\n SHIFT: \"shiftKey\"\n };\n var parsedKeys = keys.slice(0, -1).map(function (key) {\n return specialKeys[key];\n });\n var letterKey = parsedKeys.includes(\"shiftKey\") && keys.length === 2 ? keys[keys.length - 1].toUpperCase() : keys[keys.length - 1].toLowerCase();\n parsedKeys.push(letterKey);\n return parsedKeys;\n }\n\n /**\n * Sets events listeners to allow keyboard actions support\n */\n }, {\n key: \"setEventListeners\",\n value: function setEventListeners() {\n var _this4 = this;\n var holder = this.holder;\n var shortcuts = this.config.shortcuts;\n var undo = shortcuts.undo,\n redo = shortcuts.redo;\n var keysUndo = undo.map(function (undoShortcut) {\n return undoShortcut.replace(/ /g, \"\").split(\"+\");\n });\n var keysRedo = redo.map(function (redoShortcut) {\n return redoShortcut.replace(/ /g, \"\").split(\"+\");\n });\n var keysUndoParsed = keysUndo.map(function (keys) {\n return _this4.parseKeys(keys);\n });\n var keysRedoParsed = keysRedo.map(function (keys) {\n return _this4.parseKeys(keys);\n });\n var twoKeysPressed = function twoKeysPressed(e, keys) {\n return keys.length === 2 && e[keys[0]] && e.key.toLowerCase() === keys[1];\n };\n var threeKeysPressed = function threeKeysPressed(e, keys) {\n return keys.length === 3 && e[keys[0]] && e[keys[1]] && e.key.toLowerCase() === keys[2];\n };\n var verifyListTwoKeysPressed = function verifyListTwoKeysPressed(e, keysList) {\n return keysList.reduce(function (result, keys) {\n return result || twoKeysPressed(e, keys);\n }, false);\n };\n var verifyListThreeKeysPressed = function verifyListThreeKeysPressed(e, keysList) {\n return keysList.reduce(function (result, keys) {\n return result || threeKeysPressed(e, keys);\n }, false);\n };\n var pressedKeys = function pressedKeys(e, keys, compKeys) {\n if (verifyListTwoKeysPressed(e, keys) && !verifyListThreeKeysPressed(e, compKeys)) {\n return true;\n }\n if (verifyListThreeKeysPressed(e, keys)) {\n return true;\n }\n return false;\n };\n var handleUndo = function handleUndo(e) {\n if (pressedKeys(e, keysUndoParsed, keysRedoParsed)) {\n e.preventDefault();\n _this4.undo();\n }\n };\n var handleRedo = function handleRedo(e) {\n if (pressedKeys(e, keysRedoParsed, keysUndoParsed)) {\n e.preventDefault();\n _this4.redo();\n }\n };\n var handleDestroy = function handleDestroy() {\n holder.removeEventListener(\"keydown\", handleUndo);\n holder.removeEventListener(\"keydown\", handleRedo);\n };\n holder.addEventListener(\"keydown\", handleUndo);\n holder.addEventListener(\"keydown\", handleRedo);\n holder.addEventListener(\"destroy\", handleDestroy);\n }\n }], [{\n key: \"isReadOnlySupported\",\n get: function get() {\n return true;\n }\n }]);\n}();\n\n\n//# sourceURL=webpack://Undo/./src/index.js?"); - -/***/ }), - -/***/ "./src/observer.js": -/*!*************************!*\ - !*** ./src/observer.js ***! - \*************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Observer)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ \"./node_modules/@babel/runtime/helpers/esm/classCallCheck.js\");\n/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/createClass */ \"./node_modules/@babel/runtime/helpers/esm/createClass.js\");\n\n\n/**\n * @typedef {Object} Observer\n * @description Custom MutationObserver to detect changes in the editor.\n * @property {String} holder — Editor.js holder id.\n * @property {Object} observer - MutationObserver object that detects changes in the editor.\n * @property {Number} debounceTimer - Delay time for the debouncer.\n * @property {Function} mutationDebouncer - Debouncer to delay the changes registration.\n */\nvar Observer = /*#__PURE__*/function () {\n /**\n * Creates a new instance of the Observer object.\n * @param {Function} registerChange - Function that register a change in the history stack.\n * @param {String} holder - Editor.js holder id.\n * @param {Number} debounceTimer Delay time for the debouncer.\n */\n function Observer(registerChange, holder, debounceTimer) {\n (0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(this, Observer);\n this.holder = holder;\n this.observer = null;\n this.debounceTimer = debounceTimer;\n this.mutationDebouncer = this.debounce(function () {\n registerChange();\n }, this.debounceTimer);\n }\n\n /**\n * Sets a mutation observer to catch every change in the editor.\n */\n return (0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(Observer, [{\n key: \"setMutationObserver\",\n value: function setMutationObserver() {\n var _this = this;\n var observerOptions = {\n childList: true,\n attributes: true,\n subtree: true,\n characterData: true,\n characterDataOldValue: true\n };\n var target = this.holder.querySelector('.codex-editor__redactor');\n this.observer = new MutationObserver(function (mutationList) {\n _this.mutationHandler(mutationList);\n });\n this.observer.observe(target, observerOptions);\n }\n\n /**\n * Handles the mutations and checks if a new mutation has been produced.\n * @param {Object} mutationList The registered mutations\n */\n }, {\n key: \"mutationHandler\",\n value: function mutationHandler(mutationList) {\n var _this2 = this;\n var contentMutated = false;\n mutationList.forEach(function (mutation) {\n switch (mutation.type) {\n case 'childList':\n if (mutation.target === _this2.holder) {\n _this2.onDestroy();\n } else {\n contentMutated = true;\n }\n break;\n case 'characterData':\n contentMutated = true;\n break;\n case 'attributes':\n if (!mutation.target.classList.contains('ce-block') && !mutation.target.classList.contains('tc-toolbox')) {\n contentMutated = true;\n }\n break;\n default:\n break;\n }\n });\n if (contentMutated) this.mutationDebouncer();\n }\n\n /**\n * Delays invoking a function until after wait millis have elapsed.\n * @param {Function} callback The function to be delayed.\n * @param {Number} wait The deplay time in millis.\n */\n }, {\n key: \"debounce\",\n value: function debounce(callback, wait) {\n var _this3 = this;\n var timeout;\n return function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n var context = _this3;\n clearTimeout(timeout);\n timeout = setTimeout(function () {\n return callback.apply(context, args);\n }, wait);\n };\n }\n }, {\n key: \"onDestroy\",\n value: function onDestroy() {\n var destroyEvent = new CustomEvent('destroy');\n document.dispatchEvent(destroyEvent);\n this.observer.disconnect();\n }\n }]);\n}();\n\n\n//# sourceURL=webpack://Undo/./src/observer.js?"); - -/***/ }), - -/***/ "./node_modules/call-bind-apply-helpers/actualApply.js": -/*!*************************************************************!*\ - !*** ./node_modules/call-bind-apply-helpers/actualApply.js ***! - \*************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar bind = __webpack_require__(/*! function-bind */ \"./node_modules/function-bind/index.js\");\n\nvar $apply = __webpack_require__(/*! ./functionApply */ \"./node_modules/call-bind-apply-helpers/functionApply.js\");\nvar $call = __webpack_require__(/*! ./functionCall */ \"./node_modules/call-bind-apply-helpers/functionCall.js\");\nvar $reflectApply = __webpack_require__(/*! ./reflectApply */ \"./node_modules/call-bind-apply-helpers/reflectApply.js\");\n\n/** @type {import('./actualApply')} */\nmodule.exports = $reflectApply || bind.call($call, $apply);\n\n\n//# sourceURL=webpack://Undo/./node_modules/call-bind-apply-helpers/actualApply.js?"); - -/***/ }), - -/***/ "./node_modules/call-bind-apply-helpers/applyBind.js": -/*!***********************************************************!*\ - !*** ./node_modules/call-bind-apply-helpers/applyBind.js ***! - \***********************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar bind = __webpack_require__(/*! function-bind */ \"./node_modules/function-bind/index.js\");\nvar $apply = __webpack_require__(/*! ./functionApply */ \"./node_modules/call-bind-apply-helpers/functionApply.js\");\nvar actualApply = __webpack_require__(/*! ./actualApply */ \"./node_modules/call-bind-apply-helpers/actualApply.js\");\n\n/** @type {import('./applyBind')} */\nmodule.exports = function applyBind() {\n\treturn actualApply(bind, $apply, arguments);\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/call-bind-apply-helpers/applyBind.js?"); - -/***/ }), - -/***/ "./node_modules/call-bind-apply-helpers/functionApply.js": -/*!***************************************************************!*\ - !*** ./node_modules/call-bind-apply-helpers/functionApply.js ***! - \***************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./functionApply')} */\nmodule.exports = Function.prototype.apply;\n\n\n//# sourceURL=webpack://Undo/./node_modules/call-bind-apply-helpers/functionApply.js?"); - -/***/ }), - -/***/ "./node_modules/call-bind-apply-helpers/functionCall.js": -/*!**************************************************************!*\ - !*** ./node_modules/call-bind-apply-helpers/functionCall.js ***! - \**************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./functionCall')} */\nmodule.exports = Function.prototype.call;\n\n\n//# sourceURL=webpack://Undo/./node_modules/call-bind-apply-helpers/functionCall.js?"); - -/***/ }), - -/***/ "./node_modules/call-bind-apply-helpers/index.js": -/*!*******************************************************!*\ - !*** ./node_modules/call-bind-apply-helpers/index.js ***! - \*******************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar bind = __webpack_require__(/*! function-bind */ \"./node_modules/function-bind/index.js\");\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\n\nvar $call = __webpack_require__(/*! ./functionCall */ \"./node_modules/call-bind-apply-helpers/functionCall.js\");\nvar $actualApply = __webpack_require__(/*! ./actualApply */ \"./node_modules/call-bind-apply-helpers/actualApply.js\");\n\n/** @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.') */\nmodule.exports = function callBindBasic(args) {\n\tif (args.length < 1 || typeof args[0] !== 'function') {\n\t\tthrow new $TypeError('a function is required');\n\t}\n\treturn $actualApply(bind, $call, args);\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/call-bind-apply-helpers/index.js?"); - -/***/ }), - -/***/ "./node_modules/call-bind-apply-helpers/reflectApply.js": -/*!**************************************************************!*\ - !*** ./node_modules/call-bind-apply-helpers/reflectApply.js ***! - \**************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./reflectApply')} */\nmodule.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;\n\n\n//# sourceURL=webpack://Undo/./node_modules/call-bind-apply-helpers/reflectApply.js?"); - -/***/ }), - -/***/ "./node_modules/call-bind/callBound.js": -/*!*********************************************!*\ - !*** ./node_modules/call-bind/callBound.js ***! - \*********************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"./node_modules/get-intrinsic/index.js\");\n\nvar callBind = __webpack_require__(/*! ./ */ \"./node_modules/call-bind/index.js\");\n\nvar $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));\n\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\tvar intrinsic = GetIntrinsic(name, !!allowMissing);\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\treturn callBind(intrinsic);\n\t}\n\treturn intrinsic;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/call-bind/callBound.js?"); - -/***/ }), - -/***/ "./node_modules/call-bind/index.js": -/*!*****************************************!*\ - !*** ./node_modules/call-bind/index.js ***! - \*****************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar bind = __webpack_require__(/*! function-bind */ \"./node_modules/function-bind/index.js\");\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"./node_modules/get-intrinsic/index.js\");\nvar setFunctionLength = __webpack_require__(/*! set-function-length */ \"./node_modules/set-function-length/index.js\");\n\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\nvar $apply = GetIntrinsic('%Function.prototype.apply%');\nvar $call = GetIntrinsic('%Function.prototype.call%');\nvar $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);\n\nvar $defineProperty = __webpack_require__(/*! es-define-property */ \"./node_modules/es-define-property/index.js\");\nvar $max = GetIntrinsic('%Math.max%');\n\nmodule.exports = function callBind(originalFunction) {\n\tif (typeof originalFunction !== 'function') {\n\t\tthrow new $TypeError('a function is required');\n\t}\n\tvar func = $reflectApply(bind, $call, arguments);\n\treturn setFunctionLength(\n\t\tfunc,\n\t\t1 + $max(0, originalFunction.length - (arguments.length - 1)),\n\t\ttrue\n\t);\n};\n\nvar applyBind = function applyBind() {\n\treturn $reflectApply(bind, $apply, arguments);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n\n\n//# sourceURL=webpack://Undo/./node_modules/call-bind/index.js?"); - -/***/ }), - -/***/ "./node_modules/call-bound/index.js": -/*!******************************************!*\ - !*** ./node_modules/call-bound/index.js ***! - \******************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"./node_modules/call-bound/node_modules/get-intrinsic/index.js\");\n\nvar callBindBasic = __webpack_require__(/*! call-bind-apply-helpers */ \"./node_modules/call-bind-apply-helpers/index.js\");\n\n/** @type {(thisArg: string, searchString: string, position?: number) => number} */\nvar $indexOf = callBindBasic([GetIntrinsic('%String.prototype.indexOf%')]);\n\n/** @type {import('.')} */\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\t// eslint-disable-next-line no-extra-parens\n\tvar intrinsic = /** @type {Parameters[0][0]} */ (GetIntrinsic(name, !!allowMissing));\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\treturn callBindBasic([intrinsic]);\n\t}\n\treturn intrinsic;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/call-bound/index.js?"); - -/***/ }), - -/***/ "./node_modules/call-bound/node_modules/es-define-property/index.js": -/*!**************************************************************************!*\ - !*** ./node_modules/call-bound/node_modules/es-define-property/index.js ***! - \**************************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('.')} */\nvar $defineProperty = Object.defineProperty || false;\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = false;\n\t}\n}\n\nmodule.exports = $defineProperty;\n\n\n//# sourceURL=webpack://Undo/./node_modules/call-bound/node_modules/es-define-property/index.js?"); - -/***/ }), - -/***/ "./node_modules/call-bound/node_modules/get-intrinsic/index.js": -/*!*********************************************************************!*\ - !*** ./node_modules/call-bound/node_modules/get-intrinsic/index.js ***! - \*********************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar undefined;\n\nvar $Object = __webpack_require__(/*! es-object-atoms */ \"./node_modules/es-object-atoms/index.js\");\n\nvar $Error = __webpack_require__(/*! es-errors */ \"./node_modules/es-errors/index.js\");\nvar $EvalError = __webpack_require__(/*! es-errors/eval */ \"./node_modules/es-errors/eval.js\");\nvar $RangeError = __webpack_require__(/*! es-errors/range */ \"./node_modules/es-errors/range.js\");\nvar $ReferenceError = __webpack_require__(/*! es-errors/ref */ \"./node_modules/es-errors/ref.js\");\nvar $SyntaxError = __webpack_require__(/*! es-errors/syntax */ \"./node_modules/es-errors/syntax.js\");\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\nvar $URIError = __webpack_require__(/*! es-errors/uri */ \"./node_modules/es-errors/uri.js\");\n\nvar abs = __webpack_require__(/*! math-intrinsics/abs */ \"./node_modules/math-intrinsics/abs.js\");\nvar floor = __webpack_require__(/*! math-intrinsics/floor */ \"./node_modules/math-intrinsics/floor.js\");\nvar max = __webpack_require__(/*! math-intrinsics/max */ \"./node_modules/math-intrinsics/max.js\");\nvar min = __webpack_require__(/*! math-intrinsics/min */ \"./node_modules/math-intrinsics/min.js\");\nvar pow = __webpack_require__(/*! math-intrinsics/pow */ \"./node_modules/math-intrinsics/pow.js\");\nvar round = __webpack_require__(/*! math-intrinsics/round */ \"./node_modules/math-intrinsics/round.js\");\nvar sign = __webpack_require__(/*! math-intrinsics/sign */ \"./node_modules/math-intrinsics/sign.js\");\n\nvar $Function = Function;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = __webpack_require__(/*! gopd */ \"./node_modules/call-bound/node_modules/gopd/index.js\");\nvar $defineProperty = __webpack_require__(/*! es-define-property */ \"./node_modules/call-bound/node_modules/es-define-property/index.js\");\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = __webpack_require__(/*! has-symbols */ \"./node_modules/call-bound/node_modules/has-symbols/index.js\")();\n\nvar getProto = __webpack_require__(/*! get-proto */ \"./node_modules/get-proto/index.js\");\nvar $ObjectGPO = __webpack_require__(/*! get-proto/Object.getPrototypeOf */ \"./node_modules/get-proto/Object.getPrototypeOf.js\");\nvar $ReflectGPO = __webpack_require__(/*! get-proto/Reflect.getPrototypeOf */ \"./node_modules/get-proto/Reflect.getPrototypeOf.js\");\n\nvar $apply = __webpack_require__(/*! call-bind-apply-helpers/functionApply */ \"./node_modules/call-bind-apply-helpers/functionApply.js\");\nvar $call = __webpack_require__(/*! call-bind-apply-helpers/functionCall */ \"./node_modules/call-bind-apply-helpers/functionCall.js\");\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t__proto__: null,\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,\n\t'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': $Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': $EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': $Object,\n\t'%Object.getOwnPropertyDescriptor%': $gOPD,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': $RangeError,\n\t'%ReferenceError%': $ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': $URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,\n\n\t'%Function.prototype.call%': $call,\n\t'%Function.prototype.apply%': $apply,\n\t'%Object.defineProperty%': $defineProperty,\n\t'%Object.getPrototypeOf%': $ObjectGPO,\n\t'%Math.abs%': abs,\n\t'%Math.floor%': floor,\n\t'%Math.max%': max,\n\t'%Math.min%': min,\n\t'%Math.pow%': pow,\n\t'%Math.round%': round,\n\t'%Math.sign%': sign,\n\t'%Reflect.getPrototypeOf%': $ReflectGPO\n};\n\nif (getProto) {\n\ttry {\n\t\tnull.error; // eslint-disable-line no-unused-expressions\n\t} catch (e) {\n\t\t// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n\t\tvar errorProto = getProto(getProto(e));\n\t\tINTRINSICS['%Error.prototype%'] = errorProto;\n\t}\n}\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen && getProto) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t__proto__: null,\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = __webpack_require__(/*! function-bind */ \"./node_modules/function-bind/index.js\");\nvar hasOwn = __webpack_require__(/*! hasown */ \"./node_modules/hasown/index.js\");\nvar $concat = bind.call($call, Array.prototype.concat);\nvar $spliceApply = bind.call($apply, Array.prototype.splice);\nvar $replace = bind.call($call, String.prototype.replace);\nvar $strSlice = bind.call($call, String.prototype.slice);\nvar $exec = bind.call($call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t}\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/call-bound/node_modules/get-intrinsic/index.js?"); - -/***/ }), - -/***/ "./node_modules/call-bound/node_modules/gopd/gOPD.js": -/*!***********************************************************!*\ - !*** ./node_modules/call-bound/node_modules/gopd/gOPD.js ***! - \***********************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./gOPD')} */\nmodule.exports = Object.getOwnPropertyDescriptor;\n\n\n//# sourceURL=webpack://Undo/./node_modules/call-bound/node_modules/gopd/gOPD.js?"); - -/***/ }), - -/***/ "./node_modules/call-bound/node_modules/gopd/index.js": -/*!************************************************************!*\ - !*** ./node_modules/call-bound/node_modules/gopd/index.js ***! - \************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\n/** @type {import('.')} */\nvar $gOPD = __webpack_require__(/*! ./gOPD */ \"./node_modules/call-bound/node_modules/gopd/gOPD.js\");\n\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n\n\n//# sourceURL=webpack://Undo/./node_modules/call-bound/node_modules/gopd/index.js?"); - -/***/ }), - -/***/ "./node_modules/call-bound/node_modules/has-symbols/index.js": -/*!*******************************************************************!*\ - !*** ./node_modules/call-bound/node_modules/has-symbols/index.js ***! - \*******************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = __webpack_require__(/*! ./shams */ \"./node_modules/call-bound/node_modules/has-symbols/shams.js\");\n\n/** @type {import('.')} */\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/call-bound/node_modules/has-symbols/index.js?"); - -/***/ }), - -/***/ "./node_modules/call-bound/node_modules/has-symbols/shams.js": -/*!*******************************************************************!*\ - !*** ./node_modules/call-bound/node_modules/has-symbols/shams.js ***! - \*******************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./shams')} */\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\t/** @type {{ [k in symbol]?: unknown }} */\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\t// eslint-disable-next-line no-extra-parens\n\t\tvar descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/call-bound/node_modules/has-symbols/shams.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/index.js": -/*!******************************************!*\ - !*** ./node_modules/deep-equal/index.js ***! - \******************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar assign = __webpack_require__(/*! object.assign */ \"./node_modules/deep-equal/node_modules/object.assign/index.js\");\nvar callBound = __webpack_require__(/*! call-bind/callBound */ \"./node_modules/call-bind/callBound.js\");\nvar flags = __webpack_require__(/*! regexp.prototype.flags */ \"./node_modules/regexp.prototype.flags/index.js\");\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"./node_modules/deep-equal/node_modules/get-intrinsic/index.js\");\nvar getIterator = __webpack_require__(/*! es-get-iterator */ \"./node_modules/es-get-iterator/index.js\");\nvar getSideChannel = __webpack_require__(/*! side-channel */ \"./node_modules/side-channel/index.js\");\nvar is = __webpack_require__(/*! object-is */ \"./node_modules/object-is/index.js\");\nvar isArguments = __webpack_require__(/*! is-arguments */ \"./node_modules/is-arguments/index.js\");\nvar isArray = __webpack_require__(/*! isarray */ \"./node_modules/isarray/index.js\");\nvar isArrayBuffer = __webpack_require__(/*! is-array-buffer */ \"./node_modules/deep-equal/node_modules/is-array-buffer/index.js\");\nvar isDate = __webpack_require__(/*! is-date-object */ \"./node_modules/is-date-object/index.js\");\nvar isRegex = __webpack_require__(/*! is-regex */ \"./node_modules/is-regex/index.js\");\nvar isSharedArrayBuffer = __webpack_require__(/*! is-shared-array-buffer */ \"./node_modules/is-shared-array-buffer/index.js\");\nvar objectKeys = __webpack_require__(/*! object-keys */ \"./node_modules/object-keys/index.js\");\nvar whichBoxedPrimitive = __webpack_require__(/*! which-boxed-primitive */ \"./node_modules/which-boxed-primitive/index.js\");\nvar whichCollection = __webpack_require__(/*! which-collection */ \"./node_modules/which-collection/index.js\");\nvar whichTypedArray = __webpack_require__(/*! which-typed-array */ \"./node_modules/deep-equal/node_modules/which-typed-array/index.js\");\nvar byteLength = __webpack_require__(/*! array-buffer-byte-length */ \"./node_modules/deep-equal/node_modules/array-buffer-byte-length/index.js\");\n\nvar sabByteLength = callBound('SharedArrayBuffer.prototype.byteLength', true);\n\nvar $getTime = callBound('Date.prototype.getTime');\nvar gPO = Object.getPrototypeOf;\nvar $objToString = callBound('Object.prototype.toString');\n\nvar $Set = GetIntrinsic('%Set%', true);\nvar $mapHas = callBound('Map.prototype.has', true);\nvar $mapGet = callBound('Map.prototype.get', true);\nvar $mapSize = callBound('Map.prototype.size', true);\nvar $setAdd = callBound('Set.prototype.add', true);\nvar $setDelete = callBound('Set.prototype.delete', true);\nvar $setHas = callBound('Set.prototype.has', true);\nvar $setSize = callBound('Set.prototype.size', true);\n\n// taken from https://github.com/browserify/commonjs-assert/blob/bba838e9ba9e28edf3127ce6974624208502f6bc/internal/util/comparisons.js#L401-L414\nfunction setHasEqualElement(set, val1, opts, channel) {\n var i = getIterator(set);\n var result;\n while ((result = i.next()) && !result.done) {\n if (internalDeepEqual(val1, result.value, opts, channel)) { // eslint-disable-line no-use-before-define\n // Remove the matching element to make sure we do not check that again.\n $setDelete(set, result.value);\n return true;\n }\n }\n\n return false;\n}\n\n// taken from https://github.com/browserify/commonjs-assert/blob/bba838e9ba9e28edf3127ce6974624208502f6bc/internal/util/comparisons.js#L416-L439\nfunction findLooseMatchingPrimitives(prim) {\n if (typeof prim === 'undefined') {\n return null;\n }\n if (typeof prim === 'object') { // Only pass in null as object!\n return void 0;\n }\n if (typeof prim === 'symbol') {\n return false;\n }\n if (typeof prim === 'string' || typeof prim === 'number') {\n // Loose equal entries exist only if the string is possible to convert to a regular number and not NaN.\n return +prim === +prim; // eslint-disable-line no-implicit-coercion\n }\n return true;\n}\n\n// taken from https://github.com/browserify/commonjs-assert/blob/bba838e9ba9e28edf3127ce6974624208502f6bc/internal/util/comparisons.js#L449-L460\nfunction mapMightHaveLoosePrim(a, b, prim, item, opts, channel) {\n var altValue = findLooseMatchingPrimitives(prim);\n if (altValue != null) {\n return altValue;\n }\n var curB = $mapGet(b, altValue);\n var looseOpts = assign({}, opts, { strict: false });\n if (\n (typeof curB === 'undefined' && !$mapHas(b, altValue))\n // eslint-disable-next-line no-use-before-define\n || !internalDeepEqual(item, curB, looseOpts, channel)\n ) {\n return false;\n }\n // eslint-disable-next-line no-use-before-define\n return !$mapHas(a, altValue) && internalDeepEqual(item, curB, looseOpts, channel);\n}\n\n// taken from https://github.com/browserify/commonjs-assert/blob/bba838e9ba9e28edf3127ce6974624208502f6bc/internal/util/comparisons.js#L441-L447\nfunction setMightHaveLoosePrim(a, b, prim) {\n var altValue = findLooseMatchingPrimitives(prim);\n if (altValue != null) {\n return altValue;\n }\n\n return $setHas(b, altValue) && !$setHas(a, altValue);\n}\n\n// taken from https://github.com/browserify/commonjs-assert/blob/bba838e9ba9e28edf3127ce6974624208502f6bc/internal/util/comparisons.js#L518-L533\nfunction mapHasEqualEntry(set, map, key1, item1, opts, channel) {\n var i = getIterator(set);\n var result;\n var key2;\n while ((result = i.next()) && !result.done) {\n key2 = result.value;\n if (\n // eslint-disable-next-line no-use-before-define\n internalDeepEqual(key1, key2, opts, channel)\n // eslint-disable-next-line no-use-before-define\n && internalDeepEqual(item1, $mapGet(map, key2), opts, channel)\n ) {\n $setDelete(set, key2);\n return true;\n }\n }\n\n return false;\n}\n\nfunction internalDeepEqual(actual, expected, options, channel) {\n var opts = options || {};\n\n // 7.1. All identical values are equivalent, as determined by ===.\n if (opts.strict ? is(actual, expected) : actual === expected) {\n return true;\n }\n\n var actualBoxed = whichBoxedPrimitive(actual);\n var expectedBoxed = whichBoxedPrimitive(expected);\n if (actualBoxed !== expectedBoxed) {\n return false;\n }\n\n // 7.3. Other pairs that do not both pass typeof value == 'object', equivalence is determined by ==.\n if (!actual || !expected || (typeof actual !== 'object' && typeof expected !== 'object')) {\n return opts.strict ? is(actual, expected) : actual == expected; // eslint-disable-line eqeqeq\n }\n\n /*\n * 7.4. For all other Object pairs, including Array objects, equivalence is\n * determined by having the same number of owned properties (as verified\n * with Object.prototype.hasOwnProperty.call), the same set of keys\n * (although not necessarily the same order), equivalent values for every\n * corresponding key, and an identical 'prototype' property. Note: this\n * accounts for both named and indexed properties on Arrays.\n */\n // see https://github.com/nodejs/node/commit/d3aafd02efd3a403d646a3044adcf14e63a88d32 for memos/channel inspiration\n\n var hasActual = channel.has(actual);\n var hasExpected = channel.has(expected);\n var sentinel;\n if (hasActual && hasExpected) {\n if (channel.get(actual) === channel.get(expected)) {\n return true;\n }\n } else {\n sentinel = {};\n }\n if (!hasActual) { channel.set(actual, sentinel); }\n if (!hasExpected) { channel.set(expected, sentinel); }\n\n // eslint-disable-next-line no-use-before-define\n return objEquiv(actual, expected, opts, channel);\n}\n\nfunction isBuffer(x) {\n if (!x || typeof x !== 'object' || typeof x.length !== 'number') {\n return false;\n }\n if (typeof x.copy !== 'function' || typeof x.slice !== 'function') {\n return false;\n }\n if (x.length > 0 && typeof x[0] !== 'number') {\n return false;\n }\n\n return !!(x.constructor && x.constructor.isBuffer && x.constructor.isBuffer(x));\n}\n\nfunction setEquiv(a, b, opts, channel) {\n if ($setSize(a) !== $setSize(b)) {\n return false;\n }\n var iA = getIterator(a);\n var iB = getIterator(b);\n var resultA;\n var resultB;\n var set;\n while ((resultA = iA.next()) && !resultA.done) {\n if (resultA.value && typeof resultA.value === 'object') {\n if (!set) { set = new $Set(); }\n $setAdd(set, resultA.value);\n } else if (!$setHas(b, resultA.value)) {\n if (opts.strict) { return false; }\n if (!setMightHaveLoosePrim(a, b, resultA.value)) {\n return false;\n }\n if (!set) { set = new $Set(); }\n $setAdd(set, resultA.value);\n }\n }\n if (set) {\n while ((resultB = iB.next()) && !resultB.done) {\n // We have to check if a primitive value is already matching and only if it's not, go hunting for it.\n if (resultB.value && typeof resultB.value === 'object') {\n if (!setHasEqualElement(set, resultB.value, opts.strict, channel)) {\n return false;\n }\n } else if (\n !opts.strict\n && !$setHas(a, resultB.value)\n && !setHasEqualElement(set, resultB.value, opts.strict, channel)\n ) {\n return false;\n }\n }\n return $setSize(set) === 0;\n }\n return true;\n}\n\nfunction mapEquiv(a, b, opts, channel) {\n if ($mapSize(a) !== $mapSize(b)) {\n return false;\n }\n var iA = getIterator(a);\n var iB = getIterator(b);\n var resultA;\n var resultB;\n var set;\n var key;\n var item1;\n var item2;\n while ((resultA = iA.next()) && !resultA.done) {\n key = resultA.value[0];\n item1 = resultA.value[1];\n if (key && typeof key === 'object') {\n if (!set) { set = new $Set(); }\n $setAdd(set, key);\n } else {\n item2 = $mapGet(b, key);\n if ((typeof item2 === 'undefined' && !$mapHas(b, key)) || !internalDeepEqual(item1, item2, opts, channel)) {\n if (opts.strict) {\n return false;\n }\n if (!mapMightHaveLoosePrim(a, b, key, item1, opts, channel)) {\n return false;\n }\n if (!set) { set = new $Set(); }\n $setAdd(set, key);\n }\n }\n }\n\n if (set) {\n while ((resultB = iB.next()) && !resultB.done) {\n key = resultB.value[0];\n item2 = resultB.value[1];\n if (key && typeof key === 'object') {\n if (!mapHasEqualEntry(set, a, key, item2, opts, channel)) {\n return false;\n }\n } else if (\n !opts.strict\n && (!a.has(key) || !internalDeepEqual($mapGet(a, key), item2, opts, channel))\n && !mapHasEqualEntry(set, a, key, item2, assign({}, opts, { strict: false }), channel)\n ) {\n return false;\n }\n }\n return $setSize(set) === 0;\n }\n return true;\n}\n\nfunction objEquiv(a, b, opts, channel) {\n /* eslint max-statements: [2, 100], max-lines-per-function: [2, 120], max-depth: [2, 5], max-lines: [2, 400] */\n var i, key;\n\n if (typeof a !== typeof b) { return false; }\n if (a == null || b == null) { return false; }\n\n if ($objToString(a) !== $objToString(b)) { return false; }\n\n if (isArguments(a) !== isArguments(b)) { return false; }\n\n var aIsArray = isArray(a);\n var bIsArray = isArray(b);\n if (aIsArray !== bIsArray) { return false; }\n\n // TODO: replace when a cross-realm brand check is available\n var aIsError = a instanceof Error;\n var bIsError = b instanceof Error;\n if (aIsError !== bIsError) { return false; }\n if (aIsError || bIsError) {\n if (a.name !== b.name || a.message !== b.message) { return false; }\n }\n\n var aIsRegex = isRegex(a);\n var bIsRegex = isRegex(b);\n if (aIsRegex !== bIsRegex) { return false; }\n if ((aIsRegex || bIsRegex) && (a.source !== b.source || flags(a) !== flags(b))) {\n return false;\n }\n\n var aIsDate = isDate(a);\n var bIsDate = isDate(b);\n if (aIsDate !== bIsDate) { return false; }\n if (aIsDate || bIsDate) { // && would work too, because both are true or both false here\n if ($getTime(a) !== $getTime(b)) { return false; }\n }\n if (opts.strict && gPO && gPO(a) !== gPO(b)) { return false; }\n\n var aWhich = whichTypedArray(a);\n var bWhich = whichTypedArray(b);\n if (aWhich !== bWhich) {\n return false;\n }\n if (aWhich || bWhich) { // && would work too, because both are true or both false here\n if (a.length !== b.length) { return false; }\n for (i = 0; i < a.length; i++) {\n if (a[i] !== b[i]) { return false; }\n }\n return true;\n }\n\n var aIsBuffer = isBuffer(a);\n var bIsBuffer = isBuffer(b);\n if (aIsBuffer !== bIsBuffer) { return false; }\n if (aIsBuffer || bIsBuffer) { // && would work too, because both are true or both false here\n if (a.length !== b.length) { return false; }\n for (i = 0; i < a.length; i++) {\n if (a[i] !== b[i]) { return false; }\n }\n return true;\n }\n\n var aIsArrayBuffer = isArrayBuffer(a);\n var bIsArrayBuffer = isArrayBuffer(b);\n if (aIsArrayBuffer !== bIsArrayBuffer) { return false; }\n if (aIsArrayBuffer || bIsArrayBuffer) { // && would work too, because both are true or both false here\n if (byteLength(a) !== byteLength(b)) { return false; }\n return typeof Uint8Array === 'function' && internalDeepEqual(new Uint8Array(a), new Uint8Array(b), opts, channel);\n }\n\n var aIsSAB = isSharedArrayBuffer(a);\n var bIsSAB = isSharedArrayBuffer(b);\n if (aIsSAB !== bIsSAB) { return false; }\n if (aIsSAB || bIsSAB) { // && would work too, because both are true or both false here\n if (sabByteLength(a) !== sabByteLength(b)) { return false; }\n return typeof Uint8Array === 'function' && internalDeepEqual(new Uint8Array(a), new Uint8Array(b), opts, channel);\n }\n\n if (typeof a !== typeof b) { return false; }\n\n var ka = objectKeys(a);\n var kb = objectKeys(b);\n // having the same number of owned properties (keys incorporates hasOwnProperty)\n if (ka.length !== kb.length) { return false; }\n\n // the same set of keys (although not necessarily the same order),\n ka.sort();\n kb.sort();\n // ~~~cheap key test\n for (i = ka.length - 1; i >= 0; i--) {\n if (ka[i] != kb[i]) { return false; } // eslint-disable-line eqeqeq\n }\n\n // equivalent values for every corresponding key, and ~~~possibly expensive deep test\n for (i = ka.length - 1; i >= 0; i--) {\n key = ka[i];\n if (!internalDeepEqual(a[key], b[key], opts, channel)) { return false; }\n }\n\n var aCollection = whichCollection(a);\n var bCollection = whichCollection(b);\n if (aCollection !== bCollection) {\n return false;\n }\n if (aCollection === 'Set' || bCollection === 'Set') { // aCollection === bCollection\n return setEquiv(a, b, opts, channel);\n }\n if (aCollection === 'Map') { // aCollection === bCollection\n return mapEquiv(a, b, opts, channel);\n }\n\n return true;\n}\n\nmodule.exports = function deepEqual(a, b, opts) {\n return internalDeepEqual(a, b, opts, getSideChannel());\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/index.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/array-buffer-byte-length/index.js": -/*!********************************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/array-buffer-byte-length/index.js ***! - \********************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar callBound = __webpack_require__(/*! call-bound */ \"./node_modules/call-bound/index.js\");\nvar $byteLength = callBound('ArrayBuffer.prototype.byteLength', true);\n\nvar isArrayBuffer = __webpack_require__(/*! is-array-buffer */ \"./node_modules/deep-equal/node_modules/is-array-buffer/index.js\");\n\n/** @type {import('.')} */\nmodule.exports = function byteLength(ab) {\n\tif (!isArrayBuffer(ab)) {\n\t\treturn NaN;\n\t}\n\treturn $byteLength ? $byteLength(ab) : ab.byteLength;\n}; // in node < 0.11, byteLength is an own nonconfigurable property\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/array-buffer-byte-length/index.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/es-define-property/index.js": -/*!**************************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/es-define-property/index.js ***! - \**************************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('.')} */\nvar $defineProperty = Object.defineProperty || false;\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = false;\n\t}\n}\n\nmodule.exports = $defineProperty;\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/es-define-property/index.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/get-intrinsic/index.js": -/*!*********************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/get-intrinsic/index.js ***! - \*********************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar undefined;\n\nvar $Object = __webpack_require__(/*! es-object-atoms */ \"./node_modules/es-object-atoms/index.js\");\n\nvar $Error = __webpack_require__(/*! es-errors */ \"./node_modules/es-errors/index.js\");\nvar $EvalError = __webpack_require__(/*! es-errors/eval */ \"./node_modules/es-errors/eval.js\");\nvar $RangeError = __webpack_require__(/*! es-errors/range */ \"./node_modules/es-errors/range.js\");\nvar $ReferenceError = __webpack_require__(/*! es-errors/ref */ \"./node_modules/es-errors/ref.js\");\nvar $SyntaxError = __webpack_require__(/*! es-errors/syntax */ \"./node_modules/es-errors/syntax.js\");\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\nvar $URIError = __webpack_require__(/*! es-errors/uri */ \"./node_modules/es-errors/uri.js\");\n\nvar abs = __webpack_require__(/*! math-intrinsics/abs */ \"./node_modules/math-intrinsics/abs.js\");\nvar floor = __webpack_require__(/*! math-intrinsics/floor */ \"./node_modules/math-intrinsics/floor.js\");\nvar max = __webpack_require__(/*! math-intrinsics/max */ \"./node_modules/math-intrinsics/max.js\");\nvar min = __webpack_require__(/*! math-intrinsics/min */ \"./node_modules/math-intrinsics/min.js\");\nvar pow = __webpack_require__(/*! math-intrinsics/pow */ \"./node_modules/math-intrinsics/pow.js\");\nvar round = __webpack_require__(/*! math-intrinsics/round */ \"./node_modules/math-intrinsics/round.js\");\nvar sign = __webpack_require__(/*! math-intrinsics/sign */ \"./node_modules/math-intrinsics/sign.js\");\n\nvar $Function = Function;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = __webpack_require__(/*! gopd */ \"./node_modules/deep-equal/node_modules/gopd/index.js\");\nvar $defineProperty = __webpack_require__(/*! es-define-property */ \"./node_modules/deep-equal/node_modules/es-define-property/index.js\");\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = __webpack_require__(/*! has-symbols */ \"./node_modules/deep-equal/node_modules/has-symbols/index.js\")();\n\nvar getProto = __webpack_require__(/*! get-proto */ \"./node_modules/get-proto/index.js\");\nvar $ObjectGPO = __webpack_require__(/*! get-proto/Object.getPrototypeOf */ \"./node_modules/get-proto/Object.getPrototypeOf.js\");\nvar $ReflectGPO = __webpack_require__(/*! get-proto/Reflect.getPrototypeOf */ \"./node_modules/get-proto/Reflect.getPrototypeOf.js\");\n\nvar $apply = __webpack_require__(/*! call-bind-apply-helpers/functionApply */ \"./node_modules/call-bind-apply-helpers/functionApply.js\");\nvar $call = __webpack_require__(/*! call-bind-apply-helpers/functionCall */ \"./node_modules/call-bind-apply-helpers/functionCall.js\");\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t__proto__: null,\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,\n\t'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': $Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': $EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': $Object,\n\t'%Object.getOwnPropertyDescriptor%': $gOPD,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': $RangeError,\n\t'%ReferenceError%': $ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': $URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,\n\n\t'%Function.prototype.call%': $call,\n\t'%Function.prototype.apply%': $apply,\n\t'%Object.defineProperty%': $defineProperty,\n\t'%Object.getPrototypeOf%': $ObjectGPO,\n\t'%Math.abs%': abs,\n\t'%Math.floor%': floor,\n\t'%Math.max%': max,\n\t'%Math.min%': min,\n\t'%Math.pow%': pow,\n\t'%Math.round%': round,\n\t'%Math.sign%': sign,\n\t'%Reflect.getPrototypeOf%': $ReflectGPO\n};\n\nif (getProto) {\n\ttry {\n\t\tnull.error; // eslint-disable-line no-unused-expressions\n\t} catch (e) {\n\t\t// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n\t\tvar errorProto = getProto(getProto(e));\n\t\tINTRINSICS['%Error.prototype%'] = errorProto;\n\t}\n}\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen && getProto) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t__proto__: null,\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = __webpack_require__(/*! function-bind */ \"./node_modules/function-bind/index.js\");\nvar hasOwn = __webpack_require__(/*! hasown */ \"./node_modules/hasown/index.js\");\nvar $concat = bind.call($call, Array.prototype.concat);\nvar $spliceApply = bind.call($apply, Array.prototype.splice);\nvar $replace = bind.call($call, String.prototype.replace);\nvar $strSlice = bind.call($call, String.prototype.slice);\nvar $exec = bind.call($call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t}\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/get-intrinsic/index.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/gopd/gOPD.js": -/*!***********************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/gopd/gOPD.js ***! - \***********************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./gOPD')} */\nmodule.exports = Object.getOwnPropertyDescriptor;\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/gopd/gOPD.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/gopd/index.js": -/*!************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/gopd/index.js ***! - \************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\n/** @type {import('.')} */\nvar $gOPD = __webpack_require__(/*! ./gOPD */ \"./node_modules/deep-equal/node_modules/gopd/gOPD.js\");\n\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/gopd/index.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/has-symbols/index.js": -/*!*******************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/has-symbols/index.js ***! - \*******************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = __webpack_require__(/*! ./shams */ \"./node_modules/deep-equal/node_modules/has-symbols/shams.js\");\n\n/** @type {import('.')} */\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/has-symbols/index.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/has-symbols/shams.js": -/*!*******************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/has-symbols/shams.js ***! - \*******************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./shams')} */\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\t/** @type {{ [k in symbol]?: unknown }} */\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\t// eslint-disable-next-line no-extra-parens\n\t\tvar descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/has-symbols/shams.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/is-array-buffer/index.js": -/*!***********************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/is-array-buffer/index.js ***! - \***********************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar callBind = __webpack_require__(/*! call-bind */ \"./node_modules/deep-equal/node_modules/is-array-buffer/node_modules/call-bind/index.js\");\nvar callBound = __webpack_require__(/*! call-bound */ \"./node_modules/call-bound/index.js\");\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"./node_modules/deep-equal/node_modules/get-intrinsic/index.js\");\n\nvar $ArrayBuffer = GetIntrinsic('%ArrayBuffer%', true);\n/** @type {undefined | ((receiver: ArrayBuffer) => number) | ((receiver: unknown) => never)} */\nvar $byteLength = callBound('ArrayBuffer.prototype.byteLength', true);\nvar $toString = callBound('Object.prototype.toString');\n\n// in node 0.10, ArrayBuffers have no prototype methods, but have an own slot-checking `slice` method\nvar abSlice = !!$ArrayBuffer && !$byteLength && new $ArrayBuffer(0).slice;\nvar $abSlice = !!abSlice && callBind(abSlice);\n\n/** @type {import('.')} */\nmodule.exports = $byteLength || $abSlice\n\t? function isArrayBuffer(obj) {\n\t\tif (!obj || typeof obj !== 'object') {\n\t\t\treturn false;\n\t\t}\n\t\ttry {\n\t\t\tif ($byteLength) {\n\t\t\t\t// @ts-expect-error no idea why TS can't handle the overload\n\t\t\t\t$byteLength(obj);\n\t\t\t} else {\n\t\t\t\t// @ts-expect-error TS chooses not to type-narrow inside a closure\n\t\t\t\t$abSlice(obj, 0);\n\t\t\t}\n\t\t\treturn true;\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t}\n\t: $ArrayBuffer\n\t\t// in node 0.8, ArrayBuffers have no prototype or own methods, but also no Symbol.toStringTag\n\t\t? function isArrayBuffer(obj) {\n\t\t\treturn $toString(obj) === '[object ArrayBuffer]';\n\t\t}\n\t\t// @ts-expect-error\n\t\t: function isArrayBuffer(obj) { // eslint-disable-line no-unused-vars\n\t\t\treturn false;\n\t\t};\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/is-array-buffer/index.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/is-array-buffer/node_modules/call-bind/index.js": -/*!**********************************************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/is-array-buffer/node_modules/call-bind/index.js ***! - \**********************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar setFunctionLength = __webpack_require__(/*! set-function-length */ \"./node_modules/set-function-length/index.js\");\n\nvar $defineProperty = __webpack_require__(/*! es-define-property */ \"./node_modules/deep-equal/node_modules/is-array-buffer/node_modules/es-define-property/index.js\");\n\nvar callBindBasic = __webpack_require__(/*! call-bind-apply-helpers */ \"./node_modules/call-bind-apply-helpers/index.js\");\nvar applyBind = __webpack_require__(/*! call-bind-apply-helpers/applyBind */ \"./node_modules/call-bind-apply-helpers/applyBind.js\");\n\nmodule.exports = function callBind(originalFunction) {\n\tvar func = callBindBasic(arguments);\n\tvar adjustedLength = originalFunction.length - (arguments.length - 1);\n\treturn setFunctionLength(\n\t\tfunc,\n\t\t1 + (adjustedLength > 0 ? adjustedLength : 0),\n\t\ttrue\n\t);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/is-array-buffer/node_modules/call-bind/index.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/is-array-buffer/node_modules/es-define-property/index.js": -/*!*******************************************************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/is-array-buffer/node_modules/es-define-property/index.js ***! - \*******************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"./node_modules/deep-equal/node_modules/is-array-buffer/node_modules/es-define-property/node_modules/get-intrinsic/index.js\");\n\n/** @type {import('.')} */\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = false;\n\t}\n}\n\nmodule.exports = $defineProperty;\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/is-array-buffer/node_modules/es-define-property/index.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/is-array-buffer/node_modules/es-define-property/node_modules/get-intrinsic/index.js": -/*!**********************************************************************************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/is-array-buffer/node_modules/es-define-property/node_modules/get-intrinsic/index.js ***! - \**********************************************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar undefined;\n\nvar $Error = __webpack_require__(/*! es-errors */ \"./node_modules/es-errors/index.js\");\nvar $EvalError = __webpack_require__(/*! es-errors/eval */ \"./node_modules/es-errors/eval.js\");\nvar $RangeError = __webpack_require__(/*! es-errors/range */ \"./node_modules/es-errors/range.js\");\nvar $ReferenceError = __webpack_require__(/*! es-errors/ref */ \"./node_modules/es-errors/ref.js\");\nvar $SyntaxError = __webpack_require__(/*! es-errors/syntax */ \"./node_modules/es-errors/syntax.js\");\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\nvar $URIError = __webpack_require__(/*! es-errors/uri */ \"./node_modules/es-errors/uri.js\");\n\nvar $Function = Function;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = Object.getOwnPropertyDescriptor;\nif ($gOPD) {\n\ttry {\n\t\t$gOPD({}, '');\n\t} catch (e) {\n\t\t$gOPD = null; // this is IE 8, which has a broken gOPD\n\t}\n}\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = __webpack_require__(/*! has-symbols */ \"./node_modules/deep-equal/node_modules/is-array-buffer/node_modules/has-symbols/index.js\")();\nvar hasProto = __webpack_require__(/*! has-proto */ \"./node_modules/has-proto/index.js\")();\n\nvar getProto = Object.getPrototypeOf || (\n\thasProto\n\t\t? function (x) { return x.__proto__; } // eslint-disable-line no-proto\n\t\t: null\n);\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t__proto__: null,\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,\n\t'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': $Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': $EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': Object,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': $RangeError,\n\t'%ReferenceError%': $ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': $URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet\n};\n\nif (getProto) {\n\ttry {\n\t\tnull.error; // eslint-disable-line no-unused-expressions\n\t} catch (e) {\n\t\t// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n\t\tvar errorProto = getProto(getProto(e));\n\t\tINTRINSICS['%Error.prototype%'] = errorProto;\n\t}\n}\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen && getProto) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t__proto__: null,\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = __webpack_require__(/*! function-bind */ \"./node_modules/function-bind/index.js\");\nvar hasOwn = __webpack_require__(/*! hasown */ \"./node_modules/hasown/index.js\");\nvar $concat = bind.call(Function.call, Array.prototype.concat);\nvar $spliceApply = bind.call(Function.apply, Array.prototype.splice);\nvar $replace = bind.call(Function.call, String.prototype.replace);\nvar $strSlice = bind.call(Function.call, String.prototype.slice);\nvar $exec = bind.call(Function.call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t}\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/is-array-buffer/node_modules/es-define-property/node_modules/get-intrinsic/index.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/is-array-buffer/node_modules/has-symbols/index.js": -/*!************************************************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/is-array-buffer/node_modules/has-symbols/index.js ***! - \************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = __webpack_require__(/*! ./shams */ \"./node_modules/deep-equal/node_modules/is-array-buffer/node_modules/has-symbols/shams.js\");\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/is-array-buffer/node_modules/has-symbols/index.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/is-array-buffer/node_modules/has-symbols/shams.js": -/*!************************************************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/is-array-buffer/node_modules/has-symbols/shams.js ***! - \************************************************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/is-array-buffer/node_modules/has-symbols/shams.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/object.assign/implementation.js": -/*!******************************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/object.assign/implementation.js ***! - \******************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\n// modified from https://github.com/es-shims/es6-shim\nvar objectKeys = __webpack_require__(/*! object-keys */ \"./node_modules/object-keys/index.js\");\nvar hasSymbols = __webpack_require__(/*! has-symbols/shams */ \"./node_modules/deep-equal/node_modules/has-symbols/shams.js\")();\nvar callBound = __webpack_require__(/*! call-bound */ \"./node_modules/call-bound/index.js\");\nvar $Object = __webpack_require__(/*! es-object-atoms */ \"./node_modules/es-object-atoms/index.js\");\nvar $push = callBound('Array.prototype.push');\nvar $propIsEnumerable = callBound('Object.prototype.propertyIsEnumerable');\nvar originalGetSymbols = hasSymbols ? $Object.getOwnPropertySymbols : null;\n\n// eslint-disable-next-line no-unused-vars\nmodule.exports = function assign(target, source1) {\n\tif (target == null) { throw new TypeError('target must be an object'); }\n\tvar to = $Object(target); // step 1\n\tif (arguments.length === 1) {\n\t\treturn to; // step 2\n\t}\n\tfor (var s = 1; s < arguments.length; ++s) {\n\t\tvar from = $Object(arguments[s]); // step 3.a.i\n\n\t\t// step 3.a.ii:\n\t\tvar keys = objectKeys(from);\n\t\tvar getSymbols = hasSymbols && ($Object.getOwnPropertySymbols || originalGetSymbols);\n\t\tif (getSymbols) {\n\t\t\tvar syms = getSymbols(from);\n\t\t\tfor (var j = 0; j < syms.length; ++j) {\n\t\t\t\tvar key = syms[j];\n\t\t\t\tif ($propIsEnumerable(from, key)) {\n\t\t\t\t\t$push(keys, key);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// step 3.a.iii:\n\t\tfor (var i = 0; i < keys.length; ++i) {\n\t\t\tvar nextKey = keys[i];\n\t\t\tif ($propIsEnumerable(from, nextKey)) { // step 3.a.iii.2\n\t\t\t\tvar propValue = from[nextKey]; // step 3.a.iii.2.a\n\t\t\t\tto[nextKey] = propValue; // step 3.a.iii.2.b\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to; // step 4\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/object.assign/implementation.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/object.assign/index.js": -/*!*********************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/object.assign/index.js ***! - \*********************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar defineProperties = __webpack_require__(/*! define-properties */ \"./node_modules/define-properties/index.js\");\nvar callBind = __webpack_require__(/*! call-bind */ \"./node_modules/deep-equal/node_modules/object.assign/node_modules/call-bind/index.js\");\n\nvar implementation = __webpack_require__(/*! ./implementation */ \"./node_modules/deep-equal/node_modules/object.assign/implementation.js\");\nvar getPolyfill = __webpack_require__(/*! ./polyfill */ \"./node_modules/deep-equal/node_modules/object.assign/polyfill.js\");\nvar shim = __webpack_require__(/*! ./shim */ \"./node_modules/deep-equal/node_modules/object.assign/shim.js\");\n\nvar polyfill = callBind.apply(getPolyfill());\n// eslint-disable-next-line no-unused-vars\nvar bound = function assign(target, source1) {\n\treturn polyfill(Object, arguments);\n};\n\ndefineProperties(bound, {\n\tgetPolyfill: getPolyfill,\n\timplementation: implementation,\n\tshim: shim\n});\n\nmodule.exports = bound;\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/object.assign/index.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/object.assign/node_modules/call-bind/index.js": -/*!********************************************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/object.assign/node_modules/call-bind/index.js ***! - \********************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar setFunctionLength = __webpack_require__(/*! set-function-length */ \"./node_modules/set-function-length/index.js\");\n\nvar $defineProperty = __webpack_require__(/*! es-define-property */ \"./node_modules/deep-equal/node_modules/object.assign/node_modules/es-define-property/index.js\");\n\nvar callBindBasic = __webpack_require__(/*! call-bind-apply-helpers */ \"./node_modules/call-bind-apply-helpers/index.js\");\nvar applyBind = __webpack_require__(/*! call-bind-apply-helpers/applyBind */ \"./node_modules/call-bind-apply-helpers/applyBind.js\");\n\nmodule.exports = function callBind(originalFunction) {\n\tvar func = callBindBasic(arguments);\n\tvar adjustedLength = originalFunction.length - (arguments.length - 1);\n\treturn setFunctionLength(\n\t\tfunc,\n\t\t1 + (adjustedLength > 0 ? adjustedLength : 0),\n\t\ttrue\n\t);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/object.assign/node_modules/call-bind/index.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/object.assign/node_modules/es-define-property/index.js": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/object.assign/node_modules/es-define-property/index.js ***! - \*****************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"./node_modules/deep-equal/node_modules/object.assign/node_modules/get-intrinsic/index.js\");\n\n/** @type {import('.')} */\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = false;\n\t}\n}\n\nmodule.exports = $defineProperty;\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/object.assign/node_modules/es-define-property/index.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/object.assign/node_modules/get-intrinsic/index.js": -/*!************************************************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/object.assign/node_modules/get-intrinsic/index.js ***! - \************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar undefined;\n\nvar $Error = __webpack_require__(/*! es-errors */ \"./node_modules/es-errors/index.js\");\nvar $EvalError = __webpack_require__(/*! es-errors/eval */ \"./node_modules/es-errors/eval.js\");\nvar $RangeError = __webpack_require__(/*! es-errors/range */ \"./node_modules/es-errors/range.js\");\nvar $ReferenceError = __webpack_require__(/*! es-errors/ref */ \"./node_modules/es-errors/ref.js\");\nvar $SyntaxError = __webpack_require__(/*! es-errors/syntax */ \"./node_modules/es-errors/syntax.js\");\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\nvar $URIError = __webpack_require__(/*! es-errors/uri */ \"./node_modules/es-errors/uri.js\");\n\nvar $Function = Function;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = Object.getOwnPropertyDescriptor;\nif ($gOPD) {\n\ttry {\n\t\t$gOPD({}, '');\n\t} catch (e) {\n\t\t$gOPD = null; // this is IE 8, which has a broken gOPD\n\t}\n}\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = __webpack_require__(/*! has-symbols */ \"./node_modules/deep-equal/node_modules/object.assign/node_modules/get-intrinsic/node_modules/has-symbols/index.js\")();\nvar hasProto = __webpack_require__(/*! has-proto */ \"./node_modules/has-proto/index.js\")();\n\nvar getProto = Object.getPrototypeOf || (\n\thasProto\n\t\t? function (x) { return x.__proto__; } // eslint-disable-line no-proto\n\t\t: null\n);\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t__proto__: null,\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,\n\t'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': $Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': $EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': Object,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': $RangeError,\n\t'%ReferenceError%': $ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': $URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet\n};\n\nif (getProto) {\n\ttry {\n\t\tnull.error; // eslint-disable-line no-unused-expressions\n\t} catch (e) {\n\t\t// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n\t\tvar errorProto = getProto(getProto(e));\n\t\tINTRINSICS['%Error.prototype%'] = errorProto;\n\t}\n}\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen && getProto) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t__proto__: null,\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = __webpack_require__(/*! function-bind */ \"./node_modules/function-bind/index.js\");\nvar hasOwn = __webpack_require__(/*! hasown */ \"./node_modules/hasown/index.js\");\nvar $concat = bind.call(Function.call, Array.prototype.concat);\nvar $spliceApply = bind.call(Function.apply, Array.prototype.splice);\nvar $replace = bind.call(Function.call, String.prototype.replace);\nvar $strSlice = bind.call(Function.call, String.prototype.slice);\nvar $exec = bind.call(Function.call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t}\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/object.assign/node_modules/get-intrinsic/index.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/object.assign/node_modules/get-intrinsic/node_modules/has-symbols/index.js": -/*!*************************************************************************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/object.assign/node_modules/get-intrinsic/node_modules/has-symbols/index.js ***! - \*************************************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = __webpack_require__(/*! ./shams */ \"./node_modules/deep-equal/node_modules/object.assign/node_modules/get-intrinsic/node_modules/has-symbols/shams.js\");\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/object.assign/node_modules/get-intrinsic/node_modules/has-symbols/index.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/object.assign/node_modules/get-intrinsic/node_modules/has-symbols/shams.js": -/*!*************************************************************************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/object.assign/node_modules/get-intrinsic/node_modules/has-symbols/shams.js ***! - \*************************************************************************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/object.assign/node_modules/get-intrinsic/node_modules/has-symbols/shams.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/object.assign/polyfill.js": -/*!************************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/object.assign/polyfill.js ***! - \************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar implementation = __webpack_require__(/*! ./implementation */ \"./node_modules/deep-equal/node_modules/object.assign/implementation.js\");\n\nvar lacksProperEnumerationOrder = function () {\n\tif (!Object.assign) {\n\t\treturn false;\n\t}\n\t/*\n\t * v8, specifically in node 4.x, has a bug with incorrect property enumeration order\n\t * note: this does not detect the bug unless there's 20 characters\n\t */\n\tvar str = 'abcdefghijklmnopqrst';\n\tvar letters = str.split('');\n\tvar map = {};\n\tfor (var i = 0; i < letters.length; ++i) {\n\t\tmap[letters[i]] = letters[i];\n\t}\n\tvar obj = Object.assign({}, map);\n\tvar actual = '';\n\tfor (var k in obj) {\n\t\tactual += k;\n\t}\n\treturn str !== actual;\n};\n\nvar assignHasPendingExceptions = function () {\n\tif (!Object.assign || !Object.preventExtensions) {\n\t\treturn false;\n\t}\n\t/*\n\t * Firefox 37 still has \"pending exception\" logic in its Object.assign implementation,\n\t * which is 72% slower than our shim, and Firefox 40's native implementation.\n\t */\n\tvar thrower = Object.preventExtensions({ 1: 2 });\n\ttry {\n\t\tObject.assign(thrower, 'xy');\n\t} catch (e) {\n\t\treturn thrower[1] === 'y';\n\t}\n\treturn false;\n};\n\nmodule.exports = function getPolyfill() {\n\tif (!Object.assign) {\n\t\treturn implementation;\n\t}\n\tif (lacksProperEnumerationOrder()) {\n\t\treturn implementation;\n\t}\n\tif (assignHasPendingExceptions()) {\n\t\treturn implementation;\n\t}\n\treturn Object.assign;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/object.assign/polyfill.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/object.assign/shim.js": -/*!********************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/object.assign/shim.js ***! - \********************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar define = __webpack_require__(/*! define-properties */ \"./node_modules/define-properties/index.js\");\nvar getPolyfill = __webpack_require__(/*! ./polyfill */ \"./node_modules/deep-equal/node_modules/object.assign/polyfill.js\");\n\nmodule.exports = function shimAssign() {\n\tvar polyfill = getPolyfill();\n\tdefine(\n\t\tObject,\n\t\t{ assign: polyfill },\n\t\t{ assign: function () { return Object.assign !== polyfill; } }\n\t);\n\treturn polyfill;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/object.assign/shim.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/which-typed-array/index.js": -/*!*************************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/which-typed-array/index.js ***! - \*************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar forEach = __webpack_require__(/*! for-each */ \"./node_modules/for-each/index.js\");\nvar availableTypedArrays = __webpack_require__(/*! available-typed-arrays */ \"./node_modules/available-typed-arrays/index.js\");\nvar callBind = __webpack_require__(/*! call-bind */ \"./node_modules/deep-equal/node_modules/which-typed-array/node_modules/call-bind/index.js\");\nvar callBound = __webpack_require__(/*! call-bound */ \"./node_modules/call-bound/index.js\");\nvar gOPD = __webpack_require__(/*! gopd */ \"./node_modules/deep-equal/node_modules/gopd/index.js\");\n\n/** @type {(O: object) => string} */\nvar $toString = callBound('Object.prototype.toString');\nvar hasToStringTag = __webpack_require__(/*! has-tostringtag/shams */ \"./node_modules/has-tostringtag/shams.js\")();\n\nvar g = typeof globalThis === 'undefined' ? __webpack_require__.g : globalThis;\nvar typedArrays = availableTypedArrays();\n\nvar $slice = callBound('String.prototype.slice');\nvar getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof');\n\n/** @type {(array: readonly T[], value: unknown) => number} */\nvar $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) {\n\tfor (var i = 0; i < array.length; i += 1) {\n\t\tif (array[i] === value) {\n\t\t\treturn i;\n\t\t}\n\t}\n\treturn -1;\n};\n\n/** @typedef {(receiver: import('.').TypedArray) => string | typeof Uint8Array.prototype.slice.call | typeof Uint8Array.prototype.set.call} Getter */\n/** @type {{ [k in `\\$${import('.').TypedArrayName}`]?: Getter } & { __proto__: null }} */\nvar cache = { __proto__: null };\nif (hasToStringTag && gOPD && getPrototypeOf) {\n\tforEach(typedArrays, function (typedArray) {\n\t\tvar arr = new g[typedArray]();\n\t\tif (Symbol.toStringTag in arr) {\n\t\t\tvar proto = getPrototypeOf(arr);\n\t\t\t// @ts-expect-error TS won't narrow inside a closure\n\t\t\tvar descriptor = gOPD(proto, Symbol.toStringTag);\n\t\t\tif (!descriptor) {\n\t\t\t\tvar superProto = getPrototypeOf(proto);\n\t\t\t\t// @ts-expect-error TS won't narrow inside a closure\n\t\t\t\tdescriptor = gOPD(superProto, Symbol.toStringTag);\n\t\t\t}\n\t\t\t// @ts-expect-error TODO: fix\n\t\t\tcache['$' + typedArray] = callBind(descriptor.get);\n\t\t}\n\t});\n} else {\n\tforEach(typedArrays, function (typedArray) {\n\t\tvar arr = new g[typedArray]();\n\t\tvar fn = arr.slice || arr.set;\n\t\tif (fn) {\n\t\t\t// @ts-expect-error TODO: fix\n\t\t\tcache['$' + typedArray] = callBind(fn);\n\t\t}\n\t});\n}\n\n/** @type {(value: object) => false | import('.').TypedArrayName} */\nvar tryTypedArrays = function tryAllTypedArrays(value) {\n\t/** @type {ReturnType} */ var found = false;\n\tforEach(\n\t\t// eslint-disable-next-line no-extra-parens\n\t\t/** @type {Record<`\\$${TypedArrayName}`, Getter>} */ /** @type {any} */ (cache),\n\t\t/** @type {(getter: Getter, name: `\\$${import('.').TypedArrayName}`) => void} */\n\t\tfunction (getter, typedArray) {\n\t\t\tif (!found) {\n\t\t\t\ttry {\n\t\t\t\t// @ts-expect-error TODO: fix\n\t\t\t\t\tif ('$' + getter(value) === typedArray) {\n\t\t\t\t\t\tfound = $slice(typedArray, 1);\n\t\t\t\t\t}\n\t\t\t\t} catch (e) { /**/ }\n\t\t\t}\n\t\t}\n\t);\n\treturn found;\n};\n\n/** @type {(value: object) => false | import('.').TypedArrayName} */\nvar trySlices = function tryAllSlices(value) {\n\t/** @type {ReturnType} */ var found = false;\n\tforEach(\n\t\t// eslint-disable-next-line no-extra-parens\n\t\t/** @type {Record<`\\$${TypedArrayName}`, Getter>} */ /** @type {any} */ (cache),\n\t\t/** @type {(getter: typeof cache, name: `\\$${import('.').TypedArrayName}`) => void} */ function (getter, name) {\n\t\t\tif (!found) {\n\t\t\t\ttry {\n\t\t\t\t\t// @ts-expect-error TODO: fix\n\t\t\t\t\tgetter(value);\n\t\t\t\t\tfound = $slice(name, 1);\n\t\t\t\t} catch (e) { /**/ }\n\t\t\t}\n\t\t}\n\t);\n\treturn found;\n};\n\n/** @type {import('.')} */\nmodule.exports = function whichTypedArray(value) {\n\tif (!value || typeof value !== 'object') { return false; }\n\tif (!hasToStringTag) {\n\t\t/** @type {string} */\n\t\tvar tag = $slice($toString(value), 8, -1);\n\t\tif ($indexOf(typedArrays, tag) > -1) {\n\t\t\treturn tag;\n\t\t}\n\t\tif (tag !== 'Object') {\n\t\t\treturn false;\n\t\t}\n\t\t// node < 0.6 hits here on real Typed Arrays\n\t\treturn trySlices(value);\n\t}\n\tif (!gOPD) { return null; } // unknown engine\n\treturn tryTypedArrays(value);\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/which-typed-array/index.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/which-typed-array/node_modules/call-bind/index.js": -/*!************************************************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/which-typed-array/node_modules/call-bind/index.js ***! - \************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar setFunctionLength = __webpack_require__(/*! set-function-length */ \"./node_modules/set-function-length/index.js\");\n\nvar $defineProperty = __webpack_require__(/*! es-define-property */ \"./node_modules/deep-equal/node_modules/which-typed-array/node_modules/es-define-property/index.js\");\n\nvar callBindBasic = __webpack_require__(/*! call-bind-apply-helpers */ \"./node_modules/call-bind-apply-helpers/index.js\");\nvar applyBind = __webpack_require__(/*! call-bind-apply-helpers/applyBind */ \"./node_modules/call-bind-apply-helpers/applyBind.js\");\n\nmodule.exports = function callBind(originalFunction) {\n\tvar func = callBindBasic(arguments);\n\tvar adjustedLength = originalFunction.length - (arguments.length - 1);\n\treturn setFunctionLength(\n\t\tfunc,\n\t\t1 + (adjustedLength > 0 ? adjustedLength : 0),\n\t\ttrue\n\t);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/which-typed-array/node_modules/call-bind/index.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/which-typed-array/node_modules/es-define-property/index.js": -/*!*********************************************************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/which-typed-array/node_modules/es-define-property/index.js ***! - \*********************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"./node_modules/deep-equal/node_modules/which-typed-array/node_modules/get-intrinsic/index.js\");\n\n/** @type {import('.')} */\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = false;\n\t}\n}\n\nmodule.exports = $defineProperty;\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/which-typed-array/node_modules/es-define-property/index.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/which-typed-array/node_modules/get-intrinsic/index.js": -/*!****************************************************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/which-typed-array/node_modules/get-intrinsic/index.js ***! - \****************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar undefined;\n\nvar $Error = __webpack_require__(/*! es-errors */ \"./node_modules/es-errors/index.js\");\nvar $EvalError = __webpack_require__(/*! es-errors/eval */ \"./node_modules/es-errors/eval.js\");\nvar $RangeError = __webpack_require__(/*! es-errors/range */ \"./node_modules/es-errors/range.js\");\nvar $ReferenceError = __webpack_require__(/*! es-errors/ref */ \"./node_modules/es-errors/ref.js\");\nvar $SyntaxError = __webpack_require__(/*! es-errors/syntax */ \"./node_modules/es-errors/syntax.js\");\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\nvar $URIError = __webpack_require__(/*! es-errors/uri */ \"./node_modules/es-errors/uri.js\");\n\nvar $Function = Function;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = Object.getOwnPropertyDescriptor;\nif ($gOPD) {\n\ttry {\n\t\t$gOPD({}, '');\n\t} catch (e) {\n\t\t$gOPD = null; // this is IE 8, which has a broken gOPD\n\t}\n}\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = __webpack_require__(/*! has-symbols */ \"./node_modules/deep-equal/node_modules/which-typed-array/node_modules/has-symbols/index.js\")();\nvar hasProto = __webpack_require__(/*! has-proto */ \"./node_modules/has-proto/index.js\")();\n\nvar getProto = Object.getPrototypeOf || (\n\thasProto\n\t\t? function (x) { return x.__proto__; } // eslint-disable-line no-proto\n\t\t: null\n);\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t__proto__: null,\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,\n\t'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': $Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': $EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': Object,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': $RangeError,\n\t'%ReferenceError%': $ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': $URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet\n};\n\nif (getProto) {\n\ttry {\n\t\tnull.error; // eslint-disable-line no-unused-expressions\n\t} catch (e) {\n\t\t// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n\t\tvar errorProto = getProto(getProto(e));\n\t\tINTRINSICS['%Error.prototype%'] = errorProto;\n\t}\n}\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen && getProto) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t__proto__: null,\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = __webpack_require__(/*! function-bind */ \"./node_modules/function-bind/index.js\");\nvar hasOwn = __webpack_require__(/*! hasown */ \"./node_modules/hasown/index.js\");\nvar $concat = bind.call(Function.call, Array.prototype.concat);\nvar $spliceApply = bind.call(Function.apply, Array.prototype.splice);\nvar $replace = bind.call(Function.call, String.prototype.replace);\nvar $strSlice = bind.call(Function.call, String.prototype.slice);\nvar $exec = bind.call(Function.call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t}\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/which-typed-array/node_modules/get-intrinsic/index.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/which-typed-array/node_modules/has-symbols/index.js": -/*!**************************************************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/which-typed-array/node_modules/has-symbols/index.js ***! - \**************************************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = __webpack_require__(/*! ./shams */ \"./node_modules/deep-equal/node_modules/which-typed-array/node_modules/has-symbols/shams.js\");\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/which-typed-array/node_modules/has-symbols/index.js?"); - -/***/ }), - -/***/ "./node_modules/deep-equal/node_modules/which-typed-array/node_modules/has-symbols/shams.js": -/*!**************************************************************************************************!*\ - !*** ./node_modules/deep-equal/node_modules/which-typed-array/node_modules/has-symbols/shams.js ***! - \**************************************************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/deep-equal/node_modules/which-typed-array/node_modules/has-symbols/shams.js?"); - -/***/ }), - -/***/ "./node_modules/define-data-property/index.js": -/*!****************************************************!*\ - !*** ./node_modules/define-data-property/index.js ***! - \****************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar $defineProperty = __webpack_require__(/*! es-define-property */ \"./node_modules/es-define-property/index.js\");\n\nvar $SyntaxError = __webpack_require__(/*! es-errors/syntax */ \"./node_modules/es-errors/syntax.js\");\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\n\nvar gopd = __webpack_require__(/*! gopd */ \"./node_modules/gopd/index.js\");\n\n/** @type {import('.')} */\nmodule.exports = function defineDataProperty(\n\tobj,\n\tproperty,\n\tvalue\n) {\n\tif (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {\n\t\tthrow new $TypeError('`obj` must be an object or a function`');\n\t}\n\tif (typeof property !== 'string' && typeof property !== 'symbol') {\n\t\tthrow new $TypeError('`property` must be a string or a symbol`');\n\t}\n\tif (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {\n\t\tthrow new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {\n\t\tthrow new $TypeError('`nonWritable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {\n\t\tthrow new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 6 && typeof arguments[6] !== 'boolean') {\n\t\tthrow new $TypeError('`loose`, if provided, must be a boolean');\n\t}\n\n\tvar nonEnumerable = arguments.length > 3 ? arguments[3] : null;\n\tvar nonWritable = arguments.length > 4 ? arguments[4] : null;\n\tvar nonConfigurable = arguments.length > 5 ? arguments[5] : null;\n\tvar loose = arguments.length > 6 ? arguments[6] : false;\n\n\t/* @type {false | TypedPropertyDescriptor} */\n\tvar desc = !!gopd && gopd(obj, property);\n\n\tif ($defineProperty) {\n\t\t$defineProperty(obj, property, {\n\t\t\tconfigurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,\n\t\t\tenumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,\n\t\t\tvalue: value,\n\t\t\twritable: nonWritable === null && desc ? desc.writable : !nonWritable\n\t\t});\n\t} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {\n\t\t// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable\n\t\tobj[property] = value; // eslint-disable-line no-param-reassign\n\t} else {\n\t\tthrow new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');\n\t}\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/define-data-property/index.js?"); - -/***/ }), - -/***/ "./node_modules/define-properties/index.js": -/*!*************************************************!*\ - !*** ./node_modules/define-properties/index.js ***! - \*************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar keys = __webpack_require__(/*! object-keys */ \"./node_modules/object-keys/index.js\");\nvar hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';\n\nvar toStr = Object.prototype.toString;\nvar concat = Array.prototype.concat;\nvar defineDataProperty = __webpack_require__(/*! define-data-property */ \"./node_modules/define-data-property/index.js\");\n\nvar isFunction = function (fn) {\n\treturn typeof fn === 'function' && toStr.call(fn) === '[object Function]';\n};\n\nvar supportsDescriptors = __webpack_require__(/*! has-property-descriptors */ \"./node_modules/has-property-descriptors/index.js\")();\n\nvar defineProperty = function (object, name, value, predicate) {\n\tif (name in object) {\n\t\tif (predicate === true) {\n\t\t\tif (object[name] === value) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t} else if (!isFunction(predicate) || !predicate()) {\n\t\t\treturn;\n\t\t}\n\t}\n\n\tif (supportsDescriptors) {\n\t\tdefineDataProperty(object, name, value, true);\n\t} else {\n\t\tdefineDataProperty(object, name, value);\n\t}\n};\n\nvar defineProperties = function (object, map) {\n\tvar predicates = arguments.length > 2 ? arguments[2] : {};\n\tvar props = keys(map);\n\tif (hasSymbols) {\n\t\tprops = concat.call(props, Object.getOwnPropertySymbols(map));\n\t}\n\tfor (var i = 0; i < props.length; i += 1) {\n\t\tdefineProperty(object, props[i], map[props[i]], predicates[props[i]]);\n\t}\n};\n\ndefineProperties.supportsDescriptors = !!supportsDescriptors;\n\nmodule.exports = defineProperties;\n\n\n//# sourceURL=webpack://Undo/./node_modules/define-properties/index.js?"); - -/***/ }), - -/***/ "./node_modules/dunder-proto/get.js": -/*!******************************************!*\ - !*** ./node_modules/dunder-proto/get.js ***! - \******************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar callBind = __webpack_require__(/*! call-bind-apply-helpers */ \"./node_modules/call-bind-apply-helpers/index.js\");\nvar gOPD = __webpack_require__(/*! gopd */ \"./node_modules/dunder-proto/node_modules/gopd/index.js\");\n\nvar hasProtoAccessor;\ntry {\n\t// eslint-disable-next-line no-extra-parens, no-proto\n\thasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;\n} catch (e) {\n\tif (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {\n\t\tthrow e;\n\t}\n}\n\n// eslint-disable-next-line no-extra-parens\nvar desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));\n\nvar $Object = Object;\nvar $getPrototypeOf = $Object.getPrototypeOf;\n\n/** @type {import('./get')} */\nmodule.exports = desc && typeof desc.get === 'function'\n\t? callBind([desc.get])\n\t: typeof $getPrototypeOf === 'function'\n\t\t? /** @type {import('./get')} */ function getDunder(value) {\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\treturn $getPrototypeOf(value == null ? value : $Object(value));\n\t\t}\n\t\t: false;\n\n\n//# sourceURL=webpack://Undo/./node_modules/dunder-proto/get.js?"); - -/***/ }), - -/***/ "./node_modules/dunder-proto/node_modules/gopd/gOPD.js": -/*!*************************************************************!*\ - !*** ./node_modules/dunder-proto/node_modules/gopd/gOPD.js ***! - \*************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./gOPD')} */\nmodule.exports = Object.getOwnPropertyDescriptor;\n\n\n//# sourceURL=webpack://Undo/./node_modules/dunder-proto/node_modules/gopd/gOPD.js?"); - -/***/ }), - -/***/ "./node_modules/dunder-proto/node_modules/gopd/index.js": -/*!**************************************************************!*\ - !*** ./node_modules/dunder-proto/node_modules/gopd/index.js ***! - \**************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\n/** @type {import('.')} */\nvar $gOPD = __webpack_require__(/*! ./gOPD */ \"./node_modules/dunder-proto/node_modules/gopd/gOPD.js\");\n\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n\n\n//# sourceURL=webpack://Undo/./node_modules/dunder-proto/node_modules/gopd/index.js?"); - -/***/ }), - -/***/ "./node_modules/es-define-property/index.js": -/*!**************************************************!*\ - !*** ./node_modules/es-define-property/index.js ***! - \**************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"./node_modules/get-intrinsic/index.js\");\n\n/** @type {import('.')} */\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = false;\n\t}\n}\n\nmodule.exports = $defineProperty;\n\n\n//# sourceURL=webpack://Undo/./node_modules/es-define-property/index.js?"); - -/***/ }), - -/***/ "./node_modules/es-errors/eval.js": -/*!****************************************!*\ - !*** ./node_modules/es-errors/eval.js ***! - \****************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./eval')} */\nmodule.exports = EvalError;\n\n\n//# sourceURL=webpack://Undo/./node_modules/es-errors/eval.js?"); - -/***/ }), - -/***/ "./node_modules/es-errors/index.js": -/*!*****************************************!*\ - !*** ./node_modules/es-errors/index.js ***! - \*****************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('.')} */\nmodule.exports = Error;\n\n\n//# sourceURL=webpack://Undo/./node_modules/es-errors/index.js?"); - -/***/ }), - -/***/ "./node_modules/es-errors/range.js": -/*!*****************************************!*\ - !*** ./node_modules/es-errors/range.js ***! - \*****************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./range')} */\nmodule.exports = RangeError;\n\n\n//# sourceURL=webpack://Undo/./node_modules/es-errors/range.js?"); - -/***/ }), - -/***/ "./node_modules/es-errors/ref.js": -/*!***************************************!*\ - !*** ./node_modules/es-errors/ref.js ***! - \***************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./ref')} */\nmodule.exports = ReferenceError;\n\n\n//# sourceURL=webpack://Undo/./node_modules/es-errors/ref.js?"); - -/***/ }), - -/***/ "./node_modules/es-errors/syntax.js": -/*!******************************************!*\ - !*** ./node_modules/es-errors/syntax.js ***! - \******************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./syntax')} */\nmodule.exports = SyntaxError;\n\n\n//# sourceURL=webpack://Undo/./node_modules/es-errors/syntax.js?"); - -/***/ }), - -/***/ "./node_modules/es-errors/type.js": -/*!****************************************!*\ - !*** ./node_modules/es-errors/type.js ***! - \****************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./type')} */\nmodule.exports = TypeError;\n\n\n//# sourceURL=webpack://Undo/./node_modules/es-errors/type.js?"); - -/***/ }), - -/***/ "./node_modules/es-errors/uri.js": -/*!***************************************!*\ - !*** ./node_modules/es-errors/uri.js ***! - \***************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./uri')} */\nmodule.exports = URIError;\n\n\n//# sourceURL=webpack://Undo/./node_modules/es-errors/uri.js?"); - -/***/ }), - -/***/ "./node_modules/es-object-atoms/index.js": -/*!***********************************************!*\ - !*** ./node_modules/es-object-atoms/index.js ***! - \***********************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('.')} */\nmodule.exports = Object;\n\n\n//# sourceURL=webpack://Undo/./node_modules/es-object-atoms/index.js?"); - -/***/ }), - -/***/ "./node_modules/for-each/index.js": -/*!****************************************!*\ - !*** ./node_modules/for-each/index.js ***! - \****************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar isCallable = __webpack_require__(/*! is-callable */ \"./node_modules/is-callable/index.js\");\n\nvar toStr = Object.prototype.toString;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar forEachArray = function forEachArray(array, iterator, receiver) {\n for (var i = 0, len = array.length; i < len; i++) {\n if (hasOwnProperty.call(array, i)) {\n if (receiver == null) {\n iterator(array[i], i, array);\n } else {\n iterator.call(receiver, array[i], i, array);\n }\n }\n }\n};\n\nvar forEachString = function forEachString(string, iterator, receiver) {\n for (var i = 0, len = string.length; i < len; i++) {\n // no such thing as a sparse string.\n if (receiver == null) {\n iterator(string.charAt(i), i, string);\n } else {\n iterator.call(receiver, string.charAt(i), i, string);\n }\n }\n};\n\nvar forEachObject = function forEachObject(object, iterator, receiver) {\n for (var k in object) {\n if (hasOwnProperty.call(object, k)) {\n if (receiver == null) {\n iterator(object[k], k, object);\n } else {\n iterator.call(receiver, object[k], k, object);\n }\n }\n }\n};\n\nvar forEach = function forEach(list, iterator, thisArg) {\n if (!isCallable(iterator)) {\n throw new TypeError('iterator must be a function');\n }\n\n var receiver;\n if (arguments.length >= 3) {\n receiver = thisArg;\n }\n\n if (toStr.call(list) === '[object Array]') {\n forEachArray(list, iterator, receiver);\n } else if (typeof list === 'string') {\n forEachString(list, iterator, receiver);\n } else {\n forEachObject(list, iterator, receiver);\n }\n};\n\nmodule.exports = forEach;\n\n\n//# sourceURL=webpack://Undo/./node_modules/for-each/index.js?"); - -/***/ }), - -/***/ "./node_modules/function-bind/implementation.js": -/*!******************************************************!*\ - !*** ./node_modules/function-bind/implementation.js ***! - \******************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar toStr = Object.prototype.toString;\nvar max = Math.max;\nvar funcType = '[object Function]';\n\nvar concatty = function concatty(a, b) {\n var arr = [];\n\n for (var i = 0; i < a.length; i += 1) {\n arr[i] = a[i];\n }\n for (var j = 0; j < b.length; j += 1) {\n arr[j + a.length] = b[j];\n }\n\n return arr;\n};\n\nvar slicy = function slicy(arrLike, offset) {\n var arr = [];\n for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {\n arr[j] = arrLike[i];\n }\n return arr;\n};\n\nvar joiny = function (arr, joiner) {\n var str = '';\n for (var i = 0; i < arr.length; i += 1) {\n str += arr[i];\n if (i + 1 < arr.length) {\n str += joiner;\n }\n }\n return str;\n};\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.apply(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slicy(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n concatty(args, arguments)\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n }\n return target.apply(\n that,\n concatty(args, arguments)\n );\n\n };\n\n var boundLength = max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs[i] = '$' + i;\n }\n\n bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/function-bind/implementation.js?"); - -/***/ }), - -/***/ "./node_modules/function-bind/index.js": -/*!*********************************************!*\ - !*** ./node_modules/function-bind/index.js ***! - \*********************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar implementation = __webpack_require__(/*! ./implementation */ \"./node_modules/function-bind/implementation.js\");\n\nmodule.exports = Function.prototype.bind || implementation;\n\n\n//# sourceURL=webpack://Undo/./node_modules/function-bind/index.js?"); - -/***/ }), - -/***/ "./node_modules/functions-have-names/index.js": -/*!****************************************************!*\ - !*** ./node_modules/functions-have-names/index.js ***! - \****************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\nvar functionsHaveNames = function functionsHaveNames() {\n\treturn typeof function f() {}.name === 'string';\n};\n\nvar gOPD = Object.getOwnPropertyDescriptor;\nif (gOPD) {\n\ttry {\n\t\tgOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\tgOPD = null;\n\t}\n}\n\nfunctionsHaveNames.functionsHaveConfigurableNames = function functionsHaveConfigurableNames() {\n\tif (!functionsHaveNames() || !gOPD) {\n\t\treturn false;\n\t}\n\tvar desc = gOPD(function () {}, 'name');\n\treturn !!desc && !!desc.configurable;\n};\n\nvar $bind = Function.prototype.bind;\n\nfunctionsHaveNames.boundFunctionsHaveNames = function boundFunctionsHaveNames() {\n\treturn functionsHaveNames() && typeof $bind === 'function' && function f() {}.bind().name !== '';\n};\n\nmodule.exports = functionsHaveNames;\n\n\n//# sourceURL=webpack://Undo/./node_modules/functions-have-names/index.js?"); - -/***/ }), - -/***/ "./node_modules/get-intrinsic/index.js": -/*!*********************************************!*\ - !*** ./node_modules/get-intrinsic/index.js ***! - \*********************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar undefined;\n\nvar $Error = __webpack_require__(/*! es-errors */ \"./node_modules/es-errors/index.js\");\nvar $EvalError = __webpack_require__(/*! es-errors/eval */ \"./node_modules/es-errors/eval.js\");\nvar $RangeError = __webpack_require__(/*! es-errors/range */ \"./node_modules/es-errors/range.js\");\nvar $ReferenceError = __webpack_require__(/*! es-errors/ref */ \"./node_modules/es-errors/ref.js\");\nvar $SyntaxError = __webpack_require__(/*! es-errors/syntax */ \"./node_modules/es-errors/syntax.js\");\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\nvar $URIError = __webpack_require__(/*! es-errors/uri */ \"./node_modules/es-errors/uri.js\");\n\nvar $Function = Function;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = Object.getOwnPropertyDescriptor;\nif ($gOPD) {\n\ttry {\n\t\t$gOPD({}, '');\n\t} catch (e) {\n\t\t$gOPD = null; // this is IE 8, which has a broken gOPD\n\t}\n}\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = __webpack_require__(/*! has-symbols */ \"./node_modules/has-symbols/index.js\")();\nvar hasProto = __webpack_require__(/*! has-proto */ \"./node_modules/has-proto/index.js\")();\n\nvar getProto = Object.getPrototypeOf || (\n\thasProto\n\t\t? function (x) { return x.__proto__; } // eslint-disable-line no-proto\n\t\t: null\n);\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t__proto__: null,\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,\n\t'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': $Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': $EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': Object,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': $RangeError,\n\t'%ReferenceError%': $ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': $URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet\n};\n\nif (getProto) {\n\ttry {\n\t\tnull.error; // eslint-disable-line no-unused-expressions\n\t} catch (e) {\n\t\t// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n\t\tvar errorProto = getProto(getProto(e));\n\t\tINTRINSICS['%Error.prototype%'] = errorProto;\n\t}\n}\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen && getProto) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t__proto__: null,\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = __webpack_require__(/*! function-bind */ \"./node_modules/function-bind/index.js\");\nvar hasOwn = __webpack_require__(/*! hasown */ \"./node_modules/hasown/index.js\");\nvar $concat = bind.call(Function.call, Array.prototype.concat);\nvar $spliceApply = bind.call(Function.apply, Array.prototype.splice);\nvar $replace = bind.call(Function.call, String.prototype.replace);\nvar $strSlice = bind.call(Function.call, String.prototype.slice);\nvar $exec = bind.call(Function.call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t}\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/get-intrinsic/index.js?"); - -/***/ }), - -/***/ "./node_modules/get-proto/Object.getPrototypeOf.js": -/*!*********************************************************!*\ - !*** ./node_modules/get-proto/Object.getPrototypeOf.js ***! - \*********************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar $Object = __webpack_require__(/*! es-object-atoms */ \"./node_modules/es-object-atoms/index.js\");\n\n/** @type {import('./Object.getPrototypeOf')} */\nmodule.exports = $Object.getPrototypeOf || null;\n\n\n//# sourceURL=webpack://Undo/./node_modules/get-proto/Object.getPrototypeOf.js?"); - -/***/ }), - -/***/ "./node_modules/get-proto/Reflect.getPrototypeOf.js": -/*!**********************************************************!*\ - !*** ./node_modules/get-proto/Reflect.getPrototypeOf.js ***! - \**********************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./Reflect.getPrototypeOf')} */\nmodule.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null;\n\n\n//# sourceURL=webpack://Undo/./node_modules/get-proto/Reflect.getPrototypeOf.js?"); - -/***/ }), - -/***/ "./node_modules/get-proto/index.js": -/*!*****************************************!*\ - !*** ./node_modules/get-proto/index.js ***! - \*****************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar reflectGetProto = __webpack_require__(/*! ./Reflect.getPrototypeOf */ \"./node_modules/get-proto/Reflect.getPrototypeOf.js\");\nvar originalGetProto = __webpack_require__(/*! ./Object.getPrototypeOf */ \"./node_modules/get-proto/Object.getPrototypeOf.js\");\n\nvar getDunderProto = __webpack_require__(/*! dunder-proto/get */ \"./node_modules/dunder-proto/get.js\");\n\n/** @type {import('.')} */\nmodule.exports = reflectGetProto\n\t? function getProto(O) {\n\t\t// @ts-expect-error TS can't narrow inside a closure, for some reason\n\t\treturn reflectGetProto(O);\n\t}\n\t: originalGetProto\n\t\t? function getProto(O) {\n\t\t\tif (!O || (typeof O !== 'object' && typeof O !== 'function')) {\n\t\t\t\tthrow new TypeError('getProto: not an object');\n\t\t\t}\n\t\t\t// @ts-expect-error TS can't narrow inside a closure, for some reason\n\t\t\treturn originalGetProto(O);\n\t\t}\n\t\t: getDunderProto\n\t\t\t? function getProto(O) {\n\t\t\t\t// @ts-expect-error TS can't narrow inside a closure, for some reason\n\t\t\t\treturn getDunderProto(O);\n\t\t\t}\n\t\t\t: null;\n\n\n//# sourceURL=webpack://Undo/./node_modules/get-proto/index.js?"); - -/***/ }), - -/***/ "./node_modules/gopd/index.js": -/*!************************************!*\ - !*** ./node_modules/gopd/index.js ***! - \************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"./node_modules/get-intrinsic/index.js\");\n\nvar $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\n\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n\n\n//# sourceURL=webpack://Undo/./node_modules/gopd/index.js?"); - -/***/ }), - -/***/ "./node_modules/has-bigints/index.js": -/*!*******************************************!*\ - !*** ./node_modules/has-bigints/index.js ***! - \*******************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\nvar $BigInt = typeof BigInt !== 'undefined' && BigInt;\n\nmodule.exports = function hasNativeBigInts() {\n\treturn typeof $BigInt === 'function'\n\t\t&& typeof BigInt === 'function'\n\t\t&& typeof $BigInt(42) === 'bigint' // eslint-disable-line no-magic-numbers\n\t\t&& typeof BigInt(42) === 'bigint'; // eslint-disable-line no-magic-numbers\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/has-bigints/index.js?"); - -/***/ }), - -/***/ "./node_modules/has-property-descriptors/index.js": -/*!********************************************************!*\ - !*** ./node_modules/has-property-descriptors/index.js ***! - \********************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar $defineProperty = __webpack_require__(/*! es-define-property */ \"./node_modules/es-define-property/index.js\");\n\nvar hasPropertyDescriptors = function hasPropertyDescriptors() {\n\treturn !!$defineProperty;\n};\n\nhasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {\n\t// node v0.6 has a bug where array lengths can be Set but not Defined\n\tif (!$defineProperty) {\n\t\treturn null;\n\t}\n\ttry {\n\t\treturn $defineProperty([], 'length', { value: 1 }).length !== 1;\n\t} catch (e) {\n\t\t// In Firefox 4-22, defining length on an array throws an exception.\n\t\treturn true;\n\t}\n};\n\nmodule.exports = hasPropertyDescriptors;\n\n\n//# sourceURL=webpack://Undo/./node_modules/has-property-descriptors/index.js?"); - -/***/ }), - -/***/ "./node_modules/has-proto/index.js": -/*!*****************************************!*\ - !*** ./node_modules/has-proto/index.js ***! - \*****************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\nvar test = {\n\t__proto__: null,\n\tfoo: {}\n};\n\nvar $Object = Object;\n\n/** @type {import('.')} */\nmodule.exports = function hasProto() {\n\t// @ts-expect-error: TS errors on an inherited property for some reason\n\treturn { __proto__: test }.foo === test.foo\n\t\t&& !(test instanceof $Object);\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/has-proto/index.js?"); - -/***/ }), - -/***/ "./node_modules/has-symbols/index.js": -/*!*******************************************!*\ - !*** ./node_modules/has-symbols/index.js ***! - \*******************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = __webpack_require__(/*! ./shams */ \"./node_modules/has-symbols/shams.js\");\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/has-symbols/index.js?"); - -/***/ }), - -/***/ "./node_modules/has-symbols/shams.js": -/*!*******************************************!*\ - !*** ./node_modules/has-symbols/shams.js ***! - \*******************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/has-symbols/shams.js?"); - -/***/ }), - -/***/ "./node_modules/has-tostringtag/shams.js": -/*!***********************************************!*\ - !*** ./node_modules/has-tostringtag/shams.js ***! - \***********************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar hasSymbols = __webpack_require__(/*! has-symbols/shams */ \"./node_modules/has-symbols/shams.js\");\n\n/** @type {import('.')} */\nmodule.exports = function hasToStringTagShams() {\n\treturn hasSymbols() && !!Symbol.toStringTag;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/has-tostringtag/shams.js?"); - -/***/ }), - -/***/ "./node_modules/hasown/index.js": -/*!**************************************!*\ - !*** ./node_modules/hasown/index.js ***! - \**************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar call = Function.prototype.call;\nvar $hasOwn = Object.prototype.hasOwnProperty;\nvar bind = __webpack_require__(/*! function-bind */ \"./node_modules/function-bind/index.js\");\n\n/** @type {import('.')} */\nmodule.exports = bind.call(call, $hasOwn);\n\n\n//# sourceURL=webpack://Undo/./node_modules/hasown/index.js?"); - -/***/ }), - -/***/ "./node_modules/is-arguments/index.js": -/*!********************************************!*\ - !*** ./node_modules/is-arguments/index.js ***! - \********************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar hasToStringTag = __webpack_require__(/*! has-tostringtag/shams */ \"./node_modules/has-tostringtag/shams.js\")();\nvar callBound = __webpack_require__(/*! call-bound */ \"./node_modules/call-bound/index.js\");\n\nvar $toString = callBound('Object.prototype.toString');\n\n/** @type {import('.')} */\nvar isStandardArguments = function isArguments(value) {\n\tif (\n\t\thasToStringTag\n\t\t&& value\n\t\t&& typeof value === 'object'\n\t\t&& Symbol.toStringTag in value\n\t) {\n\t\treturn false;\n\t}\n\treturn $toString(value) === '[object Arguments]';\n};\n\n/** @type {import('.')} */\nvar isLegacyArguments = function isArguments(value) {\n\tif (isStandardArguments(value)) {\n\t\treturn true;\n\t}\n\treturn value !== null\n\t\t&& typeof value === 'object'\n\t\t&& 'length' in value\n\t\t&& typeof value.length === 'number'\n\t\t&& value.length >= 0\n\t\t&& $toString(value) !== '[object Array]'\n\t\t&& 'callee' in value\n\t\t&& $toString(value.callee) === '[object Function]';\n};\n\nvar supportsStandardArguments = (function () {\n\treturn isStandardArguments(arguments);\n}());\n\n// @ts-expect-error TODO make this not error\nisStandardArguments.isLegacyArguments = isLegacyArguments; // for tests\n\n/** @type {import('.')} */\nmodule.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;\n\n\n//# sourceURL=webpack://Undo/./node_modules/is-arguments/index.js?"); - -/***/ }), - -/***/ "./node_modules/is-bigint/index.js": -/*!*****************************************!*\ - !*** ./node_modules/is-bigint/index.js ***! - \*****************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar hasBigInts = __webpack_require__(/*! has-bigints */ \"./node_modules/has-bigints/index.js\")();\n\nif (hasBigInts) {\n\tvar bigIntValueOf = BigInt.prototype.valueOf;\n\tvar tryBigInt = function tryBigIntObject(value) {\n\t\ttry {\n\t\t\tbigIntValueOf.call(value);\n\t\t\treturn true;\n\t\t} catch (e) {\n\t\t}\n\t\treturn false;\n\t};\n\n\tmodule.exports = function isBigInt(value) {\n\t\tif (\n\t\t\tvalue === null\n\t\t\t|| typeof value === 'undefined'\n\t\t\t|| typeof value === 'boolean'\n\t\t\t|| typeof value === 'string'\n\t\t\t|| typeof value === 'number'\n\t\t\t|| typeof value === 'symbol'\n\t\t\t|| typeof value === 'function'\n\t\t) {\n\t\t\treturn false;\n\t\t}\n\t\tif (typeof value === 'bigint') {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn tryBigInt(value);\n\t};\n} else {\n\tmodule.exports = function isBigInt(value) {\n\t\treturn false && 0;\n\t};\n}\n\n\n//# sourceURL=webpack://Undo/./node_modules/is-bigint/index.js?"); - -/***/ }), - -/***/ "./node_modules/is-boolean-object/index.js": -/*!*************************************************!*\ - !*** ./node_modules/is-boolean-object/index.js ***! - \*************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar callBound = __webpack_require__(/*! call-bind/callBound */ \"./node_modules/call-bind/callBound.js\");\nvar $boolToStr = callBound('Boolean.prototype.toString');\nvar $toString = callBound('Object.prototype.toString');\n\nvar tryBooleanObject = function booleanBrandCheck(value) {\n\ttry {\n\t\t$boolToStr(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar boolClass = '[object Boolean]';\nvar hasToStringTag = __webpack_require__(/*! has-tostringtag/shams */ \"./node_modules/has-tostringtag/shams.js\")();\n\nmodule.exports = function isBoolean(value) {\n\tif (typeof value === 'boolean') {\n\t\treturn true;\n\t}\n\tif (value === null || typeof value !== 'object') {\n\t\treturn false;\n\t}\n\treturn hasToStringTag && Symbol.toStringTag in value ? tryBooleanObject(value) : $toString(value) === boolClass;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/is-boolean-object/index.js?"); - -/***/ }), - -/***/ "./node_modules/is-callable/index.js": -/*!*******************************************!*\ - !*** ./node_modules/is-callable/index.js ***! - \*******************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\nvar fnToStr = Function.prototype.toString;\nvar reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;\nvar badArrayLike;\nvar isCallableMarker;\nif (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {\n\ttry {\n\t\tbadArrayLike = Object.defineProperty({}, 'length', {\n\t\t\tget: function () {\n\t\t\t\tthrow isCallableMarker;\n\t\t\t}\n\t\t});\n\t\tisCallableMarker = {};\n\t\t// eslint-disable-next-line no-throw-literal\n\t\treflectApply(function () { throw 42; }, null, badArrayLike);\n\t} catch (_) {\n\t\tif (_ !== isCallableMarker) {\n\t\t\treflectApply = null;\n\t\t}\n\t}\n} else {\n\treflectApply = null;\n}\n\nvar constructorRegex = /^\\s*class\\b/;\nvar isES6ClassFn = function isES6ClassFunction(value) {\n\ttry {\n\t\tvar fnStr = fnToStr.call(value);\n\t\treturn constructorRegex.test(fnStr);\n\t} catch (e) {\n\t\treturn false; // not a function\n\t}\n};\n\nvar tryFunctionObject = function tryFunctionToStr(value) {\n\ttry {\n\t\tif (isES6ClassFn(value)) { return false; }\n\t\tfnToStr.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar objectClass = '[object Object]';\nvar fnClass = '[object Function]';\nvar genClass = '[object GeneratorFunction]';\nvar ddaClass = '[object HTMLAllCollection]'; // IE 11\nvar ddaClass2 = '[object HTML document.all class]';\nvar ddaClass3 = '[object HTMLCollection]'; // IE 9-10\nvar hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag`\n\nvar isIE68 = !(0 in [,]); // eslint-disable-line no-sparse-arrays, comma-spacing\n\nvar isDDA = function isDocumentDotAll() { return false; };\nif (typeof document === 'object') {\n\t// Firefox 3 canonicalizes DDA to undefined when it's not accessed directly\n\tvar all = document.all;\n\tif (toStr.call(all) === toStr.call(document.all)) {\n\t\tisDDA = function isDocumentDotAll(value) {\n\t\t\t/* globals document: false */\n\t\t\t// in IE 6-8, typeof document.all is \"object\" and it's truthy\n\t\t\tif ((isIE68 || !value) && (typeof value === 'undefined' || typeof value === 'object')) {\n\t\t\t\ttry {\n\t\t\t\t\tvar str = toStr.call(value);\n\t\t\t\t\treturn (\n\t\t\t\t\t\tstr === ddaClass\n\t\t\t\t\t\t|| str === ddaClass2\n\t\t\t\t\t\t|| str === ddaClass3 // opera 12.16\n\t\t\t\t\t\t|| str === objectClass // IE 6-8\n\t\t\t\t\t) && value('') == null; // eslint-disable-line eqeqeq\n\t\t\t\t} catch (e) { /**/ }\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\t}\n}\n\nmodule.exports = reflectApply\n\t? function isCallable(value) {\n\t\tif (isDDA(value)) { return true; }\n\t\tif (!value) { return false; }\n\t\tif (typeof value !== 'function' && typeof value !== 'object') { return false; }\n\t\ttry {\n\t\t\treflectApply(value, null, badArrayLike);\n\t\t} catch (e) {\n\t\t\tif (e !== isCallableMarker) { return false; }\n\t\t}\n\t\treturn !isES6ClassFn(value) && tryFunctionObject(value);\n\t}\n\t: function isCallable(value) {\n\t\tif (isDDA(value)) { return true; }\n\t\tif (!value) { return false; }\n\t\tif (typeof value !== 'function' && typeof value !== 'object') { return false; }\n\t\tif (hasToStringTag) { return tryFunctionObject(value); }\n\t\tif (isES6ClassFn(value)) { return false; }\n\t\tvar strClass = toStr.call(value);\n\t\tif (strClass !== fnClass && strClass !== genClass && !(/^\\[object HTML/).test(strClass)) { return false; }\n\t\treturn tryFunctionObject(value);\n\t};\n\n\n//# sourceURL=webpack://Undo/./node_modules/is-callable/index.js?"); - -/***/ }), - -/***/ "./node_modules/is-date-object/index.js": -/*!**********************************************!*\ - !*** ./node_modules/is-date-object/index.js ***! - \**********************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar callBound = __webpack_require__(/*! call-bound */ \"./node_modules/call-bound/index.js\");\n\nvar getDay = callBound('Date.prototype.getDay');\n/** @type {import('.')} */\nvar tryDateObject = function tryDateGetDayCall(value) {\n\ttry {\n\t\tgetDay(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\n\n/** @type {(value: unknown) => string} */\nvar toStr = callBound('Object.prototype.toString');\nvar dateClass = '[object Date]';\nvar hasToStringTag = __webpack_require__(/*! has-tostringtag/shams */ \"./node_modules/has-tostringtag/shams.js\")();\n\n/** @type {import('.')} */\nmodule.exports = function isDateObject(value) {\n\tif (typeof value !== 'object' || value === null) {\n\t\treturn false;\n\t}\n\treturn hasToStringTag ? tryDateObject(value) : toStr(value) === dateClass;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/is-date-object/index.js?"); - -/***/ }), - -/***/ "./node_modules/is-map/index.js": -/*!**************************************!*\ - !*** ./node_modules/is-map/index.js ***! - \**************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @const */\nvar $Map = typeof Map === 'function' && Map.prototype ? Map : null;\nvar $Set = typeof Set === 'function' && Set.prototype ? Set : null;\n\nvar exported;\n\nif (!$Map) {\n\t/** @type {import('.')} */\n\t// eslint-disable-next-line no-unused-vars\n\texported = function isMap(x) {\n\t\t// `Map` is not present in this environment.\n\t\treturn false;\n\t};\n}\n\nvar $mapHas = $Map ? Map.prototype.has : null;\nvar $setHas = $Set ? Set.prototype.has : null;\nif (!exported && !$mapHas) {\n\t/** @type {import('.')} */\n\t// eslint-disable-next-line no-unused-vars\n\texported = function isMap(x) {\n\t\t// `Map` does not have a `has` method\n\t\treturn false;\n\t};\n}\n\n/** @type {import('.')} */\nmodule.exports = exported || function isMap(x) {\n\tif (!x || typeof x !== 'object') {\n\t\treturn false;\n\t}\n\ttry {\n\t\t$mapHas.call(x);\n\t\tif ($setHas) {\n\t\t\ttry {\n\t\t\t\t$setHas.call(x);\n\t\t\t} catch (e) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\t// @ts-expect-error TS can't figure out that $Map is always truthy here\n\t\treturn x instanceof $Map; // core-js workaround, pre-v2.5.0\n\t} catch (e) {}\n\treturn false;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/is-map/index.js?"); - -/***/ }), - -/***/ "./node_modules/is-number-object/index.js": -/*!************************************************!*\ - !*** ./node_modules/is-number-object/index.js ***! - \************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar numToStr = Number.prototype.toString;\nvar tryNumberObject = function tryNumberObject(value) {\n\ttry {\n\t\tnumToStr.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar numClass = '[object Number]';\nvar hasToStringTag = __webpack_require__(/*! has-tostringtag/shams */ \"./node_modules/has-tostringtag/shams.js\")();\n\nmodule.exports = function isNumberObject(value) {\n\tif (typeof value === 'number') {\n\t\treturn true;\n\t}\n\tif (typeof value !== 'object') {\n\t\treturn false;\n\t}\n\treturn hasToStringTag ? tryNumberObject(value) : toStr.call(value) === numClass;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/is-number-object/index.js?"); - -/***/ }), - -/***/ "./node_modules/is-regex/index.js": -/*!****************************************!*\ - !*** ./node_modules/is-regex/index.js ***! - \****************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar callBound = __webpack_require__(/*! call-bind/callBound */ \"./node_modules/call-bind/callBound.js\");\nvar hasToStringTag = __webpack_require__(/*! has-tostringtag/shams */ \"./node_modules/has-tostringtag/shams.js\")();\nvar has;\nvar $exec;\nvar isRegexMarker;\nvar badStringifier;\n\nif (hasToStringTag) {\n\thas = callBound('Object.prototype.hasOwnProperty');\n\t$exec = callBound('RegExp.prototype.exec');\n\tisRegexMarker = {};\n\n\tvar throwRegexMarker = function () {\n\t\tthrow isRegexMarker;\n\t};\n\tbadStringifier = {\n\t\ttoString: throwRegexMarker,\n\t\tvalueOf: throwRegexMarker\n\t};\n\n\tif (typeof Symbol.toPrimitive === 'symbol') {\n\t\tbadStringifier[Symbol.toPrimitive] = throwRegexMarker;\n\t}\n}\n\nvar $toString = callBound('Object.prototype.toString');\nvar gOPD = Object.getOwnPropertyDescriptor;\nvar regexClass = '[object RegExp]';\n\nmodule.exports = hasToStringTag\n\t// eslint-disable-next-line consistent-return\n\t? function isRegex(value) {\n\t\tif (!value || typeof value !== 'object') {\n\t\t\treturn false;\n\t\t}\n\n\t\tvar descriptor = gOPD(value, 'lastIndex');\n\t\tvar hasLastIndexDataProperty = descriptor && has(descriptor, 'value');\n\t\tif (!hasLastIndexDataProperty) {\n\t\t\treturn false;\n\t\t}\n\n\t\ttry {\n\t\t\t$exec(value, badStringifier);\n\t\t} catch (e) {\n\t\t\treturn e === isRegexMarker;\n\t\t}\n\t}\n\t: function isRegex(value) {\n\t\t// In older browsers, typeof regex incorrectly returns 'function'\n\t\tif (!value || (typeof value !== 'object' && typeof value !== 'function')) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn $toString(value) === regexClass;\n\t};\n\n\n//# sourceURL=webpack://Undo/./node_modules/is-regex/index.js?"); - -/***/ }), - -/***/ "./node_modules/is-set/index.js": -/*!**************************************!*\ - !*** ./node_modules/is-set/index.js ***! - \**************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\nvar $Map = typeof Map === 'function' && Map.prototype ? Map : null;\nvar $Set = typeof Set === 'function' && Set.prototype ? Set : null;\n\nvar exported;\n\nif (!$Set) {\n\t/** @type {import('.')} */\n\t// eslint-disable-next-line no-unused-vars\n\texported = function isSet(x) {\n\t\t// `Set` is not present in this environment.\n\t\treturn false;\n\t};\n}\n\nvar $mapHas = $Map ? Map.prototype.has : null;\nvar $setHas = $Set ? Set.prototype.has : null;\nif (!exported && !$setHas) {\n\t/** @type {import('.')} */\n\t// eslint-disable-next-line no-unused-vars\n\texported = function isSet(x) {\n\t\t// `Set` does not have a `has` method\n\t\treturn false;\n\t};\n}\n\n/** @type {import('.')} */\nmodule.exports = exported || function isSet(x) {\n\tif (!x || typeof x !== 'object') {\n\t\treturn false;\n\t}\n\ttry {\n\t\t$setHas.call(x);\n\t\tif ($mapHas) {\n\t\t\ttry {\n\t\t\t\t$mapHas.call(x);\n\t\t\t} catch (e) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\t// @ts-expect-error TS can't figure out that $Set is always truthy here\n\t\treturn x instanceof $Set; // core-js workaround, pre-v2.5.0\n\t} catch (e) {}\n\treturn false;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/is-set/index.js?"); - -/***/ }), - -/***/ "./node_modules/is-shared-array-buffer/index.js": -/*!******************************************************!*\ - !*** ./node_modules/is-shared-array-buffer/index.js ***! - \******************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar callBound = __webpack_require__(/*! call-bind/callBound */ \"./node_modules/call-bind/callBound.js\");\n\nvar $byteLength = callBound('SharedArrayBuffer.prototype.byteLength', true);\n\n/** @type {import('.')} */\nmodule.exports = $byteLength\n\t? function isSharedArrayBuffer(obj) {\n\t\tif (!obj || typeof obj !== 'object') {\n\t\t\treturn false;\n\t\t}\n\t\ttry {\n\t\t\t$byteLength(obj);\n\t\t\treturn true;\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t}\n\t: function isSharedArrayBuffer(obj) { // eslint-disable-line no-unused-vars\n\t\treturn false;\n\t};\n\n\n//# sourceURL=webpack://Undo/./node_modules/is-shared-array-buffer/index.js?"); - -/***/ }), - -/***/ "./node_modules/is-string/index.js": -/*!*****************************************!*\ - !*** ./node_modules/is-string/index.js ***! - \*****************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar strValue = String.prototype.valueOf;\nvar tryStringObject = function tryStringObject(value) {\n\ttry {\n\t\tstrValue.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar strClass = '[object String]';\nvar hasToStringTag = __webpack_require__(/*! has-tostringtag/shams */ \"./node_modules/has-tostringtag/shams.js\")();\n\nmodule.exports = function isString(value) {\n\tif (typeof value === 'string') {\n\t\treturn true;\n\t}\n\tif (typeof value !== 'object') {\n\t\treturn false;\n\t}\n\treturn hasToStringTag ? tryStringObject(value) : toStr.call(value) === strClass;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/is-string/index.js?"); - -/***/ }), - -/***/ "./node_modules/is-symbol/index.js": -/*!*****************************************!*\ - !*** ./node_modules/is-symbol/index.js ***! - \*****************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar toStr = Object.prototype.toString;\nvar hasSymbols = __webpack_require__(/*! has-symbols */ \"./node_modules/has-symbols/index.js\")();\n\nif (hasSymbols) {\n\tvar symToStr = Symbol.prototype.toString;\n\tvar symStringRegex = /^Symbol\\(.*\\)$/;\n\tvar isSymbolObject = function isRealSymbolObject(value) {\n\t\tif (typeof value.valueOf() !== 'symbol') {\n\t\t\treturn false;\n\t\t}\n\t\treturn symStringRegex.test(symToStr.call(value));\n\t};\n\n\tmodule.exports = function isSymbol(value) {\n\t\tif (typeof value === 'symbol') {\n\t\t\treturn true;\n\t\t}\n\t\tif (toStr.call(value) !== '[object Symbol]') {\n\t\t\treturn false;\n\t\t}\n\t\ttry {\n\t\t\treturn isSymbolObject(value);\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t};\n} else {\n\n\tmodule.exports = function isSymbol(value) {\n\t\t// this environment does not support Symbols.\n\t\treturn false && 0;\n\t};\n}\n\n\n//# sourceURL=webpack://Undo/./node_modules/is-symbol/index.js?"); - -/***/ }), - -/***/ "./node_modules/is-weakmap/index.js": -/*!******************************************!*\ - !*** ./node_modules/is-weakmap/index.js ***! - \******************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\nvar $WeakMap = typeof WeakMap === 'function' && WeakMap.prototype ? WeakMap : null;\nvar $WeakSet = typeof WeakSet === 'function' && WeakSet.prototype ? WeakSet : null;\n\nvar exported;\n\nif (!$WeakMap) {\n\t/** @type {import('.')} */\n\t// eslint-disable-next-line no-unused-vars\n\texported = function isWeakMap(x) {\n\t\t// `WeakMap` is not present in this environment.\n\t\treturn false;\n\t};\n}\n\nvar $mapHas = $WeakMap ? $WeakMap.prototype.has : null;\nvar $setHas = $WeakSet ? $WeakSet.prototype.has : null;\nif (!exported && !$mapHas) {\n\t/** @type {import('.')} */\n\t// eslint-disable-next-line no-unused-vars\n\texported = function isWeakMap(x) {\n\t\t// `WeakMap` does not have a `has` method\n\t\treturn false;\n\t};\n}\n\n/** @type {import('.')} */\nmodule.exports = exported || function isWeakMap(x) {\n\tif (!x || typeof x !== 'object') {\n\t\treturn false;\n\t}\n\ttry {\n\t\t$mapHas.call(x, $mapHas);\n\t\tif ($setHas) {\n\t\t\ttry {\n\t\t\t\t$setHas.call(x, $setHas);\n\t\t\t} catch (e) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\t// @ts-expect-error TS can't figure out that $WeakMap is always truthy here\n\t\treturn x instanceof $WeakMap; // core-js workaround, pre-v3\n\t} catch (e) {}\n\treturn false;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/is-weakmap/index.js?"); - -/***/ }), - -/***/ "./node_modules/is-weakset/index.js": -/*!******************************************!*\ - !*** ./node_modules/is-weakset/index.js ***! - \******************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"./node_modules/is-weakset/node_modules/get-intrinsic/index.js\");\nvar callBound = __webpack_require__(/*! call-bound */ \"./node_modules/call-bound/index.js\");\n\nvar $WeakSet = GetIntrinsic('%WeakSet%', true);\n\n/** @type {undefined | ((thisArg: Set, value: V) => boolean)} */\nvar $setHas = callBound('WeakSet.prototype.has', true);\n\nif ($setHas) {\n\t/** @type {undefined | ((thisArg: WeakMap, key: K) => boolean)} */\n\tvar $mapHas = callBound('WeakMap.prototype.has', true);\n\n\t/** @type {import('.')} */\n\tmodule.exports = function isWeakSet(x) {\n\t\tif (!x || typeof x !== 'object') {\n\t\t\treturn false;\n\t\t}\n\t\ttry {\n\t\t\t// @ts-expect-error TS can't figure out that $setHas is always truthy here\n\t\t\t$setHas(x, $setHas);\n\t\t\tif ($mapHas) {\n\t\t\t\ttry {\n\t\t\t\t\t// @ts-expect-error this indeed might not be a weak collection\n\t\t\t\t\t$mapHas(x, $mapHas);\n\t\t\t\t} catch (e) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// @ts-expect-error TS can't figure out that $WeakSet is always truthy here\n\t\t\treturn x instanceof $WeakSet; // core-js workaround, pre-v3\n\t\t} catch (e) {}\n\t\treturn false;\n\t};\n} else {\n\t/** @type {import('.')} */\n\t// @ts-expect-error\n\tmodule.exports = function isWeakSet(x) { // eslint-disable-line no-unused-vars\n\t\t// `WeakSet` does not exist, or does not have a `has` method\n\t\treturn false;\n\t};\n}\n\n\n//# sourceURL=webpack://Undo/./node_modules/is-weakset/index.js?"); - -/***/ }), - -/***/ "./node_modules/is-weakset/node_modules/es-define-property/index.js": -/*!**************************************************************************!*\ - !*** ./node_modules/is-weakset/node_modules/es-define-property/index.js ***! - \**************************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('.')} */\nvar $defineProperty = Object.defineProperty || false;\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = false;\n\t}\n}\n\nmodule.exports = $defineProperty;\n\n\n//# sourceURL=webpack://Undo/./node_modules/is-weakset/node_modules/es-define-property/index.js?"); - -/***/ }), - -/***/ "./node_modules/is-weakset/node_modules/get-intrinsic/index.js": -/*!*********************************************************************!*\ - !*** ./node_modules/is-weakset/node_modules/get-intrinsic/index.js ***! - \*********************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar undefined;\n\nvar $Object = __webpack_require__(/*! es-object-atoms */ \"./node_modules/es-object-atoms/index.js\");\n\nvar $Error = __webpack_require__(/*! es-errors */ \"./node_modules/es-errors/index.js\");\nvar $EvalError = __webpack_require__(/*! es-errors/eval */ \"./node_modules/es-errors/eval.js\");\nvar $RangeError = __webpack_require__(/*! es-errors/range */ \"./node_modules/es-errors/range.js\");\nvar $ReferenceError = __webpack_require__(/*! es-errors/ref */ \"./node_modules/es-errors/ref.js\");\nvar $SyntaxError = __webpack_require__(/*! es-errors/syntax */ \"./node_modules/es-errors/syntax.js\");\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\nvar $URIError = __webpack_require__(/*! es-errors/uri */ \"./node_modules/es-errors/uri.js\");\n\nvar abs = __webpack_require__(/*! math-intrinsics/abs */ \"./node_modules/math-intrinsics/abs.js\");\nvar floor = __webpack_require__(/*! math-intrinsics/floor */ \"./node_modules/math-intrinsics/floor.js\");\nvar max = __webpack_require__(/*! math-intrinsics/max */ \"./node_modules/math-intrinsics/max.js\");\nvar min = __webpack_require__(/*! math-intrinsics/min */ \"./node_modules/math-intrinsics/min.js\");\nvar pow = __webpack_require__(/*! math-intrinsics/pow */ \"./node_modules/math-intrinsics/pow.js\");\nvar round = __webpack_require__(/*! math-intrinsics/round */ \"./node_modules/math-intrinsics/round.js\");\nvar sign = __webpack_require__(/*! math-intrinsics/sign */ \"./node_modules/math-intrinsics/sign.js\");\n\nvar $Function = Function;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = __webpack_require__(/*! gopd */ \"./node_modules/is-weakset/node_modules/gopd/index.js\");\nvar $defineProperty = __webpack_require__(/*! es-define-property */ \"./node_modules/is-weakset/node_modules/es-define-property/index.js\");\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = __webpack_require__(/*! has-symbols */ \"./node_modules/is-weakset/node_modules/has-symbols/index.js\")();\n\nvar getProto = __webpack_require__(/*! get-proto */ \"./node_modules/get-proto/index.js\");\nvar $ObjectGPO = __webpack_require__(/*! get-proto/Object.getPrototypeOf */ \"./node_modules/get-proto/Object.getPrototypeOf.js\");\nvar $ReflectGPO = __webpack_require__(/*! get-proto/Reflect.getPrototypeOf */ \"./node_modules/get-proto/Reflect.getPrototypeOf.js\");\n\nvar $apply = __webpack_require__(/*! call-bind-apply-helpers/functionApply */ \"./node_modules/call-bind-apply-helpers/functionApply.js\");\nvar $call = __webpack_require__(/*! call-bind-apply-helpers/functionCall */ \"./node_modules/call-bind-apply-helpers/functionCall.js\");\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t__proto__: null,\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,\n\t'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': $Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': $EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': $Object,\n\t'%Object.getOwnPropertyDescriptor%': $gOPD,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': $RangeError,\n\t'%ReferenceError%': $ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': $URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,\n\n\t'%Function.prototype.call%': $call,\n\t'%Function.prototype.apply%': $apply,\n\t'%Object.defineProperty%': $defineProperty,\n\t'%Object.getPrototypeOf%': $ObjectGPO,\n\t'%Math.abs%': abs,\n\t'%Math.floor%': floor,\n\t'%Math.max%': max,\n\t'%Math.min%': min,\n\t'%Math.pow%': pow,\n\t'%Math.round%': round,\n\t'%Math.sign%': sign,\n\t'%Reflect.getPrototypeOf%': $ReflectGPO\n};\n\nif (getProto) {\n\ttry {\n\t\tnull.error; // eslint-disable-line no-unused-expressions\n\t} catch (e) {\n\t\t// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n\t\tvar errorProto = getProto(getProto(e));\n\t\tINTRINSICS['%Error.prototype%'] = errorProto;\n\t}\n}\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen && getProto) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t__proto__: null,\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = __webpack_require__(/*! function-bind */ \"./node_modules/function-bind/index.js\");\nvar hasOwn = __webpack_require__(/*! hasown */ \"./node_modules/hasown/index.js\");\nvar $concat = bind.call($call, Array.prototype.concat);\nvar $spliceApply = bind.call($apply, Array.prototype.splice);\nvar $replace = bind.call($call, String.prototype.replace);\nvar $strSlice = bind.call($call, String.prototype.slice);\nvar $exec = bind.call($call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t}\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/is-weakset/node_modules/get-intrinsic/index.js?"); - -/***/ }), - -/***/ "./node_modules/is-weakset/node_modules/gopd/gOPD.js": -/*!***********************************************************!*\ - !*** ./node_modules/is-weakset/node_modules/gopd/gOPD.js ***! - \***********************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./gOPD')} */\nmodule.exports = Object.getOwnPropertyDescriptor;\n\n\n//# sourceURL=webpack://Undo/./node_modules/is-weakset/node_modules/gopd/gOPD.js?"); - -/***/ }), - -/***/ "./node_modules/is-weakset/node_modules/gopd/index.js": -/*!************************************************************!*\ - !*** ./node_modules/is-weakset/node_modules/gopd/index.js ***! - \************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\n/** @type {import('.')} */\nvar $gOPD = __webpack_require__(/*! ./gOPD */ \"./node_modules/is-weakset/node_modules/gopd/gOPD.js\");\n\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n\n\n//# sourceURL=webpack://Undo/./node_modules/is-weakset/node_modules/gopd/index.js?"); - -/***/ }), - -/***/ "./node_modules/is-weakset/node_modules/has-symbols/index.js": -/*!*******************************************************************!*\ - !*** ./node_modules/is-weakset/node_modules/has-symbols/index.js ***! - \*******************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = __webpack_require__(/*! ./shams */ \"./node_modules/is-weakset/node_modules/has-symbols/shams.js\");\n\n/** @type {import('.')} */\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/is-weakset/node_modules/has-symbols/index.js?"); - -/***/ }), - -/***/ "./node_modules/is-weakset/node_modules/has-symbols/shams.js": -/*!*******************************************************************!*\ - !*** ./node_modules/is-weakset/node_modules/has-symbols/shams.js ***! - \*******************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./shams')} */\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\t/** @type {{ [k in symbol]?: unknown }} */\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\t// eslint-disable-next-line no-extra-parens\n\t\tvar descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/is-weakset/node_modules/has-symbols/shams.js?"); - -/***/ }), - -/***/ "./node_modules/isarray/index.js": -/*!***************************************!*\ - !*** ./node_modules/isarray/index.js ***! - \***************************************/ -/***/ ((module) => { - -eval("var toString = {}.toString;\n\nmodule.exports = Array.isArray || function (arr) {\n return toString.call(arr) == '[object Array]';\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/isarray/index.js?"); - -/***/ }), - -/***/ "./node_modules/math-intrinsics/abs.js": -/*!*********************************************!*\ - !*** ./node_modules/math-intrinsics/abs.js ***! - \*********************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./abs')} */\nmodule.exports = Math.abs;\n\n\n//# sourceURL=webpack://Undo/./node_modules/math-intrinsics/abs.js?"); - -/***/ }), - -/***/ "./node_modules/math-intrinsics/floor.js": -/*!***********************************************!*\ - !*** ./node_modules/math-intrinsics/floor.js ***! - \***********************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./floor')} */\nmodule.exports = Math.floor;\n\n\n//# sourceURL=webpack://Undo/./node_modules/math-intrinsics/floor.js?"); - -/***/ }), - -/***/ "./node_modules/math-intrinsics/isNaN.js": -/*!***********************************************!*\ - !*** ./node_modules/math-intrinsics/isNaN.js ***! - \***********************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./isNaN')} */\nmodule.exports = Number.isNaN || function isNaN(a) {\n\treturn a !== a;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/math-intrinsics/isNaN.js?"); - -/***/ }), - -/***/ "./node_modules/math-intrinsics/max.js": -/*!*********************************************!*\ - !*** ./node_modules/math-intrinsics/max.js ***! - \*********************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./max')} */\nmodule.exports = Math.max;\n\n\n//# sourceURL=webpack://Undo/./node_modules/math-intrinsics/max.js?"); - -/***/ }), - -/***/ "./node_modules/math-intrinsics/min.js": -/*!*********************************************!*\ - !*** ./node_modules/math-intrinsics/min.js ***! - \*********************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./min')} */\nmodule.exports = Math.min;\n\n\n//# sourceURL=webpack://Undo/./node_modules/math-intrinsics/min.js?"); - -/***/ }), - -/***/ "./node_modules/math-intrinsics/pow.js": -/*!*********************************************!*\ - !*** ./node_modules/math-intrinsics/pow.js ***! - \*********************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./pow')} */\nmodule.exports = Math.pow;\n\n\n//# sourceURL=webpack://Undo/./node_modules/math-intrinsics/pow.js?"); - -/***/ }), - -/***/ "./node_modules/math-intrinsics/round.js": -/*!***********************************************!*\ - !*** ./node_modules/math-intrinsics/round.js ***! - \***********************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./round')} */\nmodule.exports = Math.round;\n\n\n//# sourceURL=webpack://Undo/./node_modules/math-intrinsics/round.js?"); - -/***/ }), - -/***/ "./node_modules/math-intrinsics/sign.js": -/*!**********************************************!*\ - !*** ./node_modules/math-intrinsics/sign.js ***! - \**********************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar $isNaN = __webpack_require__(/*! ./isNaN */ \"./node_modules/math-intrinsics/isNaN.js\");\n\n/** @type {import('./sign')} */\nmodule.exports = function sign(number) {\n\tif ($isNaN(number) || number === 0) {\n\t\treturn number;\n\t}\n\treturn number < 0 ? -1 : +1;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/math-intrinsics/sign.js?"); - -/***/ }), - -/***/ "./node_modules/object-inspect/index.js": -/*!**********************************************!*\ - !*** ./node_modules/object-inspect/index.js ***! - \**********************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -eval("var hasMap = typeof Map === 'function' && Map.prototype;\nvar mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;\nvar mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;\nvar mapForEach = hasMap && Map.prototype.forEach;\nvar hasSet = typeof Set === 'function' && Set.prototype;\nvar setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;\nvar setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;\nvar setForEach = hasSet && Set.prototype.forEach;\nvar hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;\nvar weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;\nvar hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;\nvar weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;\nvar hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;\nvar weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;\nvar booleanValueOf = Boolean.prototype.valueOf;\nvar objectToString = Object.prototype.toString;\nvar functionToString = Function.prototype.toString;\nvar $match = String.prototype.match;\nvar $slice = String.prototype.slice;\nvar $replace = String.prototype.replace;\nvar $toUpperCase = String.prototype.toUpperCase;\nvar $toLowerCase = String.prototype.toLowerCase;\nvar $test = RegExp.prototype.test;\nvar $concat = Array.prototype.concat;\nvar $join = Array.prototype.join;\nvar $arrSlice = Array.prototype.slice;\nvar $floor = Math.floor;\nvar bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;\nvar gOPS = Object.getOwnPropertySymbols;\nvar symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;\nvar hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';\n// ie, `has-tostringtag/shams\nvar toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')\n ? Symbol.toStringTag\n : null;\nvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\nvar gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (\n [].__proto__ === Array.prototype // eslint-disable-line no-proto\n ? function (O) {\n return O.__proto__; // eslint-disable-line no-proto\n }\n : null\n);\n\nfunction addNumericSeparator(num, str) {\n if (\n num === Infinity\n || num === -Infinity\n || num !== num\n || (num && num > -1000 && num < 1000)\n || $test.call(/e/, str)\n ) {\n return str;\n }\n var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;\n if (typeof num === 'number') {\n var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)\n if (int !== num) {\n var intStr = String(int);\n var dec = $slice.call(str, intStr.length + 1);\n return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');\n }\n }\n return $replace.call(str, sepRegex, '$&_');\n}\n\nvar utilInspect = __webpack_require__(/*! ./util.inspect */ \"?4f7e\");\nvar inspectCustom = utilInspect.custom;\nvar inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;\n\nvar quotes = {\n __proto__: null,\n 'double': '\"',\n single: \"'\"\n};\nvar quoteREs = {\n __proto__: null,\n 'double': /([\"\\\\])/g,\n single: /(['\\\\])/g\n};\n\nmodule.exports = function inspect_(obj, options, depth, seen) {\n var opts = options || {};\n\n if (has(opts, 'quoteStyle') && !has(quotes, opts.quoteStyle)) {\n throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');\n }\n if (\n has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'\n ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity\n : opts.maxStringLength !== null\n )\n ) {\n throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');\n }\n var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;\n if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {\n throw new TypeError('option \"customInspect\", if provided, must be `true`, `false`, or `\\'symbol\\'`');\n }\n\n if (\n has(opts, 'indent')\n && opts.indent !== null\n && opts.indent !== '\\t'\n && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)\n ) {\n throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');\n }\n if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {\n throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');\n }\n var numericSeparator = opts.numericSeparator;\n\n if (typeof obj === 'undefined') {\n return 'undefined';\n }\n if (obj === null) {\n return 'null';\n }\n if (typeof obj === 'boolean') {\n return obj ? 'true' : 'false';\n }\n\n if (typeof obj === 'string') {\n return inspectString(obj, opts);\n }\n if (typeof obj === 'number') {\n if (obj === 0) {\n return Infinity / obj > 0 ? '0' : '-0';\n }\n var str = String(obj);\n return numericSeparator ? addNumericSeparator(obj, str) : str;\n }\n if (typeof obj === 'bigint') {\n var bigIntStr = String(obj) + 'n';\n return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;\n }\n\n var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;\n if (typeof depth === 'undefined') { depth = 0; }\n if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {\n return isArray(obj) ? '[Array]' : '[Object]';\n }\n\n var indent = getIndent(opts, depth);\n\n if (typeof seen === 'undefined') {\n seen = [];\n } else if (indexOf(seen, obj) >= 0) {\n return '[Circular]';\n }\n\n function inspect(value, from, noIndent) {\n if (from) {\n seen = $arrSlice.call(seen);\n seen.push(from);\n }\n if (noIndent) {\n var newOpts = {\n depth: opts.depth\n };\n if (has(opts, 'quoteStyle')) {\n newOpts.quoteStyle = opts.quoteStyle;\n }\n return inspect_(value, newOpts, depth + 1, seen);\n }\n return inspect_(value, opts, depth + 1, seen);\n }\n\n if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable\n var name = nameOf(obj);\n var keys = arrObjKeys(obj, inspect);\n return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');\n }\n if (isSymbol(obj)) {\n var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\\(.*\\))_[^)]*$/, '$1') : symToString.call(obj);\n return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;\n }\n if (isElement(obj)) {\n var s = '<' + $toLowerCase.call(String(obj.nodeName));\n var attrs = obj.attributes || [];\n for (var i = 0; i < attrs.length; i++) {\n s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);\n }\n s += '>';\n if (obj.childNodes && obj.childNodes.length) { s += '...'; }\n s += '';\n return s;\n }\n if (isArray(obj)) {\n if (obj.length === 0) { return '[]'; }\n var xs = arrObjKeys(obj, inspect);\n if (indent && !singleLineValues(xs)) {\n return '[' + indentedJoin(xs, indent) + ']';\n }\n return '[ ' + $join.call(xs, ', ') + ' ]';\n }\n if (isError(obj)) {\n var parts = arrObjKeys(obj, inspect);\n if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) {\n return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';\n }\n if (parts.length === 0) { return '[' + String(obj) + ']'; }\n return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';\n }\n if (typeof obj === 'object' && customInspect) {\n if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) {\n return utilInspect(obj, { depth: maxDepth - depth });\n } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {\n return obj.inspect();\n }\n }\n if (isMap(obj)) {\n var mapParts = [];\n if (mapForEach) {\n mapForEach.call(obj, function (value, key) {\n mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));\n });\n }\n return collectionOf('Map', mapSize.call(obj), mapParts, indent);\n }\n if (isSet(obj)) {\n var setParts = [];\n if (setForEach) {\n setForEach.call(obj, function (value) {\n setParts.push(inspect(value, obj));\n });\n }\n return collectionOf('Set', setSize.call(obj), setParts, indent);\n }\n if (isWeakMap(obj)) {\n return weakCollectionOf('WeakMap');\n }\n if (isWeakSet(obj)) {\n return weakCollectionOf('WeakSet');\n }\n if (isWeakRef(obj)) {\n return weakCollectionOf('WeakRef');\n }\n if (isNumber(obj)) {\n return markBoxed(inspect(Number(obj)));\n }\n if (isBigInt(obj)) {\n return markBoxed(inspect(bigIntValueOf.call(obj)));\n }\n if (isBoolean(obj)) {\n return markBoxed(booleanValueOf.call(obj));\n }\n if (isString(obj)) {\n return markBoxed(inspect(String(obj)));\n }\n // note: in IE 8, sometimes `global !== window` but both are the prototypes of each other\n /* eslint-env browser */\n if (typeof window !== 'undefined' && obj === window) {\n return '{ [object Window] }';\n }\n if (\n (typeof globalThis !== 'undefined' && obj === globalThis)\n || (typeof __webpack_require__.g !== 'undefined' && obj === __webpack_require__.g)\n ) {\n return '{ [object globalThis] }';\n }\n if (!isDate(obj) && !isRegExp(obj)) {\n var ys = arrObjKeys(obj, inspect);\n var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;\n var protoTag = obj instanceof Object ? '' : 'null prototype';\n var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';\n var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';\n var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');\n if (ys.length === 0) { return tag + '{}'; }\n if (indent) {\n return tag + '{' + indentedJoin(ys, indent) + '}';\n }\n return tag + '{ ' + $join.call(ys, ', ') + ' }';\n }\n return String(obj);\n};\n\nfunction wrapQuotes(s, defaultStyle, opts) {\n var style = opts.quoteStyle || defaultStyle;\n var quoteChar = quotes[style];\n return quoteChar + s + quoteChar;\n}\n\nfunction quote(s) {\n return $replace.call(String(s), /\"/g, '"');\n}\n\nfunction canTrustToString(obj) {\n return !toStringTag || !(typeof obj === 'object' && (toStringTag in obj || typeof obj[toStringTag] !== 'undefined'));\n}\nfunction isArray(obj) { return toStr(obj) === '[object Array]' && canTrustToString(obj); }\nfunction isDate(obj) { return toStr(obj) === '[object Date]' && canTrustToString(obj); }\nfunction isRegExp(obj) { return toStr(obj) === '[object RegExp]' && canTrustToString(obj); }\nfunction isError(obj) { return toStr(obj) === '[object Error]' && canTrustToString(obj); }\nfunction isString(obj) { return toStr(obj) === '[object String]' && canTrustToString(obj); }\nfunction isNumber(obj) { return toStr(obj) === '[object Number]' && canTrustToString(obj); }\nfunction isBoolean(obj) { return toStr(obj) === '[object Boolean]' && canTrustToString(obj); }\n\n// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives\nfunction isSymbol(obj) {\n if (hasShammedSymbols) {\n return obj && typeof obj === 'object' && obj instanceof Symbol;\n }\n if (typeof obj === 'symbol') {\n return true;\n }\n if (!obj || typeof obj !== 'object' || !symToString) {\n return false;\n }\n try {\n symToString.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isBigInt(obj) {\n if (!obj || typeof obj !== 'object' || !bigIntValueOf) {\n return false;\n }\n try {\n bigIntValueOf.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nvar hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };\nfunction has(obj, key) {\n return hasOwn.call(obj, key);\n}\n\nfunction toStr(obj) {\n return objectToString.call(obj);\n}\n\nfunction nameOf(f) {\n if (f.name) { return f.name; }\n var m = $match.call(functionToString.call(f), /^function\\s*([\\w$]+)/);\n if (m) { return m[1]; }\n return null;\n}\n\nfunction indexOf(xs, x) {\n if (xs.indexOf) { return xs.indexOf(x); }\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) { return i; }\n }\n return -1;\n}\n\nfunction isMap(x) {\n if (!mapSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n mapSize.call(x);\n try {\n setSize.call(x);\n } catch (s) {\n return true;\n }\n return x instanceof Map; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakMap(x) {\n if (!weakMapHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakMapHas.call(x, weakMapHas);\n try {\n weakSetHas.call(x, weakSetHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakMap; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakRef(x) {\n if (!weakRefDeref || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakRefDeref.call(x);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isSet(x) {\n if (!setSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n setSize.call(x);\n try {\n mapSize.call(x);\n } catch (m) {\n return true;\n }\n return x instanceof Set; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakSet(x) {\n if (!weakSetHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakSetHas.call(x, weakSetHas);\n try {\n weakMapHas.call(x, weakMapHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakSet; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isElement(x) {\n if (!x || typeof x !== 'object') { return false; }\n if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {\n return true;\n }\n return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';\n}\n\nfunction inspectString(str, opts) {\n if (str.length > opts.maxStringLength) {\n var remaining = str.length - opts.maxStringLength;\n var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');\n return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;\n }\n var quoteRE = quoteREs[opts.quoteStyle || 'single'];\n quoteRE.lastIndex = 0;\n // eslint-disable-next-line no-control-regex\n var s = $replace.call($replace.call(str, quoteRE, '\\\\$1'), /[\\x00-\\x1f]/g, lowbyte);\n return wrapQuotes(s, 'single', opts);\n}\n\nfunction lowbyte(c) {\n var n = c.charCodeAt(0);\n var x = {\n 8: 'b',\n 9: 't',\n 10: 'n',\n 12: 'f',\n 13: 'r'\n }[n];\n if (x) { return '\\\\' + x; }\n return '\\\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));\n}\n\nfunction markBoxed(str) {\n return 'Object(' + str + ')';\n}\n\nfunction weakCollectionOf(type) {\n return type + ' { ? }';\n}\n\nfunction collectionOf(type, size, entries, indent) {\n var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');\n return type + ' (' + size + ') {' + joinedEntries + '}';\n}\n\nfunction singleLineValues(xs) {\n for (var i = 0; i < xs.length; i++) {\n if (indexOf(xs[i], '\\n') >= 0) {\n return false;\n }\n }\n return true;\n}\n\nfunction getIndent(opts, depth) {\n var baseIndent;\n if (opts.indent === '\\t') {\n baseIndent = '\\t';\n } else if (typeof opts.indent === 'number' && opts.indent > 0) {\n baseIndent = $join.call(Array(opts.indent + 1), ' ');\n } else {\n return null;\n }\n return {\n base: baseIndent,\n prev: $join.call(Array(depth + 1), baseIndent)\n };\n}\n\nfunction indentedJoin(xs, indent) {\n if (xs.length === 0) { return ''; }\n var lineJoiner = '\\n' + indent.prev + indent.base;\n return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\\n' + indent.prev;\n}\n\nfunction arrObjKeys(obj, inspect) {\n var isArr = isArray(obj);\n var xs = [];\n if (isArr) {\n xs.length = obj.length;\n for (var i = 0; i < obj.length; i++) {\n xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';\n }\n }\n var syms = typeof gOPS === 'function' ? gOPS(obj) : [];\n var symMap;\n if (hasShammedSymbols) {\n symMap = {};\n for (var k = 0; k < syms.length; k++) {\n symMap['$' + syms[k]] = syms[k];\n }\n }\n\n for (var key in obj) { // eslint-disable-line no-restricted-syntax\n if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {\n // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section\n continue; // eslint-disable-line no-restricted-syntax, no-continue\n } else if ($test.call(/[^\\w$]/, key)) {\n xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));\n } else {\n xs.push(key + ': ' + inspect(obj[key], obj));\n }\n }\n if (typeof gOPS === 'function') {\n for (var j = 0; j < syms.length; j++) {\n if (isEnumerable.call(obj, syms[j])) {\n xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));\n }\n }\n }\n return xs;\n}\n\n\n//# sourceURL=webpack://Undo/./node_modules/object-inspect/index.js?"); - -/***/ }), - -/***/ "./node_modules/object-is/implementation.js": -/*!**************************************************!*\ - !*** ./node_modules/object-is/implementation.js ***! - \**************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\nvar numberIsNaN = function (value) {\n\treturn value !== value;\n};\n\nmodule.exports = function is(a, b) {\n\tif (a === 0 && b === 0) {\n\t\treturn 1 / a === 1 / b;\n\t}\n\tif (a === b) {\n\t\treturn true;\n\t}\n\tif (numberIsNaN(a) && numberIsNaN(b)) {\n\t\treturn true;\n\t}\n\treturn false;\n};\n\n\n\n//# sourceURL=webpack://Undo/./node_modules/object-is/implementation.js?"); - -/***/ }), - -/***/ "./node_modules/object-is/index.js": -/*!*****************************************!*\ - !*** ./node_modules/object-is/index.js ***! - \*****************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar define = __webpack_require__(/*! define-properties */ \"./node_modules/define-properties/index.js\");\nvar callBind = __webpack_require__(/*! call-bind */ \"./node_modules/call-bind/index.js\");\n\nvar implementation = __webpack_require__(/*! ./implementation */ \"./node_modules/object-is/implementation.js\");\nvar getPolyfill = __webpack_require__(/*! ./polyfill */ \"./node_modules/object-is/polyfill.js\");\nvar shim = __webpack_require__(/*! ./shim */ \"./node_modules/object-is/shim.js\");\n\nvar polyfill = callBind(getPolyfill(), Object);\n\ndefine(polyfill, {\n\tgetPolyfill: getPolyfill,\n\timplementation: implementation,\n\tshim: shim\n});\n\nmodule.exports = polyfill;\n\n\n//# sourceURL=webpack://Undo/./node_modules/object-is/index.js?"); - -/***/ }), - -/***/ "./node_modules/object-is/polyfill.js": -/*!********************************************!*\ - !*** ./node_modules/object-is/polyfill.js ***! - \********************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar implementation = __webpack_require__(/*! ./implementation */ \"./node_modules/object-is/implementation.js\");\n\nmodule.exports = function getPolyfill() {\n\treturn typeof Object.is === 'function' ? Object.is : implementation;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/object-is/polyfill.js?"); - -/***/ }), - -/***/ "./node_modules/object-is/shim.js": -/*!****************************************!*\ - !*** ./node_modules/object-is/shim.js ***! - \****************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar getPolyfill = __webpack_require__(/*! ./polyfill */ \"./node_modules/object-is/polyfill.js\");\nvar define = __webpack_require__(/*! define-properties */ \"./node_modules/define-properties/index.js\");\n\nmodule.exports = function shimObjectIs() {\n\tvar polyfill = getPolyfill();\n\tdefine(Object, { is: polyfill }, {\n\t\tis: function testObjectIs() {\n\t\t\treturn Object.is !== polyfill;\n\t\t}\n\t});\n\treturn polyfill;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/object-is/shim.js?"); - -/***/ }), - -/***/ "./node_modules/object-keys/implementation.js": -/*!****************************************************!*\ - !*** ./node_modules/object-keys/implementation.js ***! - \****************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar keysShim;\nif (!Object.keys) {\n\t// modified from https://github.com/es-shims/es5-shim\n\tvar has = Object.prototype.hasOwnProperty;\n\tvar toStr = Object.prototype.toString;\n\tvar isArgs = __webpack_require__(/*! ./isArguments */ \"./node_modules/object-keys/isArguments.js\"); // eslint-disable-line global-require\n\tvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\tvar hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString');\n\tvar hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype');\n\tvar dontEnums = [\n\t\t'toString',\n\t\t'toLocaleString',\n\t\t'valueOf',\n\t\t'hasOwnProperty',\n\t\t'isPrototypeOf',\n\t\t'propertyIsEnumerable',\n\t\t'constructor'\n\t];\n\tvar equalsConstructorPrototype = function (o) {\n\t\tvar ctor = o.constructor;\n\t\treturn ctor && ctor.prototype === o;\n\t};\n\tvar excludedKeys = {\n\t\t$applicationCache: true,\n\t\t$console: true,\n\t\t$external: true,\n\t\t$frame: true,\n\t\t$frameElement: true,\n\t\t$frames: true,\n\t\t$innerHeight: true,\n\t\t$innerWidth: true,\n\t\t$onmozfullscreenchange: true,\n\t\t$onmozfullscreenerror: true,\n\t\t$outerHeight: true,\n\t\t$outerWidth: true,\n\t\t$pageXOffset: true,\n\t\t$pageYOffset: true,\n\t\t$parent: true,\n\t\t$scrollLeft: true,\n\t\t$scrollTop: true,\n\t\t$scrollX: true,\n\t\t$scrollY: true,\n\t\t$self: true,\n\t\t$webkitIndexedDB: true,\n\t\t$webkitStorageInfo: true,\n\t\t$window: true\n\t};\n\tvar hasAutomationEqualityBug = (function () {\n\t\t/* global window */\n\t\tif (typeof window === 'undefined') { return false; }\n\t\tfor (var k in window) {\n\t\t\ttry {\n\t\t\t\tif (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tequalsConstructorPrototype(window[k]);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} catch (e) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}());\n\tvar equalsConstructorPrototypeIfNotBuggy = function (o) {\n\t\t/* global window */\n\t\tif (typeof window === 'undefined' || !hasAutomationEqualityBug) {\n\t\t\treturn equalsConstructorPrototype(o);\n\t\t}\n\t\ttry {\n\t\t\treturn equalsConstructorPrototype(o);\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t};\n\n\tkeysShim = function keys(object) {\n\t\tvar isObject = object !== null && typeof object === 'object';\n\t\tvar isFunction = toStr.call(object) === '[object Function]';\n\t\tvar isArguments = isArgs(object);\n\t\tvar isString = isObject && toStr.call(object) === '[object String]';\n\t\tvar theKeys = [];\n\n\t\tif (!isObject && !isFunction && !isArguments) {\n\t\t\tthrow new TypeError('Object.keys called on a non-object');\n\t\t}\n\n\t\tvar skipProto = hasProtoEnumBug && isFunction;\n\t\tif (isString && object.length > 0 && !has.call(object, 0)) {\n\t\t\tfor (var i = 0; i < object.length; ++i) {\n\t\t\t\ttheKeys.push(String(i));\n\t\t\t}\n\t\t}\n\n\t\tif (isArguments && object.length > 0) {\n\t\t\tfor (var j = 0; j < object.length; ++j) {\n\t\t\t\ttheKeys.push(String(j));\n\t\t\t}\n\t\t} else {\n\t\t\tfor (var name in object) {\n\t\t\t\tif (!(skipProto && name === 'prototype') && has.call(object, name)) {\n\t\t\t\t\ttheKeys.push(String(name));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (hasDontEnumBug) {\n\t\t\tvar skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);\n\n\t\t\tfor (var k = 0; k < dontEnums.length; ++k) {\n\t\t\t\tif (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {\n\t\t\t\t\ttheKeys.push(dontEnums[k]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn theKeys;\n\t};\n}\nmodule.exports = keysShim;\n\n\n//# sourceURL=webpack://Undo/./node_modules/object-keys/implementation.js?"); - -/***/ }), - -/***/ "./node_modules/object-keys/index.js": -/*!*******************************************!*\ - !*** ./node_modules/object-keys/index.js ***! - \*******************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar slice = Array.prototype.slice;\nvar isArgs = __webpack_require__(/*! ./isArguments */ \"./node_modules/object-keys/isArguments.js\");\n\nvar origKeys = Object.keys;\nvar keysShim = origKeys ? function keys(o) { return origKeys(o); } : __webpack_require__(/*! ./implementation */ \"./node_modules/object-keys/implementation.js\");\n\nvar originalKeys = Object.keys;\n\nkeysShim.shim = function shimObjectKeys() {\n\tif (Object.keys) {\n\t\tvar keysWorksWithArguments = (function () {\n\t\t\t// Safari 5.0 bug\n\t\t\tvar args = Object.keys(arguments);\n\t\t\treturn args && args.length === arguments.length;\n\t\t}(1, 2));\n\t\tif (!keysWorksWithArguments) {\n\t\t\tObject.keys = function keys(object) { // eslint-disable-line func-name-matching\n\t\t\t\tif (isArgs(object)) {\n\t\t\t\t\treturn originalKeys(slice.call(object));\n\t\t\t\t}\n\t\t\t\treturn originalKeys(object);\n\t\t\t};\n\t\t}\n\t} else {\n\t\tObject.keys = keysShim;\n\t}\n\treturn Object.keys || keysShim;\n};\n\nmodule.exports = keysShim;\n\n\n//# sourceURL=webpack://Undo/./node_modules/object-keys/index.js?"); - -/***/ }), - -/***/ "./node_modules/object-keys/isArguments.js": -/*!*************************************************!*\ - !*** ./node_modules/object-keys/isArguments.js ***! - \*************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\nvar toStr = Object.prototype.toString;\n\nmodule.exports = function isArguments(value) {\n\tvar str = toStr.call(value);\n\tvar isArgs = str === '[object Arguments]';\n\tif (!isArgs) {\n\t\tisArgs = str !== '[object Array]' &&\n\t\t\tvalue !== null &&\n\t\t\ttypeof value === 'object' &&\n\t\t\ttypeof value.length === 'number' &&\n\t\t\tvalue.length >= 0 &&\n\t\t\ttoStr.call(value.callee) === '[object Function]';\n\t}\n\treturn isArgs;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/object-keys/isArguments.js?"); - -/***/ }), - -/***/ "./node_modules/possible-typed-array-names/index.js": -/*!**********************************************************!*\ - !*** ./node_modules/possible-typed-array-names/index.js ***! - \**********************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('.')} */\nmodule.exports = [\n\t'Float32Array',\n\t'Float64Array',\n\t'Int8Array',\n\t'Int16Array',\n\t'Int32Array',\n\t'Uint8Array',\n\t'Uint8ClampedArray',\n\t'Uint16Array',\n\t'Uint32Array',\n\t'BigInt64Array',\n\t'BigUint64Array'\n];\n\n\n//# sourceURL=webpack://Undo/./node_modules/possible-typed-array-names/index.js?"); - -/***/ }), - -/***/ "./node_modules/regexp.prototype.flags/implementation.js": -/*!***************************************************************!*\ - !*** ./node_modules/regexp.prototype.flags/implementation.js ***! - \***************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar setFunctionName = __webpack_require__(/*! set-function-name */ \"./node_modules/set-function-name/index.js\");\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\n\nvar $Object = Object;\n\nmodule.exports = setFunctionName(function flags() {\n\tif (this == null || this !== $Object(this)) {\n\t\tthrow new $TypeError('RegExp.prototype.flags getter called on non-object');\n\t}\n\tvar result = '';\n\tif (this.hasIndices) {\n\t\tresult += 'd';\n\t}\n\tif (this.global) {\n\t\tresult += 'g';\n\t}\n\tif (this.ignoreCase) {\n\t\tresult += 'i';\n\t}\n\tif (this.multiline) {\n\t\tresult += 'm';\n\t}\n\tif (this.dotAll) {\n\t\tresult += 's';\n\t}\n\tif (this.unicode) {\n\t\tresult += 'u';\n\t}\n\tif (this.unicodeSets) {\n\t\tresult += 'v';\n\t}\n\tif (this.sticky) {\n\t\tresult += 'y';\n\t}\n\treturn result;\n}, 'get flags', true);\n\n\n\n//# sourceURL=webpack://Undo/./node_modules/regexp.prototype.flags/implementation.js?"); - -/***/ }), - -/***/ "./node_modules/regexp.prototype.flags/index.js": -/*!******************************************************!*\ - !*** ./node_modules/regexp.prototype.flags/index.js ***! - \******************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar define = __webpack_require__(/*! define-properties */ \"./node_modules/define-properties/index.js\");\nvar callBind = __webpack_require__(/*! call-bind */ \"./node_modules/regexp.prototype.flags/node_modules/call-bind/index.js\");\n\nvar implementation = __webpack_require__(/*! ./implementation */ \"./node_modules/regexp.prototype.flags/implementation.js\");\nvar getPolyfill = __webpack_require__(/*! ./polyfill */ \"./node_modules/regexp.prototype.flags/polyfill.js\");\nvar shim = __webpack_require__(/*! ./shim */ \"./node_modules/regexp.prototype.flags/shim.js\");\n\nvar flagsBound = callBind(getPolyfill());\n\ndefine(flagsBound, {\n\tgetPolyfill: getPolyfill,\n\timplementation: implementation,\n\tshim: shim\n});\n\nmodule.exports = flagsBound;\n\n\n//# sourceURL=webpack://Undo/./node_modules/regexp.prototype.flags/index.js?"); - -/***/ }), - -/***/ "./node_modules/regexp.prototype.flags/node_modules/call-bind/index.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/regexp.prototype.flags/node_modules/call-bind/index.js ***! - \*****************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar setFunctionLength = __webpack_require__(/*! set-function-length */ \"./node_modules/set-function-length/index.js\");\n\nvar $defineProperty = __webpack_require__(/*! es-define-property */ \"./node_modules/es-define-property/index.js\");\n\nvar callBindBasic = __webpack_require__(/*! call-bind-apply-helpers */ \"./node_modules/call-bind-apply-helpers/index.js\");\nvar applyBind = __webpack_require__(/*! call-bind-apply-helpers/applyBind */ \"./node_modules/call-bind-apply-helpers/applyBind.js\");\n\nmodule.exports = function callBind(originalFunction) {\n\tvar func = callBindBasic(arguments);\n\tvar adjustedLength = originalFunction.length - (arguments.length - 1);\n\treturn setFunctionLength(\n\t\tfunc,\n\t\t1 + (adjustedLength > 0 ? adjustedLength : 0),\n\t\ttrue\n\t);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n\n\n//# sourceURL=webpack://Undo/./node_modules/regexp.prototype.flags/node_modules/call-bind/index.js?"); - -/***/ }), - -/***/ "./node_modules/regexp.prototype.flags/node_modules/gopd/gOPD.js": -/*!***********************************************************************!*\ - !*** ./node_modules/regexp.prototype.flags/node_modules/gopd/gOPD.js ***! - \***********************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./gOPD')} */\nmodule.exports = Object.getOwnPropertyDescriptor;\n\n\n//# sourceURL=webpack://Undo/./node_modules/regexp.prototype.flags/node_modules/gopd/gOPD.js?"); - -/***/ }), - -/***/ "./node_modules/regexp.prototype.flags/node_modules/gopd/index.js": -/*!************************************************************************!*\ - !*** ./node_modules/regexp.prototype.flags/node_modules/gopd/index.js ***! - \************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\n/** @type {import('.')} */\nvar $gOPD = __webpack_require__(/*! ./gOPD */ \"./node_modules/regexp.prototype.flags/node_modules/gopd/gOPD.js\");\n\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n\n\n//# sourceURL=webpack://Undo/./node_modules/regexp.prototype.flags/node_modules/gopd/index.js?"); - -/***/ }), - -/***/ "./node_modules/regexp.prototype.flags/polyfill.js": -/*!*********************************************************!*\ - !*** ./node_modules/regexp.prototype.flags/polyfill.js ***! - \*********************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar implementation = __webpack_require__(/*! ./implementation */ \"./node_modules/regexp.prototype.flags/implementation.js\");\n\nvar supportsDescriptors = (__webpack_require__(/*! define-properties */ \"./node_modules/define-properties/index.js\").supportsDescriptors);\nvar $gOPD = Object.getOwnPropertyDescriptor;\n\nmodule.exports = function getPolyfill() {\n\tif (supportsDescriptors && (/a/mig).flags === 'gim') {\n\t\tvar descriptor = $gOPD(RegExp.prototype, 'flags');\n\t\tif (\n\t\t\tdescriptor\n\t\t\t&& typeof descriptor.get === 'function'\n\t\t\t&& 'dotAll' in RegExp.prototype\n\t\t\t&& 'hasIndices' in RegExp.prototype\n\t\t) {\n\t\t\t/* eslint getter-return: 0 */\n\t\t\tvar calls = '';\n\t\t\tvar o = {};\n\t\t\tObject.defineProperty(o, 'hasIndices', {\n\t\t\t\tget: function () {\n\t\t\t\t\tcalls += 'd';\n\t\t\t\t}\n\t\t\t});\n\t\t\tObject.defineProperty(o, 'sticky', {\n\t\t\t\tget: function () {\n\t\t\t\t\tcalls += 'y';\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tdescriptor.get.call(o);\n\n\t\t\tif (calls === 'dy') {\n\t\t\t\treturn descriptor.get;\n\t\t\t}\n\t\t}\n\t}\n\treturn implementation;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/regexp.prototype.flags/polyfill.js?"); - -/***/ }), - -/***/ "./node_modules/regexp.prototype.flags/shim.js": -/*!*****************************************************!*\ - !*** ./node_modules/regexp.prototype.flags/shim.js ***! - \*****************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar supportsDescriptors = (__webpack_require__(/*! define-properties */ \"./node_modules/define-properties/index.js\").supportsDescriptors);\nvar getPolyfill = __webpack_require__(/*! ./polyfill */ \"./node_modules/regexp.prototype.flags/polyfill.js\");\nvar gOPD = __webpack_require__(/*! gopd */ \"./node_modules/regexp.prototype.flags/node_modules/gopd/index.js\");\nvar defineProperty = Object.defineProperty;\nvar $TypeError = __webpack_require__(/*! es-errors */ \"./node_modules/es-errors/index.js\");\nvar getProto = __webpack_require__(/*! get-proto */ \"./node_modules/get-proto/index.js\");\nvar regex = /a/;\n\nmodule.exports = function shimFlags() {\n\tif (!supportsDescriptors || !getProto) {\n\t\tthrow new $TypeError('RegExp.prototype.flags requires a true ES5 environment that supports property descriptors');\n\t}\n\tvar polyfill = getPolyfill();\n\tvar proto = getProto(regex);\n\tvar descriptor = gOPD(proto, 'flags');\n\tif (!descriptor || descriptor.get !== polyfill) {\n\t\tdefineProperty(proto, 'flags', {\n\t\t\tconfigurable: true,\n\t\t\tenumerable: false,\n\t\t\tget: polyfill\n\t\t});\n\t}\n\treturn polyfill;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/regexp.prototype.flags/shim.js?"); - -/***/ }), - -/***/ "./node_modules/set-function-length/index.js": -/*!***************************************************!*\ - !*** ./node_modules/set-function-length/index.js ***! - \***************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"./node_modules/get-intrinsic/index.js\");\nvar define = __webpack_require__(/*! define-data-property */ \"./node_modules/define-data-property/index.js\");\nvar hasDescriptors = __webpack_require__(/*! has-property-descriptors */ \"./node_modules/has-property-descriptors/index.js\")();\nvar gOPD = __webpack_require__(/*! gopd */ \"./node_modules/gopd/index.js\");\n\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\nvar $floor = GetIntrinsic('%Math.floor%');\n\n/** @type {import('.')} */\nmodule.exports = function setFunctionLength(fn, length) {\n\tif (typeof fn !== 'function') {\n\t\tthrow new $TypeError('`fn` is not a function');\n\t}\n\tif (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor(length) !== length) {\n\t\tthrow new $TypeError('`length` must be a positive 32-bit integer');\n\t}\n\n\tvar loose = arguments.length > 2 && !!arguments[2];\n\n\tvar functionLengthIsConfigurable = true;\n\tvar functionLengthIsWritable = true;\n\tif ('length' in fn && gOPD) {\n\t\tvar desc = gOPD(fn, 'length');\n\t\tif (desc && !desc.configurable) {\n\t\t\tfunctionLengthIsConfigurable = false;\n\t\t}\n\t\tif (desc && !desc.writable) {\n\t\t\tfunctionLengthIsWritable = false;\n\t\t}\n\t}\n\n\tif (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {\n\t\tif (hasDescriptors) {\n\t\t\tdefine(/** @type {Parameters[0]} */ (fn), 'length', length, true, true);\n\t\t} else {\n\t\t\tdefine(/** @type {Parameters[0]} */ (fn), 'length', length);\n\t\t}\n\t}\n\treturn fn;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/set-function-length/index.js?"); - -/***/ }), - -/***/ "./node_modules/set-function-name/index.js": -/*!*************************************************!*\ - !*** ./node_modules/set-function-name/index.js ***! - \*************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar define = __webpack_require__(/*! define-data-property */ \"./node_modules/define-data-property/index.js\");\nvar hasDescriptors = __webpack_require__(/*! has-property-descriptors */ \"./node_modules/has-property-descriptors/index.js\")();\nvar functionsHaveConfigurableNames = (__webpack_require__(/*! functions-have-names */ \"./node_modules/functions-have-names/index.js\").functionsHaveConfigurableNames)();\n\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\n\n/** @type {import('.')} */\nmodule.exports = function setFunctionName(fn, name) {\n\tif (typeof fn !== 'function') {\n\t\tthrow new $TypeError('`fn` is not a function');\n\t}\n\tvar loose = arguments.length > 2 && !!arguments[2];\n\tif (!loose || functionsHaveConfigurableNames) {\n\t\tif (hasDescriptors) {\n\t\t\tdefine(/** @type {Parameters[0]} */ (fn), 'name', name, true, true);\n\t\t} else {\n\t\t\tdefine(/** @type {Parameters[0]} */ (fn), 'name', name);\n\t\t}\n\t}\n\treturn fn;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/set-function-name/index.js?"); - -/***/ }), - -/***/ "./node_modules/side-channel-list/index.js": -/*!*************************************************!*\ - !*** ./node_modules/side-channel-list/index.js ***! - \*************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar inspect = __webpack_require__(/*! object-inspect */ \"./node_modules/object-inspect/index.js\");\n\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\n\n/*\n* This function traverses the list returning the node corresponding to the given key.\n*\n* That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list.\n* By doing so, all the recently used nodes can be accessed relatively quickly.\n*/\n/** @type {import('./list.d.ts').listGetNode} */\n// eslint-disable-next-line consistent-return\nvar listGetNode = function (list, key, isDelete) {\n\t/** @type {typeof list | NonNullable<(typeof list)['next']>} */\n\tvar prev = list;\n\t/** @type {(typeof list)['next']} */\n\tvar curr;\n\t// eslint-disable-next-line eqeqeq\n\tfor (; (curr = prev.next) != null; prev = curr) {\n\t\tif (curr.key === key) {\n\t\t\tprev.next = curr.next;\n\t\t\tif (!isDelete) {\n\t\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\t\tcurr.next = /** @type {NonNullable} */ (list.next);\n\t\t\t\tlist.next = curr; // eslint-disable-line no-param-reassign\n\t\t\t}\n\t\t\treturn curr;\n\t\t}\n\t}\n};\n\n/** @type {import('./list.d.ts').listGet} */\nvar listGet = function (objects, key) {\n\tif (!objects) {\n\t\treturn void undefined;\n\t}\n\tvar node = listGetNode(objects, key);\n\treturn node && node.value;\n};\n/** @type {import('./list.d.ts').listSet} */\nvar listSet = function (objects, key, value) {\n\tvar node = listGetNode(objects, key);\n\tif (node) {\n\t\tnode.value = value;\n\t} else {\n\t\t// Prepend the new node to the beginning of the list\n\t\tobjects.next = /** @type {import('./list.d.ts').ListNode} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens\n\t\t\tkey: key,\n\t\t\tnext: objects.next,\n\t\t\tvalue: value\n\t\t});\n\t}\n};\n/** @type {import('./list.d.ts').listHas} */\nvar listHas = function (objects, key) {\n\tif (!objects) {\n\t\treturn false;\n\t}\n\treturn !!listGetNode(objects, key);\n};\n/** @type {import('./list.d.ts').listDelete} */\n// eslint-disable-next-line consistent-return\nvar listDelete = function (objects, key) {\n\tif (objects) {\n\t\treturn listGetNode(objects, key, true);\n\t}\n};\n\n/** @type {import('.')} */\nmodule.exports = function getSideChannelList() {\n\t/** @typedef {ReturnType} Channel */\n\t/** @typedef {Parameters[0]} K */\n\t/** @typedef {Parameters[1]} V */\n\n\t/** @type {import('./list.d.ts').RootNode | undefined} */ var $o;\n\n\t/** @type {Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\t'delete': function (key) {\n\t\t\tvar root = $o && $o.next;\n\t\t\tvar deletedNode = listDelete($o, key);\n\t\t\tif (deletedNode && root && root === deletedNode) {\n\t\t\t\t$o = void undefined;\n\t\t\t}\n\t\t\treturn !!deletedNode;\n\t\t},\n\t\tget: function (key) {\n\t\t\treturn listGet($o, key);\n\t\t},\n\t\thas: function (key) {\n\t\t\treturn listHas($o, key);\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif (!$o) {\n\t\t\t\t// Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head\n\t\t\t\t$o = {\n\t\t\t\t\tnext: void undefined\n\t\t\t\t};\n\t\t\t}\n\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\tlistSet(/** @type {NonNullable} */ ($o), key, value);\n\t\t}\n\t};\n\t// @ts-expect-error TODO: figure out why this is erroring\n\treturn channel;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/side-channel-list/index.js?"); - -/***/ }), - -/***/ "./node_modules/side-channel-map/index.js": -/*!************************************************!*\ - !*** ./node_modules/side-channel-map/index.js ***! - \************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"./node_modules/side-channel-map/node_modules/get-intrinsic/index.js\");\nvar callBound = __webpack_require__(/*! call-bound */ \"./node_modules/call-bound/index.js\");\nvar inspect = __webpack_require__(/*! object-inspect */ \"./node_modules/object-inspect/index.js\");\n\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\nvar $Map = GetIntrinsic('%Map%', true);\n\n/** @type {(thisArg: Map, key: K) => V} */\nvar $mapGet = callBound('Map.prototype.get', true);\n/** @type {(thisArg: Map, key: K, value: V) => void} */\nvar $mapSet = callBound('Map.prototype.set', true);\n/** @type {(thisArg: Map, key: K) => boolean} */\nvar $mapHas = callBound('Map.prototype.has', true);\n/** @type {(thisArg: Map, key: K) => boolean} */\nvar $mapDelete = callBound('Map.prototype.delete', true);\n/** @type {(thisArg: Map) => number} */\nvar $mapSize = callBound('Map.prototype.size', true);\n\n/** @type {import('.')} */\nmodule.exports = !!$Map && /** @type {Exclude} */ function getSideChannelMap() {\n\t/** @typedef {ReturnType} Channel */\n\t/** @typedef {Parameters[0]} K */\n\t/** @typedef {Parameters[1]} V */\n\n\t/** @type {Map | undefined} */ var $m;\n\n\t/** @type {Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\t'delete': function (key) {\n\t\t\tif ($m) {\n\t\t\t\tvar result = $mapDelete($m, key);\n\t\t\t\tif ($mapSize($m) === 0) {\n\t\t\t\t\t$m = void undefined;\n\t\t\t\t}\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tget: function (key) { // eslint-disable-line consistent-return\n\t\t\tif ($m) {\n\t\t\t\treturn $mapGet($m, key);\n\t\t\t}\n\t\t},\n\t\thas: function (key) {\n\t\t\tif ($m) {\n\t\t\t\treturn $mapHas($m, key);\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif (!$m) {\n\t\t\t\t// @ts-expect-error TS can't handle narrowing a variable inside a closure\n\t\t\t\t$m = new $Map();\n\t\t\t}\n\t\t\t$mapSet($m, key, value);\n\t\t}\n\t};\n\n\t// @ts-expect-error TODO: figure out why TS is erroring here\n\treturn channel;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/side-channel-map/index.js?"); - -/***/ }), - -/***/ "./node_modules/side-channel-map/node_modules/es-define-property/index.js": -/*!********************************************************************************!*\ - !*** ./node_modules/side-channel-map/node_modules/es-define-property/index.js ***! - \********************************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('.')} */\nvar $defineProperty = Object.defineProperty || false;\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = false;\n\t}\n}\n\nmodule.exports = $defineProperty;\n\n\n//# sourceURL=webpack://Undo/./node_modules/side-channel-map/node_modules/es-define-property/index.js?"); - -/***/ }), - -/***/ "./node_modules/side-channel-map/node_modules/get-intrinsic/index.js": -/*!***************************************************************************!*\ - !*** ./node_modules/side-channel-map/node_modules/get-intrinsic/index.js ***! - \***************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar undefined;\n\nvar $Object = __webpack_require__(/*! es-object-atoms */ \"./node_modules/es-object-atoms/index.js\");\n\nvar $Error = __webpack_require__(/*! es-errors */ \"./node_modules/es-errors/index.js\");\nvar $EvalError = __webpack_require__(/*! es-errors/eval */ \"./node_modules/es-errors/eval.js\");\nvar $RangeError = __webpack_require__(/*! es-errors/range */ \"./node_modules/es-errors/range.js\");\nvar $ReferenceError = __webpack_require__(/*! es-errors/ref */ \"./node_modules/es-errors/ref.js\");\nvar $SyntaxError = __webpack_require__(/*! es-errors/syntax */ \"./node_modules/es-errors/syntax.js\");\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\nvar $URIError = __webpack_require__(/*! es-errors/uri */ \"./node_modules/es-errors/uri.js\");\n\nvar abs = __webpack_require__(/*! math-intrinsics/abs */ \"./node_modules/math-intrinsics/abs.js\");\nvar floor = __webpack_require__(/*! math-intrinsics/floor */ \"./node_modules/math-intrinsics/floor.js\");\nvar max = __webpack_require__(/*! math-intrinsics/max */ \"./node_modules/math-intrinsics/max.js\");\nvar min = __webpack_require__(/*! math-intrinsics/min */ \"./node_modules/math-intrinsics/min.js\");\nvar pow = __webpack_require__(/*! math-intrinsics/pow */ \"./node_modules/math-intrinsics/pow.js\");\nvar round = __webpack_require__(/*! math-intrinsics/round */ \"./node_modules/math-intrinsics/round.js\");\nvar sign = __webpack_require__(/*! math-intrinsics/sign */ \"./node_modules/math-intrinsics/sign.js\");\n\nvar $Function = Function;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = __webpack_require__(/*! gopd */ \"./node_modules/side-channel-map/node_modules/gopd/index.js\");\nvar $defineProperty = __webpack_require__(/*! es-define-property */ \"./node_modules/side-channel-map/node_modules/es-define-property/index.js\");\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = __webpack_require__(/*! has-symbols */ \"./node_modules/side-channel-map/node_modules/has-symbols/index.js\")();\n\nvar getProto = __webpack_require__(/*! get-proto */ \"./node_modules/get-proto/index.js\");\nvar $ObjectGPO = __webpack_require__(/*! get-proto/Object.getPrototypeOf */ \"./node_modules/get-proto/Object.getPrototypeOf.js\");\nvar $ReflectGPO = __webpack_require__(/*! get-proto/Reflect.getPrototypeOf */ \"./node_modules/get-proto/Reflect.getPrototypeOf.js\");\n\nvar $apply = __webpack_require__(/*! call-bind-apply-helpers/functionApply */ \"./node_modules/call-bind-apply-helpers/functionApply.js\");\nvar $call = __webpack_require__(/*! call-bind-apply-helpers/functionCall */ \"./node_modules/call-bind-apply-helpers/functionCall.js\");\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t__proto__: null,\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,\n\t'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': $Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': $EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': $Object,\n\t'%Object.getOwnPropertyDescriptor%': $gOPD,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': $RangeError,\n\t'%ReferenceError%': $ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': $URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,\n\n\t'%Function.prototype.call%': $call,\n\t'%Function.prototype.apply%': $apply,\n\t'%Object.defineProperty%': $defineProperty,\n\t'%Object.getPrototypeOf%': $ObjectGPO,\n\t'%Math.abs%': abs,\n\t'%Math.floor%': floor,\n\t'%Math.max%': max,\n\t'%Math.min%': min,\n\t'%Math.pow%': pow,\n\t'%Math.round%': round,\n\t'%Math.sign%': sign,\n\t'%Reflect.getPrototypeOf%': $ReflectGPO\n};\n\nif (getProto) {\n\ttry {\n\t\tnull.error; // eslint-disable-line no-unused-expressions\n\t} catch (e) {\n\t\t// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n\t\tvar errorProto = getProto(getProto(e));\n\t\tINTRINSICS['%Error.prototype%'] = errorProto;\n\t}\n}\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen && getProto) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t__proto__: null,\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = __webpack_require__(/*! function-bind */ \"./node_modules/function-bind/index.js\");\nvar hasOwn = __webpack_require__(/*! hasown */ \"./node_modules/hasown/index.js\");\nvar $concat = bind.call($call, Array.prototype.concat);\nvar $spliceApply = bind.call($apply, Array.prototype.splice);\nvar $replace = bind.call($call, String.prototype.replace);\nvar $strSlice = bind.call($call, String.prototype.slice);\nvar $exec = bind.call($call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t}\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/side-channel-map/node_modules/get-intrinsic/index.js?"); - -/***/ }), - -/***/ "./node_modules/side-channel-map/node_modules/gopd/gOPD.js": -/*!*****************************************************************!*\ - !*** ./node_modules/side-channel-map/node_modules/gopd/gOPD.js ***! - \*****************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./gOPD')} */\nmodule.exports = Object.getOwnPropertyDescriptor;\n\n\n//# sourceURL=webpack://Undo/./node_modules/side-channel-map/node_modules/gopd/gOPD.js?"); - -/***/ }), - -/***/ "./node_modules/side-channel-map/node_modules/gopd/index.js": -/*!******************************************************************!*\ - !*** ./node_modules/side-channel-map/node_modules/gopd/index.js ***! - \******************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\n/** @type {import('.')} */\nvar $gOPD = __webpack_require__(/*! ./gOPD */ \"./node_modules/side-channel-map/node_modules/gopd/gOPD.js\");\n\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n\n\n//# sourceURL=webpack://Undo/./node_modules/side-channel-map/node_modules/gopd/index.js?"); - -/***/ }), - -/***/ "./node_modules/side-channel-map/node_modules/has-symbols/index.js": -/*!*************************************************************************!*\ - !*** ./node_modules/side-channel-map/node_modules/has-symbols/index.js ***! - \*************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = __webpack_require__(/*! ./shams */ \"./node_modules/side-channel-map/node_modules/has-symbols/shams.js\");\n\n/** @type {import('.')} */\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/side-channel-map/node_modules/has-symbols/index.js?"); - -/***/ }), - -/***/ "./node_modules/side-channel-map/node_modules/has-symbols/shams.js": -/*!*************************************************************************!*\ - !*** ./node_modules/side-channel-map/node_modules/has-symbols/shams.js ***! - \*************************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./shams')} */\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\t/** @type {{ [k in symbol]?: unknown }} */\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\t// eslint-disable-next-line no-extra-parens\n\t\tvar descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/side-channel-map/node_modules/has-symbols/shams.js?"); - -/***/ }), - -/***/ "./node_modules/side-channel-weakmap/index.js": -/*!****************************************************!*\ - !*** ./node_modules/side-channel-weakmap/index.js ***! - \****************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"./node_modules/side-channel-weakmap/node_modules/get-intrinsic/index.js\");\nvar callBound = __webpack_require__(/*! call-bound */ \"./node_modules/call-bound/index.js\");\nvar inspect = __webpack_require__(/*! object-inspect */ \"./node_modules/object-inspect/index.js\");\nvar getSideChannelMap = __webpack_require__(/*! side-channel-map */ \"./node_modules/side-channel-map/index.js\");\n\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\nvar $WeakMap = GetIntrinsic('%WeakMap%', true);\n\n/** @type {(thisArg: WeakMap, key: K) => V} */\nvar $weakMapGet = callBound('WeakMap.prototype.get', true);\n/** @type {(thisArg: WeakMap, key: K, value: V) => void} */\nvar $weakMapSet = callBound('WeakMap.prototype.set', true);\n/** @type {(thisArg: WeakMap, key: K) => boolean} */\nvar $weakMapHas = callBound('WeakMap.prototype.has', true);\n/** @type {(thisArg: WeakMap, key: K) => boolean} */\nvar $weakMapDelete = callBound('WeakMap.prototype.delete', true);\n\n/** @type {import('.')} */\nmodule.exports = $WeakMap\n\t? /** @type {Exclude} */ function getSideChannelWeakMap() {\n\t\t/** @typedef {ReturnType} Channel */\n\t\t/** @typedef {Parameters[0]} K */\n\t\t/** @typedef {Parameters[1]} V */\n\n\t\t/** @type {WeakMap | undefined} */ var $wm;\n\t\t/** @type {Channel | undefined} */ var $m;\n\n\t\t/** @type {Channel} */\n\t\tvar channel = {\n\t\t\tassert: function (key) {\n\t\t\t\tif (!channel.has(key)) {\n\t\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t\t}\n\t\t\t},\n\t\t\t'delete': function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapDelete($wm, key);\n\t\t\t\t\t}\n\t\t\t\t} else if (getSideChannelMap) {\n\t\t\t\t\tif ($m) {\n\t\t\t\t\t\treturn $m['delete'](key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\tget: function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapGet($wm, key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn $m && $m.get(key);\n\t\t\t},\n\t\t\thas: function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapHas($wm, key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn !!$m && $m.has(key);\n\t\t\t},\n\t\t\tset: function (key, value) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif (!$wm) {\n\t\t\t\t\t\t$wm = new $WeakMap();\n\t\t\t\t\t}\n\t\t\t\t\t$weakMapSet($wm, key, value);\n\t\t\t\t} else if (getSideChannelMap) {\n\t\t\t\t\tif (!$m) {\n\t\t\t\t\t\t$m = getSideChannelMap();\n\t\t\t\t\t}\n\t\t\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\t\t\t/** @type {NonNullable} */ ($m).set(key, value);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\t// @ts-expect-error TODO: figure out why this is erroring\n\t\treturn channel;\n\t}\n\t: getSideChannelMap;\n\n\n//# sourceURL=webpack://Undo/./node_modules/side-channel-weakmap/index.js?"); - -/***/ }), - -/***/ "./node_modules/side-channel-weakmap/node_modules/es-define-property/index.js": -/*!************************************************************************************!*\ - !*** ./node_modules/side-channel-weakmap/node_modules/es-define-property/index.js ***! - \************************************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('.')} */\nvar $defineProperty = Object.defineProperty || false;\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = false;\n\t}\n}\n\nmodule.exports = $defineProperty;\n\n\n//# sourceURL=webpack://Undo/./node_modules/side-channel-weakmap/node_modules/es-define-property/index.js?"); - -/***/ }), - -/***/ "./node_modules/side-channel-weakmap/node_modules/get-intrinsic/index.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/side-channel-weakmap/node_modules/get-intrinsic/index.js ***! - \*******************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar undefined;\n\nvar $Object = __webpack_require__(/*! es-object-atoms */ \"./node_modules/es-object-atoms/index.js\");\n\nvar $Error = __webpack_require__(/*! es-errors */ \"./node_modules/es-errors/index.js\");\nvar $EvalError = __webpack_require__(/*! es-errors/eval */ \"./node_modules/es-errors/eval.js\");\nvar $RangeError = __webpack_require__(/*! es-errors/range */ \"./node_modules/es-errors/range.js\");\nvar $ReferenceError = __webpack_require__(/*! es-errors/ref */ \"./node_modules/es-errors/ref.js\");\nvar $SyntaxError = __webpack_require__(/*! es-errors/syntax */ \"./node_modules/es-errors/syntax.js\");\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\nvar $URIError = __webpack_require__(/*! es-errors/uri */ \"./node_modules/es-errors/uri.js\");\n\nvar abs = __webpack_require__(/*! math-intrinsics/abs */ \"./node_modules/math-intrinsics/abs.js\");\nvar floor = __webpack_require__(/*! math-intrinsics/floor */ \"./node_modules/math-intrinsics/floor.js\");\nvar max = __webpack_require__(/*! math-intrinsics/max */ \"./node_modules/math-intrinsics/max.js\");\nvar min = __webpack_require__(/*! math-intrinsics/min */ \"./node_modules/math-intrinsics/min.js\");\nvar pow = __webpack_require__(/*! math-intrinsics/pow */ \"./node_modules/math-intrinsics/pow.js\");\nvar round = __webpack_require__(/*! math-intrinsics/round */ \"./node_modules/math-intrinsics/round.js\");\nvar sign = __webpack_require__(/*! math-intrinsics/sign */ \"./node_modules/math-intrinsics/sign.js\");\n\nvar $Function = Function;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = __webpack_require__(/*! gopd */ \"./node_modules/side-channel-weakmap/node_modules/gopd/index.js\");\nvar $defineProperty = __webpack_require__(/*! es-define-property */ \"./node_modules/side-channel-weakmap/node_modules/es-define-property/index.js\");\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = __webpack_require__(/*! has-symbols */ \"./node_modules/side-channel-weakmap/node_modules/has-symbols/index.js\")();\n\nvar getProto = __webpack_require__(/*! get-proto */ \"./node_modules/get-proto/index.js\");\nvar $ObjectGPO = __webpack_require__(/*! get-proto/Object.getPrototypeOf */ \"./node_modules/get-proto/Object.getPrototypeOf.js\");\nvar $ReflectGPO = __webpack_require__(/*! get-proto/Reflect.getPrototypeOf */ \"./node_modules/get-proto/Reflect.getPrototypeOf.js\");\n\nvar $apply = __webpack_require__(/*! call-bind-apply-helpers/functionApply */ \"./node_modules/call-bind-apply-helpers/functionApply.js\");\nvar $call = __webpack_require__(/*! call-bind-apply-helpers/functionCall */ \"./node_modules/call-bind-apply-helpers/functionCall.js\");\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t__proto__: null,\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,\n\t'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': $Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': $EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': $Object,\n\t'%Object.getOwnPropertyDescriptor%': $gOPD,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': $RangeError,\n\t'%ReferenceError%': $ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': $URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,\n\n\t'%Function.prototype.call%': $call,\n\t'%Function.prototype.apply%': $apply,\n\t'%Object.defineProperty%': $defineProperty,\n\t'%Object.getPrototypeOf%': $ObjectGPO,\n\t'%Math.abs%': abs,\n\t'%Math.floor%': floor,\n\t'%Math.max%': max,\n\t'%Math.min%': min,\n\t'%Math.pow%': pow,\n\t'%Math.round%': round,\n\t'%Math.sign%': sign,\n\t'%Reflect.getPrototypeOf%': $ReflectGPO\n};\n\nif (getProto) {\n\ttry {\n\t\tnull.error; // eslint-disable-line no-unused-expressions\n\t} catch (e) {\n\t\t// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n\t\tvar errorProto = getProto(getProto(e));\n\t\tINTRINSICS['%Error.prototype%'] = errorProto;\n\t}\n}\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen && getProto) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t__proto__: null,\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = __webpack_require__(/*! function-bind */ \"./node_modules/function-bind/index.js\");\nvar hasOwn = __webpack_require__(/*! hasown */ \"./node_modules/hasown/index.js\");\nvar $concat = bind.call($call, Array.prototype.concat);\nvar $spliceApply = bind.call($apply, Array.prototype.splice);\nvar $replace = bind.call($call, String.prototype.replace);\nvar $strSlice = bind.call($call, String.prototype.slice);\nvar $exec = bind.call($call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t}\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/side-channel-weakmap/node_modules/get-intrinsic/index.js?"); - -/***/ }), - -/***/ "./node_modules/side-channel-weakmap/node_modules/gopd/gOPD.js": -/*!*********************************************************************!*\ - !*** ./node_modules/side-channel-weakmap/node_modules/gopd/gOPD.js ***! - \*********************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./gOPD')} */\nmodule.exports = Object.getOwnPropertyDescriptor;\n\n\n//# sourceURL=webpack://Undo/./node_modules/side-channel-weakmap/node_modules/gopd/gOPD.js?"); - -/***/ }), - -/***/ "./node_modules/side-channel-weakmap/node_modules/gopd/index.js": -/*!**********************************************************************!*\ - !*** ./node_modules/side-channel-weakmap/node_modules/gopd/index.js ***! - \**********************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\n/** @type {import('.')} */\nvar $gOPD = __webpack_require__(/*! ./gOPD */ \"./node_modules/side-channel-weakmap/node_modules/gopd/gOPD.js\");\n\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n\n\n//# sourceURL=webpack://Undo/./node_modules/side-channel-weakmap/node_modules/gopd/index.js?"); - -/***/ }), - -/***/ "./node_modules/side-channel-weakmap/node_modules/has-symbols/index.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/side-channel-weakmap/node_modules/has-symbols/index.js ***! - \*****************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = __webpack_require__(/*! ./shams */ \"./node_modules/side-channel-weakmap/node_modules/has-symbols/shams.js\");\n\n/** @type {import('.')} */\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/side-channel-weakmap/node_modules/has-symbols/index.js?"); - -/***/ }), - -/***/ "./node_modules/side-channel-weakmap/node_modules/has-symbols/shams.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/side-channel-weakmap/node_modules/has-symbols/shams.js ***! - \*****************************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/** @type {import('./shams')} */\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\t/** @type {{ [k in symbol]?: unknown }} */\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\t// eslint-disable-next-line no-extra-parens\n\t\tvar descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/side-channel-weakmap/node_modules/has-symbols/shams.js?"); - -/***/ }), - -/***/ "./node_modules/side-channel/index.js": -/*!********************************************!*\ - !*** ./node_modules/side-channel/index.js ***! - \********************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"./node_modules/get-intrinsic/index.js\");\nvar callBound = __webpack_require__(/*! call-bind/callBound */ \"./node_modules/call-bind/callBound.js\");\nvar inspect = __webpack_require__(/*! object-inspect */ \"./node_modules/side-channel/node_modules/object-inspect/index.js\");\n\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\nvar $WeakMap = GetIntrinsic('%WeakMap%', true);\nvar $Map = GetIntrinsic('%Map%', true);\n\nvar $weakMapGet = callBound('WeakMap.prototype.get', true);\nvar $weakMapSet = callBound('WeakMap.prototype.set', true);\nvar $weakMapHas = callBound('WeakMap.prototype.has', true);\nvar $mapGet = callBound('Map.prototype.get', true);\nvar $mapSet = callBound('Map.prototype.set', true);\nvar $mapHas = callBound('Map.prototype.has', true);\n\n/*\n* This function traverses the list returning the node corresponding to the given key.\n*\n* That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list. By doing so, all the recently used nodes can be accessed relatively quickly.\n*/\n/** @type {import('.').listGetNode} */\nvar listGetNode = function (list, key) { // eslint-disable-line consistent-return\n\t/** @type {typeof list | NonNullable<(typeof list)['next']>} */\n\tvar prev = list;\n\t/** @type {(typeof list)['next']} */\n\tvar curr;\n\tfor (; (curr = prev.next) !== null; prev = curr) {\n\t\tif (curr.key === key) {\n\t\t\tprev.next = curr.next;\n\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\tcurr.next = /** @type {NonNullable} */ (list.next);\n\t\t\tlist.next = curr; // eslint-disable-line no-param-reassign\n\t\t\treturn curr;\n\t\t}\n\t}\n};\n\n/** @type {import('.').listGet} */\nvar listGet = function (objects, key) {\n\tvar node = listGetNode(objects, key);\n\treturn node && node.value;\n};\n/** @type {import('.').listSet} */\nvar listSet = function (objects, key, value) {\n\tvar node = listGetNode(objects, key);\n\tif (node) {\n\t\tnode.value = value;\n\t} else {\n\t\t// Prepend the new node to the beginning of the list\n\t\tobjects.next = /** @type {import('.').ListNode} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens\n\t\t\tkey: key,\n\t\t\tnext: objects.next,\n\t\t\tvalue: value\n\t\t});\n\t}\n};\n/** @type {import('.').listHas} */\nvar listHas = function (objects, key) {\n\treturn !!listGetNode(objects, key);\n};\n\n/** @type {import('.')} */\nmodule.exports = function getSideChannel() {\n\t/** @type {WeakMap} */ var $wm;\n\t/** @type {Map} */ var $m;\n\t/** @type {import('.').RootNode} */ var $o;\n\n\t/** @type {import('.').Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\tget: function (key) { // eslint-disable-line consistent-return\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif ($wm) {\n\t\t\t\t\treturn $weakMapGet($wm, key);\n\t\t\t\t}\n\t\t\t} else if ($Map) {\n\t\t\t\tif ($m) {\n\t\t\t\t\treturn $mapGet($m, key);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif ($o) { // eslint-disable-line no-lonely-if\n\t\t\t\t\treturn listGet($o, key);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\thas: function (key) {\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif ($wm) {\n\t\t\t\t\treturn $weakMapHas($wm, key);\n\t\t\t\t}\n\t\t\t} else if ($Map) {\n\t\t\t\tif ($m) {\n\t\t\t\t\treturn $mapHas($m, key);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif ($o) { // eslint-disable-line no-lonely-if\n\t\t\t\t\treturn listHas($o, key);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif (!$wm) {\n\t\t\t\t\t$wm = new $WeakMap();\n\t\t\t\t}\n\t\t\t\t$weakMapSet($wm, key, value);\n\t\t\t} else if ($Map) {\n\t\t\t\tif (!$m) {\n\t\t\t\t\t$m = new $Map();\n\t\t\t\t}\n\t\t\t\t$mapSet($m, key, value);\n\t\t\t} else {\n\t\t\t\tif (!$o) {\n\t\t\t\t\t// Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head\n\t\t\t\t\t$o = { key: {}, next: null };\n\t\t\t\t}\n\t\t\t\tlistSet($o, key, value);\n\t\t\t}\n\t\t}\n\t};\n\treturn channel;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/side-channel/index.js?"); - -/***/ }), - -/***/ "./node_modules/side-channel/node_modules/object-inspect/index.js": -/*!************************************************************************!*\ - !*** ./node_modules/side-channel/node_modules/object-inspect/index.js ***! - \************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -eval("var hasMap = typeof Map === 'function' && Map.prototype;\nvar mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;\nvar mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;\nvar mapForEach = hasMap && Map.prototype.forEach;\nvar hasSet = typeof Set === 'function' && Set.prototype;\nvar setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;\nvar setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;\nvar setForEach = hasSet && Set.prototype.forEach;\nvar hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;\nvar weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;\nvar hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;\nvar weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;\nvar hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;\nvar weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;\nvar booleanValueOf = Boolean.prototype.valueOf;\nvar objectToString = Object.prototype.toString;\nvar functionToString = Function.prototype.toString;\nvar $match = String.prototype.match;\nvar $slice = String.prototype.slice;\nvar $replace = String.prototype.replace;\nvar $toUpperCase = String.prototype.toUpperCase;\nvar $toLowerCase = String.prototype.toLowerCase;\nvar $test = RegExp.prototype.test;\nvar $concat = Array.prototype.concat;\nvar $join = Array.prototype.join;\nvar $arrSlice = Array.prototype.slice;\nvar $floor = Math.floor;\nvar bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;\nvar gOPS = Object.getOwnPropertySymbols;\nvar symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;\nvar hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';\n// ie, `has-tostringtag/shams\nvar toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')\n ? Symbol.toStringTag\n : null;\nvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\nvar gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (\n [].__proto__ === Array.prototype // eslint-disable-line no-proto\n ? function (O) {\n return O.__proto__; // eslint-disable-line no-proto\n }\n : null\n);\n\nfunction addNumericSeparator(num, str) {\n if (\n num === Infinity\n || num === -Infinity\n || num !== num\n || (num && num > -1000 && num < 1000)\n || $test.call(/e/, str)\n ) {\n return str;\n }\n var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;\n if (typeof num === 'number') {\n var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)\n if (int !== num) {\n var intStr = String(int);\n var dec = $slice.call(str, intStr.length + 1);\n return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');\n }\n }\n return $replace.call(str, sepRegex, '$&_');\n}\n\nvar utilInspect = __webpack_require__(/*! ./util.inspect */ \"?b1b0\");\nvar inspectCustom = utilInspect.custom;\nvar inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;\n\nmodule.exports = function inspect_(obj, options, depth, seen) {\n var opts = options || {};\n\n if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {\n throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');\n }\n if (\n has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'\n ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity\n : opts.maxStringLength !== null\n )\n ) {\n throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');\n }\n var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;\n if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {\n throw new TypeError('option \"customInspect\", if provided, must be `true`, `false`, or `\\'symbol\\'`');\n }\n\n if (\n has(opts, 'indent')\n && opts.indent !== null\n && opts.indent !== '\\t'\n && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)\n ) {\n throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');\n }\n if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {\n throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');\n }\n var numericSeparator = opts.numericSeparator;\n\n if (typeof obj === 'undefined') {\n return 'undefined';\n }\n if (obj === null) {\n return 'null';\n }\n if (typeof obj === 'boolean') {\n return obj ? 'true' : 'false';\n }\n\n if (typeof obj === 'string') {\n return inspectString(obj, opts);\n }\n if (typeof obj === 'number') {\n if (obj === 0) {\n return Infinity / obj > 0 ? '0' : '-0';\n }\n var str = String(obj);\n return numericSeparator ? addNumericSeparator(obj, str) : str;\n }\n if (typeof obj === 'bigint') {\n var bigIntStr = String(obj) + 'n';\n return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;\n }\n\n var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;\n if (typeof depth === 'undefined') { depth = 0; }\n if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {\n return isArray(obj) ? '[Array]' : '[Object]';\n }\n\n var indent = getIndent(opts, depth);\n\n if (typeof seen === 'undefined') {\n seen = [];\n } else if (indexOf(seen, obj) >= 0) {\n return '[Circular]';\n }\n\n function inspect(value, from, noIndent) {\n if (from) {\n seen = $arrSlice.call(seen);\n seen.push(from);\n }\n if (noIndent) {\n var newOpts = {\n depth: opts.depth\n };\n if (has(opts, 'quoteStyle')) {\n newOpts.quoteStyle = opts.quoteStyle;\n }\n return inspect_(value, newOpts, depth + 1, seen);\n }\n return inspect_(value, opts, depth + 1, seen);\n }\n\n if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable\n var name = nameOf(obj);\n var keys = arrObjKeys(obj, inspect);\n return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');\n }\n if (isSymbol(obj)) {\n var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\\(.*\\))_[^)]*$/, '$1') : symToString.call(obj);\n return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;\n }\n if (isElement(obj)) {\n var s = '<' + $toLowerCase.call(String(obj.nodeName));\n var attrs = obj.attributes || [];\n for (var i = 0; i < attrs.length; i++) {\n s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);\n }\n s += '>';\n if (obj.childNodes && obj.childNodes.length) { s += '...'; }\n s += '';\n return s;\n }\n if (isArray(obj)) {\n if (obj.length === 0) { return '[]'; }\n var xs = arrObjKeys(obj, inspect);\n if (indent && !singleLineValues(xs)) {\n return '[' + indentedJoin(xs, indent) + ']';\n }\n return '[ ' + $join.call(xs, ', ') + ' ]';\n }\n if (isError(obj)) {\n var parts = arrObjKeys(obj, inspect);\n if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) {\n return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';\n }\n if (parts.length === 0) { return '[' + String(obj) + ']'; }\n return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';\n }\n if (typeof obj === 'object' && customInspect) {\n if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) {\n return utilInspect(obj, { depth: maxDepth - depth });\n } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {\n return obj.inspect();\n }\n }\n if (isMap(obj)) {\n var mapParts = [];\n if (mapForEach) {\n mapForEach.call(obj, function (value, key) {\n mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));\n });\n }\n return collectionOf('Map', mapSize.call(obj), mapParts, indent);\n }\n if (isSet(obj)) {\n var setParts = [];\n if (setForEach) {\n setForEach.call(obj, function (value) {\n setParts.push(inspect(value, obj));\n });\n }\n return collectionOf('Set', setSize.call(obj), setParts, indent);\n }\n if (isWeakMap(obj)) {\n return weakCollectionOf('WeakMap');\n }\n if (isWeakSet(obj)) {\n return weakCollectionOf('WeakSet');\n }\n if (isWeakRef(obj)) {\n return weakCollectionOf('WeakRef');\n }\n if (isNumber(obj)) {\n return markBoxed(inspect(Number(obj)));\n }\n if (isBigInt(obj)) {\n return markBoxed(inspect(bigIntValueOf.call(obj)));\n }\n if (isBoolean(obj)) {\n return markBoxed(booleanValueOf.call(obj));\n }\n if (isString(obj)) {\n return markBoxed(inspect(String(obj)));\n }\n // note: in IE 8, sometimes `global !== window` but both are the prototypes of each other\n /* eslint-env browser */\n if (typeof window !== 'undefined' && obj === window) {\n return '{ [object Window] }';\n }\n if (obj === __webpack_require__.g) {\n return '{ [object globalThis] }';\n }\n if (!isDate(obj) && !isRegExp(obj)) {\n var ys = arrObjKeys(obj, inspect);\n var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;\n var protoTag = obj instanceof Object ? '' : 'null prototype';\n var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';\n var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';\n var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');\n if (ys.length === 0) { return tag + '{}'; }\n if (indent) {\n return tag + '{' + indentedJoin(ys, indent) + '}';\n }\n return tag + '{ ' + $join.call(ys, ', ') + ' }';\n }\n return String(obj);\n};\n\nfunction wrapQuotes(s, defaultStyle, opts) {\n var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '\"' : \"'\";\n return quoteChar + s + quoteChar;\n}\n\nfunction quote(s) {\n return $replace.call(String(s), /\"/g, '"');\n}\n\nfunction isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\n\n// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives\nfunction isSymbol(obj) {\n if (hasShammedSymbols) {\n return obj && typeof obj === 'object' && obj instanceof Symbol;\n }\n if (typeof obj === 'symbol') {\n return true;\n }\n if (!obj || typeof obj !== 'object' || !symToString) {\n return false;\n }\n try {\n symToString.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isBigInt(obj) {\n if (!obj || typeof obj !== 'object' || !bigIntValueOf) {\n return false;\n }\n try {\n bigIntValueOf.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nvar hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };\nfunction has(obj, key) {\n return hasOwn.call(obj, key);\n}\n\nfunction toStr(obj) {\n return objectToString.call(obj);\n}\n\nfunction nameOf(f) {\n if (f.name) { return f.name; }\n var m = $match.call(functionToString.call(f), /^function\\s*([\\w$]+)/);\n if (m) { return m[1]; }\n return null;\n}\n\nfunction indexOf(xs, x) {\n if (xs.indexOf) { return xs.indexOf(x); }\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) { return i; }\n }\n return -1;\n}\n\nfunction isMap(x) {\n if (!mapSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n mapSize.call(x);\n try {\n setSize.call(x);\n } catch (s) {\n return true;\n }\n return x instanceof Map; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakMap(x) {\n if (!weakMapHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakMapHas.call(x, weakMapHas);\n try {\n weakSetHas.call(x, weakSetHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakMap; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakRef(x) {\n if (!weakRefDeref || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakRefDeref.call(x);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isSet(x) {\n if (!setSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n setSize.call(x);\n try {\n mapSize.call(x);\n } catch (m) {\n return true;\n }\n return x instanceof Set; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakSet(x) {\n if (!weakSetHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakSetHas.call(x, weakSetHas);\n try {\n weakMapHas.call(x, weakMapHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakSet; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isElement(x) {\n if (!x || typeof x !== 'object') { return false; }\n if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {\n return true;\n }\n return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';\n}\n\nfunction inspectString(str, opts) {\n if (str.length > opts.maxStringLength) {\n var remaining = str.length - opts.maxStringLength;\n var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');\n return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;\n }\n // eslint-disable-next-line no-control-regex\n var s = $replace.call($replace.call(str, /(['\\\\])/g, '\\\\$1'), /[\\x00-\\x1f]/g, lowbyte);\n return wrapQuotes(s, 'single', opts);\n}\n\nfunction lowbyte(c) {\n var n = c.charCodeAt(0);\n var x = {\n 8: 'b',\n 9: 't',\n 10: 'n',\n 12: 'f',\n 13: 'r'\n }[n];\n if (x) { return '\\\\' + x; }\n return '\\\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));\n}\n\nfunction markBoxed(str) {\n return 'Object(' + str + ')';\n}\n\nfunction weakCollectionOf(type) {\n return type + ' { ? }';\n}\n\nfunction collectionOf(type, size, entries, indent) {\n var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');\n return type + ' (' + size + ') {' + joinedEntries + '}';\n}\n\nfunction singleLineValues(xs) {\n for (var i = 0; i < xs.length; i++) {\n if (indexOf(xs[i], '\\n') >= 0) {\n return false;\n }\n }\n return true;\n}\n\nfunction getIndent(opts, depth) {\n var baseIndent;\n if (opts.indent === '\\t') {\n baseIndent = '\\t';\n } else if (typeof opts.indent === 'number' && opts.indent > 0) {\n baseIndent = $join.call(Array(opts.indent + 1), ' ');\n } else {\n return null;\n }\n return {\n base: baseIndent,\n prev: $join.call(Array(depth + 1), baseIndent)\n };\n}\n\nfunction indentedJoin(xs, indent) {\n if (xs.length === 0) { return ''; }\n var lineJoiner = '\\n' + indent.prev + indent.base;\n return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\\n' + indent.prev;\n}\n\nfunction arrObjKeys(obj, inspect) {\n var isArr = isArray(obj);\n var xs = [];\n if (isArr) {\n xs.length = obj.length;\n for (var i = 0; i < obj.length; i++) {\n xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';\n }\n }\n var syms = typeof gOPS === 'function' ? gOPS(obj) : [];\n var symMap;\n if (hasShammedSymbols) {\n symMap = {};\n for (var k = 0; k < syms.length; k++) {\n symMap['$' + syms[k]] = syms[k];\n }\n }\n\n for (var key in obj) { // eslint-disable-line no-restricted-syntax\n if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {\n // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section\n continue; // eslint-disable-line no-restricted-syntax, no-continue\n } else if ($test.call(/[^\\w$]/, key)) {\n xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));\n } else {\n xs.push(key + ': ' + inspect(obj[key], obj));\n }\n }\n if (typeof gOPS === 'function') {\n for (var j = 0; j < syms.length; j++) {\n if (isEnumerable.call(obj, syms[j])) {\n xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));\n }\n }\n }\n return xs;\n}\n\n\n//# sourceURL=webpack://Undo/./node_modules/side-channel/node_modules/object-inspect/index.js?"); - -/***/ }), - -/***/ "./node_modules/stop-iteration-iterator/index.js": -/*!*******************************************************!*\ - !*** ./node_modules/stop-iteration-iterator/index.js ***! - \*******************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar SLOT = __webpack_require__(/*! internal-slot */ \"./node_modules/stop-iteration-iterator/node_modules/internal-slot/index.js\");\nvar $SyntaxError = __webpack_require__(/*! es-errors/syntax */ \"./node_modules/es-errors/syntax.js\");\n\nvar $StopIteration = typeof StopIteration === 'object' ? StopIteration : null;\n\n/** @type {import('.')} */\nmodule.exports = function getStopIterationIterator(origIterator) {\n\tif (!$StopIteration) {\n\t\tthrow new $SyntaxError('this environment lacks StopIteration');\n\t}\n\n\tSLOT.set(origIterator, '[[Done]]', false);\n\n\t/** @template T @typedef {T extends Iterator ? U : never} IteratorType */\n\t/** @typedef {IteratorType>} T */\n\tvar siIterator = {\n\t\tnext: /** @type {() => IteratorResult} */ function next() {\n\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\tvar iterator = /** @type {typeof origIterator} */ (SLOT.get(this, '[[Iterator]]'));\n\t\t\tvar done = !!SLOT.get(iterator, '[[Done]]');\n\t\t\ttry {\n\t\t\t\treturn {\n\t\t\t\t\tdone: done,\n\t\t\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\t\t\tvalue: done ? void undefined : /** @type {T} */ (iterator.next())\n\t\t\t\t};\n\t\t\t} catch (e) {\n\t\t\t\tSLOT.set(iterator, '[[Done]]', true);\n\t\t\t\tif (e !== $StopIteration) {\n\t\t\t\t\tthrow e;\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\tdone: true,\n\t\t\t\t\tvalue: void undefined\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t};\n\n\tSLOT.set(siIterator, '[[Iterator]]', origIterator);\n\n\t// @ts-expect-error TODO FIXME\n\treturn siIterator;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/stop-iteration-iterator/index.js?"); - -/***/ }), - -/***/ "./node_modules/stop-iteration-iterator/node_modules/internal-slot/index.js": -/*!**********************************************************************************!*\ - !*** ./node_modules/stop-iteration-iterator/node_modules/internal-slot/index.js ***! - \**********************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\n/** @typedef {`$${import('.').InternalSlot}`} SaltedInternalSlot */\n/** @typedef {{ [k in SaltedInternalSlot]?: unknown }} SlotsObject */\n\nvar hasOwn = __webpack_require__(/*! hasown */ \"./node_modules/hasown/index.js\");\n/** @type {import('side-channel').Channel} */\nvar channel = __webpack_require__(/*! side-channel */ \"./node_modules/stop-iteration-iterator/node_modules/side-channel/index.js\")();\n\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\n\n/** @type {import('.')} */\nvar SLOT = {\n\tassert: function (O, slot) {\n\t\tif (!O || (typeof O !== 'object' && typeof O !== 'function')) {\n\t\t\tthrow new $TypeError('`O` is not an object');\n\t\t}\n\t\tif (typeof slot !== 'string') {\n\t\t\tthrow new $TypeError('`slot` must be a string');\n\t\t}\n\t\tchannel.assert(O);\n\t\tif (!SLOT.has(O, slot)) {\n\t\t\tthrow new $TypeError('`' + slot + '` is not present on `O`');\n\t\t}\n\t},\n\tget: function (O, slot) {\n\t\tif (!O || (typeof O !== 'object' && typeof O !== 'function')) {\n\t\t\tthrow new $TypeError('`O` is not an object');\n\t\t}\n\t\tif (typeof slot !== 'string') {\n\t\t\tthrow new $TypeError('`slot` must be a string');\n\t\t}\n\t\tvar slots = channel.get(O);\n\t\t// eslint-disable-next-line no-extra-parens\n\t\treturn slots && slots[/** @type {SaltedInternalSlot} */ ('$' + slot)];\n\t},\n\thas: function (O, slot) {\n\t\tif (!O || (typeof O !== 'object' && typeof O !== 'function')) {\n\t\t\tthrow new $TypeError('`O` is not an object');\n\t\t}\n\t\tif (typeof slot !== 'string') {\n\t\t\tthrow new $TypeError('`slot` must be a string');\n\t\t}\n\t\tvar slots = channel.get(O);\n\t\t// eslint-disable-next-line no-extra-parens\n\t\treturn !!slots && hasOwn(slots, /** @type {SaltedInternalSlot} */ ('$' + slot));\n\t},\n\tset: function (O, slot, V) {\n\t\tif (!O || (typeof O !== 'object' && typeof O !== 'function')) {\n\t\t\tthrow new $TypeError('`O` is not an object');\n\t\t}\n\t\tif (typeof slot !== 'string') {\n\t\t\tthrow new $TypeError('`slot` must be a string');\n\t\t}\n\t\tvar slots = channel.get(O);\n\t\tif (!slots) {\n\t\t\tslots = {};\n\t\t\tchannel.set(O, slots);\n\t\t}\n\t\t// eslint-disable-next-line no-extra-parens\n\t\tslots[/** @type {SaltedInternalSlot} */ ('$' + slot)] = V;\n\t}\n};\n\nif (Object.freeze) {\n\tObject.freeze(SLOT);\n}\n\nmodule.exports = SLOT;\n\n\n//# sourceURL=webpack://Undo/./node_modules/stop-iteration-iterator/node_modules/internal-slot/index.js?"); - -/***/ }), - -/***/ "./node_modules/stop-iteration-iterator/node_modules/side-channel/index.js": -/*!*********************************************************************************!*\ - !*** ./node_modules/stop-iteration-iterator/node_modules/side-channel/index.js ***! - \*********************************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\nvar inspect = __webpack_require__(/*! object-inspect */ \"./node_modules/object-inspect/index.js\");\nvar getSideChannelList = __webpack_require__(/*! side-channel-list */ \"./node_modules/side-channel-list/index.js\");\nvar getSideChannelMap = __webpack_require__(/*! side-channel-map */ \"./node_modules/side-channel-map/index.js\");\nvar getSideChannelWeakMap = __webpack_require__(/*! side-channel-weakmap */ \"./node_modules/side-channel-weakmap/index.js\");\n\nvar makeChannel = getSideChannelWeakMap || getSideChannelMap || getSideChannelList;\n\n/** @type {import('.')} */\nmodule.exports = function getSideChannel() {\n\t/** @typedef {ReturnType} Channel */\n\n\t/** @type {Channel | undefined} */ var $channelData;\n\n\t/** @type {Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\t'delete': function (key) {\n\t\t\treturn !!$channelData && $channelData['delete'](key);\n\t\t},\n\t\tget: function (key) {\n\t\t\treturn $channelData && $channelData.get(key);\n\t\t},\n\t\thas: function (key) {\n\t\t\treturn !!$channelData && $channelData.has(key);\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif (!$channelData) {\n\t\t\t\t$channelData = makeChannel();\n\t\t\t}\n\n\t\t\t$channelData.set(key, value);\n\t\t}\n\t};\n\t// @ts-expect-error TODO: figure out why this is erroring\n\treturn channel;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/stop-iteration-iterator/node_modules/side-channel/index.js?"); - -/***/ }), - -/***/ "./node_modules/vanilla-caret-js/dist/VanillaCaret.js": -/*!************************************************************!*\ - !*** ./node_modules/vanilla-caret-js/dist/VanillaCaret.js ***! - \************************************************************/ -/***/ (function(module, exports) { - -eval("var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {\n if (true) {\n !(__WEBPACK_AMD_DEFINE_ARRAY__ = [module], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n } else { var mod; }\n})(this, function (module) {\n 'use strict';\n\n function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n\n var _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n }();\n\n var VanillaCaret = function () {\n function VanillaCaret(target) {\n _classCallCheck(this, VanillaCaret);\n\n this.target = target;\n this.isContentEditable = target && target.contentEditable;\n }\n\n _createClass(VanillaCaret, [{\n key: 'getPos',\n value: function getPos() {\n if (document.activeElement !== this.target) {\n return -1;\n }\n if (this.isContentEditable === 'true') {\n this.target.focus();\n var _range = document.getSelection().getRangeAt(0);\n var range = _range.cloneRange();\n range.selectNodeContents(this.target);\n range.setEnd(_range.endContainer, _range.endOffset);\n return range.toString().length;\n }\n\n return this.target.selectionStart;\n }\n }, {\n key: 'setPos',\n value: function setPos(position) {\n if (this.isContentEditable === 'true') {\n if (position >= 0) {\n var selection = window.getSelection();\n var range = this.createRange(this.target, {\n count: position\n });\n if (range) {\n range.collapse(false);\n selection.removeAllRanges();\n selection.addRange(range);\n }\n }\n } else {\n this.target.setSelectionRange(position, position);\n }\n }\n }, {\n key: 'createRange',\n value: function createRange(node, chars, range) {\n if (!range) {\n range = document.createRange();\n range.selectNode(node);\n range.setStart(node, 0);\n }\n if (chars.count === 0) {\n range.setEnd(node, chars.count);\n } else if (node && chars.count > 0) {\n if (node.nodeType === Node.TEXT_NODE) {\n if (node.textContent.length < chars.count) {\n chars.count -= node.textContent.length;\n } else {\n range.setEnd(node, chars.count);\n chars.count = 0;\n }\n } else {\n for (var lp = 0; lp < node.childNodes.length; lp++) {\n range = this.createRange(node.childNodes[lp], chars, range);\n if (chars.count === 0) {\n break;\n }\n }\n }\n }\n return range;\n }\n }]);\n\n return VanillaCaret;\n }();\n\n module.exports = VanillaCaret;\n});\n\n//# sourceURL=webpack://Undo/./node_modules/vanilla-caret-js/dist/VanillaCaret.js?"); - -/***/ }), - -/***/ "./node_modules/vanilla-caret-js/index.js": -/*!************************************************!*\ - !*** ./node_modules/vanilla-caret-js/index.js ***! - \************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -eval("module.exports = __webpack_require__(/*! ./dist/VanillaCaret */ \"./node_modules/vanilla-caret-js/dist/VanillaCaret.js\")\n\n//# sourceURL=webpack://Undo/./node_modules/vanilla-caret-js/index.js?"); - -/***/ }), - -/***/ "./node_modules/which-boxed-primitive/index.js": -/*!*****************************************************!*\ - !*** ./node_modules/which-boxed-primitive/index.js ***! - \*****************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar isString = __webpack_require__(/*! is-string */ \"./node_modules/is-string/index.js\");\nvar isNumber = __webpack_require__(/*! is-number-object */ \"./node_modules/is-number-object/index.js\");\nvar isBoolean = __webpack_require__(/*! is-boolean-object */ \"./node_modules/is-boolean-object/index.js\");\nvar isSymbol = __webpack_require__(/*! is-symbol */ \"./node_modules/is-symbol/index.js\");\nvar isBigInt = __webpack_require__(/*! is-bigint */ \"./node_modules/is-bigint/index.js\");\n\n// eslint-disable-next-line consistent-return\nmodule.exports = function whichBoxedPrimitive(value) {\n\t// eslint-disable-next-line eqeqeq\n\tif (value == null || (typeof value !== 'object' && typeof value !== 'function')) {\n\t\treturn null;\n\t}\n\tif (isString(value)) {\n\t\treturn 'String';\n\t}\n\tif (isNumber(value)) {\n\t\treturn 'Number';\n\t}\n\tif (isBoolean(value)) {\n\t\treturn 'Boolean';\n\t}\n\tif (isSymbol(value)) {\n\t\treturn 'Symbol';\n\t}\n\tif (isBigInt(value)) {\n\t\treturn 'BigInt';\n\t}\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/which-boxed-primitive/index.js?"); - -/***/ }), - -/***/ "./node_modules/which-collection/index.js": -/*!************************************************!*\ - !*** ./node_modules/which-collection/index.js ***! - \************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar isMap = __webpack_require__(/*! is-map */ \"./node_modules/is-map/index.js\");\nvar isSet = __webpack_require__(/*! is-set */ \"./node_modules/is-set/index.js\");\nvar isWeakMap = __webpack_require__(/*! is-weakmap */ \"./node_modules/is-weakmap/index.js\");\nvar isWeakSet = __webpack_require__(/*! is-weakset */ \"./node_modules/is-weakset/index.js\");\n\n/** @type {import('.')} */\nmodule.exports = function whichCollection(/** @type {unknown} */ value) {\n\tif (value && typeof value === 'object') {\n\t\tif (isMap(value)) {\n\t\t\treturn 'Map';\n\t\t}\n\t\tif (isSet(value)) {\n\t\t\treturn 'Set';\n\t\t}\n\t\tif (isWeakMap(value)) {\n\t\t\treturn 'WeakMap';\n\t\t}\n\t\tif (isWeakSet(value)) {\n\t\t\treturn 'WeakSet';\n\t\t}\n\t}\n\treturn false;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/which-collection/index.js?"); - -/***/ }), - -/***/ "?4f7e": -/*!********************************!*\ - !*** ./util.inspect (ignored) ***! - \********************************/ -/***/ (() => { - -eval("/* (ignored) */\n\n//# sourceURL=webpack://Undo/./util.inspect_(ignored)?"); - -/***/ }), - -/***/ "?b1b0": -/*!********************************!*\ - !*** ./util.inspect (ignored) ***! - \********************************/ -/***/ (() => { - -eval("/* (ignored) */\n\n//# sourceURL=webpack://Undo/./util.inspect_(ignored)?"); - -/***/ }), - -/***/ "./node_modules/@babel/runtime/helpers/regeneratorRuntime.js": -/*!*******************************************************************!*\ - !*** ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***! - \*******************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -eval("var _typeof = (__webpack_require__(/*! ./typeof.js */ \"./node_modules/@babel/runtime/helpers/typeof.js\")[\"default\"]);\nfunction _regeneratorRuntime() {\n \"use strict\"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */\n module.exports = _regeneratorRuntime = function _regeneratorRuntime() {\n return e;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n var t,\n e = {},\n r = Object.prototype,\n n = r.hasOwnProperty,\n o = Object.defineProperty || function (t, e, r) {\n t[e] = r.value;\n },\n i = \"function\" == typeof Symbol ? Symbol : {},\n a = i.iterator || \"@@iterator\",\n c = i.asyncIterator || \"@@asyncIterator\",\n u = i.toStringTag || \"@@toStringTag\";\n function define(t, e, r) {\n return Object.defineProperty(t, e, {\n value: r,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }), t[e];\n }\n try {\n define({}, \"\");\n } catch (t) {\n define = function define(t, e, r) {\n return t[e] = r;\n };\n }\n function wrap(t, e, r, n) {\n var i = e && e.prototype instanceof Generator ? e : Generator,\n a = Object.create(i.prototype),\n c = new Context(n || []);\n return o(a, \"_invoke\", {\n value: makeInvokeMethod(t, r, c)\n }), a;\n }\n function tryCatch(t, e, r) {\n try {\n return {\n type: \"normal\",\n arg: t.call(e, r)\n };\n } catch (t) {\n return {\n type: \"throw\",\n arg: t\n };\n }\n }\n e.wrap = wrap;\n var h = \"suspendedStart\",\n l = \"suspendedYield\",\n f = \"executing\",\n s = \"completed\",\n y = {};\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n var p = {};\n define(p, a, function () {\n return this;\n });\n var d = Object.getPrototypeOf,\n v = d && d(d(values([])));\n v && v !== r && n.call(v, a) && (p = v);\n var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);\n function defineIteratorMethods(t) {\n [\"next\", \"throw\", \"return\"].forEach(function (e) {\n define(t, e, function (t) {\n return this._invoke(e, t);\n });\n });\n }\n function AsyncIterator(t, e) {\n function invoke(r, o, i, a) {\n var c = tryCatch(t[r], t, o);\n if (\"throw\" !== c.type) {\n var u = c.arg,\n h = u.value;\n return h && \"object\" == _typeof(h) && n.call(h, \"__await\") ? e.resolve(h.__await).then(function (t) {\n invoke(\"next\", t, i, a);\n }, function (t) {\n invoke(\"throw\", t, i, a);\n }) : e.resolve(h).then(function (t) {\n u.value = t, i(u);\n }, function (t) {\n return invoke(\"throw\", t, i, a);\n });\n }\n a(c.arg);\n }\n var r;\n o(this, \"_invoke\", {\n value: function value(t, n) {\n function callInvokeWithMethodAndArg() {\n return new e(function (e, r) {\n invoke(t, n, e, r);\n });\n }\n return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();\n }\n });\n }\n function makeInvokeMethod(e, r, n) {\n var o = h;\n return function (i, a) {\n if (o === f) throw Error(\"Generator is already running\");\n if (o === s) {\n if (\"throw\" === i) throw a;\n return {\n value: t,\n done: !0\n };\n }\n for (n.method = i, n.arg = a;;) {\n var c = n.delegate;\n if (c) {\n var u = maybeInvokeDelegate(c, n);\n if (u) {\n if (u === y) continue;\n return u;\n }\n }\n if (\"next\" === n.method) n.sent = n._sent = n.arg;else if (\"throw\" === n.method) {\n if (o === h) throw o = s, n.arg;\n n.dispatchException(n.arg);\n } else \"return\" === n.method && n.abrupt(\"return\", n.arg);\n o = f;\n var p = tryCatch(e, r, n);\n if (\"normal\" === p.type) {\n if (o = n.done ? s : l, p.arg === y) continue;\n return {\n value: p.arg,\n done: n.done\n };\n }\n \"throw\" === p.type && (o = s, n.method = \"throw\", n.arg = p.arg);\n }\n };\n }\n function maybeInvokeDelegate(e, r) {\n var n = r.method,\n o = e.iterator[n];\n if (o === t) return r.delegate = null, \"throw\" === n && e.iterator[\"return\"] && (r.method = \"return\", r.arg = t, maybeInvokeDelegate(e, r), \"throw\" === r.method) || \"return\" !== n && (r.method = \"throw\", r.arg = new TypeError(\"The iterator does not provide a '\" + n + \"' method\")), y;\n var i = tryCatch(o, e.iterator, r.arg);\n if (\"throw\" === i.type) return r.method = \"throw\", r.arg = i.arg, r.delegate = null, y;\n var a = i.arg;\n return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, \"return\" !== r.method && (r.method = \"next\", r.arg = t), r.delegate = null, y) : a : (r.method = \"throw\", r.arg = new TypeError(\"iterator result is not an object\"), r.delegate = null, y);\n }\n function pushTryEntry(t) {\n var e = {\n tryLoc: t[0]\n };\n 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);\n }\n function resetTryEntry(t) {\n var e = t.completion || {};\n e.type = \"normal\", delete e.arg, t.completion = e;\n }\n function Context(t) {\n this.tryEntries = [{\n tryLoc: \"root\"\n }], t.forEach(pushTryEntry, this), this.reset(!0);\n }\n function values(e) {\n if (e || \"\" === e) {\n var r = e[a];\n if (r) return r.call(e);\n if (\"function\" == typeof e.next) return e;\n if (!isNaN(e.length)) {\n var o = -1,\n i = function next() {\n for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;\n return next.value = t, next.done = !0, next;\n };\n return i.next = i;\n }\n }\n throw new TypeError(_typeof(e) + \" is not iterable\");\n }\n return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, \"constructor\", {\n value: GeneratorFunctionPrototype,\n configurable: !0\n }), o(GeneratorFunctionPrototype, \"constructor\", {\n value: GeneratorFunction,\n configurable: !0\n }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, \"GeneratorFunction\"), e.isGeneratorFunction = function (t) {\n var e = \"function\" == typeof t && t.constructor;\n return !!e && (e === GeneratorFunction || \"GeneratorFunction\" === (e.displayName || e.name));\n }, e.mark = function (t) {\n return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, \"GeneratorFunction\")), t.prototype = Object.create(g), t;\n }, e.awrap = function (t) {\n return {\n __await: t\n };\n }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {\n return this;\n }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {\n void 0 === i && (i = Promise);\n var a = new AsyncIterator(wrap(t, r, n, o), i);\n return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {\n return t.done ? t.value : a.next();\n });\n }, defineIteratorMethods(g), define(g, u, \"Generator\"), define(g, a, function () {\n return this;\n }), define(g, \"toString\", function () {\n return \"[object Generator]\";\n }), e.keys = function (t) {\n var e = Object(t),\n r = [];\n for (var n in e) r.push(n);\n return r.reverse(), function next() {\n for (; r.length;) {\n var t = r.pop();\n if (t in e) return next.value = t, next.done = !1, next;\n }\n return next.done = !0, next;\n };\n }, e.values = values, Context.prototype = {\n constructor: Context,\n reset: function reset(e) {\n if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = \"next\", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) \"t\" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);\n },\n stop: function stop() {\n this.done = !0;\n var t = this.tryEntries[0].completion;\n if (\"throw\" === t.type) throw t.arg;\n return this.rval;\n },\n dispatchException: function dispatchException(e) {\n if (this.done) throw e;\n var r = this;\n function handle(n, o) {\n return a.type = \"throw\", a.arg = e, r.next = n, o && (r.method = \"next\", r.arg = t), !!o;\n }\n for (var o = this.tryEntries.length - 1; o >= 0; --o) {\n var i = this.tryEntries[o],\n a = i.completion;\n if (\"root\" === i.tryLoc) return handle(\"end\");\n if (i.tryLoc <= this.prev) {\n var c = n.call(i, \"catchLoc\"),\n u = n.call(i, \"finallyLoc\");\n if (c && u) {\n if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);\n if (this.prev < i.finallyLoc) return handle(i.finallyLoc);\n } else if (c) {\n if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);\n } else {\n if (!u) throw Error(\"try statement without catch or finally\");\n if (this.prev < i.finallyLoc) return handle(i.finallyLoc);\n }\n }\n }\n },\n abrupt: function abrupt(t, e) {\n for (var r = this.tryEntries.length - 1; r >= 0; --r) {\n var o = this.tryEntries[r];\n if (o.tryLoc <= this.prev && n.call(o, \"finallyLoc\") && this.prev < o.finallyLoc) {\n var i = o;\n break;\n }\n }\n i && (\"break\" === t || \"continue\" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);\n var a = i ? i.completion : {};\n return a.type = t, a.arg = e, i ? (this.method = \"next\", this.next = i.finallyLoc, y) : this.complete(a);\n },\n complete: function complete(t, e) {\n if (\"throw\" === t.type) throw t.arg;\n return \"break\" === t.type || \"continue\" === t.type ? this.next = t.arg : \"return\" === t.type ? (this.rval = this.arg = t.arg, this.method = \"return\", this.next = \"end\") : \"normal\" === t.type && e && (this.next = e), y;\n },\n finish: function finish(t) {\n for (var e = this.tryEntries.length - 1; e >= 0; --e) {\n var r = this.tryEntries[e];\n if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;\n }\n },\n \"catch\": function _catch(t) {\n for (var e = this.tryEntries.length - 1; e >= 0; --e) {\n var r = this.tryEntries[e];\n if (r.tryLoc === t) {\n var n = r.completion;\n if (\"throw\" === n.type) {\n var o = n.arg;\n resetTryEntry(r);\n }\n return o;\n }\n }\n throw Error(\"illegal catch attempt\");\n },\n delegateYield: function delegateYield(e, r, n) {\n return this.delegate = {\n iterator: values(e),\n resultName: r,\n nextLoc: n\n }, \"next\" === this.method && (this.arg = t), y;\n }\n }, e;\n}\nmodule.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n\n//# sourceURL=webpack://Undo/./node_modules/@babel/runtime/helpers/regeneratorRuntime.js?"); - -/***/ }), - -/***/ "./node_modules/@babel/runtime/helpers/typeof.js": -/*!*******************************************************!*\ - !*** ./node_modules/@babel/runtime/helpers/typeof.js ***! - \*******************************************************/ -/***/ ((module) => { - -eval("function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return (module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports), _typeof(o);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n\n//# sourceURL=webpack://Undo/./node_modules/@babel/runtime/helpers/typeof.js?"); - -/***/ }), - -/***/ "./node_modules/@babel/runtime/regenerator/index.js": -/*!**********************************************************!*\ - !*** ./node_modules/@babel/runtime/regenerator/index.js ***! - \**********************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -eval("// TODO(Babel 8): Remove this file.\n\nvar runtime = __webpack_require__(/*! ../helpers/regeneratorRuntime */ \"./node_modules/@babel/runtime/helpers/regeneratorRuntime.js\")();\nmodule.exports = runtime;\n\n// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n\n\n//# sourceURL=webpack://Undo/./node_modules/@babel/runtime/regenerator/index.js?"); - -/***/ }), - -/***/ "./node_modules/available-typed-arrays/index.js": -/*!******************************************************!*\ - !*** ./node_modules/available-typed-arrays/index.js ***! - \******************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar possibleNames = __webpack_require__(/*! possible-typed-array-names */ \"./node_modules/possible-typed-array-names/index.js\");\n\nvar g = typeof globalThis === 'undefined' ? __webpack_require__.g : globalThis;\n\n/** @type {import('.')} */\nmodule.exports = function availableTypedArrays() {\n\tvar /** @type {ReturnType} */ out = [];\n\tfor (var i = 0; i < possibleNames.length; i++) {\n\t\tif (typeof g[possibleNames[i]] === 'function') {\n\t\t\t// @ts-expect-error\n\t\t\tout[out.length] = possibleNames[i];\n\t\t}\n\t}\n\treturn out;\n};\n\n\n//# sourceURL=webpack://Undo/./node_modules/available-typed-arrays/index.js?"); - -/***/ }), - -/***/ "./node_modules/es-get-iterator/index.js": -/*!***********************************************!*\ - !*** ./node_modules/es-get-iterator/index.js ***! - \***********************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\n/* eslint global-require: 0 */\n// the code is structured this way so that bundlers can\n// alias out `has-symbols` to `() => true` or `() => false` if your target\n// environments' Symbol capabilities are known, and then use\n// dead code elimination on the rest of this module.\n//\n// Similarly, `isarray` can be aliased to `Array.isArray` if\n// available in all target environments.\n\nvar isArguments = __webpack_require__(/*! is-arguments */ \"./node_modules/is-arguments/index.js\");\nvar getStopIterationIterator = __webpack_require__(/*! stop-iteration-iterator */ \"./node_modules/stop-iteration-iterator/index.js\");\n\nif (__webpack_require__(/*! has-symbols */ \"./node_modules/has-symbols/index.js\")() || __webpack_require__(/*! has-symbols/shams */ \"./node_modules/has-symbols/shams.js\")()) {\n\tvar $iterator = Symbol.iterator;\n\t// Symbol is available natively or shammed\n\t// natively:\n\t// - Chrome >= 38\n\t// - Edge 12-14?, Edge >= 15 for sure\n\t// - FF >= 36\n\t// - Safari >= 9\n\t// - node >= 0.12\n\tmodule.exports = function getIterator(iterable) {\n\t\t// alternatively, `iterable[$iterator]?.()`\n\t\tif (iterable != null && typeof iterable[$iterator] !== 'undefined') {\n\t\t\treturn iterable[$iterator]();\n\t\t}\n\t\tif (isArguments(iterable)) {\n\t\t\t// arguments objects lack Symbol.iterator\n\t\t\t// - node 0.12\n\t\t\treturn Array.prototype[$iterator].call(iterable);\n\t\t}\n\t};\n} else {\n\t// Symbol is not available, native or shammed\n\tvar isArray = __webpack_require__(/*! isarray */ \"./node_modules/isarray/index.js\");\n\tvar isString = __webpack_require__(/*! is-string */ \"./node_modules/is-string/index.js\");\n\tvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"./node_modules/get-intrinsic/index.js\");\n\tvar $Map = GetIntrinsic('%Map%', true);\n\tvar $Set = GetIntrinsic('%Set%', true);\n\tvar callBound = __webpack_require__(/*! call-bind/callBound */ \"./node_modules/call-bind/callBound.js\");\n\tvar $arrayPush = callBound('Array.prototype.push');\n\tvar $charCodeAt = callBound('String.prototype.charCodeAt');\n\tvar $stringSlice = callBound('String.prototype.slice');\n\n\tvar advanceStringIndex = function advanceStringIndex(S, index) {\n\t\tvar length = S.length;\n\t\tif ((index + 1) >= length) {\n\t\t\treturn index + 1;\n\t\t}\n\n\t\tvar first = $charCodeAt(S, index);\n\t\tif (first < 0xD800 || first > 0xDBFF) {\n\t\t\treturn index + 1;\n\t\t}\n\n\t\tvar second = $charCodeAt(S, index + 1);\n\t\tif (second < 0xDC00 || second > 0xDFFF) {\n\t\t\treturn index + 1;\n\t\t}\n\n\t\treturn index + 2;\n\t};\n\n\tvar getArrayIterator = function getArrayIterator(arraylike) {\n\t\tvar i = 0;\n\t\treturn {\n\t\t\tnext: function next() {\n\t\t\t\tvar done = i >= arraylike.length;\n\t\t\t\tvar value;\n\t\t\t\tif (!done) {\n\t\t\t\t\tvalue = arraylike[i];\n\t\t\t\t\ti += 1;\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\tdone: done,\n\t\t\t\t\tvalue: value\n\t\t\t\t};\n\t\t\t}\n\t\t};\n\t};\n\n\tvar getNonCollectionIterator = function getNonCollectionIterator(iterable, noPrimordialCollections) {\n\t\tif (isArray(iterable) || isArguments(iterable)) {\n\t\t\treturn getArrayIterator(iterable);\n\t\t}\n\t\tif (isString(iterable)) {\n\t\t\tvar i = 0;\n\t\t\treturn {\n\t\t\t\tnext: function next() {\n\t\t\t\t\tvar nextIndex = advanceStringIndex(iterable, i);\n\t\t\t\t\tvar value = $stringSlice(iterable, i, nextIndex);\n\t\t\t\t\ti = nextIndex;\n\t\t\t\t\treturn {\n\t\t\t\t\t\tdone: nextIndex > iterable.length,\n\t\t\t\t\t\tvalue: value\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\n\t\t// es6-shim and es-shims' es-map use a string \"_es6-shim iterator_\" property on different iterables, such as MapIterator.\n\t\tif (noPrimordialCollections && typeof iterable['_es6-shim iterator_'] !== 'undefined') {\n\t\t\treturn iterable['_es6-shim iterator_']();\n\t\t}\n\t};\n\n\tif (!$Map && !$Set) {\n\t\t// the only language iterables are Array, String, arguments\n\t\t// - Safari <= 6.0\n\t\t// - Chrome < 38\n\t\t// - node < 0.12\n\t\t// - FF < 13\n\t\t// - IE < 11\n\t\t// - Edge < 11\n\n\t\tmodule.exports = function getIterator(iterable) {\n\t\t\tif (iterable != null) {\n\t\t\t\treturn getNonCollectionIterator(iterable, true);\n\t\t\t}\n\t\t};\n\t} else {\n\t\t// either Map or Set are available, but Symbol is not\n\t\t// - es6-shim on an ES5 browser\n\t\t// - Safari 6.2 (maybe 6.1?)\n\t\t// - FF v[13, 36)\n\t\t// - IE 11\n\t\t// - Edge 11\n\t\t// - Safari v[6, 9)\n\n\t\tvar isMap = __webpack_require__(/*! is-map */ \"./node_modules/is-map/index.js\");\n\t\tvar isSet = __webpack_require__(/*! is-set */ \"./node_modules/is-set/index.js\");\n\n\t\t// Firefox >= 27, IE 11, Safari 6.2 - 9, Edge 11, es6-shim in older envs, all have forEach\n\t\tvar $mapForEach = callBound('Map.prototype.forEach', true);\n\t\tvar $setForEach = callBound('Set.prototype.forEach', true);\n\t\tif (typeof process === 'undefined' || !process.versions || !process.versions.node) { // \"if is not node\"\n\n\t\t\t// Firefox 17 - 26 has `.iterator()`, whose iterator `.next()` either\n\t\t\t// returns a value, or throws a StopIteration object. These browsers\n\t\t\t// do not have any other mechanism for iteration.\n\t\t\tvar $mapIterator = callBound('Map.prototype.iterator', true);\n\t\t\tvar $setIterator = callBound('Set.prototype.iterator', true);\n\t\t}\n\t\t// Firefox 27-35, and some older es6-shim versions, use a string \"@@iterator\" property\n\t\t// this returns a proper iterator object, so we should use it instead of forEach.\n\t\t// newer es6-shim versions use a string \"_es6-shim iterator_\" property.\n\t\tvar $mapAtAtIterator = callBound('Map.prototype.@@iterator', true) || callBound('Map.prototype._es6-shim iterator_', true);\n\t\tvar $setAtAtIterator = callBound('Set.prototype.@@iterator', true) || callBound('Set.prototype._es6-shim iterator_', true);\n\n\t\tvar getCollectionIterator = function getCollectionIterator(iterable) {\n\t\t\tif (isMap(iterable)) {\n\t\t\t\tif ($mapIterator) {\n\t\t\t\t\treturn getStopIterationIterator($mapIterator(iterable));\n\t\t\t\t}\n\t\t\t\tif ($mapAtAtIterator) {\n\t\t\t\t\treturn $mapAtAtIterator(iterable);\n\t\t\t\t}\n\t\t\t\tif ($mapForEach) {\n\t\t\t\t\tvar entries = [];\n\t\t\t\t\t$mapForEach(iterable, function (v, k) {\n\t\t\t\t\t\t$arrayPush(entries, [k, v]);\n\t\t\t\t\t});\n\t\t\t\t\treturn getArrayIterator(entries);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (isSet(iterable)) {\n\t\t\t\tif ($setIterator) {\n\t\t\t\t\treturn getStopIterationIterator($setIterator(iterable));\n\t\t\t\t}\n\t\t\t\tif ($setAtAtIterator) {\n\t\t\t\t\treturn $setAtAtIterator(iterable);\n\t\t\t\t}\n\t\t\t\tif ($setForEach) {\n\t\t\t\t\tvar values = [];\n\t\t\t\t\t$setForEach(iterable, function (v) {\n\t\t\t\t\t\t$arrayPush(values, v);\n\t\t\t\t\t});\n\t\t\t\t\treturn getArrayIterator(values);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tmodule.exports = function getIterator(iterable) {\n\t\t\treturn getCollectionIterator(iterable) || getNonCollectionIterator(iterable);\n\t\t};\n\t}\n}\n\n\n//# sourceURL=webpack://Undo/./node_modules/es-get-iterator/index.js?"); - -/***/ }), - -/***/ "./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***! - \*********************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _arrayLikeToArray)\n/* harmony export */ });\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}\n\n//# sourceURL=webpack://Undo/./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js?"); - -/***/ }), - -/***/ "./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js": -/*!**********************************************************************!*\ - !*** ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js ***! - \**********************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _arrayWithoutHoles)\n/* harmony export */ });\n/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ \"./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js\");\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(arr);\n}\n\n//# sourceURL=webpack://Undo/./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js?"); - -/***/ }), - -/***/ "./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js ***! - \*********************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _asyncToGenerator)\n/* harmony export */ });\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nfunction _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}\n\n//# sourceURL=webpack://Undo/./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js?"); - -/***/ }), - -/***/ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js": -/*!*******************************************************************!*\ - !*** ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***! - \*******************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _classCallCheck)\n/* harmony export */ });\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\n//# sourceURL=webpack://Undo/./node_modules/@babel/runtime/helpers/esm/classCallCheck.js?"); - -/***/ }), - -/***/ "./node_modules/@babel/runtime/helpers/esm/createClass.js": -/*!****************************************************************!*\ - !*** ./node_modules/@babel/runtime/helpers/esm/createClass.js ***! - \****************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _createClass)\n/* harmony export */ });\n/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ \"./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js\");\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(descriptor.key), descriptor);\n }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\n\n//# sourceURL=webpack://Undo/./node_modules/@babel/runtime/helpers/esm/createClass.js?"); - -/***/ }), - -/***/ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js": -/*!*******************************************************************!*\ - !*** ./node_modules/@babel/runtime/helpers/esm/defineProperty.js ***! - \*******************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _defineProperty)\n/* harmony export */ });\n/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ \"./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js\");\n\nfunction _defineProperty(obj, key, value) {\n key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\n\n//# sourceURL=webpack://Undo/./node_modules/@babel/runtime/helpers/esm/defineProperty.js?"); - -/***/ }), - -/***/ "./node_modules/@babel/runtime/helpers/esm/iterableToArray.js": -/*!********************************************************************!*\ - !*** ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***! - \********************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _iterableToArray)\n/* harmony export */ });\nfunction _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\n\n//# sourceURL=webpack://Undo/./node_modules/@babel/runtime/helpers/esm/iterableToArray.js?"); - -/***/ }), - -/***/ "./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js": -/*!**********************************************************************!*\ - !*** ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js ***! - \**********************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _nonIterableSpread)\n/* harmony export */ });\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\n//# sourceURL=webpack://Undo/./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js?"); - -/***/ }), - -/***/ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js": -/*!**********************************************************************!*\ - !*** ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js ***! - \**********************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _toConsumableArray)\n/* harmony export */ });\n/* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithoutHoles.js */ \"./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js\");\n/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ \"./node_modules/@babel/runtime/helpers/esm/iterableToArray.js\");\n/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ \"./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js\");\n/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableSpread.js */ \"./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js\");\n\n\n\n\nfunction _toConsumableArray(arr) {\n return (0,_arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(arr) || (0,_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(arr) || (0,_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(arr) || (0,_nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])();\n}\n\n//# sourceURL=webpack://Undo/./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js?"); - -/***/ }), - -/***/ "./node_modules/@babel/runtime/helpers/esm/toPrimitive.js": -/*!****************************************************************!*\ - !*** ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***! - \****************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ toPrimitive)\n/* harmony export */ });\n/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ \"./node_modules/@babel/runtime/helpers/esm/typeof.js\");\n\nfunction toPrimitive(t, r) {\n if (\"object\" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\n\n//# sourceURL=webpack://Undo/./node_modules/@babel/runtime/helpers/esm/toPrimitive.js?"); - -/***/ }), - -/***/ "./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js": -/*!******************************************************************!*\ - !*** ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***! - \******************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ toPropertyKey)\n/* harmony export */ });\n/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ \"./node_modules/@babel/runtime/helpers/esm/typeof.js\");\n/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ \"./node_modules/@babel/runtime/helpers/esm/toPrimitive.js\");\n\n\nfunction toPropertyKey(t) {\n var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(t, \"string\");\n return \"symbol\" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(i) ? i : i + \"\";\n}\n\n//# sourceURL=webpack://Undo/./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js?"); - -/***/ }), - -/***/ "./node_modules/@babel/runtime/helpers/esm/typeof.js": -/*!***********************************************************!*\ - !*** ./node_modules/@babel/runtime/helpers/esm/typeof.js ***! - \***********************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _typeof)\n/* harmony export */ });\nfunction _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}\n\n//# sourceURL=webpack://Undo/./node_modules/@babel/runtime/helpers/esm/typeof.js?"); - -/***/ }), - -/***/ "./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***! - \*******************************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ _unsupportedIterableToArray)\n/* harmony export */ });\n/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ \"./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js\");\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(o, minLen);\n}\n\n//# sourceURL=webpack://Undo/./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ /* webpack/runtime/compat get default export */ -/******/ (() => { -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = (module) => { -/******/ var getter = module && module.__esModule ? -/******/ () => (module['default']) : -/******/ () => (module); -/******/ __webpack_require__.d(getter, { a: getter }); -/******/ return getter; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { -/******/ for(var key in definition) { -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); -/******/ } -/******/ } -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); -/******/ -/******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); -/******/ -/******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./src/index.js"); -/******/ __webpack_exports__ = __webpack_exports__["default"]; -/******/ -/******/ return __webpack_exports__; -/******/ })() -; -}); \ No newline at end of file +(function(br,Er){typeof exports=="object"&&typeof module<"u"?module.exports=Er():typeof define=="function"&&define.amd?define(Er):(br=typeof globalThis<"u"?globalThis:br||self,br.Undo=Er())})(this,function(){"use strict";var cp=Object.defineProperty;var vp=(br,Er,re)=>Er in br?cp(br,Er,{enumerable:!0,configurable:!0,writable:!0,value:re}):br[Er]=re;var Sr=(br,Er,re)=>vp(br,typeof Er!="symbol"?Er+"":Er,re);var br=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Er(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function re(r){if(r.__esModule)return r;var e=r.default;if(typeof e=="function"){var t=function a(){return this instanceof a?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(a){var n=Object.getOwnPropertyDescriptor(r,a);Object.defineProperty(t,a,n.get?n:{enumerable:!0,get:function(){return r[a]}})}),t}var _e,Po;function Oo(){if(Po)return _e;Po=1;var r=Object.prototype.toString;return _e=function(t){var a=r.call(t),n=a==="[object Arguments]";return n||(n=a!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&r.call(t.callee)==="[object Function]"),n},_e}var De,Io;function Ry(){if(Io)return De;Io=1;var r;if(!Object.keys){var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,a=Oo(),n=Object.prototype.propertyIsEnumerable,i=!n.call({toString:null},"toString"),o=n.call(function(){},"prototype"),y=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(E){var $=E.constructor;return $&&$.prototype===E},g={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if(typeof window>"u")return!1;for(var E in window)try{if(!g["$"+E]&&e.call(window,E)&&window[E]!==null&&typeof window[E]=="object")try{f(window[E])}catch{return!0}}catch{return!0}return!1}(),v=function(E){if(typeof window>"u"||!h)return f(E);try{return f(E)}catch{return!1}};r=function($){var j=$!==null&&typeof $=="object",I=t.call($)==="[object Function]",b=a($),U=j&&t.call($)==="[object String]",A=[];if(!j&&!I&&!b)throw new TypeError("Object.keys called on a non-object");var F=o&&I;if(U&&$.length>0&&!e.call($,0))for(var z=0;z<$.length;++z)A.push(String(z));if(b&&$.length>0)for(var K=0;K<$.length;++K)A.push(String(K));else for(var D in $)!(F&&D==="prototype")&&e.call($,D)&&A.push(String(D));if(i)for(var O=v($),Q=0;Q"u"||!I?r:I(Uint8Array),A={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":$&&I?I([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":e,"%eval%":eval,"%EvalError%":t,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":f,"%GeneratorFunction%":b,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":$&&I?I(I([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!$||!I?r:I(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":a,"%ReferenceError%":n,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!$||!I?r:I(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":$&&I?I(""[Symbol.iterator]()):r,"%Symbol%":$?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":E,"%TypedArray%":U,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":y,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet};if(I)try{null.error}catch(N){var F=I(I(N));A["%Error.prototype%"]=F}var z=function N(P){var R;if(P==="%AsyncFunction%")R=g("async function () {}");else if(P==="%GeneratorFunction%")R=g("function* () {}");else if(P==="%AsyncGeneratorFunction%")R=g("async function* () {}");else if(P==="%AsyncGenerator%"){var q=N("%AsyncGeneratorFunction%");q&&(R=q.prototype)}else if(P==="%AsyncIteratorPrototype%"){var M=N("%AsyncGenerator%");M&&I&&(R=I(M.prototype))}return A[P]=R,R},K={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},D=Pr(),O=Fr(),Q=D.call(Function.call,Array.prototype.concat),Y=D.call(Function.apply,Array.prototype.splice),er=D.call(Function.call,String.prototype.replace),G=D.call(Function.call,String.prototype.slice),H=D.call(Function.call,RegExp.prototype.exec),or=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,nr=function(P){var R=G(P,0,1),q=G(P,-1);if(R==="%"&&q!=="%")throw new i("invalid intrinsic syntax, expected closing `%`");if(q==="%"&&R!=="%")throw new i("invalid intrinsic syntax, expected opening `%`");var M=[];return er(P,or,function(J,X,u,x){M[M.length]=u?er(x,V,"$1"):X||J}),M},dr=function(P,R){var q=P,M;if(O(K,q)&&(M=K[q],q="%"+M[0]+"%"),O(A,q)){var J=A[q];if(J===b&&(J=z(q)),typeof J>"u"&&!R)throw new o("intrinsic "+P+" exists, but is not available. Please file an issue!");return{alias:M,name:q,value:J}}throw new i("intrinsic "+P+" does not exist!")};return et=function(P,R){if(typeof P!="string"||P.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof R!="boolean")throw new o('"allowMissing" argument must be a boolean');if(H(/^%?[^%]*%?$/,P)===null)throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var q=nr(P),M=q.length>0?q[0]:"",J=dr("%"+M+"%",R),X=J.name,u=J.value,x=!1,L=J.alias;L&&(M=L[0],Y(q,Q([0,1],L)));for(var k=1,C=!0;k=q.length){var l=h(u,w);C=!!l,C&&"get"in l&&!("originalValue"in l.get)?u=l.get:u=u[w]}else C=O(u,w),u=u[w];C&&!x&&(A[X]=u)}}return u},et}var tt,ko;function Re(){if(ko)return tt;ko=1;var r=Wr(),e=r("%Object.defineProperty%",!0)||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return tt=e,tt}var nt,Co;function Go(){if(Co)return nt;Co=1;var r=Wr(),e=r("%Object.getOwnPropertyDescriptor%",!0);if(e)try{e([],"length")}catch{e=null}return nt=e,nt}var ot,Wo;function at(){if(Wo)return ot;Wo=1;var r=Re(),e=wr(),t=gr(),a=Go();return ot=function(i,o,y){if(!i||typeof i!="object"&&typeof i!="function")throw new t("`obj` must be an object or a function`");if(typeof o!="string"&&typeof o!="symbol")throw new t("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new t("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new t("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new t("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new t("`loose`, if provided, must be a boolean");var f=arguments.length>3?arguments[3]:null,g=arguments.length>4?arguments[4]:null,h=arguments.length>5?arguments[5]:null,v=arguments.length>6?arguments[6]:!1,E=!!a&&a(i,o);if(r)r(i,o,{configurable:h===null&&E?E.configurable:!h,enumerable:f===null&&E?E.enumerable:!f,value:y,writable:g===null&&E?E.writable:!g});else if(v||!f&&!g&&!h)i[o]=y;else throw new e("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},ot}var it,Lo;function yt(){if(Lo)return it;Lo=1;var r=Re(),e=function(){return!!r};return e.hasArrayLengthDefineBug=function(){if(!r)return null;try{return r([],"length",{value:1}).length!==1}catch{return!0}},it=e,it}var ft,Ho;function Lr(){if(Ho)return ft;Ho=1;var r=Te(),e=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",t=Object.prototype.toString,a=Array.prototype.concat,n=at(),i=function(g){return typeof g=="function"&&t.call(g)==="[object Function]"},o=yt()(),y=function(g,h,v,E){if(h in g){if(E===!0){if(g[h]===v)return}else if(!i(E)||!E())return}o?n(g,h,v,!0):n(g,h,v)},f=function(g,h){var v=arguments.length>2?arguments[2]:{},E=r(h);e&&(E=a.call(E,Object.getOwnPropertySymbols(h)));for(var $=0;$4294967295||i(f)!==f)throw new n("`length` must be a positive 32-bit integer");var g=arguments.length>2&&!!arguments[2],h=!0,v=!0;if("length"in y&&a){var E=a(y,"length");E&&!E.configurable&&(h=!1),E&&!E.writable&&(v=!1)}return(h||v||!g)&&(t?e(y,"length",f,!0,!0):e(y,"length",f)),y},ut}var st,Jo;function By(){return Jo||(Jo=1,st=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),a=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var n=42;e[t]=n;for(t in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var i=Object.getOwnPropertySymbols(e);if(i.length!==1||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==n||o.enumerable!==!0)return!1}return!0}),st}var lt,zo;function Uy(){if(zo)return lt;zo=1;var r=typeof Symbol<"u"&&Symbol,e=By();return lt=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},lt}var ct,Ko;function qy(){if(Ko)return ct;Ko=1;var r,e=Rr(),t=qr(),a=xr(),n=jr(),i=wr(),o=gr(),y=Mr(),f=Function,g=function(N){try{return f('"use strict"; return ('+N+").constructor;")()}catch{}},h=Object.getOwnPropertyDescriptor;if(h)try{h({},"")}catch{h=null}var v=function(){throw new o},E=h?function(){try{return arguments.callee,v}catch{try{return h(arguments,"callee").get}catch{return v}}}():v,$=Uy()(),j=$e()(),I=Object.getPrototypeOf||(j?function(N){return N.__proto__}:null),b={},U=typeof Uint8Array>"u"||!I?r:I(Uint8Array),A={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":$&&I?I([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":e,"%eval%":eval,"%EvalError%":t,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":f,"%GeneratorFunction%":b,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":$&&I?I(I([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!$||!I?r:I(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":a,"%ReferenceError%":n,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!$||!I?r:I(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":$&&I?I(""[Symbol.iterator]()):r,"%Symbol%":$?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":E,"%TypedArray%":U,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":y,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet};if(I)try{null.error}catch(N){var F=I(I(N));A["%Error.prototype%"]=F}var z=function N(P){var R;if(P==="%AsyncFunction%")R=g("async function () {}");else if(P==="%GeneratorFunction%")R=g("function* () {}");else if(P==="%AsyncGeneratorFunction%")R=g("async function* () {}");else if(P==="%AsyncGenerator%"){var q=N("%AsyncGeneratorFunction%");q&&(R=q.prototype)}else if(P==="%AsyncIteratorPrototype%"){var M=N("%AsyncGenerator%");M&&I&&(R=I(M.prototype))}return A[P]=R,R},K={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},D=Pr(),O=Fr(),Q=D.call(Function.call,Array.prototype.concat),Y=D.call(Function.apply,Array.prototype.splice),er=D.call(Function.call,String.prototype.replace),G=D.call(Function.call,String.prototype.slice),H=D.call(Function.call,RegExp.prototype.exec),or=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,nr=function(P){var R=G(P,0,1),q=G(P,-1);if(R==="%"&&q!=="%")throw new i("invalid intrinsic syntax, expected closing `%`");if(q==="%"&&R!=="%")throw new i("invalid intrinsic syntax, expected opening `%`");var M=[];return er(P,or,function(J,X,u,x){M[M.length]=u?er(x,V,"$1"):X||J}),M},dr=function(P,R){var q=P,M;if(O(K,q)&&(M=K[q],q="%"+M[0]+"%"),O(A,q)){var J=A[q];if(J===b&&(J=z(q)),typeof J>"u"&&!R)throw new o("intrinsic "+P+" exists, but is not available. Please file an issue!");return{alias:M,name:q,value:J}}throw new i("intrinsic "+P+" does not exist!")};return ct=function(P,R){if(typeof P!="string"||P.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof R!="boolean")throw new o('"allowMissing" argument must be a boolean');if(H(/^%?[^%]*%?$/,P)===null)throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var q=nr(P),M=q.length>0?q[0]:"",J=dr("%"+M+"%",R),X=J.name,u=J.value,x=!1,L=J.alias;L&&(M=L[0],Y(q,Q([0,1],L)));for(var k=1,C=!0;k=q.length){var l=h(u,w);C=!!l,C&&"get"in l&&!("originalValue"in l.get)?u=l.get:u=u[w]}else C=O(u,w),u=u[w];C&&!x&&(A[X]=u)}}return u},ct}var vt,Yo;function xy(){if(Yo)return vt;Yo=1;var r=qy(),e=r("%Object.defineProperty%",!0)||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return vt=e,vt}var dt,Xo;function Hr(){return Xo||(Xo=1,dt=Function.prototype.call),dt}var gt,Qo;function Vr(){return Qo||(Qo=1,gt=Function.prototype.apply),gt}var ht,Zo;function jy(){return Zo||(Zo=1,ht=typeof Reflect<"u"&&Reflect&&Reflect.apply),ht}var mt,ra;function ea(){if(ra)return mt;ra=1;var r=Pr(),e=Vr(),t=Hr(),a=jy();return mt=a||r.call(t,e),mt}var St,ta;function ee(){if(ta)return St;ta=1;var r=Pr(),e=gr(),t=Hr(),a=ea();return St=function(i){if(i.length<1||typeof i[0]!="function")throw new e("a function is required");return a(r,t,i)},St}var At,na;function Fe(){if(na)return At;na=1;var r=Pr(),e=Vr(),t=ea();return At=function(){return t(r,e,arguments)},At}var oa;function My(){return oa||(oa=1,function(r){var e=de(),t=xy(),a=ee(),n=Fe();r.exports=function(o){var y=a(arguments),f=o.length-(arguments.length-1);return e(y,1+(f>0?f:0),!0)},t?t(r.exports,"apply",{value:n}):r.exports.apply=n}(pt)),pt.exports}var bt,aa;function ia(){return aa||(aa=1,bt=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),a=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var n=42;e[t]=n;for(var i in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var y=Object.getOwnPropertyDescriptor(e,t);if(y.value!==n||y.enumerable!==!0)return!1}return!0}),bt}var Pt,ya;function Jr(){return ya||(ya=1,Pt=Object),Pt}var Ot,fa;function ge(){return fa||(fa=1,Ot=Math.abs),Ot}var It,pa;function he(){return pa||(pa=1,It=Math.floor),It}var Et,ua;function me(){return ua||(ua=1,Et=Math.max),Et}var wt,sa;function Se(){return sa||(sa=1,wt=Math.min),wt}var $t,la;function Ae(){return la||(la=1,$t=Math.pow),$t}var Rt,ca;function be(){return ca||(ca=1,Rt=Math.round),Rt}var Ft,va;function _y(){return va||(va=1,Ft=Number.isNaN||function(e){return e!==e}),Ft}var Bt,da;function Pe(){if(da)return Bt;da=1;var r=_y();return Bt=function(t){return r(t)||t===0?t:t<0?-1:1},Bt}var Ut,ga;function Dy(){return ga||(ga=1,Ut=Object.getOwnPropertyDescriptor),Ut}var qt,ha;function Ny(){if(ha)return qt;ha=1;var r=Dy();if(r)try{r([],"length")}catch{r=null}return qt=r,qt}var xt,ma;function Ty(){if(ma)return xt;ma=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return xt=r,xt}var jt,Sa;function ky(){return Sa||(Sa=1,jt=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),a=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var n=42;e[t]=n;for(var i in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var y=Object.getOwnPropertyDescriptor(e,t);if(y.value!==n||y.enumerable!==!0)return!1}return!0}),jt}var Mt,Aa;function Cy(){if(Aa)return Mt;Aa=1;var r=typeof Symbol<"u"&&Symbol,e=ky();return Mt=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},Mt}var _t,ba;function te(){return ba||(ba=1,_t=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),_t}var Dt,Pa;function ne(){if(Pa)return Dt;Pa=1;var r=Jr();return Dt=r.getPrototypeOf||null,Dt}var Nt,Oa;function Gy(){return Oa||(Oa=1,Nt=Object.getOwnPropertyDescriptor),Nt}var Tt,Ia;function Wy(){if(Ia)return Tt;Ia=1;var r=Gy();if(r)try{r([],"length")}catch{r=null}return Tt=r,Tt}var kt,Ea;function Ly(){if(Ea)return kt;Ea=1;var r=ee(),e=Wy(),t;try{t=[].__proto__===Array.prototype}catch(o){if(!o||typeof o!="object"||!("code"in o)||o.code!=="ERR_PROTO_ACCESS")throw o}var a=!!t&&e&&e(Object.prototype,"__proto__"),n=Object,i=n.getPrototypeOf;return kt=a&&typeof a.get=="function"?r([a.get]):typeof i=="function"?function(y){return i(y==null?y:n(y))}:!1,kt}var Ct,wa;function oe(){if(wa)return Ct;wa=1;var r=te(),e=ne(),t=Ly();return Ct=r?function(n){return r(n)}:e?function(n){if(!n||typeof n!="object"&&typeof n!="function")throw new TypeError("getProto: not an object");return e(n)}:t?function(n){return t(n)}:null,Ct}var Gt,$a;function Hy(){if($a)return Gt;$a=1;var r,e=Jr(),t=Rr(),a=qr(),n=xr(),i=jr(),o=wr(),y=gr(),f=Mr(),g=ge(),h=he(),v=me(),E=Se(),$=Ae(),j=be(),I=Pe(),b=Function,U=function(w){try{return b('"use strict"; return ('+w+").constructor;")()}catch{}},A=Ny(),F=Ty(),z=function(){throw new y},K=A?function(){try{return arguments.callee,z}catch{try{return A(arguments,"callee").get}catch{return z}}}():z,D=Cy()(),O=oe(),Q=ne(),Y=te(),er=Vr(),G=Hr(),H={},or=typeof Uint8Array>"u"||!O?r:O(Uint8Array),V={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":D&&O?O([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":H,"%AsyncGenerator%":H,"%AsyncGeneratorFunction%":H,"%AsyncIteratorPrototype%":H,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":a,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":H,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":D&&O?O(O([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!D||!O?r:O(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":A,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":n,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!D||!O?r:O(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":D&&O?O(""[Symbol.iterator]()):r,"%Symbol%":D?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":K,"%TypedArray%":or,"%TypeError%":y,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":f,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":G,"%Function.prototype.apply%":er,"%Object.defineProperty%":F,"%Object.getPrototypeOf%":Q,"%Math.abs%":g,"%Math.floor%":h,"%Math.max%":v,"%Math.min%":E,"%Math.pow%":$,"%Math.round%":j,"%Math.sign%":I,"%Reflect.getPrototypeOf%":Y};if(O)try{null.error}catch(w){var nr=O(O(w));V["%Error.prototype%"]=nr}var dr=function w(s){var S;if(s==="%AsyncFunction%")S=U("async function () {}");else if(s==="%GeneratorFunction%")S=U("function* () {}");else if(s==="%AsyncGeneratorFunction%")S=U("async function* () {}");else if(s==="%AsyncGenerator%"){var l=w("%AsyncGeneratorFunction%");l&&(S=l.prototype)}else if(s==="%AsyncIteratorPrototype%"){var B=w("%AsyncGenerator%");B&&O&&(S=O(B.prototype))}return V[s]=S,S},N={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},P=Pr(),R=Fr(),q=P.call(G,Array.prototype.concat),M=P.call(er,Array.prototype.splice),J=P.call(G,String.prototype.replace),X=P.call(G,String.prototype.slice),u=P.call(G,RegExp.prototype.exec),x=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,L=/\\(\\)?/g,k=function(s){var S=X(s,0,1),l=X(s,-1);if(S==="%"&&l!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(l==="%"&&S!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var B=[];return J(s,x,function(T,Z,_,ar){B[B.length]=_?J(ar,L,"$1"):Z||T}),B},C=function(s,S){var l=s,B;if(R(N,l)&&(B=N[l],l="%"+B[0]+"%"),R(V,l)){var T=V[l];if(T===H&&(T=dr(l)),typeof T>"u"&&!S)throw new y("intrinsic "+s+" exists, but is not available. Please file an issue!");return{alias:B,name:l,value:T}}throw new o("intrinsic "+s+" does not exist!")};return Gt=function(s,S){if(typeof s!="string"||s.length===0)throw new y("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof S!="boolean")throw new y('"allowMissing" argument must be a boolean');if(u(/^%?[^%]*%?$/,s)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var l=k(s),B=l.length>0?l[0]:"",T=C("%"+B+"%",S),Z=T.name,_=T.value,ar=!1,pr=T.alias;pr&&(B=pr[0],M(l,q([0,1],pr)));for(var lr=1,ir=!0;lr=l.length){var sr=A(_,rr);ir=!!sr,ir&&"get"in sr&&!("originalValue"in sr.get)?_=sr.get:_=_[rr]}else ir=R(_,rr),_=_[rr];ir&&!ar&&(V[Z]=_)}}return _},Gt}var Wt,Ra;function _r(){if(Ra)return Wt;Ra=1;var r=Hy(),e=ee(),t=e([r("%String.prototype.indexOf%")]);return Wt=function(n,i){var o=r(n,!!i);return typeof o=="function"&&t(n,".prototype.")>-1?e([o]):o},Wt}var Lt,Fa;function Ba(){if(Fa)return Lt;Fa=1;var r=Te(),e=ia()(),t=_r(),a=Jr(),n=t("Array.prototype.push"),i=t("Object.prototype.propertyIsEnumerable"),o=e?a.getOwnPropertySymbols:null;return Lt=function(f,g){if(f==null)throw new TypeError("target must be an object");var h=a(f);if(arguments.length===1)return h;for(var v=1;v-1?e(o):o},Kt}var Yt={exports:{}},Na;function zy(){return Na||(Na=1,function(r){var e=de(),t=Re(),a=ee(),n=Fe();r.exports=function(o){var y=a(arguments),f=o.length-(arguments.length-1);return e(y,1+(f>0?f:0),!0)},t?t(r.exports,"apply",{value:n}):r.exports.apply=n}(Yt)),Yt.exports}var Xt,Ta;function Ky(){if(Ta)return Xt;Ta=1;var r=function(){return typeof(function(){}).name=="string"},e=Object.getOwnPropertyDescriptor;if(e)try{e([],"length")}catch{e=null}r.functionsHaveConfigurableNames=function(){if(!r()||!e)return!1;var n=e(function(){},"name");return!!n&&!!n.configurable};var t=Function.prototype.bind;return r.boundFunctionsHaveNames=function(){return r()&&typeof t=="function"&&(function(){}).bind().name!==""},Xt=r,Xt}var Qt,ka;function Yy(){if(ka)return Qt;ka=1;var r=at(),e=yt()(),t=Ky().functionsHaveConfigurableNames(),a=gr();return Qt=function(i,o){if(typeof i!="function")throw new a("`fn` is not a function");var y=arguments.length>2&&!!arguments[2];return(!y||t)&&(e?r(i,"name",o,!0,!0):r(i,"name",o)),i},Qt}var Zt,Ca;function Ga(){if(Ca)return Zt;Ca=1;var r=Yy(),e=gr(),t=Object;return Zt=r(function(){if(this==null||this!==t(this))throw new e("RegExp.prototype.flags getter called on non-object");var n="";return this.hasIndices&&(n+="d"),this.global&&(n+="g"),this.ignoreCase&&(n+="i"),this.multiline&&(n+="m"),this.dotAll&&(n+="s"),this.unicode&&(n+="u"),this.unicodeSets&&(n+="v"),this.sticky&&(n+="y"),n},"get flags",!0),Zt}var rn,Wa;function La(){if(Wa)return rn;Wa=1;var r=Ga(),e=Lr().supportsDescriptors,t=Object.getOwnPropertyDescriptor;return rn=function(){if(e&&/a/mig.flags==="gim"){var n=t(RegExp.prototype,"flags");if(n&&typeof n.get=="function"&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var i="",o={};if(Object.defineProperty(o,"hasIndices",{get:function(){i+="d"}}),Object.defineProperty(o,"sticky",{get:function(){i+="y"}}),n.get.call(o),i==="dy")return n.get}}return r},rn}var en,Ha;function Xy(){return Ha||(Ha=1,en=Object.getOwnPropertyDescriptor),en}var tn,Va;function Qy(){if(Va)return tn;Va=1;var r=Xy();if(r)try{r([],"length")}catch{r=null}return tn=r,tn}var nn,Ja;function Zy(){if(Ja)return nn;Ja=1;var r=Lr().supportsDescriptors,e=La(),t=Qy(),a=Object.defineProperty,n=Rr(),i=oe(),o=/a/;return nn=function(){if(!r||!i)throw new n("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var f=e(),g=i(o),h=t(g,"flags");return(!h||h.get!==f)&&a(g,"flags",{configurable:!0,enumerable:!1,get:f}),f},nn}var on,za;function rf(){if(za)return on;za=1;var r=Lr(),e=zy(),t=Ga(),a=La(),n=Zy(),i=e(a());return r(i,{getPolyfill:a,implementation:t,shim:n}),on=i,on}var an,Ka;function ef(){return Ka||(Ka=1,an=Object.getOwnPropertyDescriptor),an}var yn,Ya;function Xa(){if(Ya)return yn;Ya=1;var r=ef();if(r)try{r([],"length")}catch{r=null}return yn=r,yn}var fn,Qa;function tf(){if(Qa)return fn;Qa=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return fn=r,fn}var pn,Za;function nf(){if(Za)return pn;Za=1;var r=typeof Symbol<"u"&&Symbol,e=ia();return pn=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},pn}var un,ri;function ei(){if(ri)return un;ri=1;var r,e=Jr(),t=Rr(),a=qr(),n=xr(),i=jr(),o=wr(),y=gr(),f=Mr(),g=ge(),h=he(),v=me(),E=Se(),$=Ae(),j=be(),I=Pe(),b=Function,U=function(w){try{return b('"use strict"; return ('+w+").constructor;")()}catch{}},A=Xa(),F=tf(),z=function(){throw new y},K=A?function(){try{return arguments.callee,z}catch{try{return A(arguments,"callee").get}catch{return z}}}():z,D=nf()(),O=oe(),Q=ne(),Y=te(),er=Vr(),G=Hr(),H={},or=typeof Uint8Array>"u"||!O?r:O(Uint8Array),V={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":D&&O?O([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":H,"%AsyncGenerator%":H,"%AsyncGeneratorFunction%":H,"%AsyncIteratorPrototype%":H,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":a,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":H,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":D&&O?O(O([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!D||!O?r:O(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":A,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":n,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!D||!O?r:O(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":D&&O?O(""[Symbol.iterator]()):r,"%Symbol%":D?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":K,"%TypedArray%":or,"%TypeError%":y,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":f,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":G,"%Function.prototype.apply%":er,"%Object.defineProperty%":F,"%Object.getPrototypeOf%":Q,"%Math.abs%":g,"%Math.floor%":h,"%Math.max%":v,"%Math.min%":E,"%Math.pow%":$,"%Math.round%":j,"%Math.sign%":I,"%Reflect.getPrototypeOf%":Y};if(O)try{null.error}catch(w){var nr=O(O(w));V["%Error.prototype%"]=nr}var dr=function w(s){var S;if(s==="%AsyncFunction%")S=U("async function () {}");else if(s==="%GeneratorFunction%")S=U("function* () {}");else if(s==="%AsyncGeneratorFunction%")S=U("async function* () {}");else if(s==="%AsyncGenerator%"){var l=w("%AsyncGeneratorFunction%");l&&(S=l.prototype)}else if(s==="%AsyncIteratorPrototype%"){var B=w("%AsyncGenerator%");B&&O&&(S=O(B.prototype))}return V[s]=S,S},N={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},P=Pr(),R=Fr(),q=P.call(G,Array.prototype.concat),M=P.call(er,Array.prototype.splice),J=P.call(G,String.prototype.replace),X=P.call(G,String.prototype.slice),u=P.call(G,RegExp.prototype.exec),x=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,L=/\\(\\)?/g,k=function(s){var S=X(s,0,1),l=X(s,-1);if(S==="%"&&l!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(l==="%"&&S!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var B=[];return J(s,x,function(T,Z,_,ar){B[B.length]=_?J(ar,L,"$1"):Z||T}),B},C=function(s,S){var l=s,B;if(R(N,l)&&(B=N[l],l="%"+B[0]+"%"),R(V,l)){var T=V[l];if(T===H&&(T=dr(l)),typeof T>"u"&&!S)throw new y("intrinsic "+s+" exists, but is not available. Please file an issue!");return{alias:B,name:l,value:T}}throw new o("intrinsic "+s+" does not exist!")};return un=function(s,S){if(typeof s!="string"||s.length===0)throw new y("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof S!="boolean")throw new y('"allowMissing" argument must be a boolean');if(u(/^%?[^%]*%?$/,s)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var l=k(s),B=l.length>0?l[0]:"",T=C("%"+B+"%",S),Z=T.name,_=T.value,ar=!1,pr=T.alias;pr&&(B=pr[0],M(l,q([0,1],pr)));for(var lr=1,ir=!0;lr=l.length){var sr=A(_,rr);ir=!!sr,ir&&"get"in sr&&!("originalValue"in sr.get)?_=sr.get:_=_[rr]}else ir=R(_,rr),_=_[rr];ir&&!ar&&(V[Z]=_)}}return _},un}var Oe={exports:{}},sn,ti;function zr(){if(ti)return sn;ti=1;var r=ze();return sn=function(){return r()&&!!Symbol.toStringTag},sn}var ln,ni;function oi(){if(ni)return ln;ni=1;var r=zr()(),e=_r(),t=e("Object.prototype.toString"),a=function(y){return r&&y&&typeof y=="object"&&Symbol.toStringTag in y?!1:t(y)==="[object Arguments]"},n=function(y){return a(y)?!0:y!==null&&typeof y=="object"&&"length"in y&&typeof y.length=="number"&&y.length>=0&&t(y)!=="[object Array]"&&"callee"in y&&t(y.callee)==="[object Function]"},i=function(){return a(arguments)}();return a.isLegacyArguments=n,ln=i?a:n,ln}const ai=re(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var cn,ii;function Be(){if(ii)return cn;ii=1;var r=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,t=r&&e&&typeof e.get=="function"?e.get:null,a=r&&Map.prototype.forEach,n=typeof Set=="function"&&Set.prototype,i=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,o=n&&i&&typeof i.get=="function"?i.get:null,y=n&&Set.prototype.forEach,f=typeof WeakMap=="function"&&WeakMap.prototype,g=f?WeakMap.prototype.has:null,h=typeof WeakSet=="function"&&WeakSet.prototype,v=h?WeakSet.prototype.has:null,E=typeof WeakRef=="function"&&WeakRef.prototype,$=E?WeakRef.prototype.deref:null,j=Boolean.prototype.valueOf,I=Object.prototype.toString,b=Function.prototype.toString,U=String.prototype.match,A=String.prototype.slice,F=String.prototype.replace,z=String.prototype.toUpperCase,K=String.prototype.toLowerCase,D=RegExp.prototype.test,O=Array.prototype.concat,Q=Array.prototype.join,Y=Array.prototype.slice,er=Math.floor,G=typeof BigInt=="function"?BigInt.prototype.valueOf:null,H=Object.getOwnPropertySymbols,or=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,V=typeof Symbol=="function"&&typeof Symbol.iterator=="object",nr=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===V||!0)?Symbol.toStringTag:null,dr=Object.prototype.propertyIsEnumerable,N=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(p){return p.__proto__}:null);function P(p,c){if(p===1/0||p===-1/0||p!==p||p&&p>-1e3&&p<1e3||D.call(/e/,c))return c;var W=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof p=="number"){var fr=p<0?-er(-p):er(p);if(fr!==p){var ur=String(fr),tr=A.call(c,ur.length+1);return F.call(ur,W,"$&_")+"."+F.call(F.call(tr,/([0-9]{3})/g,"$&_"),/_$/,"")}}return F.call(c,W,"$&_")}var R=ai,q=R.custom,M=T(q)?q:null,J={__proto__:null,double:'"',single:"'"},X={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};cn=function p(c,W,fr,ur){var tr=W||{};if(ar(tr,"quoteStyle")&&!ar(J,tr.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ar(tr,"maxStringLength")&&(typeof tr.maxStringLength=="number"?tr.maxStringLength<0&&tr.maxStringLength!==1/0:tr.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Ar=ar(tr,"customInspect")?tr.customInspect:!0;if(typeof Ar!="boolean"&&Ar!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ar(tr,"indent")&&tr.indent!==null&&tr.indent!==" "&&!(parseInt(tr.indent,10)===tr.indent&&tr.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ar(tr,"numericSeparator")&&typeof tr.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var $r=tr.numericSeparator;if(typeof c>"u")return"undefined";if(c===null)return"null";if(typeof c=="boolean")return c?"true":"false";if(typeof c=="string")return Br(c,tr);if(typeof c=="number"){if(c===0)return 1/0/c>0?"0":"-0";var hr=String(c);return $r?P(c,hr):hr}if(typeof c=="bigint"){var mr=String(c)+"n";return $r?P(c,mr):mr}var pe=typeof tr.depth>"u"?5:tr.depth;if(typeof fr>"u"&&(fr=0),fr>=pe&&pe>0&&typeof c=="object")return k(c)?"[Array]":"[Object]";var Dr=d(tr,fr);if(typeof ur>"u")ur=[];else if(ir(ur,c)>=0)return"[Circular]";function Ir(kr,Me,lp){if(Me&&(ur=Y.call(ur),ur.push(Me)),lp){var $y={depth:tr.depth};return ar(tr,"quoteStyle")&&($y.quoteStyle=tr.quoteStyle),p(kr,$y,fr+1,ur)}return p(kr,tr,fr+1,ur)}if(typeof c=="function"&&!w(c)){var Gr=lr(c),ue=yr(c,Ir);return"[Function"+(Gr?": "+Gr:" (anonymous)")+"]"+(ue.length>0?" { "+Q.call(ue,", ")+" }":"")}if(T(c)){var Kr=V?F.call(String(c),/^(Symbol\(.*\))_[^)]*$/,"$1"):or.call(c);return typeof c=="object"&&!V?Ur(Kr):Kr}if(Or(c)){for(var Nr="<"+K.call(String(c.nodeName)),Yr=c.attributes||[],Xr=0;Xr",Nr}if(k(c)){if(c.length===0)return"[]";var se=yr(c,Ir);return Dr&&!fe(se)?"["+m(se,Dr)+"]":"[ "+Q.call(se,", ")+" ]"}if(s(c)){var Qr=yr(c,Ir);return!("cause"in Error.prototype)&&"cause"in c&&!dr.call(c,"cause")?"{ ["+String(c)+"] "+Q.call(O.call("[cause]: "+Ir(c.cause),Qr),", ")+" }":Qr.length===0?"["+String(c)+"]":"{ ["+String(c)+"] "+Q.call(Qr,", ")+" }"}if(typeof c=="object"&&Ar){if(M&&typeof c[M]=="function"&&R)return R(c,{depth:pe-fr});if(Ar!=="symbol"&&typeof c.inspect=="function")return c.inspect()}if(rr(c)){var Ee=[];return a&&a.call(c,function(kr,Me){Ee.push(Ir(Me,c,!0)+" => "+Ir(kr,c))}),ye("Map",t.call(c),Ee,Dr)}if(sr(c)){var le=[];return y&&y.call(c,function(kr){le.push(Ir(kr,c))}),ye("Set",o.call(c),le,Dr)}if(cr(c))return Ie("WeakMap");if(ie(c))return Ie("WeakSet");if(vr(c))return Ie("WeakRef");if(l(c))return Ur(Ir(Number(c)));if(Z(c))return Ur(Ir(G.call(c)));if(B(c))return Ur(j.call(c));if(S(c))return Ur(Ir(String(c)));if(typeof window<"u"&&c===window)return"{ [object Window] }";if(typeof globalThis<"u"&&c===globalThis||typeof br<"u"&&c===br)return"{ [object globalThis] }";if(!C(c)&&!w(c)){var ce=yr(c,Ir),je=N?N(c)===Object.prototype:c instanceof Object||c.constructor===Object,Zr=c instanceof Object?"":"null prototype",Tr=!je&&nr&&Object(c)===c&&nr in c?A.call(pr(c),8,-1):Zr?"Object":"",ve=je||typeof c.constructor!="function"?"":c.constructor.name?c.constructor.name+" ":"",we=ve+(Tr||Zr?"["+Q.call(O.call([],Tr||[],Zr||[]),": ")+"] ":"");return ce.length===0?we+"{}":Dr?we+"{"+m(ce,Dr)+"}":we+"{ "+Q.call(ce,", ")+" }"}return String(c)};function u(p,c,W){var fr=W.quoteStyle||c,ur=J[fr];return ur+p+ur}function x(p){return F.call(String(p),/"/g,""")}function L(p){return!nr||!(typeof p=="object"&&(nr in p||typeof p[nr]<"u"))}function k(p){return pr(p)==="[object Array]"&&L(p)}function C(p){return pr(p)==="[object Date]"&&L(p)}function w(p){return pr(p)==="[object RegExp]"&&L(p)}function s(p){return pr(p)==="[object Error]"&&L(p)}function S(p){return pr(p)==="[object String]"&&L(p)}function l(p){return pr(p)==="[object Number]"&&L(p)}function B(p){return pr(p)==="[object Boolean]"&&L(p)}function T(p){if(V)return p&&typeof p=="object"&&p instanceof Symbol;if(typeof p=="symbol")return!0;if(!p||typeof p!="object"||!or)return!1;try{return or.call(p),!0}catch{}return!1}function Z(p){if(!p||typeof p!="object"||!G)return!1;try{return G.call(p),!0}catch{}return!1}var _=Object.prototype.hasOwnProperty||function(p){return p in this};function ar(p,c){return _.call(p,c)}function pr(p){return I.call(p)}function lr(p){if(p.name)return p.name;var c=U.call(b.call(p),/^function\s*([\w$]+)/);return c?c[1]:null}function ir(p,c){if(p.indexOf)return p.indexOf(c);for(var W=0,fr=p.length;Wc.maxStringLength){var W=p.length-c.maxStringLength,fr="... "+W+" more character"+(W>1?"s":"");return Br(A.call(p,0,c.maxStringLength),c)+fr}var ur=X[c.quoteStyle||"single"];ur.lastIndex=0;var tr=F.call(F.call(p,ur,"\\$1"),/[\x00-\x1f]/g,Cr);return u(tr,"single",c)}function Cr(p){var c=p.charCodeAt(0),W={8:"b",9:"t",10:"n",12:"f",13:"r"}[c];return W?"\\"+W:"\\x"+(c<16?"0":"")+z.call(c.toString(16))}function Ur(p){return"Object("+p+")"}function Ie(p){return p+" { ? }"}function ye(p,c,W,fr){var ur=fr?m(W,fr):Q.call(W,", ");return p+" ("+c+") {"+ur+"}"}function fe(p){for(var c=0;c=0)return!1;return!0}function d(p,c){var W;if(p.indent===" ")W=" ";else if(typeof p.indent=="number"&&p.indent>0)W=Q.call(Array(p.indent+1)," ");else return null;return{base:W,prev:Q.call(Array(c+1),W)}}function m(p,c){if(p.length===0)return"";var W=` +`+c.prev+c.base;return W+Q.call(p,","+W)+` +`+c.prev}function yr(p,c){var W=k(p),fr=[];if(W){fr.length=p.length;for(var ur=0;ur"u"||!O?r:O(Uint8Array),V={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":D&&O?O([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":H,"%AsyncGenerator%":H,"%AsyncGeneratorFunction%":H,"%AsyncIteratorPrototype%":H,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":a,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":H,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":D&&O?O(O([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!D||!O?r:O(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":A,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":n,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!D||!O?r:O(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":D&&O?O(""[Symbol.iterator]()):r,"%Symbol%":D?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":K,"%TypedArray%":or,"%TypeError%":y,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":f,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":G,"%Function.prototype.apply%":er,"%Object.defineProperty%":F,"%Object.getPrototypeOf%":Q,"%Math.abs%":g,"%Math.floor%":h,"%Math.max%":v,"%Math.min%":E,"%Math.pow%":$,"%Math.round%":j,"%Math.sign%":I,"%Reflect.getPrototypeOf%":Y};if(O)try{null.error}catch(w){var nr=O(O(w));V["%Error.prototype%"]=nr}var dr=function w(s){var S;if(s==="%AsyncFunction%")S=U("async function () {}");else if(s==="%GeneratorFunction%")S=U("function* () {}");else if(s==="%AsyncGeneratorFunction%")S=U("async function* () {}");else if(s==="%AsyncGenerator%"){var l=w("%AsyncGeneratorFunction%");l&&(S=l.prototype)}else if(s==="%AsyncIteratorPrototype%"){var B=w("%AsyncGenerator%");B&&O&&(S=O(B.prototype))}return V[s]=S,S},N={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},P=Pr(),R=Fr(),q=P.call(G,Array.prototype.concat),M=P.call(er,Array.prototype.splice),J=P.call(G,String.prototype.replace),X=P.call(G,String.prototype.slice),u=P.call(G,RegExp.prototype.exec),x=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,L=/\\(\\)?/g,k=function(s){var S=X(s,0,1),l=X(s,-1);if(S==="%"&&l!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(l==="%"&&S!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var B=[];return J(s,x,function(T,Z,_,ar){B[B.length]=_?J(ar,L,"$1"):Z||T}),B},C=function(s,S){var l=s,B;if(R(N,l)&&(B=N[l],l="%"+B[0]+"%"),R(V,l)){var T=V[l];if(T===H&&(T=dr(l)),typeof T>"u"&&!S)throw new y("intrinsic "+s+" exists, but is not available. Please file an issue!");return{alias:B,name:l,value:T}}throw new o("intrinsic "+s+" does not exist!")};return An=function(s,S){if(typeof s!="string"||s.length===0)throw new y("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof S!="boolean")throw new y('"allowMissing" argument must be a boolean');if(u(/^%?[^%]*%?$/,s)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var l=k(s),B=l.length>0?l[0]:"",T=C("%"+B+"%",S),Z=T.name,_=T.value,ar=!1,pr=T.alias;pr&&(B=pr[0],M(l,q([0,1],pr)));for(var lr=1,ir=!0;lr=l.length){var sr=A(_,rr);ir=!!sr,ir&&"get"in sr&&!("originalValue"in sr.get)?_=sr.get:_=_[rr]}else ir=R(_,rr),_=_[rr];ir&&!ar&&(V[Z]=_)}}return _},An}var bn,vi;function di(){if(vi)return bn;vi=1;var r=sf(),e=_r(),t=Be(),a=gr(),n=r("%Map%",!0),i=e("Map.prototype.get",!0),o=e("Map.prototype.set",!0),y=e("Map.prototype.has",!0),f=e("Map.prototype.delete",!0),g=e("Map.prototype.size",!0);return bn=!!n&&function(){var v,E={assert:function($){if(!E.has($))throw new a("Side channel does not contain "+t($))},delete:function($){if(v){var j=f(v,$);return g(v)===0&&(v=void 0),j}return!1},get:function($){if(v)return i(v,$)},has:function($){return v?y(v,$):!1},set:function($,j){v||(v=new n),o(v,$,j)}};return E},bn}var Pn,gi;function lf(){return gi||(gi=1,Pn=Object.getOwnPropertyDescriptor),Pn}var On,hi;function cf(){if(hi)return On;hi=1;var r=lf();if(r)try{r([],"length")}catch{r=null}return On=r,On}var In,mi;function vf(){if(mi)return In;mi=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return In=r,In}var En,Si;function df(){return Si||(Si=1,En=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),a=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var n=42;e[t]=n;for(var i in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var y=Object.getOwnPropertyDescriptor(e,t);if(y.value!==n||y.enumerable!==!0)return!1}return!0}),En}var wn,Ai;function gf(){if(Ai)return wn;Ai=1;var r=typeof Symbol<"u"&&Symbol,e=df();return wn=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},wn}var $n,bi;function hf(){if(bi)return $n;bi=1;var r,e=Jr(),t=Rr(),a=qr(),n=xr(),i=jr(),o=wr(),y=gr(),f=Mr(),g=ge(),h=he(),v=me(),E=Se(),$=Ae(),j=be(),I=Pe(),b=Function,U=function(w){try{return b('"use strict"; return ('+w+").constructor;")()}catch{}},A=cf(),F=vf(),z=function(){throw new y},K=A?function(){try{return arguments.callee,z}catch{try{return A(arguments,"callee").get}catch{return z}}}():z,D=gf()(),O=oe(),Q=ne(),Y=te(),er=Vr(),G=Hr(),H={},or=typeof Uint8Array>"u"||!O?r:O(Uint8Array),V={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":D&&O?O([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":H,"%AsyncGenerator%":H,"%AsyncGeneratorFunction%":H,"%AsyncIteratorPrototype%":H,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":a,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":H,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":D&&O?O(O([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!D||!O?r:O(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":A,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":n,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!D||!O?r:O(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":D&&O?O(""[Symbol.iterator]()):r,"%Symbol%":D?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":K,"%TypedArray%":or,"%TypeError%":y,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":f,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":G,"%Function.prototype.apply%":er,"%Object.defineProperty%":F,"%Object.getPrototypeOf%":Q,"%Math.abs%":g,"%Math.floor%":h,"%Math.max%":v,"%Math.min%":E,"%Math.pow%":$,"%Math.round%":j,"%Math.sign%":I,"%Reflect.getPrototypeOf%":Y};if(O)try{null.error}catch(w){var nr=O(O(w));V["%Error.prototype%"]=nr}var dr=function w(s){var S;if(s==="%AsyncFunction%")S=U("async function () {}");else if(s==="%GeneratorFunction%")S=U("function* () {}");else if(s==="%AsyncGeneratorFunction%")S=U("async function* () {}");else if(s==="%AsyncGenerator%"){var l=w("%AsyncGeneratorFunction%");l&&(S=l.prototype)}else if(s==="%AsyncIteratorPrototype%"){var B=w("%AsyncGenerator%");B&&O&&(S=O(B.prototype))}return V[s]=S,S},N={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},P=Pr(),R=Fr(),q=P.call(G,Array.prototype.concat),M=P.call(er,Array.prototype.splice),J=P.call(G,String.prototype.replace),X=P.call(G,String.prototype.slice),u=P.call(G,RegExp.prototype.exec),x=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,L=/\\(\\)?/g,k=function(s){var S=X(s,0,1),l=X(s,-1);if(S==="%"&&l!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(l==="%"&&S!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var B=[];return J(s,x,function(T,Z,_,ar){B[B.length]=_?J(ar,L,"$1"):Z||T}),B},C=function(s,S){var l=s,B;if(R(N,l)&&(B=N[l],l="%"+B[0]+"%"),R(V,l)){var T=V[l];if(T===H&&(T=dr(l)),typeof T>"u"&&!S)throw new y("intrinsic "+s+" exists, but is not available. Please file an issue!");return{alias:B,name:l,value:T}}throw new o("intrinsic "+s+" does not exist!")};return $n=function(s,S){if(typeof s!="string"||s.length===0)throw new y("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof S!="boolean")throw new y('"allowMissing" argument must be a boolean');if(u(/^%?[^%]*%?$/,s)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var l=k(s),B=l.length>0?l[0]:"",T=C("%"+B+"%",S),Z=T.name,_=T.value,ar=!1,pr=T.alias;pr&&(B=pr[0],M(l,q([0,1],pr)));for(var lr=1,ir=!0;lr=l.length){var sr=A(_,rr);ir=!!sr,ir&&"get"in sr&&!("originalValue"in sr.get)?_=sr.get:_=_[rr]}else ir=R(_,rr),_=_[rr];ir&&!ar&&(V[Z]=_)}}return _},$n}var Rn,Pi;function mf(){if(Pi)return Rn;Pi=1;var r=hf(),e=_r(),t=Be(),a=di(),n=gr(),i=r("%WeakMap%",!0),o=e("WeakMap.prototype.get",!0),y=e("WeakMap.prototype.set",!0),f=e("WeakMap.prototype.has",!0),g=e("WeakMap.prototype.delete",!0);return Rn=i?function(){var v,E,$={assert:function(j){if(!$.has(j))throw new n("Side channel does not contain "+t(j))},delete:function(j){if(i&&j&&(typeof j=="object"||typeof j=="function")){if(v)return g(v,j)}else if(a&&E)return E.delete(j);return!1},get:function(j){return i&&j&&(typeof j=="object"||typeof j=="function")&&v?o(v,j):E&&E.get(j)},has:function(j){return i&&j&&(typeof j=="object"||typeof j=="function")&&v?f(v,j):!!E&&E.has(j)},set:function(j,I){i&&j&&(typeof j=="object"||typeof j=="function")?(v||(v=new i),y(v,j,I)):a&&(E||(E=a()),E.set(j,I))}};return $}:a,Rn}var Fn,Oi;function Sf(){if(Oi)return Fn;Oi=1;var r=gr(),e=Be(),t=of(),a=di(),n=mf(),i=n||a||t;return Fn=function(){var y,f={assert:function(g){if(!f.has(g))throw new r("Side channel does not contain "+e(g))},delete:function(g){return!!y&&y.delete(g)},get:function(g){return y&&y.get(g)},has:function(g){return!!y&&y.has(g)},set:function(g,h){y||(y=i()),y.set(g,h)}};return f},Fn}var Bn,Ii;function Af(){if(Ii)return Bn;Ii=1;var r=Fr(),e=Sf()(),t=gr(),a={assert:function(n,i){if(!n||typeof n!="object"&&typeof n!="function")throw new t("`O` is not an object");if(typeof i!="string")throw new t("`slot` must be a string");if(e.assert(n),!a.has(n,i))throw new t("`"+i+"` is not present on `O`")},get:function(n,i){if(!n||typeof n!="object"&&typeof n!="function")throw new t("`O` is not an object");if(typeof i!="string")throw new t("`slot` must be a string");var o=e.get(n);return o&&o["$"+i]},has:function(n,i){if(!n||typeof n!="object"&&typeof n!="function")throw new t("`O` is not an object");if(typeof i!="string")throw new t("`slot` must be a string");var o=e.get(n);return!!o&&r(o,"$"+i)},set:function(n,i,o){if(!n||typeof n!="object"&&typeof n!="function")throw new t("`O` is not an object");if(typeof i!="string")throw new t("`slot` must be a string");var y=e.get(n);y||(y={},e.set(n,y)),y["$"+i]=o}};return Object.freeze&&Object.freeze(a),Bn=a,Bn}var Un,Ei;function bf(){if(Ei)return Un;Ei=1;var r=Af(),e=wr(),t=typeof StopIteration=="object"?StopIteration:null;return Un=function(n){if(!t)throw new e("this environment lacks StopIteration");r.set(n,"[[Done]]",!1);var i={next:function(){var y=r.get(this,"[[Iterator]]"),f=!!r.get(y,"[[Done]]");try{return{done:f,value:f?void 0:y.next()}}catch(g){if(r.set(y,"[[Done]]",!0),g!==t)throw g;return{done:!0,value:void 0}}}};return r.set(i,"[[Iterator]]",n),i},Un}var qn,wi;function $i(){if(wi)return qn;wi=1;var r={}.toString;return qn=Array.isArray||function(e){return r.call(e)=="[object Array]"},qn}var xn,Ri;function Fi(){if(Ri)return xn;Ri=1;var r=String.prototype.valueOf,e=function(o){try{return r.call(o),!0}catch{return!1}},t=Object.prototype.toString,a="[object String]",n=zr()();return xn=function(o){return typeof o=="string"?!0:typeof o!="object"?!1:n?e(o):t.call(o)===a},xn}var jn,Bi;function Ui(){if(Bi)return jn;Bi=1;var r=typeof Map=="function"&&Map.prototype?Map:null,e=typeof Set=="function"&&Set.prototype?Set:null,t;r||(t=function(o){return!1});var a=r?Map.prototype.has:null,n=e?Set.prototype.has:null;return!t&&!a&&(t=function(o){return!1}),jn=t||function(o){if(!o||typeof o!="object")return!1;try{if(a.call(o),n)try{n.call(o)}catch{return!0}return o instanceof r}catch{}return!1},jn}var Mn,qi;function xi(){if(qi)return Mn;qi=1;var r=typeof Map=="function"&&Map.prototype?Map:null,e=typeof Set=="function"&&Set.prototype?Set:null,t;e||(t=function(o){return!1});var a=r?Map.prototype.has:null,n=e?Set.prototype.has:null;return!t&&!n&&(t=function(o){return!1}),Mn=t||function(o){if(!o||typeof o!="object")return!1;try{if(n.call(o),a)try{a.call(o)}catch{return!0}return o instanceof e}catch{}return!1},Mn}var ji;function Pf(){if(ji)return Oe.exports;ji=1;var r=oi(),e=bf();if(Ye()()||ze()()){var t=Symbol.iterator;Oe.exports=function(Y){if(Y!=null&&typeof Y[t]<"u")return Y[t]();if(r(Y))return Array.prototype[t].call(Y)}}else{var a=$i(),n=Fi(),i=Wr(),o=i("%Map%",!0),y=i("%Set%",!0),f=ae(),g=f("Array.prototype.push"),h=f("String.prototype.charCodeAt"),v=f("String.prototype.slice"),E=function(Y,er){var G=Y.length;if(er+1>=G)return er+1;var H=h(Y,er);if(H<55296||H>56319)return er+1;var or=h(Y,er+1);return or<56320||or>57343?er+1:er+2},$=function(Y){var er=0;return{next:function(){var H=er>=Y.length,or;return H||(or=Y[er],er+=1),{done:H,value:or}}}},j=function(Y,er){if(a(Y)||r(Y))return $(Y);if(n(Y)){var G=0;return{next:function(){var or=E(Y,G),V=v(Y,G,or);return G=or,{done:or>Y.length,value:V}}}}if(er&&typeof Y["_es6-shim iterator_"]<"u")return Y["_es6-shim iterator_"]()};if(!o&&!y)Oe.exports=function(Y){if(Y!=null)return j(Y,!0)};else{var I=Ui(),b=xi(),U=f("Map.prototype.forEach",!0),A=f("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var F=f("Map.prototype.iterator",!0),z=f("Set.prototype.iterator",!0);var K=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),D=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0),O=function(Y){if(I(Y)){if(F)return e(F(Y));if(K)return K(Y);if(U){var er=[];return U(Y,function(H,or){g(er,[or,H])}),$(er)}}if(b(Y)){if(z)return e(z(Y));if(D)return D(Y);if(A){var G=[];return A(Y,function(H){g(G,H)}),$(G)}}};Oe.exports=function(Y){return O(Y)||j(Y)}}}return Oe.exports}var _n,Mi;function Of(){if(Mi)return _n;Mi=1;var r=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,t=r&&e&&typeof e.get=="function"?e.get:null,a=r&&Map.prototype.forEach,n=typeof Set=="function"&&Set.prototype,i=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,o=n&&i&&typeof i.get=="function"?i.get:null,y=n&&Set.prototype.forEach,f=typeof WeakMap=="function"&&WeakMap.prototype,g=f?WeakMap.prototype.has:null,h=typeof WeakSet=="function"&&WeakSet.prototype,v=h?WeakSet.prototype.has:null,E=typeof WeakRef=="function"&&WeakRef.prototype,$=E?WeakRef.prototype.deref:null,j=Boolean.prototype.valueOf,I=Object.prototype.toString,b=Function.prototype.toString,U=String.prototype.match,A=String.prototype.slice,F=String.prototype.replace,z=String.prototype.toUpperCase,K=String.prototype.toLowerCase,D=RegExp.prototype.test,O=Array.prototype.concat,Q=Array.prototype.join,Y=Array.prototype.slice,er=Math.floor,G=typeof BigInt=="function"?BigInt.prototype.valueOf:null,H=Object.getOwnPropertySymbols,or=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,V=typeof Symbol=="function"&&typeof Symbol.iterator=="object",nr=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===V||!0)?Symbol.toStringTag:null,dr=Object.prototype.propertyIsEnumerable,N=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(d){return d.__proto__}:null);function P(d,m){if(d===1/0||d===-1/0||d!==d||d&&d>-1e3&&d<1e3||D.call(/e/,m))return m;var yr=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof d=="number"){var p=d<0?-er(-d):er(d);if(p!==d){var c=String(p),W=A.call(m,c.length+1);return F.call(c,yr,"$&_")+"."+F.call(F.call(W,/([0-9]{3})/g,"$&_"),/_$/,"")}}return F.call(m,yr,"$&_")}var R=ai,q=R.custom,M=S(q)?q:null;_n=function d(m,yr,p,c){var W=yr||{};if(T(W,"quoteStyle")&&W.quoteStyle!=="single"&&W.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(T(W,"maxStringLength")&&(typeof W.maxStringLength=="number"?W.maxStringLength<0&&W.maxStringLength!==1/0:W.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var fr=T(W,"customInspect")?W.customInspect:!0;if(typeof fr!="boolean"&&fr!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(T(W,"indent")&&W.indent!==null&&W.indent!==" "&&!(parseInt(W.indent,10)===W.indent&&W.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(T(W,"numericSeparator")&&typeof W.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var ur=W.numericSeparator;if(typeof m>"u")return"undefined";if(m===null)return"null";if(typeof m=="boolean")return m?"true":"false";if(typeof m=="string")return sr(m,W);if(typeof m=="number"){if(m===0)return 1/0/m>0?"0":"-0";var tr=String(m);return ur?P(m,tr):tr}if(typeof m=="bigint"){var Ar=String(m)+"n";return ur?P(m,Ar):Ar}var $r=typeof W.depth>"u"?5:W.depth;if(typeof p>"u"&&(p=0),p>=$r&&$r>0&&typeof m=="object")return u(m)?"[Array]":"[Object]";var hr=Ie(W,p);if(typeof c>"u")c=[];else if(ar(c,m)>=0)return"[Circular]";function mr(Tr,ve,we){if(ve&&(c=Y.call(c),c.push(ve)),we){var kr={depth:W.depth};return T(W,"quoteStyle")&&(kr.quoteStyle=W.quoteStyle),d(Tr,kr,p+1,c)}return d(Tr,W,p+1,c)}if(typeof m=="function"&&!L(m)){var pe=_(m),Dr=fe(m,mr);return"[Function"+(pe?": "+pe:" (anonymous)")+"]"+(Dr.length>0?" { "+Q.call(Dr,", ")+" }":"")}if(S(m)){var Ir=V?F.call(String(m),/^(Symbol\(.*\))_[^)]*$/,"$1"):or.call(m);return typeof m=="object"&&!V?Or(Ir):Ir}if(vr(m)){for(var Gr="<"+K.call(String(m.nodeName)),ue=m.attributes||[],Kr=0;Kr",Gr}if(u(m)){if(m.length===0)return"[]";var Nr=fe(m,mr);return hr&&!Ur(Nr)?"["+ye(Nr,hr)+"]":"[ "+Q.call(Nr,", ")+" ]"}if(k(m)){var Yr=fe(m,mr);return!("cause"in Error.prototype)&&"cause"in m&&!dr.call(m,"cause")?"{ ["+String(m)+"] "+Q.call(O.call("[cause]: "+mr(m.cause),Yr),", ")+" }":Yr.length===0?"["+String(m)+"]":"{ ["+String(m)+"] "+Q.call(Yr,", ")+" }"}if(typeof m=="object"&&fr){if(M&&typeof m[M]=="function"&&R)return R(m,{depth:$r-p});if(fr!=="symbol"&&typeof m.inspect=="function")return m.inspect()}if(pr(m)){var Xr=[];return a&&a.call(m,function(Tr,ve){Xr.push(mr(ve,m,!0)+" => "+mr(Tr,m))}),Cr("Map",t.call(m),Xr,hr)}if(rr(m)){var se=[];return y&&y.call(m,function(Tr){se.push(mr(Tr,m))}),Cr("Set",o.call(m),se,hr)}if(lr(m))return Br("WeakMap");if(cr(m))return Br("WeakSet");if(ir(m))return Br("WeakRef");if(w(m))return Or(mr(Number(m)));if(l(m))return Or(mr(G.call(m)));if(s(m))return Or(j.call(m));if(C(m))return Or(mr(String(m)));if(typeof window<"u"&&m===window)return"{ [object Window] }";if(m===br)return"{ [object globalThis] }";if(!x(m)&&!L(m)){var Qr=fe(m,mr),Ee=N?N(m)===Object.prototype:m instanceof Object||m.constructor===Object,le=m instanceof Object?"":"null prototype",ce=!Ee&&nr&&Object(m)===m&&nr in m?A.call(Z(m),8,-1):le?"Object":"",je=Ee||typeof m.constructor!="function"?"":m.constructor.name?m.constructor.name+" ":"",Zr=je+(ce||le?"["+Q.call(O.call([],ce||[],le||[]),": ")+"] ":"");return Qr.length===0?Zr+"{}":hr?Zr+"{"+ye(Qr,hr)+"}":Zr+"{ "+Q.call(Qr,", ")+" }"}return String(m)};function J(d,m,yr){var p=(yr.quoteStyle||m)==="double"?'"':"'";return p+d+p}function X(d){return F.call(String(d),/"/g,""")}function u(d){return Z(d)==="[object Array]"&&(!nr||!(typeof d=="object"&&nr in d))}function x(d){return Z(d)==="[object Date]"&&(!nr||!(typeof d=="object"&&nr in d))}function L(d){return Z(d)==="[object RegExp]"&&(!nr||!(typeof d=="object"&&nr in d))}function k(d){return Z(d)==="[object Error]"&&(!nr||!(typeof d=="object"&&nr in d))}function C(d){return Z(d)==="[object String]"&&(!nr||!(typeof d=="object"&&nr in d))}function w(d){return Z(d)==="[object Number]"&&(!nr||!(typeof d=="object"&&nr in d))}function s(d){return Z(d)==="[object Boolean]"&&(!nr||!(typeof d=="object"&&nr in d))}function S(d){if(V)return d&&typeof d=="object"&&d instanceof Symbol;if(typeof d=="symbol")return!0;if(!d||typeof d!="object"||!or)return!1;try{return or.call(d),!0}catch{}return!1}function l(d){if(!d||typeof d!="object"||!G)return!1;try{return G.call(d),!0}catch{}return!1}var B=Object.prototype.hasOwnProperty||function(d){return d in this};function T(d,m){return B.call(d,m)}function Z(d){return I.call(d)}function _(d){if(d.name)return d.name;var m=U.call(b.call(d),/^function\s*([\w$]+)/);return m?m[1]:null}function ar(d,m){if(d.indexOf)return d.indexOf(m);for(var yr=0,p=d.length;yrm.maxStringLength){var yr=d.length-m.maxStringLength,p="... "+yr+" more character"+(yr>1?"s":"");return sr(A.call(d,0,m.maxStringLength),m)+p}var c=F.call(F.call(d,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ie);return J(c,"single",m)}function ie(d){var m=d.charCodeAt(0),yr={8:"b",9:"t",10:"n",12:"f",13:"r"}[m];return yr?"\\"+yr:"\\x"+(m<16?"0":"")+z.call(m.toString(16))}function Or(d){return"Object("+d+")"}function Br(d){return d+" { ? }"}function Cr(d,m,yr,p){var c=p?ye(yr,p):Q.call(yr,", ");return d+" ("+m+") {"+c+"}"}function Ur(d){for(var m=0;m=0)return!1;return!0}function Ie(d,m){var yr;if(d.indent===" ")yr=" ";else if(typeof d.indent=="number"&&d.indent>0)yr=Q.call(Array(d.indent+1)," ");else return null;return{base:yr,prev:Q.call(Array(m+1),yr)}}function ye(d,m){if(d.length===0)return"";var yr=` +`+m.prev+m.base;return yr+Q.call(d,","+yr)+` +`+m.prev}function fe(d,m){var yr=u(d),p=[];if(yr){p.length=d.length;for(var c=0;c"u"||!I?r:I(Uint8Array),A={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":$&&I?I([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":e,"%eval%":eval,"%EvalError%":t,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":f,"%GeneratorFunction%":b,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":$&&I?I(I([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!$||!I?r:I(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":a,"%ReferenceError%":n,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!$||!I?r:I(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":$&&I?I(""[Symbol.iterator]()):r,"%Symbol%":$?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":E,"%TypedArray%":U,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":y,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet};if(I)try{null.error}catch(N){var F=I(I(N));A["%Error.prototype%"]=F}var z=function N(P){var R;if(P==="%AsyncFunction%")R=g("async function () {}");else if(P==="%GeneratorFunction%")R=g("function* () {}");else if(P==="%AsyncGeneratorFunction%")R=g("async function* () {}");else if(P==="%AsyncGenerator%"){var q=N("%AsyncGeneratorFunction%");q&&(R=q.prototype)}else if(P==="%AsyncIteratorPrototype%"){var M=N("%AsyncGenerator%");M&&I&&(R=I(M.prototype))}return A[P]=R,R},K={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},D=Pr(),O=Fr(),Q=D.call(Function.call,Array.prototype.concat),Y=D.call(Function.apply,Array.prototype.splice),er=D.call(Function.call,String.prototype.replace),G=D.call(Function.call,String.prototype.slice),H=D.call(Function.call,RegExp.prototype.exec),or=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,nr=function(P){var R=G(P,0,1),q=G(P,-1);if(R==="%"&&q!=="%")throw new i("invalid intrinsic syntax, expected closing `%`");if(q==="%"&&R!=="%")throw new i("invalid intrinsic syntax, expected opening `%`");var M=[];return er(P,or,function(J,X,u,x){M[M.length]=u?er(x,V,"$1"):X||J}),M},dr=function(P,R){var q=P,M;if(O(K,q)&&(M=K[q],q="%"+M[0]+"%"),O(A,q)){var J=A[q];if(J===b&&(J=z(q)),typeof J>"u"&&!R)throw new o("intrinsic "+P+" exists, but is not available. Please file an issue!");return{alias:M,name:q,value:J}}throw new i("intrinsic "+P+" does not exist!")};return Hn=function(P,R){if(typeof P!="string"||P.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof R!="boolean")throw new o('"allowMissing" argument must be a boolean');if(H(/^%?[^%]*%?$/,P)===null)throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var q=nr(P),M=q.length>0?q[0]:"",J=dr("%"+M+"%",R),X=J.name,u=J.value,x=!1,L=J.alias;L&&(M=L[0],Y(q,Q([0,1],L)));for(var k=1,C=!0;k=q.length){var l=h(u,w);C=!!l,C&&"get"in l&&!("originalValue"in l.get)?u=l.get:u=u[w]}else C=O(u,w),u=u[w];C&&!x&&(A[X]=u)}}return u},Hn}var Vn,Vi;function Bf(){if(Vi)return Vn;Vi=1;var r=Ff(),e=r("%Object.defineProperty%",!0)||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return Vn=e,Vn}var Ji;function Uf(){return Ji||(Ji=1,function(r){var e=de(),t=Bf(),a=ee(),n=Fe();r.exports=function(o){var y=a(arguments),f=o.length-(arguments.length-1);return e(y,1+(f>0?f:0),!0)},t?t(r.exports,"apply",{value:n}):r.exports.apply=n}(Gn)),Gn.exports}var Jn,zi;function Ki(){if(zi)return Jn;zi=1;var r=Uf(),e=_r(),t=ei(),a=t("%ArrayBuffer%",!0),n=e("ArrayBuffer.prototype.byteLength",!0),i=e("Object.prototype.toString"),o=!!a&&!n&&new a(0).slice,y=!!o&&r(o);return Jn=n||y?function(g){if(!g||typeof g!="object")return!1;try{return n?n(g):y(g,0),!0}catch{return!1}}:a?function(g){return i(g)==="[object ArrayBuffer]"}:function(g){return!1},Jn}var zn,Yi;function qf(){if(Yi)return zn;Yi=1;var r=_r(),e=r("Date.prototype.getDay"),t=function(y){try{return e(y),!0}catch{return!1}},a=r("Object.prototype.toString"),n="[object Date]",i=zr()();return zn=function(y){return typeof y!="object"||y===null?!1:i?t(y):a(y)===n},zn}var Kn,Xi;function xf(){if(Xi)return Kn;Xi=1;var r=ae(),e=zr()(),t,a,n,i;if(e){t=r("Object.prototype.hasOwnProperty"),a=r("RegExp.prototype.exec"),n={};var o=function(){throw n};i={toString:o,valueOf:o},typeof Symbol.toPrimitive=="symbol"&&(i[Symbol.toPrimitive]=o)}var y=r("Object.prototype.toString"),f=Object.getOwnPropertyDescriptor,g="[object RegExp]";return Kn=e?function(v){if(!v||typeof v!="object")return!1;var E=f(v,"lastIndex"),$=E&&t(E,"value");if(!$)return!1;try{a(v,i)}catch(j){return j===n}}:function(v){return!v||typeof v!="object"&&typeof v!="function"?!1:y(v)===g},Kn}var Yn,Qi;function jf(){if(Qi)return Yn;Qi=1;var r=ae(),e=r("SharedArrayBuffer.prototype.byteLength",!0);return Yn=e?function(a){if(!a||typeof a!="object")return!1;try{return e(a),!0}catch{return!1}}:function(a){return!1},Yn}var Xn,Zi;function Mf(){if(Zi)return Xn;Zi=1;var r=Number.prototype.toString,e=function(o){try{return r.call(o),!0}catch{return!1}},t=Object.prototype.toString,a="[object Number]",n=zr()();return Xn=function(o){return typeof o=="number"?!0:typeof o!="object"?!1:n?e(o):t.call(o)===a},Xn}var Qn,ry;function _f(){if(ry)return Qn;ry=1;var r=ae(),e=r("Boolean.prototype.toString"),t=r("Object.prototype.toString"),a=function(y){try{return e(y),!0}catch{return!1}},n="[object Boolean]",i=zr()();return Qn=function(y){return typeof y=="boolean"?!0:y===null||typeof y!="object"?!1:i&&Symbol.toStringTag in y?a(y):t(y)===n},Qn}var Ue={exports:{}},ey;function Df(){if(ey)return Ue.exports;ey=1;var r=Object.prototype.toString,e=Ye()();if(e){var t=Symbol.prototype.toString,a=/^Symbol\(.*\)$/,n=function(o){return typeof o.valueOf()!="symbol"?!1:a.test(t.call(o))};Ue.exports=function(o){if(typeof o=="symbol")return!0;if(r.call(o)!=="[object Symbol]")return!1;try{return n(o)}catch{return!1}}}else Ue.exports=function(o){return!1};return Ue.exports}var qe={exports:{}},Zn,ty;function Nf(){if(ty)return Zn;ty=1;var r=typeof BigInt<"u"&&BigInt;return Zn=function(){return typeof r=="function"&&typeof BigInt=="function"&&typeof r(42)=="bigint"&&typeof BigInt(42)=="bigint"},Zn}var ny;function Tf(){if(ny)return qe.exports;ny=1;var r=Nf()();if(r){var e=BigInt.prototype.valueOf,t=function(n){try{return e.call(n),!0}catch{}return!1};qe.exports=function(n){return n===null||typeof n>"u"||typeof n=="boolean"||typeof n=="string"||typeof n=="number"||typeof n=="symbol"||typeof n=="function"?!1:typeof n=="bigint"?!0:t(n)}}else qe.exports=function(n){return!1};return qe.exports}var ro,oy;function kf(){if(oy)return ro;oy=1;var r=Fi(),e=Mf(),t=_f(),a=Df(),n=Tf();return ro=function(o){if(o==null||typeof o!="object"&&typeof o!="function")return null;if(r(o))return"String";if(e(o))return"Number";if(t(o))return"Boolean";if(a(o))return"Symbol";if(n(o))return"BigInt"},ro}var eo,ay;function Cf(){if(ay)return eo;ay=1;var r=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,e=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,t;r||(t=function(o){return!1});var a=r?r.prototype.has:null,n=e?e.prototype.has:null;return!t&&!a&&(t=function(o){return!1}),eo=t||function(o){if(!o||typeof o!="object")return!1;try{if(a.call(o,a),n)try{n.call(o,n)}catch{return!0}return o instanceof r}catch{}return!1},eo}var xe={exports:{}},to,iy;function Gf(){return iy||(iy=1,to=Object.getOwnPropertyDescriptor),to}var no,yy;function Wf(){if(yy)return no;yy=1;var r=Gf();if(r)try{r([],"length")}catch{r=null}return no=r,no}var oo,fy;function Lf(){if(fy)return oo;fy=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return oo=r,oo}var ao,py;function Hf(){return py||(py=1,ao=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),a=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var n=42;e[t]=n;for(var i in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var y=Object.getOwnPropertyDescriptor(e,t);if(y.value!==n||y.enumerable!==!0)return!1}return!0}),ao}var io,uy;function Vf(){if(uy)return io;uy=1;var r=typeof Symbol<"u"&&Symbol,e=Hf();return io=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},io}var yo,sy;function Jf(){if(sy)return yo;sy=1;var r,e=Jr(),t=Rr(),a=qr(),n=xr(),i=jr(),o=wr(),y=gr(),f=Mr(),g=ge(),h=he(),v=me(),E=Se(),$=Ae(),j=be(),I=Pe(),b=Function,U=function(w){try{return b('"use strict"; return ('+w+").constructor;")()}catch{}},A=Wf(),F=Lf(),z=function(){throw new y},K=A?function(){try{return arguments.callee,z}catch{try{return A(arguments,"callee").get}catch{return z}}}():z,D=Vf()(),O=oe(),Q=ne(),Y=te(),er=Vr(),G=Hr(),H={},or=typeof Uint8Array>"u"||!O?r:O(Uint8Array),V={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":D&&O?O([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":H,"%AsyncGenerator%":H,"%AsyncGeneratorFunction%":H,"%AsyncIteratorPrototype%":H,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":a,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":H,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":D&&O?O(O([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!D||!O?r:O(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":A,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":n,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!D||!O?r:O(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":D&&O?O(""[Symbol.iterator]()):r,"%Symbol%":D?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":K,"%TypedArray%":or,"%TypeError%":y,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":f,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":G,"%Function.prototype.apply%":er,"%Object.defineProperty%":F,"%Object.getPrototypeOf%":Q,"%Math.abs%":g,"%Math.floor%":h,"%Math.max%":v,"%Math.min%":E,"%Math.pow%":$,"%Math.round%":j,"%Math.sign%":I,"%Reflect.getPrototypeOf%":Y};if(O)try{null.error}catch(w){var nr=O(O(w));V["%Error.prototype%"]=nr}var dr=function w(s){var S;if(s==="%AsyncFunction%")S=U("async function () {}");else if(s==="%GeneratorFunction%")S=U("function* () {}");else if(s==="%AsyncGeneratorFunction%")S=U("async function* () {}");else if(s==="%AsyncGenerator%"){var l=w("%AsyncGeneratorFunction%");l&&(S=l.prototype)}else if(s==="%AsyncIteratorPrototype%"){var B=w("%AsyncGenerator%");B&&O&&(S=O(B.prototype))}return V[s]=S,S},N={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},P=Pr(),R=Fr(),q=P.call(G,Array.prototype.concat),M=P.call(er,Array.prototype.splice),J=P.call(G,String.prototype.replace),X=P.call(G,String.prototype.slice),u=P.call(G,RegExp.prototype.exec),x=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,L=/\\(\\)?/g,k=function(s){var S=X(s,0,1),l=X(s,-1);if(S==="%"&&l!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(l==="%"&&S!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var B=[];return J(s,x,function(T,Z,_,ar){B[B.length]=_?J(ar,L,"$1"):Z||T}),B},C=function(s,S){var l=s,B;if(R(N,l)&&(B=N[l],l="%"+B[0]+"%"),R(V,l)){var T=V[l];if(T===H&&(T=dr(l)),typeof T>"u"&&!S)throw new y("intrinsic "+s+" exists, but is not available. Please file an issue!");return{alias:B,name:l,value:T}}throw new o("intrinsic "+s+" does not exist!")};return yo=function(s,S){if(typeof s!="string"||s.length===0)throw new y("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof S!="boolean")throw new y('"allowMissing" argument must be a boolean');if(u(/^%?[^%]*%?$/,s)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var l=k(s),B=l.length>0?l[0]:"",T=C("%"+B+"%",S),Z=T.name,_=T.value,ar=!1,pr=T.alias;pr&&(B=pr[0],M(l,q([0,1],pr)));for(var lr=1,ir=!0;lr=l.length){var sr=A(_,rr);ir=!!sr,ir&&"get"in sr&&!("originalValue"in sr.get)?_=sr.get:_=_[rr]}else ir=R(_,rr),_=_[rr];ir&&!ar&&(V[Z]=_)}}return _},yo}var ly;function zf(){if(ly)return xe.exports;ly=1;var r=Jf(),e=_r(),t=r("%WeakSet%",!0),a=e("WeakSet.prototype.has",!0);if(a){var n=e("WeakMap.prototype.has",!0);xe.exports=function(o){if(!o||typeof o!="object")return!1;try{if(a(o,a),n)try{n(o,n)}catch{return!0}return o instanceof t}catch{}return!1}}else xe.exports=function(o){return!1};return xe.exports}var fo,cy;function Kf(){if(cy)return fo;cy=1;var r=Ui(),e=xi(),t=Cf(),a=zf();return fo=function(i){if(i&&typeof i=="object"){if(r(i))return"Map";if(e(i))return"Set";if(t(i))return"WeakMap";if(a(i))return"WeakSet"}return!1},fo}var po,vy;function Yf(){if(vy)return po;vy=1;var r=Function.prototype.toString,e=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,t,a;if(typeof e=="function"&&typeof Object.defineProperty=="function")try{t=Object.defineProperty({},"length",{get:function(){throw a}}),a={},e(function(){throw 42},null,t)}catch(A){A!==a&&(e=null)}else e=null;var n=/^\s*class\b/,i=function(F){try{var z=r.call(F);return n.test(z)}catch{return!1}},o=function(F){try{return i(F)?!1:(r.call(F),!0)}catch{return!1}},y=Object.prototype.toString,f="[object Object]",g="[object Function]",h="[object GeneratorFunction]",v="[object HTMLAllCollection]",E="[object HTML document.all class]",$="[object HTMLCollection]",j=typeof Symbol=="function"&&!!Symbol.toStringTag,I=!(0 in[,]),b=function(){return!1};if(typeof document=="object"){var U=document.all;y.call(U)===y.call(document.all)&&(b=function(F){if((I||!F)&&(typeof F>"u"||typeof F=="object"))try{var z=y.call(F);return(z===v||z===E||z===$||z===f)&&F("")==null}catch{}return!1})}return po=e?function(F){if(b(F))return!0;if(!F||typeof F!="function"&&typeof F!="object")return!1;try{e(F,null,t)}catch(z){if(z!==a)return!1}return!i(F)&&o(F)}:function(F){if(b(F))return!0;if(!F||typeof F!="function"&&typeof F!="object")return!1;if(j)return o(F);if(i(F))return!1;var z=y.call(F);return z!==g&&z!==h&&!/^\[object HTML/.test(z)?!1:o(F)},po}var uo,dy;function Xf(){if(dy)return uo;dy=1;var r=Yf(),e=Object.prototype.toString,t=Object.prototype.hasOwnProperty,a=function(f,g,h){for(var v=0,E=f.length;v=3&&(v=h),e.call(f)==="[object Array]"?a(f,g,v):typeof f=="string"?n(f,g,v):i(f,g,v)};return uo=o,uo}var so,gy;function Qf(){return gy||(gy=1,so=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),so}var lo,hy;function Zf(){if(hy)return lo;hy=1;var r=Qf(),e=typeof globalThis>"u"?br:globalThis;return lo=function(){for(var a=[],n=0;n"u"||!I?r:I(Uint8Array),A={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":$&&I?I([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":e,"%eval%":eval,"%EvalError%":t,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":f,"%GeneratorFunction%":b,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":$&&I?I(I([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!$||!I?r:I(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":a,"%ReferenceError%":n,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!$||!I?r:I(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":$&&I?I(""[Symbol.iterator]()):r,"%Symbol%":$?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":E,"%TypedArray%":U,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":y,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet};if(I)try{null.error}catch(N){var F=I(I(N));A["%Error.prototype%"]=F}var z=function N(P){var R;if(P==="%AsyncFunction%")R=g("async function () {}");else if(P==="%GeneratorFunction%")R=g("function* () {}");else if(P==="%AsyncGeneratorFunction%")R=g("async function* () {}");else if(P==="%AsyncGenerator%"){var q=N("%AsyncGeneratorFunction%");q&&(R=q.prototype)}else if(P==="%AsyncIteratorPrototype%"){var M=N("%AsyncGenerator%");M&&I&&(R=I(M.prototype))}return A[P]=R,R},K={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},D=Pr(),O=Fr(),Q=D.call(Function.call,Array.prototype.concat),Y=D.call(Function.apply,Array.prototype.splice),er=D.call(Function.call,String.prototype.replace),G=D.call(Function.call,String.prototype.slice),H=D.call(Function.call,RegExp.prototype.exec),or=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,nr=function(P){var R=G(P,0,1),q=G(P,-1);if(R==="%"&&q!=="%")throw new i("invalid intrinsic syntax, expected closing `%`");if(q==="%"&&R!=="%")throw new i("invalid intrinsic syntax, expected opening `%`");var M=[];return er(P,or,function(J,X,u,x){M[M.length]=u?er(x,V,"$1"):X||J}),M},dr=function(P,R){var q=P,M;if(O(K,q)&&(M=K[q],q="%"+M[0]+"%"),O(A,q)){var J=A[q];if(J===b&&(J=z(q)),typeof J>"u"&&!R)throw new o("intrinsic "+P+" exists, but is not available. Please file an issue!");return{alias:M,name:q,value:J}}throw new i("intrinsic "+P+" does not exist!")};return ho=function(P,R){if(typeof P!="string"||P.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof R!="boolean")throw new o('"allowMissing" argument must be a boolean');if(H(/^%?[^%]*%?$/,P)===null)throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var q=nr(P),M=q.length>0?q[0]:"",J=dr("%"+M+"%",R),X=J.name,u=J.value,x=!1,L=J.alias;L&&(M=L[0],Y(q,Q([0,1],L)));for(var k=1,C=!0;k=q.length){var l=h(u,w);C=!!l,C&&"get"in l&&!("originalValue"in l.get)?u=l.get:u=u[w]}else C=O(u,w),u=u[w];C&&!x&&(A[X]=u)}}return u},ho}var mo,by;function np(){if(by)return mo;by=1;var r=tp(),e=r("%Object.defineProperty%",!0)||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return mo=e,mo}var Py;function op(){return Py||(Py=1,function(r){var e=de(),t=np(),a=ee(),n=Fe();r.exports=function(o){var y=a(arguments),f=o.length-(arguments.length-1);return e(y,1+(f>0?f:0),!0)},t?t(r.exports,"apply",{value:n}):r.exports.apply=n}(co)),co.exports}var So,Oy;function ap(){if(Oy)return So;Oy=1;var r=Xf(),e=Zf(),t=op(),a=_r(),n=Xa(),i=a("Object.prototype.toString"),o=zr()(),y=typeof globalThis>"u"?br:globalThis,f=e(),g=a("String.prototype.slice"),h=Object.getPrototypeOf,v=a("Array.prototype.indexOf",!0)||function(b,U){for(var A=0;A-1?U:U!=="Object"?!1:j(b)}return n?$(b):null},So}var Ao,Iy;function ip(){if(Iy)return Ao;Iy=1;var r=_r(),e=r("ArrayBuffer.prototype.byteLength",!0),t=Ki();return Ao=function(n){return t(n)?e?e(n):n.byteLength:NaN},Ao}var bo,Ey;function yp(){if(Ey)return bo;Ey=1;var r=Jy(),e=ae(),t=rf(),a=ei(),n=Pf(),i=If(),o=wf(),y=oi(),f=$i(),g=Ki(),h=qf(),v=xf(),E=jf(),$=Te(),j=kf(),I=Kf(),b=ap(),U=ip(),A=e("SharedArrayBuffer.prototype.byteLength",!0),F=e("Date.prototype.getTime"),z=Object.getPrototypeOf,K=e("Object.prototype.toString"),D=a("%Set%",!0),O=e("Map.prototype.has",!0),Q=e("Map.prototype.get",!0),Y=e("Map.prototype.size",!0),er=e("Set.prototype.add",!0),G=e("Set.prototype.delete",!0),H=e("Set.prototype.has",!0),or=e("Set.prototype.size",!0);function V(u,x,L,k){for(var C=n(u),w;(w=C.next())&&!w.done;)if(R(x,w.value,L,k))return G(u,w.value),!0;return!1}function nr(u){if(typeof u>"u")return null;if(typeof u!="object")return typeof u=="symbol"?!1:typeof u=="string"||typeof u=="number"?+u==+u:!0}function dr(u,x,L,k,C,w){var s=nr(L);if(s!=null)return s;var S=Q(x,s),l=r({},C,{strict:!1});return typeof S>"u"&&!O(x,s)||!R(k,S,l,w)?!1:!O(u,s)&&R(k,S,l,w)}function N(u,x,L){var k=nr(L);return k??(H(x,k)&&!H(u,k))}function P(u,x,L,k,C,w){for(var s=n(u),S,l;(S=s.next())&&!S.done;)if(l=S.value,R(L,l,C,w)&&R(k,Q(x,l),C,w))return G(u,l),!0;return!1}function R(u,x,L,k){var C=L||{};if(C.strict?o(u,x):u===x)return!0;var w=j(u),s=j(x);if(w!==s)return!1;if(!u||!x||typeof u!="object"&&typeof x!="object")return C.strict?o(u,x):u==x;var S=k.has(u),l=k.has(x),B;if(S&&l){if(k.get(u)===k.get(x))return!0}else B={};return S||k.set(u,B),l||k.set(x,B),X(u,x,C,k)}function q(u){return!u||typeof u!="object"||typeof u.length!="number"||typeof u.copy!="function"||typeof u.slice!="function"||u.length>0&&typeof u[0]!="number"?!1:!!(u.constructor&&u.constructor.isBuffer&&u.constructor.isBuffer(u))}function M(u,x,L,k){if(or(u)!==or(x))return!1;for(var C=n(u),w=n(x),s,S,l;(s=C.next())&&!s.done;)if(s.value&&typeof s.value=="object")l||(l=new D),er(l,s.value);else if(!H(x,s.value)){if(L.strict||!N(u,x,s.value))return!1;l||(l=new D),er(l,s.value)}if(l){for(;(S=w.next())&&!S.done;)if(S.value&&typeof S.value=="object"){if(!V(l,S.value,L.strict,k))return!1}else if(!L.strict&&!H(u,S.value)&&!V(l,S.value,L.strict,k))return!1;return or(l)===0}return!0}function J(u,x,L,k){if(Y(u)!==Y(x))return!1;for(var C=n(u),w=n(x),s,S,l,B,T,Z;(s=C.next())&&!s.done;)if(B=s.value[0],T=s.value[1],B&&typeof B=="object")l||(l=new D),er(l,B);else if(Z=Q(x,B),typeof Z>"u"&&!O(x,B)||!R(T,Z,L,k)){if(L.strict||!dr(u,x,B,T,L,k))return!1;l||(l=new D),er(l,B)}if(l){for(;(S=w.next())&&!S.done;)if(B=S.value[0],Z=S.value[1],B&&typeof B=="object"){if(!P(l,u,B,Z,L,k))return!1}else if(!L.strict&&(!u.has(B)||!R(Q(u,B),Z,L,k))&&!P(l,u,B,Z,r({},L,{strict:!1}),k))return!1;return or(l)===0}return!0}function X(u,x,L,k){var C,w;if(typeof u!=typeof x||u==null||x==null||K(u)!==K(x)||y(u)!==y(x))return!1;var s=f(u),S=f(x);if(s!==S)return!1;var l=u instanceof Error,B=x instanceof Error;if(l!==B||(l||B)&&(u.name!==x.name||u.message!==x.message))return!1;var T=v(u),Z=v(x);if(T!==Z||(T||Z)&&(u.source!==x.source||t(u)!==t(x)))return!1;var _=h(u),ar=h(x);if(_!==ar||(_||ar)&&F(u)!==F(x)||L.strict&&z&&z(u)!==z(x))return!1;var pr=b(u),lr=b(x);if(pr!==lr)return!1;if(pr||lr){if(u.length!==x.length)return!1;for(C=0;C=0;C--)if(Or[C]!=Br[C])return!1;for(C=Or.length-1;C>=0;C--)if(w=Or[C],!R(u[w],x[w],L,k))return!1;var Cr=I(u),Ur=I(x);return Cr!==Ur?!1:Cr==="Set"||Ur==="Set"?M(u,x,L,k):Cr==="Map"?J(u,x,L,k):!0}return bo=function(x,L,k){return R(x,L,k,i())},bo}var fp=yp();const pp=Er(fp);class wy{constructor(e){this.target=e,this.isContentEditable=e&&e.contentEditable}getPos(){if(document.activeElement!==this.target)return-1;if(this.isContentEditable==="true"){this.target.focus();let e=document.getSelection().getRangeAt(0),t=e.cloneRange();return t.selectNodeContents(this.target),t.setEnd(e.endContainer,e.endOffset),t.toString().length}return this.target.selectionStart}setPos(e){if(this.isContentEditable==="true"){if(e>=0){var t=window.getSelection(),a=this.createRange(this.target,{count:e});a&&(a.collapse(!1),t.removeAllRanges(),t.addRange(a))}}else this.target.setSelectionRange(e,e)}createRange(e,t,a){if(a||(a=document.createRange(),a.selectNode(e),a.setStart(e,0)),t.count===0)a.setEnd(e,t.count);else if(e&&t.count>0)if(e.nodeType===Node.TEXT_NODE)e.textContent.length{e()},this.debounceTimer)}setMutationObserver(){const e={childList:!0,attributes:!0,subtree:!0,characterData:!0,characterDataOldValue:!0},t=this.holder.querySelector(".codex-editor__redactor");this.observer=new MutationObserver(a=>{this.mutationHandler(a)}),this.observer.observe(t,e)}mutationHandler(e){let t=!1;e.forEach(a=>{switch(a.type){case"childList":a.target===this.holder?this.onDestroy():t=!0;break;case"characterData":t=!0;break;case"attributes":a.target instanceof Element&&!a.target.classList.contains("ce-block")&&!a.target.classList.contains("tc-toolbox")&&(t=!0);break}}),t&&this.mutationDebouncer()}debounce(e,t){let a;return(...n)=>{const i=this;window.clearTimeout(a),a=window.setTimeout(()=>e.apply(i,n),t)}}onDestroy(){const e=new CustomEvent("destroy");document.dispatchEvent(e),this.observer!=null&&this.observer.disconnect()}}class sp{constructor({editor:e,config:t={},onUpdate:a,maxLength:n}){Sr(this,"blocks");Sr(this,"caret");Sr(this,"config");Sr(this,"defaultBlock");Sr(this,"editor");Sr(this,"holder");Sr(this,"initialItem");Sr(this,"maxLength");Sr(this,"onUpdate");Sr(this,"position",0);Sr(this,"readOnly");Sr(this,"shouldSaveHistory");Sr(this,"stack",[]);const i={maxLength:30,onUpdate(){},config:{debounceTimer:200,shortcuts:{undo:["CMD+Z"],redo:["CMD+Y","CMD+SHIFT+Z"]}}},o=e,{blocks:y,caret:f}=o,{configuration:g}=o,{holder:h,defaultBlock:v}=g,E=i.config.shortcuts,{shortcuts:$}=t,j={...E,...$},I=Array.isArray(j.undo)?j.undo:[j.undo],b=Array.isArray(j.redo)?j.redo:[j.redo],U=i.config.debounceTimer,{debounceTimer:A=U}=t;this.holder=typeof h=="string"?document.getElementById(h):h,this.editor=o,this.defaultBlock=v,this.blocks=y,this.caret=f,this.shouldSaveHistory=!0,this.readOnly=g.readOnly,this.maxLength=n||i.maxLength,this.onUpdate=a||i.onUpdate,this.config={debounceTimer:A,shortcuts:{undo:I,redo:b}},this.holder&&new up(()=>this.registerChange(),this.holder,this.config.debounceTimer).setMutationObserver(),this.setEventListeners(),this.initialItem=null,this.clear()}static get isReadOnlySupported(){return!0}truncate(e,t){for(;e.length>t;)e.shift()}initialize(e){const t="blocks"in e?e.blocks:e,n={index:t.length-1,state:t};this.stack[0]=n,this.initialItem=n}clear(){this.stack=this.initialItem?[this.initialItem]:[{index:0,state:[{type:this.defaultBlock,data:{}}]}],this.position=0,this.onUpdate()}setReadOnly(){var t;const e=(t=this.holder)==null?void 0:t.querySelector(".ce-toolbox");this.readOnly=!e}registerChange(){this.setReadOnly(),this.readOnly||(this.editor&&this.editor.save&&this.shouldSaveHistory&&this.editor.save().then(e=>{this.editorDidUpdate(e.blocks)&&this.save(e.blocks)}),this.shouldSaveHistory=!0)}editorDidUpdate(e){const{state:t}=this.stack[this.position];return e.length?e.length!==t.length?!0:JSON.stringify(t)!==JSON.stringify(e):!1}save(e){this.position>=this.maxLength&&this.truncate(this.stack,this.maxLength),this.position=Math.min(this.position,this.stack.length-1),this.stack=this.stack.slice(0,this.position+1);const t=this.blocks.getCurrentBlockIndex(),a=this.blocks.getBlocksCount();let n=t;e[t]||(n-=a-e.length);const i=e[n]&&(e[n].type==="paragraph"||e[n].type==="header")?this.getCaretIndex(t):null;this.stack.push({index:n,state:e,caretIndex:i}),this.position+=1,this.onUpdate()}getCaretIndex(e){var a;const t=(a=this.holder)==null?void 0:a.getElementsByClassName("ce-block__content");return t?new wy(t[e].firstChild).getPos():null}async undo(){if(this.canUndo()){const{state:e}=this.stack[this.position];this.position-=1,this.shouldSaveHistory=!1;const{caretIndex:t,index:a,state:n}=this.stack[this.position];await this.switchState(n,e),this.onUpdate(),this.blocks.getBlockByIndex(a)&&(t?this.setCaretIndex(a,t):this.caret.setToBlock(a,"end"))}}setCaretIndex(e,t){var n;const a=(n=this.holder)==null?void 0:n.getElementsByClassName("ce-block__content");if(t&&t!==-1&&a){const i=new wy(a[e].firstChild);setTimeout(()=>i.setPos(t),50)}else this.caret.setToBlock(e,"end")}insertBlock(e,t){this.blocks.insert(e[t].type,e[t].data,{},t,!0)}async updateModifiedBlock(e,t){const a=e[t];return a.id&&this.editor.blocks.getById(a.id)?this.blocks.update(a.id,a.data):this.blocks.render({blocks:e})}async redo(){if(this.canRedo()){this.position+=1,this.shouldSaveHistory=!1;const{caretIndex:e,index:t,state:a}=this.stack[this.position],{state:n}=this.stack[this.position-1];await this.switchState(a,n),this.onUpdate(),this.blocks.getBlockByIndex(t)&&(e?this.setCaretIndex(t,e):this.caret.setToBlock(t,"end"))}}async switchState(e,t){t.reduce((n,i,o)=>e.find(y=>y.id===i.id)?n:[...n,o],[]).sort((n,i)=>i-n).forEach(n=>this.blocks.delete(n)),e.reduce((n,i,o)=>t.find(y=>y.id===i.id)?n:[...n,o],[]).forEach(n=>this.insertBlock(e,n));const a=e.reduce((n,i,o)=>{const y=t.findIndex(f=>f.id===i.id);return y>-1&&!pp(i,t[y])?[...n,o]:n},[]);await Promise.all(a.map(async n=>await this.updateModifiedBlock(e,n)))}canUndo(){return!this.readOnly&&this.position>0}canRedo(){return!this.readOnly&&this.positiont[i]),n=a.includes("shiftKey")&&e.length===2?e[e.length-1].toUpperCase():e[e.length-1].toLowerCase();return a.push(n),a}setEventListeners(){const{holder:e}=this,{shortcuts:t}=this.config,{redo:a,undo:n}=t,i=n.map(b=>b.replace(/ /g,"").split("+")),o=a.map(b=>b.replace(/ /g,"").split("+")),y=i.map(b=>this.parseKeys(b)),f=o.map(b=>this.parseKeys(b)),g=(b,U)=>U.length===2&&b[U[0]]&&b.key.toLowerCase()===U[1],h=(b,U)=>U.length===3&&b[U[0]]&&b[U[1]]&&b.key.toLowerCase()===U[2],v=(b,U)=>U.reduce((A,F)=>A||g(b,F),!1),E=(b,U)=>U.reduce((A,F)=>A||h(b,F),!1),$=(b,U,A)=>!!(v(b,U)&&!E(b,A)||E(b,U)),j=b=>{$(b,y,f)&&(b.preventDefault(),this.undo())},I=b=>{$(b,f,y)&&(b.preventDefault(),this.redo())};if(e){const b=()=>{e.removeEventListener("keydown",j),e.removeEventListener("keydown",I)};e.addEventListener("keydown",j),e.addEventListener("keydown",I),e.addEventListener("destroy",b)}}}return sp}); diff --git a/dist/index.d.ts b/dist/index.d.ts new file mode 100644 index 0000000..3435d2f --- /dev/null +++ b/dist/index.d.ts @@ -0,0 +1,5 @@ +import { default as Undo } from './undo'; +export { type UndoConfig, type UndoConstructor, type UndoSettings, } from './undo'; +export * from './observer'; +export * from './types'; +export default Undo; diff --git a/dist/observer.d.ts b/dist/observer.d.ts new file mode 100644 index 0000000..cc77700 --- /dev/null +++ b/dist/observer.d.ts @@ -0,0 +1,37 @@ +/** + * @typedef {Object} Observer + * @description Custom MutationObserver to detect changes in the editor. + * @property {String} holder — Editor.js holder id. + * @property {Object} observer - MutationObserver object that detects changes in the editor. + * @property {Number} debounceTimer - Delay time for the debouncer. + * @property {Function} mutationDebouncer - Debouncer to delay the changes registration. + */ +export default class Observer { + private debounceTimer; + private holder; + private mutationDebouncer; + private observer; + /** + * Creates a new instance of the Observer object. + * @param {Function} registerChange - Function that register a change in the history stack. + * @param {String} holder - Editor.js holder id. + * @param {Number} debounceTimer Delay time for the debouncer. + */ + constructor(registerChange: () => void, holder: Element, debounceTimer: number); + /** + * Sets a mutation observer to catch every change in the editor. + */ + setMutationObserver(): void; + /** + * Handles the mutations and checks if a new mutation has been produced. + * @param {Object} mutationList The registered mutations + */ + mutationHandler(mutationList: MutationRecord[]): void; + /** + * Delays invoking a function until after wait millis have elapsed. + * @param {Function} callback The function to be delayed. + * @param {Number} wait The deplay time in millis. + */ + debounce(callback: (...args: unknown[]) => void, wait: number): (...args: unknown[]) => void; + onDestroy(): void; +} diff --git a/dist/types.d.ts b/dist/types.d.ts new file mode 100644 index 0000000..0b9dbb6 --- /dev/null +++ b/dist/types.d.ts @@ -0,0 +1,4 @@ +import { default as EditorJS, EditorConfig } from '@editorjs/editorjs'; +export interface EditorJsReady extends EditorJS { + configuration: EditorConfig; +} diff --git a/dist/undo.d.ts b/dist/undo.d.ts new file mode 100644 index 0000000..a5ad1f7 --- /dev/null +++ b/dist/undo.d.ts @@ -0,0 +1,165 @@ +import { default as EditorJS, OutputBlockData, OutputData } from '@editorjs/editorjs'; +import { EditorJsReady } from './types'; +import { Blocks, Caret } from '@editorjs/editorjs/types/api'; +export type UndoConfig = { + debounceTimer: number; + shortcuts: { + redo: string[]; + undo: string[]; + }; +}; +export type UndoSettings = { + debounceTimer?: number; + shortcuts?: { + redo?: string[] | string; + undo?: string[] | string; + }; +}; +interface StackStated { + caretIndex?: null | number; + index: number; + state: OutputBlockData[]; +} +export type UndoConstructor = { + config?: UndoSettings; + maxLength?: number; + onUpdate?: () => void; + editor: EditorJS; +}; +/** + * Undo/Redo feature for Editor.js. + * + * @typedef {Object} Undo + * @description Feature's initialization class. + * @property {Object} editor — Editor.js instance object. + * @property {Number} maxLength - Max amount of changes recorded by the history stack. + * @property {Function} onUpdate - Callback called when the user performs an undo or redo action. + * @property {Boolean} shouldSaveHistory - Defines if the plugin should save the change in the stack + * @property {Object} initialItem - Initial data object. + */ +export default class Undo { + blocks: Blocks; + caret: Caret; + config: UndoConfig; + defaultBlock: string | undefined; + editor: EditorJsReady; + holder: HTMLElement | null | undefined; + initialItem: null | StackStated; + maxLength: number; + onUpdate: () => void; + position: number; + readOnly: boolean | undefined; + shouldSaveHistory: boolean; + stack: StackStated[]; + /** + * @param options — Plugin custom options. + */ + constructor({ editor, config, onUpdate, maxLength }: UndoConstructor); + /** + * Notify core that read-only mode is suppoorted + * + * @returns {boolean} + */ + static get isReadOnlySupported(): boolean; + /** + * Truncates the history stack when it excedes the limit of changes. + * + * @param {Object} stack Changes history stack. + * @param {Number} stack Limit of changes recorded by the history stack. + */ + truncate(stack: StackStated[], limit: number): void; + /** + * Initializes the stack when the user provides initial data. + * + * @param {Object} initialItem Initial data provided by the user. + */ + initialize(initialItem: OutputData | OutputBlockData[]): void; + /** + * Clears the history stack. + */ + clear(): void; + /** + * Returns true if readOnly was toggled to true + * @returns {Node} Indirectly shows if readOnly was set to true or false + */ + setReadOnly(): void; + /** + * Registers the data returned by API's save method into the history stack. + */ + registerChange(): void; + /** + * Checks if the saved data has to be added to the history stack. + * + * @param {Object} newData New data to be saved in the history stack. + * @returns {Boolean} + */ + editorDidUpdate(newData: OutputBlockData[]): boolean; + /** + * Adds the saved data in the history stack and updates current position. + */ + save(state: OutputBlockData[]): void; + /** + * Gets the caret position. + * @param {Number} index is the block index + * @returns The caret position + */ + getCaretIndex(index: number): number | null; + /** + * Decreases the current position and update the respective block in the editor. + */ + undo(): Promise; + /** + * Sets the caret position. + * @param {Number} index is the block index + * @param {Number} caretIndex is the caret position + * @param {Array} state is the current state according to this.position. + */ + setCaretIndex(index: number, caretIndex: number): void; + /** + * Inserts new block + * @param {Array} state is the current state according to this.position. + * @param {Number} index is the block index + */ + insertBlock(state: OutputBlockData[], index: number): void; + /** + * Updates the passed block or render the state when the content was copied. + * @param {Array} state is the current state according to this.position. + * @param {Number} index is the block index. + */ + updateModifiedBlock(state: OutputBlockData[], index: number): Promise; + /** + * Increases the current position and update the respective block in the editor. + */ + redo(): Promise; + switchState(stateToApply: OutputBlockData[], stateToCompare: OutputBlockData[]): Promise; + /** + * Checks if the history stack can perform an undo action. + * + * @returns {Boolean} + */ + canUndo(): boolean; + /** + * Checks if the history stack can perform a redo action. + * + * @returns {Boolean} + */ + canRedo(): boolean; + /** + * Returns the number of changes recorded in the history stack. + * + * @returns {Number} + */ + count(): number; + /** + * Parses the keys passed in the shortcut property to accept CMD,ALT and SHIFT + * + * @param {Array} keys are the keys passed in shortcuts in config + * @returns {Array} + */ + parseKeys(keys: string[]): string[]; + /** + * Sets events listeners to allow keyboard actions support + */ + setEventListeners(): void; +} +export {}; diff --git a/index.html b/index.html new file mode 100644 index 0000000..565c7b1 --- /dev/null +++ b/index.html @@ -0,0 +1,31 @@ + + + + + + EditorJs + + +

EditorJs examples

+ + +
+ + + + + + + + + + diff --git a/package.json b/package.json index 40adf12..3977530 100644 --- a/package.json +++ b/package.json @@ -9,15 +9,26 @@ ], "description": "Undo tool for Editor.js", "main": "./dist/bundle.js", + "module": "./dist/bundle.es.js", + "types": "./dist/index.d.ts", + "exports": { + ".": { + "import": "./dist/bundle.es.js", + "require": "./dist/bundle.js" + } + }, "scripts": { - "build": "webpack --mode production", - "build:dev": "webpack --mode development --watch", - "test": "jest" + "build": "vite build --mode production", + "build:dev": "vite", + "test": "vitest run", + "test:watch": "vitest", + "server": "yarn http-server ./" }, "repository": { "type": "git", "url": "git+https://github.com/kommitters/editorjs-undo" }, + "type": "module", "author": { "name": "kommitters Open Source", "email": "oss@kommit.co" @@ -28,28 +39,29 @@ }, "homepage": "https://github.com/kommitters/editorjs-undo#readme", "devDependencies": { - "@babel/core": "^7.10.2", - "@babel/plugin-transform-runtime": "^7.23.2", - "@babel/preset-env": "^7.10.2", - "babel-jest": "^29.0.0", - "babel-loader": "^9.0.0", + "@editorjs/editorjs": "^2.30.8", + "@testing-library/dom": "^10.4.0", + "@testing-library/jest-dom": "^6.6.3", + "@types/deep-equal": "^1.0.4", + "@vitest/coverage-v8": "^3.0.9", "eslint": "^8.3.0", "eslint-config-airbnb-base": "^15.0.0", + "eslint-config-prettier": "^10.0.2", "eslint-plugin-import": "^2.25.2", "eslint-plugin-jest": "^27.0.0", + "http-server": "^14.1.1", "jest": "^29.0.0", "jest-environment-jsdom": "^29.3.1", - "webpack": "^5.52.0", - "webpack-cli": "^5.0.0" - }, - "jest": { - "transform": { - "^.+\\.jsx?$": "babel-jest", - "^.+\\.(css|svg)$": "/test/config/assetsTransform.js" - } + "typescript": "^5.7.3", + "vite": "^6.1.0", + "vite-plugin-dts": "^4.5.0", + "vitest": "^3.0.5" }, "dependencies": { "deep-equal": "^2.2.3", "vanilla-caret-js": "^1.0.1" + }, + "peerDependencies": { + "@editorjs/editorjs": ">=2" } } diff --git a/renovate.json b/renovate.json index 986bd3d..f265be1 100644 --- a/renovate.json +++ b/renovate.json @@ -1,6 +1,4 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:semverAllMonthly" - ] + "extends": ["config:semverAllMonthly"] } diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..7462c49 --- /dev/null +++ b/src/index.ts @@ -0,0 +1,10 @@ +import Undo from './undo'; +export { + type UndoConfig, + type UndoConstructor, + type UndoSettings, +} from './undo'; +export * from './observer'; +export * from './types'; + +export default Undo; diff --git a/src/observer.js b/src/observer.ts similarity index 73% rename from src/observer.js rename to src/observer.ts index 7784b6e..1ca3a4c 100644 --- a/src/observer.js +++ b/src/observer.ts @@ -7,13 +7,22 @@ * @property {Function} mutationDebouncer - Debouncer to delay the changes registration. */ export default class Observer { + private debounceTimer: number; + private holder: Element; + private mutationDebouncer: (...args: any[]) => void; + private observer: MutationObserver | null; + /** * Creates a new instance of the Observer object. * @param {Function} registerChange - Function that register a change in the history stack. * @param {String} holder - Editor.js holder id. * @param {Number} debounceTimer Delay time for the debouncer. */ - constructor(registerChange, holder, debounceTimer) { + constructor( + registerChange: () => void, + holder: Element, + debounceTimer: number + ) { this.holder = holder; this.observer = null; this.debounceTimer = debounceTimer; @@ -39,14 +48,14 @@ export default class Observer { this.observer = new MutationObserver((mutationList) => { this.mutationHandler(mutationList); }); - this.observer.observe(target, observerOptions); + this.observer.observe(target as Node, observerOptions); } /** * Handles the mutations and checks if a new mutation has been produced. * @param {Object} mutationList The registered mutations */ - mutationHandler(mutationList) { + mutationHandler(mutationList: MutationRecord[]) { let contentMutated = false; mutationList.forEach((mutation) => { @@ -62,7 +71,11 @@ export default class Observer { contentMutated = true; break; case 'attributes': - if (!mutation.target.classList.contains('ce-block') && !mutation.target.classList.contains('tc-toolbox')) { + if ( + mutation.target instanceof Element && + !mutation.target.classList.contains('ce-block') && + !mutation.target.classList.contains('tc-toolbox') + ) { contentMutated = true; } break; @@ -79,18 +92,18 @@ export default class Observer { * @param {Function} callback The function to be delayed. * @param {Number} wait The deplay time in millis. */ - debounce(callback, wait) { - let timeout; - return (...args) => { + debounce(callback: (...args: unknown[]) => void, wait: number) { + let timeout: number; + return (...args: unknown[]) => { const context = this; - clearTimeout(timeout); - timeout = setTimeout(() => callback.apply(context, args), wait); + window.clearTimeout(timeout); + timeout = window.setTimeout(() => callback.apply(context, args), wait); }; } onDestroy() { const destroyEvent = new CustomEvent('destroy'); document.dispatchEvent(destroyEvent); - this.observer.disconnect(); + this.observer != null && this.observer.disconnect(); } } diff --git a/src/types.ts b/src/types.ts new file mode 100644 index 0000000..34dda14 --- /dev/null +++ b/src/types.ts @@ -0,0 +1,6 @@ +import EditorJS from '@editorjs/editorjs'; +import { EditorConfig } from '@editorjs/editorjs'; + +export interface EditorJsReady extends EditorJS { + configuration: EditorConfig; +} diff --git a/src/index.js b/src/undo.ts similarity index 58% rename from src/index.js rename to src/undo.ts index a21d279..b1b2b2b 100644 --- a/src/index.js +++ b/src/undo.ts @@ -1,6 +1,42 @@ -import deepEqual from "deep-equal"; -import VanillaCaret from "vanilla-caret-js"; -import Observer from "./observer"; +import type EditorJS from '@editorjs/editorjs'; + +import deepEqual from 'deep-equal'; +import VanillaCaret from 'vanilla-caret-js'; +import Observer from './observer'; +import { EditorJsReady } from './types'; +import { OutputBlockData, OutputData } from '@editorjs/editorjs'; +import { Blocks, Caret } from '@editorjs/editorjs/types/api'; + +export type UndoConfig = { + debounceTimer: number; + shortcuts: { + redo: string[]; + undo: string[]; + }; +}; + +export type UndoSettings = { + debounceTimer?: number; + shortcuts?: { + redo?: string[] | string; + undo?: string[] | string; + }; +}; + +type SpecialKeys = 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'; + +interface StackStated { + caretIndex?: null | number; + index: number; + state: OutputBlockData[]; +} + +export type UndoConstructor = { + config?: UndoSettings; + maxLength?: number; + onUpdate?: () => void; + editor: EditorJS; +}; /** * Undo/Redo feature for Editor.js. @@ -14,36 +50,56 @@ import Observer from "./observer"; * @property {Object} initialItem - Initial data object. */ export default class Undo { + blocks: Blocks; + caret: Caret; + config: UndoConfig; + defaultBlock: string | undefined; + editor: EditorJsReady; + holder: HTMLElement | null | undefined; + initialItem: null | StackStated; + maxLength: number; + onUpdate: () => void; + position = 0; + readOnly: boolean | undefined; + shouldSaveHistory: boolean; + stack: StackStated[] = []; + /** * @param options — Plugin custom options. */ - constructor({ editor, config = {}, onUpdate, maxLength }) { + constructor({ editor, config = {}, onUpdate, maxLength }: UndoConstructor) { const defaultOptions = { maxLength: 30, onUpdate() {}, config: { debounceTimer: 200, shortcuts: { - undo: ["CMD+Z"], - redo: ["CMD+Y", "CMD+SHIFT+Z"], + undo: ['CMD+Z'], + redo: ['CMD+Y', 'CMD+SHIFT+Z'], }, }, }; - const { blocks, caret } = editor; - const { configuration } = editor; + const editorTyped = editor as EditorJsReady; + + const { blocks, caret } = editorTyped; + const { configuration } = editorTyped; const { holder, defaultBlock } = configuration; const defaultShortcuts = defaultOptions.config.shortcuts; const { shortcuts: configShortcuts } = config; const shortcuts = { ...defaultShortcuts, ...configShortcuts }; - const undo = Array.isArray(shortcuts.undo) ? shortcuts.undo : [shortcuts.undo]; - const redo = Array.isArray(shortcuts.redo) ? shortcuts.redo : [shortcuts.redo]; + const undo = Array.isArray(shortcuts.undo) + ? (shortcuts.undo as string[]) + : [shortcuts.undo]; + const redo = Array.isArray(shortcuts.redo) + ? (shortcuts.redo as string[]) + : [shortcuts.redo]; const defaultDebounceTimer = defaultOptions.config.debounceTimer; const { debounceTimer = defaultDebounceTimer } = config; this.holder = - typeof holder === "string" ? document.getElementById(holder) : holder; - this.editor = editor; + typeof holder === 'string' ? document.getElementById(holder) : holder; + this.editor = editorTyped; this.defaultBlock = defaultBlock; this.blocks = blocks; this.caret = caret; @@ -51,14 +107,17 @@ export default class Undo { this.readOnly = configuration.readOnly; this.maxLength = maxLength || defaultOptions.maxLength; this.onUpdate = onUpdate || defaultOptions.onUpdate; + this.config = { debounceTimer, shortcuts: { undo, redo } }; - const observer = new Observer( - () => this.registerChange(), - this.holder, - this.config.debounceTimer - ); - observer.setMutationObserver(); + if (this.holder) { + const observer = new Observer( + () => this.registerChange(), + this.holder, + this.config.debounceTimer + ); + observer.setMutationObserver(); + } this.setEventListeners(); this.initialItem = null; @@ -80,7 +139,7 @@ export default class Undo { * @param {Object} stack Changes history stack. * @param {Number} stack Limit of changes recorded by the history stack. */ - truncate(stack, limit) { + truncate(stack: StackStated[], limit: number) { while (stack.length > limit) { stack.shift(); } @@ -91,9 +150,9 @@ export default class Undo { * * @param {Object} initialItem Initial data provided by the user. */ - initialize(initialItem) { + initialize(initialItem: OutputData | OutputBlockData[]) { const initialData = - "blocks" in initialItem ? initialItem.blocks : initialItem; + 'blocks' in initialItem ? initialItem.blocks : initialItem; const initialIndex = initialData.length - 1; const firstElement = { index: initialIndex, state: initialData }; this.stack[0] = firstElement; @@ -106,7 +165,12 @@ export default class Undo { clear() { this.stack = this.initialItem ? [this.initialItem] - : [{ index: 0, state: [{ type: this.defaultBlock, data: {} }] }]; + : [ + { + index: 0, + state: [{ type: this.defaultBlock, data: {} }], + } as StackStated, + ]; this.position = 0; this.onUpdate(); } @@ -116,7 +180,7 @@ export default class Undo { * @returns {Node} Indirectly shows if readOnly was set to true or false */ setReadOnly() { - const toolbox = this.holder.querySelector(".ce-toolbox"); + const toolbox = this.holder?.querySelector('.ce-toolbox'); this.readOnly = !toolbox; } @@ -142,7 +206,7 @@ export default class Undo { * @param {Object} newData New data to be saved in the history stack. * @returns {Boolean} */ - editorDidUpdate(newData) { + editorDidUpdate(newData: OutputBlockData[]) { const { state } = this.stack[this.position]; if (!newData.length) return false; if (newData.length !== state.length) return true; @@ -153,7 +217,7 @@ export default class Undo { /** * Adds the saved data in the history stack and updates current position. */ - save(state) { + save(state: OutputBlockData[]) { if (this.position >= this.maxLength) { this.truncate(this.stack, this.maxLength); } @@ -167,12 +231,13 @@ export default class Undo { if (!state[index]) indexInState -= blockCount - state.length; const caretIndex = - state[indexInState] && ( - state[indexInState].type === "paragraph" || - state[indexInState].type === "header") + state[indexInState] && + (state[indexInState].type === 'paragraph' || + state[indexInState].type === 'header') ? this.getCaretIndex(index) : null; this.stack.push({ index: indexInState, state, caretIndex }); + this.position += 1; this.onUpdate(); } @@ -182,11 +247,13 @@ export default class Undo { * @param {Number} index is the block index * @returns The caret position */ - getCaretIndex(index) { - const blocks = this.holder.getElementsByClassName("ce-block__content"); - const caretBlock = new VanillaCaret(blocks[index].firstChild); - - return caretBlock.getPos(); + getCaretIndex(index: number) { + const blocks = this.holder?.getElementsByClassName('ce-block__content'); + if (blocks) { + const caretBlock = new VanillaCaret(blocks[index].firstChild); + return caretBlock.getPos(); + } + return null; } /** @@ -217,13 +284,13 @@ export default class Undo { * @param {Number} caretIndex is the caret position * @param {Array} state is the current state according to this.position. */ - setCaretIndex(index, caretIndex) { - if (caretIndex && caretIndex !== -1) { - const blocks = this.holder.getElementsByClassName("ce-block__content"); + setCaretIndex(index: number, caretIndex: number) { + const blocks = this.holder?.getElementsByClassName('ce-block__content'); + if (caretIndex && caretIndex !== -1 && blocks) { const caretBlock = new VanillaCaret(blocks[index].firstChild); setTimeout(() => caretBlock.setPos(caretIndex), 50); } else { - this.caret.setToBlock(index, "end"); + this.caret.setToBlock(index, 'end'); } } @@ -232,14 +299,8 @@ export default class Undo { * @param {Array} state is the current state according to this.position. * @param {Number} index is the block index */ - insertBlock(state, index) { - this.blocks.insert( - state[index].type, - state[index].data, - {}, - index, - true, - ); + insertBlock(state: OutputBlockData[], index: number) { + this.blocks.insert(state[index].type, state[index].data, {}, index, true); } /** @@ -247,9 +308,10 @@ export default class Undo { * @param {Array} state is the current state according to this.position. * @param {Number} index is the block index. */ - async updateModifiedBlock(state, index) { + async updateModifiedBlock(state: OutputBlockData[], index: number) { const block = state[index]; - if (this.editor.blocks.getById(block.id)) return this.blocks.update(block.id, block.data); + if (block.id && this.editor.blocks.getById(block.id)) + return this.blocks.update(block.id, block.data); return this.blocks.render({ blocks: state }); } @@ -274,27 +336,39 @@ export default class Undo { } } - async switchState(stateToApply, stateToCompare) { + async switchState( + stateToApply: OutputBlockData[], + stateToCompare: OutputBlockData[] + ) { stateToCompare - .reduce((acc, x, idx) => (stateToApply.find((y) => y.id === x.id) ? acc : [...acc, idx]), []) + .reduce( + (acc, x, idx) => + stateToApply.find((y) => y.id === x.id) ? acc : [...acc, idx], + [] + ) .sort((a, b) => b - a) .forEach((i) => this.blocks.delete(i)); stateToApply - .reduce((acc, x, idx) => (stateToCompare.find((y) => y.id === x.id) ? acc : [...acc, idx]), []) + .reduce( + (acc, x, idx) => + stateToCompare.find((y) => y.id === x.id) ? acc : [...acc, idx], + [] + ) .forEach((i) => this.insertBlock(stateToApply, i)); - - const idxToUpdate = stateToApply.reduce((acc, x, idxNew) => { + const idxToUpdate = stateToApply.reduce((acc, x, idxNew) => { const idx = stateToCompare.findIndex((y) => y.id === x.id); - return idx > -1 && !deepEqual(x, stateToCompare[idx]) ? [...acc, idxNew] : acc; + return idx > -1 && !deepEqual(x, stateToCompare[idx]) + ? [...acc, idxNew] + : acc; }, []); await Promise.all( idxToUpdate.map(async (idx) => { const rendered = await this.updateModifiedBlock(stateToApply, idx); return rendered; - }), + }) ); } @@ -332,16 +406,18 @@ export default class Undo { * @returns {Array} */ - parseKeys(keys) { - const specialKeys = { - CMD: /(Mac)/i.test(navigator.platform) ? "metaKey" : "ctrlKey", - ALT: "altKey", - SHIFT: "shiftKey", + parseKeys(keys: string[]) { + const specialKeys: Record = { + CMD: /(Mac)/i.test(navigator.platform) ? 'metaKey' : 'ctrlKey', + ALT: 'altKey', + SHIFT: 'shiftKey', }; - const parsedKeys = keys.slice(0, -1).map((key) => specialKeys[key]); + const parsedKeys: string[] = keys + .slice(0, -1) + .map((key) => specialKeys[key]); const letterKey = - parsedKeys.includes("shiftKey") && keys.length === 2 + parsedKeys.includes('shiftKey') && keys.length === 2 ? keys[keys.length - 1].toUpperCase() : keys[keys.length - 1].toLowerCase(); @@ -356,25 +432,50 @@ export default class Undo { setEventListeners() { const { holder } = this; const { shortcuts } = this.config; - const { undo, redo } = shortcuts; - const keysUndo = undo.map((undoShortcut) => undoShortcut.replace(/ /g, "").split("+")); - const keysRedo = redo.map((redoShortcut) => redoShortcut.replace(/ /g, "").split("+")); + const { redo, undo } = shortcuts; + const keysUndo = undo.map((undoShortcut) => + undoShortcut.replace(/ /g, '').split('+') + ); + const keysRedo = redo.map((redoShortcut) => + redoShortcut.replace(/ /g, '').split('+') + ); const keysUndoParsed = keysUndo.map((keys) => this.parseKeys(keys)); const keysRedoParsed = keysRedo.map((keys) => this.parseKeys(keys)); - const twoKeysPressed = (e, keys) => - keys.length === 2 && e[keys[0]] && (e.key.toLowerCase() === keys[1]); - const threeKeysPressed = (e, keys) => - keys.length === 3 && e[keys[0]] && e[keys[1]] && (e.key.toLowerCase() === keys[2]); - - const verifyListTwoKeysPressed = (e, keysList) => - keysList.reduce((result, keys) => result || twoKeysPressed(e, keys), false); - const verifyListThreeKeysPressed = (e, keysList) => - keysList.reduce((result, keys) => result || threeKeysPressed(e, keys), false); - - const pressedKeys = (e, keys, compKeys) => { - if (verifyListTwoKeysPressed(e, keys) && !verifyListThreeKeysPressed(e, compKeys)) { + const twoKeysPressed = (e: KeyboardEvent, keys: string[]) => + keys.length === 2 && + e[keys[0] as SpecialKeys] && + e.key.toLowerCase() === keys[1]; + const threeKeysPressed = (e: KeyboardEvent, keys: string[]) => + keys.length === 3 && + e[keys[0] as SpecialKeys] && + e[keys[1] as SpecialKeys] && + e.key.toLowerCase() === keys[2]; + + const verifyListTwoKeysPressed = (e: KeyboardEvent, keysList: string[][]) => + keysList.reduce( + (result, keys) => result || twoKeysPressed(e, keys), + false + ); + const verifyListThreeKeysPressed = ( + e: KeyboardEvent, + keysList: string[][] + ) => + keysList.reduce( + (result, keys) => result || threeKeysPressed(e, keys), + false + ); + + const pressedKeys = ( + e: KeyboardEvent, + keys: string[][], + compKeys: string[][] + ) => { + if ( + verifyListTwoKeysPressed(e, keys) && + !verifyListThreeKeysPressed(e, compKeys) + ) { return true; } if (verifyListThreeKeysPressed(e, keys)) { @@ -383,27 +484,29 @@ export default class Undo { return false; }; - const handleUndo = (e) => { + const handleUndo = (e: KeyboardEvent) => { if (pressedKeys(e, keysUndoParsed, keysRedoParsed)) { e.preventDefault(); - this.undo(); + void this.undo(); } }; - const handleRedo = (e) => { + const handleRedo = (e: KeyboardEvent) => { if (pressedKeys(e, keysRedoParsed, keysUndoParsed)) { e.preventDefault(); - this.redo(); + void this.redo(); } }; - const handleDestroy = () => { - holder.removeEventListener("keydown", handleUndo); - holder.removeEventListener("keydown", handleRedo); - }; + if (holder) { + const handleDestroy = () => { + holder.removeEventListener('keydown', handleUndo); + holder.removeEventListener('keydown', handleRedo); + }; - holder.addEventListener("keydown", handleUndo); - holder.addEventListener("keydown", handleRedo); - holder.addEventListener("destroy", handleDestroy); + holder.addEventListener('keydown', handleUndo); + holder.addEventListener('keydown', handleRedo); + holder.addEventListener('destroy', handleDestroy); + } } } diff --git a/test/config/assetsTransform.js b/test/config/assetsTransform.js deleted file mode 100644 index b84ad6b..0000000 --- a/test/config/assetsTransform.js +++ /dev/null @@ -1,8 +0,0 @@ -module.exports = { - process() { - return 'module.exports = {};'; - }, - getCacheKey() { - return 'assetsTransform'; - }, -}; diff --git a/test/fixtures/data.js b/test/fixtures/data.ts similarity index 93% rename from test/fixtures/data.js rename to test/fixtures/data.ts index 4df0abb..7d46c4a 100644 --- a/test/fixtures/data.js +++ b/test/fixtures/data.ts @@ -37,9 +37,4 @@ const newChange = { ], }; -export { - initialData, - firstChange, - secondChange, - newChange, -}; +export { initialData, firstChange, secondChange, newChange }; diff --git a/test/fixtures/editor.js b/test/fixtures/editor.js deleted file mode 100644 index f1d2359..0000000 --- a/test/fixtures/editor.js +++ /dev/null @@ -1,52 +0,0 @@ -import { firstChange } from './data'; - -/** - * Mocks for Editor.js instance object. - */ -const editor = { - blocks: { - save: () => new Promise((resolve) => resolve(firstChange)), - render: () => new Promise((resolve) => resolve(true)), - getCurrentBlockIndex: () => 0, - getBlockByIndex: () => ({ id: '123id', type: 'paragraph', data: {} }), - getById: () => ({ id: '123id', type: 'paragraph', data: {} }), - getBlocksCount: () => 1, - update: () => {}, - delete: () => {}, - insert: () => {}, - }, - caret: { - setToBlock() {}, - }, - configuration: { - defaultBlock: 'paragraph', - }, -}; - -const readOnlyEditor = { - blocks: { - save: () => new Promise((resolve) => resolve(firstChange)), - render: () => new Promise((resolve) => resolve(true)), - getCurrentBlockIndex: () => 0, - }, - caret: { - setToBlock() {}, - }, - configuration: { - readOnly: true, - }, -}; - -const tools = { - undo: { - config: { - debounceTimer: 100, - shortcuts: { - undo: 'CMD+X', - redo: 'CMD+C', - }, - }, - }, -}; - -export { editor, readOnlyEditor, tools }; diff --git a/test/fixtures/editorjs.ts b/test/fixtures/editorjs.ts new file mode 100644 index 0000000..a25ed86 --- /dev/null +++ b/test/fixtures/editorjs.ts @@ -0,0 +1,9 @@ +import EditorJs, { EditorConfig } from '@editorjs/editorjs'; +import { EditorJsReady } from '../../src/types'; + +/** + * Mocks for Editor.js instance object. + */ +export class EditorJsTest extends EditorJs implements EditorJsReady { + configuration: EditorConfig = {}; +} diff --git a/test/fixtures/tools.ts b/test/fixtures/tools.ts new file mode 100644 index 0000000..e313aa6 --- /dev/null +++ b/test/fixtures/tools.ts @@ -0,0 +1,13 @@ +import { UndoSettings } from '../../src'; + +export const tools: { undo: { config: UndoSettings } } = { + undo: { + config: { + debounceTimer: 100, + shortcuts: { + undo: 'CMD+X', + redo: 'CMD+C', + }, + }, + }, +}; diff --git a/test/undo.test.js b/test/undo.test.ts similarity index 70% rename from test/undo.test.js rename to test/undo.test.ts index e760ea4..0387a8e 100644 --- a/test/undo.test.js +++ b/test/undo.test.ts @@ -8,12 +8,46 @@ import { secondChange, newChange, } from './fixtures/data'; -import { editor, readOnlyEditor, tools } from './fixtures/editor'; - -jest.mock('vanilla-caret-js'); +import { tools } from './fixtures/tools'; +import { EditorJsTest } from './fixtures/editorjs'; + +vi.mock('vanilla-caret-js'); + +vi.mock('./fixtures/editorjs', async () => { + return { + EditorJsTest: vi.fn(() => ({ + blocks: { + getCurrentBlockIndex: vi.fn(() => 0), + save: () => new Promise((resolve) => resolve(firstChange)), + render: () => new Promise((resolve) => resolve(true)), + getBlockByIndex: vi.fn(() => ({ + id: '123id', + type: 'paragraph', + data: {}, + })), + getById: vi.fn(() => ({ id: '123id', type: 'paragraph', data: {} })), + getBlocksCount: vi.fn(() => 1), + update: vi.fn(() => {}), + delete: vi.fn(() => {}), + insert: vi.fn(() => {}), + }, + caret: { + setToBlock: vi.fn(() => {}), + }, + configuration: { + defaultBlock: 'paragraph', + holder: null, + }, + })), + }; +}); describe('Undo', () => { + let editor: EditorJsTest; + let readOnlyEditor: EditorJsTest; beforeEach(() => { + editor = new EditorJsTest(); + readOnlyEditor = new EditorJsTest(); document.body.innerHTML = `
@@ -25,12 +59,14 @@ describe('Undo', () => {
`; // EditorJS uses as a holder an HTMLElement instead of a query selector. // This has to be assigned each time that DOM is reset. - editor.configuration.holder = document.querySelector('#editorjs'); - readOnlyEditor.configuration.holder = document.querySelector('#editorjs'); + editor.configuration.holder = + document.querySelector('#editorjs') ?? undefined; + readOnlyEditor.configuration.holder = + document.querySelector('#editorjs') ?? undefined; }); describe('Read-only mode active', () => { - let undo; + let undo: Undo; beforeEach(() => { undo = new Undo({ editor: readOnlyEditor }); @@ -44,7 +80,7 @@ describe('Undo', () => { }); describe('Custom debounce timer provided', () => { - let undo; + let undo: Undo; beforeEach(() => { const { config } = tools.undo; @@ -58,13 +94,16 @@ describe('Undo', () => { }); describe('Operations without changes', () => { - let undo; + let undo: Undo; beforeEach(() => { undo = new Undo({ editor }); }); - const intialStackData = { index: 0, state: [{ type: 'paragraph', data: {} }] }; + const intialStackData = { + index: 0, + state: [{ type: 'paragraph', data: {} }], + }; it('is unable to perform an undo operation in an empty stack', () => { expect(undo.canUndo()).toBe(false); @@ -85,7 +124,7 @@ describe('Undo', () => { }); describe('Operations with one change', () => { - let undo; + let undo: Undo; beforeEach(() => { undo = new Undo({ editor }); @@ -116,7 +155,7 @@ describe('Undo', () => { }); describe('Operations with two changes', () => { - let undo; + let undo: Undo; beforeEach(() => { undo = new Undo({ editor }); @@ -151,8 +190,8 @@ describe('Undo', () => { }); }); - describe('Undo/redo events fired inside and outside Editor\'s holder with default shortcuts', () => { - let undo; + describe("Undo/redo events fired inside and outside Editor's holder with default shortcuts", () => { + let undo: Undo; beforeEach(() => { undo = new Undo({ editor }); @@ -161,7 +200,7 @@ describe('Undo', () => { undo.save(secondChange.blocks); }); - it('undo event outside Editor\'s holder has not to cause changes in Undo Plugin stack', () => { + it("undo event outside Editor's holder has not to cause changes in Undo Plugin stack", () => { // Set metaKey and ctrlKey to true in order to work in Mac and other OSs. const keyboardEvent = new KeyboardEvent('keydown', { key: 'z', @@ -177,14 +216,16 @@ describe('Undo', () => { expect(state).toEqual(secondChange.blocks); }); - it('undo event inside Editor\'s holder has to cause changes in Undo Plugin stack', () => { + it("undo event inside Editor's holder has to cause changes in Undo Plugin stack", () => { const keyboardEvent = new KeyboardEvent('keydown', { key: 'z', metaKey: true, ctrlKey: true, }); - editor.configuration.holder.dispatchEvent(keyboardEvent); + if (typeof editor.configuration.holder !== 'string') { + editor.configuration.holder?.dispatchEvent(keyboardEvent); + } expect(undo.count()).toEqual(2); expect(undo.position).toEqual(1); @@ -192,7 +233,7 @@ describe('Undo', () => { expect(state).toEqual(firstChange.blocks); }); - it('redo event (CMD+Y) outside Editor\'s holder has not to cause changes in Undo Plugin stack', () => { + it("redo event (CMD+Y) outside Editor's holder has not to cause changes in Undo Plugin stack", () => { undo.undo(); const keyboardEvent = new KeyboardEvent('keydown', { @@ -209,7 +250,7 @@ describe('Undo', () => { expect(state).toEqual(firstChange.blocks); }); - it('redo event (CMD+Y) inside Editor\'s holder has to cause changes in Undo Plugin stack', () => { + it("redo event (CMD+Y) inside Editor's holder has to cause changes in Undo Plugin stack", () => { undo.undo(); const keyboardEvent = new KeyboardEvent('keydown', { @@ -218,7 +259,9 @@ describe('Undo', () => { ctrlKey: true, }); - editor.configuration.holder.dispatchEvent(keyboardEvent); + if (typeof editor.configuration.holder !== 'string') { + editor.configuration.holder?.dispatchEvent(keyboardEvent); + } expect(undo.count()).toEqual(2); expect(undo.position).toEqual(2); @@ -226,7 +269,7 @@ describe('Undo', () => { expect(state).toEqual(secondChange.blocks); }); - it('redo event (CMD+SHIFT+Z) outside Editor\'s holder has not to cause changes in Undo Plugin stack', () => { + it("redo event (CMD+SHIFT+Z) outside Editor's holder has not to cause changes in Undo Plugin stack", () => { undo.undo(); const keyboardEvent = new KeyboardEvent('keydown', { @@ -244,7 +287,7 @@ describe('Undo', () => { expect(state).toEqual(firstChange.blocks); }); - it('redo event (CMD+SHIFT+Z) inside Editor\'s holder has to cause changes in Undo Plugin stack', () => { + it("redo event (CMD+SHIFT+Z) inside Editor's holder has to cause changes in Undo Plugin stack", () => { undo.undo(); const keyboardEvent = new KeyboardEvent('keydown', { @@ -254,7 +297,9 @@ describe('Undo', () => { ctrlKey: true, }); - editor.configuration.holder.dispatchEvent(keyboardEvent); + if (typeof editor.configuration.holder !== 'string') { + editor.configuration.holder?.dispatchEvent(keyboardEvent); + } expect(undo.count()).toEqual(2); expect(undo.position).toEqual(2); @@ -264,7 +309,7 @@ describe('Undo', () => { }); describe('Undo/redo events fired with custom shortcuts', () => { - let undo; + let undo: Undo; beforeEach(() => { const { config } = tools.undo; @@ -274,14 +319,16 @@ describe('Undo', () => { undo.save(secondChange.blocks); }); - it('undo event inside Editor\'s holder has to cause changes in Undo Plugin stack', () => { + it("undo event inside Editor's holder has to cause changes in Undo Plugin stack", () => { const keyboardEvent = new KeyboardEvent('keydown', { key: 'x', metaKey: true, ctrlKey: true, }); - editor.configuration.holder.dispatchEvent(keyboardEvent); + if (typeof editor.configuration.holder !== 'string') { + editor.configuration.holder?.dispatchEvent(keyboardEvent); + } expect(undo.count()).toEqual(2); expect(undo.position).toEqual(1); @@ -289,14 +336,16 @@ describe('Undo', () => { expect(state).toEqual(firstChange.blocks); }); - it('undo event, with default shortcut, inside Editor\'s holder has not to cause changes in Undo Plugin stack', () => { + it("undo event, with default shortcut, inside Editor's holder has not to cause changes in Undo Plugin stack", () => { const keyboardEvent = new KeyboardEvent('keydown', { key: 'z', metaKey: true, ctrlKey: true, }); - editor.configuration.holder.dispatchEvent(keyboardEvent); + if (typeof editor.configuration.holder !== 'string') { + editor.configuration.holder?.dispatchEvent(keyboardEvent); + } expect(undo.count()).toEqual(2); expect(undo.position).toEqual(2); @@ -304,7 +353,7 @@ describe('Undo', () => { expect(state).toEqual(secondChange.blocks); }); - it('redo event inside Editor\'s holder has to cause changes in Undo Plugin stack', () => { + it("redo event inside Editor's holder has to cause changes in Undo Plugin stack", () => { undo.undo(); const keyboardEvent = new KeyboardEvent('keydown', { key: 'c', @@ -313,7 +362,9 @@ describe('Undo', () => { altKey: true, }); - editor.configuration.holder.dispatchEvent(keyboardEvent); + if (typeof editor.configuration.holder !== 'string') { + editor.configuration.holder?.dispatchEvent(keyboardEvent); + } expect(undo.count()).toEqual(2); expect(undo.position).toEqual(2); @@ -321,7 +372,7 @@ describe('Undo', () => { expect(state).toEqual(secondChange.blocks); }); - it('redo event, with default shortcut, inside Editor\'s holder has not to cause changes in Undo Plugin stack', () => { + it("redo event, with default shortcut, inside Editor's holder has not to cause changes in Undo Plugin stack", () => { undo.undo(); const keyboardEvent = new KeyboardEvent('keydown', { key: 'y', @@ -329,7 +380,9 @@ describe('Undo', () => { ctrlKey: true, }); - editor.configuration.holder.dispatchEvent(keyboardEvent); + if (typeof editor.configuration.holder !== 'string') { + editor.configuration.holder?.dispatchEvent(keyboardEvent); + } expect(undo.count()).toEqual(2); expect(undo.position).toEqual(1); @@ -339,7 +392,7 @@ describe('Undo', () => { }); describe('the holder key accept strings', () => { - let undo; + let undo: Undo; beforeEach(() => { editor.configuration.holder = 'editorjs'; diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..f31b9ec --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,26 @@ +{ + "compilerOptions": { + "allowJs": true, + "allowSyntheticDefaultImports": true, + "declaration": true, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "importHelpers": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "module": "ESNext", + "moduleResolution": "Bundler", + "noImplicitReturns": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "outDir": "dist", + "resolveJsonModule": true, + "skipLibCheck": true, + "sourceMap": true, + "strict": true, + "target": "ESNext", + "typeRoots": ["node_modules", "types"], + "types": ["@testing-library/jest-dom", "vitest/globals"] + }, + "include": ["types", "src", "test"], + "exclude": ["node_modules", "dist", "assets", ".github"] +} diff --git a/types/vanilla-caret-js.d.ts b/types/vanilla-caret-js.d.ts new file mode 100644 index 0000000..0d53477 --- /dev/null +++ b/types/vanilla-caret-js.d.ts @@ -0,0 +1,8 @@ +declare module 'vanilla-caret-js' { + class VanillaCaret { + getPos: () => number; + setPos: (idx: number) => void; + constructor(node: Node | null); + } + export default VanillaCaret; +} diff --git a/vite.config.mts b/vite.config.mts new file mode 100644 index 0000000..1466886 --- /dev/null +++ b/vite.config.mts @@ -0,0 +1,30 @@ +/// +/// + +import { resolve } from "path" +import dts from "vite-plugin-dts" + +import { defineConfig } from "vite" + +export default defineConfig({ + plugins: [ + dts({ + include: ["src", "types"], + exclude: ["test"], + }), + ], + build: { + lib: { + entry: resolve(__dirname, "src/index.ts"), + name: "Undo", + fileName: (format) => + format === "umd" ? "bundle.js" : `bundle.${format}.js`, + formats: ["umd", "es"], + }, + }, + test: { + environment: "jsdom", + globals: true, + setupFiles: ["./vitest.setup.ts"], + }, +}) diff --git a/vitest.setup.ts b/vitest.setup.ts new file mode 100644 index 0000000..b9e7622 --- /dev/null +++ b/vitest.setup.ts @@ -0,0 +1 @@ +import "@testing-library/jest-dom/vitest" diff --git a/webpack.config.js b/webpack.config.js deleted file mode 100644 index d307457..0000000 --- a/webpack.config.js +++ /dev/null @@ -1,26 +0,0 @@ -const path = require('path'); - -module.exports = { - entry: './src/index.js', - module: { - rules: [ - { - test: /\.js$/, - exclude: /node_modules/, - use: [ - { - loader: 'babel-loader', - }, - ], - }, - ], - }, - output: { - path: path.join(__dirname, '/dist'), - publicPath: '/', - filename: 'bundle.js', - library: 'Undo', - libraryTarget: 'umd', - libraryExport: 'default', - }, -}; diff --git a/yarn.lock b/yarn.lock index 5587ae9..31fa10b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7,7 +7,12 @@ resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf" integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA== -"@ampproject/remapping@^2.2.0": +"@adobe/css-tools@^4.4.0": + version "4.4.2" + resolved "https://registry.yarnpkg.com/@adobe/css-tools/-/css-tools-4.4.2.tgz#c836b1bd81e6d62cd6cdf3ee4948bcdce8ea79c8" + integrity sha512-baYZExFpsdkBNuvGKTKWCwKH57HRZLVtycZS05WTQNVOiXVSeAki3nU35zlRbToeMW8aHlJfyS+1C4BOv27q0A== + +"@ampproject/remapping@^2.2.0", "@ampproject/remapping@^2.3.0": version "2.3.0" resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.3.0.tgz#ed441b6fa600072520ce18b43d2c8cc8caecc7f4" integrity sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw== @@ -23,12 +28,21 @@ "@babel/highlight" "^7.24.2" picocolors "^1.0.0" -"@babel/compat-data@^7.22.6", "@babel/compat-data@^7.23.5", "@babel/compat-data@^7.24.1": +"@babel/code-frame@^7.10.4": + version "7.26.2" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.26.2.tgz#4b5fab97d33338eff916235055f0ebc21e573a85" + integrity sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ== + dependencies: + "@babel/helper-validator-identifier" "^7.25.9" + js-tokens "^4.0.0" + picocolors "^1.0.0" + +"@babel/compat-data@^7.23.5": version "7.24.1" resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.24.1.tgz#31c1f66435f2a9c329bb5716a6d6186c516c3742" integrity sha512-Pc65opHDliVpRHuKfzI+gSA4zcgr65O4cl64fFJIWEEh8JoHIHh0Oez1Eo8Arz8zq/JhgKodQaxEwUPRtZylVA== -"@babel/core@^7.10.2", "@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.23.9": +"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.23.9": version "7.24.3" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.24.3.tgz#568864247ea10fbd4eff04dda1e05f9e2ea985c3" integrity sha512-5FcvN1JHw2sHJChotgx8Ek0lyuh4kCKelgMTTqhYJJtloNvUfpAFMeNQUtdlIaktwrSV9LtCdqwk48wL2wBacQ== @@ -59,21 +73,7 @@ "@jridgewell/trace-mapping" "^0.3.25" jsesc "^2.5.1" -"@babel/helper-annotate-as-pure@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz#e7f06737b197d580a01edf75d97e2c8be99d3882" - integrity sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg== - dependencies: - "@babel/types" "^7.22.5" - -"@babel/helper-builder-binary-assignment-operator-visitor@^7.22.15": - version "7.22.15" - resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.22.15.tgz#5426b109cf3ad47b91120f8328d8ab1be8b0b956" - integrity sha512-QkBXwGgaoC2GtGZRoma6kv7Szfv06khvhFav67ZExau2RaXzy8MpHSMO2PNoP2XtmQphJQRHFfg77Bq731Yizw== - dependencies: - "@babel/types" "^7.22.15" - -"@babel/helper-compilation-targets@^7.22.6", "@babel/helper-compilation-targets@^7.23.6": +"@babel/helper-compilation-targets@^7.23.6": version "7.23.6" resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz#4d79069b16cbcf1461289eccfbbd81501ae39991" integrity sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ== @@ -84,47 +84,12 @@ lru-cache "^5.1.1" semver "^6.3.1" -"@babel/helper-create-class-features-plugin@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.24.1.tgz#db58bf57137b623b916e24874ab7188d93d7f68f" - integrity sha512-1yJa9dX9g//V6fDebXoEfEsxkZHk3Hcbm+zLhyu6qVgYFLvmTALTeV+jNU9e5RnYtioBrGEOdoI2joMSNQ/+aA== - dependencies: - "@babel/helper-annotate-as-pure" "^7.22.5" - "@babel/helper-environment-visitor" "^7.22.20" - "@babel/helper-function-name" "^7.23.0" - "@babel/helper-member-expression-to-functions" "^7.23.0" - "@babel/helper-optimise-call-expression" "^7.22.5" - "@babel/helper-replace-supers" "^7.24.1" - "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" - "@babel/helper-split-export-declaration" "^7.22.6" - semver "^6.3.1" - -"@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.22.15", "@babel/helper-create-regexp-features-plugin@^7.22.5": - version "7.22.15" - resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.22.15.tgz#5ee90093914ea09639b01c711db0d6775e558be1" - integrity sha512-29FkPLFjn4TPEa3RE7GpW+qbE8tlsu3jntNYNfcGsc49LphF1PQIiD+vMZ1z1xVOKt+93khA9tc2JBs3kBjA7w== - dependencies: - "@babel/helper-annotate-as-pure" "^7.22.5" - regexpu-core "^5.3.1" - semver "^6.3.1" - -"@babel/helper-define-polyfill-provider@^0.6.1": - version "0.6.1" - resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.1.tgz#fadc63f0c2ff3c8d02ed905dcea747c5b0fb74fd" - integrity sha512-o7SDgTJuvx5vLKD6SFvkydkSMBvahDKGiNJzG22IZYXhiqoe9efY7zocICBgzHV4IRg5wdgl2nEL/tulKIEIbA== - dependencies: - "@babel/helper-compilation-targets" "^7.22.6" - "@babel/helper-plugin-utils" "^7.22.5" - debug "^4.1.1" - lodash.debounce "^4.0.8" - resolve "^1.14.2" - "@babel/helper-environment-visitor@^7.22.20": version "7.22.20" resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz#96159db61d34a29dba454c959f5ae4a649ba9167" integrity sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA== -"@babel/helper-function-name@^7.22.5", "@babel/helper-function-name@^7.23.0": +"@babel/helper-function-name@^7.23.0": version "7.23.0" resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz#1f9a3cdbd5b2698a670c30d2735f9af95ed52759" integrity sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw== @@ -139,14 +104,7 @@ dependencies: "@babel/types" "^7.22.5" -"@babel/helper-member-expression-to-functions@^7.23.0": - version "7.23.0" - resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.23.0.tgz#9263e88cc5e41d39ec18c9a3e0eced59a3e7d366" - integrity sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA== - dependencies: - "@babel/types" "^7.23.0" - -"@babel/helper-module-imports@^7.22.15", "@babel/helper-module-imports@^7.24.1", "@babel/helper-module-imports@^7.24.3": +"@babel/helper-module-imports@^7.22.15": version "7.24.3" resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.24.3.tgz#6ac476e6d168c7c23ff3ba3cf4f7841d46ac8128" integrity sha512-viKb0F9f2s0BCS22QSF308z/+1YWKV/76mwt61NBzS5izMzDPwdq1pTrzf+Li3npBWX9KdQbkeCt1jSAM7lZqg== @@ -164,36 +122,11 @@ "@babel/helper-split-export-declaration" "^7.22.6" "@babel/helper-validator-identifier" "^7.22.20" -"@babel/helper-optimise-call-expression@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.22.5.tgz#f21531a9ccbff644fdd156b4077c16ff0c3f609e" - integrity sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw== - dependencies: - "@babel/types" "^7.22.5" - -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.22.5", "@babel/helper-plugin-utils@^7.24.0", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.24.0", "@babel/helper-plugin-utils@^7.8.0": version "7.24.0" resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.0.tgz#945681931a52f15ce879fd5b86ce2dae6d3d7f2a" integrity sha512-9cUznXMG0+FxRuJfvL82QlTqIzhVW9sL0KjMPHhAOOvpQGL8QtdxnBKILjBqxlHyliz0yCa1G903ZXI/FuHy2w== -"@babel/helper-remap-async-to-generator@^7.22.20": - version "7.22.20" - resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.22.20.tgz#7b68e1cb4fa964d2996fd063723fb48eca8498e0" - integrity sha512-pBGyV4uBqOns+0UvhsTO8qgl8hO89PmiDYv+/COyp1aeMcmfrfruz+/nCMFiYyFF/Knn0yfrC85ZzNFjembFTw== - dependencies: - "@babel/helper-annotate-as-pure" "^7.22.5" - "@babel/helper-environment-visitor" "^7.22.20" - "@babel/helper-wrap-function" "^7.22.20" - -"@babel/helper-replace-supers@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.24.1.tgz#7085bd19d4a0b7ed8f405c1ed73ccb70f323abc1" - integrity sha512-QCR1UqC9BzG5vZl8BMicmZ28RuUBnHhAMddD8yHFHDRH9lLTZ9uUPehX8ctVPT8l0TKblJidqcgUUKGVrePleQ== - dependencies: - "@babel/helper-environment-visitor" "^7.22.20" - "@babel/helper-member-expression-to-functions" "^7.23.0" - "@babel/helper-optimise-call-expression" "^7.22.5" - "@babel/helper-simple-access@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz#4938357dc7d782b80ed6dbb03a0fba3d22b1d5de" @@ -201,13 +134,6 @@ dependencies: "@babel/types" "^7.22.5" -"@babel/helper-skip-transparent-expression-wrappers@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.22.5.tgz#007f15240b5751c537c40e77abb4e89eeaaa8847" - integrity sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q== - dependencies: - "@babel/types" "^7.22.5" - "@babel/helper-split-export-declaration@^7.22.6": version "7.22.6" resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz#322c61b7310c0997fe4c323955667f18fcefb91c" @@ -220,25 +146,26 @@ resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.24.1.tgz#f99c36d3593db9540705d0739a1f10b5e20c696e" integrity sha512-2ofRCjnnA9y+wk8b9IAREroeUP02KHp431N2mhKniy2yKIDKpbrHv9eXwm8cBeWQYcJmzv5qKCu65P47eCF7CQ== +"@babel/helper-string-parser@^7.25.9": + version "7.25.9" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz#1aabb72ee72ed35789b4bbcad3ca2862ce614e8c" + integrity sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA== + "@babel/helper-validator-identifier@^7.22.20": version "7.22.20" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz#c4ae002c61d2879e724581d96665583dbc1dc0e0" integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A== +"@babel/helper-validator-identifier@^7.25.9": + version "7.25.9" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz#24b64e2c3ec7cd3b3c547729b8d16871f22cbdc7" + integrity sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ== + "@babel/helper-validator-option@^7.23.5": version "7.23.5" resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz#907a3fbd4523426285365d1206c423c4c5520307" integrity sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw== -"@babel/helper-wrap-function@^7.22.20": - version "7.22.20" - resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.22.20.tgz#15352b0b9bfb10fc9c76f79f6342c00e3411a569" - integrity sha512-pms/UwkOpnQe/PDAEdV/d7dVCoBbB+R4FvYoHGZz+4VPcg7RtYy2KP7S2lbuWM6FCSgob5wshfGESbC/hzNXZw== - dependencies: - "@babel/helper-function-name" "^7.22.5" - "@babel/template" "^7.22.15" - "@babel/types" "^7.22.19" - "@babel/helpers@^7.24.1": version "7.24.1" resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.24.1.tgz#183e44714b9eba36c3038e442516587b1e0a1a94" @@ -263,34 +190,19 @@ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.24.1.tgz#1e416d3627393fab1cb5b0f2f1796a100ae9133a" integrity sha512-Zo9c7N3xdOIQrNip7Lc9wvRPzlRtovHVE4lkz8WEDr7uYh/GMQhSiIgFxGIArRHYdJE5kxtZjAf8rT0xhdLCzg== -"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.24.1.tgz#b645d9ba8c2bc5b7af50f0fe949f9edbeb07c8cf" - integrity sha512-y4HqEnkelJIOQGd+3g1bTeKsA5c6qM7eOn7VggGVbBc0y8MLSKHacwcIE2PplNlQSj0PqS9rrXL/nkPVK+kUNg== +"@babel/parser@^7.25.3": + version "7.26.8" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.26.8.tgz#deca2b4d99e5e1b1553843b99823f118da6107c2" + integrity sha512-TZIQ25pkSoaKEYYaHbbxkfL36GNsQ6iFiBbeuzAkLnXayKR1yP1zFe+NxuZWWsUyvt8icPU9CCq0sgWGXR1GEw== dependencies: - "@babel/helper-plugin-utils" "^7.24.0" + "@babel/types" "^7.26.8" -"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.24.1.tgz#da8261f2697f0f41b0855b91d3a20a1fbfd271d3" - integrity sha512-Hj791Ii4ci8HqnaKHAlLNs+zaLXb0EzSDhiAWp5VNlyvCNymYfacs64pxTxbH1znW/NcArSmwpmG9IKE/TUVVQ== +"@babel/parser@^7.25.4": + version "7.26.10" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.26.10.tgz#e9bdb82f14b97df6569b0b038edd436839c57749" + integrity sha512-6aQR2zGE/QFi8JpDLjUZEPYOs7+mhKXm86VaKFiLP35JQwQb6bwUE+XbvkH0EptsYhbNBSUGaUBLKqxH1xSgsA== dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" - "@babel/plugin-transform-optional-chaining" "^7.24.1" - -"@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.24.1.tgz#1181d9685984c91d657b8ddf14f0487a6bab2988" - integrity sha512-m9m/fXsXLiHfwdgydIFnpk+7jlVbnvlK5B2EKiPdLUb6WX654ZaaEWJUjk8TftRbZpK0XibovlLWX4KIZhV6jw== - dependencies: - "@babel/helper-environment-visitor" "^7.22.20" - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2": - version "7.21.0-placeholder-for-preset-env.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0-placeholder-for-preset-env.2.tgz#7844f9289546efa9febac2de4cfe358a050bd703" - integrity sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w== + "@babel/types" "^7.26.10" "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" @@ -306,49 +218,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-class-properties@^7.12.13", "@babel/plugin-syntax-class-properties@^7.8.3": +"@babel/plugin-syntax-class-properties@^7.8.3": version "7.12.13" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10" integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== dependencies: "@babel/helper-plugin-utils" "^7.12.13" -"@babel/plugin-syntax-class-static-block@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz#195df89b146b4b78b3bf897fd7a257c84659d406" - integrity sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw== - dependencies: - "@babel/helper-plugin-utils" "^7.14.5" - -"@babel/plugin-syntax-dynamic-import@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz#62bf98b2da3cd21d626154fc96ee5b3cb68eacb3" - integrity sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-export-namespace-from@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz#028964a9ba80dbc094c915c487ad7c4e7a66465a" - integrity sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-syntax-import-assertions@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.24.1.tgz#db3aad724153a00eaac115a3fb898de544e34971" - integrity sha512-IuwnI5XnuF189t91XbxmXeCDz3qs6iDRO7GJ++wcfgeXNs/8FmIlKcpDSXNVyuLQxlwvskmI3Ct73wUODkJBlQ== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-syntax-import-attributes@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.24.1.tgz#c66b966c63b714c4eec508fcf5763b1f2d381093" - integrity sha512-zhQTMH0X2nVLnb04tz+s7AMuasX8U0FnpE+nHTOhSOINjWMnopoZTxtIKsd45n4GQ/HIZLyfIpoul8e2m0DnRA== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-syntax-import-meta@^7.10.4", "@babel/plugin-syntax-import-meta@^7.8.3": +"@babel/plugin-syntax-import-meta@^7.8.3": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== @@ -369,7 +246,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.24.0" -"@babel/plugin-syntax-logical-assignment-operators@^7.10.4", "@babel/plugin-syntax-logical-assignment-operators@^7.8.3": +"@babel/plugin-syntax-logical-assignment-operators@^7.8.3": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== @@ -383,7 +260,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-numeric-separator@^7.10.4", "@babel/plugin-syntax-numeric-separator@^7.8.3": +"@babel/plugin-syntax-numeric-separator@^7.8.3": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz#b9b070b3e33570cd9fd07ba7fa91c0dd37b9af97" integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== @@ -411,14 +288,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-private-property-in-object@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz#0dc6671ec0ea22b6e94a1114f857970cd39de1ad" - integrity sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg== - dependencies: - "@babel/helper-plugin-utils" "^7.14.5" - -"@babel/plugin-syntax-top-level-await@^7.14.5", "@babel/plugin-syntax-top-level-await@^7.8.3": +"@babel/plugin-syntax-top-level-await@^7.8.3": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c" integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== @@ -432,517 +302,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.24.0" -"@babel/plugin-syntax-unicode-sets-regex@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-unicode-sets-regex/-/plugin-syntax-unicode-sets-regex-7.18.6.tgz#d49a3b3e6b52e5be6740022317580234a6a47357" - integrity sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-transform-arrow-functions@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.24.1.tgz#2bf263617060c9cc45bcdbf492b8cc805082bf27" - integrity sha512-ngT/3NkRhsaep9ck9uj2Xhv9+xB1zShY3tM3g6om4xxCELwCDN4g4Aq5dRn48+0hasAql7s2hdBOysCfNpr4fw== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-async-generator-functions@^7.24.3": - version "7.24.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.24.3.tgz#8fa7ae481b100768cc9842c8617808c5352b8b89" - integrity sha512-Qe26CMYVjpQxJ8zxM1340JFNjZaF+ISWpr1Kt/jGo+ZTUzKkfw/pphEWbRCb+lmSM6k/TOgfYLvmbHkUQ0asIg== - dependencies: - "@babel/helper-environment-visitor" "^7.22.20" - "@babel/helper-plugin-utils" "^7.24.0" - "@babel/helper-remap-async-to-generator" "^7.22.20" - "@babel/plugin-syntax-async-generators" "^7.8.4" - -"@babel/plugin-transform-async-to-generator@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.24.1.tgz#0e220703b89f2216800ce7b1c53cb0cf521c37f4" - integrity sha512-AawPptitRXp1y0n4ilKcGbRYWfbbzFWz2NqNu7dacYDtFtz0CMjG64b3LQsb3KIgnf4/obcUL78hfaOS7iCUfw== - dependencies: - "@babel/helper-module-imports" "^7.24.1" - "@babel/helper-plugin-utils" "^7.24.0" - "@babel/helper-remap-async-to-generator" "^7.22.20" - -"@babel/plugin-transform-block-scoped-functions@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.24.1.tgz#1c94799e20fcd5c4d4589523bbc57b7692979380" - integrity sha512-TWWC18OShZutrv9C6mye1xwtam+uNi2bnTOCBUd5sZxyHOiWbU6ztSROofIMrK84uweEZC219POICK/sTYwfgg== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-block-scoping@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.24.1.tgz#27af183d7f6dad890531256c7a45019df768ac1f" - integrity sha512-h71T2QQvDgM2SmT29UYU6ozjMlAt7s7CSs5Hvy8f8cf/GM/Z4a2zMfN+fjVGaieeCrXR3EdQl6C4gQG+OgmbKw== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-class-properties@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.24.1.tgz#bcbf1aef6ba6085cfddec9fc8d58871cf011fc29" - integrity sha512-OMLCXi0NqvJfORTaPQBwqLXHhb93wkBKZ4aNwMl6WtehO7ar+cmp+89iPEQPqxAnxsOKTaMcs3POz3rKayJ72g== - dependencies: - "@babel/helper-create-class-features-plugin" "^7.24.1" - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-class-static-block@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.24.1.tgz#4e37efcca1d9f2fcb908d1bae8b56b4b6e9e1cb6" - integrity sha512-FUHlKCn6J3ERiu8Dv+4eoz7w8+kFLSyeVG4vDAikwADGjUCoHw/JHokyGtr8OR4UjpwPVivyF+h8Q5iv/JmrtA== - dependencies: - "@babel/helper-create-class-features-plugin" "^7.24.1" - "@babel/helper-plugin-utils" "^7.24.0" - "@babel/plugin-syntax-class-static-block" "^7.14.5" - -"@babel/plugin-transform-classes@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.24.1.tgz#5bc8fc160ed96378184bc10042af47f50884dcb1" - integrity sha512-ZTIe3W7UejJd3/3R4p7ScyyOoafetUShSf4kCqV0O7F/RiHxVj/wRaRnQlrGwflvcehNA8M42HkAiEDYZu2F1Q== - dependencies: - "@babel/helper-annotate-as-pure" "^7.22.5" - "@babel/helper-compilation-targets" "^7.23.6" - "@babel/helper-environment-visitor" "^7.22.20" - "@babel/helper-function-name" "^7.23.0" - "@babel/helper-plugin-utils" "^7.24.0" - "@babel/helper-replace-supers" "^7.24.1" - "@babel/helper-split-export-declaration" "^7.22.6" - globals "^11.1.0" - -"@babel/plugin-transform-computed-properties@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.24.1.tgz#bc7e787f8e021eccfb677af5f13c29a9934ed8a7" - integrity sha512-5pJGVIUfJpOS+pAqBQd+QMaTD2vCL/HcePooON6pDpHgRp4gNRmzyHTPIkXntwKsq3ayUFVfJaIKPw2pOkOcTw== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - "@babel/template" "^7.24.0" - -"@babel/plugin-transform-destructuring@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.24.1.tgz#b1e8243af4a0206841973786292b8c8dd8447345" - integrity sha512-ow8jciWqNxR3RYbSNVuF4U2Jx130nwnBnhRw6N6h1bOejNkABmcI5X5oz29K4alWX7vf1C+o6gtKXikzRKkVdw== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-dotall-regex@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.24.1.tgz#d56913d2f12795cc9930801b84c6f8c47513ac13" - integrity sha512-p7uUxgSoZwZ2lPNMzUkqCts3xlp8n+o05ikjy7gbtFJSt9gdU88jAmtfmOxHM14noQXBxfgzf2yRWECiNVhTCw== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.22.15" - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-duplicate-keys@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.24.1.tgz#5347a797fe82b8d09749d10e9f5b83665adbca88" - integrity sha512-msyzuUnvsjsaSaocV6L7ErfNsa5nDWL1XKNnDePLgmz+WdU4w/J8+AxBMrWfi9m4IxfL5sZQKUPQKDQeeAT6lA== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-dynamic-import@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.24.1.tgz#2a5a49959201970dd09a5fca856cb651e44439dd" - integrity sha512-av2gdSTyXcJVdI+8aFZsCAtR29xJt0S5tas+Ef8NvBNmD1a+N/3ecMLeMBgfcK+xzsjdLDT6oHt+DFPyeqUbDA== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - "@babel/plugin-syntax-dynamic-import" "^7.8.3" - -"@babel/plugin-transform-exponentiation-operator@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.24.1.tgz#6650ebeb5bd5c012d5f5f90a26613a08162e8ba4" - integrity sha512-U1yX13dVBSwS23DEAqU+Z/PkwE9/m7QQy8Y9/+Tdb8UWYaGNDYwTLi19wqIAiROr8sXVum9A/rtiH5H0boUcTw== - dependencies: - "@babel/helper-builder-binary-assignment-operator-visitor" "^7.22.15" - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-export-namespace-from@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.24.1.tgz#f033541fc036e3efb2dcb58eedafd4f6b8078acd" - integrity sha512-Ft38m/KFOyzKw2UaJFkWG9QnHPG/Q/2SkOrRk4pNBPg5IPZ+dOxcmkK5IyuBcxiNPyyYowPGUReyBvrvZs7IlQ== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - "@babel/plugin-syntax-export-namespace-from" "^7.8.3" - -"@babel/plugin-transform-for-of@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.24.1.tgz#67448446b67ab6c091360ce3717e7d3a59e202fd" - integrity sha512-OxBdcnF04bpdQdR3i4giHZNZQn7cm8RQKcSwA17wAAqEELo1ZOwp5FFgeptWUQXFyT9kwHo10aqqauYkRZPCAg== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" - -"@babel/plugin-transform-function-name@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.24.1.tgz#8cba6f7730626cc4dfe4ca2fa516215a0592b361" - integrity sha512-BXmDZpPlh7jwicKArQASrj8n22/w6iymRnvHYYd2zO30DbE277JO20/7yXJT3QxDPtiQiOxQBbZH4TpivNXIxA== - dependencies: - "@babel/helper-compilation-targets" "^7.23.6" - "@babel/helper-function-name" "^7.23.0" - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-json-strings@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.24.1.tgz#08e6369b62ab3e8a7b61089151b161180c8299f7" - integrity sha512-U7RMFmRvoasscrIFy5xA4gIp8iWnWubnKkKuUGJjsuOH7GfbMkB+XZzeslx2kLdEGdOJDamEmCqOks6e8nv8DQ== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - "@babel/plugin-syntax-json-strings" "^7.8.3" - -"@babel/plugin-transform-literals@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.24.1.tgz#0a1982297af83e6b3c94972686067df588c5c096" - integrity sha512-zn9pwz8U7nCqOYIiBaOxoQOtYmMODXTJnkxG4AtX8fPmnCRYWBOHD0qcpwS9e2VDSp1zNJYpdnFMIKb8jmwu6g== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-logical-assignment-operators@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.24.1.tgz#719d8aded1aa94b8fb34e3a785ae8518e24cfa40" - integrity sha512-OhN6J4Bpz+hIBqItTeWJujDOfNP+unqv/NJgyhlpSqgBTPm37KkMmZV6SYcOj+pnDbdcl1qRGV/ZiIjX9Iy34w== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" - -"@babel/plugin-transform-member-expression-literals@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.24.1.tgz#896d23601c92f437af8b01371ad34beb75df4489" - integrity sha512-4ojai0KysTWXzHseJKa1XPNXKRbuUrhkOPY4rEGeR+7ChlJVKxFa3H3Bz+7tWaGKgJAXUWKOGmltN+u9B3+CVg== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-modules-amd@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.24.1.tgz#b6d829ed15258536977e9c7cc6437814871ffa39" - integrity sha512-lAxNHi4HVtjnHd5Rxg3D5t99Xm6H7b04hUS7EHIXcUl2EV4yl1gWdqZrNzXnSrHveL9qMdbODlLF55mvgjAfaQ== - dependencies: - "@babel/helper-module-transforms" "^7.23.3" - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-modules-commonjs@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.24.1.tgz#e71ba1d0d69e049a22bf90b3867e263823d3f1b9" - integrity sha512-szog8fFTUxBfw0b98gEWPaEqF42ZUD/T3bkynW/wtgx2p/XCP55WEsb+VosKceRSd6njipdZvNogqdtI4Q0chw== - dependencies: - "@babel/helper-module-transforms" "^7.23.3" - "@babel/helper-plugin-utils" "^7.24.0" - "@babel/helper-simple-access" "^7.22.5" - -"@babel/plugin-transform-modules-systemjs@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.24.1.tgz#2b9625a3d4e445babac9788daec39094e6b11e3e" - integrity sha512-mqQ3Zh9vFO1Tpmlt8QPnbwGHzNz3lpNEMxQb1kAemn/erstyqw1r9KeOlOfo3y6xAnFEcOv2tSyrXfmMk+/YZA== - dependencies: - "@babel/helper-hoist-variables" "^7.22.5" - "@babel/helper-module-transforms" "^7.23.3" - "@babel/helper-plugin-utils" "^7.24.0" - "@babel/helper-validator-identifier" "^7.22.20" - -"@babel/plugin-transform-modules-umd@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.24.1.tgz#69220c66653a19cf2c0872b9c762b9a48b8bebef" - integrity sha512-tuA3lpPj+5ITfcCluy6nWonSL7RvaG0AOTeAuvXqEKS34lnLzXpDb0dcP6K8jD0zWZFNDVly90AGFJPnm4fOYg== - dependencies: - "@babel/helper-module-transforms" "^7.23.3" - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-named-capturing-groups-regex@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.22.5.tgz#67fe18ee8ce02d57c855185e27e3dc959b2e991f" - integrity sha512-YgLLKmS3aUBhHaxp5hi1WJTgOUb/NCuDHzGT9z9WTt3YG+CPRhJs6nprbStx6DnWM4dh6gt7SU3sZodbZ08adQ== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.22.5" - "@babel/helper-plugin-utils" "^7.22.5" - -"@babel/plugin-transform-new-target@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.24.1.tgz#29c59988fa3d0157de1c871a28cd83096363cc34" - integrity sha512-/rurytBM34hYy0HKZQyA0nHbQgQNFm4Q/BOc9Hflxi2X3twRof7NaE5W46j4kQitm7SvACVRXsa6N/tSZxvPug== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-nullish-coalescing-operator@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.24.1.tgz#0cd494bb97cb07d428bd651632cb9d4140513988" - integrity sha512-iQ+caew8wRrhCikO5DrUYx0mrmdhkaELgFa+7baMcVuhxIkN7oxt06CZ51D65ugIb1UWRQ8oQe+HXAVM6qHFjw== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" - -"@babel/plugin-transform-numeric-separator@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.24.1.tgz#5bc019ce5b3435c1cadf37215e55e433d674d4e8" - integrity sha512-7GAsGlK4cNL2OExJH1DzmDeKnRv/LXq0eLUSvudrehVA5Rgg4bIrqEUW29FbKMBRT0ztSqisv7kjP+XIC4ZMNw== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - "@babel/plugin-syntax-numeric-separator" "^7.10.4" - -"@babel/plugin-transform-object-rest-spread@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.24.1.tgz#5a3ce73caf0e7871a02e1c31e8b473093af241ff" - integrity sha512-XjD5f0YqOtebto4HGISLNfiNMTTs6tbkFf2TOqJlYKYmbo+mN9Dnpl4SRoofiziuOWMIyq3sZEUqLo3hLITFEA== - dependencies: - "@babel/helper-compilation-targets" "^7.23.6" - "@babel/helper-plugin-utils" "^7.24.0" - "@babel/plugin-syntax-object-rest-spread" "^7.8.3" - "@babel/plugin-transform-parameters" "^7.24.1" - -"@babel/plugin-transform-object-super@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.24.1.tgz#e71d6ab13483cca89ed95a474f542bbfc20a0520" - integrity sha512-oKJqR3TeI5hSLRxudMjFQ9re9fBVUU0GICqM3J1mi8MqlhVr6hC/ZN4ttAyMuQR6EZZIY6h/exe5swqGNNIkWQ== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - "@babel/helper-replace-supers" "^7.24.1" - -"@babel/plugin-transform-optional-catch-binding@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.24.1.tgz#92a3d0efe847ba722f1a4508669b23134669e2da" - integrity sha512-oBTH7oURV4Y+3EUrf6cWn1OHio3qG/PVwO5J03iSJmBg6m2EhKjkAu/xuaXaYwWW9miYtvbWv4LNf0AmR43LUA== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" - -"@babel/plugin-transform-optional-chaining@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.24.1.tgz#26e588acbedce1ab3519ac40cc748e380c5291e6" - integrity sha512-n03wmDt+987qXwAgcBlnUUivrZBPZ8z1plL0YvgQalLm+ZE5BMhGm94jhxXtA1wzv1Cu2aaOv1BM9vbVttrzSg== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" - "@babel/plugin-syntax-optional-chaining" "^7.8.3" - -"@babel/plugin-transform-parameters@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.24.1.tgz#983c15d114da190506c75b616ceb0f817afcc510" - integrity sha512-8Jl6V24g+Uw5OGPeWNKrKqXPDw2YDjLc53ojwfMcKwlEoETKU9rU0mHUtcg9JntWI/QYzGAXNWEcVHZ+fR+XXg== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-private-methods@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.24.1.tgz#a0faa1ae87eff077e1e47a5ec81c3aef383dc15a" - integrity sha512-tGvisebwBO5em4PaYNqt4fkw56K2VALsAbAakY0FjTYqJp7gfdrgr7YX76Or8/cpik0W6+tj3rZ0uHU9Oil4tw== - dependencies: - "@babel/helper-create-class-features-plugin" "^7.24.1" - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-private-property-in-object@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.24.1.tgz#756443d400274f8fb7896742962cc1b9f25c1f6a" - integrity sha512-pTHxDVa0BpUbvAgX3Gat+7cSciXqUcY9j2VZKTbSB6+VQGpNgNO9ailxTGHSXlqOnX1Hcx1Enme2+yv7VqP9bg== - dependencies: - "@babel/helper-annotate-as-pure" "^7.22.5" - "@babel/helper-create-class-features-plugin" "^7.24.1" - "@babel/helper-plugin-utils" "^7.24.0" - "@babel/plugin-syntax-private-property-in-object" "^7.14.5" - -"@babel/plugin-transform-property-literals@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.24.1.tgz#d6a9aeab96f03749f4eebeb0b6ea8e90ec958825" - integrity sha512-LetvD7CrHmEx0G442gOomRr66d7q8HzzGGr4PMHGr+5YIm6++Yke+jxj246rpvsbyhJwCLxcTn6zW1P1BSenqA== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-regenerator@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.24.1.tgz#625b7545bae52363bdc1fbbdc7252b5046409c8c" - integrity sha512-sJwZBCzIBE4t+5Q4IGLaaun5ExVMRY0lYwos/jNecjMrVCygCdph3IKv0tkP5Fc87e/1+bebAmEAGBfnRD+cnw== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - regenerator-transform "^0.15.2" - -"@babel/plugin-transform-reserved-words@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.24.1.tgz#8de729f5ecbaaf5cf83b67de13bad38a21be57c1" - integrity sha512-JAclqStUfIwKN15HrsQADFgeZt+wexNQ0uLhuqvqAUFoqPMjEcFCYZBhq0LUdz6dZK/mD+rErhW71fbx8RYElg== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-runtime@^7.23.2": - version "7.24.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.24.3.tgz#dc58ad4a31810a890550365cc922e1ff5acb5d7f" - integrity sha512-J0BuRPNlNqlMTRJ72eVptpt9VcInbxO6iP3jaxr+1NPhC0UkKL+6oeX6VXMEYdADnuqmMmsBspt4d5w8Y/TCbQ== - dependencies: - "@babel/helper-module-imports" "^7.24.3" - "@babel/helper-plugin-utils" "^7.24.0" - babel-plugin-polyfill-corejs2 "^0.4.10" - babel-plugin-polyfill-corejs3 "^0.10.1" - babel-plugin-polyfill-regenerator "^0.6.1" - semver "^6.3.1" - -"@babel/plugin-transform-shorthand-properties@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.24.1.tgz#ba9a09144cf55d35ec6b93a32253becad8ee5b55" - integrity sha512-LyjVB1nsJ6gTTUKRjRWx9C1s9hE7dLfP/knKdrfeH9UPtAGjYGgxIbFfx7xyLIEWs7Xe1Gnf8EWiUqfjLhInZA== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-spread@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.24.1.tgz#a1acf9152cbf690e4da0ba10790b3ac7d2b2b391" - integrity sha512-KjmcIM+fxgY+KxPVbjelJC6hrH1CgtPmTvdXAfn3/a9CnWGSTY7nH4zm5+cjmWJybdcPSsD0++QssDsjcpe47g== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" - -"@babel/plugin-transform-sticky-regex@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.24.1.tgz#f03e672912c6e203ed8d6e0271d9c2113dc031b9" - integrity sha512-9v0f1bRXgPVcPrngOQvLXeGNNVLc8UjMVfebo9ka0WF3/7+aVUHmaJVT3sa0XCzEFioPfPHZiOcYG9qOsH63cw== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-template-literals@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.24.1.tgz#15e2166873a30d8617e3e2ccadb86643d327aab7" - integrity sha512-WRkhROsNzriarqECASCNu/nojeXCDTE/F2HmRgOzi7NGvyfYGq1NEjKBK3ckLfRgGc6/lPAqP0vDOSw3YtG34g== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-typeof-symbol@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.24.1.tgz#6831f78647080dec044f7e9f68003d99424f94c7" - integrity sha512-CBfU4l/A+KruSUoW+vTQthwcAdwuqbpRNB8HQKlZABwHRhsdHZ9fezp4Sn18PeAlYxTNiLMlx4xUBV3AWfg1BA== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-unicode-escapes@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.24.1.tgz#fb3fa16676549ac7c7449db9b342614985c2a3a4" - integrity sha512-RlkVIcWT4TLI96zM660S877E7beKlQw7Ig+wqkKBiWfj0zH5Q4h50q6er4wzZKRNSYpfo6ILJ+hrJAGSX2qcNw== - dependencies: - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-unicode-property-regex@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.24.1.tgz#56704fd4d99da81e5e9f0c0c93cabd91dbc4889e" - integrity sha512-Ss4VvlfYV5huWApFsF8/Sq0oXnGO+jB+rijFEFugTd3cwSObUSnUi88djgR5528Csl0uKlrI331kRqe56Ov2Ng== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.22.15" - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-unicode-regex@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.24.1.tgz#57c3c191d68f998ac46b708380c1ce4d13536385" - integrity sha512-2A/94wgZgxfTsiLaQ2E36XAOdcZmGAaEEgVmxQWwZXWkGhvoHbaqXcKnU8zny4ycpu3vNqg0L/PcCiYtHtA13g== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.22.15" - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/plugin-transform-unicode-sets-regex@^7.24.1": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.24.1.tgz#c1ea175b02afcffc9cf57a9c4658326625165b7f" - integrity sha512-fqj4WuzzS+ukpgerpAoOnMfQXwUHFxXUZUE84oL2Kao2N8uSlvcpnAidKASgsNgzZHBsHWvcm8s9FPWUhAb8fA== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.22.15" - "@babel/helper-plugin-utils" "^7.24.0" - -"@babel/preset-env@^7.10.2": - version "7.24.3" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.24.3.tgz#f3f138c844ffeeac372597b29c51b5259e8323a3" - integrity sha512-fSk430k5c2ff8536JcPvPWK4tZDwehWLGlBp0wrsBUjZVdeQV6lePbwKWZaZfK2vnh/1kQX1PzAJWsnBmVgGJA== - dependencies: - "@babel/compat-data" "^7.24.1" - "@babel/helper-compilation-targets" "^7.23.6" - "@babel/helper-plugin-utils" "^7.24.0" - "@babel/helper-validator-option" "^7.23.5" - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.24.1" - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.24.1" - "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly" "^7.24.1" - "@babel/plugin-proposal-private-property-in-object" "7.21.0-placeholder-for-preset-env.2" - "@babel/plugin-syntax-async-generators" "^7.8.4" - "@babel/plugin-syntax-class-properties" "^7.12.13" - "@babel/plugin-syntax-class-static-block" "^7.14.5" - "@babel/plugin-syntax-dynamic-import" "^7.8.3" - "@babel/plugin-syntax-export-namespace-from" "^7.8.3" - "@babel/plugin-syntax-import-assertions" "^7.24.1" - "@babel/plugin-syntax-import-attributes" "^7.24.1" - "@babel/plugin-syntax-import-meta" "^7.10.4" - "@babel/plugin-syntax-json-strings" "^7.8.3" - "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" - "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" - "@babel/plugin-syntax-numeric-separator" "^7.10.4" - "@babel/plugin-syntax-object-rest-spread" "^7.8.3" - "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" - "@babel/plugin-syntax-optional-chaining" "^7.8.3" - "@babel/plugin-syntax-private-property-in-object" "^7.14.5" - "@babel/plugin-syntax-top-level-await" "^7.14.5" - "@babel/plugin-syntax-unicode-sets-regex" "^7.18.6" - "@babel/plugin-transform-arrow-functions" "^7.24.1" - "@babel/plugin-transform-async-generator-functions" "^7.24.3" - "@babel/plugin-transform-async-to-generator" "^7.24.1" - "@babel/plugin-transform-block-scoped-functions" "^7.24.1" - "@babel/plugin-transform-block-scoping" "^7.24.1" - "@babel/plugin-transform-class-properties" "^7.24.1" - "@babel/plugin-transform-class-static-block" "^7.24.1" - "@babel/plugin-transform-classes" "^7.24.1" - "@babel/plugin-transform-computed-properties" "^7.24.1" - "@babel/plugin-transform-destructuring" "^7.24.1" - "@babel/plugin-transform-dotall-regex" "^7.24.1" - "@babel/plugin-transform-duplicate-keys" "^7.24.1" - "@babel/plugin-transform-dynamic-import" "^7.24.1" - "@babel/plugin-transform-exponentiation-operator" "^7.24.1" - "@babel/plugin-transform-export-namespace-from" "^7.24.1" - "@babel/plugin-transform-for-of" "^7.24.1" - "@babel/plugin-transform-function-name" "^7.24.1" - "@babel/plugin-transform-json-strings" "^7.24.1" - "@babel/plugin-transform-literals" "^7.24.1" - "@babel/plugin-transform-logical-assignment-operators" "^7.24.1" - "@babel/plugin-transform-member-expression-literals" "^7.24.1" - "@babel/plugin-transform-modules-amd" "^7.24.1" - "@babel/plugin-transform-modules-commonjs" "^7.24.1" - "@babel/plugin-transform-modules-systemjs" "^7.24.1" - "@babel/plugin-transform-modules-umd" "^7.24.1" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.22.5" - "@babel/plugin-transform-new-target" "^7.24.1" - "@babel/plugin-transform-nullish-coalescing-operator" "^7.24.1" - "@babel/plugin-transform-numeric-separator" "^7.24.1" - "@babel/plugin-transform-object-rest-spread" "^7.24.1" - "@babel/plugin-transform-object-super" "^7.24.1" - "@babel/plugin-transform-optional-catch-binding" "^7.24.1" - "@babel/plugin-transform-optional-chaining" "^7.24.1" - "@babel/plugin-transform-parameters" "^7.24.1" - "@babel/plugin-transform-private-methods" "^7.24.1" - "@babel/plugin-transform-private-property-in-object" "^7.24.1" - "@babel/plugin-transform-property-literals" "^7.24.1" - "@babel/plugin-transform-regenerator" "^7.24.1" - "@babel/plugin-transform-reserved-words" "^7.24.1" - "@babel/plugin-transform-shorthand-properties" "^7.24.1" - "@babel/plugin-transform-spread" "^7.24.1" - "@babel/plugin-transform-sticky-regex" "^7.24.1" - "@babel/plugin-transform-template-literals" "^7.24.1" - "@babel/plugin-transform-typeof-symbol" "^7.24.1" - "@babel/plugin-transform-unicode-escapes" "^7.24.1" - "@babel/plugin-transform-unicode-property-regex" "^7.24.1" - "@babel/plugin-transform-unicode-regex" "^7.24.1" - "@babel/plugin-transform-unicode-sets-regex" "^7.24.1" - "@babel/preset-modules" "0.1.6-no-external-plugins" - babel-plugin-polyfill-corejs2 "^0.4.10" - babel-plugin-polyfill-corejs3 "^0.10.4" - babel-plugin-polyfill-regenerator "^0.6.1" - core-js-compat "^3.31.0" - semver "^6.3.1" - -"@babel/preset-modules@0.1.6-no-external-plugins": - version "0.1.6-no-external-plugins" - resolved "https://registry.yarnpkg.com/@babel/preset-modules/-/preset-modules-0.1.6-no-external-plugins.tgz#ccb88a2c49c817236861fee7826080573b8a923a" - integrity sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA== - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/types" "^7.4.4" - esutils "^2.0.2" - -"@babel/regjsgen@^0.8.0": - version "0.8.0" - resolved "https://registry.yarnpkg.com/@babel/regjsgen/-/regjsgen-0.8.0.tgz#f0ba69b075e1f05fb2825b7fad991e7adbb18310" - integrity sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA== - -"@babel/runtime@^7.8.4": - version "7.24.1" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.24.1.tgz#431f9a794d173b53720e69a6464abc6f0e2a5c57" - integrity sha512-+BIznRzyqBf+2wCTxcKE3wDjfGeCoVE61KSHGpkzqrLi8qxqFwBeUFyId2cxkTmm55fzDGnm0+yCxaxygrLUnQ== +"@babel/runtime@^7.12.5": + version "7.26.7" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.26.7.tgz#f4e7fe527cd710f8dc0618610b61b4b060c3c341" + integrity sha512-AOPI3D+a8dXnja+iwsUqGRjr1BbZIe771sXdapOtYI531gSqpi92vXivKcq2asu/DFpdl1ceFAKZyRzK2PCVcQ== dependencies: regenerator-runtime "^0.14.0" @@ -971,7 +334,7 @@ debug "^4.3.1" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.22.15", "@babel/types@^7.22.19", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.24.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4": +"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.24.0", "@babel/types@^7.3.3": version "7.24.0" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.24.0.tgz#3b951f435a92e7333eba05b7566fd297960ea1bf" integrity sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w== @@ -980,15 +343,161 @@ "@babel/helper-validator-identifier" "^7.22.20" to-fast-properties "^2.0.0" +"@babel/types@^7.25.4", "@babel/types@^7.26.10": + version "7.26.10" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.26.10.tgz#396382f6335bd4feb65741eacfc808218f859259" + integrity sha512-emqcG3vHrpxUKTrxcblR36dcrcoRDvKmnL/dCL6ZsHaShW80qxCAcNhzQZrpeM765VzEos+xOi4s+r4IXzTwdQ== + dependencies: + "@babel/helper-string-parser" "^7.25.9" + "@babel/helper-validator-identifier" "^7.25.9" + +"@babel/types@^7.26.8": + version "7.26.8" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.26.8.tgz#97dcdc190fab45be7f3dc073e3c11160d677c127" + integrity sha512-eUuWapzEGWFEpHFxgEaBG8e3n6S8L3MSu0oda755rOfabWPnh0Our1AozNFVUxGFIhbKgd1ksprsoDGMinTOTA== + dependencies: + "@babel/helper-string-parser" "^7.25.9" + "@babel/helper-validator-identifier" "^7.25.9" + "@bcoe/v8-coverage@^0.2.3": version "0.2.3" resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@discoveryjs/json-ext@^0.5.0": - version "0.5.7" - resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70" - integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw== +"@bcoe/v8-coverage@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-1.0.2.tgz#bbe12dca5b4ef983a0d0af4b07b9bc90ea0ababa" + integrity sha512-6zABk/ECA/QYSCQ1NGiVwwbQerUCZ+TQbp64Q3AgmfNvurHH0j8TtXa1qbShXA6qqkpAj4V5W8pP6mLe1mcMqA== + +"@editorjs/editorjs@^2.30.8": + version "2.30.8" + resolved "https://registry.yarnpkg.com/@editorjs/editorjs/-/editorjs-2.30.8.tgz#e88773622b656f002d6aac31a4b09a04ddea554b" + integrity sha512-ClFuxI1qZTfXPJTacQfsJtOUP6bKoIe6BQNdAvGsDTDVwMnZEzoaSOwvUpdZEE56xppVfQueNK/1MElV9SJKHg== + +"@esbuild/aix-ppc64@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.24.2.tgz#38848d3e25afe842a7943643cbcd387cc6e13461" + integrity sha512-thpVCb/rhxE/BnMLQ7GReQLLN8q9qbHmI55F4489/ByVg2aQaQ6kbcLb6FHkocZzQhxc4gx0sCk0tJkKBFzDhA== + +"@esbuild/android-arm64@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.24.2.tgz#f592957ae8b5643129fa889c79e69cd8669bb894" + integrity sha512-cNLgeqCqV8WxfcTIOeL4OAtSmL8JjcN6m09XIgro1Wi7cF4t/THaWEa7eL5CMoMBdjoHOTh/vwTO/o2TRXIyzg== + +"@esbuild/android-arm@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.24.2.tgz#72d8a2063aa630308af486a7e5cbcd1e134335b3" + integrity sha512-tmwl4hJkCfNHwFB3nBa8z1Uy3ypZpxqxfTQOcHX+xRByyYgunVbZ9MzUUfb0RxaHIMnbHagwAxuTL+tnNM+1/Q== + +"@esbuild/android-x64@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.24.2.tgz#9a7713504d5f04792f33be9c197a882b2d88febb" + integrity sha512-B6Q0YQDqMx9D7rvIcsXfmJfvUYLoP722bgfBlO5cGvNVb5V/+Y7nhBE3mHV9OpxBf4eAS2S68KZztiPaWq4XYw== + +"@esbuild/darwin-arm64@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.24.2.tgz#02ae04ad8ebffd6e2ea096181b3366816b2b5936" + integrity sha512-kj3AnYWc+CekmZnS5IPu9D+HWtUI49hbnyqk0FLEJDbzCIQt7hg7ucF1SQAilhtYpIujfaHr6O0UHlzzSPdOeA== + +"@esbuild/darwin-x64@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.24.2.tgz#9ec312bc29c60e1b6cecadc82bd504d8adaa19e9" + integrity sha512-WeSrmwwHaPkNR5H3yYfowhZcbriGqooyu3zI/3GGpF8AyUdsrrP0X6KumITGA9WOyiJavnGZUwPGvxvwfWPHIA== + +"@esbuild/freebsd-arm64@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.24.2.tgz#5e82f44cb4906d6aebf24497d6a068cfc152fa00" + integrity sha512-UN8HXjtJ0k/Mj6a9+5u6+2eZ2ERD7Edt1Q9IZiB5UZAIdPnVKDoG7mdTVGhHJIeEml60JteamR3qhsr1r8gXvg== + +"@esbuild/freebsd-x64@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.24.2.tgz#3fb1ce92f276168b75074b4e51aa0d8141ecce7f" + integrity sha512-TvW7wE/89PYW+IevEJXZ5sF6gJRDY/14hyIGFXdIucxCsbRmLUcjseQu1SyTko+2idmCw94TgyaEZi9HUSOe3Q== + +"@esbuild/linux-arm64@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.24.2.tgz#856b632d79eb80aec0864381efd29de8fd0b1f43" + integrity sha512-7HnAD6074BW43YvvUmE/35Id9/NB7BeX5EoNkK9obndmZBUk8xmJJeU7DwmUeN7tkysslb2eSl6CTrYz6oEMQg== + +"@esbuild/linux-arm@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.24.2.tgz#c846b4694dc5a75d1444f52257ccc5659021b736" + integrity sha512-n0WRM/gWIdU29J57hJyUdIsk0WarGd6To0s+Y+LwvlC55wt+GT/OgkwoXCXvIue1i1sSNWblHEig00GBWiJgfA== + +"@esbuild/linux-ia32@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.24.2.tgz#f8a16615a78826ccbb6566fab9a9606cfd4a37d5" + integrity sha512-sfv0tGPQhcZOgTKO3oBE9xpHuUqguHvSo4jl+wjnKwFpapx+vUDcawbwPNuBIAYdRAvIDBfZVvXprIj3HA+Ugw== + +"@esbuild/linux-loong64@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.24.2.tgz#1c451538c765bf14913512c76ed8a351e18b09fc" + integrity sha512-CN9AZr8kEndGooS35ntToZLTQLHEjtVB5n7dl8ZcTZMonJ7CCfStrYhrzF97eAecqVbVJ7APOEe18RPI4KLhwQ== + +"@esbuild/linux-mips64el@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.24.2.tgz#0846edeefbc3d8d50645c51869cc64401d9239cb" + integrity sha512-iMkk7qr/wl3exJATwkISxI7kTcmHKE+BlymIAbHO8xanq/TjHaaVThFF6ipWzPHryoFsesNQJPE/3wFJw4+huw== + +"@esbuild/linux-ppc64@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.24.2.tgz#8e3fc54505671d193337a36dfd4c1a23b8a41412" + integrity sha512-shsVrgCZ57Vr2L8mm39kO5PPIb+843FStGt7sGGoqiiWYconSxwTiuswC1VJZLCjNiMLAMh34jg4VSEQb+iEbw== + +"@esbuild/linux-riscv64@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.24.2.tgz#6a1e92096d5e68f7bb10a0d64bb5b6d1daf9a694" + integrity sha512-4eSFWnU9Hhd68fW16GD0TINewo1L6dRrB+oLNNbYyMUAeOD2yCK5KXGK1GH4qD/kT+bTEXjsyTCiJGHPZ3eM9Q== + +"@esbuild/linux-s390x@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.24.2.tgz#ab18e56e66f7a3c49cb97d337cd0a6fea28a8577" + integrity sha512-S0Bh0A53b0YHL2XEXC20bHLuGMOhFDO6GN4b3YjRLK//Ep3ql3erpNcPlEFed93hsQAjAQDNsvcK+hV90FubSw== + +"@esbuild/linux-x64@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.24.2.tgz#8140c9b40da634d380b0b29c837a0b4267aff38f" + integrity sha512-8Qi4nQcCTbLnK9WoMjdC9NiTG6/E38RNICU6sUNqK0QFxCYgoARqVqxdFmWkdonVsvGqWhmm7MO0jyTqLqwj0Q== + +"@esbuild/netbsd-arm64@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.24.2.tgz#65f19161432bafb3981f5f20a7ff45abb2e708e6" + integrity sha512-wuLK/VztRRpMt9zyHSazyCVdCXlpHkKm34WUyinD2lzK07FAHTq0KQvZZlXikNWkDGoT6x3TD51jKQ7gMVpopw== + +"@esbuild/netbsd-x64@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.24.2.tgz#7a3a97d77abfd11765a72f1c6f9b18f5396bcc40" + integrity sha512-VefFaQUc4FMmJuAxmIHgUmfNiLXY438XrL4GDNV1Y1H/RW3qow68xTwjZKfj/+Plp9NANmzbH5R40Meudu8mmw== + +"@esbuild/openbsd-arm64@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.24.2.tgz#58b00238dd8f123bfff68d3acc53a6ee369af89f" + integrity sha512-YQbi46SBct6iKnszhSvdluqDmxCJA+Pu280Av9WICNwQmMxV7nLRHZfjQzwbPs3jeWnuAhE9Jy0NrnJ12Oz+0A== + +"@esbuild/openbsd-x64@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.24.2.tgz#0ac843fda0feb85a93e288842936c21a00a8a205" + integrity sha512-+iDS6zpNM6EnJyWv0bMGLWSWeXGN/HTaF/LXHXHwejGsVi+ooqDfMCCTerNFxEkM3wYVcExkeGXNqshc9iMaOA== + +"@esbuild/sunos-x64@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.24.2.tgz#8b7aa895e07828d36c422a4404cc2ecf27fb15c6" + integrity sha512-hTdsW27jcktEvpwNHJU4ZwWFGkz2zRJUz8pvddmXPtXDzVKTTINmlmga3ZzwcuMpUvLw7JkLy9QLKyGpD2Yxig== + +"@esbuild/win32-arm64@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.24.2.tgz#c023afb647cabf0c3ed13f0eddfc4f1d61c66a85" + integrity sha512-LihEQ2BBKVFLOC9ZItT9iFprsE9tqjDjnbulhHoFxYQtQfai7qfluVODIYxt1PgdoyQkz23+01rzwNwYfutxUQ== + +"@esbuild/win32-ia32@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.24.2.tgz#96c356132d2dda990098c8b8b951209c3cd743c2" + integrity sha512-q+iGUwfs8tncmFC9pcnD5IvRHAzmbwQ3GPS5/ceCyHdjXubwQWI12MKWSNSMYLJMq23/IUCvJMS76PDqXe1fxA== + +"@esbuild/win32-x64@0.24.2": + version "0.24.2" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.24.2.tgz#34aa0b52d0fbb1a654b596acfa595f0c7b77a77b" + integrity sha512-7VTgWzgMGvup6aSqDPLiW5zHaxYJGTO4OokMjIlrCtf+VpEL+cXKtCvg723iguPYI5oaUNdS+/V7OU2gvXVWEg== "@eslint-community/eslint-utils@^4.2.0": version "4.4.0" @@ -1041,6 +550,18 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz#d9fae00a2d5cb40f92cfe64b47ad749fbc38f917" integrity sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw== +"@isaacs/cliui@^8.0.2": + version "8.0.2" + resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" + integrity sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA== + dependencies: + string-width "^5.1.2" + string-width-cjs "npm:string-width@^4.2.0" + strip-ansi "^7.0.1" + strip-ansi-cjs "npm:strip-ansi@^6.0.1" + wrap-ansi "^8.1.0" + wrap-ansi-cjs "npm:wrap-ansi@^7.0.0" + "@istanbuljs/load-nyc-config@^1.0.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced" @@ -1268,20 +789,17 @@ resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.2.1.tgz#558fb6472ed16a4c850b889530e6b36438c49280" integrity sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A== -"@jridgewell/source-map@^0.3.3": - version "0.3.6" - resolved "https://registry.yarnpkg.com/@jridgewell/source-map/-/source-map-0.3.6.tgz#9d71ca886e32502eb9362c9a74a46787c36df81a" - integrity sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ== - dependencies: - "@jridgewell/gen-mapping" "^0.3.5" - "@jridgewell/trace-mapping" "^0.3.25" - "@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.14": version "1.4.15" resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== -"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.20", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": +"@jridgewell/sourcemap-codec@^1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz#3188bcb273a414b0d215fd22a58540b989b9409a" + integrity sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ== + +"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.23", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": version "0.3.25" resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz#15f190e98895f3fc23276ee14bc76b675c2e50f0" integrity sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ== @@ -1289,6 +807,49 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" +"@microsoft/api-extractor-model@7.30.3": + version "7.30.3" + resolved "https://registry.yarnpkg.com/@microsoft/api-extractor-model/-/api-extractor-model-7.30.3.tgz#d1256b6955c8c2a1115e0cfe99e1e8f9802e52cc" + integrity sha512-yEAvq0F78MmStXdqz9TTT4PZ05Xu5R8nqgwI5xmUmQjWBQ9E6R2n8HB/iZMRciG4rf9iwI2mtuQwIzDXBvHn1w== + dependencies: + "@microsoft/tsdoc" "~0.15.1" + "@microsoft/tsdoc-config" "~0.17.1" + "@rushstack/node-core-library" "5.11.0" + +"@microsoft/api-extractor@^7.49.1": + version "7.50.0" + resolved "https://registry.yarnpkg.com/@microsoft/api-extractor/-/api-extractor-7.50.0.tgz#e9fa4ecdb4fbb3327cb199fc5f87b79eae6b3f13" + integrity sha512-Ds/PHTiVzuENQsmXrJKkSdfgNkr/SDG/2rDef0AWl3BchAnXdO7gXaYsAkNx4gWiC4OngNA3fQfd3+BcQxP1DQ== + dependencies: + "@microsoft/api-extractor-model" "7.30.3" + "@microsoft/tsdoc" "~0.15.1" + "@microsoft/tsdoc-config" "~0.17.1" + "@rushstack/node-core-library" "5.11.0" + "@rushstack/rig-package" "0.5.3" + "@rushstack/terminal" "0.15.0" + "@rushstack/ts-command-line" "4.23.5" + lodash "~4.17.15" + minimatch "~3.0.3" + resolve "~1.22.1" + semver "~7.5.4" + source-map "~0.6.1" + typescript "5.7.2" + +"@microsoft/tsdoc-config@~0.17.1": + version "0.17.1" + resolved "https://registry.yarnpkg.com/@microsoft/tsdoc-config/-/tsdoc-config-0.17.1.tgz#e0f0b50628f4ad7fe121ca616beacfe6a25b9335" + integrity sha512-UtjIFe0C6oYgTnad4q1QP4qXwLhe6tIpNTRStJ2RZEPIkqQPREAwE5spzVxsdn9UaEMUqhh0AqSx3X4nWAKXWw== + dependencies: + "@microsoft/tsdoc" "0.15.1" + ajv "~8.12.0" + jju "~1.4.0" + resolve "~1.22.2" + +"@microsoft/tsdoc@0.15.1", "@microsoft/tsdoc@~0.15.1": + version "0.15.1" + resolved "https://registry.yarnpkg.com/@microsoft/tsdoc/-/tsdoc-0.15.1.tgz#d4f6937353bc4568292654efb0a0e0532adbcba2" + integrity sha512-4aErSrCR/On/e5G2hDP0wjooqDdauzEbIq8hIkIe5pXV0rtWJZvdCEKL0ykZxex+IxIwBp0eGeV48hQN07dXtw== + "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" @@ -1310,6 +871,155 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" +"@pkgjs/parseargs@^0.11.0": + version "0.11.0" + resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" + integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== + +"@rollup/pluginutils@^5.1.4": + version "5.1.4" + resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-5.1.4.tgz#bb94f1f9eaaac944da237767cdfee6c5b2262d4a" + integrity sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ== + dependencies: + "@types/estree" "^1.0.0" + estree-walker "^2.0.2" + picomatch "^4.0.2" + +"@rollup/rollup-android-arm-eabi@4.34.6": + version "4.34.6" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.34.6.tgz#9b726b4dcafb9332991e9ca49d54bafc71d9d87f" + integrity sha512-+GcCXtOQoWuC7hhX1P00LqjjIiS/iOouHXhMdiDSnq/1DGTox4SpUvO52Xm+div6+106r+TcvOeo/cxvyEyTgg== + +"@rollup/rollup-android-arm64@4.34.6": + version "4.34.6" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.34.6.tgz#88326ff46168a47851077ca0bf0c442689ec088f" + integrity sha512-E8+2qCIjciYUnCa1AiVF1BkRgqIGW9KzJeesQqVfyRITGQN+dFuoivO0hnro1DjT74wXLRZ7QF8MIbz+luGaJA== + +"@rollup/rollup-darwin-arm64@4.34.6": + version "4.34.6" + resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.34.6.tgz#b8fbcc9389bc6fad3334a1d16dbeaaa5637c5772" + integrity sha512-z9Ib+OzqN3DZEjX7PDQMHEhtF+t6Mi2z/ueChQPLS/qUMKY7Ybn5A2ggFoKRNRh1q1T03YTQfBTQCJZiepESAg== + +"@rollup/rollup-darwin-x64@4.34.6": + version "4.34.6" + resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.34.6.tgz#1aa2bcad84c0fb5902e945d88822e17a4f661d51" + integrity sha512-PShKVY4u0FDAR7jskyFIYVyHEPCPnIQY8s5OcXkdU8mz3Y7eXDJPdyM/ZWjkYdR2m0izD9HHWA8sGcXn+Qrsyg== + +"@rollup/rollup-freebsd-arm64@4.34.6": + version "4.34.6" + resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.34.6.tgz#29c54617e0929264dcb6416597d6d7481696e49f" + integrity sha512-YSwyOqlDAdKqs0iKuqvRHLN4SrD2TiswfoLfvYXseKbL47ht1grQpq46MSiQAx6rQEN8o8URtpXARCpqabqxGQ== + +"@rollup/rollup-freebsd-x64@4.34.6": + version "4.34.6" + resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.34.6.tgz#a8b58ab7d31882559d93f2d1b5863d9e4b4b2678" + integrity sha512-HEP4CgPAY1RxXwwL5sPFv6BBM3tVeLnshF03HMhJYCNc6kvSqBgTMmsEjb72RkZBAWIqiPUyF1JpEBv5XT9wKQ== + +"@rollup/rollup-linux-arm-gnueabihf@4.34.6": + version "4.34.6" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.34.6.tgz#a844e1978c8b9766b169ecb1cb5cc0d8a3f05930" + integrity sha512-88fSzjC5xeH9S2Vg3rPgXJULkHcLYMkh8faix8DX4h4TIAL65ekwuQMA/g2CXq8W+NJC43V6fUpYZNjaX3+IIg== + +"@rollup/rollup-linux-arm-musleabihf@4.34.6": + version "4.34.6" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.34.6.tgz#6b44c3b7257985d71b087fcb4ef01325e2fff201" + integrity sha512-wM4ztnutBqYFyvNeR7Av+reWI/enK9tDOTKNF+6Kk2Q96k9bwhDDOlnCUNRPvromlVXo04riSliMBs/Z7RteEg== + +"@rollup/rollup-linux-arm64-gnu@4.34.6": + version "4.34.6" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.34.6.tgz#ebb499cf1720115256d0c9ae7598c90cc2251bc5" + integrity sha512-9RyprECbRa9zEjXLtvvshhw4CMrRa3K+0wcp3KME0zmBe1ILmvcVHnypZ/aIDXpRyfhSYSuN4EPdCCj5Du8FIA== + +"@rollup/rollup-linux-arm64-musl@4.34.6": + version "4.34.6" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.34.6.tgz#9658221b59d9e5643348f9a52fa5ef35b4dc07b1" + integrity sha512-qTmklhCTyaJSB05S+iSovfo++EwnIEZxHkzv5dep4qoszUMX5Ca4WM4zAVUMbfdviLgCSQOu5oU8YoGk1s6M9Q== + +"@rollup/rollup-linux-loongarch64-gnu@4.34.6": + version "4.34.6" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.34.6.tgz#19418cc57579a5655af2d850a89d74b3f7e9aa92" + integrity sha512-4Qmkaps9yqmpjY5pvpkfOerYgKNUGzQpFxV6rnS7c/JfYbDSU0y6WpbbredB5cCpLFGJEqYX40WUmxMkwhWCjw== + +"@rollup/rollup-linux-powerpc64le-gnu@4.34.6": + version "4.34.6" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.34.6.tgz#fe0bce7778cb6ce86898c781f3f11369d1a4952c" + integrity sha512-Zsrtux3PuaxuBTX/zHdLaFmcofWGzaWW1scwLU3ZbW/X+hSsFbz9wDIp6XvnT7pzYRl9MezWqEqKy7ssmDEnuQ== + +"@rollup/rollup-linux-riscv64-gnu@4.34.6": + version "4.34.6" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.34.6.tgz#9c158360abf6e6f7794285642ba0898c580291f6" + integrity sha512-aK+Zp+CRM55iPrlyKiU3/zyhgzWBxLVrw2mwiQSYJRobCURb781+XstzvA8Gkjg/hbdQFuDw44aUOxVQFycrAg== + +"@rollup/rollup-linux-s390x-gnu@4.34.6": + version "4.34.6" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.34.6.tgz#f9113498d22962baacdda008b5587d568b05aa34" + integrity sha512-WoKLVrY9ogmaYPXwTH326+ErlCIgMmsoRSx6bO+l68YgJnlOXhygDYSZe/qbUJCSiCiZAQ+tKm88NcWuUXqOzw== + +"@rollup/rollup-linux-x64-gnu@4.34.6": + version "4.34.6" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.34.6.tgz#aec8d4cdf911cd869a72b8bd00833cb426664e0c" + integrity sha512-Sht4aFvmA4ToHd2vFzwMFaQCiYm2lDFho5rPcvPBT5pCdC+GwHG6CMch4GQfmWTQ1SwRKS0dhDYb54khSrjDWw== + +"@rollup/rollup-linux-x64-musl@4.34.6": + version "4.34.6" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.34.6.tgz#61c0a146bdd1b5e0dcda33690dd909b321d8f20f" + integrity sha512-zmmpOQh8vXc2QITsnCiODCDGXFC8LMi64+/oPpPx5qz3pqv0s6x46ps4xoycfUiVZps5PFn1gksZzo4RGTKT+A== + +"@rollup/rollup-win32-arm64-msvc@4.34.6": + version "4.34.6" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.34.6.tgz#c6c5bf290a3a459c18871110bc2e7009ce35b15a" + integrity sha512-3/q1qUsO/tLqGBaD4uXsB6coVGB3usxw3qyeVb59aArCgedSF66MPdgRStUd7vbZOsko/CgVaY5fo2vkvPLWiA== + +"@rollup/rollup-win32-ia32-msvc@4.34.6": + version "4.34.6" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.34.6.tgz#16ca6bdadc9e054818b9c51f8dac82f6b8afab81" + integrity sha512-oLHxuyywc6efdKVTxvc0135zPrRdtYVjtVD5GUm55I3ODxhU/PwkQFD97z16Xzxa1Fz0AEe4W/2hzRtd+IfpOA== + +"@rollup/rollup-win32-x64-msvc@4.34.6": + version "4.34.6" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.34.6.tgz#f3d03ce2d82723eb089188ea1494a719b09e1561" + integrity sha512-0PVwmgzZ8+TZ9oGBmdZoQVXflbvuwzN/HRclujpl4N/q3i+y0lqLw8n1bXA8ru3sApDjlmONaNAuYr38y1Kr9w== + +"@rushstack/node-core-library@5.11.0": + version "5.11.0" + resolved "https://registry.yarnpkg.com/@rushstack/node-core-library/-/node-core-library-5.11.0.tgz#8ceb980f3a591e1254167bb5ffdc200d1893b783" + integrity sha512-I8+VzG9A0F3nH2rLpPd7hF8F7l5Xb7D+ldrWVZYegXM6CsKkvWc670RlgK3WX8/AseZfXA/vVrh0bpXe2Y2UDQ== + dependencies: + ajv "~8.13.0" + ajv-draft-04 "~1.0.0" + ajv-formats "~3.0.1" + fs-extra "~11.3.0" + import-lazy "~4.0.0" + jju "~1.4.0" + resolve "~1.22.1" + semver "~7.5.4" + +"@rushstack/rig-package@0.5.3": + version "0.5.3" + resolved "https://registry.yarnpkg.com/@rushstack/rig-package/-/rig-package-0.5.3.tgz#ea4d8a3458540b1295500149c04e645f23134e5d" + integrity sha512-olzSSjYrvCNxUFZowevC3uz8gvKr3WTpHQ7BkpjtRpA3wK+T0ybep/SRUMfr195gBzJm5gaXw0ZMgjIyHqJUow== + dependencies: + resolve "~1.22.1" + strip-json-comments "~3.1.1" + +"@rushstack/terminal@0.15.0": + version "0.15.0" + resolved "https://registry.yarnpkg.com/@rushstack/terminal/-/terminal-0.15.0.tgz#9599c6684ed2adc9e74b767a2d45159975bcddb8" + integrity sha512-vXQPRQ+vJJn4GVqxkwRe+UGgzNxdV8xuJZY2zem46Y0p3tlahucH9/hPmLGj2i9dQnUBFiRnoM9/KW7PYw8F4Q== + dependencies: + "@rushstack/node-core-library" "5.11.0" + supports-color "~8.1.1" + +"@rushstack/ts-command-line@4.23.5": + version "4.23.5" + resolved "https://registry.yarnpkg.com/@rushstack/ts-command-line/-/ts-command-line-4.23.5.tgz#523e0db8906d831a730f15acc15fbcf7906c650a" + integrity sha512-jg70HfoK44KfSP3MTiL5rxsZH7X1ktX3cZs9Sl8eDu1/LxJSbPsh0MOFRC710lIuYYSgxWjI5AjbCBAl7u3RxA== + dependencies: + "@rushstack/terminal" "0.15.0" + "@types/argparse" "1.0.38" + argparse "~1.0.9" + string-argv "~0.3.1" + "@sinclair/typebox@^0.27.8": version "0.27.8" resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.27.8.tgz#6667fac16c436b5434a387a34dedb013198f6e6e" @@ -1329,11 +1039,48 @@ dependencies: "@sinonjs/commons" "^3.0.0" +"@testing-library/dom@^10.4.0": + version "10.4.0" + resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-10.4.0.tgz#82a9d9462f11d240ecadbf406607c6ceeeff43a8" + integrity sha512-pemlzrSESWbdAloYml3bAJMEfNh1Z7EduzqPKprCH5S341frlpYnUEW0H72dLxa6IsYr+mPno20GiSm+h9dEdQ== + dependencies: + "@babel/code-frame" "^7.10.4" + "@babel/runtime" "^7.12.5" + "@types/aria-query" "^5.0.1" + aria-query "5.3.0" + chalk "^4.1.0" + dom-accessibility-api "^0.5.9" + lz-string "^1.5.0" + pretty-format "^27.0.2" + +"@testing-library/jest-dom@^6.6.3": + version "6.6.3" + resolved "https://registry.yarnpkg.com/@testing-library/jest-dom/-/jest-dom-6.6.3.tgz#26ba906cf928c0f8172e182c6fe214eb4f9f2bd2" + integrity sha512-IteBhl4XqYNkM54f4ejhLRJiZNqcSCoXUOG2CPK7qbD322KjQozM4kHQOfkG2oln9b9HTYqs+Sae8vBATubxxA== + dependencies: + "@adobe/css-tools" "^4.4.0" + aria-query "^5.0.0" + chalk "^3.0.0" + css.escape "^1.5.1" + dom-accessibility-api "^0.6.3" + lodash "^4.17.21" + redent "^3.0.0" + "@tootallnate/once@2": version "2.0.0" resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A== +"@types/argparse@1.0.38": + version "1.0.38" + resolved "https://registry.yarnpkg.com/@types/argparse/-/argparse-1.0.38.tgz#a81fd8606d481f873a3800c6ebae4f1d768a56a9" + integrity sha512-ebDJ9b0e702Yr7pWgB0jzm+CX4Srzz8RcXtLJDJB+BSccqMa36uyH/zUsSYao5+BD1ytv3k3rPYCq4mAE1hsXA== + +"@types/aria-query@^5.0.1": + version "5.0.4" + resolved "https://registry.yarnpkg.com/@types/aria-query/-/aria-query-5.0.4.tgz#1a31c3d378850d2778dabb6374d036dcba4ba708" + integrity sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw== + "@types/babel__core@^7.1.14": version "7.20.5" resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.5.tgz#3df15f27ba85319caa07ba08d0721889bb39c017" @@ -1367,26 +1114,15 @@ dependencies: "@babel/types" "^7.20.7" -"@types/eslint-scope@^3.7.3": - version "3.7.7" - resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.7.tgz#3108bd5f18b0cdb277c867b3dd449c9ed7079ac5" - integrity sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg== - dependencies: - "@types/eslint" "*" - "@types/estree" "*" - -"@types/eslint@*": - version "8.56.6" - resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.56.6.tgz#d5dc16cac025d313ee101108ba5714ea10eb3ed0" - integrity sha512-ymwc+qb1XkjT/gfoQwxIeHZ6ixH23A+tCT2ADSA/DPVKzAjwYkTXBMCQ/f6fe4wEa85Lhp26VPeUxI7wMhAi7A== - dependencies: - "@types/estree" "*" - "@types/json-schema" "*" +"@types/deep-equal@^1.0.4": + version "1.0.4" + resolved "https://registry.yarnpkg.com/@types/deep-equal/-/deep-equal-1.0.4.tgz#c0a854be62d6b9fae665137a6639aab53389a147" + integrity sha512-tqdiS4otQP4KmY0PR3u6KbZ5EWvhNdUoS/jc93UuK23C220lOZ/9TvjfxdPcKvqwwDVtmtSCrnr0p/2dirAxkA== -"@types/estree@*", "@types/estree@^1.0.5": - version "1.0.5" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.5.tgz#a6ce3e556e00fd9895dd872dd172ad0d4bd687f4" - integrity sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw== +"@types/estree@1.0.6", "@types/estree@^1.0.0": + version "1.0.6" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.6.tgz#628effeeae2064a1b4e79f78e81d87b7e5fc7b50" + integrity sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw== "@types/graceful-fs@^4.1.3": version "4.1.9" @@ -1423,7 +1159,7 @@ "@types/tough-cookie" "*" parse5 "^7.0.0" -"@types/json-schema@*", "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": +"@types/json-schema@^7.0.9": version "7.0.15" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== @@ -1520,151 +1256,149 @@ resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== -"@webassemblyjs/ast@1.12.1", "@webassemblyjs/ast@^1.12.1": - version "1.12.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.12.1.tgz#bb16a0e8b1914f979f45864c23819cc3e3f0d4bb" - integrity sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg== - dependencies: - "@webassemblyjs/helper-numbers" "1.11.6" - "@webassemblyjs/helper-wasm-bytecode" "1.11.6" - -"@webassemblyjs/floating-point-hex-parser@1.11.6": - version "1.11.6" - resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz#dacbcb95aff135c8260f77fa3b4c5fea600a6431" - integrity sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw== - -"@webassemblyjs/helper-api-error@1.11.6": - version "1.11.6" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz#6132f68c4acd59dcd141c44b18cbebbd9f2fa768" - integrity sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q== - -"@webassemblyjs/helper-buffer@1.12.1": - version "1.12.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.12.1.tgz#6df20d272ea5439bf20ab3492b7fb70e9bfcb3f6" - integrity sha512-nzJwQw99DNDKr9BVCOZcLuJJUlqkJh+kVzVl6Fmq/tI5ZtEyWT1KZMyOXltXLZJmDtvLCDgwsyrkohEtopTXCw== - -"@webassemblyjs/helper-numbers@1.11.6": - version "1.11.6" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz#cbce5e7e0c1bd32cf4905ae444ef64cea919f1b5" - integrity sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g== - dependencies: - "@webassemblyjs/floating-point-hex-parser" "1.11.6" - "@webassemblyjs/helper-api-error" "1.11.6" - "@xtuc/long" "4.2.2" - -"@webassemblyjs/helper-wasm-bytecode@1.11.6": - version "1.11.6" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz#bb2ebdb3b83aa26d9baad4c46d4315283acd51e9" - integrity sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA== - -"@webassemblyjs/helper-wasm-section@1.12.1": - version "1.12.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.12.1.tgz#3da623233ae1a60409b509a52ade9bc22a37f7bf" - integrity sha512-Jif4vfB6FJlUlSbgEMHUyk1j234GTNG9dBJ4XJdOySoj518Xj0oGsNi59cUQF4RRMS9ouBUxDDdyBVfPTypa5g== - dependencies: - "@webassemblyjs/ast" "1.12.1" - "@webassemblyjs/helper-buffer" "1.12.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.6" - "@webassemblyjs/wasm-gen" "1.12.1" - -"@webassemblyjs/ieee754@1.11.6": - version "1.11.6" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz#bb665c91d0b14fffceb0e38298c329af043c6e3a" - integrity sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg== - dependencies: - "@xtuc/ieee754" "^1.2.0" - -"@webassemblyjs/leb128@1.11.6": - version "1.11.6" - resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.11.6.tgz#70e60e5e82f9ac81118bc25381a0b283893240d7" - integrity sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ== - dependencies: - "@xtuc/long" "4.2.2" - -"@webassemblyjs/utf8@1.11.6": - version "1.11.6" - resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.11.6.tgz#90f8bc34c561595fe156603be7253cdbcd0fab5a" - integrity sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA== - -"@webassemblyjs/wasm-edit@^1.12.1": - version "1.12.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.12.1.tgz#9f9f3ff52a14c980939be0ef9d5df9ebc678ae3b" - integrity sha512-1DuwbVvADvS5mGnXbE+c9NfA8QRcZ6iKquqjjmR10k6o+zzsRVesil54DKexiowcFCPdr/Q0qaMgB01+SQ1u6g== - dependencies: - "@webassemblyjs/ast" "1.12.1" - "@webassemblyjs/helper-buffer" "1.12.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.6" - "@webassemblyjs/helper-wasm-section" "1.12.1" - "@webassemblyjs/wasm-gen" "1.12.1" - "@webassemblyjs/wasm-opt" "1.12.1" - "@webassemblyjs/wasm-parser" "1.12.1" - "@webassemblyjs/wast-printer" "1.12.1" - -"@webassemblyjs/wasm-gen@1.12.1": - version "1.12.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.12.1.tgz#a6520601da1b5700448273666a71ad0a45d78547" - integrity sha512-TDq4Ojh9fcohAw6OIMXqiIcTq5KUXTGRkVxbSo1hQnSy6lAM5GSdfwWeSxpAo0YzgsgF182E/U0mDNhuA0tW7w== - dependencies: - "@webassemblyjs/ast" "1.12.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.6" - "@webassemblyjs/ieee754" "1.11.6" - "@webassemblyjs/leb128" "1.11.6" - "@webassemblyjs/utf8" "1.11.6" - -"@webassemblyjs/wasm-opt@1.12.1": - version "1.12.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.12.1.tgz#9e6e81475dfcfb62dab574ac2dda38226c232bc5" - integrity sha512-Jg99j/2gG2iaz3hijw857AVYekZe2SAskcqlWIZXjji5WStnOpVoat3gQfT/Q5tb2djnCjBtMocY/Su1GfxPBg== - dependencies: - "@webassemblyjs/ast" "1.12.1" - "@webassemblyjs/helper-buffer" "1.12.1" - "@webassemblyjs/wasm-gen" "1.12.1" - "@webassemblyjs/wasm-parser" "1.12.1" - -"@webassemblyjs/wasm-parser@1.12.1", "@webassemblyjs/wasm-parser@^1.12.1": - version "1.12.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.12.1.tgz#c47acb90e6f083391e3fa61d113650eea1e95937" - integrity sha512-xikIi7c2FHXysxXe3COrVUPSheuBtpcfhbpFj4gmu7KRLYOzANztwUU0IbsqvMqzuNK2+glRGWCEqZo1WCLyAQ== - dependencies: - "@webassemblyjs/ast" "1.12.1" - "@webassemblyjs/helper-api-error" "1.11.6" - "@webassemblyjs/helper-wasm-bytecode" "1.11.6" - "@webassemblyjs/ieee754" "1.11.6" - "@webassemblyjs/leb128" "1.11.6" - "@webassemblyjs/utf8" "1.11.6" - -"@webassemblyjs/wast-printer@1.12.1": - version "1.12.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.12.1.tgz#bcecf661d7d1abdaf989d8341a4833e33e2b31ac" - integrity sha512-+X4WAlOisVWQMikjbcvY2e0rwPsKQ9F688lksZhBcPycBBuii3O7m8FACbDMWDojpAqvjIncrG8J0XHKyQfVeA== - dependencies: - "@webassemblyjs/ast" "1.12.1" - "@xtuc/long" "4.2.2" - -"@webpack-cli/configtest@^2.1.1": - version "2.1.1" - resolved "https://registry.yarnpkg.com/@webpack-cli/configtest/-/configtest-2.1.1.tgz#3b2f852e91dac6e3b85fb2a314fb8bef46d94646" - integrity sha512-wy0mglZpDSiSS0XHrVR+BAdId2+yxPSoJW8fsna3ZpYSlufjvxnP4YbKTCBZnNIcGN4r6ZPXV55X4mYExOfLmw== +"@vitest/coverage-v8@^3.0.9": + version "3.0.9" + resolved "https://registry.yarnpkg.com/@vitest/coverage-v8/-/coverage-v8-3.0.9.tgz#279f54b54e0096ce23fd10dba52087165899b654" + integrity sha512-15OACZcBtQ34keIEn19JYTVuMFTlFrClclwWjHo/IRPg/8ELpkgNTl0o7WLP9WO9XGH6+tip9CPYtEOrIDJvBA== + dependencies: + "@ampproject/remapping" "^2.3.0" + "@bcoe/v8-coverage" "^1.0.2" + debug "^4.4.0" + istanbul-lib-coverage "^3.2.2" + istanbul-lib-report "^3.0.1" + istanbul-lib-source-maps "^5.0.6" + istanbul-reports "^3.1.7" + magic-string "^0.30.17" + magicast "^0.3.5" + std-env "^3.8.0" + test-exclude "^7.0.1" + tinyrainbow "^2.0.0" + +"@vitest/expect@3.0.5": + version "3.0.5" + resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-3.0.5.tgz#aa0acd0976cf56842806e5dcaebd446543966b14" + integrity sha512-nNIOqupgZ4v5jWuQx2DSlHLEs7Q4Oh/7AYwNyE+k0UQzG7tSmjPXShUikn1mpNGzYEN2jJbTvLejwShMitovBA== + dependencies: + "@vitest/spy" "3.0.5" + "@vitest/utils" "3.0.5" + chai "^5.1.2" + tinyrainbow "^2.0.0" -"@webpack-cli/info@^2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@webpack-cli/info/-/info-2.0.2.tgz#cc3fbf22efeb88ff62310cf885c5b09f44ae0fdd" - integrity sha512-zLHQdI/Qs1UyT5UBdWNqsARasIA+AaF8t+4u2aS2nEpBQh2mWIVb8qAklq0eUENnC5mOItrIB4LiS9xMtph18A== +"@vitest/mocker@3.0.5": + version "3.0.5" + resolved "https://registry.yarnpkg.com/@vitest/mocker/-/mocker-3.0.5.tgz#8dce3dc4cb0adfd9d554531cea836244f8c36bcd" + integrity sha512-CLPNBFBIE7x6aEGbIjaQAX03ZZlBMaWwAjBdMkIf/cAn6xzLTiM3zYqO/WAbieEjsAZir6tO71mzeHZoodThvw== + dependencies: + "@vitest/spy" "3.0.5" + estree-walker "^3.0.3" + magic-string "^0.30.17" -"@webpack-cli/serve@^2.0.5": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-2.0.5.tgz#325db42395cd49fe6c14057f9a900e427df8810e" - integrity sha512-lqaoKnRYBdo1UgDX8uF24AfGMifWK19TxPmM5FHc2vAGxrJ/qtyUyFBWoY1tISZdelsQ5fBcOusifo5o5wSJxQ== +"@vitest/pretty-format@3.0.5", "@vitest/pretty-format@^3.0.5": + version "3.0.5" + resolved "https://registry.yarnpkg.com/@vitest/pretty-format/-/pretty-format-3.0.5.tgz#10ae6a83ccc1a866e31b2d0c1a7a977ade02eff9" + integrity sha512-CjUtdmpOcm4RVtB+up8r2vVDLR16Mgm/bYdkGFe3Yj/scRfCpbSi2W/BDSDcFK7ohw8UXvjMbOp9H4fByd/cOA== + dependencies: + tinyrainbow "^2.0.0" -"@xtuc/ieee754@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790" - integrity sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA== +"@vitest/runner@3.0.5": + version "3.0.5" + resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-3.0.5.tgz#c5960a1169465a2b9ac21f1d24a4cf1fe67c7501" + integrity sha512-BAiZFityFexZQi2yN4OX3OkJC6scwRo8EhRB0Z5HIGGgd2q+Nq29LgHU/+ovCtd0fOfXj5ZI6pwdlUmC5bpi8A== + dependencies: + "@vitest/utils" "3.0.5" + pathe "^2.0.2" -"@xtuc/long@4.2.2": - version "4.2.2" - resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" - integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== +"@vitest/snapshot@3.0.5": + version "3.0.5" + resolved "https://registry.yarnpkg.com/@vitest/snapshot/-/snapshot-3.0.5.tgz#afd0ae472dc5893b0bb10e3e673ef649958663f4" + integrity sha512-GJPZYcd7v8QNUJ7vRvLDmRwl+a1fGg4T/54lZXe+UOGy47F9yUfE18hRCtXL5aHN/AONu29NGzIXSVFh9K0feA== + dependencies: + "@vitest/pretty-format" "3.0.5" + magic-string "^0.30.17" + pathe "^2.0.2" + +"@vitest/spy@3.0.5": + version "3.0.5" + resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-3.0.5.tgz#7bb5d84ec21cc0d62170fda4e31cd0b46c1aeb8b" + integrity sha512-5fOzHj0WbUNqPK6blI/8VzZdkBlQLnT25knX0r4dbZI9qoZDf3qAdjoMmDcLG5A83W6oUUFJgUd0EYBc2P5xqg== + dependencies: + tinyspy "^3.0.2" + +"@vitest/utils@3.0.5": + version "3.0.5" + resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-3.0.5.tgz#dc3eaefd3534598917e939af59d9a9b6a5be5082" + integrity sha512-N9AX0NUoUtVwKwy21JtwzaqR5L5R5A99GAbrHfCCXK1lp593i/3AZAXhSP43wRQuxYsflrdzEfXZFo1reR1Nkg== + dependencies: + "@vitest/pretty-format" "3.0.5" + loupe "^3.1.2" + tinyrainbow "^2.0.0" + +"@volar/language-core@2.4.11", "@volar/language-core@~2.4.11": + version "2.4.11" + resolved "https://registry.yarnpkg.com/@volar/language-core/-/language-core-2.4.11.tgz#d95a9ec4f14fbdb41a6a64f9f321d11d23a5291c" + integrity sha512-lN2C1+ByfW9/JRPpqScuZt/4OrUUse57GLI6TbLgTIqBVemdl1wNcZ1qYGEo2+Gw8coYLgCy7SuKqn6IrQcQgg== + dependencies: + "@volar/source-map" "2.4.11" + +"@volar/source-map@2.4.11": + version "2.4.11" + resolved "https://registry.yarnpkg.com/@volar/source-map/-/source-map-2.4.11.tgz#5876d4531508129724c2755e295db1df98bd5895" + integrity sha512-ZQpmafIGvaZMn/8iuvCFGrW3smeqkq/IIh9F1SdSx9aUl0J4Iurzd6/FhmjNO5g2ejF3rT45dKskgXWiofqlZQ== + +"@volar/typescript@^2.4.11": + version "2.4.11" + resolved "https://registry.yarnpkg.com/@volar/typescript/-/typescript-2.4.11.tgz#aafbfa413337654db211bf4d8fb6670c89f6fa57" + integrity sha512-2DT+Tdh88Spp5PyPbqhyoYavYCPDsqbHLFwcUI9K1NlY1YgUJvujGdrqUp0zWxnW7KWNTr3xSpMuv2WnaTKDAw== + dependencies: + "@volar/language-core" "2.4.11" + path-browserify "^1.0.1" + vscode-uri "^3.0.8" + +"@vue/compiler-core@3.5.13": + version "3.5.13" + resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.5.13.tgz#b0ae6c4347f60c03e849a05d34e5bf747c9bda05" + integrity sha512-oOdAkwqUfW1WqpwSYJce06wvt6HljgY3fGeM9NcVA1HaYOij3mZG9Rkysn0OHuyUAGMbEbARIpsG+LPVlBJ5/Q== + dependencies: + "@babel/parser" "^7.25.3" + "@vue/shared" "3.5.13" + entities "^4.5.0" + estree-walker "^2.0.2" + source-map-js "^1.2.0" + +"@vue/compiler-dom@^3.5.0": + version "3.5.13" + resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.5.13.tgz#bb1b8758dbc542b3658dda973b98a1c9311a8a58" + integrity sha512-ZOJ46sMOKUjO3e94wPdCzQ6P1Lx/vhp2RSvfaab88Ajexs0AHeV0uasYhi99WPaogmBlRHNRuly8xV75cNTMDA== + dependencies: + "@vue/compiler-core" "3.5.13" + "@vue/shared" "3.5.13" + +"@vue/compiler-vue2@^2.7.16": + version "2.7.16" + resolved "https://registry.yarnpkg.com/@vue/compiler-vue2/-/compiler-vue2-2.7.16.tgz#2ba837cbd3f1b33c2bc865fbe1a3b53fb611e249" + integrity sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A== + dependencies: + de-indent "^1.0.2" + he "^1.2.0" + +"@vue/language-core@2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@vue/language-core/-/language-core-2.2.0.tgz#e48c54584f889f78b120ce10a050dfb316c7fcdf" + integrity sha512-O1ZZFaaBGkKbsRfnVH1ifOK1/1BUkyK+3SQsfnh6PmMmD4qJcTU8godCeA96jjDRTL6zgnK7YzCHfaUlH2r0Mw== + dependencies: + "@volar/language-core" "~2.4.11" + "@vue/compiler-dom" "^3.5.0" + "@vue/compiler-vue2" "^2.7.16" + "@vue/shared" "^3.5.0" + alien-signals "^0.4.9" + minimatch "^9.0.3" + muggle-string "^0.4.1" + path-browserify "^1.0.1" + +"@vue/shared@3.5.13", "@vue/shared@^3.5.0": + version "3.5.13" + resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.5.13.tgz#87b309a6379c22b926e696893237826f64339b6f" + integrity sha512-/hnE/qP5ZoGpol0a5mDi45bOd7t3tjYJBjsgCsivow7D48cJeV5l05RD82lPqi7gRiphZM37rnhW1l6ZoCNNnQ== abab@^2.0.6: version "2.0.6" @@ -1679,11 +1413,6 @@ acorn-globals@^7.0.0: acorn "^8.1.0" acorn-walk "^8.0.2" -acorn-import-assertions@^1.9.0: - version "1.9.0" - resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz#507276249d684797c84e0734ef84860334cfb1ac" - integrity sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA== - acorn-jsx@^5.3.2: version "5.3.2" resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" @@ -1694,11 +1423,16 @@ acorn-walk@^8.0.2: resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.2.tgz#7703af9415f1b6db9315d6895503862e231d34aa" integrity sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A== -acorn@^8.1.0, acorn@^8.7.1, acorn@^8.8.1, acorn@^8.8.2, acorn@^8.9.0: +acorn@^8.1.0, acorn@^8.8.1, acorn@^8.9.0: version "8.11.3" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.3.tgz#71e0b14e13a4ec160724b38fb7b0f233b1b81d7a" integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg== +acorn@^8.14.0: + version "8.14.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.14.0.tgz#063e2c70cac5fb4f6467f0b11152e04c682795b0" + integrity sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA== + agent-base@6: version "6.0.2" resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" @@ -1706,26 +1440,19 @@ agent-base@6: dependencies: debug "4" -ajv-formats@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/ajv-formats/-/ajv-formats-2.1.1.tgz#6e669400659eb74973bbf2e33327180a0996b520" - integrity sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA== - dependencies: - ajv "^8.0.0" - -ajv-keywords@^3.5.2: - version "3.5.2" - resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d" - integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ== +ajv-draft-04@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/ajv-draft-04/-/ajv-draft-04-1.0.0.tgz#3b64761b268ba0b9e668f0b41ba53fce0ad77fc8" + integrity sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw== -ajv-keywords@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-5.1.0.tgz#69d4d385a4733cdbeab44964a1170a88f87f0e16" - integrity sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw== +ajv-formats@~3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/ajv-formats/-/ajv-formats-3.0.1.tgz#3d5dc762bca17679c3c2ea7e90ad6b7532309578" + integrity sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ== dependencies: - fast-deep-equal "^3.1.3" + ajv "^8.0.0" -ajv@^6.12.4, ajv@^6.12.5: +ajv@^6.12.4: version "6.12.6" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== @@ -1735,7 +1462,7 @@ ajv@^6.12.4, ajv@^6.12.5: json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ajv@^8.0.0, ajv@^8.9.0: +ajv@^8.0.0, ajv@~8.12.0: version "8.12.0" resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.12.0.tgz#d1a0527323e22f53562c567c00991577dfbe19d1" integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA== @@ -1745,6 +1472,21 @@ ajv@^8.0.0, ajv@^8.9.0: require-from-string "^2.0.2" uri-js "^4.2.2" +ajv@~8.13.0: + version "8.13.0" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.13.0.tgz#a3939eaec9fb80d217ddf0c3376948c023f28c91" + integrity sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA== + dependencies: + fast-deep-equal "^3.1.3" + json-schema-traverse "^1.0.0" + require-from-string "^2.0.2" + uri-js "^4.4.1" + +alien-signals@^0.4.9: + version "0.4.14" + resolved "https://registry.yarnpkg.com/alien-signals/-/alien-signals-0.4.14.tgz#9ff8f72a272300a51692f54bd9bbbada78fbf539" + integrity sha512-itUAVzhczTmP2U5yX67xVpsbbOiquusbWVyA9N+sy6+r6YVbFkahXvNCeEPWEOMhwDYwbVbGHFkVL03N9I5g+Q== + ansi-escapes@^4.2.1: version "4.3.2" resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" @@ -1757,6 +1499,11 @@ ansi-regex@^5.0.1: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== +ansi-regex@^6.0.1: + version "6.1.0" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.1.0.tgz#95ec409c69619d6cb1b8b34f14b660ef28ebd654" + integrity sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA== + ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" @@ -1776,6 +1523,11 @@ ansi-styles@^5.0.0: resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== +ansi-styles@^6.1.0: + version "6.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" + integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== + anymatch@^3.0.3: version "3.1.3" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" @@ -1784,7 +1536,7 @@ anymatch@^3.0.3: normalize-path "^3.0.0" picomatch "^2.0.4" -argparse@^1.0.7: +argparse@^1.0.7, argparse@~1.0.9: version "1.0.10" resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== @@ -1796,6 +1548,18 @@ argparse@^2.0.1: resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== +aria-query@5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.3.0.tgz#650c569e41ad90b51b3d7df5e5eed1c7549c103e" + integrity sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A== + dependencies: + dequal "^2.0.3" + +aria-query@^5.0.0: + version "5.3.2" + resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.3.2.tgz#93f81a43480e33a338f19163a3d10a50c01dcd59" + integrity sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw== + array-buffer-byte-length@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.2.tgz#384d12a37295aec3769ab022ad323a18a51ccf8b" @@ -1875,6 +1639,16 @@ arraybuffer.prototype.slice@^1.0.3: is-array-buffer "^3.0.4" is-shared-array-buffer "^1.0.2" +assertion-error@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-2.0.1.tgz#f641a196b335690b1070bf00b6e7593fec190bf7" + integrity sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA== + +async@^3.2.6: + version "3.2.6" + resolved "https://registry.yarnpkg.com/async/-/async-3.2.6.tgz#1b0728e14929d51b85b449b7f06e27c1145e38ce" + integrity sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA== + asynckit@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" @@ -1887,7 +1661,7 @@ available-typed-arrays@^1.0.7: dependencies: possible-typed-array-names "^1.0.0" -babel-jest@^29.0.0, babel-jest@^29.7.0: +babel-jest@^29.7.0: version "29.7.0" resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-29.7.0.tgz#f4369919225b684c56085998ac63dbd05be020d5" integrity sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg== @@ -1900,14 +1674,6 @@ babel-jest@^29.0.0, babel-jest@^29.7.0: graceful-fs "^4.2.9" slash "^3.0.0" -babel-loader@^9.0.0: - version "9.1.3" - resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-9.1.3.tgz#3d0e01b4e69760cc694ee306fe16d358aa1c6f9a" - integrity sha512-xG3ST4DglodGf8qSwv0MdeWLhrDsw/32QMdTO5T1ZIp9gQur0HkCyFs7Awskr10JKXFXwpAhiCuYX5oGXnRGbw== - dependencies: - find-cache-dir "^4.0.0" - schema-utils "^4.0.0" - babel-plugin-istanbul@^6.1.1: version "6.1.1" resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz#fa88ec59232fd9b4e36dbbc540a8ec9a9b47da73" @@ -1929,30 +1695,6 @@ babel-plugin-jest-hoist@^29.6.3: "@types/babel__core" "^7.1.14" "@types/babel__traverse" "^7.0.6" -babel-plugin-polyfill-corejs2@^0.4.10: - version "0.4.10" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.10.tgz#276f41710b03a64f6467433cab72cbc2653c38b1" - integrity sha512-rpIuu//y5OX6jVU+a5BCn1R5RSZYWAl2Nar76iwaOdycqb6JPxediskWFMMl7stfwNJR4b7eiQvh5fB5TEQJTQ== - dependencies: - "@babel/compat-data" "^7.22.6" - "@babel/helper-define-polyfill-provider" "^0.6.1" - semver "^6.3.1" - -babel-plugin-polyfill-corejs3@^0.10.1, babel-plugin-polyfill-corejs3@^0.10.4: - version "0.10.4" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.10.4.tgz#789ac82405ad664c20476d0233b485281deb9c77" - integrity sha512-25J6I8NGfa5YkCDogHRID3fVCadIR8/pGl1/spvCkzb6lVn6SR3ojpx9nOn9iEBcUsjY24AmdKm5khcfKdylcg== - dependencies: - "@babel/helper-define-polyfill-provider" "^0.6.1" - core-js-compat "^3.36.1" - -babel-plugin-polyfill-regenerator@^0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.6.1.tgz#4f08ef4c62c7a7f66a35ed4c0d75e30506acc6be" - integrity sha512-JfTApdE++cgcTWjsiCQlLyFBMbTUft9ja17saCc93lgV33h4tuCVj7tlvu//qpLwaG+3yEz7/KhahGrUMkVq9g== - dependencies: - "@babel/helper-define-polyfill-provider" "^0.6.1" - babel-preset-current-node-syntax@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz#b4399239b89b2a011f9ddbe3e4f401fc40cff73b" @@ -1984,6 +1726,13 @@ balanced-match@^1.0.0: resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== +basic-auth@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/basic-auth/-/basic-auth-2.0.1.tgz#b998279bf47ce38344b4f3cf916d4679bbf51e3a" + integrity sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg== + dependencies: + safe-buffer "5.1.2" + brace-expansion@^1.1.7: version "1.1.11" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" @@ -1992,6 +1741,13 @@ brace-expansion@^1.1.7: balanced-match "^1.0.0" concat-map "0.0.1" +brace-expansion@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae" + integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== + dependencies: + balanced-match "^1.0.0" + braces@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" @@ -1999,7 +1755,7 @@ braces@^3.0.2: dependencies: fill-range "^7.0.1" -browserslist@^4.21.10, browserslist@^4.22.2, browserslist@^4.23.0: +browserslist@^4.22.2: version "4.23.0" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.23.0.tgz#8f3acc2bbe73af7213399430890f86c63a5674ab" integrity sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ== @@ -2021,6 +1777,11 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== +cac@^6.7.14: + version "6.7.14" + resolved "https://registry.yarnpkg.com/cac/-/cac-6.7.14.tgz#804e1e6f506ee363cb0e3ccbb09cad5dd9870959" + integrity sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ== + call-bind-apply-helpers@^1.0.0, call-bind-apply-helpers@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz#4b5428c222be985d79c3d82657479dbe0b59b2d6" @@ -2078,6 +1839,17 @@ caniuse-lite@^1.0.30001587: resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001600.tgz#93a3ee17a35aa6a9f0c6ef1b2ab49507d1ab9079" integrity sha512-+2S9/2JFhYmYaDpZvo0lKkfvuKIglrx68MwOBqMGHhQsNkLjB5xtc/TGoEPs+MxjSyN/72qer2g97nzR641mOQ== +chai@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/chai/-/chai-5.1.2.tgz#3afbc340b994ae3610ca519a6c70ace77ad4378d" + integrity sha512-aGtmf24DW6MLHHG5gCx4zaI3uBq3KRtxeVs0DjFH6Z0rDNbsvTxFASFvdj79pxjxZ8/5u3PIiN3IwEIQkiiuPw== + dependencies: + assertion-error "^2.0.1" + check-error "^2.1.1" + deep-eql "^5.0.1" + loupe "^3.1.0" + pathval "^2.0.0" + chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" @@ -2087,7 +1859,15 @@ chalk@^2.4.2: escape-string-regexp "^1.0.5" supports-color "^5.3.0" -chalk@^4.0.0: +chalk@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4" + integrity sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== @@ -2100,10 +1880,10 @@ char-regex@^1.0.2: resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw== -chrome-trace-event@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz#1015eced4741e15d06664a957dbbf50d041e26ac" - integrity sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg== +check-error@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/check-error/-/check-error-2.1.1.tgz#87eb876ae71ee388fa0471fe423f494be1d96ccc" + integrity sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw== ci-info@^3.2.0: version "3.9.0" @@ -2124,15 +1904,6 @@ cliui@^8.0.1: strip-ansi "^6.0.1" wrap-ansi "^7.0.0" -clone-deep@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" - integrity sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ== - dependencies: - is-plain-object "^2.0.4" - kind-of "^6.0.2" - shallow-clone "^3.0.0" - co@^4.6.0: version "4.6.0" resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" @@ -2167,11 +1938,6 @@ color-name@~1.1.4: resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== -colorette@^2.0.14: - version "2.0.20" - resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.20.tgz#9eb793e6833067f7235902fcd3b09917a000a95a" - integrity sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w== - combined-stream@^1.0.8: version "1.0.8" resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" @@ -2179,26 +1945,21 @@ combined-stream@^1.0.8: dependencies: delayed-stream "~1.0.0" -commander@^10.0.1: - version "10.0.1" - resolved "https://registry.yarnpkg.com/commander/-/commander-10.0.1.tgz#881ee46b4f77d1c1dccc5823433aa39b022cbe06" - integrity sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug== - -commander@^2.20.0: - version "2.20.3" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" - integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== - -common-path-prefix@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/common-path-prefix/-/common-path-prefix-3.0.0.tgz#7d007a7e07c58c4b4d5f433131a19141b29f11e0" - integrity sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w== +compare-versions@^6.1.1: + version "6.1.1" + resolved "https://registry.yarnpkg.com/compare-versions/-/compare-versions-6.1.1.tgz#7af3cc1099ba37d244b3145a9af5201b629148a9" + integrity sha512-4hm4VPpIecmlg59CHXnRDnqGplJFrbLG4aFEl5vl6cK1u76ws3LLvX7ikFnTDl5vo39sjWD6AaDPYodJp/NNHg== concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== +confbox@^0.1.8: + version "0.1.8" + resolved "https://registry.yarnpkg.com/confbox/-/confbox-0.1.8.tgz#820d73d3b3c82d9bd910652c5d4d599ef8ff8b06" + integrity sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w== + confusing-browser-globals@^1.0.10: version "1.0.11" resolved "https://registry.yarnpkg.com/confusing-browser-globals/-/confusing-browser-globals-1.0.11.tgz#ae40e9b57cdd3915408a2805ebd3a5585608dc81" @@ -2209,12 +1970,10 @@ convert-source-map@^2.0.0: resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a" integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg== -core-js-compat@^3.31.0, core-js-compat@^3.36.1: - version "3.36.1" - resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.36.1.tgz#1818695d72c99c25d621dca94e6883e190cea3c8" - integrity sha512-Dk997v9ZCt3X/npqzyGdTlq6t7lDBhZwGvV94PKzDArjp7BTRm7WlDAXYd/OWdeFHO8OChQYRJNJvUCqCbrtKA== - dependencies: - browserslist "^4.23.0" +corser@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/corser/-/corser-2.0.1.tgz#8eda252ecaab5840dcd975ceb90d9370c819ff87" + integrity sha512-utCYNzRSQIZNPIcGZdQc92UVJYAhtGAteCFg0yRaFm8f0P+CPtyGyHXJcGXnffjCybUCEx3FQ2G7U3/o9eIkVQ== create-jest@^29.7.0: version "29.7.0" @@ -2238,6 +1997,20 @@ cross-spawn@^7.0.2, cross-spawn@^7.0.3: shebang-command "^2.0.0" which "^2.0.1" +cross-spawn@^7.0.6: + version "7.0.6" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" + integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + +css.escape@^1.5.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/css.escape/-/css.escape-1.5.1.tgz#42e27d4fa04ae32f931a4b4d4191fa9cddee97cb" + integrity sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg== + cssom@^0.5.0: version "0.5.0" resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.5.0.tgz#d254fa92cd8b6fbd83811b9fbaed34663cc17c36" @@ -2291,6 +2064,11 @@ data-view-byte-offset@^1.0.0: es-errors "^1.3.0" is-data-view "^1.0.1" +de-indent@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d" + integrity sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg== + debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" @@ -2305,6 +2083,13 @@ debug@^3.2.7: dependencies: ms "^2.1.1" +debug@^4.3.6, debug@^4.4.0: + version "4.4.0" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.0.tgz#2b3f2aea2ffeb776477460267377dc8710faba8a" + integrity sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA== + dependencies: + ms "^2.1.3" + decimal.js@^10.4.2: version "10.4.3" resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.4.3.tgz#1044092884d245d1b7f65725fa4ad4c6f781cc23" @@ -2315,6 +2100,11 @@ dedent@^1.0.0: resolved "https://registry.yarnpkg.com/dedent/-/dedent-1.5.1.tgz#4f3fc94c8b711e9bb2800d185cd6ad20f2a90aff" integrity sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg== +deep-eql@^5.0.1: + version "5.0.2" + resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-5.0.2.tgz#4b756d8d770a9257300825d52a2c2cff99c3a341" + integrity sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q== + deep-equal@^2.2.3: version "2.2.3" resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-2.2.3.tgz#af89dafb23a396c7da3e862abc0be27cf51d56e1" @@ -2372,6 +2162,11 @@ delayed-stream@~1.0.0: resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== +dequal@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" + integrity sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA== + detect-newline@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" @@ -2403,6 +2198,16 @@ doctrine@^3.0.0: dependencies: esutils "^2.0.2" +dom-accessibility-api@^0.5.9: + version "0.5.16" + resolved "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz#5a7429e6066eb3664d911e33fb0e45de8eb08453" + integrity sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg== + +dom-accessibility-api@^0.6.3: + version "0.6.3" + resolved "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.6.3.tgz#993e925cc1d73f2c662e7d75dd5a5445259a8fd8" + integrity sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w== + domexception@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/domexception/-/domexception-4.0.0.tgz#4ad1be56ccadc86fc76d033353999a8037d03673" @@ -2419,6 +2224,11 @@ dunder-proto@^1.0.1: es-errors "^1.3.0" gopd "^1.2.0" +eastasianwidth@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" + integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== + electron-to-chromium@^1.4.668: version "1.4.717" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.717.tgz#99db370cae8cd090d5b01f8748e9ad369924d0f8" @@ -2434,24 +2244,16 @@ emoji-regex@^8.0.0: resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== -enhanced-resolve@^5.16.0: - version "5.16.0" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.16.0.tgz#65ec88778083056cb32487faa9aef82ed0864787" - integrity sha512-O+QWCviPNSSLAD9Ucn8Awv+poAkqn3T1XY5/N7kR7rQO9yfSGWkYZDwpJ+iKF7B8rxaQKWngSqACpgzeapSyoA== - dependencies: - graceful-fs "^4.2.4" - tapable "^2.2.0" +emoji-regex@^9.2.2: + version "9.2.2" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" + integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== -entities@^4.4.0: +entities@^4.4.0, entities@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48" integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw== -envinfo@^7.7.3: - version "7.11.1" - resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.11.1.tgz#2ffef77591057081b0129a8fd8cf6118da1b94e1" - integrity sha512-8PiZgZNIB4q/Lw4AhOvAfB/ityHAd2bli3lESSWmWSzSsl5dKpy5N1d1Rfkd2teq/g9xN90lc6o98DOjMeYHpg== - error-ex@^1.3.1: version "1.3.2" resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" @@ -2543,10 +2345,10 @@ es-get-iterator@^1.1.3: isarray "^2.0.5" stop-iteration-iterator "^1.0.0" -es-module-lexer@^1.2.1: - version "1.5.0" - resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.5.0.tgz#4878fee3789ad99e065f975fdd3c645529ff0236" - integrity sha512-pqrTKmwEIgafsYZAGw9kszYzmagcE/n4dbgwGWLEXg7J4QFJVQRBld8j3Q3GNez79jzxZshq0bcT962QHOghjw== +es-module-lexer@^1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.6.0.tgz#da49f587fd9e68ee2404fe4e256c0c7d3a81be21" + integrity sha512-qqnD1yMU6tk/jnaMosogGySTZP8YtUgAffA9nMN+E/rjxcfRQ6IEk7IiozUjgxKoFHBGjTLnrHB/YC45r/59EQ== es-object-atoms@^1.0.0: version "1.0.0" @@ -2580,6 +2382,37 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" +esbuild@^0.24.2: + version "0.24.2" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.24.2.tgz#b5b55bee7de017bff5fb8a4e3e44f2ebe2c3567d" + integrity sha512-+9egpBW8I3CD5XPe0n6BfT5fxLzxrlDzqydF3aviG+9ni1lDC/OvMHcxqEFV0+LANZG5R1bFMWfUrjVsdwxJvA== + optionalDependencies: + "@esbuild/aix-ppc64" "0.24.2" + "@esbuild/android-arm" "0.24.2" + "@esbuild/android-arm64" "0.24.2" + "@esbuild/android-x64" "0.24.2" + "@esbuild/darwin-arm64" "0.24.2" + "@esbuild/darwin-x64" "0.24.2" + "@esbuild/freebsd-arm64" "0.24.2" + "@esbuild/freebsd-x64" "0.24.2" + "@esbuild/linux-arm" "0.24.2" + "@esbuild/linux-arm64" "0.24.2" + "@esbuild/linux-ia32" "0.24.2" + "@esbuild/linux-loong64" "0.24.2" + "@esbuild/linux-mips64el" "0.24.2" + "@esbuild/linux-ppc64" "0.24.2" + "@esbuild/linux-riscv64" "0.24.2" + "@esbuild/linux-s390x" "0.24.2" + "@esbuild/linux-x64" "0.24.2" + "@esbuild/netbsd-arm64" "0.24.2" + "@esbuild/netbsd-x64" "0.24.2" + "@esbuild/openbsd-arm64" "0.24.2" + "@esbuild/openbsd-x64" "0.24.2" + "@esbuild/sunos-x64" "0.24.2" + "@esbuild/win32-arm64" "0.24.2" + "@esbuild/win32-ia32" "0.24.2" + "@esbuild/win32-x64" "0.24.2" + escalade@^3.1.1: version "3.1.2" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.2.tgz#54076e9ab29ea5bf3d8f1ed62acffbb88272df27" @@ -2621,6 +2454,11 @@ eslint-config-airbnb-base@^15.0.0: object.entries "^1.1.5" semver "^6.3.0" +eslint-config-prettier@^10.0.2: + version "10.0.2" + resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-10.0.2.tgz#47444de8aa104ce82c2f91ad2a5e96b62c01e20d" + integrity sha512-1105/17ZIMjmCOJOPNfVdbXafLCLj3hPmkmB7dLgt7XsQ/zkxSuDerE/xgO3RxoHysR1N1whmquY0lSn2O0VLg== + eslint-import-resolver-node@^0.3.9: version "0.3.9" resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz#d4eaac52b8a2e7c3cd1903eb00f7e053356118ac" @@ -2667,7 +2505,7 @@ eslint-plugin-jest@^27.0.0: dependencies: "@typescript-eslint/utils" "^5.10.0" -eslint-scope@5.1.1, eslint-scope@^5.1.1: +eslint-scope@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== @@ -2770,15 +2608,27 @@ estraverse@^5.1.0, estraverse@^5.2.0: resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== +estree-walker@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac" + integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w== + +estree-walker@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-3.0.3.tgz#67c3e549ec402a487b4fc193d1953a524752340d" + integrity sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g== + dependencies: + "@types/estree" "^1.0.0" + esutils@^2.0.2: version "2.0.3" resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== -events@^3.2.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" - integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== +eventemitter3@^4.0.0: + version "4.0.7" + resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" + integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== execa@^5.0.0: version "5.1.1" @@ -2800,6 +2650,11 @@ exit@^0.1.2: resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" integrity sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ== +expect-type@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/expect-type/-/expect-type-1.1.0.tgz#a146e414250d13dfc49eafcfd1344a4060fa4c75" + integrity sha512-bFi65yM+xZgk+u/KRIpekdSYkTB5W1pEf0Lt8Q8Msh7b+eQ7LXVtIB1Bkm4fvclDEL1b2CZkMhv2mOeF8tMdkA== + expect@^29.7.0: version "29.7.0" resolved "https://registry.yarnpkg.com/expect/-/expect-29.7.0.tgz#578874590dcb3214514084c08115d8aee61e11bc" @@ -2837,11 +2692,6 @@ fast-levenshtein@^2.0.6: resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== -fastest-levenshtein@^1.0.12: - version "1.0.16" - resolved "https://registry.yarnpkg.com/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz#210e61b6ff181de91ea9b3d1b84fdedd47e034e5" - integrity sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg== - fastq@^1.6.0: version "1.17.1" resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.17.1.tgz#2a523f07a4e7b1e81a42b91b8bf2254107753b47" @@ -2870,14 +2720,6 @@ fill-range@^7.0.1: dependencies: to-regex-range "^5.0.1" -find-cache-dir@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-4.0.0.tgz#a30ee0448f81a3990708f6453633c733e2f6eec2" - integrity sha512-9ZonPT4ZAK4a+1pUPVPZJapbi7O5qbbJPdYw/NOQWZZbVLdDTYM3A4R9z/DpAM08IDaFGsvPgiGZ82WEwUDWjg== - dependencies: - common-path-prefix "^3.0.0" - pkg-dir "^7.0.0" - find-up@^4.0.0, find-up@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" @@ -2894,14 +2736,6 @@ find-up@^5.0.0: locate-path "^6.0.0" path-exists "^4.0.0" -find-up@^6.3.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-6.3.0.tgz#2abab3d3280b2dc7ac10199ef324c4e002c8c790" - integrity sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw== - dependencies: - locate-path "^7.1.0" - path-exists "^5.0.0" - flat-cache@^3.0.4: version "3.2.0" resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.2.0.tgz#2c0c2d5040c99b1632771a9d105725c0115363ee" @@ -2911,16 +2745,16 @@ flat-cache@^3.0.4: keyv "^4.5.3" rimraf "^3.0.2" -flat@^5.0.2: - version "5.0.2" - resolved "https://registry.yarnpkg.com/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" - integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ== - flatted@^3.2.9: version "3.3.1" resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a" integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw== +follow-redirects@^1.0.0: + version "1.15.9" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.9.tgz#a604fa10e443bf98ca94228d9eebcc2e8a2c8ee1" + integrity sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ== + for-each@^0.3.3: version "0.3.3" resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e" @@ -2928,6 +2762,14 @@ for-each@^0.3.3: dependencies: is-callable "^1.1.3" +foreground-child@^3.1.0: + version "3.3.1" + resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.3.1.tgz#32e8e9ed1b68a3497befb9ac2b6adf92a638576f" + integrity sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw== + dependencies: + cross-spawn "^7.0.6" + signal-exit "^4.0.1" + form-data@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" @@ -2937,12 +2779,21 @@ form-data@^4.0.0: combined-stream "^1.0.8" mime-types "^2.1.12" +fs-extra@~11.3.0: + version "11.3.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.3.0.tgz#0daced136bbaf65a555a326719af931adc7a314d" + integrity sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew== + dependencies: + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== -fsevents@^2.3.2: +fsevents@^2.3.2, fsevents@~2.3.2, fsevents@~2.3.3: version "2.3.3" resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== @@ -3045,10 +2896,17 @@ glob-parent@^6.0.2: dependencies: is-glob "^4.0.3" -glob-to-regexp@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" - integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== +glob@^10.4.1: + version "10.4.5" + resolved "https://registry.yarnpkg.com/glob/-/glob-10.4.5.tgz#f4d9f0b90ffdbab09c9d77f5f29b4262517b0956" + integrity sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg== + dependencies: + foreground-child "^3.1.0" + jackspeak "^3.1.2" + minimatch "^9.0.4" + minipass "^7.1.2" + package-json-from-dist "^1.0.0" + path-scurry "^1.11.1" glob@^7.1.3, glob@^7.1.4: version "7.2.3" @@ -3105,7 +2963,7 @@ gopd@^1.2.0: resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1" integrity sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg== -graceful-fs@^4.1.2, graceful-fs@^4.2.11, graceful-fs@^4.2.4, graceful-fs@^4.2.9: +graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.9: version "4.2.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== @@ -3166,6 +3024,11 @@ hasown@^2.0.0, hasown@^2.0.1, hasown@^2.0.2: dependencies: function-bind "^1.1.2" +he@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" + integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== + html-encoding-sniffer@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz#2cb1a8cf0db52414776e5b2a7a04d5dd98158de9" @@ -3187,6 +3050,34 @@ http-proxy-agent@^5.0.0: agent-base "6" debug "4" +http-proxy@^1.18.1: + version "1.18.1" + resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549" + integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ== + dependencies: + eventemitter3 "^4.0.0" + follow-redirects "^1.0.0" + requires-port "^1.0.0" + +http-server@^14.1.1: + version "14.1.1" + resolved "https://registry.yarnpkg.com/http-server/-/http-server-14.1.1.tgz#d60fbb37d7c2fdff0f0fbff0d0ee6670bd285e2e" + integrity sha512-+cbxadF40UXd9T01zUHgA+rlo2Bg1Srer4+B4NwIHdaGxAGGv59nYRnGGDJ9LBk7alpS0US+J+bLLdQOOkJq4A== + dependencies: + basic-auth "^2.0.1" + chalk "^4.1.2" + corser "^2.0.1" + he "^1.2.0" + html-encoding-sniffer "^3.0.0" + http-proxy "^1.18.1" + mime "^1.6.0" + minimist "^1.2.6" + opener "^1.5.1" + portfinder "^1.0.28" + secure-compare "3.0.1" + union "~0.5.0" + url-join "^4.0.1" + https-proxy-agent@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" @@ -3220,6 +3111,11 @@ import-fresh@^3.2.1: parent-module "^1.0.0" resolve-from "^4.0.0" +import-lazy@~4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-4.0.0.tgz#e8eb627483a0a43da3c03f3e35548be5cb0cc153" + integrity sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw== + import-local@^3.0.2: version "3.1.0" resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.1.0.tgz#b4479df8a5fd44f6cdce24070675676063c95cb4" @@ -3233,6 +3129,11 @@ imurmurhash@^0.1.4: resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== +indent-string@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" + integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== + inflight@^1.0.4: version "1.0.6" resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" @@ -3264,11 +3165,6 @@ internal-slot@^1.1.0: hasown "^2.0.2" side-channel "^1.1.0" -interpret@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/interpret/-/interpret-3.1.1.tgz#5be0ceed67ca79c6c4bc5cf0d7ee843dcea110c4" - integrity sha512-6xwYfHbajpoF0xLW+iwLkhwgvLoZDfjYfoFNu8ftMoXINzwuymNLd9u/KmwtdT2GbR+/Cz66otEGEVVUHX9QLQ== - is-arguments@^1.1.1: version "1.2.0" resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.2.0.tgz#ad58c6aecf563b78ef2bf04df540da8f5d7d8e1b" @@ -3326,6 +3222,13 @@ is-core-module@^2.13.0, is-core-module@^2.13.1: dependencies: hasown "^2.0.0" +is-core-module@^2.16.0: + version "2.16.1" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.16.1.tgz#2a98801a849f43e2add644fbb6bc6229b19a4ef4" + integrity sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w== + dependencies: + hasown "^2.0.2" + is-data-view@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-data-view/-/is-data-view-1.0.1.tgz#4b4d3a511b70f3dc26d42c03ca9ca515d847759f" @@ -3397,13 +3300,6 @@ is-path-inside@^3.0.3: resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== -is-plain-object@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" - integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== - dependencies: - isobject "^3.0.1" - is-potential-custom-element-name@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5" @@ -3485,12 +3381,7 @@ isexe@^2.0.0: resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== -isobject@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" - integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== - -istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: +istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0, istanbul-lib-coverage@^3.2.2: version "3.2.2" resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz#2d166c4b0644d43a39f04bf6c2edd1e585f31756" integrity sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg== @@ -3517,7 +3408,7 @@ istanbul-lib-instrument@^6.0.0: istanbul-lib-coverage "^3.2.0" semver "^7.5.4" -istanbul-lib-report@^3.0.0: +istanbul-lib-report@^3.0.0, istanbul-lib-report@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz#908305bac9a5bd175ac6a74489eafd0fc2445a7d" integrity sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw== @@ -3535,7 +3426,16 @@ istanbul-lib-source-maps@^4.0.0: istanbul-lib-coverage "^3.0.0" source-map "^0.6.1" -istanbul-reports@^3.1.3: +istanbul-lib-source-maps@^5.0.6: + version "5.0.6" + resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-5.0.6.tgz#acaef948df7747c8eb5fbf1265cb980f6353a441" + integrity sha512-yg2d+Em4KizZC5niWhQaIomgf5WlL4vOOjZ5xGCmF8SnPE/mDWWXgvRExdcpCgh9lLRRa1/fSYp2ymmbJ1pI+A== + dependencies: + "@jridgewell/trace-mapping" "^0.3.23" + debug "^4.1.1" + istanbul-lib-coverage "^3.0.0" + +istanbul-reports@^3.1.3, istanbul-reports@^3.1.7: version "3.1.7" resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.7.tgz#daed12b9e1dca518e15c056e1e537e741280fa0b" integrity sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g== @@ -3543,6 +3443,15 @@ istanbul-reports@^3.1.3: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" +jackspeak@^3.1.2: + version "3.4.3" + resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-3.4.3.tgz#8833a9d89ab4acde6188942bd1c53b6390ed5a8a" + integrity sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw== + dependencies: + "@isaacs/cliui" "^8.0.2" + optionalDependencies: + "@pkgjs/parseargs" "^0.11.0" + jest-changed-files@^29.7.0: version "29.7.0" resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-29.7.0.tgz#1c06d07e77c78e1585d020424dedc10d6e17ac3a" @@ -3895,15 +3804,6 @@ jest-watcher@^29.7.0: jest-util "^29.7.0" string-length "^4.0.1" -jest-worker@^27.4.5: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.5.1.tgz#8d146f0900e8973b106b6f73cc1e9a8cb86f8db0" - integrity sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg== - dependencies: - "@types/node" "*" - merge-stream "^2.0.0" - supports-color "^8.0.0" - jest-worker@^29.7.0: version "29.7.0" resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.7.0.tgz#acad073acbbaeb7262bd5389e1bcf43e10058d4a" @@ -3924,6 +3824,11 @@ jest@^29.0.0: import-local "^3.0.2" jest-cli "^29.7.0" +jju@~1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/jju/-/jju-1.4.0.tgz#a3abe2718af241a2b2904f84a625970f389ae32a" + integrity sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA== + js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" @@ -3981,17 +3886,12 @@ jsesc@^2.5.1: resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== -jsesc@~0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" - integrity sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA== - json-buffer@3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== -json-parse-even-better-errors@^2.3.0, json-parse-even-better-errors@^2.3.1: +json-parse-even-better-errors@^2.3.0: version "2.3.1" resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== @@ -4023,6 +3923,15 @@ json5@^2.2.3: resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== +jsonfile@^6.0.1: + version "6.1.0" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae" + integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ== + dependencies: + universalify "^2.0.0" + optionalDependencies: + graceful-fs "^4.1.6" + keyv@^4.5.3: version "4.5.4" resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.4.tgz#a879a99e29452f942439f2a405e3af8b31d4de93" @@ -4030,16 +3939,16 @@ keyv@^4.5.3: dependencies: json-buffer "3.0.1" -kind-of@^6.0.2: - version "6.0.3" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" - integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== - kleur@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== +kolorist@^1.8.0: + version "1.8.0" + resolved "https://registry.yarnpkg.com/kolorist/-/kolorist-1.8.0.tgz#edddbbbc7894bc13302cdf740af6374d4a04743c" + integrity sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ== + leven@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" @@ -4058,10 +3967,13 @@ lines-and-columns@^1.1.6: resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== -loader-runner@^4.2.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-4.3.0.tgz#c1b4a163b99f614830353b16755e7149ac2314e1" - integrity sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg== +local-pkg@^0.5.1: + version "0.5.1" + resolved "https://registry.yarnpkg.com/local-pkg/-/local-pkg-0.5.1.tgz#69658638d2a95287534d4c2fff757980100dbb6d" + integrity sha512-9rrA30MRRP3gBD3HTGnC6cDFpaE1kVDWxWgqWJUN0RvDNAo+Nz/9GxB+nHOH0ifbVFy0hSA1V6vFDvnx54lTEQ== + dependencies: + mlly "^1.7.3" + pkg-types "^1.2.1" locate-path@^5.0.0: version "5.0.0" @@ -4077,23 +3989,26 @@ locate-path@^6.0.0: dependencies: p-locate "^5.0.0" -locate-path@^7.1.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-7.2.0.tgz#69cb1779bd90b35ab1e771e1f2f89a202c2a8a8a" - integrity sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA== - dependencies: - p-locate "^6.0.0" - -lodash.debounce@^4.0.8: - version "4.0.8" - resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" - integrity sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow== - lodash.merge@^4.6.2: version "4.6.2" resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== +lodash@^4.17.21, lodash@~4.17.15: + version "4.17.21" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== + +loupe@^3.1.0, loupe@^3.1.2: + version "3.1.3" + resolved "https://registry.yarnpkg.com/loupe/-/loupe-3.1.3.tgz#042a8f7986d77f3d0f98ef7990a2b2fef18b0fd2" + integrity sha512-kkIp7XSkP78ZxJEsSxW3712C6teJVoeHHwgo9zJ380de7IYyJ2ISlxojcH2pC5OFLewESmnRi/+XCDIEEVyoug== + +lru-cache@^10.2.0: + version "10.4.3" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119" + integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ== + lru-cache@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" @@ -4108,6 +4023,27 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" +lz-string@^1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/lz-string/-/lz-string-1.5.0.tgz#c1ab50f77887b712621201ba9fd4e3a6ed099941" + integrity sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ== + +magic-string@^0.30.17: + version "0.30.17" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.17.tgz#450a449673d2460e5bbcfba9a61916a1714c7453" + integrity sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA== + dependencies: + "@jridgewell/sourcemap-codec" "^1.5.0" + +magicast@^0.3.5: + version "0.3.5" + resolved "https://registry.yarnpkg.com/magicast/-/magicast-0.3.5.tgz#8301c3c7d66704a0771eb1bad74274f0ec036739" + integrity sha512-L0WhttDl+2BOsybvEOLK7fW3UA0OQ0IQ2d6Zl2x/a6vVRs3bAY0ECOSHHeL5jD+SbOpOCUEi0y1DgHEn9Qn1AQ== + dependencies: + "@babel/parser" "^7.25.4" + "@babel/types" "^7.25.4" + source-map-js "^1.2.0" + make-dir@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-4.0.0.tgz#c3c2307a771277cd9638305f915c29ae741b614e" @@ -4150,18 +4086,28 @@ mime-db@1.52.0: resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== -mime-types@^2.1.12, mime-types@^2.1.27: +mime-types@^2.1.12: version "2.1.35" resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== dependencies: mime-db "1.52.0" +mime@^1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" + integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== + mimic-fn@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== +min-indent@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" + integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== + minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" @@ -4169,31 +4115,65 @@ minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: dependencies: brace-expansion "^1.1.7" +minimatch@^9.0.3, minimatch@^9.0.4: + version "9.0.5" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5" + integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow== + dependencies: + brace-expansion "^2.0.1" + +minimatch@~3.0.3: + version "3.0.8" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.8.tgz#5e6a59bd11e2ab0de1cfb843eb2d82e546c321c1" + integrity sha512-6FsRAQsxQ61mw+qP1ZzbL9Bc78x2p5OqNgNpnoAFLTrX8n5Kxph0CsnhmKKNXTWjXqU5L0pGPR7hYk+XWZr60Q== + dependencies: + brace-expansion "^1.1.7" + minimist@^1.2.0, minimist@^1.2.6: version "1.2.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== +"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.1.2: + version "7.1.2" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707" + integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw== + +mlly@^1.7.3, mlly@^1.7.4: + version "1.7.4" + resolved "https://registry.yarnpkg.com/mlly/-/mlly-1.7.4.tgz#3d7295ea2358ec7a271eaa5d000a0f84febe100f" + integrity sha512-qmdSIPC4bDJXgZTCR7XosJiNKySV7O215tsPtDN9iEO/7q/76b/ijtgRu/+epFXSJhijtTCCGp3DWS549P3xKw== + dependencies: + acorn "^8.14.0" + pathe "^2.0.1" + pkg-types "^1.3.0" + ufo "^1.5.4" + ms@2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -ms@^2.1.1: +ms@^2.1.1, ms@^2.1.3: version "2.1.3" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== +muggle-string@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/muggle-string/-/muggle-string-0.4.1.tgz#3b366bd43b32f809dc20659534dd30e7c8a0d328" + integrity sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ== + +nanoid@^3.3.8: + version "3.3.8" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.8.tgz#b1be3030bee36aaff18bacb375e5cce521684baf" + integrity sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w== + natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== -neo-async@^2.6.2: - version "2.6.2" - resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" - integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== - node-int64@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" @@ -4317,6 +4297,11 @@ onetime@^5.1.2: dependencies: mimic-fn "^2.1.0" +opener@^1.5.1: + version "1.5.2" + resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.2.tgz#5d37e1f35077b9dcac4301372271afdeb2a13598" + integrity sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A== + optionator@^0.9.3: version "0.9.3" resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.3.tgz#007397d44ed1872fdc6ed31360190f81814e2c64" @@ -4343,13 +4328,6 @@ p-limit@^3.0.2, p-limit@^3.1.0: dependencies: yocto-queue "^0.1.0" -p-limit@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-4.0.0.tgz#914af6544ed32bfa54670b061cafcbd04984b644" - integrity sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ== - dependencies: - yocto-queue "^1.0.0" - p-locate@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" @@ -4364,18 +4342,16 @@ p-locate@^5.0.0: dependencies: p-limit "^3.0.2" -p-locate@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-6.0.0.tgz#3da9a49d4934b901089dca3302fa65dc5a05c04f" - integrity sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw== - dependencies: - p-limit "^4.0.0" - p-try@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== +package-json-from-dist@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz#4f1471a010827a86f94cfd9b0727e36d267de505" + integrity sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw== + parent-module@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" @@ -4400,16 +4376,16 @@ parse5@^7.0.0, parse5@^7.1.1: dependencies: entities "^4.4.0" +path-browserify@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-1.0.1.tgz#d98454a9c3753d5790860f16f68867b9e46be1fd" + integrity sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g== + path-exists@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== -path-exists@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-5.0.0.tgz#a6aad9489200b21fab31e49cf09277e5116fb9e7" - integrity sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ== - path-is-absolute@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" @@ -4425,21 +4401,49 @@ path-parse@^1.0.7: resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== +path-scurry@^1.11.1: + version "1.11.1" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.11.1.tgz#7960a668888594a0720b12a911d1a742ab9f11d2" + integrity sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA== + dependencies: + lru-cache "^10.2.0" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + path-type@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== +pathe@^2.0.1, pathe@^2.0.2: + version "2.0.3" + resolved "https://registry.yarnpkg.com/pathe/-/pathe-2.0.3.tgz#3ecbec55421685b70a9da872b2cff3e1cbed1716" + integrity sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w== + +pathval@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/pathval/-/pathval-2.0.0.tgz#7e2550b422601d4f6b8e26f1301bc8f15a741a25" + integrity sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA== + picocolors@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== +picocolors@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" + integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== + picomatch@^2.0.4, picomatch@^2.2.3, picomatch@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== +picomatch@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.2.tgz#77c742931e8f3b8820946c76cd0c1f13730d1dab" + integrity sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg== + pirates@^4.0.4: version "4.0.6" resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.6.tgz#3018ae32ecfcff6c29ba2267cbf21166ac1f36b9" @@ -4452,23 +4456,51 @@ pkg-dir@^4.2.0: dependencies: find-up "^4.0.0" -pkg-dir@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-7.0.0.tgz#8f0c08d6df4476756c5ff29b3282d0bab7517d11" - integrity sha512-Ie9z/WINcxxLp27BKOCHGde4ITq9UklYKDzVo1nhk5sqGEXU3FpkwP5GM2voTGJkGd9B3Otl+Q4uwSOeSUtOBA== +pkg-types@^1.2.1, pkg-types@^1.3.0: + version "1.3.1" + resolved "https://registry.yarnpkg.com/pkg-types/-/pkg-types-1.3.1.tgz#bd7cc70881192777eef5326c19deb46e890917df" + integrity sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ== + dependencies: + confbox "^0.1.8" + mlly "^1.7.4" + pathe "^2.0.1" + +portfinder@^1.0.28: + version "1.0.35" + resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.35.tgz#6ebaf945da4d14c55d996e907b217f73e1dc06c9" + integrity sha512-73JaFg4NwYNAufDtS5FsFu/PdM49ahJrO1i44aCRsDWju1z5wuGDaqyFUQWR6aJoK2JPDWlaYYAGFNIGTSUHSw== dependencies: - find-up "^6.3.0" + async "^3.2.6" + debug "^4.3.6" possible-typed-array-names@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz#89bb63c6fada2c3e90adc4a647beeeb39cc7bf8f" integrity sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q== +postcss@^8.5.1: + version "8.5.2" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.5.2.tgz#e7b99cb9d2ec3e8dd424002e7c16517cb2b846bd" + integrity sha512-MjOadfU3Ys9KYoX0AdkBlFEF1Vx37uCCeN4ZHnmwm9FfpbsGWMZeBLMmmpY+6Ocqod7mkdZ0DT31OlbsFrLlkA== + dependencies: + nanoid "^3.3.8" + picocolors "^1.1.1" + source-map-js "^1.2.1" + prelude-ls@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== +pretty-format@^27.0.2: + version "27.5.1" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.5.1.tgz#2181879fdea51a7a5851fb39d920faa63f01d88e" + integrity sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ== + dependencies: + ansi-regex "^5.0.1" + ansi-styles "^5.0.0" + react-is "^17.0.1" + pretty-format@^29.7.0: version "29.7.0" resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.7.0.tgz#ca42c758310f365bfa71a0bda0a807160b776812" @@ -4501,6 +4533,13 @@ pure-rand@^6.0.0: resolved "https://registry.yarnpkg.com/pure-rand/-/pure-rand-6.1.0.tgz#d173cf23258231976ccbdb05247c9787957604f2" integrity sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA== +qs@^6.4.0: + version "6.14.0" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.14.0.tgz#c63fa40680d2c5c941412a0e899c89af60c0a930" + integrity sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w== + dependencies: + side-channel "^1.1.0" + querystringify@^2.1.1: version "2.2.0" resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.2.0.tgz#3345941b4153cb9d082d8eee4cda2016a9aef7f6" @@ -4511,49 +4550,29 @@ queue-microtask@^1.2.2: resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== -randombytes@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" - integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== - dependencies: - safe-buffer "^5.1.0" +react-is@^17.0.1: + version "17.0.2" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" + integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== react-is@^18.0.0: version "18.2.0" resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b" integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== -rechoir@^0.8.0: - version "0.8.0" - resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.8.0.tgz#49f866e0d32146142da3ad8f0eff352b3215ff22" - integrity sha512-/vxpCXddiX8NGfGO/mTafwjq4aFa/71pvamip0++IQk3zG8cbCj0fifNPrjjF1XMXUne91jL9OoxmdykoEtifQ== - dependencies: - resolve "^1.20.0" - -regenerate-unicode-properties@^10.1.0: - version "10.1.1" - resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.1.tgz#6b0e05489d9076b04c436f318d9b067bba459480" - integrity sha512-X007RyZLsCJVVrjgEFVpLUTZwyOZk3oiL75ZcuYjlIWd6rNJtOjkBwQc5AsRrpbKVkxN6sklw/k/9m2jJYOf8Q== +redent@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/redent/-/redent-3.0.0.tgz#e557b7998316bb53c9f1f56fa626352c6963059f" + integrity sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg== dependencies: - regenerate "^1.4.2" - -regenerate@^1.4.2: - version "1.4.2" - resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.2.tgz#b9346d8827e8f5a32f7ba29637d398b69014848a" - integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A== + indent-string "^4.0.0" + strip-indent "^3.0.0" regenerator-runtime@^0.14.0: version "0.14.1" resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz#356ade10263f685dda125100cd862c1db895327f" integrity sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw== -regenerator-transform@^0.15.2: - version "0.15.2" - resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.15.2.tgz#5bbae58b522098ebdf09bca2f83838929001c7a4" - integrity sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg== - dependencies: - "@babel/runtime" "^7.8.4" - regexp.prototype.flags@^1.5.1: version "1.5.4" resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.4.tgz#1ad6c62d44a259007e55b3970e00f746efbcaa19" @@ -4576,25 +4595,6 @@ regexp.prototype.flags@^1.5.2: es-errors "^1.3.0" set-function-name "^2.0.1" -regexpu-core@^5.3.1: - version "5.3.2" - resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-5.3.2.tgz#11a2b06884f3527aec3e93dbbf4a3b958a95546b" - integrity sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ== - dependencies: - "@babel/regjsgen" "^0.8.0" - regenerate "^1.4.2" - regenerate-unicode-properties "^10.1.0" - regjsparser "^0.9.1" - unicode-match-property-ecmascript "^2.0.0" - unicode-match-property-value-ecmascript "^2.1.0" - -regjsparser@^0.9.1: - version "0.9.1" - resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.9.1.tgz#272d05aa10c7c1f67095b1ff0addae8442fc5709" - integrity sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ== - dependencies: - jsesc "~0.5.0" - require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" @@ -4632,7 +4632,7 @@ resolve.exports@^2.0.0: resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-2.0.2.tgz#f8c934b8e6a13f539e38b7098e2e36134f01e800" integrity sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg== -resolve@^1.14.2, resolve@^1.20.0, resolve@^1.22.4: +resolve@^1.20.0, resolve@^1.22.4: version "1.22.8" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d" integrity sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw== @@ -4641,6 +4641,15 @@ resolve@^1.14.2, resolve@^1.20.0, resolve@^1.22.4: path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" +resolve@~1.22.1, resolve@~1.22.2: + version "1.22.10" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.10.tgz#b663e83ffb09bbf2386944736baae803029b8b39" + integrity sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w== + dependencies: + is-core-module "^2.16.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + reusify@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" @@ -4653,6 +4662,34 @@ rimraf@^3.0.2: dependencies: glob "^7.1.3" +rollup@^4.30.1: + version "4.34.6" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.34.6.tgz#a07e4d2621759e29034d909655e7a32eee9195c9" + integrity sha512-wc2cBWqJgkU3Iz5oztRkQbfVkbxoz5EhnCGOrnJvnLnQ7O0WhQUYyv18qQI79O8L7DdHrrlJNeCHd4VGpnaXKQ== + dependencies: + "@types/estree" "1.0.6" + optionalDependencies: + "@rollup/rollup-android-arm-eabi" "4.34.6" + "@rollup/rollup-android-arm64" "4.34.6" + "@rollup/rollup-darwin-arm64" "4.34.6" + "@rollup/rollup-darwin-x64" "4.34.6" + "@rollup/rollup-freebsd-arm64" "4.34.6" + "@rollup/rollup-freebsd-x64" "4.34.6" + "@rollup/rollup-linux-arm-gnueabihf" "4.34.6" + "@rollup/rollup-linux-arm-musleabihf" "4.34.6" + "@rollup/rollup-linux-arm64-gnu" "4.34.6" + "@rollup/rollup-linux-arm64-musl" "4.34.6" + "@rollup/rollup-linux-loongarch64-gnu" "4.34.6" + "@rollup/rollup-linux-powerpc64le-gnu" "4.34.6" + "@rollup/rollup-linux-riscv64-gnu" "4.34.6" + "@rollup/rollup-linux-s390x-gnu" "4.34.6" + "@rollup/rollup-linux-x64-gnu" "4.34.6" + "@rollup/rollup-linux-x64-musl" "4.34.6" + "@rollup/rollup-win32-arm64-msvc" "4.34.6" + "@rollup/rollup-win32-ia32-msvc" "4.34.6" + "@rollup/rollup-win32-x64-msvc" "4.34.6" + fsevents "~2.3.2" + run-parallel@^1.1.9: version "1.2.0" resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" @@ -4670,10 +4707,10 @@ safe-array-concat@^1.1.2: has-symbols "^1.0.3" isarray "^2.0.5" -safe-buffer@^5.1.0: - version "5.2.1" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" - integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== +safe-buffer@5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" + integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== safe-regex-test@^1.0.3: version "1.0.3" @@ -4696,24 +4733,10 @@ saxes@^6.0.0: dependencies: xmlchars "^2.2.0" -schema-utils@^3.1.1, schema-utils@^3.2.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.3.0.tgz#f50a88877c3c01652a15b622ae9e9795df7a60fe" - integrity sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg== - dependencies: - "@types/json-schema" "^7.0.8" - ajv "^6.12.5" - ajv-keywords "^3.5.2" - -schema-utils@^4.0.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-4.2.0.tgz#70d7c93e153a273a805801882ebd3bff20d89c8b" - integrity sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw== - dependencies: - "@types/json-schema" "^7.0.9" - ajv "^8.9.0" - ajv-formats "^2.1.1" - ajv-keywords "^5.1.0" +secure-compare@3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/secure-compare/-/secure-compare-3.0.1.tgz#f1a0329b308b221fae37b9974f3d578d0ca999e3" + integrity sha512-AckIIV90rPDcBcglUwXPF3kg0P0qmPsPXAj6BBEENQE1p5yA1xfmDJzfi1Tappj37Pv2mVbKpL3Z1T+Nn7k1Qw== semver@^6.3.0, semver@^6.3.1: version "6.3.1" @@ -4727,12 +4750,12 @@ semver@^7.3.7, semver@^7.5.3, semver@^7.5.4: dependencies: lru-cache "^6.0.0" -serialize-javascript@^6.0.1: - version "6.0.2" - resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.2.tgz#defa1e055c83bf6d59ea805d8da862254eb6a6c2" - integrity sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g== +semver@~7.5.4: + version "7.5.4" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" + integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== dependencies: - randombytes "^2.1.0" + lru-cache "^6.0.0" set-function-length@^1.2.1, set-function-length@^1.2.2: version "1.2.2" @@ -4756,13 +4779,6 @@ set-function-name@^2.0.1, set-function-name@^2.0.2: functions-have-names "^1.2.3" has-property-descriptors "^1.0.2" -shallow-clone@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3" - integrity sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA== - dependencies: - kind-of "^6.0.2" - shebang-command@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" @@ -4825,11 +4841,21 @@ side-channel@^1.1.0: side-channel-map "^1.0.1" side-channel-weakmap "^1.0.2" +siginfo@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/siginfo/-/siginfo-2.0.0.tgz#32e76c70b79724e3bb567cb9d543eb858ccfaf30" + integrity sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g== + signal-exit@^3.0.3, signal-exit@^3.0.7: version "3.0.7" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== +signal-exit@^4.0.1: + version "4.1.0" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" + integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== + sisteransi@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" @@ -4840,6 +4866,11 @@ slash@^3.0.0: resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== +source-map-js@^1.2.0, source-map-js@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46" + integrity sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA== + source-map-support@0.5.13: version "0.5.13" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932" @@ -4848,14 +4879,6 @@ source-map-support@0.5.13: buffer-from "^1.0.0" source-map "^0.6.0" -source-map-support@~0.5.20: - version "0.5.21" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" - integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" @@ -4873,6 +4896,16 @@ stack-utils@^2.0.3: dependencies: escape-string-regexp "^2.0.0" +stackback@0.0.2: + version "0.0.2" + resolved "https://registry.yarnpkg.com/stackback/-/stackback-0.0.2.tgz#1ac8a0d9483848d1695e418b6d031a3c3ce68e3b" + integrity sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw== + +std-env@^3.8.0: + version "3.8.0" + resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.8.0.tgz#b56ffc1baf1a29dcc80a3bdf11d7fca7c315e7d5" + integrity sha512-Bc3YwwCB+OzldMxOXJIIvC6cPRWr/LxOp48CdQTOkPyk/t4JWWJbrilwBd7RJzKV8QW7tJkcgAmeuLLJugl5/w== + stop-iteration-iterator@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/stop-iteration-iterator/-/stop-iteration-iterator-1.1.0.tgz#f481ff70a548f6124d0312c3aa14cbfa7aa542ad" @@ -4881,6 +4914,11 @@ stop-iteration-iterator@^1.0.0: es-errors "^1.3.0" internal-slot "^1.1.0" +string-argv@~0.3.1: + version "0.3.2" + resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.2.tgz#2b6d0ef24b656274d957d54e0a4bbf6153dc02b6" + integrity sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q== + string-length@^4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a" @@ -4889,6 +4927,15 @@ string-length@^4.0.1: char-regex "^1.0.2" strip-ansi "^6.0.0" +"string-width-cjs@npm:string-width@^4.2.0": + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" @@ -4898,6 +4945,15 @@ string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.1" +string-width@^5.0.1, string-width@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" + integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== + dependencies: + eastasianwidth "^0.2.0" + emoji-regex "^9.2.2" + strip-ansi "^7.0.1" + string.prototype.trim@^1.2.9: version "1.2.9" resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz#b6fa326d72d2c78b6df02f7759c73f8f6274faa4" @@ -4926,6 +4982,13 @@ string.prototype.trimstart@^1.0.7: define-properties "^1.2.1" es-object-atoms "^1.0.0" +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" @@ -4933,6 +4996,13 @@ strip-ansi@^6.0.0, strip-ansi@^6.0.1: dependencies: ansi-regex "^5.0.1" +strip-ansi@^7.0.1: + version "7.1.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" + integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ== + dependencies: + ansi-regex "^6.0.1" + strip-bom@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" @@ -4948,7 +5018,14 @@ strip-final-newline@^2.0.0: resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== -strip-json-comments@^3.1.1: +strip-indent@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-3.0.0.tgz#c32e1cee940b6b3432c771bc2c54bcce73cd3001" + integrity sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ== + dependencies: + min-indent "^1.0.0" + +strip-json-comments@^3.1.1, strip-json-comments@~3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== @@ -4967,7 +5044,7 @@ supports-color@^7.1.0: dependencies: has-flag "^4.0.0" -supports-color@^8.0.0: +supports-color@^8.0.0, supports-color@~8.1.1: version "8.1.1" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== @@ -4984,32 +5061,6 @@ symbol-tree@^3.2.4: resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== -tapable@^2.1.1, tapable@^2.2.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0" - integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== - -terser-webpack-plugin@^5.3.10: - version "5.3.10" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz#904f4c9193c6fd2a03f693a2150c62a92f40d199" - integrity sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w== - dependencies: - "@jridgewell/trace-mapping" "^0.3.20" - jest-worker "^27.4.5" - schema-utils "^3.1.1" - serialize-javascript "^6.0.1" - terser "^5.26.0" - -terser@^5.26.0: - version "5.29.2" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.29.2.tgz#c17d573ce1da1b30f21a877bffd5655dd86fdb35" - integrity sha512-ZiGkhUBIM+7LwkNjXYJq8svgkd+QK3UUr0wJqY4MieaezBSAIPgbSPZyIx0idM6XWK5CMzSWa8MJIzmRcB8Caw== - dependencies: - "@jridgewell/source-map" "^0.3.3" - acorn "^8.8.2" - commander "^2.20.0" - source-map-support "~0.5.20" - test-exclude@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e" @@ -5019,11 +5070,45 @@ test-exclude@^6.0.0: glob "^7.1.4" minimatch "^3.0.4" +test-exclude@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-7.0.1.tgz#20b3ba4906ac20994e275bbcafd68d510264c2a2" + integrity sha512-pFYqmTw68LXVjeWJMST4+borgQP2AyMNbg1BpZh9LbyhUeNkeaPF9gzfPGUAnSMV3qPYdWUwDIjjCLiSDOl7vg== + dependencies: + "@istanbuljs/schema" "^0.1.2" + glob "^10.4.1" + minimatch "^9.0.4" + text-table@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== +tinybench@^2.9.0: + version "2.9.0" + resolved "https://registry.yarnpkg.com/tinybench/-/tinybench-2.9.0.tgz#103c9f8ba6d7237a47ab6dd1dcff77251863426b" + integrity sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg== + +tinyexec@^0.3.2: + version "0.3.2" + resolved "https://registry.yarnpkg.com/tinyexec/-/tinyexec-0.3.2.tgz#941794e657a85e496577995c6eef66f53f42b3d2" + integrity sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA== + +tinypool@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/tinypool/-/tinypool-1.0.2.tgz#706193cc532f4c100f66aa00b01c42173d9051b2" + integrity sha512-al6n+QEANGFOMf/dmUMsuS5/r9B06uwlyNjZZql/zv8J7ybHCgoihBNORZCY2mzUuAnomQa2JdhyHKzZxPCrFA== + +tinyrainbow@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/tinyrainbow/-/tinyrainbow-2.0.0.tgz#9509b2162436315e80e3eee0fcce4474d2444294" + integrity sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw== + +tinyspy@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/tinyspy/-/tinyspy-3.0.2.tgz#86dd3cf3d737b15adcf17d7887c84a75201df20a" + integrity sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q== + tmpl@1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc" @@ -5146,6 +5231,21 @@ typed-array-length@^1.0.5: is-typed-array "^1.1.13" possible-typed-array-names "^1.0.0" +typescript@5.7.2: + version "5.7.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.2.tgz#3169cf8c4c8a828cde53ba9ecb3d2b1d5dd67be6" + integrity sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg== + +typescript@^5.7.3: + version "5.7.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.3.tgz#919b44a7dbb8583a9b856d162be24a54bf80073e" + integrity sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw== + +ufo@^1.5.4: + version "1.5.4" + resolved "https://registry.yarnpkg.com/ufo/-/ufo-1.5.4.tgz#16d6949674ca0c9e0fbbae1fa20a71d7b1ded754" + integrity sha512-UsUk3byDzKd04EyoZ7U4DOlxQaD14JUKQl6/P7wiX4FNvUfm3XL246n9W5AmqwW5RSFJ27NAuM0iLscAOYUiGQ== + unbox-primitive@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e" @@ -5161,34 +5261,23 @@ undici-types@~5.26.4: resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== -unicode-canonical-property-names-ecmascript@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" - integrity sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ== - -unicode-match-property-ecmascript@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz#54fd16e0ecb167cf04cf1f756bdcc92eba7976c3" - integrity sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q== +union@~0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/union/-/union-0.5.0.tgz#b2c11be84f60538537b846edb9ba266ba0090075" + integrity sha512-N6uOhuW6zO95P3Mel2I2zMsbsanvvtgn6jVqJv4vbVcz/JN0OkL9suomjQGmWtxJQXOCqUJvquc1sMeNz/IwlA== dependencies: - unicode-canonical-property-names-ecmascript "^2.0.0" - unicode-property-aliases-ecmascript "^2.0.0" - -unicode-match-property-value-ecmascript@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.1.0.tgz#cb5fffdcd16a05124f5a4b0bf7c3770208acbbe0" - integrity sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA== - -unicode-property-aliases-ecmascript@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz#43d41e3be698bd493ef911077c9b131f827e8ccd" - integrity sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w== + qs "^6.4.0" universalify@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0" integrity sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg== +universalify@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.1.tgz#168efc2180964e6386d061e094df61afe239b18d" + integrity sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw== + update-browserslist-db@^1.0.13: version "1.0.13" resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz#3c5e4f5c083661bd38ef64b6328c26ed6c8248c4" @@ -5197,13 +5286,18 @@ update-browserslist-db@^1.0.13: escalade "^3.1.1" picocolors "^1.0.0" -uri-js@^4.2.2: +uri-js@^4.2.2, uri-js@^4.4.1: version "4.4.1" resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== dependencies: punycode "^2.1.0" +url-join@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/url-join/-/url-join-4.0.1.tgz#b642e21a2646808ffa178c4c5fda39844e12cde7" + integrity sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA== + url-parse@^1.5.3: version "1.5.10" resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.10.tgz#9d3c2f736c1d75dd3bd2be507dcc111f1e2ea9c1" @@ -5226,6 +5320,74 @@ vanilla-caret-js@^1.0.1: resolved "https://registry.yarnpkg.com/vanilla-caret-js/-/vanilla-caret-js-1.1.0.tgz#851acd7be81998223ce69ae1b62e03f472fa4e90" integrity sha512-vl3R4Xjqb+xnM0gYyg+wcqWGYwKKnkz58Yj29/FQB+w+yP7R8IR1DGoJnDIs05moEZiGlQUTabPMoEtnQNcrpQ== +vite-node@3.0.5: + version "3.0.5" + resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-3.0.5.tgz#6a0d06f7a4bdaae6ddcdedc12d910d886cf7d62f" + integrity sha512-02JEJl7SbtwSDJdYS537nU6l+ktdvcREfLksk/NDAqtdKWGqHl+joXzEubHROmS3E6pip+Xgu2tFezMu75jH7A== + dependencies: + cac "^6.7.14" + debug "^4.4.0" + es-module-lexer "^1.6.0" + pathe "^2.0.2" + vite "^5.0.0 || ^6.0.0" + +vite-plugin-dts@^4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/vite-plugin-dts/-/vite-plugin-dts-4.5.0.tgz#a83899470dc3d423298755b615f1279abd49e0ac" + integrity sha512-M1lrPTdi7gilLYRZoLmGYnl4fbPryVYsehPN9JgaxjJKTs8/f7tuAlvCCvOLB5gRDQTTKnptBcB0ACsaw2wNLw== + dependencies: + "@microsoft/api-extractor" "^7.49.1" + "@rollup/pluginutils" "^5.1.4" + "@volar/typescript" "^2.4.11" + "@vue/language-core" "2.2.0" + compare-versions "^6.1.1" + debug "^4.4.0" + kolorist "^1.8.0" + local-pkg "^0.5.1" + magic-string "^0.30.17" + +"vite@^5.0.0 || ^6.0.0", vite@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/vite/-/vite-6.1.0.tgz#00a4e99a23751af98a2e4701c65ba89ce23858a6" + integrity sha512-RjjMipCKVoR4hVfPY6GQTgveinjNuyLw+qruksLDvA5ktI1150VmcMBKmQaEWJhg/j6Uaf6dNCNA0AfdzUb/hQ== + dependencies: + esbuild "^0.24.2" + postcss "^8.5.1" + rollup "^4.30.1" + optionalDependencies: + fsevents "~2.3.3" + +vitest@^3.0.5: + version "3.0.5" + resolved "https://registry.yarnpkg.com/vitest/-/vitest-3.0.5.tgz#a9a3fa1203d85869c9ba66f3ea990b72d00ddeb0" + integrity sha512-4dof+HvqONw9bvsYxtkfUp2uHsTN9bV2CZIi1pWgoFpL1Lld8LA1ka9q/ONSsoScAKG7NVGf2stJTI7XRkXb2Q== + dependencies: + "@vitest/expect" "3.0.5" + "@vitest/mocker" "3.0.5" + "@vitest/pretty-format" "^3.0.5" + "@vitest/runner" "3.0.5" + "@vitest/snapshot" "3.0.5" + "@vitest/spy" "3.0.5" + "@vitest/utils" "3.0.5" + chai "^5.1.2" + debug "^4.4.0" + expect-type "^1.1.0" + magic-string "^0.30.17" + pathe "^2.0.2" + std-env "^3.8.0" + tinybench "^2.9.0" + tinyexec "^0.3.2" + tinypool "^1.0.2" + tinyrainbow "^2.0.0" + vite "^5.0.0 || ^6.0.0" + vite-node "3.0.5" + why-is-node-running "^2.3.0" + +vscode-uri@^3.0.8: + version "3.1.0" + resolved "https://registry.yarnpkg.com/vscode-uri/-/vscode-uri-3.1.0.tgz#dd09ec5a66a38b5c3fffc774015713496d14e09c" + integrity sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ== + w3c-xmlserializer@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/w3c-xmlserializer/-/w3c-xmlserializer-4.0.0.tgz#aebdc84920d806222936e3cdce408e32488a3073" @@ -5240,82 +5402,11 @@ walker@^1.0.8: dependencies: makeerror "1.0.12" -watchpack@^2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.1.tgz#29308f2cac150fa8e4c92f90e0ec954a9fed7fff" - integrity sha512-8wrBCMtVhqcXP2Sup1ctSkga6uc2Bx0IIvKyT7yTFier5AXHooSI+QyQQAtTb7+E0IUCCKyTFmXqdqgum2XWGg== - dependencies: - glob-to-regexp "^0.4.1" - graceful-fs "^4.1.2" - webidl-conversions@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-7.0.0.tgz#256b4e1882be7debbf01d05f0aa2039778ea080a" integrity sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g== -webpack-cli@^5.0.0: - version "5.1.4" - resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-5.1.4.tgz#c8e046ba7eaae4911d7e71e2b25b776fcc35759b" - integrity sha512-pIDJHIEI9LR0yxHXQ+Qh95k2EvXpWzZ5l+d+jIo+RdSm9MiHfzazIxwwni/p7+x4eJZuvG1AJwgC4TNQ7NRgsg== - dependencies: - "@discoveryjs/json-ext" "^0.5.0" - "@webpack-cli/configtest" "^2.1.1" - "@webpack-cli/info" "^2.0.2" - "@webpack-cli/serve" "^2.0.5" - colorette "^2.0.14" - commander "^10.0.1" - cross-spawn "^7.0.3" - envinfo "^7.7.3" - fastest-levenshtein "^1.0.12" - import-local "^3.0.2" - interpret "^3.1.1" - rechoir "^0.8.0" - webpack-merge "^5.7.3" - -webpack-merge@^5.7.3: - version "5.10.0" - resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-5.10.0.tgz#a3ad5d773241e9c682803abf628d4cd62b8a4177" - integrity sha512-+4zXKdx7UnO+1jaN4l2lHVD+mFvnlZQP/6ljaJVb4SZiwIKeUnrT5l0gkT8z+n4hKpC+jpOv6O9R+gLtag7pSA== - dependencies: - clone-deep "^4.0.1" - flat "^5.0.2" - wildcard "^2.0.0" - -webpack-sources@^3.2.3: - version "3.2.3" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.3.tgz#2d4daab8451fd4b240cc27055ff6a0c2ccea0cde" - integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== - -webpack@^5.52.0: - version "5.91.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.91.0.tgz#ffa92c1c618d18c878f06892bbdc3373c71a01d9" - integrity sha512-rzVwlLeBWHJbmgTC/8TvAcu5vpJNII+MelQpylD4jNERPwpBJOE2lEcko1zJX3QJeLjTTAnQxn/OJ8bjDzVQaw== - dependencies: - "@types/eslint-scope" "^3.7.3" - "@types/estree" "^1.0.5" - "@webassemblyjs/ast" "^1.12.1" - "@webassemblyjs/wasm-edit" "^1.12.1" - "@webassemblyjs/wasm-parser" "^1.12.1" - acorn "^8.7.1" - acorn-import-assertions "^1.9.0" - browserslist "^4.21.10" - chrome-trace-event "^1.0.2" - enhanced-resolve "^5.16.0" - es-module-lexer "^1.2.1" - eslint-scope "5.1.1" - events "^3.2.0" - glob-to-regexp "^0.4.1" - graceful-fs "^4.2.11" - json-parse-even-better-errors "^2.3.1" - loader-runner "^4.2.0" - mime-types "^2.1.27" - neo-async "^2.6.2" - schema-utils "^3.2.0" - tapable "^2.1.1" - terser-webpack-plugin "^5.3.10" - watchpack "^2.4.1" - webpack-sources "^3.2.3" - whatwg-encoding@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-2.0.0.tgz#e7635f597fd87020858626805a2729fa7698ac53" @@ -5387,10 +5478,22 @@ which@^2.0.1: dependencies: isexe "^2.0.0" -wildcard@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/wildcard/-/wildcard-2.0.1.tgz#5ab10d02487198954836b6349f74fff961e10f67" - integrity sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ== +why-is-node-running@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/why-is-node-running/-/why-is-node-running-2.3.0.tgz#a3f69a97107f494b3cdc3bdddd883a7d65cebf04" + integrity sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w== + dependencies: + siginfo "^2.0.0" + stackback "0.0.2" + +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" wrap-ansi@^7.0.0: version "7.0.0" @@ -5401,6 +5504,15 @@ wrap-ansi@^7.0.0: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" + integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== + dependencies: + ansi-styles "^6.1.0" + string-width "^5.0.1" + strip-ansi "^7.0.1" + wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" @@ -5466,8 +5578,3 @@ yocto-queue@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== - -yocto-queue@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.0.0.tgz#7f816433fb2cbc511ec8bf7d263c3b58a1a3c251" - integrity sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g== From 1973adfc0dee0aa47af80a49d5e230d2a0ffe0ba Mon Sep 17 00:00:00 2001 From: Nans Pellicari Date: Tue, 8 Jul 2025 15:47:35 +0200 Subject: [PATCH 2/3] manage tunes data --- dist/bundle.es.js | 7043 ++++++++++++++------------------------------- dist/bundle.js | 11 +- src/undo.ts | 10 +- 3 files changed, 2099 insertions(+), 4965 deletions(-) diff --git a/dist/bundle.es.js b/dist/bundle.es.js index 9106882..b11500e 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -1,47 +1,47 @@ -var $y = Object.defineProperty; -var Ry = (r, e, t) => e in r ? $y(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t; -var Sr = (r, e, t) => Ry(r, typeof e != "symbol" ? e + "" : e, t); -var ge = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; -function Fy(r) { - return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r; -} -function By(r) { - if (r.__esModule) return r; - var e = r.default; +var da = Object.defineProperty; +var ga = (t, e, r) => e in t ? da(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r; +var X = (t, e, r) => ga(t, typeof e != "symbol" ? e + "" : e, r); +var Le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; +function ma(t) { + return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t; +} +function Sa(t) { + if (Object.prototype.hasOwnProperty.call(t, "__esModule")) return t; + var e = t.default; if (typeof e == "function") { - var t = function a() { - return this instanceof a ? Reflect.construct(e, arguments, this.constructor) : e.apply(this, arguments); + var r = function o() { + return this instanceof o ? Reflect.construct(e, arguments, this.constructor) : e.apply(this, arguments); }; - t.prototype = e.prototype; - } else t = {}; - return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(r).forEach(function(a) { - var n = Object.getOwnPropertyDescriptor(r, a); - Object.defineProperty(t, a, n.get ? n : { + r.prototype = e.prototype; + } else r = {}; + return Object.defineProperty(r, "__esModule", { value: !0 }), Object.keys(t).forEach(function(o) { + var n = Object.getOwnPropertyDescriptor(t, o); + Object.defineProperty(r, o, n.get ? n : { enumerable: !0, get: function() { - return r[a]; + return t[o]; } }); - }), t; -} -var je, bo; -function ay() { - if (bo) return je; - bo = 1; - var r = Object.prototype.toString; - return je = function(t) { - var a = r.call(t), n = a === "[object Arguments]"; - return n || (n = a !== "[object Array]" && t !== null && typeof t == "object" && typeof t.length == "number" && t.length >= 0 && r.call(t.callee) === "[object Function]"), n; - }, je; -} -var Me, Po; -function Uy() { - if (Po) return Me; - Po = 1; - var r; + }), r; +} +var er, rn; +function Ho() { + if (rn) return er; + rn = 1; + var t = Object.prototype.toString; + return er = function(r) { + var o = t.call(r), n = o === "[object Arguments]"; + return n || (n = o !== "[object Array]" && r !== null && typeof r == "object" && typeof r.length == "number" && r.length >= 0 && t.call(r.callee) === "[object Function]"), n; + }, er; +} +var rr, tn; +function ba() { + if (tn) return rr; + tn = 1; + var t; if (!Object.keys) { - var e = Object.prototype.hasOwnProperty, t = Object.prototype.toString, a = ay(), n = Object.prototype.propertyIsEnumerable, i = !n.call({ toString: null }, "toString"), o = n.call(function() { - }, "prototype"), y = [ + var e = Object.prototype.hasOwnProperty, r = Object.prototype.toString, o = Ho(), n = Object.prototype.propertyIsEnumerable, i = !n.call({ toString: null }, "toString"), u = n.call(function() { + }, "prototype"), a = [ "toString", "toLocaleString", "valueOf", @@ -49,10 +49,10 @@ function Uy() { "isPrototypeOf", "propertyIsEnumerable", "constructor" - ], f = function(E) { - var $ = E.constructor; - return $ && $.prototype === E; - }, g = { + ], f = function(y) { + var g = y.constructor; + return g && g.prototype === y; + }, c = { $applicationCache: !0, $console: !0, $external: !0, @@ -76,14 +76,14 @@ function Uy() { $webkitIndexedDB: !0, $webkitStorageInfo: !0, $window: !0 - }, h = function() { + }, v = function() { if (typeof window > "u") return !1; - for (var E in window) + for (var y in window) try { - if (!g["$" + E] && e.call(window, E) && window[E] !== null && typeof window[E] == "object") + if (!c["$" + y] && e.call(window, y) && window[y] !== null && typeof window[y] == "object") try { - f(window[E]); + f(window[y]); } catch { return !0; } @@ -91,317 +91,537 @@ function Uy() { return !0; } return !1; - }(), v = function(E) { - if (typeof window > "u" || !h) - return f(E); + }(), p = function(y) { + if (typeof window > "u" || !v) + return f(y); try { - return f(E); + return f(y); } catch { return !1; } }; - r = function($) { - var j = $ !== null && typeof $ == "object", I = t.call($) === "[object Function]", b = a($), U = j && t.call($) === "[object String]", A = []; - if (!j && !I && !b) + t = function(g) { + var S = g !== null && typeof g == "object", R = r.call(g) === "[object Function]", d = o(g), O = S && r.call(g) === "[object String]", w = []; + if (!S && !R && !d) throw new TypeError("Object.keys called on a non-object"); - var F = o && I; - if (U && $.length > 0 && !e.call($, 0)) - for (var z = 0; z < $.length; ++z) - A.push(String(z)); - if (b && $.length > 0) - for (var K = 0; K < $.length; ++K) - A.push(String(K)); + var b = u && R; + if (O && g.length > 0 && !e.call(g, 0)) + for (var T = 0; T < g.length; ++T) + w.push(String(T)); + if (d && g.length > 0) + for (var Z = 0; Z < g.length; ++Z) + w.push(String(Z)); else - for (var D in $) - !(F && D === "prototype") && e.call($, D) && A.push(String(D)); + for (var G in g) + !(b && G === "prototype") && e.call(g, G) && w.push(String(G)); if (i) - for (var O = v($), Q = 0; Q < y.length; ++Q) - !(O && y[Q] === "constructor") && e.call($, y[Q]) && A.push(y[Q]); - return A; + for (var D = p(g), k = 0; k < a.length; ++k) + !(D && a[k] === "constructor") && e.call(g, a[k]) && w.push(a[k]); + return w; }; } - return Me = r, Me; + return rr = t, rr; } -var _e, Oo; -function vo() { - if (Oo) return _e; - Oo = 1; - var r = Array.prototype.slice, e = ay(), t = Object.keys, a = t ? function(o) { - return t(o); - } : Uy(), n = Object.keys; - return a.shim = function() { +var tr, nn; +function kt() { + if (nn) return tr; + nn = 1; + var t = Array.prototype.slice, e = Ho(), r = Object.keys, o = r ? function(u) { + return r(u); + } : ba(), n = Object.keys; + return o.shim = function() { if (Object.keys) { - var o = function() { - var y = Object.keys(arguments); - return y && y.length === arguments.length; + var u = function() { + var a = Object.keys(arguments); + return a && a.length === arguments.length; }(1, 2); - o || (Object.keys = function(f) { - return e(f) ? n(r.call(f)) : n(f); + u || (Object.keys = function(f) { + return e(f) ? n(t.call(f)) : n(f); }); } else - Object.keys = a; - return Object.keys || a; - }, _e = a, _e; + Object.keys = o; + return Object.keys || o; + }, tr = o, tr; +} +var nr, on; +function Ue() { + if (on) return nr; + on = 1; + var t = Object.defineProperty || !1; + if (t) + try { + t({}, "a", { value: 1 }); + } catch { + t = !1; + } + return nr = t, nr; +} +var or, an; +function Dt() { + return an || (an = 1, or = SyntaxError), or; +} +var ar, un; +function ne() { + return un || (un = 1, ar = TypeError), ar; +} +var ir, fn; +function Oa() { + return fn || (fn = 1, ir = Object.getOwnPropertyDescriptor), ir; +} +var ur, sn; +function Ae() { + if (sn) return ur; + sn = 1; + var t = /* @__PURE__ */ Oa(); + if (t) + try { + t([], "length"); + } catch { + t = null; + } + return ur = t, ur; +} +var fr, ln; +function _t() { + if (ln) return fr; + ln = 1; + var t = /* @__PURE__ */ Ue(), e = /* @__PURE__ */ Dt(), r = /* @__PURE__ */ ne(), o = /* @__PURE__ */ Ae(); + return fr = function(i, u, a) { + if (!i || typeof i != "object" && typeof i != "function") + throw new r("`obj` must be an object or a function`"); + if (typeof u != "string" && typeof u != "symbol") + throw new r("`property` must be a string or a symbol`"); + if (arguments.length > 3 && typeof arguments[3] != "boolean" && arguments[3] !== null) + throw new r("`nonEnumerable`, if provided, must be a boolean or null"); + if (arguments.length > 4 && typeof arguments[4] != "boolean" && arguments[4] !== null) + throw new r("`nonWritable`, if provided, must be a boolean or null"); + if (arguments.length > 5 && typeof arguments[5] != "boolean" && arguments[5] !== null) + throw new r("`nonConfigurable`, if provided, must be a boolean or null"); + if (arguments.length > 6 && typeof arguments[6] != "boolean") + throw new r("`loose`, if provided, must be a boolean"); + var f = arguments.length > 3 ? arguments[3] : null, c = arguments.length > 4 ? arguments[4] : null, v = arguments.length > 5 ? arguments[5] : null, p = arguments.length > 6 ? arguments[6] : !1, y = !!o && o(i, u); + if (t) + t(i, u, { + configurable: v === null && y ? y.configurable : !v, + enumerable: f === null && y ? y.enumerable : !f, + value: a, + writable: c === null && y ? y.writable : !c + }); + else if (p || !f && !c && !v) + i[u] = a; + else + throw new e("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable."); + }, fr; +} +var sr, cn; +function Ft() { + if (cn) return sr; + cn = 1; + var t = /* @__PURE__ */ Ue(), e = function() { + return !!t; + }; + return e.hasArrayLengthDefineBug = function() { + if (!t) + return null; + try { + return t([], "length", { value: 1 }).length !== 1; + } catch { + return !0; + } + }, sr = e, sr; +} +var lr, pn; +function we() { + if (pn) return lr; + pn = 1; + var t = kt(), e = typeof Symbol == "function" && typeof Symbol("foo") == "symbol", r = Object.prototype.toString, o = Array.prototype.concat, n = /* @__PURE__ */ _t(), i = function(c) { + return typeof c == "function" && r.call(c) === "[object Function]"; + }, u = /* @__PURE__ */ Ft()(), a = function(c, v, p, y) { + if (v in c) { + if (y === !0) { + if (c[v] === p) + return; + } else if (!i(y) || !y()) + return; + } + u ? n(c, v, p, !0) : n(c, v, p); + }, f = function(c, v) { + var p = arguments.length > 2 ? arguments[2] : {}, y = t(v); + e && (y = o.call(y, Object.getOwnPropertySymbols(v))); + for (var g = 0; g < y.length; g += 1) + a(c, y[g], v[y[g]], p[y[g]]); + }; + return f.supportsDescriptors = !!u, lr = f, lr; } -var De, Io; -function Rr() { - return Io || (Io = 1, De = Error), De; +var cr = { exports: {} }, pr, yn; +function Nt() { + return yn || (yn = 1, pr = Object), pr; } -var Ne, Eo; -function jr() { - return Eo || (Eo = 1, Ne = EvalError), Ne; +var yr, vn; +function Go() { + return vn || (vn = 1, yr = Error), yr; } -var Te, wo; -function Mr() { - return wo || (wo = 1, Te = RangeError), Te; +var vr, hn; +function Aa() { + return hn || (hn = 1, vr = EvalError), vr; } -var ke, $o; -function _r() { - return $o || ($o = 1, ke = ReferenceError), ke; +var hr, dn; +function wa() { + return dn || (dn = 1, hr = RangeError), hr; } -var Ce, Ro; -function Er() { - return Ro || (Ro = 1, Ce = SyntaxError), Ce; +var dr, gn; +function Pa() { + return gn || (gn = 1, dr = ReferenceError), dr; } -var Ge, Fo; -function gr() { - return Fo || (Fo = 1, Ge = TypeError), Ge; +var gr, mn; +function Ia() { + return mn || (mn = 1, gr = URIError), gr; } -var We, Bo; -function Dr() { - return Bo || (Bo = 1, We = URIError), We; +var mr, Sn; +function qa() { + return Sn || (Sn = 1, mr = Math.abs), mr; } -var Le, Uo; -function go() { - return Uo || (Uo = 1, Le = function() { +var Sr, bn; +function Ra() { + return bn || (bn = 1, Sr = Math.floor), Sr; +} +var br, On; +function Ea() { + return On || (On = 1, br = Math.max), br; +} +var Or, An; +function $a() { + return An || (An = 1, Or = Math.min), Or; +} +var Ar, wn; +function Ba() { + return wn || (wn = 1, Ar = Math.pow), Ar; +} +var wr, Pn; +function xa() { + return Pn || (Pn = 1, wr = Math.round), wr; +} +var Pr, In; +function Ma() { + return In || (In = 1, Pr = Number.isNaN || function(e) { + return e !== e; + }), Pr; +} +var Ir, qn; +function Ta() { + if (qn) return Ir; + qn = 1; + var t = /* @__PURE__ */ Ma(); + return Ir = function(r) { + return t(r) || r === 0 ? r : r < 0 ? -1 : 1; + }, Ir; +} +var qr, Rn; +function He() { + return Rn || (Rn = 1, qr = function() { if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") return !1; if (typeof Symbol.iterator == "symbol") return !0; - var e = {}, t = Symbol("test"), a = Object(t); - if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(a) !== "[object Symbol]") + var e = {}, r = Symbol("test"), o = Object(r); + if (typeof r == "string" || Object.prototype.toString.call(r) !== "[object Symbol]" || Object.prototype.toString.call(o) !== "[object Symbol]") return !1; var n = 42; - e[t] = n; - for (t in e) + e[r] = n; + for (var i in e) return !1; if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0) return !1; - var i = Object.getOwnPropertySymbols(e); - if (i.length !== 1 || i[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t)) + var u = Object.getOwnPropertySymbols(e); + if (u.length !== 1 || u[0] !== r || !Object.prototype.propertyIsEnumerable.call(e, r)) return !1; if (typeof Object.getOwnPropertyDescriptor == "function") { - var o = Object.getOwnPropertyDescriptor(e, t); - if (o.value !== n || o.enumerable !== !0) + var a = ( + /** @type {PropertyDescriptor} */ + Object.getOwnPropertyDescriptor(e, r) + ); + if (a.value !== n || a.enumerable !== !0) return !1; } return !0; - }), Le; -} -var He, qo; -function ho() { - if (qo) return He; - qo = 1; - var r = typeof Symbol < "u" && Symbol, e = go(); - return He = function() { - return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e(); - }, He; -} -var Ve, xo; -function Be() { - if (xo) return Ve; - xo = 1; - var r = { - __proto__: null, - foo: {} - }, e = Object; - return Ve = function() { - return { __proto__: r }.foo === r.foo && !(r instanceof e); - }, Ve; -} -var Je, jo; -function qy() { - if (jo) return Je; - jo = 1; - var r = "Function.prototype.bind called on incompatible ", e = Object.prototype.toString, t = Math.max, a = "[object Function]", n = function(f, g) { - for (var h = [], v = 0; v < f.length; v += 1) - h[v] = f[v]; - for (var E = 0; E < g.length; E += 1) - h[E + f.length] = g[E]; - return h; - }, i = function(f, g) { - for (var h = [], v = g, E = 0; v < f.length; v += 1, E += 1) - h[E] = f[v]; - return h; - }, o = function(y, f) { - for (var g = "", h = 0; h < y.length; h += 1) - g += y[h], h + 1 < y.length && (g += f); - return g; + }), qr; +} +var Rr, En; +function Wt() { + if (En) return Rr; + En = 1; + var t = typeof Symbol < "u" && Symbol, e = He(); + return Rr = function() { + return typeof t != "function" || typeof Symbol != "function" || typeof t("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e(); + }, Rr; +} +var Er, $n; +function Ko() { + return $n || ($n = 1, Er = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Er; +} +var $r, Bn; +function zo() { + if (Bn) return $r; + Bn = 1; + var t = /* @__PURE__ */ Nt(); + return $r = t.getPrototypeOf || null, $r; +} +var Br, xn; +function Ca() { + if (xn) return Br; + xn = 1; + var t = "Function.prototype.bind called on incompatible ", e = Object.prototype.toString, r = Math.max, o = "[object Function]", n = function(f, c) { + for (var v = [], p = 0; p < f.length; p += 1) + v[p] = f[p]; + for (var y = 0; y < c.length; y += 1) + v[y + f.length] = c[y]; + return v; + }, i = function(f, c) { + for (var v = [], p = c, y = 0; p < f.length; p += 1, y += 1) + v[y] = f[p]; + return v; + }, u = function(a, f) { + for (var c = "", v = 0; v < a.length; v += 1) + c += a[v], v + 1 < a.length && (c += f); + return c; }; - return Je = function(f) { - var g = this; - if (typeof g != "function" || e.apply(g) !== a) - throw new TypeError(r + g); - for (var h = i(arguments, 1), v, E = function() { - if (this instanceof v) { - var U = g.apply( + return Br = function(f) { + var c = this; + if (typeof c != "function" || e.apply(c) !== o) + throw new TypeError(t + c); + for (var v = i(arguments, 1), p, y = function() { + if (this instanceof p) { + var O = c.apply( this, - n(h, arguments) + n(v, arguments) ); - return Object(U) === U ? U : this; + return Object(O) === O ? O : this; } - return g.apply( + return c.apply( f, - n(h, arguments) + n(v, arguments) ); - }, $ = t(0, g.length - h.length), j = [], I = 0; I < $; I++) - j[I] = "$" + I; - if (v = Function("binder", "return function (" + o(j, ",") + "){ return binder.apply(this,arguments); }")(E), g.prototype) { - var b = function() { + }, g = r(0, c.length - v.length), S = [], R = 0; R < g; R++) + S[R] = "$" + R; + if (p = Function("binder", "return function (" + u(S, ",") + "){ return binder.apply(this,arguments); }")(y), c.prototype) { + var d = function() { }; - b.prototype = g.prototype, v.prototype = new b(), b.prototype = null; + d.prototype = c.prototype, p.prototype = new d(), d.prototype = null; } - return v; - }, Je; + return p; + }, Br; +} +var xr, Mn; +function Ce() { + if (Mn) return xr; + Mn = 1; + var t = Ca(); + return xr = Function.prototype.bind || t, xr; +} +var Mr, Tn; +function Lt() { + return Tn || (Tn = 1, Mr = Function.prototype.call), Mr; +} +var Tr, Cn; +function Ut() { + return Cn || (Cn = 1, Tr = Function.prototype.apply), Tr; +} +var Cr, jn; +function ja() { + return jn || (jn = 1, Cr = typeof Reflect < "u" && Reflect && Reflect.apply), Cr; +} +var jr, kn; +function Vo() { + if (kn) return jr; + kn = 1; + var t = Ce(), e = Ut(), r = Lt(), o = ja(); + return jr = o || t.call(r, e), jr; +} +var kr, Dn; +function Ht() { + if (Dn) return kr; + Dn = 1; + var t = Ce(), e = /* @__PURE__ */ ne(), r = Lt(), o = Vo(); + return kr = function(i) { + if (i.length < 1 || typeof i[0] != "function") + throw new e("a function is required"); + return o(t, r, i); + }, kr; +} +var Dr, _n; +function ka() { + if (_n) return Dr; + _n = 1; + var t = Ht(), e = /* @__PURE__ */ Ae(), r; + try { + r = /** @type {{ __proto__?: typeof Array.prototype }} */ + [].__proto__ === Array.prototype; + } catch (u) { + if (!u || typeof u != "object" || !("code" in u) || u.code !== "ERR_PROTO_ACCESS") + throw u; + } + var o = !!r && e && e( + Object.prototype, + /** @type {keyof typeof Object.prototype} */ + "__proto__" + ), n = Object, i = n.getPrototypeOf; + return Dr = o && typeof o.get == "function" ? t([o.get]) : typeof i == "function" ? ( + /** @type {import('./get')} */ + function(a) { + return i(a == null ? a : n(a)); + } + ) : !1, Dr; } -var ze, Mo; -function Or() { - if (Mo) return ze; - Mo = 1; - var r = qy(); - return ze = Function.prototype.bind || r, ze; +var _r, Fn; +function Jo() { + if (Fn) return _r; + Fn = 1; + var t = Ko(), e = zo(), r = /* @__PURE__ */ ka(); + return _r = t ? function(n) { + return t(n); + } : e ? function(n) { + if (!n || typeof n != "object" && typeof n != "function") + throw new TypeError("getProto: not an object"); + return e(n); + } : r ? function(n) { + return r(n); + } : null, _r; } -var Ke, _o; -function Fr() { - if (_o) return Ke; - _o = 1; - var r = Function.prototype.call, e = Object.prototype.hasOwnProperty, t = Or(); - return Ke = t.call(r, e), Ke; +var Fr, Nn; +function Gt() { + if (Nn) return Fr; + Nn = 1; + var t = Function.prototype.call, e = Object.prototype.hasOwnProperty, r = Ce(); + return Fr = r.call(t, e), Fr; } -var Ye, Do; -function Vr() { - if (Do) return Ye; - Do = 1; - var r, e = /* @__PURE__ */ Rr(), t = /* @__PURE__ */ jr(), a = /* @__PURE__ */ Mr(), n = /* @__PURE__ */ _r(), i = /* @__PURE__ */ Er(), o = /* @__PURE__ */ gr(), y = /* @__PURE__ */ Dr(), f = Function, g = function(N) { - try { - return f('"use strict"; return (' + N + ").constructor;")(); - } catch { - } - }, h = Object.getOwnPropertyDescriptor; - if (h) +var Nr, Wn; +function ye() { + if (Wn) return Nr; + Wn = 1; + var t, e = /* @__PURE__ */ Nt(), r = /* @__PURE__ */ Go(), o = /* @__PURE__ */ Aa(), n = /* @__PURE__ */ wa(), i = /* @__PURE__ */ Pa(), u = /* @__PURE__ */ Dt(), a = /* @__PURE__ */ ne(), f = /* @__PURE__ */ Ia(), c = /* @__PURE__ */ qa(), v = /* @__PURE__ */ Ra(), p = /* @__PURE__ */ Ea(), y = /* @__PURE__ */ $a(), g = /* @__PURE__ */ Ba(), S = /* @__PURE__ */ xa(), R = /* @__PURE__ */ Ta(), d = Function, O = function(C) { try { - h({}, ""); + return d('"use strict"; return (' + C + ").constructor;")(); } catch { - h = null; } - var v = function() { - throw new o(); - }, E = h ? function() { + }, w = /* @__PURE__ */ Ae(), b = /* @__PURE__ */ Ue(), T = function() { + throw new a(); + }, Z = w ? function() { try { - return arguments.callee, v; + return arguments.callee, T; } catch { try { - return h(arguments, "callee").get; + return w(arguments, "callee").get; } catch { - return v; + return T; } } - }() : v, $ = ho()(), j = /* @__PURE__ */ Be()(), I = Object.getPrototypeOf || (j ? function(N) { - return N.__proto__; - } : null), b = {}, U = typeof Uint8Array > "u" || !I ? r : I(Uint8Array), A = { + }() : T, G = Wt()(), D = Jo(), k = zo(), I = Ko(), _ = Ut(), U = Lt(), N = {}, H = typeof Uint8Array > "u" || !D ? t : D(Uint8Array), V = { __proto__: null, - "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError, + "%AggregateError%": typeof AggregateError > "u" ? t : AggregateError, "%Array%": Array, - "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer, - "%ArrayIteratorPrototype%": $ && I ? I([][Symbol.iterator]()) : r, - "%AsyncFromSyncIteratorPrototype%": r, - "%AsyncFunction%": b, - "%AsyncGenerator%": b, - "%AsyncGeneratorFunction%": b, - "%AsyncIteratorPrototype%": b, - "%Atomics%": typeof Atomics > "u" ? r : Atomics, - "%BigInt%": typeof BigInt > "u" ? r : BigInt, - "%BigInt64Array%": typeof BigInt64Array > "u" ? r : BigInt64Array, - "%BigUint64Array%": typeof BigUint64Array > "u" ? r : BigUint64Array, + "%ArrayBuffer%": typeof ArrayBuffer > "u" ? t : ArrayBuffer, + "%ArrayIteratorPrototype%": G && D ? D([][Symbol.iterator]()) : t, + "%AsyncFromSyncIteratorPrototype%": t, + "%AsyncFunction%": N, + "%AsyncGenerator%": N, + "%AsyncGeneratorFunction%": N, + "%AsyncIteratorPrototype%": N, + "%Atomics%": typeof Atomics > "u" ? t : Atomics, + "%BigInt%": typeof BigInt > "u" ? t : BigInt, + "%BigInt64Array%": typeof BigInt64Array > "u" ? t : BigInt64Array, + "%BigUint64Array%": typeof BigUint64Array > "u" ? t : BigUint64Array, "%Boolean%": Boolean, - "%DataView%": typeof DataView > "u" ? r : DataView, + "%DataView%": typeof DataView > "u" ? t : DataView, "%Date%": Date, "%decodeURI%": decodeURI, "%decodeURIComponent%": decodeURIComponent, "%encodeURI%": encodeURI, "%encodeURIComponent%": encodeURIComponent, - "%Error%": e, + "%Error%": r, "%eval%": eval, // eslint-disable-line no-eval - "%EvalError%": t, - "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array, - "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array, - "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry, - "%Function%": f, - "%GeneratorFunction%": b, - "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array, - "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array, - "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array, + "%EvalError%": o, + "%Float32Array%": typeof Float32Array > "u" ? t : Float32Array, + "%Float64Array%": typeof Float64Array > "u" ? t : Float64Array, + "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? t : FinalizationRegistry, + "%Function%": d, + "%GeneratorFunction%": N, + "%Int8Array%": typeof Int8Array > "u" ? t : Int8Array, + "%Int16Array%": typeof Int16Array > "u" ? t : Int16Array, + "%Int32Array%": typeof Int32Array > "u" ? t : Int32Array, "%isFinite%": isFinite, "%isNaN%": isNaN, - "%IteratorPrototype%": $ && I ? I(I([][Symbol.iterator]())) : r, - "%JSON%": typeof JSON == "object" ? JSON : r, - "%Map%": typeof Map > "u" ? r : Map, - "%MapIteratorPrototype%": typeof Map > "u" || !$ || !I ? r : I((/* @__PURE__ */ new Map())[Symbol.iterator]()), + "%IteratorPrototype%": G && D ? D(D([][Symbol.iterator]())) : t, + "%JSON%": typeof JSON == "object" ? JSON : t, + "%Map%": typeof Map > "u" ? t : Map, + "%MapIteratorPrototype%": typeof Map > "u" || !G || !D ? t : D((/* @__PURE__ */ new Map())[Symbol.iterator]()), "%Math%": Math, "%Number%": Number, - "%Object%": Object, + "%Object%": e, + "%Object.getOwnPropertyDescriptor%": w, "%parseFloat%": parseFloat, "%parseInt%": parseInt, - "%Promise%": typeof Promise > "u" ? r : Promise, - "%Proxy%": typeof Proxy > "u" ? r : Proxy, - "%RangeError%": a, - "%ReferenceError%": n, - "%Reflect%": typeof Reflect > "u" ? r : Reflect, + "%Promise%": typeof Promise > "u" ? t : Promise, + "%Proxy%": typeof Proxy > "u" ? t : Proxy, + "%RangeError%": n, + "%ReferenceError%": i, + "%Reflect%": typeof Reflect > "u" ? t : Reflect, "%RegExp%": RegExp, - "%Set%": typeof Set > "u" ? r : Set, - "%SetIteratorPrototype%": typeof Set > "u" || !$ || !I ? r : I((/* @__PURE__ */ new Set())[Symbol.iterator]()), - "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer, + "%Set%": typeof Set > "u" ? t : Set, + "%SetIteratorPrototype%": typeof Set > "u" || !G || !D ? t : D((/* @__PURE__ */ new Set())[Symbol.iterator]()), + "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? t : SharedArrayBuffer, "%String%": String, - "%StringIteratorPrototype%": $ && I ? I(""[Symbol.iterator]()) : r, - "%Symbol%": $ ? Symbol : r, - "%SyntaxError%": i, - "%ThrowTypeError%": E, - "%TypedArray%": U, - "%TypeError%": o, - "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array, - "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray, - "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array, - "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array, - "%URIError%": y, - "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap, - "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef, - "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet + "%StringIteratorPrototype%": G && D ? D(""[Symbol.iterator]()) : t, + "%Symbol%": G ? Symbol : t, + "%SyntaxError%": u, + "%ThrowTypeError%": Z, + "%TypedArray%": H, + "%TypeError%": a, + "%Uint8Array%": typeof Uint8Array > "u" ? t : Uint8Array, + "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? t : Uint8ClampedArray, + "%Uint16Array%": typeof Uint16Array > "u" ? t : Uint16Array, + "%Uint32Array%": typeof Uint32Array > "u" ? t : Uint32Array, + "%URIError%": f, + "%WeakMap%": typeof WeakMap > "u" ? t : WeakMap, + "%WeakRef%": typeof WeakRef > "u" ? t : WeakRef, + "%WeakSet%": typeof WeakSet > "u" ? t : WeakSet, + "%Function.prototype.call%": U, + "%Function.prototype.apply%": _, + "%Object.defineProperty%": b, + "%Object.getPrototypeOf%": k, + "%Math.abs%": c, + "%Math.floor%": v, + "%Math.max%": p, + "%Math.min%": y, + "%Math.pow%": g, + "%Math.round%": S, + "%Math.sign%": R, + "%Reflect.getPrototypeOf%": I }; - if (I) + if (D) try { null.error; - } catch (N) { - var F = I(I(N)); - A["%Error.prototype%"] = F; + } catch (C) { + var K = D(D(C)); + V["%Error.prototype%"] = K; } - var z = function N(P) { - var R; + var Ie = function C(P) { + var q; if (P === "%AsyncFunction%") - R = g("async function () {}"); + q = O("async function () {}"); else if (P === "%GeneratorFunction%") - R = g("function* () {}"); + q = O("function* () {}"); else if (P === "%AsyncGeneratorFunction%") - R = g("async function* () {}"); + q = O("async function* () {}"); else if (P === "%AsyncGenerator%") { - var q = N("%AsyncGeneratorFunction%"); - q && (R = q.prototype); + var A = C("%AsyncGeneratorFunction%"); + A && (q = A.prototype); } else if (P === "%AsyncIteratorPrototype%") { - var M = N("%AsyncGenerator%"); - M && I && (R = I(M.prototype)); + var E = C("%AsyncGenerator%"); + E && D && (q = D(E.prototype)); } - return A[P] = R, R; - }, K = { + return V[P] = q, q; + }, me = { __proto__: null, "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], "%ArrayPrototype%": ["Array", "prototype"], @@ -454,4362 +674,1579 @@ function Vr() { "%URIErrorPrototype%": ["URIError", "prototype"], "%WeakMapPrototype%": ["WeakMap", "prototype"], "%WeakSetPrototype%": ["WeakSet", "prototype"] - }, D = Or(), O = /* @__PURE__ */ Fr(), Q = D.call(Function.call, Array.prototype.concat), Y = D.call(Function.apply, Array.prototype.splice), er = D.call(Function.call, String.prototype.replace), G = D.call(Function.call, String.prototype.slice), H = D.call(Function.call, RegExp.prototype.exec), or = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, V = /\\(\\)?/g, nr = function(P) { - var R = G(P, 0, 1), q = G(P, -1); - if (R === "%" && q !== "%") - throw new i("invalid intrinsic syntax, expected closing `%`"); - if (q === "%" && R !== "%") - throw new i("invalid intrinsic syntax, expected opening `%`"); - var M = []; - return er(P, or, function(J, X, u, x) { - M[M.length] = u ? er(x, V, "$1") : X || J; - }), M; - }, dr = function(P, R) { - var q = P, M; - if (O(K, q) && (M = K[q], q = "%" + M[0] + "%"), O(A, q)) { - var J = A[q]; - if (J === b && (J = z(q)), typeof J > "u" && !R) - throw new o("intrinsic " + P + " exists, but is not available. Please file an issue!"); + }, oe = Ce(), z = /* @__PURE__ */ Gt(), Se = oe.call(U, Array.prototype.concat), qe = oe.call(_, Array.prototype.splice), be = oe.call(U, String.prototype.replace), ve = oe.call(U, String.prototype.slice), h = oe.call(U, RegExp.prototype.exec), m = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, M = /\\(\\)?/g, $ = function(P) { + var q = ve(P, 0, 1), A = ve(P, -1); + if (q === "%" && A !== "%") + throw new u("invalid intrinsic syntax, expected closing `%`"); + if (A === "%" && q !== "%") + throw new u("invalid intrinsic syntax, expected opening `%`"); + var E = []; + return be(P, m, function(J, Y, F, Q) { + E[E.length] = F ? be(Q, M, "$1") : Y || J; + }), E; + }, B = function(P, q) { + var A = P, E; + if (z(me, A) && (E = me[A], A = "%" + E[0] + "%"), z(V, A)) { + var J = V[A]; + if (J === N && (J = Ie(A)), typeof J > "u" && !q) + throw new a("intrinsic " + P + " exists, but is not available. Please file an issue!"); return { - alias: M, - name: q, + alias: E, + name: A, value: J }; } - throw new i("intrinsic " + P + " does not exist!"); + throw new u("intrinsic " + P + " does not exist!"); }; - return Ye = function(P, R) { + return Nr = function(P, q) { if (typeof P != "string" || P.length === 0) - throw new o("intrinsic name must be a non-empty string"); - if (arguments.length > 1 && typeof R != "boolean") - throw new o('"allowMissing" argument must be a boolean'); - if (H(/^%?[^%]*%?$/, P) === null) - throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); - var q = nr(P), M = q.length > 0 ? q[0] : "", J = dr("%" + M + "%", R), X = J.name, u = J.value, x = !1, L = J.alias; - L && (M = L[0], Y(q, Q([0, 1], L))); - for (var k = 1, C = !0; k < q.length; k += 1) { - var w = q[k], s = G(w, 0, 1), S = G(w, -1); - if ((s === '"' || s === "'" || s === "`" || S === '"' || S === "'" || S === "`") && s !== S) - throw new i("property names with quotes must have matching quotes"); - if ((w === "constructor" || !C) && (x = !0), M += "." + w, X = "%" + M + "%", O(A, X)) - u = A[X]; - else if (u != null) { - if (!(w in u)) { - if (!R) - throw new o("base intrinsic for " + P + " exists, but the property is not available."); + throw new a("intrinsic name must be a non-empty string"); + if (arguments.length > 1 && typeof q != "boolean") + throw new a('"allowMissing" argument must be a boolean'); + if (h(/^%?[^%]*%?$/, P) === null) + throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); + var A = $(P), E = A.length > 0 ? A[0] : "", J = B("%" + E + "%", q), Y = J.name, F = J.value, Q = !1, he = J.alias; + he && (E = he[0], qe(A, Se([0, 1], he))); + for (var ie = 1, ue = !0; ie < A.length; ie += 1) { + var re = A[ie], fe = ve(re, 0, 1), se = ve(re, -1); + if ((fe === '"' || fe === "'" || fe === "`" || se === '"' || se === "'" || se === "`") && fe !== se) + throw new u("property names with quotes must have matching quotes"); + if ((re === "constructor" || !ue) && (Q = !0), E += "." + re, Y = "%" + E + "%", z(V, Y)) + F = V[Y]; + else if (F != null) { + if (!(re in F)) { + if (!q) + throw new a("base intrinsic for " + P + " exists, but the property is not available."); return; } - if (h && k + 1 >= q.length) { - var l = h(u, w); - C = !!l, C && "get" in l && !("originalValue" in l.get) ? u = l.get : u = u[w]; + if (w && ie + 1 >= A.length) { + var le = w(F, re); + ue = !!le, ue && "get" in le && !("originalValue" in le.get) ? F = le.get : F = F[re]; } else - C = O(u, w), u = u[w]; - C && !x && (A[X] = u); + ue = z(F, re), F = F[re]; + ue && !Q && (V[Y] = F); } } - return u; - }, Ye; -} -var Xe, No; -function Ue() { - if (No) return Xe; - No = 1; - var r = /* @__PURE__ */ Vr(), e = r("%Object.defineProperty%", !0) || !1; - if (e) - try { - e({}, "a", { value: 1 }); - } catch { - e = !1; - } - return Xe = e, Xe; -} -var Qe, To; -function iy() { - if (To) return Qe; - To = 1; - var r = /* @__PURE__ */ Vr(), e = r("%Object.getOwnPropertyDescriptor%", !0); - if (e) - try { - e([], "length"); - } catch { - e = null; - } - return Qe = e, Qe; -} -var Ze, ko; -function mo() { - if (ko) return Ze; - ko = 1; - var r = /* @__PURE__ */ Ue(), e = /* @__PURE__ */ Er(), t = /* @__PURE__ */ gr(), a = /* @__PURE__ */ iy(); - return Ze = function(i, o, y) { - if (!i || typeof i != "object" && typeof i != "function") - throw new t("`obj` must be an object or a function`"); - if (typeof o != "string" && typeof o != "symbol") - throw new t("`property` must be a string or a symbol`"); - if (arguments.length > 3 && typeof arguments[3] != "boolean" && arguments[3] !== null) - throw new t("`nonEnumerable`, if provided, must be a boolean or null"); - if (arguments.length > 4 && typeof arguments[4] != "boolean" && arguments[4] !== null) - throw new t("`nonWritable`, if provided, must be a boolean or null"); - if (arguments.length > 5 && typeof arguments[5] != "boolean" && arguments[5] !== null) - throw new t("`nonConfigurable`, if provided, must be a boolean or null"); - if (arguments.length > 6 && typeof arguments[6] != "boolean") - throw new t("`loose`, if provided, must be a boolean"); - var f = arguments.length > 3 ? arguments[3] : null, g = arguments.length > 4 ? arguments[4] : null, h = arguments.length > 5 ? arguments[5] : null, v = arguments.length > 6 ? arguments[6] : !1, E = !!a && a(i, o); - if (r) - r(i, o, { - configurable: h === null && E ? E.configurable : !h, - enumerable: f === null && E ? E.enumerable : !f, - value: y, - writable: g === null && E ? E.writable : !g - }); - else if (v || !f && !g && !h) - i[o] = y; - else - throw new e("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable."); - }, Ze; -} -var rt, Co; -function So() { - if (Co) return rt; - Co = 1; - var r = /* @__PURE__ */ Ue(), e = function() { - return !!r; - }; - return e.hasArrayLengthDefineBug = function() { - if (!r) - return null; - try { - return r([], "length", { value: 1 }).length !== 1; - } catch { - return !0; - } - }, rt = e, rt; -} -var et, Go; -function Jr() { - if (Go) return et; - Go = 1; - var r = vo(), e = typeof Symbol == "function" && typeof Symbol("foo") == "symbol", t = Object.prototype.toString, a = Array.prototype.concat, n = /* @__PURE__ */ mo(), i = function(g) { - return typeof g == "function" && t.call(g) === "[object Function]"; - }, o = /* @__PURE__ */ So()(), y = function(g, h, v, E) { - if (h in g) { - if (E === !0) { - if (g[h] === v) - return; - } else if (!i(E) || !E()) - return; - } - o ? n(g, h, v, !0) : n(g, h, v); - }, f = function(g, h) { - var v = arguments.length > 2 ? arguments[2] : {}, E = r(h); - e && (E = a.call(E, Object.getOwnPropertySymbols(h))); - for (var $ = 0; $ < E.length; $ += 1) - y(g, E[$], h[E[$]], v[E[$]]); - }; - return f.supportsDescriptors = !!o, et = f, et; + return F; + }, Nr; } -var tt = { exports: {} }, nt, Wo; -function he() { - if (Wo) return nt; - Wo = 1; - var r = /* @__PURE__ */ Vr(), e = /* @__PURE__ */ mo(), t = /* @__PURE__ */ So()(), a = /* @__PURE__ */ iy(), n = /* @__PURE__ */ gr(), i = r("%Math.floor%"); - return nt = function(y, f) { - if (typeof y != "function") +var Wr, Ln; +function Da() { + if (Ln) return Wr; + Ln = 1; + var t = /* @__PURE__ */ ye(), e = /* @__PURE__ */ _t(), r = /* @__PURE__ */ Ft()(), o = /* @__PURE__ */ Ae(), n = /* @__PURE__ */ ne(), i = t("%Math.floor%"); + return Wr = function(a, f) { + if (typeof a != "function") throw new n("`fn` is not a function"); if (typeof f != "number" || f < 0 || f > 4294967295 || i(f) !== f) throw new n("`length` must be a positive 32-bit integer"); - var g = arguments.length > 2 && !!arguments[2], h = !0, v = !0; - if ("length" in y && a) { - var E = a(y, "length"); - E && !E.configurable && (h = !1), E && !E.writable && (v = !1); + var c = arguments.length > 2 && !!arguments[2], v = !0, p = !0; + if ("length" in a && o) { + var y = o(a, "length"); + y && !y.configurable && (v = !1), y && !y.writable && (p = !1); } - return (h || v || !g) && (t ? e( + return (v || p || !c) && (r ? e( /** @type {Parameters[0]} */ - y, + a, "length", f, !0, !0 ) : e( /** @type {Parameters[0]} */ - y, + a, "length", f - )), y; - }, nt; + )), a; + }, Wr; +} +var Lr, Un; +function _a() { + if (Un) return Lr; + Un = 1; + var t = Ce(), e = Ut(), r = Vo(); + return Lr = function() { + return r(t, e, arguments); + }, Lr; +} +var Hn; +function Be() { + return Hn || (Hn = 1, function(t) { + var e = /* @__PURE__ */ Da(), r = /* @__PURE__ */ Ue(), o = Ht(), n = _a(); + t.exports = function(u) { + var a = o(arguments), f = u.length - (arguments.length - 1); + return e( + a, + 1 + (f > 0 ? f : 0), + !0 + ); + }, r ? r(t.exports, "apply", { value: n }) : t.exports.apply = n; + }(cr)), cr.exports; +} +var Ur, Gn; +function ee() { + if (Gn) return Ur; + Gn = 1; + var t = /* @__PURE__ */ ye(), e = Ht(), r = e([t("%String.prototype.indexOf%")]); + return Ur = function(n, i) { + var u = ( + /** @type {Parameters[0][0]} */ + t(n, !!i) + ); + return typeof u == "function" && r(n, ".prototype.") > -1 ? e([u]) : u; + }, Ur; +} +var Hr, Kn; +function Yo() { + if (Kn) return Hr; + Kn = 1; + var t = kt(), e = He()(), r = /* @__PURE__ */ ee(), o = /* @__PURE__ */ Nt(), n = r("Array.prototype.push"), i = r("Object.prototype.propertyIsEnumerable"), u = e ? o.getOwnPropertySymbols : null; + return Hr = function(f, c) { + if (f == null) + throw new TypeError("target must be an object"); + var v = o(f); + if (arguments.length === 1) + return v; + for (var p = 1; p < arguments.length; ++p) { + var y = o(arguments[p]), g = t(y), S = e && (o.getOwnPropertySymbols || u); + if (S) + for (var R = S(y), d = 0; d < R.length; ++d) { + var O = R[d]; + i(y, O) && n(g, O); + } + for (var w = 0; w < g.length; ++w) { + var b = g[w]; + if (i(y, b)) { + var T = y[b]; + v[b] = T; + } + } + } + return v; + }, Hr; } -var ot, Lo; -function xy() { - return Lo || (Lo = 1, ot = function() { - if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") - return !1; - if (typeof Symbol.iterator == "symbol") - return !0; - var e = {}, t = Symbol("test"), a = Object(t); - if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(a) !== "[object Symbol]") - return !1; - var n = 42; - e[t] = n; - for (t in e) - return !1; - if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0) +var Gr, zn; +function Xo() { + if (zn) return Gr; + zn = 1; + var t = Yo(), e = function() { + if (!Object.assign) return !1; - var i = Object.getOwnPropertySymbols(e); - if (i.length !== 1 || i[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t)) + for (var o = "abcdefghijklmnopqrst", n = o.split(""), i = {}, u = 0; u < n.length; ++u) + i[n[u]] = n[u]; + var a = Object.assign({}, i), f = ""; + for (var c in a) + f += c; + return o !== f; + }, r = function() { + if (!Object.assign || !Object.preventExtensions) return !1; - if (typeof Object.getOwnPropertyDescriptor == "function") { - var o = Object.getOwnPropertyDescriptor(e, t); - if (o.value !== n || o.enumerable !== !0) - return !1; - } - return !0; - }), ot; -} -var at, Ho; -function jy() { - if (Ho) return at; - Ho = 1; - var r = typeof Symbol < "u" && Symbol, e = xy(); - return at = function() { - return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e(); - }, at; -} -var it, Vo; -function My() { - if (Vo) return it; - Vo = 1; - var r, e = /* @__PURE__ */ Rr(), t = /* @__PURE__ */ jr(), a = /* @__PURE__ */ Mr(), n = /* @__PURE__ */ _r(), i = /* @__PURE__ */ Er(), o = /* @__PURE__ */ gr(), y = /* @__PURE__ */ Dr(), f = Function, g = function(N) { - try { - return f('"use strict"; return (' + N + ").constructor;")(); - } catch { - } - }, h = Object.getOwnPropertyDescriptor; - if (h) + var o = Object.preventExtensions({ 1: 2 }); try { - h({}, ""); + Object.assign(o, "xy"); } catch { - h = null; + return o[1] === "y"; } - var v = function() { - throw new o(); - }, E = h ? function() { + return !1; + }; + return Gr = function() { + return !Object.assign || e() || r() ? t : Object.assign; + }, Gr; +} +var Kr, Vn; +function Fa() { + if (Vn) return Kr; + Vn = 1; + var t = we(), e = Xo(); + return Kr = function() { + var o = e(); + return t( + Object, + { assign: o }, + { assign: function() { + return Object.assign !== o; + } } + ), o; + }, Kr; +} +var zr, Jn; +function Na() { + if (Jn) return zr; + Jn = 1; + var t = we(), e = Be(), r = Yo(), o = Xo(), n = Fa(), i = e.apply(o()), u = function(f, c) { + return i(Object, arguments); + }; + return t(u, { + getPolyfill: o, + implementation: r, + shim: n + }), zr = u, zr; +} +var Vr, Yn; +function Zo() { + if (Yn) return Vr; + Yn = 1; + var t = /* @__PURE__ */ ye(), e = Be(), r = e(t("String.prototype.indexOf")); + return Vr = function(n, i) { + var u = t(n, !!i); + return typeof u == "function" && r(n, ".prototype.") > -1 ? e(u) : u; + }, Vr; +} +var Jr, Xn; +function Wa() { + if (Xn) return Jr; + Xn = 1; + var t = function() { + return typeof (function() { + }).name == "string"; + }, e = Object.getOwnPropertyDescriptor; + if (e) try { - return arguments.callee, v; + e([], "length"); } catch { - try { - return h(arguments, "callee").get; - } catch { - return v; - } + e = null; } - }() : v, $ = jy()(), j = /* @__PURE__ */ Be()(), I = Object.getPrototypeOf || (j ? function(N) { - return N.__proto__; - } : null), b = {}, U = typeof Uint8Array > "u" || !I ? r : I(Uint8Array), A = { - __proto__: null, - "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError, - "%Array%": Array, - "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer, - "%ArrayIteratorPrototype%": $ && I ? I([][Symbol.iterator]()) : r, - "%AsyncFromSyncIteratorPrototype%": r, - "%AsyncFunction%": b, - "%AsyncGenerator%": b, - "%AsyncGeneratorFunction%": b, - "%AsyncIteratorPrototype%": b, - "%Atomics%": typeof Atomics > "u" ? r : Atomics, - "%BigInt%": typeof BigInt > "u" ? r : BigInt, - "%BigInt64Array%": typeof BigInt64Array > "u" ? r : BigInt64Array, - "%BigUint64Array%": typeof BigUint64Array > "u" ? r : BigUint64Array, - "%Boolean%": Boolean, - "%DataView%": typeof DataView > "u" ? r : DataView, - "%Date%": Date, - "%decodeURI%": decodeURI, - "%decodeURIComponent%": decodeURIComponent, - "%encodeURI%": encodeURI, - "%encodeURIComponent%": encodeURIComponent, - "%Error%": e, - "%eval%": eval, - // eslint-disable-line no-eval - "%EvalError%": t, - "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array, - "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array, - "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry, - "%Function%": f, - "%GeneratorFunction%": b, - "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array, - "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array, - "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array, - "%isFinite%": isFinite, - "%isNaN%": isNaN, - "%IteratorPrototype%": $ && I ? I(I([][Symbol.iterator]())) : r, - "%JSON%": typeof JSON == "object" ? JSON : r, - "%Map%": typeof Map > "u" ? r : Map, - "%MapIteratorPrototype%": typeof Map > "u" || !$ || !I ? r : I((/* @__PURE__ */ new Map())[Symbol.iterator]()), - "%Math%": Math, - "%Number%": Number, - "%Object%": Object, - "%parseFloat%": parseFloat, - "%parseInt%": parseInt, - "%Promise%": typeof Promise > "u" ? r : Promise, - "%Proxy%": typeof Proxy > "u" ? r : Proxy, - "%RangeError%": a, - "%ReferenceError%": n, - "%Reflect%": typeof Reflect > "u" ? r : Reflect, - "%RegExp%": RegExp, - "%Set%": typeof Set > "u" ? r : Set, - "%SetIteratorPrototype%": typeof Set > "u" || !$ || !I ? r : I((/* @__PURE__ */ new Set())[Symbol.iterator]()), - "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer, - "%String%": String, - "%StringIteratorPrototype%": $ && I ? I(""[Symbol.iterator]()) : r, - "%Symbol%": $ ? Symbol : r, - "%SyntaxError%": i, - "%ThrowTypeError%": E, - "%TypedArray%": U, - "%TypeError%": o, - "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array, - "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray, - "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array, - "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array, - "%URIError%": y, - "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap, - "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef, - "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet + t.functionsHaveConfigurableNames = function() { + if (!t() || !e) + return !1; + var n = e(function() { + }, "name"); + return !!n && !!n.configurable; }; - if (I) - try { - null.error; - } catch (N) { - var F = I(I(N)); - A["%Error.prototype%"] = F; + var r = Function.prototype.bind; + return t.boundFunctionsHaveNames = function() { + return t() && typeof r == "function" && (function() { + }).bind().name !== ""; + }, Jr = t, Jr; +} +var Yr, Zn; +function La() { + if (Zn) return Yr; + Zn = 1; + var t = /* @__PURE__ */ _t(), e = /* @__PURE__ */ Ft()(), r = Wa().functionsHaveConfigurableNames(), o = /* @__PURE__ */ ne(); + return Yr = function(i, u) { + if (typeof i != "function") + throw new o("`fn` is not a function"); + var a = arguments.length > 2 && !!arguments[2]; + return (!a || r) && (e ? t( + /** @type {Parameters[0]} */ + i, + "name", + u, + !0, + !0 + ) : t( + /** @type {Parameters[0]} */ + i, + "name", + u + )), i; + }, Yr; +} +var Xr, Qn; +function Qo() { + if (Qn) return Xr; + Qn = 1; + var t = La(), e = /* @__PURE__ */ ne(), r = Object; + return Xr = t(function() { + if (this == null || this !== r(this)) + throw new e("RegExp.prototype.flags getter called on non-object"); + var n = ""; + return this.hasIndices && (n += "d"), this.global && (n += "g"), this.ignoreCase && (n += "i"), this.multiline && (n += "m"), this.dotAll && (n += "s"), this.unicode && (n += "u"), this.unicodeSets && (n += "v"), this.sticky && (n += "y"), n; + }, "get flags", !0), Xr; +} +var Zr, eo; +function ea() { + if (eo) return Zr; + eo = 1; + var t = Qo(), e = we().supportsDescriptors, r = Object.getOwnPropertyDescriptor; + return Zr = function() { + if (e && /a/mig.flags === "gim") { + var n = r(RegExp.prototype, "flags"); + if (n && typeof n.get == "function" && "dotAll" in RegExp.prototype && "hasIndices" in RegExp.prototype) { + var i = "", u = {}; + if (Object.defineProperty(u, "hasIndices", { + get: function() { + i += "d"; + } + }), Object.defineProperty(u, "sticky", { + get: function() { + i += "y"; + } + }), n.get.call(u), i === "dy") + return n.get; + } } - var z = function N(P) { - var R; - if (P === "%AsyncFunction%") - R = g("async function () {}"); - else if (P === "%GeneratorFunction%") - R = g("function* () {}"); - else if (P === "%AsyncGeneratorFunction%") - R = g("async function* () {}"); - else if (P === "%AsyncGenerator%") { - var q = N("%AsyncGeneratorFunction%"); - q && (R = q.prototype); - } else if (P === "%AsyncIteratorPrototype%") { - var M = N("%AsyncGenerator%"); - M && I && (R = I(M.prototype)); + return t; + }, Zr; +} +var Qr, ro; +function Ua() { + if (ro) return Qr; + ro = 1; + var t = we().supportsDescriptors, e = ea(), r = /* @__PURE__ */ Ae(), o = Object.defineProperty, n = /* @__PURE__ */ Go(), i = Jo(), u = /a/; + return Qr = function() { + if (!t || !i) + throw new n("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors"); + var f = e(), c = i(u), v = r(c, "flags"); + return (!v || v.get !== f) && o(c, "flags", { + configurable: !0, + enumerable: !1, + get: f + }), f; + }, Qr; +} +var et, to; +function Ha() { + if (to) return et; + to = 1; + var t = we(), e = Be(), r = Qo(), o = ea(), n = Ua(), i = e(o()); + return t(i, { + getPolyfill: o, + implementation: r, + shim: n + }), et = i, et; +} +var Te = { exports: {} }, rt, no; +function Pe() { + if (no) return rt; + no = 1; + var t = He(); + return rt = function() { + return t() && !!Symbol.toStringTag; + }, rt; +} +var tt, oo; +function ra() { + if (oo) return tt; + oo = 1; + var t = Pe()(), e = /* @__PURE__ */ ee(), r = e("Object.prototype.toString"), o = function(a) { + return t && a && typeof a == "object" && Symbol.toStringTag in a ? !1 : r(a) === "[object Arguments]"; + }, n = function(a) { + return o(a) ? !0 : a !== null && typeof a == "object" && "length" in a && typeof a.length == "number" && a.length >= 0 && r(a) !== "[object Array]" && "callee" in a && r(a.callee) === "[object Function]"; + }, i = function() { + return o(arguments); + }(); + return o.isLegacyArguments = n, tt = i ? o : n, tt; +} +const Ga = {}, Ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ + __proto__: null, + default: Ga +}, Symbol.toStringTag, { value: "Module" })), za = /* @__PURE__ */ Sa(Ka); +var nt, ao; +function Ge() { + if (ao) return nt; + ao = 1; + var t = typeof Map == "function" && Map.prototype, e = Object.getOwnPropertyDescriptor && t ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, r = t && e && typeof e.get == "function" ? e.get : null, o = t && Map.prototype.forEach, n = typeof Set == "function" && Set.prototype, i = Object.getOwnPropertyDescriptor && n ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, u = n && i && typeof i.get == "function" ? i.get : null, a = n && Set.prototype.forEach, f = typeof WeakMap == "function" && WeakMap.prototype, c = f ? WeakMap.prototype.has : null, v = typeof WeakSet == "function" && WeakSet.prototype, p = v ? WeakSet.prototype.has : null, y = typeof WeakRef == "function" && WeakRef.prototype, g = y ? WeakRef.prototype.deref : null, S = Boolean.prototype.valueOf, R = Object.prototype.toString, d = Function.prototype.toString, O = String.prototype.match, w = String.prototype.slice, b = String.prototype.replace, T = String.prototype.toUpperCase, Z = String.prototype.toLowerCase, G = RegExp.prototype.test, D = Array.prototype.concat, k = Array.prototype.join, I = Array.prototype.slice, _ = Math.floor, U = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, N = Object.getOwnPropertySymbols, H = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, V = typeof Symbol == "function" && typeof Symbol.iterator == "object", K = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === V || !0) ? Symbol.toStringTag : null, Ie = Object.prototype.propertyIsEnumerable, me = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(s) { + return s.__proto__; + } : null); + function oe(s, l) { + if (s === 1 / 0 || s === -1 / 0 || s !== s || s && s > -1e3 && s < 1e3 || G.call(/e/, l)) + return l; + var j = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g; + if (typeof s == "number") { + var W = s < 0 ? -_(-s) : _(s); + if (W !== s) { + var L = String(W), x = w.call(l, L.length + 1); + return b.call(L, j, "$&_") + "." + b.call(b.call(x, /([0-9]{3})/g, "$&_"), /_$/, ""); + } } - return A[P] = R, R; - }, K = { + return b.call(l, j, "$&_"); + } + var z = za, Se = z.custom, qe = E(Se) ? Se : null, be = { __proto__: null, - "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], - "%ArrayPrototype%": ["Array", "prototype"], - "%ArrayProto_entries%": ["Array", "prototype", "entries"], - "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], - "%ArrayProto_keys%": ["Array", "prototype", "keys"], - "%ArrayProto_values%": ["Array", "prototype", "values"], - "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], - "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], - "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], - "%BooleanPrototype%": ["Boolean", "prototype"], - "%DataViewPrototype%": ["DataView", "prototype"], - "%DatePrototype%": ["Date", "prototype"], - "%ErrorPrototype%": ["Error", "prototype"], - "%EvalErrorPrototype%": ["EvalError", "prototype"], - "%Float32ArrayPrototype%": ["Float32Array", "prototype"], - "%Float64ArrayPrototype%": ["Float64Array", "prototype"], - "%FunctionPrototype%": ["Function", "prototype"], - "%Generator%": ["GeneratorFunction", "prototype"], - "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], - "%Int8ArrayPrototype%": ["Int8Array", "prototype"], - "%Int16ArrayPrototype%": ["Int16Array", "prototype"], - "%Int32ArrayPrototype%": ["Int32Array", "prototype"], - "%JSONParse%": ["JSON", "parse"], - "%JSONStringify%": ["JSON", "stringify"], - "%MapPrototype%": ["Map", "prototype"], - "%NumberPrototype%": ["Number", "prototype"], - "%ObjectPrototype%": ["Object", "prototype"], - "%ObjProto_toString%": ["Object", "prototype", "toString"], - "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], - "%PromisePrototype%": ["Promise", "prototype"], - "%PromiseProto_then%": ["Promise", "prototype", "then"], - "%Promise_all%": ["Promise", "all"], - "%Promise_reject%": ["Promise", "reject"], - "%Promise_resolve%": ["Promise", "resolve"], - "%RangeErrorPrototype%": ["RangeError", "prototype"], - "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], - "%RegExpPrototype%": ["RegExp", "prototype"], - "%SetPrototype%": ["Set", "prototype"], - "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], - "%StringPrototype%": ["String", "prototype"], - "%SymbolPrototype%": ["Symbol", "prototype"], - "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], - "%TypedArrayPrototype%": ["TypedArray", "prototype"], - "%TypeErrorPrototype%": ["TypeError", "prototype"], - "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], - "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], - "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], - "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], - "%URIErrorPrototype%": ["URIError", "prototype"], - "%WeakMapPrototype%": ["WeakMap", "prototype"], - "%WeakSetPrototype%": ["WeakSet", "prototype"] - }, D = Or(), O = /* @__PURE__ */ Fr(), Q = D.call(Function.call, Array.prototype.concat), Y = D.call(Function.apply, Array.prototype.splice), er = D.call(Function.call, String.prototype.replace), G = D.call(Function.call, String.prototype.slice), H = D.call(Function.call, RegExp.prototype.exec), or = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, V = /\\(\\)?/g, nr = function(P) { - var R = G(P, 0, 1), q = G(P, -1); - if (R === "%" && q !== "%") - throw new i("invalid intrinsic syntax, expected closing `%`"); - if (q === "%" && R !== "%") - throw new i("invalid intrinsic syntax, expected opening `%`"); - var M = []; - return er(P, or, function(J, X, u, x) { - M[M.length] = u ? er(x, V, "$1") : X || J; - }), M; - }, dr = function(P, R) { - var q = P, M; - if (O(K, q) && (M = K[q], q = "%" + M[0] + "%"), O(A, q)) { - var J = A[q]; - if (J === b && (J = z(q)), typeof J > "u" && !R) - throw new o("intrinsic " + P + " exists, but is not available. Please file an issue!"); - return { - alias: M, - name: q, - value: J - }; - } - throw new i("intrinsic " + P + " does not exist!"); - }; - return it = function(P, R) { - if (typeof P != "string" || P.length === 0) - throw new o("intrinsic name must be a non-empty string"); - if (arguments.length > 1 && typeof R != "boolean") - throw new o('"allowMissing" argument must be a boolean'); - if (H(/^%?[^%]*%?$/, P) === null) - throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); - var q = nr(P), M = q.length > 0 ? q[0] : "", J = dr("%" + M + "%", R), X = J.name, u = J.value, x = !1, L = J.alias; - L && (M = L[0], Y(q, Q([0, 1], L))); - for (var k = 1, C = !0; k < q.length; k += 1) { - var w = q[k], s = G(w, 0, 1), S = G(w, -1); - if ((s === '"' || s === "'" || s === "`" || S === '"' || S === "'" || S === "`") && s !== S) - throw new i("property names with quotes must have matching quotes"); - if ((w === "constructor" || !C) && (x = !0), M += "." + w, X = "%" + M + "%", O(A, X)) - u = A[X]; - else if (u != null) { - if (!(w in u)) { - if (!R) - throw new o("base intrinsic for " + P + " exists, but the property is not available."); - return; - } - if (h && k + 1 >= q.length) { - var l = h(u, w); - C = !!l, C && "get" in l && !("originalValue" in l.get) ? u = l.get : u = u[w]; - } else - C = O(u, w), u = u[w]; - C && !x && (A[X] = u); - } - } - return u; - }, it; -} -var yt, Jo; -function _y() { - if (Jo) return yt; - Jo = 1; - var r = /* @__PURE__ */ My(), e = r("%Object.defineProperty%", !0) || !1; - if (e) - try { - e({}, "a", { value: 1 }); - } catch { - e = !1; - } - return yt = e, yt; -} -var ft, zo; -function zr() { - return zo || (zo = 1, ft = Function.prototype.call), ft; -} -var pt, Ko; -function Kr() { - return Ko || (Ko = 1, pt = Function.prototype.apply), pt; -} -var ut, Yo; -function Dy() { - return Yo || (Yo = 1, ut = typeof Reflect < "u" && Reflect && Reflect.apply), ut; -} -var st, Xo; -function yy() { - if (Xo) return st; - Xo = 1; - var r = Or(), e = Kr(), t = zr(), a = Dy(); - return st = a || r.call(t, e), st; -} -var lt, Qo; -function ye() { - if (Qo) return lt; - Qo = 1; - var r = Or(), e = /* @__PURE__ */ gr(), t = zr(), a = yy(); - return lt = function(i) { - if (i.length < 1 || typeof i[0] != "function") - throw new e("a function is required"); - return a(r, t, i); - }, lt; -} -var ct, Zo; -function qe() { - if (Zo) return ct; - Zo = 1; - var r = Or(), e = Kr(), t = yy(); - return ct = function() { - return t(r, e, arguments); - }, ct; -} -var ra; -function Ny() { - return ra || (ra = 1, function(r) { - var e = /* @__PURE__ */ he(), t = /* @__PURE__ */ _y(), a = ye(), n = qe(); - r.exports = function(o) { - var y = a(arguments), f = o.length - (arguments.length - 1); - return e( - y, - 1 + (f > 0 ? f : 0), - !0 - ); - }, t ? t(r.exports, "apply", { value: n }) : r.exports.apply = n; - }(tt)), tt.exports; -} -var vt, ea; -function fy() { - return ea || (ea = 1, vt = function() { - if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") - return !1; - if (typeof Symbol.iterator == "symbol") - return !0; - var e = {}, t = Symbol("test"), a = Object(t); - if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(a) !== "[object Symbol]") - return !1; - var n = 42; - e[t] = n; - for (var i in e) - return !1; - if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0) - return !1; - var o = Object.getOwnPropertySymbols(e); - if (o.length !== 1 || o[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t)) - return !1; - if (typeof Object.getOwnPropertyDescriptor == "function") { - var y = ( - /** @type {PropertyDescriptor} */ - Object.getOwnPropertyDescriptor(e, t) - ); - if (y.value !== n || y.enumerable !== !0) - return !1; - } - return !0; - }), vt; -} -var dt, ta; -function Yr() { - return ta || (ta = 1, dt = Object), dt; -} -var gt, na; -function me() { - return na || (na = 1, gt = Math.abs), gt; -} -var ht, oa; -function Se() { - return oa || (oa = 1, ht = Math.floor), ht; -} -var mt, aa; -function Ae() { - return aa || (aa = 1, mt = Math.max), mt; -} -var St, ia; -function be() { - return ia || (ia = 1, St = Math.min), St; -} -var At, ya; -function Pe() { - return ya || (ya = 1, At = Math.pow), At; -} -var bt, fa; -function Oe() { - return fa || (fa = 1, bt = Math.round), bt; -} -var Pt, pa; -function Ty() { - return pa || (pa = 1, Pt = Number.isNaN || function(e) { - return e !== e; - }), Pt; -} -var Ot, ua; -function Ie() { - if (ua) return Ot; - ua = 1; - var r = /* @__PURE__ */ Ty(); - return Ot = function(t) { - return r(t) || t === 0 ? t : t < 0 ? -1 : 1; - }, Ot; -} -var It, sa; -function ky() { - return sa || (sa = 1, It = Object.getOwnPropertyDescriptor), It; -} -var Et, la; -function Cy() { - if (la) return Et; - la = 1; - var r = /* @__PURE__ */ ky(); - if (r) - try { - r([], "length"); - } catch { - r = null; - } - return Et = r, Et; -} -var wt, ca; -function Gy() { - if (ca) return wt; - ca = 1; - var r = Object.defineProperty || !1; - if (r) - try { - r({}, "a", { value: 1 }); - } catch { - r = !1; - } - return wt = r, wt; -} -var $t, va; -function Wy() { - return va || (va = 1, $t = function() { - if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") - return !1; - if (typeof Symbol.iterator == "symbol") - return !0; - var e = {}, t = Symbol("test"), a = Object(t); - if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(a) !== "[object Symbol]") - return !1; - var n = 42; - e[t] = n; - for (var i in e) - return !1; - if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0) - return !1; - var o = Object.getOwnPropertySymbols(e); - if (o.length !== 1 || o[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t)) - return !1; - if (typeof Object.getOwnPropertyDescriptor == "function") { - var y = ( - /** @type {PropertyDescriptor} */ - Object.getOwnPropertyDescriptor(e, t) - ); - if (y.value !== n || y.enumerable !== !0) - return !1; - } - return !0; - }), $t; -} -var Rt, da; -function Ly() { - if (da) return Rt; - da = 1; - var r = typeof Symbol < "u" && Symbol, e = Wy(); - return Rt = function() { - return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e(); - }, Rt; -} -var Ft, ga; -function fe() { - return ga || (ga = 1, Ft = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Ft; -} -var Bt, ha; -function pe() { - if (ha) return Bt; - ha = 1; - var r = /* @__PURE__ */ Yr(); - return Bt = r.getPrototypeOf || null, Bt; -} -var Ut, ma; -function Hy() { - return ma || (ma = 1, Ut = Object.getOwnPropertyDescriptor), Ut; -} -var qt, Sa; -function Vy() { - if (Sa) return qt; - Sa = 1; - var r = /* @__PURE__ */ Hy(); - if (r) - try { - r([], "length"); - } catch { - r = null; - } - return qt = r, qt; -} -var xt, Aa; -function Jy() { - if (Aa) return xt; - Aa = 1; - var r = ye(), e = /* @__PURE__ */ Vy(), t; - try { - t = /** @type {{ __proto__?: typeof Array.prototype }} */ - [].__proto__ === Array.prototype; - } catch (o) { - if (!o || typeof o != "object" || !("code" in o) || o.code !== "ERR_PROTO_ACCESS") - throw o; - } - var a = !!t && e && e( - Object.prototype, - /** @type {keyof typeof Object.prototype} */ - "__proto__" - ), n = Object, i = n.getPrototypeOf; - return xt = a && typeof a.get == "function" ? r([a.get]) : typeof i == "function" ? ( - /** @type {import('./get')} */ - function(y) { - return i(y == null ? y : n(y)); - } - ) : !1, xt; -} -var jt, ba; -function ue() { - if (ba) return jt; - ba = 1; - var r = fe(), e = pe(), t = /* @__PURE__ */ Jy(); - return jt = r ? function(n) { - return r(n); - } : e ? function(n) { - if (!n || typeof n != "object" && typeof n != "function") - throw new TypeError("getProto: not an object"); - return e(n); - } : t ? function(n) { - return t(n); - } : null, jt; -} -var Mt, Pa; -function zy() { - if (Pa) return Mt; - Pa = 1; - var r, e = /* @__PURE__ */ Yr(), t = /* @__PURE__ */ Rr(), a = /* @__PURE__ */ jr(), n = /* @__PURE__ */ Mr(), i = /* @__PURE__ */ _r(), o = /* @__PURE__ */ Er(), y = /* @__PURE__ */ gr(), f = /* @__PURE__ */ Dr(), g = /* @__PURE__ */ me(), h = /* @__PURE__ */ Se(), v = /* @__PURE__ */ Ae(), E = /* @__PURE__ */ be(), $ = /* @__PURE__ */ Pe(), j = /* @__PURE__ */ Oe(), I = /* @__PURE__ */ Ie(), b = Function, U = function(w) { - try { - return b('"use strict"; return (' + w + ").constructor;")(); - } catch { - } - }, A = /* @__PURE__ */ Cy(), F = /* @__PURE__ */ Gy(), z = function() { - throw new y(); - }, K = A ? function() { - try { - return arguments.callee, z; - } catch { - try { - return A(arguments, "callee").get; - } catch { - return z; - } - } - }() : z, D = Ly()(), O = ue(), Q = pe(), Y = fe(), er = Kr(), G = zr(), H = {}, or = typeof Uint8Array > "u" || !O ? r : O(Uint8Array), V = { - __proto__: null, - "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError, - "%Array%": Array, - "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer, - "%ArrayIteratorPrototype%": D && O ? O([][Symbol.iterator]()) : r, - "%AsyncFromSyncIteratorPrototype%": r, - "%AsyncFunction%": H, - "%AsyncGenerator%": H, - "%AsyncGeneratorFunction%": H, - "%AsyncIteratorPrototype%": H, - "%Atomics%": typeof Atomics > "u" ? r : Atomics, - "%BigInt%": typeof BigInt > "u" ? r : BigInt, - "%BigInt64Array%": typeof BigInt64Array > "u" ? r : BigInt64Array, - "%BigUint64Array%": typeof BigUint64Array > "u" ? r : BigUint64Array, - "%Boolean%": Boolean, - "%DataView%": typeof DataView > "u" ? r : DataView, - "%Date%": Date, - "%decodeURI%": decodeURI, - "%decodeURIComponent%": decodeURIComponent, - "%encodeURI%": encodeURI, - "%encodeURIComponent%": encodeURIComponent, - "%Error%": t, - "%eval%": eval, - // eslint-disable-line no-eval - "%EvalError%": a, - "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array, - "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array, - "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry, - "%Function%": b, - "%GeneratorFunction%": H, - "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array, - "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array, - "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array, - "%isFinite%": isFinite, - "%isNaN%": isNaN, - "%IteratorPrototype%": D && O ? O(O([][Symbol.iterator]())) : r, - "%JSON%": typeof JSON == "object" ? JSON : r, - "%Map%": typeof Map > "u" ? r : Map, - "%MapIteratorPrototype%": typeof Map > "u" || !D || !O ? r : O((/* @__PURE__ */ new Map())[Symbol.iterator]()), - "%Math%": Math, - "%Number%": Number, - "%Object%": e, - "%Object.getOwnPropertyDescriptor%": A, - "%parseFloat%": parseFloat, - "%parseInt%": parseInt, - "%Promise%": typeof Promise > "u" ? r : Promise, - "%Proxy%": typeof Proxy > "u" ? r : Proxy, - "%RangeError%": n, - "%ReferenceError%": i, - "%Reflect%": typeof Reflect > "u" ? r : Reflect, - "%RegExp%": RegExp, - "%Set%": typeof Set > "u" ? r : Set, - "%SetIteratorPrototype%": typeof Set > "u" || !D || !O ? r : O((/* @__PURE__ */ new Set())[Symbol.iterator]()), - "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer, - "%String%": String, - "%StringIteratorPrototype%": D && O ? O(""[Symbol.iterator]()) : r, - "%Symbol%": D ? Symbol : r, - "%SyntaxError%": o, - "%ThrowTypeError%": K, - "%TypedArray%": or, - "%TypeError%": y, - "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array, - "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray, - "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array, - "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array, - "%URIError%": f, - "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap, - "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef, - "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet, - "%Function.prototype.call%": G, - "%Function.prototype.apply%": er, - "%Object.defineProperty%": F, - "%Object.getPrototypeOf%": Q, - "%Math.abs%": g, - "%Math.floor%": h, - "%Math.max%": v, - "%Math.min%": E, - "%Math.pow%": $, - "%Math.round%": j, - "%Math.sign%": I, - "%Reflect.getPrototypeOf%": Y - }; - if (O) - try { - null.error; - } catch (w) { - var nr = O(O(w)); - V["%Error.prototype%"] = nr; - } - var dr = function w(s) { - var S; - if (s === "%AsyncFunction%") - S = U("async function () {}"); - else if (s === "%GeneratorFunction%") - S = U("function* () {}"); - else if (s === "%AsyncGeneratorFunction%") - S = U("async function* () {}"); - else if (s === "%AsyncGenerator%") { - var l = w("%AsyncGeneratorFunction%"); - l && (S = l.prototype); - } else if (s === "%AsyncIteratorPrototype%") { - var B = w("%AsyncGenerator%"); - B && O && (S = O(B.prototype)); - } - return V[s] = S, S; - }, N = { - __proto__: null, - "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], - "%ArrayPrototype%": ["Array", "prototype"], - "%ArrayProto_entries%": ["Array", "prototype", "entries"], - "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], - "%ArrayProto_keys%": ["Array", "prototype", "keys"], - "%ArrayProto_values%": ["Array", "prototype", "values"], - "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], - "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], - "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], - "%BooleanPrototype%": ["Boolean", "prototype"], - "%DataViewPrototype%": ["DataView", "prototype"], - "%DatePrototype%": ["Date", "prototype"], - "%ErrorPrototype%": ["Error", "prototype"], - "%EvalErrorPrototype%": ["EvalError", "prototype"], - "%Float32ArrayPrototype%": ["Float32Array", "prototype"], - "%Float64ArrayPrototype%": ["Float64Array", "prototype"], - "%FunctionPrototype%": ["Function", "prototype"], - "%Generator%": ["GeneratorFunction", "prototype"], - "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], - "%Int8ArrayPrototype%": ["Int8Array", "prototype"], - "%Int16ArrayPrototype%": ["Int16Array", "prototype"], - "%Int32ArrayPrototype%": ["Int32Array", "prototype"], - "%JSONParse%": ["JSON", "parse"], - "%JSONStringify%": ["JSON", "stringify"], - "%MapPrototype%": ["Map", "prototype"], - "%NumberPrototype%": ["Number", "prototype"], - "%ObjectPrototype%": ["Object", "prototype"], - "%ObjProto_toString%": ["Object", "prototype", "toString"], - "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], - "%PromisePrototype%": ["Promise", "prototype"], - "%PromiseProto_then%": ["Promise", "prototype", "then"], - "%Promise_all%": ["Promise", "all"], - "%Promise_reject%": ["Promise", "reject"], - "%Promise_resolve%": ["Promise", "resolve"], - "%RangeErrorPrototype%": ["RangeError", "prototype"], - "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], - "%RegExpPrototype%": ["RegExp", "prototype"], - "%SetPrototype%": ["Set", "prototype"], - "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], - "%StringPrototype%": ["String", "prototype"], - "%SymbolPrototype%": ["Symbol", "prototype"], - "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], - "%TypedArrayPrototype%": ["TypedArray", "prototype"], - "%TypeErrorPrototype%": ["TypeError", "prototype"], - "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], - "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], - "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], - "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], - "%URIErrorPrototype%": ["URIError", "prototype"], - "%WeakMapPrototype%": ["WeakMap", "prototype"], - "%WeakSetPrototype%": ["WeakSet", "prototype"] - }, P = Or(), R = /* @__PURE__ */ Fr(), q = P.call(G, Array.prototype.concat), M = P.call(er, Array.prototype.splice), J = P.call(G, String.prototype.replace), X = P.call(G, String.prototype.slice), u = P.call(G, RegExp.prototype.exec), x = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, L = /\\(\\)?/g, k = function(s) { - var S = X(s, 0, 1), l = X(s, -1); - if (S === "%" && l !== "%") - throw new o("invalid intrinsic syntax, expected closing `%`"); - if (l === "%" && S !== "%") - throw new o("invalid intrinsic syntax, expected opening `%`"); - var B = []; - return J(s, x, function(T, Z, _, ar) { - B[B.length] = _ ? J(ar, L, "$1") : Z || T; - }), B; - }, C = function(s, S) { - var l = s, B; - if (R(N, l) && (B = N[l], l = "%" + B[0] + "%"), R(V, l)) { - var T = V[l]; - if (T === H && (T = dr(l)), typeof T > "u" && !S) - throw new y("intrinsic " + s + " exists, but is not available. Please file an issue!"); - return { - alias: B, - name: l, - value: T - }; - } - throw new o("intrinsic " + s + " does not exist!"); - }; - return Mt = function(s, S) { - if (typeof s != "string" || s.length === 0) - throw new y("intrinsic name must be a non-empty string"); - if (arguments.length > 1 && typeof S != "boolean") - throw new y('"allowMissing" argument must be a boolean'); - if (u(/^%?[^%]*%?$/, s) === null) - throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); - var l = k(s), B = l.length > 0 ? l[0] : "", T = C("%" + B + "%", S), Z = T.name, _ = T.value, ar = !1, pr = T.alias; - pr && (B = pr[0], M(l, q([0, 1], pr))); - for (var lr = 1, ir = !0; lr < l.length; lr += 1) { - var rr = l[lr], cr = X(rr, 0, 1), vr = X(rr, -1); - if ((cr === '"' || cr === "'" || cr === "`" || vr === '"' || vr === "'" || vr === "`") && cr !== vr) - throw new o("property names with quotes must have matching quotes"); - if ((rr === "constructor" || !ir) && (ar = !0), B += "." + rr, Z = "%" + B + "%", R(V, Z)) - _ = V[Z]; - else if (_ != null) { - if (!(rr in _)) { - if (!S) - throw new y("base intrinsic for " + s + " exists, but the property is not available."); - return; - } - if (A && lr + 1 >= l.length) { - var sr = A(_, rr); - ir = !!sr, ir && "get" in sr && !("originalValue" in sr.get) ? _ = sr.get : _ = _[rr]; - } else - ir = R(_, rr), _ = _[rr]; - ir && !ar && (V[Z] = _); - } - } - return _; - }, Mt; -} -var _t, Oa; -function Nr() { - if (Oa) return _t; - Oa = 1; - var r = /* @__PURE__ */ zy(), e = ye(), t = e([r("%String.prototype.indexOf%")]); - return _t = function(n, i) { - var o = ( - /** @type {Parameters[0][0]} */ - r(n, !!i) - ); - return typeof o == "function" && t(n, ".prototype.") > -1 ? e([o]) : o; - }, _t; -} -var Dt, Ia; -function py() { - if (Ia) return Dt; - Ia = 1; - var r = vo(), e = fy()(), t = /* @__PURE__ */ Nr(), a = /* @__PURE__ */ Yr(), n = t("Array.prototype.push"), i = t("Object.prototype.propertyIsEnumerable"), o = e ? a.getOwnPropertySymbols : null; - return Dt = function(f, g) { - if (f == null) - throw new TypeError("target must be an object"); - var h = a(f); - if (arguments.length === 1) - return h; - for (var v = 1; v < arguments.length; ++v) { - var E = a(arguments[v]), $ = r(E), j = e && (a.getOwnPropertySymbols || o); - if (j) - for (var I = j(E), b = 0; b < I.length; ++b) { - var U = I[b]; - i(E, U) && n($, U); - } - for (var A = 0; A < $.length; ++A) { - var F = $[A]; - if (i(E, F)) { - var z = E[F]; - h[F] = z; - } - } - } - return h; - }, Dt; -} -var Nt, Ea; -function uy() { - if (Ea) return Nt; - Ea = 1; - var r = py(), e = function() { - if (!Object.assign) - return !1; - for (var a = "abcdefghijklmnopqrst", n = a.split(""), i = {}, o = 0; o < n.length; ++o) - i[n[o]] = n[o]; - var y = Object.assign({}, i), f = ""; - for (var g in y) - f += g; - return a !== f; - }, t = function() { - if (!Object.assign || !Object.preventExtensions) - return !1; - var a = Object.preventExtensions({ 1: 2 }); - try { - Object.assign(a, "xy"); - } catch { - return a[1] === "y"; - } - return !1; - }; - return Nt = function() { - return !Object.assign || e() || t() ? r : Object.assign; - }, Nt; -} -var Tt, wa; -function Ky() { - if (wa) return Tt; - wa = 1; - var r = Jr(), e = uy(); - return Tt = function() { - var a = e(); - return r( - Object, - { assign: a }, - { assign: function() { - return Object.assign !== a; - } } - ), a; - }, Tt; -} -var kt, $a; -function Yy() { - if ($a) return kt; - $a = 1; - var r = Jr(), e = Ny(), t = py(), a = uy(), n = Ky(), i = e.apply(a()), o = function(f, g) { - return i(Object, arguments); - }; - return r(o, { - getPolyfill: a, - implementation: t, - shim: n - }), kt = o, kt; -} -var Ct = { exports: {} }, Ra; -function sy() { - return Ra || (Ra = 1, function(r) { - var e = Or(), t = /* @__PURE__ */ Vr(), a = /* @__PURE__ */ he(), n = /* @__PURE__ */ gr(), i = t("%Function.prototype.apply%"), o = t("%Function.prototype.call%"), y = t("%Reflect.apply%", !0) || e.call(o, i), f = /* @__PURE__ */ Ue(), g = t("%Math.max%"); - r.exports = function(E) { - if (typeof E != "function") - throw new n("a function is required"); - var $ = y(e, o, arguments); - return a( - $, - 1 + g(0, E.length - (arguments.length - 1)), - !0 - ); - }; - var h = function() { - return y(e, i, arguments); - }; - f ? f(r.exports, "apply", { value: h }) : r.exports.apply = h; - }(Ct)), Ct.exports; -} -var Gt, Fa; -function se() { - if (Fa) return Gt; - Fa = 1; - var r = /* @__PURE__ */ Vr(), e = sy(), t = e(r("String.prototype.indexOf")); - return Gt = function(n, i) { - var o = r(n, !!i); - return typeof o == "function" && t(n, ".prototype.") > -1 ? e(o) : o; - }, Gt; -} -var Wt = { exports: {} }, Ba; -function Xy() { - return Ba || (Ba = 1, function(r) { - var e = /* @__PURE__ */ he(), t = /* @__PURE__ */ Ue(), a = ye(), n = qe(); - r.exports = function(o) { - var y = a(arguments), f = o.length - (arguments.length - 1); - return e( - y, - 1 + (f > 0 ? f : 0), - !0 - ); - }, t ? t(r.exports, "apply", { value: n }) : r.exports.apply = n; - }(Wt)), Wt.exports; -} -var Lt, Ua; -function Qy() { - if (Ua) return Lt; - Ua = 1; - var r = function() { - return typeof (function() { - }).name == "string"; - }, e = Object.getOwnPropertyDescriptor; - if (e) - try { - e([], "length"); - } catch { - e = null; - } - r.functionsHaveConfigurableNames = function() { - if (!r() || !e) - return !1; - var n = e(function() { - }, "name"); - return !!n && !!n.configurable; - }; - var t = Function.prototype.bind; - return r.boundFunctionsHaveNames = function() { - return r() && typeof t == "function" && (function() { - }).bind().name !== ""; - }, Lt = r, Lt; -} -var Ht, qa; -function Zy() { - if (qa) return Ht; - qa = 1; - var r = /* @__PURE__ */ mo(), e = /* @__PURE__ */ So()(), t = Qy().functionsHaveConfigurableNames(), a = /* @__PURE__ */ gr(); - return Ht = function(i, o) { - if (typeof i != "function") - throw new a("`fn` is not a function"); - var y = arguments.length > 2 && !!arguments[2]; - return (!y || t) && (e ? r( - /** @type {Parameters[0]} */ - i, - "name", - o, - !0, - !0 - ) : r( - /** @type {Parameters[0]} */ - i, - "name", - o - )), i; - }, Ht; -} -var Vt, xa; -function ly() { - if (xa) return Vt; - xa = 1; - var r = Zy(), e = /* @__PURE__ */ gr(), t = Object; - return Vt = r(function() { - if (this == null || this !== t(this)) - throw new e("RegExp.prototype.flags getter called on non-object"); - var n = ""; - return this.hasIndices && (n += "d"), this.global && (n += "g"), this.ignoreCase && (n += "i"), this.multiline && (n += "m"), this.dotAll && (n += "s"), this.unicode && (n += "u"), this.unicodeSets && (n += "v"), this.sticky && (n += "y"), n; - }, "get flags", !0), Vt; -} -var Jt, ja; -function cy() { - if (ja) return Jt; - ja = 1; - var r = ly(), e = Jr().supportsDescriptors, t = Object.getOwnPropertyDescriptor; - return Jt = function() { - if (e && /a/mig.flags === "gim") { - var n = t(RegExp.prototype, "flags"); - if (n && typeof n.get == "function" && "dotAll" in RegExp.prototype && "hasIndices" in RegExp.prototype) { - var i = "", o = {}; - if (Object.defineProperty(o, "hasIndices", { - get: function() { - i += "d"; - } - }), Object.defineProperty(o, "sticky", { - get: function() { - i += "y"; - } - }), n.get.call(o), i === "dy") - return n.get; - } - } - return r; - }, Jt; -} -var zt, Ma; -function rf() { - return Ma || (Ma = 1, zt = Object.getOwnPropertyDescriptor), zt; -} -var Kt, _a; -function ef() { - if (_a) return Kt; - _a = 1; - var r = /* @__PURE__ */ rf(); - if (r) - try { - r([], "length"); - } catch { - r = null; - } - return Kt = r, Kt; -} -var Yt, Da; -function tf() { - if (Da) return Yt; - Da = 1; - var r = Jr().supportsDescriptors, e = cy(), t = /* @__PURE__ */ ef(), a = Object.defineProperty, n = /* @__PURE__ */ Rr(), i = ue(), o = /a/; - return Yt = function() { - if (!r || !i) - throw new n("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors"); - var f = e(), g = i(o), h = t(g, "flags"); - return (!h || h.get !== f) && a(g, "flags", { - configurable: !0, - enumerable: !1, - get: f - }), f; - }, Yt; -} -var Xt, Na; -function nf() { - if (Na) return Xt; - Na = 1; - var r = Jr(), e = Xy(), t = ly(), a = cy(), n = tf(), i = e(a()); - return r(i, { - getPolyfill: a, - implementation: t, - shim: n - }), Xt = i, Xt; -} -var Qt, Ta; -function of() { - return Ta || (Ta = 1, Qt = Object.getOwnPropertyDescriptor), Qt; -} -var Zt, ka; -function vy() { - if (ka) return Zt; - ka = 1; - var r = /* @__PURE__ */ of(); - if (r) - try { - r([], "length"); - } catch { - r = null; - } - return Zt = r, Zt; -} -var rn, Ca; -function af() { - if (Ca) return rn; - Ca = 1; - var r = Object.defineProperty || !1; - if (r) - try { - r({}, "a", { value: 1 }); - } catch { - r = !1; - } - return rn = r, rn; -} -var en, Ga; -function yf() { - if (Ga) return en; - Ga = 1; - var r = typeof Symbol < "u" && Symbol, e = fy(); - return en = function() { - return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e(); - }, en; -} -var tn, Wa; -function dy() { - if (Wa) return tn; - Wa = 1; - var r, e = /* @__PURE__ */ Yr(), t = /* @__PURE__ */ Rr(), a = /* @__PURE__ */ jr(), n = /* @__PURE__ */ Mr(), i = /* @__PURE__ */ _r(), o = /* @__PURE__ */ Er(), y = /* @__PURE__ */ gr(), f = /* @__PURE__ */ Dr(), g = /* @__PURE__ */ me(), h = /* @__PURE__ */ Se(), v = /* @__PURE__ */ Ae(), E = /* @__PURE__ */ be(), $ = /* @__PURE__ */ Pe(), j = /* @__PURE__ */ Oe(), I = /* @__PURE__ */ Ie(), b = Function, U = function(w) { - try { - return b('"use strict"; return (' + w + ").constructor;")(); - } catch { - } - }, A = /* @__PURE__ */ vy(), F = /* @__PURE__ */ af(), z = function() { - throw new y(); - }, K = A ? function() { - try { - return arguments.callee, z; - } catch { - try { - return A(arguments, "callee").get; - } catch { - return z; - } - } - }() : z, D = yf()(), O = ue(), Q = pe(), Y = fe(), er = Kr(), G = zr(), H = {}, or = typeof Uint8Array > "u" || !O ? r : O(Uint8Array), V = { - __proto__: null, - "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError, - "%Array%": Array, - "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer, - "%ArrayIteratorPrototype%": D && O ? O([][Symbol.iterator]()) : r, - "%AsyncFromSyncIteratorPrototype%": r, - "%AsyncFunction%": H, - "%AsyncGenerator%": H, - "%AsyncGeneratorFunction%": H, - "%AsyncIteratorPrototype%": H, - "%Atomics%": typeof Atomics > "u" ? r : Atomics, - "%BigInt%": typeof BigInt > "u" ? r : BigInt, - "%BigInt64Array%": typeof BigInt64Array > "u" ? r : BigInt64Array, - "%BigUint64Array%": typeof BigUint64Array > "u" ? r : BigUint64Array, - "%Boolean%": Boolean, - "%DataView%": typeof DataView > "u" ? r : DataView, - "%Date%": Date, - "%decodeURI%": decodeURI, - "%decodeURIComponent%": decodeURIComponent, - "%encodeURI%": encodeURI, - "%encodeURIComponent%": encodeURIComponent, - "%Error%": t, - "%eval%": eval, - // eslint-disable-line no-eval - "%EvalError%": a, - "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array, - "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array, - "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry, - "%Function%": b, - "%GeneratorFunction%": H, - "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array, - "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array, - "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array, - "%isFinite%": isFinite, - "%isNaN%": isNaN, - "%IteratorPrototype%": D && O ? O(O([][Symbol.iterator]())) : r, - "%JSON%": typeof JSON == "object" ? JSON : r, - "%Map%": typeof Map > "u" ? r : Map, - "%MapIteratorPrototype%": typeof Map > "u" || !D || !O ? r : O((/* @__PURE__ */ new Map())[Symbol.iterator]()), - "%Math%": Math, - "%Number%": Number, - "%Object%": e, - "%Object.getOwnPropertyDescriptor%": A, - "%parseFloat%": parseFloat, - "%parseInt%": parseInt, - "%Promise%": typeof Promise > "u" ? r : Promise, - "%Proxy%": typeof Proxy > "u" ? r : Proxy, - "%RangeError%": n, - "%ReferenceError%": i, - "%Reflect%": typeof Reflect > "u" ? r : Reflect, - "%RegExp%": RegExp, - "%Set%": typeof Set > "u" ? r : Set, - "%SetIteratorPrototype%": typeof Set > "u" || !D || !O ? r : O((/* @__PURE__ */ new Set())[Symbol.iterator]()), - "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer, - "%String%": String, - "%StringIteratorPrototype%": D && O ? O(""[Symbol.iterator]()) : r, - "%Symbol%": D ? Symbol : r, - "%SyntaxError%": o, - "%ThrowTypeError%": K, - "%TypedArray%": or, - "%TypeError%": y, - "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array, - "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray, - "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array, - "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array, - "%URIError%": f, - "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap, - "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef, - "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet, - "%Function.prototype.call%": G, - "%Function.prototype.apply%": er, - "%Object.defineProperty%": F, - "%Object.getPrototypeOf%": Q, - "%Math.abs%": g, - "%Math.floor%": h, - "%Math.max%": v, - "%Math.min%": E, - "%Math.pow%": $, - "%Math.round%": j, - "%Math.sign%": I, - "%Reflect.getPrototypeOf%": Y - }; - if (O) - try { - null.error; - } catch (w) { - var nr = O(O(w)); - V["%Error.prototype%"] = nr; - } - var dr = function w(s) { - var S; - if (s === "%AsyncFunction%") - S = U("async function () {}"); - else if (s === "%GeneratorFunction%") - S = U("function* () {}"); - else if (s === "%AsyncGeneratorFunction%") - S = U("async function* () {}"); - else if (s === "%AsyncGenerator%") { - var l = w("%AsyncGeneratorFunction%"); - l && (S = l.prototype); - } else if (s === "%AsyncIteratorPrototype%") { - var B = w("%AsyncGenerator%"); - B && O && (S = O(B.prototype)); - } - return V[s] = S, S; - }, N = { - __proto__: null, - "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], - "%ArrayPrototype%": ["Array", "prototype"], - "%ArrayProto_entries%": ["Array", "prototype", "entries"], - "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], - "%ArrayProto_keys%": ["Array", "prototype", "keys"], - "%ArrayProto_values%": ["Array", "prototype", "values"], - "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], - "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], - "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], - "%BooleanPrototype%": ["Boolean", "prototype"], - "%DataViewPrototype%": ["DataView", "prototype"], - "%DatePrototype%": ["Date", "prototype"], - "%ErrorPrototype%": ["Error", "prototype"], - "%EvalErrorPrototype%": ["EvalError", "prototype"], - "%Float32ArrayPrototype%": ["Float32Array", "prototype"], - "%Float64ArrayPrototype%": ["Float64Array", "prototype"], - "%FunctionPrototype%": ["Function", "prototype"], - "%Generator%": ["GeneratorFunction", "prototype"], - "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], - "%Int8ArrayPrototype%": ["Int8Array", "prototype"], - "%Int16ArrayPrototype%": ["Int16Array", "prototype"], - "%Int32ArrayPrototype%": ["Int32Array", "prototype"], - "%JSONParse%": ["JSON", "parse"], - "%JSONStringify%": ["JSON", "stringify"], - "%MapPrototype%": ["Map", "prototype"], - "%NumberPrototype%": ["Number", "prototype"], - "%ObjectPrototype%": ["Object", "prototype"], - "%ObjProto_toString%": ["Object", "prototype", "toString"], - "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], - "%PromisePrototype%": ["Promise", "prototype"], - "%PromiseProto_then%": ["Promise", "prototype", "then"], - "%Promise_all%": ["Promise", "all"], - "%Promise_reject%": ["Promise", "reject"], - "%Promise_resolve%": ["Promise", "resolve"], - "%RangeErrorPrototype%": ["RangeError", "prototype"], - "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], - "%RegExpPrototype%": ["RegExp", "prototype"], - "%SetPrototype%": ["Set", "prototype"], - "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], - "%StringPrototype%": ["String", "prototype"], - "%SymbolPrototype%": ["Symbol", "prototype"], - "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], - "%TypedArrayPrototype%": ["TypedArray", "prototype"], - "%TypeErrorPrototype%": ["TypeError", "prototype"], - "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], - "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], - "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], - "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], - "%URIErrorPrototype%": ["URIError", "prototype"], - "%WeakMapPrototype%": ["WeakMap", "prototype"], - "%WeakSetPrototype%": ["WeakSet", "prototype"] - }, P = Or(), R = /* @__PURE__ */ Fr(), q = P.call(G, Array.prototype.concat), M = P.call(er, Array.prototype.splice), J = P.call(G, String.prototype.replace), X = P.call(G, String.prototype.slice), u = P.call(G, RegExp.prototype.exec), x = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, L = /\\(\\)?/g, k = function(s) { - var S = X(s, 0, 1), l = X(s, -1); - if (S === "%" && l !== "%") - throw new o("invalid intrinsic syntax, expected closing `%`"); - if (l === "%" && S !== "%") - throw new o("invalid intrinsic syntax, expected opening `%`"); - var B = []; - return J(s, x, function(T, Z, _, ar) { - B[B.length] = _ ? J(ar, L, "$1") : Z || T; - }), B; - }, C = function(s, S) { - var l = s, B; - if (R(N, l) && (B = N[l], l = "%" + B[0] + "%"), R(V, l)) { - var T = V[l]; - if (T === H && (T = dr(l)), typeof T > "u" && !S) - throw new y("intrinsic " + s + " exists, but is not available. Please file an issue!"); - return { - alias: B, - name: l, - value: T - }; - } - throw new o("intrinsic " + s + " does not exist!"); - }; - return tn = function(s, S) { - if (typeof s != "string" || s.length === 0) - throw new y("intrinsic name must be a non-empty string"); - if (arguments.length > 1 && typeof S != "boolean") - throw new y('"allowMissing" argument must be a boolean'); - if (u(/^%?[^%]*%?$/, s) === null) - throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); - var l = k(s), B = l.length > 0 ? l[0] : "", T = C("%" + B + "%", S), Z = T.name, _ = T.value, ar = !1, pr = T.alias; - pr && (B = pr[0], M(l, q([0, 1], pr))); - for (var lr = 1, ir = !0; lr < l.length; lr += 1) { - var rr = l[lr], cr = X(rr, 0, 1), vr = X(rr, -1); - if ((cr === '"' || cr === "'" || cr === "`" || vr === '"' || vr === "'" || vr === "`") && cr !== vr) - throw new o("property names with quotes must have matching quotes"); - if ((rr === "constructor" || !ir) && (ar = !0), B += "." + rr, Z = "%" + B + "%", R(V, Z)) - _ = V[Z]; - else if (_ != null) { - if (!(rr in _)) { - if (!S) - throw new y("base intrinsic for " + s + " exists, but the property is not available."); - return; - } - if (A && lr + 1 >= l.length) { - var sr = A(_, rr); - ir = !!sr, ir && "get" in sr && !("originalValue" in sr.get) ? _ = sr.get : _ = _[rr]; - } else - ir = R(_, rr), _ = _[rr]; - ir && !ar && (V[Z] = _); - } - } - return _; - }, tn; -} -var de = { exports: {} }, nn, La; -function Xr() { - if (La) return nn; - La = 1; - var r = go(); - return nn = function() { - return r() && !!Symbol.toStringTag; - }, nn; -} -var on, Ha; -function gy() { - if (Ha) return on; - Ha = 1; - var r = Xr()(), e = /* @__PURE__ */ Nr(), t = e("Object.prototype.toString"), a = function(y) { - return r && y && typeof y == "object" && Symbol.toStringTag in y ? !1 : t(y) === "[object Arguments]"; - }, n = function(y) { - return a(y) ? !0 : y !== null && typeof y == "object" && "length" in y && typeof y.length == "number" && y.length >= 0 && t(y) !== "[object Array]" && "callee" in y && t(y.callee) === "[object Function]"; - }, i = function() { - return a(arguments); - }(); - return a.isLegacyArguments = n, on = i ? a : n, on; -} -const ff = {}, pf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ - __proto__: null, - default: ff -}, Symbol.toStringTag, { value: "Module" })), hy = /* @__PURE__ */ By(pf); -var an, Va; -function xe() { - if (Va) return an; - Va = 1; - var r = typeof Map == "function" && Map.prototype, e = Object.getOwnPropertyDescriptor && r ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, t = r && e && typeof e.get == "function" ? e.get : null, a = r && Map.prototype.forEach, n = typeof Set == "function" && Set.prototype, i = Object.getOwnPropertyDescriptor && n ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, o = n && i && typeof i.get == "function" ? i.get : null, y = n && Set.prototype.forEach, f = typeof WeakMap == "function" && WeakMap.prototype, g = f ? WeakMap.prototype.has : null, h = typeof WeakSet == "function" && WeakSet.prototype, v = h ? WeakSet.prototype.has : null, E = typeof WeakRef == "function" && WeakRef.prototype, $ = E ? WeakRef.prototype.deref : null, j = Boolean.prototype.valueOf, I = Object.prototype.toString, b = Function.prototype.toString, U = String.prototype.match, A = String.prototype.slice, F = String.prototype.replace, z = String.prototype.toUpperCase, K = String.prototype.toLowerCase, D = RegExp.prototype.test, O = Array.prototype.concat, Q = Array.prototype.join, Y = Array.prototype.slice, er = Math.floor, G = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, H = Object.getOwnPropertySymbols, or = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, V = typeof Symbol == "function" && typeof Symbol.iterator == "object", nr = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === V || !0) ? Symbol.toStringTag : null, dr = Object.prototype.propertyIsEnumerable, N = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(p) { - return p.__proto__; - } : null); - function P(p, c) { - if (p === 1 / 0 || p === -1 / 0 || p !== p || p && p > -1e3 && p < 1e3 || D.call(/e/, c)) - return c; - var W = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g; - if (typeof p == "number") { - var fr = p < 0 ? -er(-p) : er(p); - if (fr !== p) { - var ur = String(fr), tr = A.call(c, ur.length + 1); - return F.call(ur, W, "$&_") + "." + F.call(F.call(tr, /([0-9]{3})/g, "$&_"), /_$/, ""); - } - } - return F.call(c, W, "$&_"); - } - var R = hy, q = R.custom, M = T(q) ? q : null, J = { - __proto__: null, - double: '"', - single: "'" - }, X = { - __proto__: null, - double: /(["\\])/g, - single: /(['\\])/g - }; - an = function p(c, W, fr, ur) { - var tr = W || {}; - if (ar(tr, "quoteStyle") && !ar(J, tr.quoteStyle)) - throw new TypeError('option "quoteStyle" must be "single" or "double"'); - if (ar(tr, "maxStringLength") && (typeof tr.maxStringLength == "number" ? tr.maxStringLength < 0 && tr.maxStringLength !== 1 / 0 : tr.maxStringLength !== null)) - throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`'); - var Ar = ar(tr, "customInspect") ? tr.customInspect : !0; - if (typeof Ar != "boolean" && Ar !== "symbol") - throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`"); - if (ar(tr, "indent") && tr.indent !== null && tr.indent !== " " && !(parseInt(tr.indent, 10) === tr.indent && tr.indent > 0)) - throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`'); - if (ar(tr, "numericSeparator") && typeof tr.numericSeparator != "boolean") - throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`'); - var Ir = tr.numericSeparator; - if (typeof c > "u") - return "undefined"; - if (c === null) - return "null"; - if (typeof c == "boolean") - return c ? "true" : "false"; - if (typeof c == "string") - return wr(c, tr); - if (typeof c == "number") { - if (c === 0) - return 1 / 0 / c > 0 ? "0" : "-0"; - var hr = String(c); - return Ir ? P(c, hr) : hr; - } - if (typeof c == "bigint") { - var mr = String(c) + "n"; - return Ir ? P(c, mr) : mr; - } - var ee = typeof tr.depth > "u" ? 5 : tr.depth; - if (typeof fr > "u" && (fr = 0), fr >= ee && ee > 0 && typeof c == "object") - return k(c) ? "[Array]" : "[Object]"; - var Br = d(tr, fr); - if (typeof ur > "u") - ur = []; - else if (ir(ur, c) >= 0) - return "[Circular]"; - function Pr(xr, we, wy) { - if (we && (ur = Y.call(ur), ur.push(we)), wy) { - var Ao = { - depth: tr.depth - }; - return ar(tr, "quoteStyle") && (Ao.quoteStyle = tr.quoteStyle), p(xr, Ao, fr + 1, ur); - } - return p(xr, tr, fr + 1, ur); - } - if (typeof c == "function" && !w(c)) { - var kr = lr(c), te = yr(c, Pr); - return "[Function" + (kr ? ": " + kr : " (anonymous)") + "]" + (te.length > 0 ? " { " + Q.call(te, ", ") + " }" : ""); - } - if (T(c)) { - var Cr = V ? F.call(String(c), /^(Symbol\(.*\))_[^)]*$/, "$1") : or.call(c); - return typeof c == "object" && !V ? $r(Cr) : Cr; - } - if (br(c)) { - for (var Ur = "<" + K.call(String(c.nodeName)), Gr = c.attributes || [], Wr = 0; Wr < Gr.length; Wr++) - Ur += " " + Gr[Wr].name + "=" + u(x(Gr[Wr].value), "double", tr); - return Ur += ">", c.childNodes && c.childNodes.length && (Ur += "..."), Ur += "", Ur; - } - if (k(c)) { - if (c.length === 0) - return "[]"; - var ne = yr(c, Pr); - return Br && !re(ne) ? "[" + m(ne, Br) + "]" : "[ " + Q.call(ne, ", ") + " ]"; - } - if (s(c)) { - var Lr = yr(c, Pr); - return !("cause" in Error.prototype) && "cause" in c && !dr.call(c, "cause") ? "{ [" + String(c) + "] " + Q.call(O.call("[cause]: " + Pr(c.cause), Lr), ", ") + " }" : Lr.length === 0 ? "[" + String(c) + "]" : "{ [" + String(c) + "] " + Q.call(Lr, ", ") + " }"; - } - if (typeof c == "object" && Ar) { - if (M && typeof c[M] == "function" && R) - return R(c, { depth: ee - fr }); - if (Ar !== "symbol" && typeof c.inspect == "function") - return c.inspect(); - } - if (rr(c)) { - var ce = []; - return a && a.call(c, function(xr, we) { - ce.push(Pr(we, c, !0) + " => " + Pr(xr, c)); - }), Zr("Map", t.call(c), ce, Br); - } - if (sr(c)) { - var oe = []; - return y && y.call(c, function(xr) { - oe.push(Pr(xr, c)); - }), Zr("Set", o.call(c), oe, Br); - } - if (cr(c)) - return le("WeakMap"); - if (Qr(c)) - return le("WeakSet"); - if (vr(c)) - return le("WeakRef"); - if (l(c)) - return $r(Pr(Number(c))); - if (Z(c)) - return $r(Pr(G.call(c))); - if (B(c)) - return $r(j.call(c)); - if (S(c)) - return $r(Pr(String(c))); - if (typeof window < "u" && c === window) - return "{ [object Window] }"; - if (typeof globalThis < "u" && c === globalThis || typeof ge < "u" && c === ge) - return "{ [object globalThis] }"; - if (!C(c) && !w(c)) { - var ae = yr(c, Pr), Ee = N ? N(c) === Object.prototype : c instanceof Object || c.constructor === Object, Hr = c instanceof Object ? "" : "null prototype", qr = !Ee && nr && Object(c) === c && nr in c ? A.call(pr(c), 8, -1) : Hr ? "Object" : "", ie = Ee || typeof c.constructor != "function" ? "" : c.constructor.name ? c.constructor.name + " " : "", ve = ie + (qr || Hr ? "[" + Q.call(O.call([], qr || [], Hr || []), ": ") + "] " : ""); - return ae.length === 0 ? ve + "{}" : Br ? ve + "{" + m(ae, Br) + "}" : ve + "{ " + Q.call(ae, ", ") + " }"; - } - return String(c); - }; - function u(p, c, W) { - var fr = W.quoteStyle || c, ur = J[fr]; - return ur + p + ur; - } - function x(p) { - return F.call(String(p), /"/g, """); - } - function L(p) { - return !nr || !(typeof p == "object" && (nr in p || typeof p[nr] < "u")); - } - function k(p) { - return pr(p) === "[object Array]" && L(p); - } - function C(p) { - return pr(p) === "[object Date]" && L(p); - } - function w(p) { - return pr(p) === "[object RegExp]" && L(p); - } - function s(p) { - return pr(p) === "[object Error]" && L(p); - } - function S(p) { - return pr(p) === "[object String]" && L(p); - } - function l(p) { - return pr(p) === "[object Number]" && L(p); - } - function B(p) { - return pr(p) === "[object Boolean]" && L(p); - } - function T(p) { - if (V) - return p && typeof p == "object" && p instanceof Symbol; - if (typeof p == "symbol") - return !0; - if (!p || typeof p != "object" || !or) - return !1; - try { - return or.call(p), !0; - } catch { - } - return !1; - } - function Z(p) { - if (!p || typeof p != "object" || !G) - return !1; - try { - return G.call(p), !0; - } catch { - } - return !1; - } - var _ = Object.prototype.hasOwnProperty || function(p) { - return p in this; - }; - function ar(p, c) { - return _.call(p, c); - } - function pr(p) { - return I.call(p); - } - function lr(p) { - if (p.name) - return p.name; - var c = U.call(b.call(p), /^function\s*([\w$]+)/); - return c ? c[1] : null; - } - function ir(p, c) { - if (p.indexOf) - return p.indexOf(c); - for (var W = 0, fr = p.length; W < fr; W++) - if (p[W] === c) - return W; - return -1; - } - function rr(p) { - if (!t || !p || typeof p != "object") - return !1; - try { - t.call(p); - try { - o.call(p); - } catch { - return !0; - } - return p instanceof Map; - } catch { - } - return !1; - } - function cr(p) { - if (!g || !p || typeof p != "object") - return !1; - try { - g.call(p, g); - try { - v.call(p, v); - } catch { - return !0; - } - return p instanceof WeakMap; - } catch { - } - return !1; - } - function vr(p) { - if (!$ || !p || typeof p != "object") - return !1; - try { - return $.call(p), !0; - } catch { - } - return !1; - } - function sr(p) { - if (!o || !p || typeof p != "object") - return !1; - try { - o.call(p); - try { - t.call(p); - } catch { - return !0; - } - return p instanceof Set; - } catch { - } - return !1; - } - function Qr(p) { - if (!v || !p || typeof p != "object") - return !1; - try { - v.call(p, v); - try { - g.call(p, g); - } catch { - return !0; - } - return p instanceof WeakSet; - } catch { - } - return !1; - } - function br(p) { - return !p || typeof p != "object" ? !1 : typeof HTMLElement < "u" && p instanceof HTMLElement ? !0 : typeof p.nodeName == "string" && typeof p.getAttribute == "function"; - } - function wr(p, c) { - if (p.length > c.maxStringLength) { - var W = p.length - c.maxStringLength, fr = "... " + W + " more character" + (W > 1 ? "s" : ""); - return wr(A.call(p, 0, c.maxStringLength), c) + fr; - } - var ur = X[c.quoteStyle || "single"]; - ur.lastIndex = 0; - var tr = F.call(F.call(p, ur, "\\$1"), /[\x00-\x1f]/g, Tr); - return u(tr, "single", c); - } - function Tr(p) { - var c = p.charCodeAt(0), W = { - 8: "b", - 9: "t", - 10: "n", - 12: "f", - 13: "r" - }[c]; - return W ? "\\" + W : "\\x" + (c < 16 ? "0" : "") + z.call(c.toString(16)); - } - function $r(p) { - return "Object(" + p + ")"; - } - function le(p) { - return p + " { ? }"; - } - function Zr(p, c, W, fr) { - var ur = fr ? m(W, fr) : Q.call(W, ", "); - return p + " (" + c + ") {" + ur + "}"; - } - function re(p) { - for (var c = 0; c < p.length; c++) - if (ir(p[c], ` -`) >= 0) - return !1; - return !0; - } - function d(p, c) { - var W; - if (p.indent === " ") - W = " "; - else if (typeof p.indent == "number" && p.indent > 0) - W = Q.call(Array(p.indent + 1), " "); - else - return null; - return { - base: W, - prev: Q.call(Array(c + 1), W) - }; - } - function m(p, c) { - if (p.length === 0) - return ""; - var W = ` -` + c.prev + c.base; - return W + Q.call(p, "," + W) + ` -` + c.prev; - } - function yr(p, c) { - var W = k(p), fr = []; - if (W) { - fr.length = p.length; - for (var ur = 0; ur < p.length; ur++) - fr[ur] = ar(p, ur) ? c(p[ur], p) : ""; - } - var tr = typeof H == "function" ? H(p) : [], Ar; - if (V) { - Ar = {}; - for (var Ir = 0; Ir < tr.length; Ir++) - Ar["$" + tr[Ir]] = tr[Ir]; - } - for (var hr in p) - ar(p, hr) && (W && String(Number(hr)) === hr && hr < p.length || V && Ar["$" + hr] instanceof Symbol || (D.call(/[^\w$]/, hr) ? fr.push(c(hr, p) + ": " + c(p[hr], p)) : fr.push(hr + ": " + c(p[hr], p)))); - if (typeof H == "function") - for (var mr = 0; mr < tr.length; mr++) - dr.call(p, tr[mr]) && fr.push("[" + c(tr[mr]) + "]: " + c(p[tr[mr]], p)); - return fr; - } - return an; -} -var yn, Ja; -function uf() { - if (Ja) return yn; - Ja = 1; - var r = /* @__PURE__ */ xe(), e = /* @__PURE__ */ gr(), t = function(y, f, g) { - for (var h = y, v; (v = h.next) != null; h = v) - if (v.key === f) - return h.next = v.next, g || (v.next = /** @type {NonNullable} */ - y.next, y.next = v), v; - }, a = function(y, f) { - if (y) { - var g = t(y, f); - return g && g.value; - } - }, n = function(y, f, g) { - var h = t(y, f); - h ? h.value = g : y.next = /** @type {import('./list.d.ts').ListNode} */ - { - // eslint-disable-line no-param-reassign, no-extra-parens - key: f, - next: y.next, - value: g - }; - }, i = function(y, f) { - return y ? !!t(y, f) : !1; - }, o = function(y, f) { - if (y) - return t(y, f, !0); - }; - return yn = function() { - var f, g = { - assert: function(h) { - if (!g.has(h)) - throw new e("Side channel does not contain " + r(h)); - }, - delete: function(h) { - var v = f && f.next, E = o(f, h); - return E && v && v === E && (f = void 0), !!E; - }, - get: function(h) { - return a(f, h); - }, - has: function(h) { - return i(f, h); - }, - set: function(h, v) { - f || (f = { - next: void 0 - }), n( - /** @type {NonNullable} */ - f, - h, - v - ); - } - }; - return g; - }, yn; -} -var fn, za; -function sf() { - return za || (za = 1, fn = Object.getOwnPropertyDescriptor), fn; -} -var pn, Ka; -function lf() { - if (Ka) return pn; - Ka = 1; - var r = /* @__PURE__ */ sf(); - if (r) - try { - r([], "length"); - } catch { - r = null; - } - return pn = r, pn; -} -var un, Ya; -function cf() { - if (Ya) return un; - Ya = 1; - var r = Object.defineProperty || !1; - if (r) - try { - r({}, "a", { value: 1 }); - } catch { - r = !1; - } - return un = r, un; -} -var sn, Xa; -function vf() { - return Xa || (Xa = 1, sn = function() { - if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") - return !1; - if (typeof Symbol.iterator == "symbol") - return !0; - var e = {}, t = Symbol("test"), a = Object(t); - if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(a) !== "[object Symbol]") - return !1; - var n = 42; - e[t] = n; - for (var i in e) - return !1; - if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0) - return !1; - var o = Object.getOwnPropertySymbols(e); - if (o.length !== 1 || o[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t)) - return !1; - if (typeof Object.getOwnPropertyDescriptor == "function") { - var y = ( - /** @type {PropertyDescriptor} */ - Object.getOwnPropertyDescriptor(e, t) - ); - if (y.value !== n || y.enumerable !== !0) - return !1; - } - return !0; - }), sn; -} -var ln, Qa; -function df() { - if (Qa) return ln; - Qa = 1; - var r = typeof Symbol < "u" && Symbol, e = vf(); - return ln = function() { - return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e(); - }, ln; -} -var cn, Za; -function gf() { - if (Za) return cn; - Za = 1; - var r, e = /* @__PURE__ */ Yr(), t = /* @__PURE__ */ Rr(), a = /* @__PURE__ */ jr(), n = /* @__PURE__ */ Mr(), i = /* @__PURE__ */ _r(), o = /* @__PURE__ */ Er(), y = /* @__PURE__ */ gr(), f = /* @__PURE__ */ Dr(), g = /* @__PURE__ */ me(), h = /* @__PURE__ */ Se(), v = /* @__PURE__ */ Ae(), E = /* @__PURE__ */ be(), $ = /* @__PURE__ */ Pe(), j = /* @__PURE__ */ Oe(), I = /* @__PURE__ */ Ie(), b = Function, U = function(w) { - try { - return b('"use strict"; return (' + w + ").constructor;")(); - } catch { - } - }, A = /* @__PURE__ */ lf(), F = /* @__PURE__ */ cf(), z = function() { - throw new y(); - }, K = A ? function() { - try { - return arguments.callee, z; - } catch { - try { - return A(arguments, "callee").get; - } catch { - return z; - } - } - }() : z, D = df()(), O = ue(), Q = pe(), Y = fe(), er = Kr(), G = zr(), H = {}, or = typeof Uint8Array > "u" || !O ? r : O(Uint8Array), V = { - __proto__: null, - "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError, - "%Array%": Array, - "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer, - "%ArrayIteratorPrototype%": D && O ? O([][Symbol.iterator]()) : r, - "%AsyncFromSyncIteratorPrototype%": r, - "%AsyncFunction%": H, - "%AsyncGenerator%": H, - "%AsyncGeneratorFunction%": H, - "%AsyncIteratorPrototype%": H, - "%Atomics%": typeof Atomics > "u" ? r : Atomics, - "%BigInt%": typeof BigInt > "u" ? r : BigInt, - "%BigInt64Array%": typeof BigInt64Array > "u" ? r : BigInt64Array, - "%BigUint64Array%": typeof BigUint64Array > "u" ? r : BigUint64Array, - "%Boolean%": Boolean, - "%DataView%": typeof DataView > "u" ? r : DataView, - "%Date%": Date, - "%decodeURI%": decodeURI, - "%decodeURIComponent%": decodeURIComponent, - "%encodeURI%": encodeURI, - "%encodeURIComponent%": encodeURIComponent, - "%Error%": t, - "%eval%": eval, - // eslint-disable-line no-eval - "%EvalError%": a, - "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array, - "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array, - "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry, - "%Function%": b, - "%GeneratorFunction%": H, - "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array, - "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array, - "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array, - "%isFinite%": isFinite, - "%isNaN%": isNaN, - "%IteratorPrototype%": D && O ? O(O([][Symbol.iterator]())) : r, - "%JSON%": typeof JSON == "object" ? JSON : r, - "%Map%": typeof Map > "u" ? r : Map, - "%MapIteratorPrototype%": typeof Map > "u" || !D || !O ? r : O((/* @__PURE__ */ new Map())[Symbol.iterator]()), - "%Math%": Math, - "%Number%": Number, - "%Object%": e, - "%Object.getOwnPropertyDescriptor%": A, - "%parseFloat%": parseFloat, - "%parseInt%": parseInt, - "%Promise%": typeof Promise > "u" ? r : Promise, - "%Proxy%": typeof Proxy > "u" ? r : Proxy, - "%RangeError%": n, - "%ReferenceError%": i, - "%Reflect%": typeof Reflect > "u" ? r : Reflect, - "%RegExp%": RegExp, - "%Set%": typeof Set > "u" ? r : Set, - "%SetIteratorPrototype%": typeof Set > "u" || !D || !O ? r : O((/* @__PURE__ */ new Set())[Symbol.iterator]()), - "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer, - "%String%": String, - "%StringIteratorPrototype%": D && O ? O(""[Symbol.iterator]()) : r, - "%Symbol%": D ? Symbol : r, - "%SyntaxError%": o, - "%ThrowTypeError%": K, - "%TypedArray%": or, - "%TypeError%": y, - "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array, - "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray, - "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array, - "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array, - "%URIError%": f, - "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap, - "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef, - "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet, - "%Function.prototype.call%": G, - "%Function.prototype.apply%": er, - "%Object.defineProperty%": F, - "%Object.getPrototypeOf%": Q, - "%Math.abs%": g, - "%Math.floor%": h, - "%Math.max%": v, - "%Math.min%": E, - "%Math.pow%": $, - "%Math.round%": j, - "%Math.sign%": I, - "%Reflect.getPrototypeOf%": Y - }; - if (O) - try { - null.error; - } catch (w) { - var nr = O(O(w)); - V["%Error.prototype%"] = nr; - } - var dr = function w(s) { - var S; - if (s === "%AsyncFunction%") - S = U("async function () {}"); - else if (s === "%GeneratorFunction%") - S = U("function* () {}"); - else if (s === "%AsyncGeneratorFunction%") - S = U("async function* () {}"); - else if (s === "%AsyncGenerator%") { - var l = w("%AsyncGeneratorFunction%"); - l && (S = l.prototype); - } else if (s === "%AsyncIteratorPrototype%") { - var B = w("%AsyncGenerator%"); - B && O && (S = O(B.prototype)); - } - return V[s] = S, S; - }, N = { - __proto__: null, - "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], - "%ArrayPrototype%": ["Array", "prototype"], - "%ArrayProto_entries%": ["Array", "prototype", "entries"], - "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], - "%ArrayProto_keys%": ["Array", "prototype", "keys"], - "%ArrayProto_values%": ["Array", "prototype", "values"], - "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], - "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], - "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], - "%BooleanPrototype%": ["Boolean", "prototype"], - "%DataViewPrototype%": ["DataView", "prototype"], - "%DatePrototype%": ["Date", "prototype"], - "%ErrorPrototype%": ["Error", "prototype"], - "%EvalErrorPrototype%": ["EvalError", "prototype"], - "%Float32ArrayPrototype%": ["Float32Array", "prototype"], - "%Float64ArrayPrototype%": ["Float64Array", "prototype"], - "%FunctionPrototype%": ["Function", "prototype"], - "%Generator%": ["GeneratorFunction", "prototype"], - "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], - "%Int8ArrayPrototype%": ["Int8Array", "prototype"], - "%Int16ArrayPrototype%": ["Int16Array", "prototype"], - "%Int32ArrayPrototype%": ["Int32Array", "prototype"], - "%JSONParse%": ["JSON", "parse"], - "%JSONStringify%": ["JSON", "stringify"], - "%MapPrototype%": ["Map", "prototype"], - "%NumberPrototype%": ["Number", "prototype"], - "%ObjectPrototype%": ["Object", "prototype"], - "%ObjProto_toString%": ["Object", "prototype", "toString"], - "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], - "%PromisePrototype%": ["Promise", "prototype"], - "%PromiseProto_then%": ["Promise", "prototype", "then"], - "%Promise_all%": ["Promise", "all"], - "%Promise_reject%": ["Promise", "reject"], - "%Promise_resolve%": ["Promise", "resolve"], - "%RangeErrorPrototype%": ["RangeError", "prototype"], - "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], - "%RegExpPrototype%": ["RegExp", "prototype"], - "%SetPrototype%": ["Set", "prototype"], - "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], - "%StringPrototype%": ["String", "prototype"], - "%SymbolPrototype%": ["Symbol", "prototype"], - "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], - "%TypedArrayPrototype%": ["TypedArray", "prototype"], - "%TypeErrorPrototype%": ["TypeError", "prototype"], - "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], - "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], - "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], - "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], - "%URIErrorPrototype%": ["URIError", "prototype"], - "%WeakMapPrototype%": ["WeakMap", "prototype"], - "%WeakSetPrototype%": ["WeakSet", "prototype"] - }, P = Or(), R = /* @__PURE__ */ Fr(), q = P.call(G, Array.prototype.concat), M = P.call(er, Array.prototype.splice), J = P.call(G, String.prototype.replace), X = P.call(G, String.prototype.slice), u = P.call(G, RegExp.prototype.exec), x = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, L = /\\(\\)?/g, k = function(s) { - var S = X(s, 0, 1), l = X(s, -1); - if (S === "%" && l !== "%") - throw new o("invalid intrinsic syntax, expected closing `%`"); - if (l === "%" && S !== "%") - throw new o("invalid intrinsic syntax, expected opening `%`"); - var B = []; - return J(s, x, function(T, Z, _, ar) { - B[B.length] = _ ? J(ar, L, "$1") : Z || T; - }), B; - }, C = function(s, S) { - var l = s, B; - if (R(N, l) && (B = N[l], l = "%" + B[0] + "%"), R(V, l)) { - var T = V[l]; - if (T === H && (T = dr(l)), typeof T > "u" && !S) - throw new y("intrinsic " + s + " exists, but is not available. Please file an issue!"); - return { - alias: B, - name: l, - value: T - }; - } - throw new o("intrinsic " + s + " does not exist!"); - }; - return cn = function(s, S) { - if (typeof s != "string" || s.length === 0) - throw new y("intrinsic name must be a non-empty string"); - if (arguments.length > 1 && typeof S != "boolean") - throw new y('"allowMissing" argument must be a boolean'); - if (u(/^%?[^%]*%?$/, s) === null) - throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); - var l = k(s), B = l.length > 0 ? l[0] : "", T = C("%" + B + "%", S), Z = T.name, _ = T.value, ar = !1, pr = T.alias; - pr && (B = pr[0], M(l, q([0, 1], pr))); - for (var lr = 1, ir = !0; lr < l.length; lr += 1) { - var rr = l[lr], cr = X(rr, 0, 1), vr = X(rr, -1); - if ((cr === '"' || cr === "'" || cr === "`" || vr === '"' || vr === "'" || vr === "`") && cr !== vr) - throw new o("property names with quotes must have matching quotes"); - if ((rr === "constructor" || !ir) && (ar = !0), B += "." + rr, Z = "%" + B + "%", R(V, Z)) - _ = V[Z]; - else if (_ != null) { - if (!(rr in _)) { - if (!S) - throw new y("base intrinsic for " + s + " exists, but the property is not available."); - return; - } - if (A && lr + 1 >= l.length) { - var sr = A(_, rr); - ir = !!sr, ir && "get" in sr && !("originalValue" in sr.get) ? _ = sr.get : _ = _[rr]; - } else - ir = R(_, rr), _ = _[rr]; - ir && !ar && (V[Z] = _); - } - } - return _; - }, cn; -} -var vn, ri; -function my() { - if (ri) return vn; - ri = 1; - var r = /* @__PURE__ */ gf(), e = /* @__PURE__ */ Nr(), t = /* @__PURE__ */ xe(), a = /* @__PURE__ */ gr(), n = r("%Map%", !0), i = e("Map.prototype.get", !0), o = e("Map.prototype.set", !0), y = e("Map.prototype.has", !0), f = e("Map.prototype.delete", !0), g = e("Map.prototype.size", !0); - return vn = !!n && /** @type {Exclude} */ - function() { - var v, E = { - assert: function($) { - if (!E.has($)) - throw new a("Side channel does not contain " + t($)); - }, - delete: function($) { - if (v) { - var j = f(v, $); - return g(v) === 0 && (v = void 0), j; - } - return !1; - }, - get: function($) { - if (v) - return i(v, $); - }, - has: function($) { - return v ? y(v, $) : !1; - }, - set: function($, j) { - v || (v = new n()), o(v, $, j); - } - }; - return E; - }, vn; -} -var dn, ei; -function hf() { - return ei || (ei = 1, dn = Object.getOwnPropertyDescriptor), dn; -} -var gn, ti; -function mf() { - if (ti) return gn; - ti = 1; - var r = /* @__PURE__ */ hf(); - if (r) - try { - r([], "length"); - } catch { - r = null; - } - return gn = r, gn; -} -var hn, ni; -function Sf() { - if (ni) return hn; - ni = 1; - var r = Object.defineProperty || !1; - if (r) - try { - r({}, "a", { value: 1 }); - } catch { - r = !1; - } - return hn = r, hn; -} -var mn, oi; -function Af() { - return oi || (oi = 1, mn = function() { - if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") - return !1; - if (typeof Symbol.iterator == "symbol") - return !0; - var e = {}, t = Symbol("test"), a = Object(t); - if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(a) !== "[object Symbol]") - return !1; - var n = 42; - e[t] = n; - for (var i in e) - return !1; - if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0) - return !1; - var o = Object.getOwnPropertySymbols(e); - if (o.length !== 1 || o[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t)) - return !1; - if (typeof Object.getOwnPropertyDescriptor == "function") { - var y = ( - /** @type {PropertyDescriptor} */ - Object.getOwnPropertyDescriptor(e, t) - ); - if (y.value !== n || y.enumerable !== !0) - return !1; - } - return !0; - }), mn; -} -var Sn, ai; -function bf() { - if (ai) return Sn; - ai = 1; - var r = typeof Symbol < "u" && Symbol, e = Af(); - return Sn = function() { - return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e(); - }, Sn; -} -var An, ii; -function Pf() { - if (ii) return An; - ii = 1; - var r, e = /* @__PURE__ */ Yr(), t = /* @__PURE__ */ Rr(), a = /* @__PURE__ */ jr(), n = /* @__PURE__ */ Mr(), i = /* @__PURE__ */ _r(), o = /* @__PURE__ */ Er(), y = /* @__PURE__ */ gr(), f = /* @__PURE__ */ Dr(), g = /* @__PURE__ */ me(), h = /* @__PURE__ */ Se(), v = /* @__PURE__ */ Ae(), E = /* @__PURE__ */ be(), $ = /* @__PURE__ */ Pe(), j = /* @__PURE__ */ Oe(), I = /* @__PURE__ */ Ie(), b = Function, U = function(w) { - try { - return b('"use strict"; return (' + w + ").constructor;")(); - } catch { - } - }, A = /* @__PURE__ */ mf(), F = /* @__PURE__ */ Sf(), z = function() { - throw new y(); - }, K = A ? function() { - try { - return arguments.callee, z; - } catch { - try { - return A(arguments, "callee").get; - } catch { - return z; - } - } - }() : z, D = bf()(), O = ue(), Q = pe(), Y = fe(), er = Kr(), G = zr(), H = {}, or = typeof Uint8Array > "u" || !O ? r : O(Uint8Array), V = { - __proto__: null, - "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError, - "%Array%": Array, - "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer, - "%ArrayIteratorPrototype%": D && O ? O([][Symbol.iterator]()) : r, - "%AsyncFromSyncIteratorPrototype%": r, - "%AsyncFunction%": H, - "%AsyncGenerator%": H, - "%AsyncGeneratorFunction%": H, - "%AsyncIteratorPrototype%": H, - "%Atomics%": typeof Atomics > "u" ? r : Atomics, - "%BigInt%": typeof BigInt > "u" ? r : BigInt, - "%BigInt64Array%": typeof BigInt64Array > "u" ? r : BigInt64Array, - "%BigUint64Array%": typeof BigUint64Array > "u" ? r : BigUint64Array, - "%Boolean%": Boolean, - "%DataView%": typeof DataView > "u" ? r : DataView, - "%Date%": Date, - "%decodeURI%": decodeURI, - "%decodeURIComponent%": decodeURIComponent, - "%encodeURI%": encodeURI, - "%encodeURIComponent%": encodeURIComponent, - "%Error%": t, - "%eval%": eval, - // eslint-disable-line no-eval - "%EvalError%": a, - "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array, - "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array, - "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry, - "%Function%": b, - "%GeneratorFunction%": H, - "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array, - "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array, - "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array, - "%isFinite%": isFinite, - "%isNaN%": isNaN, - "%IteratorPrototype%": D && O ? O(O([][Symbol.iterator]())) : r, - "%JSON%": typeof JSON == "object" ? JSON : r, - "%Map%": typeof Map > "u" ? r : Map, - "%MapIteratorPrototype%": typeof Map > "u" || !D || !O ? r : O((/* @__PURE__ */ new Map())[Symbol.iterator]()), - "%Math%": Math, - "%Number%": Number, - "%Object%": e, - "%Object.getOwnPropertyDescriptor%": A, - "%parseFloat%": parseFloat, - "%parseInt%": parseInt, - "%Promise%": typeof Promise > "u" ? r : Promise, - "%Proxy%": typeof Proxy > "u" ? r : Proxy, - "%RangeError%": n, - "%ReferenceError%": i, - "%Reflect%": typeof Reflect > "u" ? r : Reflect, - "%RegExp%": RegExp, - "%Set%": typeof Set > "u" ? r : Set, - "%SetIteratorPrototype%": typeof Set > "u" || !D || !O ? r : O((/* @__PURE__ */ new Set())[Symbol.iterator]()), - "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer, - "%String%": String, - "%StringIteratorPrototype%": D && O ? O(""[Symbol.iterator]()) : r, - "%Symbol%": D ? Symbol : r, - "%SyntaxError%": o, - "%ThrowTypeError%": K, - "%TypedArray%": or, - "%TypeError%": y, - "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array, - "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray, - "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array, - "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array, - "%URIError%": f, - "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap, - "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef, - "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet, - "%Function.prototype.call%": G, - "%Function.prototype.apply%": er, - "%Object.defineProperty%": F, - "%Object.getPrototypeOf%": Q, - "%Math.abs%": g, - "%Math.floor%": h, - "%Math.max%": v, - "%Math.min%": E, - "%Math.pow%": $, - "%Math.round%": j, - "%Math.sign%": I, - "%Reflect.getPrototypeOf%": Y - }; - if (O) - try { - null.error; - } catch (w) { - var nr = O(O(w)); - V["%Error.prototype%"] = nr; - } - var dr = function w(s) { - var S; - if (s === "%AsyncFunction%") - S = U("async function () {}"); - else if (s === "%GeneratorFunction%") - S = U("function* () {}"); - else if (s === "%AsyncGeneratorFunction%") - S = U("async function* () {}"); - else if (s === "%AsyncGenerator%") { - var l = w("%AsyncGeneratorFunction%"); - l && (S = l.prototype); - } else if (s === "%AsyncIteratorPrototype%") { - var B = w("%AsyncGenerator%"); - B && O && (S = O(B.prototype)); - } - return V[s] = S, S; - }, N = { - __proto__: null, - "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], - "%ArrayPrototype%": ["Array", "prototype"], - "%ArrayProto_entries%": ["Array", "prototype", "entries"], - "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], - "%ArrayProto_keys%": ["Array", "prototype", "keys"], - "%ArrayProto_values%": ["Array", "prototype", "values"], - "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], - "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], - "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], - "%BooleanPrototype%": ["Boolean", "prototype"], - "%DataViewPrototype%": ["DataView", "prototype"], - "%DatePrototype%": ["Date", "prototype"], - "%ErrorPrototype%": ["Error", "prototype"], - "%EvalErrorPrototype%": ["EvalError", "prototype"], - "%Float32ArrayPrototype%": ["Float32Array", "prototype"], - "%Float64ArrayPrototype%": ["Float64Array", "prototype"], - "%FunctionPrototype%": ["Function", "prototype"], - "%Generator%": ["GeneratorFunction", "prototype"], - "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], - "%Int8ArrayPrototype%": ["Int8Array", "prototype"], - "%Int16ArrayPrototype%": ["Int16Array", "prototype"], - "%Int32ArrayPrototype%": ["Int32Array", "prototype"], - "%JSONParse%": ["JSON", "parse"], - "%JSONStringify%": ["JSON", "stringify"], - "%MapPrototype%": ["Map", "prototype"], - "%NumberPrototype%": ["Number", "prototype"], - "%ObjectPrototype%": ["Object", "prototype"], - "%ObjProto_toString%": ["Object", "prototype", "toString"], - "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], - "%PromisePrototype%": ["Promise", "prototype"], - "%PromiseProto_then%": ["Promise", "prototype", "then"], - "%Promise_all%": ["Promise", "all"], - "%Promise_reject%": ["Promise", "reject"], - "%Promise_resolve%": ["Promise", "resolve"], - "%RangeErrorPrototype%": ["RangeError", "prototype"], - "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], - "%RegExpPrototype%": ["RegExp", "prototype"], - "%SetPrototype%": ["Set", "prototype"], - "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], - "%StringPrototype%": ["String", "prototype"], - "%SymbolPrototype%": ["Symbol", "prototype"], - "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], - "%TypedArrayPrototype%": ["TypedArray", "prototype"], - "%TypeErrorPrototype%": ["TypeError", "prototype"], - "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], - "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], - "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], - "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], - "%URIErrorPrototype%": ["URIError", "prototype"], - "%WeakMapPrototype%": ["WeakMap", "prototype"], - "%WeakSetPrototype%": ["WeakSet", "prototype"] - }, P = Or(), R = /* @__PURE__ */ Fr(), q = P.call(G, Array.prototype.concat), M = P.call(er, Array.prototype.splice), J = P.call(G, String.prototype.replace), X = P.call(G, String.prototype.slice), u = P.call(G, RegExp.prototype.exec), x = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, L = /\\(\\)?/g, k = function(s) { - var S = X(s, 0, 1), l = X(s, -1); - if (S === "%" && l !== "%") - throw new o("invalid intrinsic syntax, expected closing `%`"); - if (l === "%" && S !== "%") - throw new o("invalid intrinsic syntax, expected opening `%`"); - var B = []; - return J(s, x, function(T, Z, _, ar) { - B[B.length] = _ ? J(ar, L, "$1") : Z || T; - }), B; - }, C = function(s, S) { - var l = s, B; - if (R(N, l) && (B = N[l], l = "%" + B[0] + "%"), R(V, l)) { - var T = V[l]; - if (T === H && (T = dr(l)), typeof T > "u" && !S) - throw new y("intrinsic " + s + " exists, but is not available. Please file an issue!"); - return { - alias: B, - name: l, - value: T - }; - } - throw new o("intrinsic " + s + " does not exist!"); - }; - return An = function(s, S) { - if (typeof s != "string" || s.length === 0) - throw new y("intrinsic name must be a non-empty string"); - if (arguments.length > 1 && typeof S != "boolean") - throw new y('"allowMissing" argument must be a boolean'); - if (u(/^%?[^%]*%?$/, s) === null) - throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); - var l = k(s), B = l.length > 0 ? l[0] : "", T = C("%" + B + "%", S), Z = T.name, _ = T.value, ar = !1, pr = T.alias; - pr && (B = pr[0], M(l, q([0, 1], pr))); - for (var lr = 1, ir = !0; lr < l.length; lr += 1) { - var rr = l[lr], cr = X(rr, 0, 1), vr = X(rr, -1); - if ((cr === '"' || cr === "'" || cr === "`" || vr === '"' || vr === "'" || vr === "`") && cr !== vr) - throw new o("property names with quotes must have matching quotes"); - if ((rr === "constructor" || !ir) && (ar = !0), B += "." + rr, Z = "%" + B + "%", R(V, Z)) - _ = V[Z]; - else if (_ != null) { - if (!(rr in _)) { - if (!S) - throw new y("base intrinsic for " + s + " exists, but the property is not available."); - return; - } - if (A && lr + 1 >= l.length) { - var sr = A(_, rr); - ir = !!sr, ir && "get" in sr && !("originalValue" in sr.get) ? _ = sr.get : _ = _[rr]; - } else - ir = R(_, rr), _ = _[rr]; - ir && !ar && (V[Z] = _); - } - } - return _; - }, An; -} -var bn, yi; -function Of() { - if (yi) return bn; - yi = 1; - var r = /* @__PURE__ */ Pf(), e = /* @__PURE__ */ Nr(), t = /* @__PURE__ */ xe(), a = my(), n = /* @__PURE__ */ gr(), i = r("%WeakMap%", !0), o = e("WeakMap.prototype.get", !0), y = e("WeakMap.prototype.set", !0), f = e("WeakMap.prototype.has", !0), g = e("WeakMap.prototype.delete", !0); - return bn = i ? ( - /** @type {Exclude} */ - function() { - var v, E, $ = { - assert: function(j) { - if (!$.has(j)) - throw new n("Side channel does not contain " + t(j)); - }, - delete: function(j) { - if (i && j && (typeof j == "object" || typeof j == "function")) { - if (v) - return g(v, j); - } else if (a && E) - return E.delete(j); - return !1; - }, - get: function(j) { - return i && j && (typeof j == "object" || typeof j == "function") && v ? o(v, j) : E && E.get(j); - }, - has: function(j) { - return i && j && (typeof j == "object" || typeof j == "function") && v ? f(v, j) : !!E && E.has(j); - }, - set: function(j, I) { - i && j && (typeof j == "object" || typeof j == "function") ? (v || (v = new i()), y(v, j, I)) : a && (E || (E = a()), E.set(j, I)); - } - }; - return $; - } - ) : a, bn; -} -var Pn, fi; -function If() { - if (fi) return Pn; - fi = 1; - var r = /* @__PURE__ */ gr(), e = /* @__PURE__ */ xe(), t = uf(), a = my(), n = Of(), i = n || a || t; - return Pn = function() { - var y, f = { - assert: function(g) { - if (!f.has(g)) - throw new r("Side channel does not contain " + e(g)); - }, - delete: function(g) { - return !!y && y.delete(g); - }, - get: function(g) { - return y && y.get(g); - }, - has: function(g) { - return !!y && y.has(g); - }, - set: function(g, h) { - y || (y = i()), y.set(g, h); - } - }; - return f; - }, Pn; -} -var On, pi; -function Ef() { - if (pi) return On; - pi = 1; - var r = /* @__PURE__ */ Fr(), e = If()(), t = /* @__PURE__ */ gr(), a = { - assert: function(n, i) { - if (!n || typeof n != "object" && typeof n != "function") - throw new t("`O` is not an object"); - if (typeof i != "string") - throw new t("`slot` must be a string"); - if (e.assert(n), !a.has(n, i)) - throw new t("`" + i + "` is not present on `O`"); - }, - get: function(n, i) { - if (!n || typeof n != "object" && typeof n != "function") - throw new t("`O` is not an object"); - if (typeof i != "string") - throw new t("`slot` must be a string"); - var o = e.get(n); - return o && o[ - /** @type {SaltedInternalSlot} */ - "$" + i - ]; - }, - has: function(n, i) { - if (!n || typeof n != "object" && typeof n != "function") - throw new t("`O` is not an object"); - if (typeof i != "string") - throw new t("`slot` must be a string"); - var o = e.get(n); - return !!o && r( - o, - /** @type {SaltedInternalSlot} */ - "$" + i - ); - }, - set: function(n, i, o) { - if (!n || typeof n != "object" && typeof n != "function") - throw new t("`O` is not an object"); - if (typeof i != "string") - throw new t("`slot` must be a string"); - var y = e.get(n); - y || (y = {}, e.set(n, y)), y[ - /** @type {SaltedInternalSlot} */ - "$" + i - ] = o; - } - }; - return Object.freeze && Object.freeze(a), On = a, On; -} -var In, ui; -function wf() { - if (ui) return In; - ui = 1; - var r = Ef(), e = /* @__PURE__ */ Er(), t = typeof StopIteration == "object" ? StopIteration : null; - return In = function(n) { - if (!t) - throw new e("this environment lacks StopIteration"); - r.set(n, "[[Done]]", !1); - var i = { - next: ( - /** @type {() => IteratorResult} */ - function() { - var y = ( - /** @type {typeof origIterator} */ - r.get(this, "[[Iterator]]") - ), f = !!r.get(y, "[[Done]]"); - try { - return { - done: f, - // eslint-disable-next-line no-extra-parens - value: f ? void 0 : ( - /** @type {T} */ - y.next() - ) - }; - } catch (g) { - if (r.set(y, "[[Done]]", !0), g !== t) - throw g; - return { - done: !0, - value: void 0 - }; - } - } - ) - }; - return r.set(i, "[[Iterator]]", n), i; - }, In; -} -var En, si; -function Sy() { - if (si) return En; - si = 1; - var r = {}.toString; - return En = Array.isArray || function(e) { - return r.call(e) == "[object Array]"; - }, En; -} -var wn, li; -function Ay() { - if (li) return wn; - li = 1; - var r = String.prototype.valueOf, e = function(o) { - try { - return r.call(o), !0; - } catch { - return !1; - } - }, t = Object.prototype.toString, a = "[object String]", n = Xr()(); - return wn = function(o) { - return typeof o == "string" ? !0 : typeof o != "object" ? !1 : n ? e(o) : t.call(o) === a; - }, wn; -} -var $n, ci; -function by() { - if (ci) return $n; - ci = 1; - var r = typeof Map == "function" && Map.prototype ? Map : null, e = typeof Set == "function" && Set.prototype ? Set : null, t; - r || (t = function(o) { - return !1; - }); - var a = r ? Map.prototype.has : null, n = e ? Set.prototype.has : null; - return !t && !a && (t = function(o) { - return !1; - }), $n = t || function(o) { - if (!o || typeof o != "object") - return !1; - try { - if (a.call(o), n) - try { - n.call(o); - } catch { - return !0; - } - return o instanceof r; - } catch { - } - return !1; - }, $n; -} -var Rn, vi; -function Py() { - if (vi) return Rn; - vi = 1; - var r = typeof Map == "function" && Map.prototype ? Map : null, e = typeof Set == "function" && Set.prototype ? Set : null, t; - e || (t = function(o) { - return !1; - }); - var a = r ? Map.prototype.has : null, n = e ? Set.prototype.has : null; - return !t && !n && (t = function(o) { - return !1; - }), Rn = t || function(o) { - if (!o || typeof o != "object") - return !1; - try { - if (n.call(o), a) - try { - a.call(o); - } catch { - return !0; - } - return o instanceof e; - } catch { - } - return !1; - }, Rn; -} -var di; -function $f() { - if (di) return de.exports; - di = 1; - var r = /* @__PURE__ */ gy(), e = /* @__PURE__ */ wf(); - if (ho()() || go()()) { - var t = Symbol.iterator; - de.exports = function(Y) { - if (Y != null && typeof Y[t] < "u") - return Y[t](); - if (r(Y)) - return Array.prototype[t].call(Y); - }; - } else { - var a = Sy(), n = Ay(), i = /* @__PURE__ */ Vr(), o = i("%Map%", !0), y = i("%Set%", !0), f = se(), g = f("Array.prototype.push"), h = f("String.prototype.charCodeAt"), v = f("String.prototype.slice"), E = function(Y, er) { - var G = Y.length; - if (er + 1 >= G) - return er + 1; - var H = h(Y, er); - if (H < 55296 || H > 56319) - return er + 1; - var or = h(Y, er + 1); - return or < 56320 || or > 57343 ? er + 1 : er + 2; - }, $ = function(Y) { - var er = 0; - return { - next: function() { - var H = er >= Y.length, or; - return H || (or = Y[er], er += 1), { - done: H, - value: or - }; - } - }; - }, j = function(Y, er) { - if (a(Y) || r(Y)) - return $(Y); - if (n(Y)) { - var G = 0; - return { - next: function() { - var or = E(Y, G), V = v(Y, G, or); - return G = or, { - done: or > Y.length, - value: V - }; - } - }; - } - if (er && typeof Y["_es6-shim iterator_"] < "u") - return Y["_es6-shim iterator_"](); - }; - if (!o && !y) - de.exports = function(Y) { - if (Y != null) - return j(Y, !0); - }; - else { - var I = /* @__PURE__ */ by(), b = /* @__PURE__ */ Py(), U = f("Map.prototype.forEach", !0), A = f("Set.prototype.forEach", !0); - if (typeof process > "u" || !process.versions || !process.versions.node) - var F = f("Map.prototype.iterator", !0), z = f("Set.prototype.iterator", !0); - var K = f("Map.prototype.@@iterator", !0) || f("Map.prototype._es6-shim iterator_", !0), D = f("Set.prototype.@@iterator", !0) || f("Set.prototype._es6-shim iterator_", !0), O = function(Y) { - if (I(Y)) { - if (F) - return e(F(Y)); - if (K) - return K(Y); - if (U) { - var er = []; - return U(Y, function(H, or) { - g(er, [or, H]); - }), $(er); - } - } - if (b(Y)) { - if (z) - return e(z(Y)); - if (D) - return D(Y); - if (A) { - var G = []; - return A(Y, function(H) { - g(G, H); - }), $(G); - } - } - }; - de.exports = function(Y) { - return O(Y) || j(Y); - }; - } - } - return de.exports; -} -var Fn, gi; -function Rf() { - if (gi) return Fn; - gi = 1; - var r = typeof Map == "function" && Map.prototype, e = Object.getOwnPropertyDescriptor && r ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, t = r && e && typeof e.get == "function" ? e.get : null, a = r && Map.prototype.forEach, n = typeof Set == "function" && Set.prototype, i = Object.getOwnPropertyDescriptor && n ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, o = n && i && typeof i.get == "function" ? i.get : null, y = n && Set.prototype.forEach, f = typeof WeakMap == "function" && WeakMap.prototype, g = f ? WeakMap.prototype.has : null, h = typeof WeakSet == "function" && WeakSet.prototype, v = h ? WeakSet.prototype.has : null, E = typeof WeakRef == "function" && WeakRef.prototype, $ = E ? WeakRef.prototype.deref : null, j = Boolean.prototype.valueOf, I = Object.prototype.toString, b = Function.prototype.toString, U = String.prototype.match, A = String.prototype.slice, F = String.prototype.replace, z = String.prototype.toUpperCase, K = String.prototype.toLowerCase, D = RegExp.prototype.test, O = Array.prototype.concat, Q = Array.prototype.join, Y = Array.prototype.slice, er = Math.floor, G = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, H = Object.getOwnPropertySymbols, or = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, V = typeof Symbol == "function" && typeof Symbol.iterator == "object", nr = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === V || !0) ? Symbol.toStringTag : null, dr = Object.prototype.propertyIsEnumerable, N = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(d) { - return d.__proto__; - } : null); - function P(d, m) { - if (d === 1 / 0 || d === -1 / 0 || d !== d || d && d > -1e3 && d < 1e3 || D.call(/e/, m)) - return m; - var yr = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g; - if (typeof d == "number") { - var p = d < 0 ? -er(-d) : er(d); - if (p !== d) { - var c = String(p), W = A.call(m, c.length + 1); - return F.call(c, yr, "$&_") + "." + F.call(F.call(W, /([0-9]{3})/g, "$&_"), /_$/, ""); - } - } - return F.call(m, yr, "$&_"); - } - var R = hy, q = R.custom, M = S(q) ? q : null; - Fn = function d(m, yr, p, c) { - var W = yr || {}; - if (T(W, "quoteStyle") && W.quoteStyle !== "single" && W.quoteStyle !== "double") + double: '"', + single: "'" + }, ve = { + __proto__: null, + double: /(["\\])/g, + single: /(['\\])/g + }; + nt = function s(l, j, W, L) { + var x = j || {}; + if (F(x, "quoteStyle") && !F(be, x.quoteStyle)) throw new TypeError('option "quoteStyle" must be "single" or "double"'); - if (T(W, "maxStringLength") && (typeof W.maxStringLength == "number" ? W.maxStringLength < 0 && W.maxStringLength !== 1 / 0 : W.maxStringLength !== null)) + if (F(x, "maxStringLength") && (typeof x.maxStringLength == "number" ? x.maxStringLength < 0 && x.maxStringLength !== 1 / 0 : x.maxStringLength !== null)) throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`'); - var fr = T(W, "customInspect") ? W.customInspect : !0; - if (typeof fr != "boolean" && fr !== "symbol") + var de = F(x, "customInspect") ? x.customInspect : !0; + if (typeof de != "boolean" && de !== "symbol") throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`"); - if (T(W, "indent") && W.indent !== null && W.indent !== " " && !(parseInt(W.indent, 10) === W.indent && W.indent > 0)) + if (F(x, "indent") && x.indent !== null && x.indent !== " " && !(parseInt(x.indent, 10) === x.indent && x.indent > 0)) throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`'); - if (T(W, "numericSeparator") && typeof W.numericSeparator != "boolean") + if (F(x, "numericSeparator") && typeof x.numericSeparator != "boolean") throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`'); - var ur = W.numericSeparator; - if (typeof m > "u") + var Oe = x.numericSeparator; + if (typeof l > "u") return "undefined"; - if (m === null) + if (l === null) return "null"; - if (typeof m == "boolean") - return m ? "true" : "false"; - if (typeof m == "string") - return sr(m, W); - if (typeof m == "number") { - if (m === 0) - return 1 / 0 / m > 0 ? "0" : "-0"; - var tr = String(m); - return ur ? P(m, tr) : tr; - } - if (typeof m == "bigint") { - var Ar = String(m) + "n"; - return ur ? P(m, Ar) : Ar; - } - var Ir = typeof W.depth > "u" ? 5 : W.depth; - if (typeof p > "u" && (p = 0), p >= Ir && Ir > 0 && typeof m == "object") - return u(m) ? "[Array]" : "[Object]"; - var hr = le(W, p); - if (typeof c > "u") - c = []; - else if (ar(c, m) >= 0) + if (typeof l == "boolean") + return l ? "true" : "false"; + if (typeof l == "string") + return ce(l, x); + if (typeof l == "number") { + if (l === 0) + return 1 / 0 / l > 0 ? "0" : "-0"; + var te = String(l); + return Oe ? oe(l, te) : te; + } + if (typeof l == "bigint") { + var ge = String(l) + "n"; + return Oe ? oe(l, ge) : ge; + } + var ze = typeof x.depth > "u" ? 5 : x.depth; + if (typeof W > "u" && (W = 0), W >= ze && ze > 0 && typeof l == "object") + return M(l) ? "[Array]" : "[Object]"; + var Ee = ya(x, W); + if (typeof L > "u") + L = []; + else if (ie(L, l) >= 0) return "[Circular]"; - function mr(qr, ie, ve) { - if (ie && (c = Y.call(c), c.push(ie)), ve) { - var xr = { - depth: W.depth + function ae($e, _e, ha) { + if (_e && (L = I.call(L), L.push(_e)), ha) { + var en = { + depth: x.depth }; - return T(W, "quoteStyle") && (xr.quoteStyle = W.quoteStyle), d(qr, xr, p + 1, c); + return F(x, "quoteStyle") && (en.quoteStyle = x.quoteStyle), s($e, en, W + 1, L); } - return d(qr, W, p + 1, c); + return s($e, x, W + 1, L); } - if (typeof m == "function" && !L(m)) { - var ee = _(m), Br = re(m, mr); - return "[Function" + (ee ? ": " + ee : " (anonymous)") + "]" + (Br.length > 0 ? " { " + Q.call(Br, ", ") + " }" : ""); + if (typeof l == "function" && !B(l)) { + var zt = he(l), Vt = ke(l, ae); + return "[Function" + (zt ? ": " + zt : " (anonymous)") + "]" + (Vt.length > 0 ? " { " + k.call(Vt, ", ") + " }" : ""); } - if (S(m)) { - var Pr = V ? F.call(String(m), /^(Symbol\(.*\))_[^)]*$/, "$1") : or.call(m); - return typeof m == "object" && !V ? br(Pr) : Pr; + if (E(l)) { + var Jt = V ? b.call(String(l), /^(Symbol\(.*\))_[^)]*$/, "$1") : H.call(l); + return typeof l == "object" && !V ? pe(Jt) : Jt; } - if (vr(m)) { - for (var kr = "<" + K.call(String(m.nodeName)), te = m.attributes || [], Cr = 0; Cr < te.length; Cr++) - kr += " " + te[Cr].name + "=" + J(X(te[Cr].value), "double", W); - return kr += ">", m.childNodes && m.childNodes.length && (kr += "..."), kr += "", kr; + if (je(l)) { + for (var Me = "<" + Z.call(String(l.nodeName)), Ve = l.attributes || [], De = 0; De < Ve.length; De++) + Me += " " + Ve[De].name + "=" + h(m(Ve[De].value), "double", x); + return Me += ">", l.childNodes && l.childNodes.length && (Me += "..."), Me += "", Me; } - if (u(m)) { - if (m.length === 0) + if (M(l)) { + if (l.length === 0) return "[]"; - var Ur = re(m, mr); - return hr && !$r(Ur) ? "[" + Zr(Ur, hr) + "]" : "[ " + Q.call(Ur, ", ") + " ]"; - } - if (k(m)) { - var Gr = re(m, mr); - return !("cause" in Error.prototype) && "cause" in m && !dr.call(m, "cause") ? "{ [" + String(m) + "] " + Q.call(O.call("[cause]: " + mr(m.cause), Gr), ", ") + " }" : Gr.length === 0 ? "[" + String(m) + "]" : "{ [" + String(m) + "] " + Q.call(Gr, ", ") + " }"; - } - if (typeof m == "object" && fr) { - if (M && typeof m[M] == "function" && R) - return R(m, { depth: Ir - p }); - if (fr !== "symbol" && typeof m.inspect == "function") - return m.inspect(); - } - if (pr(m)) { - var Wr = []; - return a && a.call(m, function(qr, ie) { - Wr.push(mr(ie, m, !0) + " => " + mr(qr, m)); - }), Tr("Map", t.call(m), Wr, hr); - } - if (rr(m)) { - var ne = []; - return y && y.call(m, function(qr) { - ne.push(mr(qr, m)); - }), Tr("Set", o.call(m), ne, hr); - } - if (lr(m)) - return wr("WeakMap"); - if (cr(m)) - return wr("WeakSet"); - if (ir(m)) - return wr("WeakRef"); - if (w(m)) - return br(mr(Number(m))); - if (l(m)) - return br(mr(G.call(m))); - if (s(m)) - return br(j.call(m)); - if (C(m)) - return br(mr(String(m))); - if (typeof window < "u" && m === window) + var Je = ke(l, ae); + return Ee && !pa(Je) ? "[" + Ke(Je, Ee) + "]" : "[ " + k.call(Je, ", ") + " ]"; + } + if (C(l)) { + var Ye = ke(l, ae); + return !("cause" in Error.prototype) && "cause" in l && !Ie.call(l, "cause") ? "{ [" + String(l) + "] " + k.call(D.call("[cause]: " + ae(l.cause), Ye), ", ") + " }" : Ye.length === 0 ? "[" + String(l) + "]" : "{ [" + String(l) + "] " + k.call(Ye, ", ") + " }"; + } + if (typeof l == "object" && de) { + if (qe && typeof l[qe] == "function" && z) + return z(l, { depth: ze - W }); + if (de !== "symbol" && typeof l.inspect == "function") + return l.inspect(); + } + if (ue(l)) { + var Yt = []; + return o && o.call(l, function($e, _e) { + Yt.push(ae(_e, l, !0) + " => " + ae($e, l)); + }), Kt("Map", r.call(l), Yt, Ee); + } + if (se(l)) { + var Xt = []; + return a && a.call(l, function($e) { + Xt.push(ae($e, l)); + }), Kt("Set", u.call(l), Xt, Ee); + } + if (re(l)) + return Re("WeakMap"); + if (le(l)) + return Re("WeakSet"); + if (fe(l)) + return Re("WeakRef"); + if (q(l)) + return pe(ae(Number(l))); + if (J(l)) + return pe(ae(U.call(l))); + if (A(l)) + return pe(S.call(l)); + if (P(l)) + return pe(ae(String(l))); + if (typeof window < "u" && l === window) return "{ [object Window] }"; - if (m === ge) + if (typeof globalThis < "u" && l === globalThis || typeof Le < "u" && l === Le) return "{ [object globalThis] }"; - if (!x(m) && !L(m)) { - var Lr = re(m, mr), ce = N ? N(m) === Object.prototype : m instanceof Object || m.constructor === Object, oe = m instanceof Object ? "" : "null prototype", ae = !ce && nr && Object(m) === m && nr in m ? A.call(Z(m), 8, -1) : oe ? "Object" : "", Ee = ce || typeof m.constructor != "function" ? "" : m.constructor.name ? m.constructor.name + " " : "", Hr = Ee + (ae || oe ? "[" + Q.call(O.call([], ae || [], oe || []), ": ") + "] " : ""); - return Lr.length === 0 ? Hr + "{}" : hr ? Hr + "{" + Zr(Lr, hr) + "}" : Hr + "{ " + Q.call(Lr, ", ") + " }"; + if (!$(l) && !B(l)) { + var Xe = ke(l, ae), Zt = me ? me(l) === Object.prototype : l instanceof Object || l.constructor === Object, Ze = l instanceof Object ? "" : "null prototype", Qt = !Zt && K && Object(l) === l && K in l ? w.call(Q(l), 8, -1) : Ze ? "Object" : "", va = Zt || typeof l.constructor != "function" ? "" : l.constructor.name ? l.constructor.name + " " : "", Qe = va + (Qt || Ze ? "[" + k.call(D.call([], Qt || [], Ze || []), ": ") + "] " : ""); + return Xe.length === 0 ? Qe + "{}" : Ee ? Qe + "{" + Ke(Xe, Ee) + "}" : Qe + "{ " + k.call(Xe, ", ") + " }"; } - return String(m); + return String(l); }; - function J(d, m, yr) { - var p = (yr.quoteStyle || m) === "double" ? '"' : "'"; - return p + d + p; + function h(s, l, j) { + var W = j.quoteStyle || l, L = be[W]; + return L + s + L; } - function X(d) { - return F.call(String(d), /"/g, """); + function m(s) { + return b.call(String(s), /"/g, """); } - function u(d) { - return Z(d) === "[object Array]" && (!nr || !(typeof d == "object" && nr in d)); + function M(s) { + return Q(s) === "[object Array]" && (!K || !(typeof s == "object" && K in s)); } - function x(d) { - return Z(d) === "[object Date]" && (!nr || !(typeof d == "object" && nr in d)); + function $(s) { + return Q(s) === "[object Date]" && (!K || !(typeof s == "object" && K in s)); } - function L(d) { - return Z(d) === "[object RegExp]" && (!nr || !(typeof d == "object" && nr in d)); + function B(s) { + return Q(s) === "[object RegExp]" && (!K || !(typeof s == "object" && K in s)); } - function k(d) { - return Z(d) === "[object Error]" && (!nr || !(typeof d == "object" && nr in d)); + function C(s) { + return Q(s) === "[object Error]" && (!K || !(typeof s == "object" && K in s)); } - function C(d) { - return Z(d) === "[object String]" && (!nr || !(typeof d == "object" && nr in d)); + function P(s) { + return Q(s) === "[object String]" && (!K || !(typeof s == "object" && K in s)); } - function w(d) { - return Z(d) === "[object Number]" && (!nr || !(typeof d == "object" && nr in d)); + function q(s) { + return Q(s) === "[object Number]" && (!K || !(typeof s == "object" && K in s)); } - function s(d) { - return Z(d) === "[object Boolean]" && (!nr || !(typeof d == "object" && nr in d)); + function A(s) { + return Q(s) === "[object Boolean]" && (!K || !(typeof s == "object" && K in s)); } - function S(d) { + function E(s) { if (V) - return d && typeof d == "object" && d instanceof Symbol; - if (typeof d == "symbol") + return s && typeof s == "object" && s instanceof Symbol; + if (typeof s == "symbol") return !0; - if (!d || typeof d != "object" || !or) + if (!s || typeof s != "object" || !H) return !1; try { - return or.call(d), !0; + return H.call(s), !0; } catch { } return !1; } - function l(d) { - if (!d || typeof d != "object" || !G) + function J(s) { + if (!s || typeof s != "object" || !U) return !1; try { - return G.call(d), !0; + return U.call(s), !0; } catch { } return !1; } - var B = Object.prototype.hasOwnProperty || function(d) { - return d in this; + var Y = Object.prototype.hasOwnProperty || function(s) { + return s in this; }; - function T(d, m) { - return B.call(d, m); - } - function Z(d) { - return I.call(d); - } - function _(d) { - if (d.name) - return d.name; - var m = U.call(b.call(d), /^function\s*([\w$]+)/); - return m ? m[1] : null; - } - function ar(d, m) { - if (d.indexOf) - return d.indexOf(m); - for (var yr = 0, p = d.length; yr < p; yr++) - if (d[yr] === m) - return yr; + function F(s, l) { + return Y.call(s, l); + } + function Q(s) { + return R.call(s); + } + function he(s) { + if (s.name) + return s.name; + var l = O.call(d.call(s), /^function\s*([\w$]+)/); + return l ? l[1] : null; + } + function ie(s, l) { + if (s.indexOf) + return s.indexOf(l); + for (var j = 0, W = s.length; j < W; j++) + if (s[j] === l) + return j; return -1; } - function pr(d) { - if (!t || !d || typeof d != "object") + function ue(s) { + if (!r || !s || typeof s != "object") return !1; try { - t.call(d); + r.call(s); try { - o.call(d); + u.call(s); } catch { return !0; } - return d instanceof Map; + return s instanceof Map; } catch { } return !1; } - function lr(d) { - if (!g || !d || typeof d != "object") + function re(s) { + if (!c || !s || typeof s != "object") return !1; try { - g.call(d, g); + c.call(s, c); try { - v.call(d, v); + p.call(s, p); } catch { return !0; } - return d instanceof WeakMap; + return s instanceof WeakMap; } catch { } return !1; } - function ir(d) { - if (!$ || !d || typeof d != "object") + function fe(s) { + if (!g || !s || typeof s != "object") return !1; try { - return $.call(d), !0; + return g.call(s), !0; } catch { } return !1; } - function rr(d) { - if (!o || !d || typeof d != "object") + function se(s) { + if (!u || !s || typeof s != "object") return !1; try { - o.call(d); + u.call(s); try { - t.call(d); + r.call(s); } catch { return !0; } - return d instanceof Set; + return s instanceof Set; } catch { } return !1; } - function cr(d) { - if (!v || !d || typeof d != "object") + function le(s) { + if (!p || !s || typeof s != "object") return !1; try { - v.call(d, v); + p.call(s, p); try { - g.call(d, g); + c.call(s, c); } catch { return !0; } - return d instanceof WeakSet; + return s instanceof WeakSet; } catch { } return !1; } - function vr(d) { - return !d || typeof d != "object" ? !1 : typeof HTMLElement < "u" && d instanceof HTMLElement ? !0 : typeof d.nodeName == "string" && typeof d.getAttribute == "function"; + function je(s) { + return !s || typeof s != "object" ? !1 : typeof HTMLElement < "u" && s instanceof HTMLElement ? !0 : typeof s.nodeName == "string" && typeof s.getAttribute == "function"; } - function sr(d, m) { - if (d.length > m.maxStringLength) { - var yr = d.length - m.maxStringLength, p = "... " + yr + " more character" + (yr > 1 ? "s" : ""); - return sr(A.call(d, 0, m.maxStringLength), m) + p; + function ce(s, l) { + if (s.length > l.maxStringLength) { + var j = s.length - l.maxStringLength, W = "... " + j + " more character" + (j > 1 ? "s" : ""); + return ce(w.call(s, 0, l.maxStringLength), l) + W; } - var c = F.call(F.call(d, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, Qr); - return J(c, "single", m); + var L = ve[l.quoteStyle || "single"]; + L.lastIndex = 0; + var x = b.call(b.call(s, L, "\\$1"), /[\x00-\x1f]/g, xe); + return h(x, "single", l); } - function Qr(d) { - var m = d.charCodeAt(0), yr = { + function xe(s) { + var l = s.charCodeAt(0), j = { 8: "b", 9: "t", 10: "n", 12: "f", 13: "r" - }[m]; - return yr ? "\\" + yr : "\\x" + (m < 16 ? "0" : "") + z.call(m.toString(16)); + }[l]; + return j ? "\\" + j : "\\x" + (l < 16 ? "0" : "") + T.call(l.toString(16)); } - function br(d) { - return "Object(" + d + ")"; + function pe(s) { + return "Object(" + s + ")"; } - function wr(d) { - return d + " { ? }"; + function Re(s) { + return s + " { ? }"; } - function Tr(d, m, yr, p) { - var c = p ? Zr(yr, p) : Q.call(yr, ", "); - return d + " (" + m + ") {" + c + "}"; + function Kt(s, l, j, W) { + var L = W ? Ke(j, W) : k.call(j, ", "); + return s + " (" + l + ") {" + L + "}"; } - function $r(d) { - for (var m = 0; m < d.length; m++) - if (ar(d[m], ` + function pa(s) { + for (var l = 0; l < s.length; l++) + if (ie(s[l], ` `) >= 0) return !1; return !0; } - function le(d, m) { - var yr; - if (d.indent === " ") - yr = " "; - else if (typeof d.indent == "number" && d.indent > 0) - yr = Q.call(Array(d.indent + 1), " "); + function ya(s, l) { + var j; + if (s.indent === " ") + j = " "; + else if (typeof s.indent == "number" && s.indent > 0) + j = k.call(Array(s.indent + 1), " "); else return null; return { - base: yr, - prev: Q.call(Array(m + 1), yr) + base: j, + prev: k.call(Array(l + 1), j) }; } - function Zr(d, m) { - if (d.length === 0) + function Ke(s, l) { + if (s.length === 0) return ""; - var yr = ` -` + m.prev + m.base; - return yr + Q.call(d, "," + yr) + ` -` + m.prev; - } - function re(d, m) { - var yr = u(d), p = []; - if (yr) { - p.length = d.length; - for (var c = 0; c < d.length; c++) - p[c] = T(d, c) ? m(d[c], d) : ""; - } - var W = typeof H == "function" ? H(d) : [], fr; + var j = ` +` + l.prev + l.base; + return j + k.call(s, "," + j) + ` +` + l.prev; + } + function ke(s, l) { + var j = M(s), W = []; + if (j) { + W.length = s.length; + for (var L = 0; L < s.length; L++) + W[L] = F(s, L) ? l(s[L], s) : ""; + } + var x = typeof N == "function" ? N(s) : [], de; if (V) { - fr = {}; - for (var ur = 0; ur < W.length; ur++) - fr["$" + W[ur]] = W[ur]; - } - for (var tr in d) - T(d, tr) && (yr && String(Number(tr)) === tr && tr < d.length || V && fr["$" + tr] instanceof Symbol || (D.call(/[^\w$]/, tr) ? p.push(m(tr, d) + ": " + m(d[tr], d)) : p.push(tr + ": " + m(d[tr], d)))); - if (typeof H == "function") - for (var Ar = 0; Ar < W.length; Ar++) - dr.call(d, W[Ar]) && p.push("[" + m(W[Ar]) + "]: " + m(d[W[Ar]], d)); - return p; - } - return Fn; -} -var Bn, hi; -function Ff() { - if (hi) return Bn; - hi = 1; - var r = /* @__PURE__ */ Vr(), e = se(), t = /* @__PURE__ */ Rf(), a = /* @__PURE__ */ gr(), n = r("%WeakMap%", !0), i = r("%Map%", !0), o = e("WeakMap.prototype.get", !0), y = e("WeakMap.prototype.set", !0), f = e("WeakMap.prototype.has", !0), g = e("Map.prototype.get", !0), h = e("Map.prototype.set", !0), v = e("Map.prototype.has", !0), E = function(b, U) { - for (var A = b, F; (F = A.next) !== null; A = F) - if (F.key === U) - return A.next = F.next, F.next = /** @type {NonNullable} */ - b.next, b.next = F, F; - }, $ = function(b, U) { - var A = E(b, U); - return A && A.value; - }, j = function(b, U, A) { - var F = E(b, U); - F ? F.value = A : b.next = /** @type {import('.').ListNode} */ + de = {}; + for (var Oe = 0; Oe < x.length; Oe++) + de["$" + x[Oe]] = x[Oe]; + } + for (var te in s) + F(s, te) && (j && String(Number(te)) === te && te < s.length || V && de["$" + te] instanceof Symbol || (G.call(/[^\w$]/, te) ? W.push(l(te, s) + ": " + l(s[te], s)) : W.push(te + ": " + l(s[te], s)))); + if (typeof N == "function") + for (var ge = 0; ge < x.length; ge++) + Ie.call(s, x[ge]) && W.push("[" + l(x[ge]) + "]: " + l(s[x[ge]], s)); + return W; + } + return nt; +} +var ot, io; +function Va() { + if (io) return ot; + io = 1; + var t = /* @__PURE__ */ Ge(), e = /* @__PURE__ */ ne(), r = function(a, f, c) { + for (var v = a, p; (p = v.next) != null; v = p) + if (p.key === f) + return v.next = p.next, c || (p.next = /** @type {NonNullable} */ + a.next, a.next = p), p; + }, o = function(a, f) { + if (a) { + var c = r(a, f); + return c && c.value; + } + }, n = function(a, f, c) { + var v = r(a, f); + v ? v.value = c : a.next = /** @type {import('./list.d.ts').ListNode} */ { // eslint-disable-line no-param-reassign, no-extra-parens - key: U, - next: b.next, - value: A + key: f, + next: a.next, + value: c }; - }, I = function(b, U) { - return !!E(b, U); + }, i = function(a, f) { + return a ? !!r(a, f) : !1; + }, u = function(a, f) { + if (a) + return r(a, f, !0); }; - return Bn = function() { - var U, A, F, z = { - assert: function(K) { - if (!z.has(K)) - throw new a("Side channel does not contain " + t(K)); + return ot = function() { + var f, c = { + assert: function(v) { + if (!c.has(v)) + throw new e("Side channel does not contain " + t(v)); }, - get: function(K) { - if (n && K && (typeof K == "object" || typeof K == "function")) { - if (U) - return o(U, K); - } else if (i) { - if (A) - return g(A, K); - } else if (F) - return $(F, K); + delete: function(v) { + var p = f && f.next, y = u(f, v); + return y && p && p === y && (f = void 0), !!y; + }, + get: function(v) { + return o(f, v); + }, + has: function(v) { + return i(f, v); + }, + set: function(v, p) { + f || (f = { + next: void 0 + }), n( + /** @type {NonNullable} */ + f, + v, + p + ); + } + }; + return c; + }, ot; +} +var at, uo; +function ta() { + if (uo) return at; + uo = 1; + var t = /* @__PURE__ */ ye(), e = /* @__PURE__ */ ee(), r = /* @__PURE__ */ Ge(), o = /* @__PURE__ */ ne(), n = t("%Map%", !0), i = e("Map.prototype.get", !0), u = e("Map.prototype.set", !0), a = e("Map.prototype.has", !0), f = e("Map.prototype.delete", !0), c = e("Map.prototype.size", !0); + return at = !!n && /** @type {Exclude} */ + function() { + var p, y = { + assert: function(g) { + if (!y.has(g)) + throw new o("Side channel does not contain " + r(g)); }, - has: function(K) { - if (n && K && (typeof K == "object" || typeof K == "function")) { - if (U) - return f(U, K); - } else if (i) { - if (A) - return v(A, K); - } else if (F) - return I(F, K); + delete: function(g) { + if (p) { + var S = f(p, g); + return c(p) === 0 && (p = void 0), S; + } return !1; }, - set: function(K, D) { - n && K && (typeof K == "object" || typeof K == "function") ? (U || (U = new n()), y(U, K, D)) : i ? (A || (A = new i()), h(A, K, D)) : (F || (F = { key: {}, next: null }), j(F, K, D)); + get: function(g) { + if (p) + return i(p, g); + }, + has: function(g) { + return p ? a(p, g) : !1; + }, + set: function(g, S) { + p || (p = new n()), u(p, g, S); } }; - return z; - }, Bn; -} -var Un, mi; -function Oy() { - if (mi) return Un; - mi = 1; - var r = function(e) { - return e !== e; - }; - return Un = function(t, a) { - return t === 0 && a === 0 ? 1 / t === 1 / a : !!(t === a || r(t) && r(a)); - }, Un; -} -var qn, Si; -function Iy() { - if (Si) return qn; - Si = 1; - var r = Oy(); - return qn = function() { - return typeof Object.is == "function" ? Object.is : r; - }, qn; + return y; + }, at; } -var xn, Ai; -function Bf() { - if (Ai) return xn; - Ai = 1; - var r = Iy(), e = Jr(); - return xn = function() { - var a = r(); - return e(Object, { is: a }, { - is: function() { - return Object.is !== a; +var it, fo; +function Ja() { + if (fo) return it; + fo = 1; + var t = /* @__PURE__ */ ye(), e = /* @__PURE__ */ ee(), r = /* @__PURE__ */ Ge(), o = ta(), n = /* @__PURE__ */ ne(), i = t("%WeakMap%", !0), u = e("WeakMap.prototype.get", !0), a = e("WeakMap.prototype.set", !0), f = e("WeakMap.prototype.has", !0), c = e("WeakMap.prototype.delete", !0); + return it = i ? ( + /** @type {Exclude} */ + function() { + var p, y, g = { + assert: function(S) { + if (!g.has(S)) + throw new n("Side channel does not contain " + r(S)); + }, + delete: function(S) { + if (i && S && (typeof S == "object" || typeof S == "function")) { + if (p) + return c(p, S); + } else if (o && y) + return y.delete(S); + return !1; + }, + get: function(S) { + return i && S && (typeof S == "object" || typeof S == "function") && p ? u(p, S) : y && y.get(S); + }, + has: function(S) { + return i && S && (typeof S == "object" || typeof S == "function") && p ? f(p, S) : !!y && y.has(S); + }, + set: function(S, R) { + i && S && (typeof S == "object" || typeof S == "function") ? (p || (p = new i()), a(p, S, R)) : o && (y || (y = o()), y.set(S, R)); + } + }; + return g; + } + ) : o, it; +} +var ut, so; +function na() { + if (so) return ut; + so = 1; + var t = /* @__PURE__ */ ne(), e = /* @__PURE__ */ Ge(), r = Va(), o = ta(), n = Ja(), i = n || o || r; + return ut = function() { + var a, f = { + assert: function(c) { + if (!f.has(c)) + throw new t("Side channel does not contain " + e(c)); + }, + delete: function(c) { + return !!a && a.delete(c); + }, + get: function(c) { + return a && a.get(c); + }, + has: function(c) { + return !!a && a.has(c); + }, + set: function(c, v) { + a || (a = i()), a.set(c, v); } - }), a; - }, xn; -} -var jn, bi; -function Uf() { - if (bi) return jn; - bi = 1; - var r = Jr(), e = sy(), t = Oy(), a = Iy(), n = Bf(), i = e(a(), Object); - return r(i, { - getPolyfill: a, - implementation: t, - shim: n - }), jn = i, jn; -} -var Mn = { exports: {} }, _n, Pi; -function qf() { - return Pi || (Pi = 1, _n = function() { - if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") - return !1; - if (typeof Symbol.iterator == "symbol") - return !0; - var e = {}, t = Symbol("test"), a = Object(t); - if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(a) !== "[object Symbol]") - return !1; - var n = 42; - e[t] = n; - for (t in e) - return !1; - if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0) - return !1; - var i = Object.getOwnPropertySymbols(e); - if (i.length !== 1 || i[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t)) - return !1; - if (typeof Object.getOwnPropertyDescriptor == "function") { - var o = Object.getOwnPropertyDescriptor(e, t); - if (o.value !== n || o.enumerable !== !0) - return !1; - } - return !0; - }), _n; -} -var Dn, Oi; -function xf() { - if (Oi) return Dn; - Oi = 1; - var r = typeof Symbol < "u" && Symbol, e = qf(); - return Dn = function() { - return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e(); - }, Dn; + }; + return f; + }, ut; } -var Nn, Ii; -function jf() { - if (Ii) return Nn; - Ii = 1; - var r, e = /* @__PURE__ */ Rr(), t = /* @__PURE__ */ jr(), a = /* @__PURE__ */ Mr(), n = /* @__PURE__ */ _r(), i = /* @__PURE__ */ Er(), o = /* @__PURE__ */ gr(), y = /* @__PURE__ */ Dr(), f = Function, g = function(N) { - try { - return f('"use strict"; return (' + N + ").constructor;")(); - } catch { - } - }, h = Object.getOwnPropertyDescriptor; - if (h) - try { - h({}, ""); - } catch { - h = null; - } - var v = function() { - throw new o(); - }, E = h ? function() { - try { - return arguments.callee, v; - } catch { - try { - return h(arguments, "callee").get; - } catch { - return v; - } - } - }() : v, $ = xf()(), j = /* @__PURE__ */ Be()(), I = Object.getPrototypeOf || (j ? function(N) { - return N.__proto__; - } : null), b = {}, U = typeof Uint8Array > "u" || !I ? r : I(Uint8Array), A = { - __proto__: null, - "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError, - "%Array%": Array, - "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer, - "%ArrayIteratorPrototype%": $ && I ? I([][Symbol.iterator]()) : r, - "%AsyncFromSyncIteratorPrototype%": r, - "%AsyncFunction%": b, - "%AsyncGenerator%": b, - "%AsyncGeneratorFunction%": b, - "%AsyncIteratorPrototype%": b, - "%Atomics%": typeof Atomics > "u" ? r : Atomics, - "%BigInt%": typeof BigInt > "u" ? r : BigInt, - "%BigInt64Array%": typeof BigInt64Array > "u" ? r : BigInt64Array, - "%BigUint64Array%": typeof BigUint64Array > "u" ? r : BigUint64Array, - "%Boolean%": Boolean, - "%DataView%": typeof DataView > "u" ? r : DataView, - "%Date%": Date, - "%decodeURI%": decodeURI, - "%decodeURIComponent%": decodeURIComponent, - "%encodeURI%": encodeURI, - "%encodeURIComponent%": encodeURIComponent, - "%Error%": e, - "%eval%": eval, - // eslint-disable-line no-eval - "%EvalError%": t, - "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array, - "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array, - "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry, - "%Function%": f, - "%GeneratorFunction%": b, - "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array, - "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array, - "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array, - "%isFinite%": isFinite, - "%isNaN%": isNaN, - "%IteratorPrototype%": $ && I ? I(I([][Symbol.iterator]())) : r, - "%JSON%": typeof JSON == "object" ? JSON : r, - "%Map%": typeof Map > "u" ? r : Map, - "%MapIteratorPrototype%": typeof Map > "u" || !$ || !I ? r : I((/* @__PURE__ */ new Map())[Symbol.iterator]()), - "%Math%": Math, - "%Number%": Number, - "%Object%": Object, - "%parseFloat%": parseFloat, - "%parseInt%": parseInt, - "%Promise%": typeof Promise > "u" ? r : Promise, - "%Proxy%": typeof Proxy > "u" ? r : Proxy, - "%RangeError%": a, - "%ReferenceError%": n, - "%Reflect%": typeof Reflect > "u" ? r : Reflect, - "%RegExp%": RegExp, - "%Set%": typeof Set > "u" ? r : Set, - "%SetIteratorPrototype%": typeof Set > "u" || !$ || !I ? r : I((/* @__PURE__ */ new Set())[Symbol.iterator]()), - "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer, - "%String%": String, - "%StringIteratorPrototype%": $ && I ? I(""[Symbol.iterator]()) : r, - "%Symbol%": $ ? Symbol : r, - "%SyntaxError%": i, - "%ThrowTypeError%": E, - "%TypedArray%": U, - "%TypeError%": o, - "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array, - "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray, - "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array, - "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array, - "%URIError%": y, - "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap, - "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef, - "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet - }; - if (I) - try { - null.error; - } catch (N) { - var F = I(I(N)); - A["%Error.prototype%"] = F; - } - var z = function N(P) { - var R; - if (P === "%AsyncFunction%") - R = g("async function () {}"); - else if (P === "%GeneratorFunction%") - R = g("function* () {}"); - else if (P === "%AsyncGeneratorFunction%") - R = g("async function* () {}"); - else if (P === "%AsyncGenerator%") { - var q = N("%AsyncGeneratorFunction%"); - q && (R = q.prototype); - } else if (P === "%AsyncIteratorPrototype%") { - var M = N("%AsyncGenerator%"); - M && I && (R = I(M.prototype)); - } - return A[P] = R, R; - }, K = { - __proto__: null, - "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], - "%ArrayPrototype%": ["Array", "prototype"], - "%ArrayProto_entries%": ["Array", "prototype", "entries"], - "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], - "%ArrayProto_keys%": ["Array", "prototype", "keys"], - "%ArrayProto_values%": ["Array", "prototype", "values"], - "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], - "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], - "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], - "%BooleanPrototype%": ["Boolean", "prototype"], - "%DataViewPrototype%": ["DataView", "prototype"], - "%DatePrototype%": ["Date", "prototype"], - "%ErrorPrototype%": ["Error", "prototype"], - "%EvalErrorPrototype%": ["EvalError", "prototype"], - "%Float32ArrayPrototype%": ["Float32Array", "prototype"], - "%Float64ArrayPrototype%": ["Float64Array", "prototype"], - "%FunctionPrototype%": ["Function", "prototype"], - "%Generator%": ["GeneratorFunction", "prototype"], - "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], - "%Int8ArrayPrototype%": ["Int8Array", "prototype"], - "%Int16ArrayPrototype%": ["Int16Array", "prototype"], - "%Int32ArrayPrototype%": ["Int32Array", "prototype"], - "%JSONParse%": ["JSON", "parse"], - "%JSONStringify%": ["JSON", "stringify"], - "%MapPrototype%": ["Map", "prototype"], - "%NumberPrototype%": ["Number", "prototype"], - "%ObjectPrototype%": ["Object", "prototype"], - "%ObjProto_toString%": ["Object", "prototype", "toString"], - "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], - "%PromisePrototype%": ["Promise", "prototype"], - "%PromiseProto_then%": ["Promise", "prototype", "then"], - "%Promise_all%": ["Promise", "all"], - "%Promise_reject%": ["Promise", "reject"], - "%Promise_resolve%": ["Promise", "resolve"], - "%RangeErrorPrototype%": ["RangeError", "prototype"], - "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], - "%RegExpPrototype%": ["RegExp", "prototype"], - "%SetPrototype%": ["Set", "prototype"], - "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], - "%StringPrototype%": ["String", "prototype"], - "%SymbolPrototype%": ["Symbol", "prototype"], - "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], - "%TypedArrayPrototype%": ["TypedArray", "prototype"], - "%TypeErrorPrototype%": ["TypeError", "prototype"], - "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], - "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], - "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], - "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], - "%URIErrorPrototype%": ["URIError", "prototype"], - "%WeakMapPrototype%": ["WeakMap", "prototype"], - "%WeakSetPrototype%": ["WeakSet", "prototype"] - }, D = Or(), O = /* @__PURE__ */ Fr(), Q = D.call(Function.call, Array.prototype.concat), Y = D.call(Function.apply, Array.prototype.splice), er = D.call(Function.call, String.prototype.replace), G = D.call(Function.call, String.prototype.slice), H = D.call(Function.call, RegExp.prototype.exec), or = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, V = /\\(\\)?/g, nr = function(P) { - var R = G(P, 0, 1), q = G(P, -1); - if (R === "%" && q !== "%") - throw new i("invalid intrinsic syntax, expected closing `%`"); - if (q === "%" && R !== "%") - throw new i("invalid intrinsic syntax, expected opening `%`"); - var M = []; - return er(P, or, function(J, X, u, x) { - M[M.length] = u ? er(x, V, "$1") : X || J; - }), M; - }, dr = function(P, R) { - var q = P, M; - if (O(K, q) && (M = K[q], q = "%" + M[0] + "%"), O(A, q)) { - var J = A[q]; - if (J === b && (J = z(q)), typeof J > "u" && !R) - throw new o("intrinsic " + P + " exists, but is not available. Please file an issue!"); - return { - alias: M, - name: q, - value: J - }; +var ft, lo; +function Ya() { + if (lo) return ft; + lo = 1; + var t = /* @__PURE__ */ Gt(), e = na()(), r = /* @__PURE__ */ ne(), o = { + assert: function(n, i) { + if (!n || typeof n != "object" && typeof n != "function") + throw new r("`O` is not an object"); + if (typeof i != "string") + throw new r("`slot` must be a string"); + if (e.assert(n), !o.has(n, i)) + throw new r("`" + i + "` is not present on `O`"); + }, + get: function(n, i) { + if (!n || typeof n != "object" && typeof n != "function") + throw new r("`O` is not an object"); + if (typeof i != "string") + throw new r("`slot` must be a string"); + var u = e.get(n); + return u && u[ + /** @type {SaltedInternalSlot} */ + "$" + i + ]; + }, + has: function(n, i) { + if (!n || typeof n != "object" && typeof n != "function") + throw new r("`O` is not an object"); + if (typeof i != "string") + throw new r("`slot` must be a string"); + var u = e.get(n); + return !!u && t( + u, + /** @type {SaltedInternalSlot} */ + "$" + i + ); + }, + set: function(n, i, u) { + if (!n || typeof n != "object" && typeof n != "function") + throw new r("`O` is not an object"); + if (typeof i != "string") + throw new r("`slot` must be a string"); + var a = e.get(n); + a || (a = {}, e.set(n, a)), a[ + /** @type {SaltedInternalSlot} */ + "$" + i + ] = u; } - throw new i("intrinsic " + P + " does not exist!"); }; - return Nn = function(P, R) { - if (typeof P != "string" || P.length === 0) - throw new o("intrinsic name must be a non-empty string"); - if (arguments.length > 1 && typeof R != "boolean") - throw new o('"allowMissing" argument must be a boolean'); - if (H(/^%?[^%]*%?$/, P) === null) - throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); - var q = nr(P), M = q.length > 0 ? q[0] : "", J = dr("%" + M + "%", R), X = J.name, u = J.value, x = !1, L = J.alias; - L && (M = L[0], Y(q, Q([0, 1], L))); - for (var k = 1, C = !0; k < q.length; k += 1) { - var w = q[k], s = G(w, 0, 1), S = G(w, -1); - if ((s === '"' || s === "'" || s === "`" || S === '"' || S === "'" || S === "`") && s !== S) - throw new i("property names with quotes must have matching quotes"); - if ((w === "constructor" || !C) && (x = !0), M += "." + w, X = "%" + M + "%", O(A, X)) - u = A[X]; - else if (u != null) { - if (!(w in u)) { - if (!R) - throw new o("base intrinsic for " + P + " exists, but the property is not available."); - return; + return Object.freeze && Object.freeze(o), ft = o, ft; +} +var st, co; +function Xa() { + if (co) return st; + co = 1; + var t = Ya(), e = /* @__PURE__ */ Dt(), r = typeof StopIteration == "object" ? StopIteration : null; + return st = function(n) { + if (!r) + throw new e("this environment lacks StopIteration"); + t.set(n, "[[Done]]", !1); + var i = { + next: ( + /** @type {() => IteratorResult} */ + function() { + var a = ( + /** @type {typeof origIterator} */ + t.get(this, "[[Iterator]]") + ), f = !!t.get(a, "[[Done]]"); + try { + return { + done: f, + // eslint-disable-next-line no-extra-parens + value: f ? void 0 : ( + /** @type {T} */ + a.next() + ) + }; + } catch (c) { + if (t.set(a, "[[Done]]", !0), c !== r) + throw c; + return { + done: !0, + value: void 0 + }; + } } - if (h && k + 1 >= q.length) { - var l = h(u, w); - C = !!l, C && "get" in l && !("originalValue" in l.get) ? u = l.get : u = u[w]; - } else - C = O(u, w), u = u[w]; - C && !x && (A[X] = u); - } - } - return u; - }, Nn; -} -var Tn, Ei; -function Mf() { - if (Ei) return Tn; - Ei = 1; - var r = /* @__PURE__ */ jf(), e = r("%Object.defineProperty%", !0) || !1; - if (e) - try { - e({}, "a", { value: 1 }); - } catch { - e = !1; - } - return Tn = e, Tn; -} -var wi; -function _f() { - return wi || (wi = 1, function(r) { - var e = /* @__PURE__ */ he(), t = /* @__PURE__ */ Mf(), a = ye(), n = qe(); - r.exports = function(o) { - var y = a(arguments), f = o.length - (arguments.length - 1); - return e( - y, - 1 + (f > 0 ? f : 0), - !0 - ); - }, t ? t(r.exports, "apply", { value: n }) : r.exports.apply = n; - }(Mn)), Mn.exports; -} -var kn, $i; -function Ey() { - if ($i) return kn; - $i = 1; - var r = _f(), e = /* @__PURE__ */ Nr(), t = /* @__PURE__ */ dy(), a = t("%ArrayBuffer%", !0), n = e("ArrayBuffer.prototype.byteLength", !0), i = e("Object.prototype.toString"), o = !!a && !n && new a(0).slice, y = !!o && r(o); - return kn = n || y ? function(g) { - if (!g || typeof g != "object") - return !1; - try { - return n ? n(g) : y(g, 0), !0; - } catch { - return !1; - } - } : a ? function(g) { - return i(g) === "[object ArrayBuffer]"; - } : function(g) { - return !1; - }, kn; -} -var Cn, Ri; -function Df() { - if (Ri) return Cn; - Ri = 1; - var r = /* @__PURE__ */ Nr(), e = r("Date.prototype.getDay"), t = function(y) { - try { - return e(y), !0; - } catch { - return !1; - } - }, a = r("Object.prototype.toString"), n = "[object Date]", i = Xr()(); - return Cn = function(y) { - return typeof y != "object" || y === null ? !1 : i ? t(y) : a(y) === n; - }, Cn; -} -var Gn, Fi; -function Nf() { - if (Fi) return Gn; - Fi = 1; - var r = se(), e = Xr()(), t, a, n, i; - if (e) { - t = r("Object.prototype.hasOwnProperty"), a = r("RegExp.prototype.exec"), n = {}; - var o = function() { - throw n; + ) }; - i = { - toString: o, - valueOf: o - }, typeof Symbol.toPrimitive == "symbol" && (i[Symbol.toPrimitive] = o); - } - var y = r("Object.prototype.toString"), f = Object.getOwnPropertyDescriptor, g = "[object RegExp]"; - return Gn = e ? function(v) { - if (!v || typeof v != "object") - return !1; - var E = f(v, "lastIndex"), $ = E && t(E, "value"); - if (!$) - return !1; - try { - a(v, i); - } catch (j) { - return j === n; - } - } : function(v) { - return !v || typeof v != "object" && typeof v != "function" ? !1 : y(v) === g; - }, Gn; + return t.set(i, "[[Iterator]]", n), i; + }, st; +} +var lt, po; +function oa() { + if (po) return lt; + po = 1; + var t = {}.toString; + return lt = Array.isArray || function(e) { + return t.call(e) == "[object Array]"; + }, lt; } -var Wn, Bi; -function Tf() { - if (Bi) return Wn; - Bi = 1; - var r = se(), e = r("SharedArrayBuffer.prototype.byteLength", !0); - return Wn = e ? function(a) { - if (!a || typeof a != "object") - return !1; +var ct, yo; +function aa() { + if (yo) return ct; + yo = 1; + var t = /* @__PURE__ */ ee(), e = t("String.prototype.valueOf"), r = function(a) { try { return e(a), !0; } catch { return !1; } - } : function(a) { - return !1; - }, Wn; -} -var Ln, Ui; -function kf() { - if (Ui) return Ln; - Ui = 1; - var r = Number.prototype.toString, e = function(o) { - try { - return r.call(o), !0; - } catch { - return !1; - } - }, t = Object.prototype.toString, a = "[object Number]", n = Xr()(); - return Ln = function(o) { - return typeof o == "number" ? !0 : typeof o != "object" ? !1 : n ? e(o) : t.call(o) === a; - }, Ln; -} -var Hn, qi; -function Cf() { - if (qi) return Hn; - qi = 1; - var r = se(), e = r("Boolean.prototype.toString"), t = r("Object.prototype.toString"), a = function(y) { - try { - return e(y), !0; - } catch { - return !1; - } - }, n = "[object Boolean]", i = Xr()(); - return Hn = function(y) { - return typeof y == "boolean" ? !0 : y === null || typeof y != "object" ? !1 : i && Symbol.toStringTag in y ? a(y) : t(y) === n; - }, Hn; -} -var $e = { exports: {} }, xi; -function Gf() { - if (xi) return $e.exports; - xi = 1; - var r = Object.prototype.toString, e = ho()(); - if (e) { - var t = Symbol.prototype.toString, a = /^Symbol\(.*\)$/, n = function(o) { - return typeof o.valueOf() != "symbol" ? !1 : a.test(t.call(o)); - }; - $e.exports = function(o) { - if (typeof o == "symbol") - return !0; - if (r.call(o) !== "[object Symbol]") - return !1; - try { - return n(o); - } catch { - return !1; - } - }; - } else - $e.exports = function(o) { - return !1; - }; - return $e.exports; -} -var Re = { exports: {} }, Vn, ji; -function Wf() { - if (ji) return Vn; - ji = 1; - var r = typeof BigInt < "u" && BigInt; - return Vn = function() { - return typeof r == "function" && typeof BigInt == "function" && typeof r(42) == "bigint" && typeof BigInt(42) == "bigint"; - }, Vn; -} -var Mi; -function Lf() { - if (Mi) return Re.exports; - Mi = 1; - var r = Wf()(); - if (r) { - var e = BigInt.prototype.valueOf, t = function(n) { - try { - return e.call(n), !0; - } catch { - } - return !1; - }; - Re.exports = function(n) { - return n === null || typeof n > "u" || typeof n == "boolean" || typeof n == "string" || typeof n == "number" || typeof n == "symbol" || typeof n == "function" ? !1 : typeof n == "bigint" ? !0 : t(n); - }; - } else - Re.exports = function(n) { - return !1; - }; - return Re.exports; -} -var Jn, _i; -function Hf() { - if (_i) return Jn; - _i = 1; - var r = Ay(), e = kf(), t = Cf(), a = Gf(), n = Lf(); - return Jn = function(o) { - if (o == null || typeof o != "object" && typeof o != "function") - return null; - if (r(o)) - return "String"; - if (e(o)) - return "Number"; - if (t(o)) - return "Boolean"; - if (a(o)) - return "Symbol"; - if (n(o)) - return "BigInt"; - }, Jn; + }, o = t("Object.prototype.toString"), n = "[object String]", i = Pe()(); + return ct = function(a) { + return typeof a == "string" ? !0 : !a || typeof a != "object" ? !1 : i ? r(a) : o(a) === n; + }, ct; } -var zn, Di; -function Vf() { - if (Di) return zn; - Di = 1; - var r = typeof WeakMap == "function" && WeakMap.prototype ? WeakMap : null, e = typeof WeakSet == "function" && WeakSet.prototype ? WeakSet : null, t; - r || (t = function(o) { +var pt, vo; +function ia() { + if (vo) return pt; + vo = 1; + var t = typeof Map == "function" && Map.prototype ? Map : null, e = typeof Set == "function" && Set.prototype ? Set : null, r; + t || (r = function(u) { return !1; }); - var a = r ? r.prototype.has : null, n = e ? e.prototype.has : null; - return !t && !a && (t = function(o) { + var o = t ? Map.prototype.has : null, n = e ? Set.prototype.has : null; + return !r && !o && (r = function(u) { return !1; - }), zn = t || function(o) { - if (!o || typeof o != "object") + }), pt = r || function(u) { + if (!u || typeof u != "object") return !1; try { - if (a.call(o, a), n) + if (o.call(u), n) try { - n.call(o, n); + n.call(u); } catch { return !0; } - return o instanceof r; + return u instanceof t; } catch { } return !1; - }, zn; -} -var Fe = { exports: {} }, Kn, Ni; -function Jf() { - return Ni || (Ni = 1, Kn = Object.getOwnPropertyDescriptor), Kn; -} -var Yn, Ti; -function zf() { - if (Ti) return Yn; - Ti = 1; - var r = /* @__PURE__ */ Jf(); - if (r) - try { - r([], "length"); - } catch { - r = null; - } - return Yn = r, Yn; -} -var Xn, ki; -function Kf() { - if (ki) return Xn; - ki = 1; - var r = Object.defineProperty || !1; - if (r) - try { - r({}, "a", { value: 1 }); - } catch { - r = !1; - } - return Xn = r, Xn; -} -var Qn, Ci; -function Yf() { - return Ci || (Ci = 1, Qn = function() { - if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") - return !1; - if (typeof Symbol.iterator == "symbol") - return !0; - var e = {}, t = Symbol("test"), a = Object(t); - if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(a) !== "[object Symbol]") - return !1; - var n = 42; - e[t] = n; - for (var i in e) - return !1; - if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0) - return !1; - var o = Object.getOwnPropertySymbols(e); - if (o.length !== 1 || o[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t)) + }, pt; +} +var yt, ho; +function ua() { + if (ho) return yt; + ho = 1; + var t = typeof Map == "function" && Map.prototype ? Map : null, e = typeof Set == "function" && Set.prototype ? Set : null, r; + e || (r = function(u) { + return !1; + }); + var o = t ? Map.prototype.has : null, n = e ? Set.prototype.has : null; + return !r && !n && (r = function(u) { + return !1; + }), yt = r || function(u) { + if (!u || typeof u != "object") return !1; - if (typeof Object.getOwnPropertyDescriptor == "function") { - var y = ( - /** @type {PropertyDescriptor} */ - Object.getOwnPropertyDescriptor(e, t) - ); - if (y.value !== n || y.enumerable !== !0) - return !1; - } - return !0; - }), Qn; -} -var Zn, Gi; -function Xf() { - if (Gi) return Zn; - Gi = 1; - var r = typeof Symbol < "u" && Symbol, e = Yf(); - return Zn = function() { - return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e(); - }, Zn; -} -var ro, Wi; -function Qf() { - if (Wi) return ro; - Wi = 1; - var r, e = /* @__PURE__ */ Yr(), t = /* @__PURE__ */ Rr(), a = /* @__PURE__ */ jr(), n = /* @__PURE__ */ Mr(), i = /* @__PURE__ */ _r(), o = /* @__PURE__ */ Er(), y = /* @__PURE__ */ gr(), f = /* @__PURE__ */ Dr(), g = /* @__PURE__ */ me(), h = /* @__PURE__ */ Se(), v = /* @__PURE__ */ Ae(), E = /* @__PURE__ */ be(), $ = /* @__PURE__ */ Pe(), j = /* @__PURE__ */ Oe(), I = /* @__PURE__ */ Ie(), b = Function, U = function(w) { try { - return b('"use strict"; return (' + w + ").constructor;")(); + if (n.call(u), o) + try { + o.call(u); + } catch { + return !0; + } + return u instanceof e; } catch { } - }, A = /* @__PURE__ */ zf(), F = /* @__PURE__ */ Kf(), z = function() { - throw new y(); - }, K = A ? function() { - try { - return arguments.callee, z; - } catch { - try { - return A(arguments, "callee").get; - } catch { - return z; + return !1; + }, yt; +} +var go; +function Za() { + if (go) return Te.exports; + go = 1; + var t = /* @__PURE__ */ ra(), e = /* @__PURE__ */ Xa(); + if (Wt()() || He()()) { + var r = Symbol.iterator; + Te.exports = function(I) { + if (I != null && typeof I[r] < "u") + return I[r](); + if (t(I)) + return Array.prototype[r].call(I); + }; + } else { + var o = oa(), n = aa(), i = /* @__PURE__ */ ye(), u = i("%Map%", !0), a = i("%Set%", !0), f = Zo(), c = f("Array.prototype.push"), v = f("String.prototype.charCodeAt"), p = f("String.prototype.slice"), y = function(I, _) { + var U = I.length; + if (_ + 1 >= U) + return _ + 1; + var N = v(I, _); + if (N < 55296 || N > 56319) + return _ + 1; + var H = v(I, _ + 1); + return H < 56320 || H > 57343 ? _ + 1 : _ + 2; + }, g = function(I) { + var _ = 0; + return { + next: function() { + var N = _ >= I.length, H; + return N || (H = I[_], _ += 1), { + done: N, + value: H + }; + } + }; + }, S = function(I, _) { + if (o(I) || t(I)) + return g(I); + if (n(I)) { + var U = 0; + return { + next: function() { + var H = y(I, U), V = p(I, U, H); + return U = H, { + done: H > I.length, + value: V + }; + } + }; } + if (_ && typeof I["_es6-shim iterator_"] < "u") + return I["_es6-shim iterator_"](); + }; + if (!u && !a) + Te.exports = function(I) { + if (I != null) + return S(I, !0); + }; + else { + var R = /* @__PURE__ */ ia(), d = /* @__PURE__ */ ua(), O = f("Map.prototype.forEach", !0), w = f("Set.prototype.forEach", !0); + if (typeof process > "u" || !process.versions || !process.versions.node) + var b = f("Map.prototype.iterator", !0), T = f("Set.prototype.iterator", !0); + var Z = f("Map.prototype.@@iterator", !0) || f("Map.prototype._es6-shim iterator_", !0), G = f("Set.prototype.@@iterator", !0) || f("Set.prototype._es6-shim iterator_", !0), D = function(I) { + if (R(I)) { + if (b) + return e(b(I)); + if (Z) + return Z(I); + if (O) { + var _ = []; + return O(I, function(N, H) { + c(_, [H, N]); + }), g(_); + } + } + if (d(I)) { + if (T) + return e(T(I)); + if (G) + return G(I); + if (w) { + var U = []; + return w(I, function(N) { + c(U, N); + }), g(U); + } + } + }; + Te.exports = function(I) { + return D(I) || S(I); + }; } - }() : z, D = Xf()(), O = ue(), Q = pe(), Y = fe(), er = Kr(), G = zr(), H = {}, or = typeof Uint8Array > "u" || !O ? r : O(Uint8Array), V = { - __proto__: null, - "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError, - "%Array%": Array, - "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer, - "%ArrayIteratorPrototype%": D && O ? O([][Symbol.iterator]()) : r, - "%AsyncFromSyncIteratorPrototype%": r, - "%AsyncFunction%": H, - "%AsyncGenerator%": H, - "%AsyncGeneratorFunction%": H, - "%AsyncIteratorPrototype%": H, - "%Atomics%": typeof Atomics > "u" ? r : Atomics, - "%BigInt%": typeof BigInt > "u" ? r : BigInt, - "%BigInt64Array%": typeof BigInt64Array > "u" ? r : BigInt64Array, - "%BigUint64Array%": typeof BigUint64Array > "u" ? r : BigUint64Array, - "%Boolean%": Boolean, - "%DataView%": typeof DataView > "u" ? r : DataView, - "%Date%": Date, - "%decodeURI%": decodeURI, - "%decodeURIComponent%": decodeURIComponent, - "%encodeURI%": encodeURI, - "%encodeURIComponent%": encodeURIComponent, - "%Error%": t, - "%eval%": eval, - // eslint-disable-line no-eval - "%EvalError%": a, - "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array, - "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array, - "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry, - "%Function%": b, - "%GeneratorFunction%": H, - "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array, - "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array, - "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array, - "%isFinite%": isFinite, - "%isNaN%": isNaN, - "%IteratorPrototype%": D && O ? O(O([][Symbol.iterator]())) : r, - "%JSON%": typeof JSON == "object" ? JSON : r, - "%Map%": typeof Map > "u" ? r : Map, - "%MapIteratorPrototype%": typeof Map > "u" || !D || !O ? r : O((/* @__PURE__ */ new Map())[Symbol.iterator]()), - "%Math%": Math, - "%Number%": Number, - "%Object%": e, - "%Object.getOwnPropertyDescriptor%": A, - "%parseFloat%": parseFloat, - "%parseInt%": parseInt, - "%Promise%": typeof Promise > "u" ? r : Promise, - "%Proxy%": typeof Proxy > "u" ? r : Proxy, - "%RangeError%": n, - "%ReferenceError%": i, - "%Reflect%": typeof Reflect > "u" ? r : Reflect, - "%RegExp%": RegExp, - "%Set%": typeof Set > "u" ? r : Set, - "%SetIteratorPrototype%": typeof Set > "u" || !D || !O ? r : O((/* @__PURE__ */ new Set())[Symbol.iterator]()), - "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer, - "%String%": String, - "%StringIteratorPrototype%": D && O ? O(""[Symbol.iterator]()) : r, - "%Symbol%": D ? Symbol : r, - "%SyntaxError%": o, - "%ThrowTypeError%": K, - "%TypedArray%": or, - "%TypeError%": y, - "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array, - "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray, - "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array, - "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array, - "%URIError%": f, - "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap, - "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef, - "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet, - "%Function.prototype.call%": G, - "%Function.prototype.apply%": er, - "%Object.defineProperty%": F, - "%Object.getPrototypeOf%": Q, - "%Math.abs%": g, - "%Math.floor%": h, - "%Math.max%": v, - "%Math.min%": E, - "%Math.pow%": $, - "%Math.round%": j, - "%Math.sign%": I, - "%Reflect.getPrototypeOf%": Y + } + return Te.exports; +} +var vt, mo; +function fa() { + if (mo) return vt; + mo = 1; + var t = function(e) { + return e !== e; }; - if (O) - try { - null.error; - } catch (w) { - var nr = O(O(w)); - V["%Error.prototype%"] = nr; - } - var dr = function w(s) { - var S; - if (s === "%AsyncFunction%") - S = U("async function () {}"); - else if (s === "%GeneratorFunction%") - S = U("function* () {}"); - else if (s === "%AsyncGeneratorFunction%") - S = U("async function* () {}"); - else if (s === "%AsyncGenerator%") { - var l = w("%AsyncGeneratorFunction%"); - l && (S = l.prototype); - } else if (s === "%AsyncIteratorPrototype%") { - var B = w("%AsyncGenerator%"); - B && O && (S = O(B.prototype)); - } - return V[s] = S, S; - }, N = { - __proto__: null, - "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], - "%ArrayPrototype%": ["Array", "prototype"], - "%ArrayProto_entries%": ["Array", "prototype", "entries"], - "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], - "%ArrayProto_keys%": ["Array", "prototype", "keys"], - "%ArrayProto_values%": ["Array", "prototype", "values"], - "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], - "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], - "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], - "%BooleanPrototype%": ["Boolean", "prototype"], - "%DataViewPrototype%": ["DataView", "prototype"], - "%DatePrototype%": ["Date", "prototype"], - "%ErrorPrototype%": ["Error", "prototype"], - "%EvalErrorPrototype%": ["EvalError", "prototype"], - "%Float32ArrayPrototype%": ["Float32Array", "prototype"], - "%Float64ArrayPrototype%": ["Float64Array", "prototype"], - "%FunctionPrototype%": ["Function", "prototype"], - "%Generator%": ["GeneratorFunction", "prototype"], - "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], - "%Int8ArrayPrototype%": ["Int8Array", "prototype"], - "%Int16ArrayPrototype%": ["Int16Array", "prototype"], - "%Int32ArrayPrototype%": ["Int32Array", "prototype"], - "%JSONParse%": ["JSON", "parse"], - "%JSONStringify%": ["JSON", "stringify"], - "%MapPrototype%": ["Map", "prototype"], - "%NumberPrototype%": ["Number", "prototype"], - "%ObjectPrototype%": ["Object", "prototype"], - "%ObjProto_toString%": ["Object", "prototype", "toString"], - "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], - "%PromisePrototype%": ["Promise", "prototype"], - "%PromiseProto_then%": ["Promise", "prototype", "then"], - "%Promise_all%": ["Promise", "all"], - "%Promise_reject%": ["Promise", "reject"], - "%Promise_resolve%": ["Promise", "resolve"], - "%RangeErrorPrototype%": ["RangeError", "prototype"], - "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], - "%RegExpPrototype%": ["RegExp", "prototype"], - "%SetPrototype%": ["Set", "prototype"], - "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], - "%StringPrototype%": ["String", "prototype"], - "%SymbolPrototype%": ["Symbol", "prototype"], - "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], - "%TypedArrayPrototype%": ["TypedArray", "prototype"], - "%TypeErrorPrototype%": ["TypeError", "prototype"], - "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], - "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], - "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], - "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], - "%URIErrorPrototype%": ["URIError", "prototype"], - "%WeakMapPrototype%": ["WeakMap", "prototype"], - "%WeakSetPrototype%": ["WeakSet", "prototype"] - }, P = Or(), R = /* @__PURE__ */ Fr(), q = P.call(G, Array.prototype.concat), M = P.call(er, Array.prototype.splice), J = P.call(G, String.prototype.replace), X = P.call(G, String.prototype.slice), u = P.call(G, RegExp.prototype.exec), x = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, L = /\\(\\)?/g, k = function(s) { - var S = X(s, 0, 1), l = X(s, -1); - if (S === "%" && l !== "%") - throw new o("invalid intrinsic syntax, expected closing `%`"); - if (l === "%" && S !== "%") - throw new o("invalid intrinsic syntax, expected opening `%`"); - var B = []; - return J(s, x, function(T, Z, _, ar) { - B[B.length] = _ ? J(ar, L, "$1") : Z || T; - }), B; - }, C = function(s, S) { - var l = s, B; - if (R(N, l) && (B = N[l], l = "%" + B[0] + "%"), R(V, l)) { - var T = V[l]; - if (T === H && (T = dr(l)), typeof T > "u" && !S) - throw new y("intrinsic " + s + " exists, but is not available. Please file an issue!"); - return { - alias: B, - name: l, - value: T - }; + return vt = function(r, o) { + return r === 0 && o === 0 ? 1 / r === 1 / o : !!(r === o || t(r) && t(o)); + }, vt; +} +var ht, So; +function sa() { + if (So) return ht; + So = 1; + var t = fa(); + return ht = function() { + return typeof Object.is == "function" ? Object.is : t; + }, ht; +} +var dt, bo; +function Qa() { + if (bo) return dt; + bo = 1; + var t = sa(), e = we(); + return dt = function() { + var o = t(); + return e(Object, { is: o }, { + is: function() { + return Object.is !== o; + } + }), o; + }, dt; +} +var gt, Oo; +function ei() { + if (Oo) return gt; + Oo = 1; + var t = we(), e = Be(), r = fa(), o = sa(), n = Qa(), i = e(o(), Object); + return t(i, { + getPolyfill: o, + implementation: r, + shim: n + }), gt = i, gt; +} +var mt, Ao; +function la() { + if (Ao) return mt; + Ao = 1; + var t = Be(), e = /* @__PURE__ */ ee(), r = /* @__PURE__ */ ye(), o = r("%ArrayBuffer%", !0), n = e("ArrayBuffer.prototype.byteLength", !0), i = e("Object.prototype.toString"), u = !!o && !n && new o(0).slice, a = !!u && t(u); + return mt = n || a ? function(c) { + if (!c || typeof c != "object") + return !1; + try { + return n ? n(c) : a(c, 0), !0; + } catch { + return !1; } - throw new o("intrinsic " + s + " does not exist!"); - }; - return ro = function(s, S) { - if (typeof s != "string" || s.length === 0) - throw new y("intrinsic name must be a non-empty string"); - if (arguments.length > 1 && typeof S != "boolean") - throw new y('"allowMissing" argument must be a boolean'); - if (u(/^%?[^%]*%?$/, s) === null) - throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); - var l = k(s), B = l.length > 0 ? l[0] : "", T = C("%" + B + "%", S), Z = T.name, _ = T.value, ar = !1, pr = T.alias; - pr && (B = pr[0], M(l, q([0, 1], pr))); - for (var lr = 1, ir = !0; lr < l.length; lr += 1) { - var rr = l[lr], cr = X(rr, 0, 1), vr = X(rr, -1); - if ((cr === '"' || cr === "'" || cr === "`" || vr === '"' || vr === "'" || vr === "`") && cr !== vr) - throw new o("property names with quotes must have matching quotes"); - if ((rr === "constructor" || !ir) && (ar = !0), B += "." + rr, Z = "%" + B + "%", R(V, Z)) - _ = V[Z]; - else if (_ != null) { - if (!(rr in _)) { - if (!S) - throw new y("base intrinsic for " + s + " exists, but the property is not available."); - return; - } - if (A && lr + 1 >= l.length) { - var sr = A(_, rr); - ir = !!sr, ir && "get" in sr && !("originalValue" in sr.get) ? _ = sr.get : _ = _[rr]; - } else - ir = R(_, rr), _ = _[rr]; - ir && !ar && (V[Z] = _); + } : o ? function(c) { + return i(c) === "[object ArrayBuffer]"; + } : function(c) { + return !1; + }, mt; +} +var St, wo; +function ri() { + if (wo) return St; + wo = 1; + var t = /* @__PURE__ */ ee(), e = t("Date.prototype.getDay"), r = function(a) { + try { + return e(a), !0; + } catch { + return !1; + } + }, o = t("Object.prototype.toString"), n = "[object Date]", i = Pe()(); + return St = function(a) { + return typeof a != "object" || a === null ? !1 : i ? r(a) : o(a) === n; + }, St; +} +var bt, Po; +function ca() { + if (Po) return bt; + Po = 1; + var t = /* @__PURE__ */ ee(), e = Pe()(), r = /* @__PURE__ */ Gt(), o = /* @__PURE__ */ Ae(), n; + if (e) { + var i = t("RegExp.prototype.exec"), u = {}, a = function() { + throw u; + }, f = { + toString: a, + valueOf: a + }; + typeof Symbol.toPrimitive == "symbol" && (f[Symbol.toPrimitive] = a), n = function(y) { + if (!y || typeof y != "object") + return !1; + var g = ( + /** @type {NonNullable} */ + o( + /** @type {{ lastIndex?: unknown }} */ + y, + "lastIndex" + ) + ), S = g && r(g, "value"); + if (!S) + return !1; + try { + i( + y, + /** @type {string} */ + /** @type {unknown} */ + f + ); + } catch (R) { + return R === u; + } + }; + } else { + var c = t("Object.prototype.toString"), v = "[object RegExp]"; + n = function(y) { + return !y || typeof y != "object" && typeof y != "function" ? !1 : c(y) === v; + }; + } + return bt = n, bt; +} +var Ot, Io; +function ti() { + if (Io) return Ot; + Io = 1; + var t = /* @__PURE__ */ ee(), e = t("SharedArrayBuffer.prototype.byteLength", !0); + return Ot = e ? function(o) { + if (!o || typeof o != "object") + return !1; + try { + return e(o), !0; + } catch { + return !1; + } + } : function(o) { + return !1; + }, Ot; +} +var At, qo; +function ni() { + if (qo) return At; + qo = 1; + var t = /* @__PURE__ */ ee(), e = t("Number.prototype.toString"), r = function(a) { + try { + return e(a), !0; + } catch { + return !1; + } + }, o = t("Object.prototype.toString"), n = "[object Number]", i = Pe()(); + return At = function(a) { + return typeof a == "number" ? !0 : !a || typeof a != "object" ? !1 : i ? r(a) : o(a) === n; + }, At; +} +var wt, Ro; +function oi() { + if (Ro) return wt; + Ro = 1; + var t = /* @__PURE__ */ ee(), e = t("Boolean.prototype.toString"), r = t("Object.prototype.toString"), o = function(a) { + try { + return e(a), !0; + } catch { + return !1; + } + }, n = "[object Boolean]", i = Pe()(); + return wt = function(a) { + return typeof a == "boolean" ? !0 : a === null || typeof a != "object" ? !1 : i && Symbol.toStringTag in a ? o(a) : r(a) === n; + }, wt; +} +var Fe = { exports: {} }, Pt, Eo; +function ai() { + if (Eo) return Pt; + Eo = 1; + var t = /* @__PURE__ */ ee(), e = ca(), r = t("RegExp.prototype.exec"), o = /* @__PURE__ */ ne(); + return Pt = function(i) { + if (!e(i)) + throw new o("`regex` must be a RegExp"); + return function(a) { + return r(i, a) !== null; + }; + }, Pt; +} +var $o; +function ii() { + if ($o) return Fe.exports; + $o = 1; + var t = /* @__PURE__ */ ee(), e = t("Object.prototype.toString"), r = Wt()(), o = /* @__PURE__ */ ai(); + if (r) { + var n = t("Symbol.prototype.toString"), i = o(/^Symbol\(.*\)$/), u = function(f) { + return typeof f.valueOf() != "symbol" ? !1 : i(n(f)); + }; + Fe.exports = function(f) { + if (typeof f == "symbol") + return !0; + if (!f || typeof f != "object" || e(f) !== "[object Symbol]") + return !1; + try { + return u(f); + } catch { + return !1; } + }; + } else + Fe.exports = function(f) { + return !1; + }; + return Fe.exports; +} +var Ne = { exports: {} }, It, Bo; +function ui() { + if (Bo) return It; + Bo = 1; + var t = typeof BigInt < "u" && BigInt; + return It = function() { + return typeof t == "function" && typeof BigInt == "function" && typeof t(42) == "bigint" && typeof BigInt(42) == "bigint"; + }, It; +} +var xo; +function fi() { + if (xo) return Ne.exports; + xo = 1; + var t = ui()(); + if (t) { + var e = BigInt.prototype.valueOf, r = function(n) { + try { + return e.call(n), !0; + } catch { + } + return !1; + }; + Ne.exports = function(n) { + return n === null || typeof n > "u" || typeof n == "boolean" || typeof n == "string" || typeof n == "number" || typeof n == "symbol" || typeof n == "function" ? !1 : typeof n == "bigint" ? !0 : r(n); + }; + } else + Ne.exports = function(n) { + return !1; + }; + return Ne.exports; +} +var qt, Mo; +function si() { + if (Mo) return qt; + Mo = 1; + var t = aa(), e = ni(), r = oi(), o = ii(), n = fi(); + return qt = function(u) { + if (u == null || typeof u != "object" && typeof u != "function") + return null; + if (t(u)) + return "String"; + if (e(u)) + return "Number"; + if (r(u)) + return "Boolean"; + if (o(u)) + return "Symbol"; + if (n(u)) + return "BigInt"; + }, qt; +} +var Rt, To; +function li() { + if (To) return Rt; + To = 1; + var t = typeof WeakMap == "function" && WeakMap.prototype ? WeakMap : null, e = typeof WeakSet == "function" && WeakSet.prototype ? WeakSet : null, r; + t || (r = function(u) { + return !1; + }); + var o = t ? t.prototype.has : null, n = e ? e.prototype.has : null; + return !r && !o && (r = function(u) { + return !1; + }), Rt = r || function(u) { + if (!u || typeof u != "object") + return !1; + try { + if (o.call(u, o), n) + try { + n.call(u, n); + } catch { + return !0; + } + return u instanceof t; + } catch { } - return _; - }, ro; + return !1; + }, Rt; } -var Li; -function Zf() { - if (Li) return Fe.exports; - Li = 1; - var r = /* @__PURE__ */ Qf(), e = /* @__PURE__ */ Nr(), t = r("%WeakSet%", !0), a = e("WeakSet.prototype.has", !0); - if (a) { +var We = { exports: {} }, Co; +function ci() { + if (Co) return We.exports; + Co = 1; + var t = /* @__PURE__ */ ye(), e = /* @__PURE__ */ ee(), r = t("%WeakSet%", !0), o = e("WeakSet.prototype.has", !0); + if (o) { var n = e("WeakMap.prototype.has", !0); - Fe.exports = function(o) { - if (!o || typeof o != "object") + We.exports = function(u) { + if (!u || typeof u != "object") return !1; try { - if (a(o, a), n) + if (o(u, o), n) try { - n(o, n); + n(u, n); } catch { return !0; } - return o instanceof t; + return u instanceof r; } catch { } return !1; }; } else - Fe.exports = function(o) { + We.exports = function(u) { return !1; }; - return Fe.exports; + return We.exports; } -var eo, Hi; -function rp() { - if (Hi) return eo; - Hi = 1; - var r = /* @__PURE__ */ by(), e = /* @__PURE__ */ Py(), t = Vf(), a = /* @__PURE__ */ Zf(); - return eo = function(i) { +var Et, jo; +function pi() { + if (jo) return Et; + jo = 1; + var t = /* @__PURE__ */ ia(), e = /* @__PURE__ */ ua(), r = li(), o = /* @__PURE__ */ ci(); + return Et = function(i) { if (i && typeof i == "object") { - if (r(i)) + if (t(i)) return "Map"; if (e(i)) return "Set"; - if (t(i)) + if (r(i)) return "WeakMap"; - if (a(i)) + if (o(i)) return "WeakSet"; } return !1; - }, eo; + }, Et; } -var to, Vi; -function ep() { - if (Vi) return to; - Vi = 1; - var r = Function.prototype.toString, e = typeof Reflect == "object" && Reflect !== null && Reflect.apply, t, a; +var $t, ko; +function yi() { + if (ko) return $t; + ko = 1; + var t = Function.prototype.toString, e = typeof Reflect == "object" && Reflect !== null && Reflect.apply, r, o; if (typeof e == "function" && typeof Object.defineProperty == "function") try { - t = Object.defineProperty({}, "length", { + r = Object.defineProperty({}, "length", { get: function() { - throw a; + throw o; } - }), a = {}, e(function() { + }), o = {}, e(function() { throw 42; - }, null, t); - } catch (A) { - A !== a && (e = null); + }, null, r); + } catch (w) { + w !== o && (e = null); } else e = null; - var n = /^\s*class\b/, i = function(F) { + var n = /^\s*class\b/, i = function(b) { try { - var z = r.call(F); - return n.test(z); + var T = t.call(b); + return n.test(T); } catch { return !1; } - }, o = function(F) { + }, u = function(b) { try { - return i(F) ? !1 : (r.call(F), !0); + return i(b) ? !1 : (t.call(b), !0); } catch { return !1; } - }, y = Object.prototype.toString, f = "[object Object]", g = "[object Function]", h = "[object GeneratorFunction]", v = "[object HTMLAllCollection]", E = "[object HTML document.all class]", $ = "[object HTMLCollection]", j = typeof Symbol == "function" && !!Symbol.toStringTag, I = !(0 in [,]), b = function() { + }, a = Object.prototype.toString, f = "[object Object]", c = "[object Function]", v = "[object GeneratorFunction]", p = "[object HTMLAllCollection]", y = "[object HTML document.all class]", g = "[object HTMLCollection]", S = typeof Symbol == "function" && !!Symbol.toStringTag, R = !(0 in [,]), d = function() { return !1; }; if (typeof document == "object") { - var U = document.all; - y.call(U) === y.call(document.all) && (b = function(F) { - if ((I || !F) && (typeof F > "u" || typeof F == "object")) + var O = document.all; + a.call(O) === a.call(document.all) && (d = function(b) { + if ((R || !b) && (typeof b > "u" || typeof b == "object")) try { - var z = y.call(F); - return (z === v || z === E || z === $ || z === f) && F("") == null; + var T = a.call(b); + return (T === p || T === y || T === g || T === f) && b("") == null; } catch { } return !1; }); } - return to = e ? function(F) { - if (b(F)) + return $t = e ? function(b) { + if (d(b)) return !0; - if (!F || typeof F != "function" && typeof F != "object") + if (!b || typeof b != "function" && typeof b != "object") return !1; try { - e(F, null, t); - } catch (z) { - if (z !== a) + e(b, null, r); + } catch (T) { + if (T !== o) return !1; } - return !i(F) && o(F); - } : function(F) { - if (b(F)) + return !i(b) && u(b); + } : function(b) { + if (d(b)) return !0; - if (!F || typeof F != "function" && typeof F != "object") + if (!b || typeof b != "function" && typeof b != "object") return !1; - if (j) - return o(F); - if (i(F)) + if (S) + return u(b); + if (i(b)) return !1; - var z = y.call(F); - return z !== g && z !== h && !/^\[object HTML/.test(z) ? !1 : o(F); - }, to; + var T = a.call(b); + return T !== c && T !== v && !/^\[object HTML/.test(T) ? !1 : u(b); + }, $t; } -var no, Ji; -function tp() { - if (Ji) return no; - Ji = 1; - var r = ep(), e = Object.prototype.toString, t = Object.prototype.hasOwnProperty, a = function(f, g, h) { - for (var v = 0, E = f.length; v < E; v++) - t.call(f, v) && (h == null ? g(f[v], v, f) : g.call(h, f[v], v, f)); - }, n = function(f, g, h) { - for (var v = 0, E = f.length; v < E; v++) - h == null ? g(f.charAt(v), v, f) : g.call(h, f.charAt(v), v, f); - }, i = function(f, g, h) { - for (var v in f) - t.call(f, v) && (h == null ? g(f[v], v, f) : g.call(h, f[v], v, f)); - }, o = function(f, g, h) { - if (!r(g)) +var Bt, Do; +function vi() { + if (Do) return Bt; + Do = 1; + var t = yi(), e = Object.prototype.toString, r = Object.prototype.hasOwnProperty, o = function(f, c, v) { + for (var p = 0, y = f.length; p < y; p++) + r.call(f, p) && (v == null ? c(f[p], p, f) : c.call(v, f[p], p, f)); + }, n = function(f, c, v) { + for (var p = 0, y = f.length; p < y; p++) + v == null ? c(f.charAt(p), p, f) : c.call(v, f.charAt(p), p, f); + }, i = function(f, c, v) { + for (var p in f) + r.call(f, p) && (v == null ? c(f[p], p, f) : c.call(v, f[p], p, f)); + }, u = function(f, c, v) { + if (!t(c)) throw new TypeError("iterator must be a function"); - var v; - arguments.length >= 3 && (v = h), e.call(f) === "[object Array]" ? a(f, g, v) : typeof f == "string" ? n(f, g, v) : i(f, g, v); + var p; + arguments.length >= 3 && (p = v), e.call(f) === "[object Array]" ? o(f, c, p) : typeof f == "string" ? n(f, c, p) : i(f, c, p); }; - return no = o, no; + return Bt = u, Bt; } -var oo, zi; -function np() { - return zi || (zi = 1, oo = [ +var xt, _o; +function hi() { + return _o || (_o = 1, xt = [ "Float32Array", "Float64Array", "Int8Array", @@ -4821,558 +2258,263 @@ function np() { "Uint32Array", "BigInt64Array", "BigUint64Array" - ]), oo; -} -var ao, Ki; -function op() { - if (Ki) return ao; - Ki = 1; - var r = /* @__PURE__ */ np(), e = typeof globalThis > "u" ? ge : globalThis; - return ao = function() { - for (var a = [], n = 0; n < r.length; n++) - typeof e[r[n]] == "function" && (a[a.length] = r[n]); - return a; - }, ao; -} -var io = { exports: {} }, yo, Yi; -function ap() { - return Yi || (Yi = 1, yo = function() { - if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") - return !1; - if (typeof Symbol.iterator == "symbol") - return !0; - var e = {}, t = Symbol("test"), a = Object(t); - if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(a) !== "[object Symbol]") - return !1; - var n = 42; - e[t] = n; - for (t in e) - return !1; - if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0) - return !1; - var i = Object.getOwnPropertySymbols(e); - if (i.length !== 1 || i[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t)) - return !1; - if (typeof Object.getOwnPropertyDescriptor == "function") { - var o = Object.getOwnPropertyDescriptor(e, t); - if (o.value !== n || o.enumerable !== !0) - return !1; - } - return !0; - }), yo; -} -var fo, Xi; -function ip() { - if (Xi) return fo; - Xi = 1; - var r = typeof Symbol < "u" && Symbol, e = ap(); - return fo = function() { - return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e(); - }, fo; -} -var po, Qi; -function yp() { - if (Qi) return po; - Qi = 1; - var r, e = /* @__PURE__ */ Rr(), t = /* @__PURE__ */ jr(), a = /* @__PURE__ */ Mr(), n = /* @__PURE__ */ _r(), i = /* @__PURE__ */ Er(), o = /* @__PURE__ */ gr(), y = /* @__PURE__ */ Dr(), f = Function, g = function(N) { - try { - return f('"use strict"; return (' + N + ").constructor;")(); - } catch { - } - }, h = Object.getOwnPropertyDescriptor; - if (h) - try { - h({}, ""); - } catch { - h = null; - } - var v = function() { - throw new o(); - }, E = h ? function() { - try { - return arguments.callee, v; - } catch { - try { - return h(arguments, "callee").get; - } catch { - return v; - } - } - }() : v, $ = ip()(), j = /* @__PURE__ */ Be()(), I = Object.getPrototypeOf || (j ? function(N) { - return N.__proto__; - } : null), b = {}, U = typeof Uint8Array > "u" || !I ? r : I(Uint8Array), A = { - __proto__: null, - "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError, - "%Array%": Array, - "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer, - "%ArrayIteratorPrototype%": $ && I ? I([][Symbol.iterator]()) : r, - "%AsyncFromSyncIteratorPrototype%": r, - "%AsyncFunction%": b, - "%AsyncGenerator%": b, - "%AsyncGeneratorFunction%": b, - "%AsyncIteratorPrototype%": b, - "%Atomics%": typeof Atomics > "u" ? r : Atomics, - "%BigInt%": typeof BigInt > "u" ? r : BigInt, - "%BigInt64Array%": typeof BigInt64Array > "u" ? r : BigInt64Array, - "%BigUint64Array%": typeof BigUint64Array > "u" ? r : BigUint64Array, - "%Boolean%": Boolean, - "%DataView%": typeof DataView > "u" ? r : DataView, - "%Date%": Date, - "%decodeURI%": decodeURI, - "%decodeURIComponent%": decodeURIComponent, - "%encodeURI%": encodeURI, - "%encodeURIComponent%": encodeURIComponent, - "%Error%": e, - "%eval%": eval, - // eslint-disable-line no-eval - "%EvalError%": t, - "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array, - "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array, - "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry, - "%Function%": f, - "%GeneratorFunction%": b, - "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array, - "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array, - "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array, - "%isFinite%": isFinite, - "%isNaN%": isNaN, - "%IteratorPrototype%": $ && I ? I(I([][Symbol.iterator]())) : r, - "%JSON%": typeof JSON == "object" ? JSON : r, - "%Map%": typeof Map > "u" ? r : Map, - "%MapIteratorPrototype%": typeof Map > "u" || !$ || !I ? r : I((/* @__PURE__ */ new Map())[Symbol.iterator]()), - "%Math%": Math, - "%Number%": Number, - "%Object%": Object, - "%parseFloat%": parseFloat, - "%parseInt%": parseInt, - "%Promise%": typeof Promise > "u" ? r : Promise, - "%Proxy%": typeof Proxy > "u" ? r : Proxy, - "%RangeError%": a, - "%ReferenceError%": n, - "%Reflect%": typeof Reflect > "u" ? r : Reflect, - "%RegExp%": RegExp, - "%Set%": typeof Set > "u" ? r : Set, - "%SetIteratorPrototype%": typeof Set > "u" || !$ || !I ? r : I((/* @__PURE__ */ new Set())[Symbol.iterator]()), - "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer, - "%String%": String, - "%StringIteratorPrototype%": $ && I ? I(""[Symbol.iterator]()) : r, - "%Symbol%": $ ? Symbol : r, - "%SyntaxError%": i, - "%ThrowTypeError%": E, - "%TypedArray%": U, - "%TypeError%": o, - "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array, - "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray, - "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array, - "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array, - "%URIError%": y, - "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap, - "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef, - "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet - }; - if (I) - try { - null.error; - } catch (N) { - var F = I(I(N)); - A["%Error.prototype%"] = F; - } - var z = function N(P) { - var R; - if (P === "%AsyncFunction%") - R = g("async function () {}"); - else if (P === "%GeneratorFunction%") - R = g("function* () {}"); - else if (P === "%AsyncGeneratorFunction%") - R = g("async function* () {}"); - else if (P === "%AsyncGenerator%") { - var q = N("%AsyncGeneratorFunction%"); - q && (R = q.prototype); - } else if (P === "%AsyncIteratorPrototype%") { - var M = N("%AsyncGenerator%"); - M && I && (R = I(M.prototype)); - } - return A[P] = R, R; - }, K = { - __proto__: null, - "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], - "%ArrayPrototype%": ["Array", "prototype"], - "%ArrayProto_entries%": ["Array", "prototype", "entries"], - "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], - "%ArrayProto_keys%": ["Array", "prototype", "keys"], - "%ArrayProto_values%": ["Array", "prototype", "values"], - "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], - "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], - "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], - "%BooleanPrototype%": ["Boolean", "prototype"], - "%DataViewPrototype%": ["DataView", "prototype"], - "%DatePrototype%": ["Date", "prototype"], - "%ErrorPrototype%": ["Error", "prototype"], - "%EvalErrorPrototype%": ["EvalError", "prototype"], - "%Float32ArrayPrototype%": ["Float32Array", "prototype"], - "%Float64ArrayPrototype%": ["Float64Array", "prototype"], - "%FunctionPrototype%": ["Function", "prototype"], - "%Generator%": ["GeneratorFunction", "prototype"], - "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], - "%Int8ArrayPrototype%": ["Int8Array", "prototype"], - "%Int16ArrayPrototype%": ["Int16Array", "prototype"], - "%Int32ArrayPrototype%": ["Int32Array", "prototype"], - "%JSONParse%": ["JSON", "parse"], - "%JSONStringify%": ["JSON", "stringify"], - "%MapPrototype%": ["Map", "prototype"], - "%NumberPrototype%": ["Number", "prototype"], - "%ObjectPrototype%": ["Object", "prototype"], - "%ObjProto_toString%": ["Object", "prototype", "toString"], - "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], - "%PromisePrototype%": ["Promise", "prototype"], - "%PromiseProto_then%": ["Promise", "prototype", "then"], - "%Promise_all%": ["Promise", "all"], - "%Promise_reject%": ["Promise", "reject"], - "%Promise_resolve%": ["Promise", "resolve"], - "%RangeErrorPrototype%": ["RangeError", "prototype"], - "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], - "%RegExpPrototype%": ["RegExp", "prototype"], - "%SetPrototype%": ["Set", "prototype"], - "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], - "%StringPrototype%": ["String", "prototype"], - "%SymbolPrototype%": ["Symbol", "prototype"], - "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], - "%TypedArrayPrototype%": ["TypedArray", "prototype"], - "%TypeErrorPrototype%": ["TypeError", "prototype"], - "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], - "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], - "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], - "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], - "%URIErrorPrototype%": ["URIError", "prototype"], - "%WeakMapPrototype%": ["WeakMap", "prototype"], - "%WeakSetPrototype%": ["WeakSet", "prototype"] - }, D = Or(), O = /* @__PURE__ */ Fr(), Q = D.call(Function.call, Array.prototype.concat), Y = D.call(Function.apply, Array.prototype.splice), er = D.call(Function.call, String.prototype.replace), G = D.call(Function.call, String.prototype.slice), H = D.call(Function.call, RegExp.prototype.exec), or = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, V = /\\(\\)?/g, nr = function(P) { - var R = G(P, 0, 1), q = G(P, -1); - if (R === "%" && q !== "%") - throw new i("invalid intrinsic syntax, expected closing `%`"); - if (q === "%" && R !== "%") - throw new i("invalid intrinsic syntax, expected opening `%`"); - var M = []; - return er(P, or, function(J, X, u, x) { - M[M.length] = u ? er(x, V, "$1") : X || J; - }), M; - }, dr = function(P, R) { - var q = P, M; - if (O(K, q) && (M = K[q], q = "%" + M[0] + "%"), O(A, q)) { - var J = A[q]; - if (J === b && (J = z(q)), typeof J > "u" && !R) - throw new o("intrinsic " + P + " exists, but is not available. Please file an issue!"); - return { - alias: M, - name: q, - value: J - }; - } - throw new i("intrinsic " + P + " does not exist!"); - }; - return po = function(P, R) { - if (typeof P != "string" || P.length === 0) - throw new o("intrinsic name must be a non-empty string"); - if (arguments.length > 1 && typeof R != "boolean") - throw new o('"allowMissing" argument must be a boolean'); - if (H(/^%?[^%]*%?$/, P) === null) - throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); - var q = nr(P), M = q.length > 0 ? q[0] : "", J = dr("%" + M + "%", R), X = J.name, u = J.value, x = !1, L = J.alias; - L && (M = L[0], Y(q, Q([0, 1], L))); - for (var k = 1, C = !0; k < q.length; k += 1) { - var w = q[k], s = G(w, 0, 1), S = G(w, -1); - if ((s === '"' || s === "'" || s === "`" || S === '"' || S === "'" || S === "`") && s !== S) - throw new i("property names with quotes must have matching quotes"); - if ((w === "constructor" || !C) && (x = !0), M += "." + w, X = "%" + M + "%", O(A, X)) - u = A[X]; - else if (u != null) { - if (!(w in u)) { - if (!R) - throw new o("base intrinsic for " + P + " exists, but the property is not available."); - return; - } - if (h && k + 1 >= q.length) { - var l = h(u, w); - C = !!l, C && "get" in l && !("originalValue" in l.get) ? u = l.get : u = u[w]; - } else - C = O(u, w), u = u[w]; - C && !x && (A[X] = u); - } - } - return u; - }, po; -} -var uo, Zi; -function fp() { - if (Zi) return uo; - Zi = 1; - var r = /* @__PURE__ */ yp(), e = r("%Object.defineProperty%", !0) || !1; - if (e) - try { - e({}, "a", { value: 1 }); - } catch { - e = !1; - } - return uo = e, uo; -} -var ry; -function pp() { - return ry || (ry = 1, function(r) { - var e = /* @__PURE__ */ he(), t = /* @__PURE__ */ fp(), a = ye(), n = qe(); - r.exports = function(o) { - var y = a(arguments), f = o.length - (arguments.length - 1); - return e( - y, - 1 + (f > 0 ? f : 0), - !0 - ); - }, t ? t(r.exports, "apply", { value: n }) : r.exports.apply = n; - }(io)), io.exports; + ]), xt; +} +var Mt, Fo; +function di() { + if (Fo) return Mt; + Fo = 1; + var t = /* @__PURE__ */ hi(), e = typeof globalThis > "u" ? Le : globalThis; + return Mt = function() { + for (var o = [], n = 0; n < t.length; n++) + typeof e[t[n]] == "function" && (o[o.length] = t[n]); + return o; + }, Mt; } -var so, ey; -function up() { - if (ey) return so; - ey = 1; - var r = tp(), e = /* @__PURE__ */ op(), t = pp(), a = /* @__PURE__ */ Nr(), n = /* @__PURE__ */ vy(), i = a("Object.prototype.toString"), o = Xr()(), y = typeof globalThis > "u" ? ge : globalThis, f = e(), g = a("String.prototype.slice"), h = Object.getPrototypeOf, v = a("Array.prototype.indexOf", !0) || function(b, U) { - for (var A = 0; A < b.length; A += 1) - if (b[A] === U) - return A; +var Tt, No; +function gi() { + if (No) return Tt; + No = 1; + var t = vi(), e = /* @__PURE__ */ di(), r = Be(), o = /* @__PURE__ */ ee(), n = /* @__PURE__ */ Ae(), i = o("Object.prototype.toString"), u = Pe()(), a = typeof globalThis > "u" ? Le : globalThis, f = e(), c = o("String.prototype.slice"), v = Object.getPrototypeOf, p = o("Array.prototype.indexOf", !0) || function(d, O) { + for (var w = 0; w < d.length; w += 1) + if (d[w] === O) + return w; return -1; - }, E = { __proto__: null }; - o && n && h ? r(f, function(I) { - var b = new y[I](); - if (Symbol.toStringTag in b) { - var U = h(b), A = n(U, Symbol.toStringTag); - if (!A) { - var F = h(U); - A = n(F, Symbol.toStringTag); + }, y = { __proto__: null }; + u && n && v ? t(f, function(R) { + var d = new a[R](); + if (Symbol.toStringTag in d) { + var O = v(d), w = n(O, Symbol.toStringTag); + if (!w) { + var b = v(O); + w = n(b, Symbol.toStringTag); } - E["$" + I] = t(A.get); + y["$" + R] = r(w.get); } - }) : r(f, function(I) { - var b = new y[I](), U = b.slice || b.set; - U && (E["$" + I] = t(U)); + }) : t(f, function(R) { + var d = new a[R](), O = d.slice || d.set; + O && (y["$" + R] = r(O)); }); - var $ = function(b) { - var U = !1; - return r( + var g = function(d) { + var O = !1; + return t( // eslint-disable-next-line no-extra-parens /** @type {Record<`\$${TypedArrayName}`, Getter>} */ /** @type {any} */ - E, + y, /** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */ - function(A, F) { - if (!U) + function(w, b) { + if (!O) try { - "$" + A(b) === F && (U = g(F, 1)); + "$" + w(d) === b && (O = c(b, 1)); } catch { } } - ), U; - }, j = function(b) { - var U = !1; - return r( + ), O; + }, S = function(d) { + var O = !1; + return t( // eslint-disable-next-line no-extra-parens /** @type {Record<`\$${TypedArrayName}`, Getter>} */ /** @type {any} */ - E, + y, /** @type {(getter: typeof cache, name: `\$${import('.').TypedArrayName}`) => void} */ - function(A, F) { - if (!U) + function(w, b) { + if (!O) try { - A(b), U = g(F, 1); + w(d), O = c(b, 1); } catch { } } - ), U; + ), O; }; - return so = function(b) { - if (!b || typeof b != "object") + return Tt = function(d) { + if (!d || typeof d != "object") return !1; - if (!o) { - var U = g(i(b), 8, -1); - return v(f, U) > -1 ? U : U !== "Object" ? !1 : j(b); + if (!u) { + var O = c(i(d), 8, -1); + return p(f, O) > -1 ? O : O !== "Object" ? !1 : S(d); } - return n ? $(b) : null; - }, so; -} -var lo, ty; -function sp() { - if (ty) return lo; - ty = 1; - var r = /* @__PURE__ */ Nr(), e = r("ArrayBuffer.prototype.byteLength", !0), t = /* @__PURE__ */ Ey(); - return lo = function(n) { - return t(n) ? e ? e(n) : n.byteLength : NaN; - }, lo; + return n ? g(d) : null; + }, Tt; } -var co, ny; -function lp() { - if (ny) return co; - ny = 1; - var r = Yy(), e = se(), t = nf(), a = /* @__PURE__ */ dy(), n = $f(), i = Ff(), o = Uf(), y = /* @__PURE__ */ gy(), f = Sy(), g = /* @__PURE__ */ Ey(), h = /* @__PURE__ */ Df(), v = Nf(), E = /* @__PURE__ */ Tf(), $ = vo(), j = Hf(), I = /* @__PURE__ */ rp(), b = /* @__PURE__ */ up(), U = /* @__PURE__ */ sp(), A = e("SharedArrayBuffer.prototype.byteLength", !0), F = e("Date.prototype.getTime"), z = Object.getPrototypeOf, K = e("Object.prototype.toString"), D = a("%Set%", !0), O = e("Map.prototype.has", !0), Q = e("Map.prototype.get", !0), Y = e("Map.prototype.size", !0), er = e("Set.prototype.add", !0), G = e("Set.prototype.delete", !0), H = e("Set.prototype.has", !0), or = e("Set.prototype.size", !0); - function V(u, x, L, k) { - for (var C = n(u), w; (w = C.next()) && !w.done; ) - if (R(x, w.value, L, k)) - return G(u, w.value), !0; +var Ct, Wo; +function mi() { + if (Wo) return Ct; + Wo = 1; + var t = /* @__PURE__ */ ee(), e = t("ArrayBuffer.prototype.byteLength", !0), r = /* @__PURE__ */ la(); + return Ct = function(n) { + return r(n) ? e ? e(n) : n.byteLength : NaN; + }, Ct; +} +var jt, Lo; +function Si() { + if (Lo) return jt; + Lo = 1; + var t = Na(), e = Zo(), r = Ha(), o = /* @__PURE__ */ ye(), n = Za(), i = na(), u = ei(), a = /* @__PURE__ */ ra(), f = oa(), c = /* @__PURE__ */ la(), v = /* @__PURE__ */ ri(), p = ca(), y = /* @__PURE__ */ ti(), g = kt(), S = si(), R = /* @__PURE__ */ pi(), d = /* @__PURE__ */ gi(), O = /* @__PURE__ */ mi(), w = e("SharedArrayBuffer.prototype.byteLength", !0), b = e("Date.prototype.getTime"), T = Object.getPrototypeOf, Z = e("Object.prototype.toString"), G = o("%Set%", !0), D = e("Map.prototype.has", !0), k = e("Map.prototype.get", !0), I = e("Map.prototype.size", !0), _ = e("Set.prototype.add", !0), U = e("Set.prototype.delete", !0), N = e("Set.prototype.has", !0), H = e("Set.prototype.size", !0); + function V(h, m, M, $) { + for (var B = n(h), C; (C = B.next()) && !C.done; ) + if (z(m, C.value, M, $)) + return U(h, C.value), !0; return !1; } - function nr(u) { - if (typeof u > "u") + function K(h) { + if (typeof h > "u") return null; - if (typeof u != "object") - return typeof u == "symbol" ? !1 : typeof u == "string" || typeof u == "number" ? +u == +u : !0; - } - function dr(u, x, L, k, C, w) { - var s = nr(L); - if (s != null) - return s; - var S = Q(x, s), l = r({}, C, { strict: !1 }); - return typeof S > "u" && !O(x, s) || !R(k, S, l, w) ? !1 : !O(u, s) && R(k, S, l, w); - } - function N(u, x, L) { - var k = nr(L); - return k ?? (H(x, k) && !H(u, k)); - } - function P(u, x, L, k, C, w) { - for (var s = n(u), S, l; (S = s.next()) && !S.done; ) - if (l = S.value, // eslint-disable-next-line no-use-before-define - R(L, l, C, w) && R(k, Q(x, l), C, w)) - return G(u, l), !0; + if (typeof h != "object") + return typeof h == "symbol" ? !1 : typeof h == "string" || typeof h == "number" ? +h == +h : !0; + } + function Ie(h, m, M, $, B, C) { + var P = K(M); + if (P != null) + return P; + var q = k(m, P), A = t({}, B, { strict: !1 }); + return typeof q > "u" && !D(m, P) || !z($, q, A, C) ? !1 : !D(h, P) && z($, q, A, C); + } + function me(h, m, M) { + var $ = K(M); + return $ ?? (N(m, $) && !N(h, $)); + } + function oe(h, m, M, $, B, C) { + for (var P = n(h), q, A; (q = P.next()) && !q.done; ) + if (A = q.value, // eslint-disable-next-line no-use-before-define + z(M, A, B, C) && z($, k(m, A), B, C)) + return U(h, A), !0; return !1; } - function R(u, x, L, k) { - var C = L || {}; - if (C.strict ? o(u, x) : u === x) + function z(h, m, M, $) { + var B = M || {}; + if (B.strict ? u(h, m) : h === m) return !0; - var w = j(u), s = j(x); - if (w !== s) - return !1; - if (!u || !x || typeof u != "object" && typeof x != "object") - return C.strict ? o(u, x) : u == x; - var S = k.has(u), l = k.has(x), B; - if (S && l) { - if (k.get(u) === k.get(x)) + var C = S(h), P = S(m); + if (C !== P) + return !1; + if (!h || !m || typeof h != "object" && typeof m != "object") + return B.strict ? u(h, m) : h == m; + var q = $.has(h), A = $.has(m), E; + if (q && A) { + if ($.get(h) === $.get(m)) return !0; } else - B = {}; - return S || k.set(u, B), l || k.set(x, B), X(u, x, C, k); + E = {}; + return q || $.set(h, E), A || $.set(m, E), ve(h, m, B, $); } - function q(u) { - return !u || typeof u != "object" || typeof u.length != "number" || typeof u.copy != "function" || typeof u.slice != "function" || u.length > 0 && typeof u[0] != "number" ? !1 : !!(u.constructor && u.constructor.isBuffer && u.constructor.isBuffer(u)); + function Se(h) { + return !h || typeof h != "object" || typeof h.length != "number" || typeof h.copy != "function" || typeof h.slice != "function" || h.length > 0 && typeof h[0] != "number" ? !1 : !!(h.constructor && h.constructor.isBuffer && h.constructor.isBuffer(h)); } - function M(u, x, L, k) { - if (or(u) !== or(x)) + function qe(h, m, M, $) { + if (H(h) !== H(m)) return !1; - for (var C = n(u), w = n(x), s, S, l; (s = C.next()) && !s.done; ) - if (s.value && typeof s.value == "object") - l || (l = new D()), er(l, s.value); - else if (!H(x, s.value)) { - if (L.strict || !N(u, x, s.value)) + for (var B = n(h), C = n(m), P, q, A; (P = B.next()) && !P.done; ) + if (P.value && typeof P.value == "object") + A || (A = new G()), _(A, P.value); + else if (!N(m, P.value)) { + if (M.strict || !me(h, m, P.value)) return !1; - l || (l = new D()), er(l, s.value); + A || (A = new G()), _(A, P.value); } - if (l) { - for (; (S = w.next()) && !S.done; ) - if (S.value && typeof S.value == "object") { - if (!V(l, S.value, L.strict, k)) + if (A) { + for (; (q = C.next()) && !q.done; ) + if (q.value && typeof q.value == "object") { + if (!V(A, q.value, M.strict, $)) return !1; - } else if (!L.strict && !H(u, S.value) && !V(l, S.value, L.strict, k)) + } else if (!M.strict && !N(h, q.value) && !V(A, q.value, M.strict, $)) return !1; - return or(l) === 0; + return H(A) === 0; } return !0; } - function J(u, x, L, k) { - if (Y(u) !== Y(x)) + function be(h, m, M, $) { + if (I(h) !== I(m)) return !1; - for (var C = n(u), w = n(x), s, S, l, B, T, Z; (s = C.next()) && !s.done; ) - if (B = s.value[0], T = s.value[1], B && typeof B == "object") - l || (l = new D()), er(l, B); - else if (Z = Q(x, B), typeof Z > "u" && !O(x, B) || !R(T, Z, L, k)) { - if (L.strict || !dr(u, x, B, T, L, k)) + for (var B = n(h), C = n(m), P, q, A, E, J, Y; (P = B.next()) && !P.done; ) + if (E = P.value[0], J = P.value[1], E && typeof E == "object") + A || (A = new G()), _(A, E); + else if (Y = k(m, E), typeof Y > "u" && !D(m, E) || !z(J, Y, M, $)) { + if (M.strict || !Ie(h, m, E, J, M, $)) return !1; - l || (l = new D()), er(l, B); + A || (A = new G()), _(A, E); } - if (l) { - for (; (S = w.next()) && !S.done; ) - if (B = S.value[0], Z = S.value[1], B && typeof B == "object") { - if (!P(l, u, B, Z, L, k)) + if (A) { + for (; (q = C.next()) && !q.done; ) + if (E = q.value[0], Y = q.value[1], E && typeof E == "object") { + if (!oe(A, h, E, Y, M, $)) return !1; - } else if (!L.strict && (!u.has(B) || !R(Q(u, B), Z, L, k)) && !P(l, u, B, Z, r({}, L, { strict: !1 }), k)) + } else if (!M.strict && (!h.has(E) || !z(k(h, E), Y, M, $)) && !oe(A, h, E, Y, t({}, M, { strict: !1 }), $)) return !1; - return or(l) === 0; + return H(A) === 0; } return !0; } - function X(u, x, L, k) { - var C, w; - if (typeof u != typeof x || u == null || x == null || K(u) !== K(x) || y(u) !== y(x)) + function ve(h, m, M, $) { + var B, C; + if (typeof h != typeof m || h == null || m == null || Z(h) !== Z(m) || a(h) !== a(m)) return !1; - var s = f(u), S = f(x); - if (s !== S) + var P = f(h), q = f(m); + if (P !== q) return !1; - var l = u instanceof Error, B = x instanceof Error; - if (l !== B || (l || B) && (u.name !== x.name || u.message !== x.message)) + var A = h instanceof Error, E = m instanceof Error; + if (A !== E || (A || E) && (h.name !== m.name || h.message !== m.message)) return !1; - var T = v(u), Z = v(x); - if (T !== Z || (T || Z) && (u.source !== x.source || t(u) !== t(x))) + var J = p(h), Y = p(m); + if (J !== Y || (J || Y) && (h.source !== m.source || r(h) !== r(m))) return !1; - var _ = h(u), ar = h(x); - if (_ !== ar || (_ || ar) && F(u) !== F(x) || L.strict && z && z(u) !== z(x)) + var F = v(h), Q = v(m); + if (F !== Q || (F || Q) && b(h) !== b(m) || M.strict && T && T(h) !== T(m)) return !1; - var pr = b(u), lr = b(x); - if (pr !== lr) + var he = d(h), ie = d(m); + if (he !== ie) return !1; - if (pr || lr) { - if (u.length !== x.length) + if (he || ie) { + if (h.length !== m.length) return !1; - for (C = 0; C < u.length; C++) - if (u[C] !== x[C]) + for (B = 0; B < h.length; B++) + if (h[B] !== m[B]) return !1; return !0; } - var ir = q(u), rr = q(x); - if (ir !== rr) + var ue = Se(h), re = Se(m); + if (ue !== re) return !1; - if (ir || rr) { - if (u.length !== x.length) + if (ue || re) { + if (h.length !== m.length) return !1; - for (C = 0; C < u.length; C++) - if (u[C] !== x[C]) + for (B = 0; B < h.length; B++) + if (h[B] !== m[B]) return !1; return !0; } - var cr = g(u), vr = g(x); - if (cr !== vr) + var fe = c(h), se = c(m); + if (fe !== se) return !1; - if (cr || vr) - return U(u) !== U(x) ? !1 : typeof Uint8Array == "function" && R(new Uint8Array(u), new Uint8Array(x), L, k); - var sr = E(u), Qr = E(x); - if (sr !== Qr) + if (fe || se) + return O(h) !== O(m) ? !1 : typeof Uint8Array == "function" && z(new Uint8Array(h), new Uint8Array(m), M, $); + var le = y(h), je = y(m); + if (le !== je) return !1; - if (sr || Qr) - return A(u) !== A(x) ? !1 : typeof Uint8Array == "function" && R(new Uint8Array(u), new Uint8Array(x), L, k); - if (typeof u != typeof x) + if (le || je) + return w(h) !== w(m) ? !1 : typeof Uint8Array == "function" && z(new Uint8Array(h), new Uint8Array(m), M, $); + if (typeof h != typeof m) return !1; - var br = $(u), wr = $(x); - if (br.length !== wr.length) + var ce = g(h), xe = g(m); + if (ce.length !== xe.length) return !1; - for (br.sort(), wr.sort(), C = br.length - 1; C >= 0; C--) - if (br[C] != wr[C]) + for (ce.sort(), xe.sort(), B = ce.length - 1; B >= 0; B--) + if (ce[B] != xe[B]) return !1; - for (C = br.length - 1; C >= 0; C--) - if (w = br[C], !R(u[w], x[w], L, k)) + for (B = ce.length - 1; B >= 0; B--) + if (C = ce[B], !z(h[C], m[C], M, $)) return !1; - var Tr = I(u), $r = I(x); - return Tr !== $r ? !1 : Tr === "Set" || $r === "Set" ? M(u, x, L, k) : Tr === "Map" ? J(u, x, L, k) : !0; + var pe = R(h), Re = R(m); + return pe !== Re ? !1 : pe === "Set" || Re === "Set" ? qe(h, m, M, $) : pe === "Map" ? be(h, m, M, $) : !0; } - return co = function(x, L, k) { - return R(x, L, k, i()); - }, co; + return jt = function(m, M, $) { + return z(m, M, $, i()); + }, jt; } -var cp = lp(); -const vp = /* @__PURE__ */ Fy(cp); -class oy { +var bi = Si(); +const Oi = /* @__PURE__ */ ma(bi); +class Uo { /** * get/set caret position * @param {HTMLColletion} target @@ -5389,8 +2531,8 @@ class oy { return -1; if (this.isContentEditable === "true") { this.target.focus(); - let e = document.getSelection().getRangeAt(0), t = e.cloneRange(); - return t.selectNodeContents(this.target), t.setEnd(e.endContainer, e.endOffset), t.toString().length; + let e = document.getSelection().getRangeAt(0), r = e.cloneRange(); + return r.selectNodeContents(this.target), r.setEnd(e.endContainer, e.endOffset), r.toString().length; } return this.target.selectionStart; } @@ -5401,39 +2543,39 @@ class oy { setPos(e) { if (this.isContentEditable === "true") { if (e >= 0) { - var t = window.getSelection(), a = this.createRange(this.target, { + var r = window.getSelection(), o = this.createRange(this.target, { count: e }); - a && (a.collapse(!1), t.removeAllRanges(), t.addRange(a)); + o && (o.collapse(!1), r.removeAllRanges(), r.addRange(o)); } } else this.target.setSelectionRange(e, e); } - createRange(e, t, a) { - if (a || (a = document.createRange(), a.selectNode(e), a.setStart(e, 0)), t.count === 0) - a.setEnd(e, t.count); - else if (e && t.count > 0) + createRange(e, r, o) { + if (o || (o = document.createRange(), o.selectNode(e), o.setStart(e, 0)), r.count === 0) + o.setEnd(e, r.count); + else if (e && r.count > 0) if (e.nodeType === Node.TEXT_NODE) - e.textContent.length < t.count ? t.count -= e.textContent.length : (a.setEnd(e, t.count), t.count = 0); + e.textContent.length < r.count ? r.count -= e.textContent.length : (o.setEnd(e, r.count), r.count = 0); else - for (var n = 0; n < e.childNodes.length && (a = this.createRange(e.childNodes[n], t, a), t.count !== 0); n++) + for (var n = 0; n < e.childNodes.length && (o = this.createRange(e.childNodes[n], r, o), r.count !== 0); n++) ; - return a; + return o; } } -class dp { +class Ai { /** * Creates a new instance of the Observer object. * @param {Function} registerChange - Function that register a change in the history stack. * @param {String} holder - Editor.js holder id. * @param {Number} debounceTimer Delay time for the debouncer. */ - constructor(e, t, a) { - Sr(this, "debounceTimer"); - Sr(this, "holder"); - Sr(this, "mutationDebouncer"); - Sr(this, "observer"); - this.holder = t, this.observer = null, this.debounceTimer = a, this.mutationDebouncer = this.debounce(() => { + constructor(e, r, o) { + X(this, "debounceTimer"); + X(this, "holder"); + X(this, "mutationDebouncer"); + X(this, "observer"); + this.holder = r, this.observer = null, this.debounceTimer = o, this.mutationDebouncer = this.debounce(() => { e(); }, this.debounceTimer); } @@ -5447,41 +2589,41 @@ class dp { subtree: !0, characterData: !0, characterDataOldValue: !0 - }, t = this.holder.querySelector(".codex-editor__redactor"); - this.observer = new MutationObserver((a) => { - this.mutationHandler(a); - }), this.observer.observe(t, e); + }, r = this.holder.querySelector(".codex-editor__redactor"); + this.observer = new MutationObserver((o) => { + this.mutationHandler(o); + }), this.observer.observe(r, e); } /** * Handles the mutations and checks if a new mutation has been produced. * @param {Object} mutationList The registered mutations */ mutationHandler(e) { - let t = !1; - e.forEach((a) => { - switch (a.type) { + let r = !1; + e.forEach((o) => { + switch (o.type) { case "childList": - a.target === this.holder ? this.onDestroy() : t = !0; + o.target === this.holder ? this.onDestroy() : r = !0; break; case "characterData": - t = !0; + r = !0; break; case "attributes": - a.target instanceof Element && !a.target.classList.contains("ce-block") && !a.target.classList.contains("tc-toolbox") && (t = !0); + o.target instanceof Element && !o.target.classList.contains("ce-block") && !o.target.classList.contains("tc-toolbox") && (r = !0); break; } - }), t && this.mutationDebouncer(); + }), r && this.mutationDebouncer(); } /** * Delays invoking a function until after wait millis have elapsed. * @param {Function} callback The function to be delayed. * @param {Number} wait The deplay time in millis. */ - debounce(e, t) { - let a; + debounce(e, r) { + let o; return (...n) => { const i = this; - window.clearTimeout(a), a = window.setTimeout(() => e.apply(i, n), t); + window.clearTimeout(o), o = window.setTimeout(() => e.apply(i, n), r); }; } onDestroy() { @@ -5489,24 +2631,24 @@ class dp { document.dispatchEvent(e), this.observer != null && this.observer.disconnect(); } } -class hp { +class Pi { /** * @param options — Plugin custom options. */ - constructor({ editor: e, config: t = {}, onUpdate: a, maxLength: n }) { - Sr(this, "blocks"); - Sr(this, "caret"); - Sr(this, "config"); - Sr(this, "defaultBlock"); - Sr(this, "editor"); - Sr(this, "holder"); - Sr(this, "initialItem"); - Sr(this, "maxLength"); - Sr(this, "onUpdate"); - Sr(this, "position", 0); - Sr(this, "readOnly"); - Sr(this, "shouldSaveHistory"); - Sr(this, "stack", []); + constructor({ editor: e, config: r = {}, onUpdate: o, maxLength: n }) { + X(this, "blocks"); + X(this, "caret"); + X(this, "config"); + X(this, "defaultBlock"); + X(this, "editor"); + X(this, "holder"); + X(this, "initialItem"); + X(this, "maxLength"); + X(this, "onUpdate"); + X(this, "position", 0); + X(this, "readOnly"); + X(this, "shouldSaveHistory"); + X(this, "stack", []); const i = { maxLength: 30, onUpdate() { @@ -5518,8 +2660,8 @@ class hp { redo: ["CMD+Y", "CMD+SHIFT+Z"] } } - }, o = e, { blocks: y, caret: f } = o, { configuration: g } = o, { holder: h, defaultBlock: v } = g, E = i.config.shortcuts, { shortcuts: $ } = t, j = { ...E, ...$ }, I = Array.isArray(j.undo) ? j.undo : [j.undo], b = Array.isArray(j.redo) ? j.redo : [j.redo], U = i.config.debounceTimer, { debounceTimer: A = U } = t; - this.holder = typeof h == "string" ? document.getElementById(h) : h, this.editor = o, this.defaultBlock = v, this.blocks = y, this.caret = f, this.shouldSaveHistory = !0, this.readOnly = g.readOnly, this.maxLength = n || i.maxLength, this.onUpdate = a || i.onUpdate, this.config = { debounceTimer: A, shortcuts: { undo: I, redo: b } }, this.holder && new dp( + }, u = e, { blocks: a, caret: f } = u, { configuration: c } = u, { holder: v, defaultBlock: p } = c, y = i.config.shortcuts, { shortcuts: g } = r, S = { ...y, ...g }, R = Array.isArray(S.undo) ? S.undo : [S.undo], d = Array.isArray(S.redo) ? S.redo : [S.redo], O = i.config.debounceTimer, { debounceTimer: w = O } = r; + this.holder = typeof v == "string" ? document.getElementById(v) : v, this.editor = u, this.defaultBlock = p, this.blocks = a, this.caret = f, this.shouldSaveHistory = !0, this.readOnly = c.readOnly, this.maxLength = n || i.maxLength, this.onUpdate = o || i.onUpdate, this.config = { debounceTimer: w, shortcuts: { undo: R, redo: d } }, this.holder && new Ai( () => this.registerChange(), this.holder, this.config.debounceTimer @@ -5539,8 +2681,8 @@ class hp { * @param {Object} stack Changes history stack. * @param {Number} stack Limit of changes recorded by the history stack. */ - truncate(e, t) { - for (; e.length > t; ) + truncate(e, r) { + for (; e.length > r; ) e.shift(); } /** @@ -5549,7 +2691,7 @@ class hp { * @param {Object} initialItem Initial data provided by the user. */ initialize(e) { - const t = "blocks" in e ? e.blocks : e, n = { index: t.length - 1, state: t }; + const r = "blocks" in e ? e.blocks : e, n = { index: r.length - 1, state: r }; this.stack[0] = n, this.initialItem = n; } /** @@ -5568,8 +2710,8 @@ class hp { * @returns {Node} Indirectly shows if readOnly was set to true or false */ setReadOnly() { - var t; - const e = (t = this.holder) == null ? void 0 : t.querySelector(".ce-toolbox"); + var r; + const e = (r = this.holder) == null ? void 0 : r.querySelector(".ce-toolbox"); this.readOnly = !e; } /** @@ -5587,18 +2729,18 @@ class hp { * @returns {Boolean} */ editorDidUpdate(e) { - const { state: t } = this.stack[this.position]; - return e.length ? e.length !== t.length ? !0 : JSON.stringify(t) !== JSON.stringify(e) : !1; + const { state: r } = this.stack[this.position]; + return e.length ? e.length !== r.length ? !0 : JSON.stringify(r) !== JSON.stringify(e) : !1; } /** * Adds the saved data in the history stack and updates current position. */ save(e) { this.position >= this.maxLength && this.truncate(this.stack, this.maxLength), this.position = Math.min(this.position, this.stack.length - 1), this.stack = this.stack.slice(0, this.position + 1); - const t = this.blocks.getCurrentBlockIndex(), a = this.blocks.getBlocksCount(); - let n = t; - e[t] || (n -= a - e.length); - const i = e[n] && (e[n].type === "paragraph" || e[n].type === "header") ? this.getCaretIndex(t) : null; + const r = this.blocks.getCurrentBlockIndex(), o = this.blocks.getBlocksCount(); + let n = r; + e[r] || (n -= o - e.length); + const i = e[n] && (e[n].type === "paragraph" || e[n].type === "header") ? this.getCaretIndex(r) : null; this.stack.push({ index: n, state: e, caretIndex: i }), this.position += 1, this.onUpdate(); } /** @@ -5607,9 +2749,9 @@ class hp { * @returns The caret position */ getCaretIndex(e) { - var a; - const t = (a = this.holder) == null ? void 0 : a.getElementsByClassName("ce-block__content"); - return t ? new oy(t[e].firstChild).getPos() : null; + var o; + const r = (o = this.holder) == null ? void 0 : o.getElementsByClassName("ce-block__content"); + return r ? new Uo(r[e].firstChild).getPos() : null; } /** * Decreases the current position and update the respective block in the editor. @@ -5618,8 +2760,8 @@ class hp { if (this.canUndo()) { const { state: e } = this.stack[this.position]; this.position -= 1, this.shouldSaveHistory = !1; - const { caretIndex: t, index: a, state: n } = this.stack[this.position]; - await this.switchState(n, e), this.onUpdate(), this.blocks.getBlockByIndex(a) && (t ? this.setCaretIndex(a, t) : this.caret.setToBlock(a, "end")); + const { caretIndex: r, index: o, state: n } = this.stack[this.position]; + await this.switchState(n, e), this.onUpdate(), this.blocks.getBlockByIndex(o) && (r ? this.setCaretIndex(o, r) : this.caret.setToBlock(o, "end")); } } /** @@ -5628,12 +2770,12 @@ class hp { * @param {Number} caretIndex is the caret position * @param {Array} state is the current state according to this.position. */ - setCaretIndex(e, t) { + setCaretIndex(e, r) { var n; - const a = (n = this.holder) == null ? void 0 : n.getElementsByClassName("ce-block__content"); - if (t && t !== -1 && a) { - const i = new oy(a[e].firstChild); - setTimeout(() => i.setPos(t), 50); + const o = (n = this.holder) == null ? void 0 : n.getElementsByClassName("ce-block__content"); + if (r && r !== -1 && o) { + const i = new Uo(o[e].firstChild); + setTimeout(() => i.setPos(r), 50); } else this.caret.setToBlock(e, "end"); } @@ -5642,17 +2784,17 @@ class hp { * @param {Array} state is the current state according to this.position. * @param {Number} index is the block index */ - insertBlock(e, t) { - this.blocks.insert(e[t].type, e[t].data, {}, t, !0); + insertBlock(e, r) { + this.blocks.insert(e[r].type, e[r].data, {}, r, !0); } /** * Updates the passed block or render the state when the content was copied. * @param {Array} state is the current state according to this.position. * @param {Number} index is the block index. */ - async updateModifiedBlock(e, t) { - const a = e[t]; - return a.id && this.editor.blocks.getById(a.id) ? this.blocks.update(a.id, a.data) : this.blocks.render({ blocks: e }); + async updateModifiedBlock(e, r) { + const o = e[r]; + return o.id && this.editor.blocks.getById(o.id) ? this.blocks.update(o.id, o.data, o.tunes) : this.blocks.render({ blocks: e }); } /** * Increases the current position and update the respective block in the editor. @@ -5660,24 +2802,21 @@ class hp { async redo() { if (this.canRedo()) { this.position += 1, this.shouldSaveHistory = !1; - const { caretIndex: e, index: t, state: a } = this.stack[this.position], { state: n } = this.stack[this.position - 1]; - await this.switchState(a, n), this.onUpdate(), this.blocks.getBlockByIndex(t) && (e ? this.setCaretIndex(t, e) : this.caret.setToBlock(t, "end")); + const { caretIndex: e, index: r, state: o } = this.stack[this.position], { state: n } = this.stack[this.position - 1]; + await this.switchState(o, n), this.onUpdate(), this.blocks.getBlockByIndex(r) && (e ? this.setCaretIndex(r, e) : this.caret.setToBlock(r, "end")); } } - async switchState(e, t) { - t.reduce( - (n, i, o) => e.find((y) => y.id === i.id) ? n : [...n, o], - [] - ).sort((n, i) => i - n).forEach((n) => this.blocks.delete(n)), e.reduce( - (n, i, o) => t.find((y) => y.id === i.id) ? n : [...n, o], + async switchState(e, r) { + r.reduce( + (n, i, u) => e.find((a) => a.id === i.id) ? n : [...n, u], [] - ).forEach((n) => this.insertBlock(e, n)); - const a = e.reduce((n, i, o) => { - const y = t.findIndex((f) => f.id === i.id); - return y > -1 && !vp(i, t[y]) ? [...n, o] : n; + ).sort((n, i) => i - n).forEach((n) => this.blocks.delete(n)), e.reduce((n, i, u) => r.find((a) => a.id === i.id) ? n : [...n, u], []).forEach((n) => this.insertBlock(e, n)); + const o = e.reduce((n, i, u) => { + const a = r.findIndex((f) => f.id === i.id); + return a > -1 && !Oi(i, r[a]) ? [...n, u] : n; }, []); await Promise.all( - a.map(async (n) => await this.updateModifiedBlock(e, n)) + o.map(async (n) => await this.updateModifiedBlock(e, n)) ); } /** @@ -5711,40 +2850,40 @@ class hp { * @returns {Array} */ parseKeys(e) { - const t = { + const r = { CMD: /(Mac)/i.test(navigator.platform) ? "metaKey" : "ctrlKey", ALT: "altKey", SHIFT: "shiftKey" - }, a = e.slice(0, -1).map((i) => t[i]), n = a.includes("shiftKey") && e.length === 2 ? e[e.length - 1].toUpperCase() : e[e.length - 1].toLowerCase(); - return a.push(n), a; + }, o = e.slice(0, -1).map((i) => r[i]), n = o.includes("shiftKey") && e.length === 2 ? e[e.length - 1].toUpperCase() : e[e.length - 1].toLowerCase(); + return o.push(n), o; } /** * Sets events listeners to allow keyboard actions support */ setEventListeners() { - const { holder: e } = this, { shortcuts: t } = this.config, { redo: a, undo: n } = t, i = n.map( - (b) => b.replace(/ /g, "").split("+") - ), o = a.map( - (b) => b.replace(/ /g, "").split("+") - ), y = i.map((b) => this.parseKeys(b)), f = o.map((b) => this.parseKeys(b)), g = (b, U) => U.length === 2 && b[U[0]] && b.key.toLowerCase() === U[1], h = (b, U) => U.length === 3 && b[U[0]] && b[U[1]] && b.key.toLowerCase() === U[2], v = (b, U) => U.reduce( - (A, F) => A || g(b, F), + const { holder: e } = this, { shortcuts: r } = this.config, { redo: o, undo: n } = r, i = n.map( + (d) => d.replace(/ /g, "").split("+") + ), u = o.map( + (d) => d.replace(/ /g, "").split("+") + ), a = i.map((d) => this.parseKeys(d)), f = u.map((d) => this.parseKeys(d)), c = (d, O) => O.length === 2 && d[O[0]] && d.key.toLowerCase() === O[1], v = (d, O) => O.length === 3 && d[O[0]] && d[O[1]] && d.key.toLowerCase() === O[2], p = (d, O) => O.reduce( + (w, b) => w || c(d, b), !1 - ), E = (b, U) => U.reduce( - (A, F) => A || h(b, F), + ), y = (d, O) => O.reduce( + (w, b) => w || v(d, b), !1 - ), $ = (b, U, A) => !!(v(b, U) && !E(b, A) || E(b, U)), j = (b) => { - $(b, y, f) && (b.preventDefault(), this.undo()); - }, I = (b) => { - $(b, f, y) && (b.preventDefault(), this.redo()); + ), g = (d, O, w) => !!(p(d, O) && !y(d, w) || y(d, O)), S = (d) => { + g(d, a, f) && (d.preventDefault(), this.undo()); + }, R = (d) => { + g(d, f, a) && (d.preventDefault(), this.redo()); }; if (e) { - const b = () => { - e.removeEventListener("keydown", j), e.removeEventListener("keydown", I); + const d = () => { + e.removeEventListener("keydown", S), e.removeEventListener("keydown", R); }; - e.addEventListener("keydown", j), e.addEventListener("keydown", I), e.addEventListener("destroy", b); + e.addEventListener("keydown", S), e.addEventListener("keydown", R), e.addEventListener("destroy", d); } } } export { - hp as default + Pi as default }; diff --git a/dist/bundle.js b/dist/bundle.js index beb23f7..dc9ddd4 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -1,7 +1,4 @@ -(function(br,Er){typeof exports=="object"&&typeof module<"u"?module.exports=Er():typeof define=="function"&&define.amd?define(Er):(br=typeof globalThis<"u"?globalThis:br||self,br.Undo=Er())})(this,function(){"use strict";var cp=Object.defineProperty;var vp=(br,Er,re)=>Er in br?cp(br,Er,{enumerable:!0,configurable:!0,writable:!0,value:re}):br[Er]=re;var Sr=(br,Er,re)=>vp(br,typeof Er!="symbol"?Er+"":Er,re);var br=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Er(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function re(r){if(r.__esModule)return r;var e=r.default;if(typeof e=="function"){var t=function a(){return this instanceof a?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(a){var n=Object.getOwnPropertyDescriptor(r,a);Object.defineProperty(t,a,n.get?n:{enumerable:!0,get:function(){return r[a]}})}),t}var _e,Po;function Oo(){if(Po)return _e;Po=1;var r=Object.prototype.toString;return _e=function(t){var a=r.call(t),n=a==="[object Arguments]";return n||(n=a!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&r.call(t.callee)==="[object Function]"),n},_e}var De,Io;function Ry(){if(Io)return De;Io=1;var r;if(!Object.keys){var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,a=Oo(),n=Object.prototype.propertyIsEnumerable,i=!n.call({toString:null},"toString"),o=n.call(function(){},"prototype"),y=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(E){var $=E.constructor;return $&&$.prototype===E},g={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if(typeof window>"u")return!1;for(var E in window)try{if(!g["$"+E]&&e.call(window,E)&&window[E]!==null&&typeof window[E]=="object")try{f(window[E])}catch{return!0}}catch{return!0}return!1}(),v=function(E){if(typeof window>"u"||!h)return f(E);try{return f(E)}catch{return!1}};r=function($){var j=$!==null&&typeof $=="object",I=t.call($)==="[object Function]",b=a($),U=j&&t.call($)==="[object String]",A=[];if(!j&&!I&&!b)throw new TypeError("Object.keys called on a non-object");var F=o&&I;if(U&&$.length>0&&!e.call($,0))for(var z=0;z<$.length;++z)A.push(String(z));if(b&&$.length>0)for(var K=0;K<$.length;++K)A.push(String(K));else for(var D in $)!(F&&D==="prototype")&&e.call($,D)&&A.push(String(D));if(i)for(var O=v($),Q=0;Q"u"||!I?r:I(Uint8Array),A={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":$&&I?I([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":e,"%eval%":eval,"%EvalError%":t,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":f,"%GeneratorFunction%":b,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":$&&I?I(I([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!$||!I?r:I(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":a,"%ReferenceError%":n,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!$||!I?r:I(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":$&&I?I(""[Symbol.iterator]()):r,"%Symbol%":$?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":E,"%TypedArray%":U,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":y,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet};if(I)try{null.error}catch(N){var F=I(I(N));A["%Error.prototype%"]=F}var z=function N(P){var R;if(P==="%AsyncFunction%")R=g("async function () {}");else if(P==="%GeneratorFunction%")R=g("function* () {}");else if(P==="%AsyncGeneratorFunction%")R=g("async function* () {}");else if(P==="%AsyncGenerator%"){var q=N("%AsyncGeneratorFunction%");q&&(R=q.prototype)}else if(P==="%AsyncIteratorPrototype%"){var M=N("%AsyncGenerator%");M&&I&&(R=I(M.prototype))}return A[P]=R,R},K={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},D=Pr(),O=Fr(),Q=D.call(Function.call,Array.prototype.concat),Y=D.call(Function.apply,Array.prototype.splice),er=D.call(Function.call,String.prototype.replace),G=D.call(Function.call,String.prototype.slice),H=D.call(Function.call,RegExp.prototype.exec),or=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,nr=function(P){var R=G(P,0,1),q=G(P,-1);if(R==="%"&&q!=="%")throw new i("invalid intrinsic syntax, expected closing `%`");if(q==="%"&&R!=="%")throw new i("invalid intrinsic syntax, expected opening `%`");var M=[];return er(P,or,function(J,X,u,x){M[M.length]=u?er(x,V,"$1"):X||J}),M},dr=function(P,R){var q=P,M;if(O(K,q)&&(M=K[q],q="%"+M[0]+"%"),O(A,q)){var J=A[q];if(J===b&&(J=z(q)),typeof J>"u"&&!R)throw new o("intrinsic "+P+" exists, but is not available. Please file an issue!");return{alias:M,name:q,value:J}}throw new i("intrinsic "+P+" does not exist!")};return et=function(P,R){if(typeof P!="string"||P.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof R!="boolean")throw new o('"allowMissing" argument must be a boolean');if(H(/^%?[^%]*%?$/,P)===null)throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var q=nr(P),M=q.length>0?q[0]:"",J=dr("%"+M+"%",R),X=J.name,u=J.value,x=!1,L=J.alias;L&&(M=L[0],Y(q,Q([0,1],L)));for(var k=1,C=!0;k=q.length){var l=h(u,w);C=!!l,C&&"get"in l&&!("originalValue"in l.get)?u=l.get:u=u[w]}else C=O(u,w),u=u[w];C&&!x&&(A[X]=u)}}return u},et}var tt,ko;function Re(){if(ko)return tt;ko=1;var r=Wr(),e=r("%Object.defineProperty%",!0)||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return tt=e,tt}var nt,Co;function Go(){if(Co)return nt;Co=1;var r=Wr(),e=r("%Object.getOwnPropertyDescriptor%",!0);if(e)try{e([],"length")}catch{e=null}return nt=e,nt}var ot,Wo;function at(){if(Wo)return ot;Wo=1;var r=Re(),e=wr(),t=gr(),a=Go();return ot=function(i,o,y){if(!i||typeof i!="object"&&typeof i!="function")throw new t("`obj` must be an object or a function`");if(typeof o!="string"&&typeof o!="symbol")throw new t("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new t("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new t("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new t("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new t("`loose`, if provided, must be a boolean");var f=arguments.length>3?arguments[3]:null,g=arguments.length>4?arguments[4]:null,h=arguments.length>5?arguments[5]:null,v=arguments.length>6?arguments[6]:!1,E=!!a&&a(i,o);if(r)r(i,o,{configurable:h===null&&E?E.configurable:!h,enumerable:f===null&&E?E.enumerable:!f,value:y,writable:g===null&&E?E.writable:!g});else if(v||!f&&!g&&!h)i[o]=y;else throw new e("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},ot}var it,Lo;function yt(){if(Lo)return it;Lo=1;var r=Re(),e=function(){return!!r};return e.hasArrayLengthDefineBug=function(){if(!r)return null;try{return r([],"length",{value:1}).length!==1}catch{return!0}},it=e,it}var ft,Ho;function Lr(){if(Ho)return ft;Ho=1;var r=Te(),e=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",t=Object.prototype.toString,a=Array.prototype.concat,n=at(),i=function(g){return typeof g=="function"&&t.call(g)==="[object Function]"},o=yt()(),y=function(g,h,v,E){if(h in g){if(E===!0){if(g[h]===v)return}else if(!i(E)||!E())return}o?n(g,h,v,!0):n(g,h,v)},f=function(g,h){var v=arguments.length>2?arguments[2]:{},E=r(h);e&&(E=a.call(E,Object.getOwnPropertySymbols(h)));for(var $=0;$4294967295||i(f)!==f)throw new n("`length` must be a positive 32-bit integer");var g=arguments.length>2&&!!arguments[2],h=!0,v=!0;if("length"in y&&a){var E=a(y,"length");E&&!E.configurable&&(h=!1),E&&!E.writable&&(v=!1)}return(h||v||!g)&&(t?e(y,"length",f,!0,!0):e(y,"length",f)),y},ut}var st,Jo;function By(){return Jo||(Jo=1,st=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),a=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var n=42;e[t]=n;for(t in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var i=Object.getOwnPropertySymbols(e);if(i.length!==1||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==n||o.enumerable!==!0)return!1}return!0}),st}var lt,zo;function Uy(){if(zo)return lt;zo=1;var r=typeof Symbol<"u"&&Symbol,e=By();return lt=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},lt}var ct,Ko;function qy(){if(Ko)return ct;Ko=1;var r,e=Rr(),t=qr(),a=xr(),n=jr(),i=wr(),o=gr(),y=Mr(),f=Function,g=function(N){try{return f('"use strict"; return ('+N+").constructor;")()}catch{}},h=Object.getOwnPropertyDescriptor;if(h)try{h({},"")}catch{h=null}var v=function(){throw new o},E=h?function(){try{return arguments.callee,v}catch{try{return h(arguments,"callee").get}catch{return v}}}():v,$=Uy()(),j=$e()(),I=Object.getPrototypeOf||(j?function(N){return N.__proto__}:null),b={},U=typeof Uint8Array>"u"||!I?r:I(Uint8Array),A={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":$&&I?I([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":e,"%eval%":eval,"%EvalError%":t,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":f,"%GeneratorFunction%":b,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":$&&I?I(I([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!$||!I?r:I(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":a,"%ReferenceError%":n,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!$||!I?r:I(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":$&&I?I(""[Symbol.iterator]()):r,"%Symbol%":$?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":E,"%TypedArray%":U,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":y,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet};if(I)try{null.error}catch(N){var F=I(I(N));A["%Error.prototype%"]=F}var z=function N(P){var R;if(P==="%AsyncFunction%")R=g("async function () {}");else if(P==="%GeneratorFunction%")R=g("function* () {}");else if(P==="%AsyncGeneratorFunction%")R=g("async function* () {}");else if(P==="%AsyncGenerator%"){var q=N("%AsyncGeneratorFunction%");q&&(R=q.prototype)}else if(P==="%AsyncIteratorPrototype%"){var M=N("%AsyncGenerator%");M&&I&&(R=I(M.prototype))}return A[P]=R,R},K={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},D=Pr(),O=Fr(),Q=D.call(Function.call,Array.prototype.concat),Y=D.call(Function.apply,Array.prototype.splice),er=D.call(Function.call,String.prototype.replace),G=D.call(Function.call,String.prototype.slice),H=D.call(Function.call,RegExp.prototype.exec),or=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,nr=function(P){var R=G(P,0,1),q=G(P,-1);if(R==="%"&&q!=="%")throw new i("invalid intrinsic syntax, expected closing `%`");if(q==="%"&&R!=="%")throw new i("invalid intrinsic syntax, expected opening `%`");var M=[];return er(P,or,function(J,X,u,x){M[M.length]=u?er(x,V,"$1"):X||J}),M},dr=function(P,R){var q=P,M;if(O(K,q)&&(M=K[q],q="%"+M[0]+"%"),O(A,q)){var J=A[q];if(J===b&&(J=z(q)),typeof J>"u"&&!R)throw new o("intrinsic "+P+" exists, but is not available. Please file an issue!");return{alias:M,name:q,value:J}}throw new i("intrinsic "+P+" does not exist!")};return ct=function(P,R){if(typeof P!="string"||P.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof R!="boolean")throw new o('"allowMissing" argument must be a boolean');if(H(/^%?[^%]*%?$/,P)===null)throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var q=nr(P),M=q.length>0?q[0]:"",J=dr("%"+M+"%",R),X=J.name,u=J.value,x=!1,L=J.alias;L&&(M=L[0],Y(q,Q([0,1],L)));for(var k=1,C=!0;k=q.length){var l=h(u,w);C=!!l,C&&"get"in l&&!("originalValue"in l.get)?u=l.get:u=u[w]}else C=O(u,w),u=u[w];C&&!x&&(A[X]=u)}}return u},ct}var vt,Yo;function xy(){if(Yo)return vt;Yo=1;var r=qy(),e=r("%Object.defineProperty%",!0)||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return vt=e,vt}var dt,Xo;function Hr(){return Xo||(Xo=1,dt=Function.prototype.call),dt}var gt,Qo;function Vr(){return Qo||(Qo=1,gt=Function.prototype.apply),gt}var ht,Zo;function jy(){return Zo||(Zo=1,ht=typeof Reflect<"u"&&Reflect&&Reflect.apply),ht}var mt,ra;function ea(){if(ra)return mt;ra=1;var r=Pr(),e=Vr(),t=Hr(),a=jy();return mt=a||r.call(t,e),mt}var St,ta;function ee(){if(ta)return St;ta=1;var r=Pr(),e=gr(),t=Hr(),a=ea();return St=function(i){if(i.length<1||typeof i[0]!="function")throw new e("a function is required");return a(r,t,i)},St}var At,na;function Fe(){if(na)return At;na=1;var r=Pr(),e=Vr(),t=ea();return At=function(){return t(r,e,arguments)},At}var oa;function My(){return oa||(oa=1,function(r){var e=de(),t=xy(),a=ee(),n=Fe();r.exports=function(o){var y=a(arguments),f=o.length-(arguments.length-1);return e(y,1+(f>0?f:0),!0)},t?t(r.exports,"apply",{value:n}):r.exports.apply=n}(pt)),pt.exports}var bt,aa;function ia(){return aa||(aa=1,bt=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),a=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var n=42;e[t]=n;for(var i in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var y=Object.getOwnPropertyDescriptor(e,t);if(y.value!==n||y.enumerable!==!0)return!1}return!0}),bt}var Pt,ya;function Jr(){return ya||(ya=1,Pt=Object),Pt}var Ot,fa;function ge(){return fa||(fa=1,Ot=Math.abs),Ot}var It,pa;function he(){return pa||(pa=1,It=Math.floor),It}var Et,ua;function me(){return ua||(ua=1,Et=Math.max),Et}var wt,sa;function Se(){return sa||(sa=1,wt=Math.min),wt}var $t,la;function Ae(){return la||(la=1,$t=Math.pow),$t}var Rt,ca;function be(){return ca||(ca=1,Rt=Math.round),Rt}var Ft,va;function _y(){return va||(va=1,Ft=Number.isNaN||function(e){return e!==e}),Ft}var Bt,da;function Pe(){if(da)return Bt;da=1;var r=_y();return Bt=function(t){return r(t)||t===0?t:t<0?-1:1},Bt}var Ut,ga;function Dy(){return ga||(ga=1,Ut=Object.getOwnPropertyDescriptor),Ut}var qt,ha;function Ny(){if(ha)return qt;ha=1;var r=Dy();if(r)try{r([],"length")}catch{r=null}return qt=r,qt}var xt,ma;function Ty(){if(ma)return xt;ma=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return xt=r,xt}var jt,Sa;function ky(){return Sa||(Sa=1,jt=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),a=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var n=42;e[t]=n;for(var i in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var y=Object.getOwnPropertyDescriptor(e,t);if(y.value!==n||y.enumerable!==!0)return!1}return!0}),jt}var Mt,Aa;function Cy(){if(Aa)return Mt;Aa=1;var r=typeof Symbol<"u"&&Symbol,e=ky();return Mt=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},Mt}var _t,ba;function te(){return ba||(ba=1,_t=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),_t}var Dt,Pa;function ne(){if(Pa)return Dt;Pa=1;var r=Jr();return Dt=r.getPrototypeOf||null,Dt}var Nt,Oa;function Gy(){return Oa||(Oa=1,Nt=Object.getOwnPropertyDescriptor),Nt}var Tt,Ia;function Wy(){if(Ia)return Tt;Ia=1;var r=Gy();if(r)try{r([],"length")}catch{r=null}return Tt=r,Tt}var kt,Ea;function Ly(){if(Ea)return kt;Ea=1;var r=ee(),e=Wy(),t;try{t=[].__proto__===Array.prototype}catch(o){if(!o||typeof o!="object"||!("code"in o)||o.code!=="ERR_PROTO_ACCESS")throw o}var a=!!t&&e&&e(Object.prototype,"__proto__"),n=Object,i=n.getPrototypeOf;return kt=a&&typeof a.get=="function"?r([a.get]):typeof i=="function"?function(y){return i(y==null?y:n(y))}:!1,kt}var Ct,wa;function oe(){if(wa)return Ct;wa=1;var r=te(),e=ne(),t=Ly();return Ct=r?function(n){return r(n)}:e?function(n){if(!n||typeof n!="object"&&typeof n!="function")throw new TypeError("getProto: not an object");return e(n)}:t?function(n){return t(n)}:null,Ct}var Gt,$a;function Hy(){if($a)return Gt;$a=1;var r,e=Jr(),t=Rr(),a=qr(),n=xr(),i=jr(),o=wr(),y=gr(),f=Mr(),g=ge(),h=he(),v=me(),E=Se(),$=Ae(),j=be(),I=Pe(),b=Function,U=function(w){try{return b('"use strict"; return ('+w+").constructor;")()}catch{}},A=Ny(),F=Ty(),z=function(){throw new y},K=A?function(){try{return arguments.callee,z}catch{try{return A(arguments,"callee").get}catch{return z}}}():z,D=Cy()(),O=oe(),Q=ne(),Y=te(),er=Vr(),G=Hr(),H={},or=typeof Uint8Array>"u"||!O?r:O(Uint8Array),V={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":D&&O?O([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":H,"%AsyncGenerator%":H,"%AsyncGeneratorFunction%":H,"%AsyncIteratorPrototype%":H,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":a,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":H,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":D&&O?O(O([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!D||!O?r:O(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":A,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":n,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!D||!O?r:O(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":D&&O?O(""[Symbol.iterator]()):r,"%Symbol%":D?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":K,"%TypedArray%":or,"%TypeError%":y,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":f,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":G,"%Function.prototype.apply%":er,"%Object.defineProperty%":F,"%Object.getPrototypeOf%":Q,"%Math.abs%":g,"%Math.floor%":h,"%Math.max%":v,"%Math.min%":E,"%Math.pow%":$,"%Math.round%":j,"%Math.sign%":I,"%Reflect.getPrototypeOf%":Y};if(O)try{null.error}catch(w){var nr=O(O(w));V["%Error.prototype%"]=nr}var dr=function w(s){var S;if(s==="%AsyncFunction%")S=U("async function () {}");else if(s==="%GeneratorFunction%")S=U("function* () {}");else if(s==="%AsyncGeneratorFunction%")S=U("async function* () {}");else if(s==="%AsyncGenerator%"){var l=w("%AsyncGeneratorFunction%");l&&(S=l.prototype)}else if(s==="%AsyncIteratorPrototype%"){var B=w("%AsyncGenerator%");B&&O&&(S=O(B.prototype))}return V[s]=S,S},N={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},P=Pr(),R=Fr(),q=P.call(G,Array.prototype.concat),M=P.call(er,Array.prototype.splice),J=P.call(G,String.prototype.replace),X=P.call(G,String.prototype.slice),u=P.call(G,RegExp.prototype.exec),x=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,L=/\\(\\)?/g,k=function(s){var S=X(s,0,1),l=X(s,-1);if(S==="%"&&l!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(l==="%"&&S!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var B=[];return J(s,x,function(T,Z,_,ar){B[B.length]=_?J(ar,L,"$1"):Z||T}),B},C=function(s,S){var l=s,B;if(R(N,l)&&(B=N[l],l="%"+B[0]+"%"),R(V,l)){var T=V[l];if(T===H&&(T=dr(l)),typeof T>"u"&&!S)throw new y("intrinsic "+s+" exists, but is not available. Please file an issue!");return{alias:B,name:l,value:T}}throw new o("intrinsic "+s+" does not exist!")};return Gt=function(s,S){if(typeof s!="string"||s.length===0)throw new y("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof S!="boolean")throw new y('"allowMissing" argument must be a boolean');if(u(/^%?[^%]*%?$/,s)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var l=k(s),B=l.length>0?l[0]:"",T=C("%"+B+"%",S),Z=T.name,_=T.value,ar=!1,pr=T.alias;pr&&(B=pr[0],M(l,q([0,1],pr)));for(var lr=1,ir=!0;lr=l.length){var sr=A(_,rr);ir=!!sr,ir&&"get"in sr&&!("originalValue"in sr.get)?_=sr.get:_=_[rr]}else ir=R(_,rr),_=_[rr];ir&&!ar&&(V[Z]=_)}}return _},Gt}var Wt,Ra;function _r(){if(Ra)return Wt;Ra=1;var r=Hy(),e=ee(),t=e([r("%String.prototype.indexOf%")]);return Wt=function(n,i){var o=r(n,!!i);return typeof o=="function"&&t(n,".prototype.")>-1?e([o]):o},Wt}var Lt,Fa;function Ba(){if(Fa)return Lt;Fa=1;var r=Te(),e=ia()(),t=_r(),a=Jr(),n=t("Array.prototype.push"),i=t("Object.prototype.propertyIsEnumerable"),o=e?a.getOwnPropertySymbols:null;return Lt=function(f,g){if(f==null)throw new TypeError("target must be an object");var h=a(f);if(arguments.length===1)return h;for(var v=1;v-1?e(o):o},Kt}var Yt={exports:{}},Na;function zy(){return Na||(Na=1,function(r){var e=de(),t=Re(),a=ee(),n=Fe();r.exports=function(o){var y=a(arguments),f=o.length-(arguments.length-1);return e(y,1+(f>0?f:0),!0)},t?t(r.exports,"apply",{value:n}):r.exports.apply=n}(Yt)),Yt.exports}var Xt,Ta;function Ky(){if(Ta)return Xt;Ta=1;var r=function(){return typeof(function(){}).name=="string"},e=Object.getOwnPropertyDescriptor;if(e)try{e([],"length")}catch{e=null}r.functionsHaveConfigurableNames=function(){if(!r()||!e)return!1;var n=e(function(){},"name");return!!n&&!!n.configurable};var t=Function.prototype.bind;return r.boundFunctionsHaveNames=function(){return r()&&typeof t=="function"&&(function(){}).bind().name!==""},Xt=r,Xt}var Qt,ka;function Yy(){if(ka)return Qt;ka=1;var r=at(),e=yt()(),t=Ky().functionsHaveConfigurableNames(),a=gr();return Qt=function(i,o){if(typeof i!="function")throw new a("`fn` is not a function");var y=arguments.length>2&&!!arguments[2];return(!y||t)&&(e?r(i,"name",o,!0,!0):r(i,"name",o)),i},Qt}var Zt,Ca;function Ga(){if(Ca)return Zt;Ca=1;var r=Yy(),e=gr(),t=Object;return Zt=r(function(){if(this==null||this!==t(this))throw new e("RegExp.prototype.flags getter called on non-object");var n="";return this.hasIndices&&(n+="d"),this.global&&(n+="g"),this.ignoreCase&&(n+="i"),this.multiline&&(n+="m"),this.dotAll&&(n+="s"),this.unicode&&(n+="u"),this.unicodeSets&&(n+="v"),this.sticky&&(n+="y"),n},"get flags",!0),Zt}var rn,Wa;function La(){if(Wa)return rn;Wa=1;var r=Ga(),e=Lr().supportsDescriptors,t=Object.getOwnPropertyDescriptor;return rn=function(){if(e&&/a/mig.flags==="gim"){var n=t(RegExp.prototype,"flags");if(n&&typeof n.get=="function"&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var i="",o={};if(Object.defineProperty(o,"hasIndices",{get:function(){i+="d"}}),Object.defineProperty(o,"sticky",{get:function(){i+="y"}}),n.get.call(o),i==="dy")return n.get}}return r},rn}var en,Ha;function Xy(){return Ha||(Ha=1,en=Object.getOwnPropertyDescriptor),en}var tn,Va;function Qy(){if(Va)return tn;Va=1;var r=Xy();if(r)try{r([],"length")}catch{r=null}return tn=r,tn}var nn,Ja;function Zy(){if(Ja)return nn;Ja=1;var r=Lr().supportsDescriptors,e=La(),t=Qy(),a=Object.defineProperty,n=Rr(),i=oe(),o=/a/;return nn=function(){if(!r||!i)throw new n("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var f=e(),g=i(o),h=t(g,"flags");return(!h||h.get!==f)&&a(g,"flags",{configurable:!0,enumerable:!1,get:f}),f},nn}var on,za;function rf(){if(za)return on;za=1;var r=Lr(),e=zy(),t=Ga(),a=La(),n=Zy(),i=e(a());return r(i,{getPolyfill:a,implementation:t,shim:n}),on=i,on}var an,Ka;function ef(){return Ka||(Ka=1,an=Object.getOwnPropertyDescriptor),an}var yn,Ya;function Xa(){if(Ya)return yn;Ya=1;var r=ef();if(r)try{r([],"length")}catch{r=null}return yn=r,yn}var fn,Qa;function tf(){if(Qa)return fn;Qa=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return fn=r,fn}var pn,Za;function nf(){if(Za)return pn;Za=1;var r=typeof Symbol<"u"&&Symbol,e=ia();return pn=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},pn}var un,ri;function ei(){if(ri)return un;ri=1;var r,e=Jr(),t=Rr(),a=qr(),n=xr(),i=jr(),o=wr(),y=gr(),f=Mr(),g=ge(),h=he(),v=me(),E=Se(),$=Ae(),j=be(),I=Pe(),b=Function,U=function(w){try{return b('"use strict"; return ('+w+").constructor;")()}catch{}},A=Xa(),F=tf(),z=function(){throw new y},K=A?function(){try{return arguments.callee,z}catch{try{return A(arguments,"callee").get}catch{return z}}}():z,D=nf()(),O=oe(),Q=ne(),Y=te(),er=Vr(),G=Hr(),H={},or=typeof Uint8Array>"u"||!O?r:O(Uint8Array),V={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":D&&O?O([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":H,"%AsyncGenerator%":H,"%AsyncGeneratorFunction%":H,"%AsyncIteratorPrototype%":H,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":a,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":H,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":D&&O?O(O([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!D||!O?r:O(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":A,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":n,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!D||!O?r:O(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":D&&O?O(""[Symbol.iterator]()):r,"%Symbol%":D?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":K,"%TypedArray%":or,"%TypeError%":y,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":f,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":G,"%Function.prototype.apply%":er,"%Object.defineProperty%":F,"%Object.getPrototypeOf%":Q,"%Math.abs%":g,"%Math.floor%":h,"%Math.max%":v,"%Math.min%":E,"%Math.pow%":$,"%Math.round%":j,"%Math.sign%":I,"%Reflect.getPrototypeOf%":Y};if(O)try{null.error}catch(w){var nr=O(O(w));V["%Error.prototype%"]=nr}var dr=function w(s){var S;if(s==="%AsyncFunction%")S=U("async function () {}");else if(s==="%GeneratorFunction%")S=U("function* () {}");else if(s==="%AsyncGeneratorFunction%")S=U("async function* () {}");else if(s==="%AsyncGenerator%"){var l=w("%AsyncGeneratorFunction%");l&&(S=l.prototype)}else if(s==="%AsyncIteratorPrototype%"){var B=w("%AsyncGenerator%");B&&O&&(S=O(B.prototype))}return V[s]=S,S},N={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},P=Pr(),R=Fr(),q=P.call(G,Array.prototype.concat),M=P.call(er,Array.prototype.splice),J=P.call(G,String.prototype.replace),X=P.call(G,String.prototype.slice),u=P.call(G,RegExp.prototype.exec),x=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,L=/\\(\\)?/g,k=function(s){var S=X(s,0,1),l=X(s,-1);if(S==="%"&&l!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(l==="%"&&S!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var B=[];return J(s,x,function(T,Z,_,ar){B[B.length]=_?J(ar,L,"$1"):Z||T}),B},C=function(s,S){var l=s,B;if(R(N,l)&&(B=N[l],l="%"+B[0]+"%"),R(V,l)){var T=V[l];if(T===H&&(T=dr(l)),typeof T>"u"&&!S)throw new y("intrinsic "+s+" exists, but is not available. Please file an issue!");return{alias:B,name:l,value:T}}throw new o("intrinsic "+s+" does not exist!")};return un=function(s,S){if(typeof s!="string"||s.length===0)throw new y("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof S!="boolean")throw new y('"allowMissing" argument must be a boolean');if(u(/^%?[^%]*%?$/,s)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var l=k(s),B=l.length>0?l[0]:"",T=C("%"+B+"%",S),Z=T.name,_=T.value,ar=!1,pr=T.alias;pr&&(B=pr[0],M(l,q([0,1],pr)));for(var lr=1,ir=!0;lr=l.length){var sr=A(_,rr);ir=!!sr,ir&&"get"in sr&&!("originalValue"in sr.get)?_=sr.get:_=_[rr]}else ir=R(_,rr),_=_[rr];ir&&!ar&&(V[Z]=_)}}return _},un}var Oe={exports:{}},sn,ti;function zr(){if(ti)return sn;ti=1;var r=ze();return sn=function(){return r()&&!!Symbol.toStringTag},sn}var ln,ni;function oi(){if(ni)return ln;ni=1;var r=zr()(),e=_r(),t=e("Object.prototype.toString"),a=function(y){return r&&y&&typeof y=="object"&&Symbol.toStringTag in y?!1:t(y)==="[object Arguments]"},n=function(y){return a(y)?!0:y!==null&&typeof y=="object"&&"length"in y&&typeof y.length=="number"&&y.length>=0&&t(y)!=="[object Array]"&&"callee"in y&&t(y.callee)==="[object Function]"},i=function(){return a(arguments)}();return a.isLegacyArguments=n,ln=i?a:n,ln}const ai=re(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var cn,ii;function Be(){if(ii)return cn;ii=1;var r=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,t=r&&e&&typeof e.get=="function"?e.get:null,a=r&&Map.prototype.forEach,n=typeof Set=="function"&&Set.prototype,i=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,o=n&&i&&typeof i.get=="function"?i.get:null,y=n&&Set.prototype.forEach,f=typeof WeakMap=="function"&&WeakMap.prototype,g=f?WeakMap.prototype.has:null,h=typeof WeakSet=="function"&&WeakSet.prototype,v=h?WeakSet.prototype.has:null,E=typeof WeakRef=="function"&&WeakRef.prototype,$=E?WeakRef.prototype.deref:null,j=Boolean.prototype.valueOf,I=Object.prototype.toString,b=Function.prototype.toString,U=String.prototype.match,A=String.prototype.slice,F=String.prototype.replace,z=String.prototype.toUpperCase,K=String.prototype.toLowerCase,D=RegExp.prototype.test,O=Array.prototype.concat,Q=Array.prototype.join,Y=Array.prototype.slice,er=Math.floor,G=typeof BigInt=="function"?BigInt.prototype.valueOf:null,H=Object.getOwnPropertySymbols,or=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,V=typeof Symbol=="function"&&typeof Symbol.iterator=="object",nr=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===V||!0)?Symbol.toStringTag:null,dr=Object.prototype.propertyIsEnumerable,N=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(p){return p.__proto__}:null);function P(p,c){if(p===1/0||p===-1/0||p!==p||p&&p>-1e3&&p<1e3||D.call(/e/,c))return c;var W=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof p=="number"){var fr=p<0?-er(-p):er(p);if(fr!==p){var ur=String(fr),tr=A.call(c,ur.length+1);return F.call(ur,W,"$&_")+"."+F.call(F.call(tr,/([0-9]{3})/g,"$&_"),/_$/,"")}}return F.call(c,W,"$&_")}var R=ai,q=R.custom,M=T(q)?q:null,J={__proto__:null,double:'"',single:"'"},X={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};cn=function p(c,W,fr,ur){var tr=W||{};if(ar(tr,"quoteStyle")&&!ar(J,tr.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ar(tr,"maxStringLength")&&(typeof tr.maxStringLength=="number"?tr.maxStringLength<0&&tr.maxStringLength!==1/0:tr.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Ar=ar(tr,"customInspect")?tr.customInspect:!0;if(typeof Ar!="boolean"&&Ar!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ar(tr,"indent")&&tr.indent!==null&&tr.indent!==" "&&!(parseInt(tr.indent,10)===tr.indent&&tr.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ar(tr,"numericSeparator")&&typeof tr.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var $r=tr.numericSeparator;if(typeof c>"u")return"undefined";if(c===null)return"null";if(typeof c=="boolean")return c?"true":"false";if(typeof c=="string")return Br(c,tr);if(typeof c=="number"){if(c===0)return 1/0/c>0?"0":"-0";var hr=String(c);return $r?P(c,hr):hr}if(typeof c=="bigint"){var mr=String(c)+"n";return $r?P(c,mr):mr}var pe=typeof tr.depth>"u"?5:tr.depth;if(typeof fr>"u"&&(fr=0),fr>=pe&&pe>0&&typeof c=="object")return k(c)?"[Array]":"[Object]";var Dr=d(tr,fr);if(typeof ur>"u")ur=[];else if(ir(ur,c)>=0)return"[Circular]";function Ir(kr,Me,lp){if(Me&&(ur=Y.call(ur),ur.push(Me)),lp){var $y={depth:tr.depth};return ar(tr,"quoteStyle")&&($y.quoteStyle=tr.quoteStyle),p(kr,$y,fr+1,ur)}return p(kr,tr,fr+1,ur)}if(typeof c=="function"&&!w(c)){var Gr=lr(c),ue=yr(c,Ir);return"[Function"+(Gr?": "+Gr:" (anonymous)")+"]"+(ue.length>0?" { "+Q.call(ue,", ")+" }":"")}if(T(c)){var Kr=V?F.call(String(c),/^(Symbol\(.*\))_[^)]*$/,"$1"):or.call(c);return typeof c=="object"&&!V?Ur(Kr):Kr}if(Or(c)){for(var Nr="<"+K.call(String(c.nodeName)),Yr=c.attributes||[],Xr=0;Xr",Nr}if(k(c)){if(c.length===0)return"[]";var se=yr(c,Ir);return Dr&&!fe(se)?"["+m(se,Dr)+"]":"[ "+Q.call(se,", ")+" ]"}if(s(c)){var Qr=yr(c,Ir);return!("cause"in Error.prototype)&&"cause"in c&&!dr.call(c,"cause")?"{ ["+String(c)+"] "+Q.call(O.call("[cause]: "+Ir(c.cause),Qr),", ")+" }":Qr.length===0?"["+String(c)+"]":"{ ["+String(c)+"] "+Q.call(Qr,", ")+" }"}if(typeof c=="object"&&Ar){if(M&&typeof c[M]=="function"&&R)return R(c,{depth:pe-fr});if(Ar!=="symbol"&&typeof c.inspect=="function")return c.inspect()}if(rr(c)){var Ee=[];return a&&a.call(c,function(kr,Me){Ee.push(Ir(Me,c,!0)+" => "+Ir(kr,c))}),ye("Map",t.call(c),Ee,Dr)}if(sr(c)){var le=[];return y&&y.call(c,function(kr){le.push(Ir(kr,c))}),ye("Set",o.call(c),le,Dr)}if(cr(c))return Ie("WeakMap");if(ie(c))return Ie("WeakSet");if(vr(c))return Ie("WeakRef");if(l(c))return Ur(Ir(Number(c)));if(Z(c))return Ur(Ir(G.call(c)));if(B(c))return Ur(j.call(c));if(S(c))return Ur(Ir(String(c)));if(typeof window<"u"&&c===window)return"{ [object Window] }";if(typeof globalThis<"u"&&c===globalThis||typeof br<"u"&&c===br)return"{ [object globalThis] }";if(!C(c)&&!w(c)){var ce=yr(c,Ir),je=N?N(c)===Object.prototype:c instanceof Object||c.constructor===Object,Zr=c instanceof Object?"":"null prototype",Tr=!je&&nr&&Object(c)===c&&nr in c?A.call(pr(c),8,-1):Zr?"Object":"",ve=je||typeof c.constructor!="function"?"":c.constructor.name?c.constructor.name+" ":"",we=ve+(Tr||Zr?"["+Q.call(O.call([],Tr||[],Zr||[]),": ")+"] ":"");return ce.length===0?we+"{}":Dr?we+"{"+m(ce,Dr)+"}":we+"{ "+Q.call(ce,", ")+" }"}return String(c)};function u(p,c,W){var fr=W.quoteStyle||c,ur=J[fr];return ur+p+ur}function x(p){return F.call(String(p),/"/g,""")}function L(p){return!nr||!(typeof p=="object"&&(nr in p||typeof p[nr]<"u"))}function k(p){return pr(p)==="[object Array]"&&L(p)}function C(p){return pr(p)==="[object Date]"&&L(p)}function w(p){return pr(p)==="[object RegExp]"&&L(p)}function s(p){return pr(p)==="[object Error]"&&L(p)}function S(p){return pr(p)==="[object String]"&&L(p)}function l(p){return pr(p)==="[object Number]"&&L(p)}function B(p){return pr(p)==="[object Boolean]"&&L(p)}function T(p){if(V)return p&&typeof p=="object"&&p instanceof Symbol;if(typeof p=="symbol")return!0;if(!p||typeof p!="object"||!or)return!1;try{return or.call(p),!0}catch{}return!1}function Z(p){if(!p||typeof p!="object"||!G)return!1;try{return G.call(p),!0}catch{}return!1}var _=Object.prototype.hasOwnProperty||function(p){return p in this};function ar(p,c){return _.call(p,c)}function pr(p){return I.call(p)}function lr(p){if(p.name)return p.name;var c=U.call(b.call(p),/^function\s*([\w$]+)/);return c?c[1]:null}function ir(p,c){if(p.indexOf)return p.indexOf(c);for(var W=0,fr=p.length;Wc.maxStringLength){var W=p.length-c.maxStringLength,fr="... "+W+" more character"+(W>1?"s":"");return Br(A.call(p,0,c.maxStringLength),c)+fr}var ur=X[c.quoteStyle||"single"];ur.lastIndex=0;var tr=F.call(F.call(p,ur,"\\$1"),/[\x00-\x1f]/g,Cr);return u(tr,"single",c)}function Cr(p){var c=p.charCodeAt(0),W={8:"b",9:"t",10:"n",12:"f",13:"r"}[c];return W?"\\"+W:"\\x"+(c<16?"0":"")+z.call(c.toString(16))}function Ur(p){return"Object("+p+")"}function Ie(p){return p+" { ? }"}function ye(p,c,W,fr){var ur=fr?m(W,fr):Q.call(W,", ");return p+" ("+c+") {"+ur+"}"}function fe(p){for(var c=0;c=0)return!1;return!0}function d(p,c){var W;if(p.indent===" ")W=" ";else if(typeof p.indent=="number"&&p.indent>0)W=Q.call(Array(p.indent+1)," ");else return null;return{base:W,prev:Q.call(Array(c+1),W)}}function m(p,c){if(p.length===0)return"";var W=` -`+c.prev+c.base;return W+Q.call(p,","+W)+` -`+c.prev}function yr(p,c){var W=k(p),fr=[];if(W){fr.length=p.length;for(var ur=0;ur"u"||!O?r:O(Uint8Array),V={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":D&&O?O([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":H,"%AsyncGenerator%":H,"%AsyncGeneratorFunction%":H,"%AsyncIteratorPrototype%":H,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":a,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":H,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":D&&O?O(O([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!D||!O?r:O(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":A,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":n,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!D||!O?r:O(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":D&&O?O(""[Symbol.iterator]()):r,"%Symbol%":D?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":K,"%TypedArray%":or,"%TypeError%":y,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":f,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":G,"%Function.prototype.apply%":er,"%Object.defineProperty%":F,"%Object.getPrototypeOf%":Q,"%Math.abs%":g,"%Math.floor%":h,"%Math.max%":v,"%Math.min%":E,"%Math.pow%":$,"%Math.round%":j,"%Math.sign%":I,"%Reflect.getPrototypeOf%":Y};if(O)try{null.error}catch(w){var nr=O(O(w));V["%Error.prototype%"]=nr}var dr=function w(s){var S;if(s==="%AsyncFunction%")S=U("async function () {}");else if(s==="%GeneratorFunction%")S=U("function* () {}");else if(s==="%AsyncGeneratorFunction%")S=U("async function* () {}");else if(s==="%AsyncGenerator%"){var l=w("%AsyncGeneratorFunction%");l&&(S=l.prototype)}else if(s==="%AsyncIteratorPrototype%"){var B=w("%AsyncGenerator%");B&&O&&(S=O(B.prototype))}return V[s]=S,S},N={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},P=Pr(),R=Fr(),q=P.call(G,Array.prototype.concat),M=P.call(er,Array.prototype.splice),J=P.call(G,String.prototype.replace),X=P.call(G,String.prototype.slice),u=P.call(G,RegExp.prototype.exec),x=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,L=/\\(\\)?/g,k=function(s){var S=X(s,0,1),l=X(s,-1);if(S==="%"&&l!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(l==="%"&&S!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var B=[];return J(s,x,function(T,Z,_,ar){B[B.length]=_?J(ar,L,"$1"):Z||T}),B},C=function(s,S){var l=s,B;if(R(N,l)&&(B=N[l],l="%"+B[0]+"%"),R(V,l)){var T=V[l];if(T===H&&(T=dr(l)),typeof T>"u"&&!S)throw new y("intrinsic "+s+" exists, but is not available. Please file an issue!");return{alias:B,name:l,value:T}}throw new o("intrinsic "+s+" does not exist!")};return An=function(s,S){if(typeof s!="string"||s.length===0)throw new y("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof S!="boolean")throw new y('"allowMissing" argument must be a boolean');if(u(/^%?[^%]*%?$/,s)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var l=k(s),B=l.length>0?l[0]:"",T=C("%"+B+"%",S),Z=T.name,_=T.value,ar=!1,pr=T.alias;pr&&(B=pr[0],M(l,q([0,1],pr)));for(var lr=1,ir=!0;lr=l.length){var sr=A(_,rr);ir=!!sr,ir&&"get"in sr&&!("originalValue"in sr.get)?_=sr.get:_=_[rr]}else ir=R(_,rr),_=_[rr];ir&&!ar&&(V[Z]=_)}}return _},An}var bn,vi;function di(){if(vi)return bn;vi=1;var r=sf(),e=_r(),t=Be(),a=gr(),n=r("%Map%",!0),i=e("Map.prototype.get",!0),o=e("Map.prototype.set",!0),y=e("Map.prototype.has",!0),f=e("Map.prototype.delete",!0),g=e("Map.prototype.size",!0);return bn=!!n&&function(){var v,E={assert:function($){if(!E.has($))throw new a("Side channel does not contain "+t($))},delete:function($){if(v){var j=f(v,$);return g(v)===0&&(v=void 0),j}return!1},get:function($){if(v)return i(v,$)},has:function($){return v?y(v,$):!1},set:function($,j){v||(v=new n),o(v,$,j)}};return E},bn}var Pn,gi;function lf(){return gi||(gi=1,Pn=Object.getOwnPropertyDescriptor),Pn}var On,hi;function cf(){if(hi)return On;hi=1;var r=lf();if(r)try{r([],"length")}catch{r=null}return On=r,On}var In,mi;function vf(){if(mi)return In;mi=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return In=r,In}var En,Si;function df(){return Si||(Si=1,En=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),a=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var n=42;e[t]=n;for(var i in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var y=Object.getOwnPropertyDescriptor(e,t);if(y.value!==n||y.enumerable!==!0)return!1}return!0}),En}var wn,Ai;function gf(){if(Ai)return wn;Ai=1;var r=typeof Symbol<"u"&&Symbol,e=df();return wn=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},wn}var $n,bi;function hf(){if(bi)return $n;bi=1;var r,e=Jr(),t=Rr(),a=qr(),n=xr(),i=jr(),o=wr(),y=gr(),f=Mr(),g=ge(),h=he(),v=me(),E=Se(),$=Ae(),j=be(),I=Pe(),b=Function,U=function(w){try{return b('"use strict"; return ('+w+").constructor;")()}catch{}},A=cf(),F=vf(),z=function(){throw new y},K=A?function(){try{return arguments.callee,z}catch{try{return A(arguments,"callee").get}catch{return z}}}():z,D=gf()(),O=oe(),Q=ne(),Y=te(),er=Vr(),G=Hr(),H={},or=typeof Uint8Array>"u"||!O?r:O(Uint8Array),V={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":D&&O?O([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":H,"%AsyncGenerator%":H,"%AsyncGeneratorFunction%":H,"%AsyncIteratorPrototype%":H,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":a,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":H,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":D&&O?O(O([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!D||!O?r:O(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":A,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":n,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!D||!O?r:O(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":D&&O?O(""[Symbol.iterator]()):r,"%Symbol%":D?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":K,"%TypedArray%":or,"%TypeError%":y,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":f,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":G,"%Function.prototype.apply%":er,"%Object.defineProperty%":F,"%Object.getPrototypeOf%":Q,"%Math.abs%":g,"%Math.floor%":h,"%Math.max%":v,"%Math.min%":E,"%Math.pow%":$,"%Math.round%":j,"%Math.sign%":I,"%Reflect.getPrototypeOf%":Y};if(O)try{null.error}catch(w){var nr=O(O(w));V["%Error.prototype%"]=nr}var dr=function w(s){var S;if(s==="%AsyncFunction%")S=U("async function () {}");else if(s==="%GeneratorFunction%")S=U("function* () {}");else if(s==="%AsyncGeneratorFunction%")S=U("async function* () {}");else if(s==="%AsyncGenerator%"){var l=w("%AsyncGeneratorFunction%");l&&(S=l.prototype)}else if(s==="%AsyncIteratorPrototype%"){var B=w("%AsyncGenerator%");B&&O&&(S=O(B.prototype))}return V[s]=S,S},N={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},P=Pr(),R=Fr(),q=P.call(G,Array.prototype.concat),M=P.call(er,Array.prototype.splice),J=P.call(G,String.prototype.replace),X=P.call(G,String.prototype.slice),u=P.call(G,RegExp.prototype.exec),x=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,L=/\\(\\)?/g,k=function(s){var S=X(s,0,1),l=X(s,-1);if(S==="%"&&l!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(l==="%"&&S!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var B=[];return J(s,x,function(T,Z,_,ar){B[B.length]=_?J(ar,L,"$1"):Z||T}),B},C=function(s,S){var l=s,B;if(R(N,l)&&(B=N[l],l="%"+B[0]+"%"),R(V,l)){var T=V[l];if(T===H&&(T=dr(l)),typeof T>"u"&&!S)throw new y("intrinsic "+s+" exists, but is not available. Please file an issue!");return{alias:B,name:l,value:T}}throw new o("intrinsic "+s+" does not exist!")};return $n=function(s,S){if(typeof s!="string"||s.length===0)throw new y("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof S!="boolean")throw new y('"allowMissing" argument must be a boolean');if(u(/^%?[^%]*%?$/,s)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var l=k(s),B=l.length>0?l[0]:"",T=C("%"+B+"%",S),Z=T.name,_=T.value,ar=!1,pr=T.alias;pr&&(B=pr[0],M(l,q([0,1],pr)));for(var lr=1,ir=!0;lr=l.length){var sr=A(_,rr);ir=!!sr,ir&&"get"in sr&&!("originalValue"in sr.get)?_=sr.get:_=_[rr]}else ir=R(_,rr),_=_[rr];ir&&!ar&&(V[Z]=_)}}return _},$n}var Rn,Pi;function mf(){if(Pi)return Rn;Pi=1;var r=hf(),e=_r(),t=Be(),a=di(),n=gr(),i=r("%WeakMap%",!0),o=e("WeakMap.prototype.get",!0),y=e("WeakMap.prototype.set",!0),f=e("WeakMap.prototype.has",!0),g=e("WeakMap.prototype.delete",!0);return Rn=i?function(){var v,E,$={assert:function(j){if(!$.has(j))throw new n("Side channel does not contain "+t(j))},delete:function(j){if(i&&j&&(typeof j=="object"||typeof j=="function")){if(v)return g(v,j)}else if(a&&E)return E.delete(j);return!1},get:function(j){return i&&j&&(typeof j=="object"||typeof j=="function")&&v?o(v,j):E&&E.get(j)},has:function(j){return i&&j&&(typeof j=="object"||typeof j=="function")&&v?f(v,j):!!E&&E.has(j)},set:function(j,I){i&&j&&(typeof j=="object"||typeof j=="function")?(v||(v=new i),y(v,j,I)):a&&(E||(E=a()),E.set(j,I))}};return $}:a,Rn}var Fn,Oi;function Sf(){if(Oi)return Fn;Oi=1;var r=gr(),e=Be(),t=of(),a=di(),n=mf(),i=n||a||t;return Fn=function(){var y,f={assert:function(g){if(!f.has(g))throw new r("Side channel does not contain "+e(g))},delete:function(g){return!!y&&y.delete(g)},get:function(g){return y&&y.get(g)},has:function(g){return!!y&&y.has(g)},set:function(g,h){y||(y=i()),y.set(g,h)}};return f},Fn}var Bn,Ii;function Af(){if(Ii)return Bn;Ii=1;var r=Fr(),e=Sf()(),t=gr(),a={assert:function(n,i){if(!n||typeof n!="object"&&typeof n!="function")throw new t("`O` is not an object");if(typeof i!="string")throw new t("`slot` must be a string");if(e.assert(n),!a.has(n,i))throw new t("`"+i+"` is not present on `O`")},get:function(n,i){if(!n||typeof n!="object"&&typeof n!="function")throw new t("`O` is not an object");if(typeof i!="string")throw new t("`slot` must be a string");var o=e.get(n);return o&&o["$"+i]},has:function(n,i){if(!n||typeof n!="object"&&typeof n!="function")throw new t("`O` is not an object");if(typeof i!="string")throw new t("`slot` must be a string");var o=e.get(n);return!!o&&r(o,"$"+i)},set:function(n,i,o){if(!n||typeof n!="object"&&typeof n!="function")throw new t("`O` is not an object");if(typeof i!="string")throw new t("`slot` must be a string");var y=e.get(n);y||(y={},e.set(n,y)),y["$"+i]=o}};return Object.freeze&&Object.freeze(a),Bn=a,Bn}var Un,Ei;function bf(){if(Ei)return Un;Ei=1;var r=Af(),e=wr(),t=typeof StopIteration=="object"?StopIteration:null;return Un=function(n){if(!t)throw new e("this environment lacks StopIteration");r.set(n,"[[Done]]",!1);var i={next:function(){var y=r.get(this,"[[Iterator]]"),f=!!r.get(y,"[[Done]]");try{return{done:f,value:f?void 0:y.next()}}catch(g){if(r.set(y,"[[Done]]",!0),g!==t)throw g;return{done:!0,value:void 0}}}};return r.set(i,"[[Iterator]]",n),i},Un}var qn,wi;function $i(){if(wi)return qn;wi=1;var r={}.toString;return qn=Array.isArray||function(e){return r.call(e)=="[object Array]"},qn}var xn,Ri;function Fi(){if(Ri)return xn;Ri=1;var r=String.prototype.valueOf,e=function(o){try{return r.call(o),!0}catch{return!1}},t=Object.prototype.toString,a="[object String]",n=zr()();return xn=function(o){return typeof o=="string"?!0:typeof o!="object"?!1:n?e(o):t.call(o)===a},xn}var jn,Bi;function Ui(){if(Bi)return jn;Bi=1;var r=typeof Map=="function"&&Map.prototype?Map:null,e=typeof Set=="function"&&Set.prototype?Set:null,t;r||(t=function(o){return!1});var a=r?Map.prototype.has:null,n=e?Set.prototype.has:null;return!t&&!a&&(t=function(o){return!1}),jn=t||function(o){if(!o||typeof o!="object")return!1;try{if(a.call(o),n)try{n.call(o)}catch{return!0}return o instanceof r}catch{}return!1},jn}var Mn,qi;function xi(){if(qi)return Mn;qi=1;var r=typeof Map=="function"&&Map.prototype?Map:null,e=typeof Set=="function"&&Set.prototype?Set:null,t;e||(t=function(o){return!1});var a=r?Map.prototype.has:null,n=e?Set.prototype.has:null;return!t&&!n&&(t=function(o){return!1}),Mn=t||function(o){if(!o||typeof o!="object")return!1;try{if(n.call(o),a)try{a.call(o)}catch{return!0}return o instanceof e}catch{}return!1},Mn}var ji;function Pf(){if(ji)return Oe.exports;ji=1;var r=oi(),e=bf();if(Ye()()||ze()()){var t=Symbol.iterator;Oe.exports=function(Y){if(Y!=null&&typeof Y[t]<"u")return Y[t]();if(r(Y))return Array.prototype[t].call(Y)}}else{var a=$i(),n=Fi(),i=Wr(),o=i("%Map%",!0),y=i("%Set%",!0),f=ae(),g=f("Array.prototype.push"),h=f("String.prototype.charCodeAt"),v=f("String.prototype.slice"),E=function(Y,er){var G=Y.length;if(er+1>=G)return er+1;var H=h(Y,er);if(H<55296||H>56319)return er+1;var or=h(Y,er+1);return or<56320||or>57343?er+1:er+2},$=function(Y){var er=0;return{next:function(){var H=er>=Y.length,or;return H||(or=Y[er],er+=1),{done:H,value:or}}}},j=function(Y,er){if(a(Y)||r(Y))return $(Y);if(n(Y)){var G=0;return{next:function(){var or=E(Y,G),V=v(Y,G,or);return G=or,{done:or>Y.length,value:V}}}}if(er&&typeof Y["_es6-shim iterator_"]<"u")return Y["_es6-shim iterator_"]()};if(!o&&!y)Oe.exports=function(Y){if(Y!=null)return j(Y,!0)};else{var I=Ui(),b=xi(),U=f("Map.prototype.forEach",!0),A=f("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var F=f("Map.prototype.iterator",!0),z=f("Set.prototype.iterator",!0);var K=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),D=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0),O=function(Y){if(I(Y)){if(F)return e(F(Y));if(K)return K(Y);if(U){var er=[];return U(Y,function(H,or){g(er,[or,H])}),$(er)}}if(b(Y)){if(z)return e(z(Y));if(D)return D(Y);if(A){var G=[];return A(Y,function(H){g(G,H)}),$(G)}}};Oe.exports=function(Y){return O(Y)||j(Y)}}}return Oe.exports}var _n,Mi;function Of(){if(Mi)return _n;Mi=1;var r=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,t=r&&e&&typeof e.get=="function"?e.get:null,a=r&&Map.prototype.forEach,n=typeof Set=="function"&&Set.prototype,i=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,o=n&&i&&typeof i.get=="function"?i.get:null,y=n&&Set.prototype.forEach,f=typeof WeakMap=="function"&&WeakMap.prototype,g=f?WeakMap.prototype.has:null,h=typeof WeakSet=="function"&&WeakSet.prototype,v=h?WeakSet.prototype.has:null,E=typeof WeakRef=="function"&&WeakRef.prototype,$=E?WeakRef.prototype.deref:null,j=Boolean.prototype.valueOf,I=Object.prototype.toString,b=Function.prototype.toString,U=String.prototype.match,A=String.prototype.slice,F=String.prototype.replace,z=String.prototype.toUpperCase,K=String.prototype.toLowerCase,D=RegExp.prototype.test,O=Array.prototype.concat,Q=Array.prototype.join,Y=Array.prototype.slice,er=Math.floor,G=typeof BigInt=="function"?BigInt.prototype.valueOf:null,H=Object.getOwnPropertySymbols,or=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,V=typeof Symbol=="function"&&typeof Symbol.iterator=="object",nr=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===V||!0)?Symbol.toStringTag:null,dr=Object.prototype.propertyIsEnumerable,N=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(d){return d.__proto__}:null);function P(d,m){if(d===1/0||d===-1/0||d!==d||d&&d>-1e3&&d<1e3||D.call(/e/,m))return m;var yr=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof d=="number"){var p=d<0?-er(-d):er(d);if(p!==d){var c=String(p),W=A.call(m,c.length+1);return F.call(c,yr,"$&_")+"."+F.call(F.call(W,/([0-9]{3})/g,"$&_"),/_$/,"")}}return F.call(m,yr,"$&_")}var R=ai,q=R.custom,M=S(q)?q:null;_n=function d(m,yr,p,c){var W=yr||{};if(T(W,"quoteStyle")&&W.quoteStyle!=="single"&&W.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(T(W,"maxStringLength")&&(typeof W.maxStringLength=="number"?W.maxStringLength<0&&W.maxStringLength!==1/0:W.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var fr=T(W,"customInspect")?W.customInspect:!0;if(typeof fr!="boolean"&&fr!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(T(W,"indent")&&W.indent!==null&&W.indent!==" "&&!(parseInt(W.indent,10)===W.indent&&W.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(T(W,"numericSeparator")&&typeof W.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var ur=W.numericSeparator;if(typeof m>"u")return"undefined";if(m===null)return"null";if(typeof m=="boolean")return m?"true":"false";if(typeof m=="string")return sr(m,W);if(typeof m=="number"){if(m===0)return 1/0/m>0?"0":"-0";var tr=String(m);return ur?P(m,tr):tr}if(typeof m=="bigint"){var Ar=String(m)+"n";return ur?P(m,Ar):Ar}var $r=typeof W.depth>"u"?5:W.depth;if(typeof p>"u"&&(p=0),p>=$r&&$r>0&&typeof m=="object")return u(m)?"[Array]":"[Object]";var hr=Ie(W,p);if(typeof c>"u")c=[];else if(ar(c,m)>=0)return"[Circular]";function mr(Tr,ve,we){if(ve&&(c=Y.call(c),c.push(ve)),we){var kr={depth:W.depth};return T(W,"quoteStyle")&&(kr.quoteStyle=W.quoteStyle),d(Tr,kr,p+1,c)}return d(Tr,W,p+1,c)}if(typeof m=="function"&&!L(m)){var pe=_(m),Dr=fe(m,mr);return"[Function"+(pe?": "+pe:" (anonymous)")+"]"+(Dr.length>0?" { "+Q.call(Dr,", ")+" }":"")}if(S(m)){var Ir=V?F.call(String(m),/^(Symbol\(.*\))_[^)]*$/,"$1"):or.call(m);return typeof m=="object"&&!V?Or(Ir):Ir}if(vr(m)){for(var Gr="<"+K.call(String(m.nodeName)),ue=m.attributes||[],Kr=0;Kr",Gr}if(u(m)){if(m.length===0)return"[]";var Nr=fe(m,mr);return hr&&!Ur(Nr)?"["+ye(Nr,hr)+"]":"[ "+Q.call(Nr,", ")+" ]"}if(k(m)){var Yr=fe(m,mr);return!("cause"in Error.prototype)&&"cause"in m&&!dr.call(m,"cause")?"{ ["+String(m)+"] "+Q.call(O.call("[cause]: "+mr(m.cause),Yr),", ")+" }":Yr.length===0?"["+String(m)+"]":"{ ["+String(m)+"] "+Q.call(Yr,", ")+" }"}if(typeof m=="object"&&fr){if(M&&typeof m[M]=="function"&&R)return R(m,{depth:$r-p});if(fr!=="symbol"&&typeof m.inspect=="function")return m.inspect()}if(pr(m)){var Xr=[];return a&&a.call(m,function(Tr,ve){Xr.push(mr(ve,m,!0)+" => "+mr(Tr,m))}),Cr("Map",t.call(m),Xr,hr)}if(rr(m)){var se=[];return y&&y.call(m,function(Tr){se.push(mr(Tr,m))}),Cr("Set",o.call(m),se,hr)}if(lr(m))return Br("WeakMap");if(cr(m))return Br("WeakSet");if(ir(m))return Br("WeakRef");if(w(m))return Or(mr(Number(m)));if(l(m))return Or(mr(G.call(m)));if(s(m))return Or(j.call(m));if(C(m))return Or(mr(String(m)));if(typeof window<"u"&&m===window)return"{ [object Window] }";if(m===br)return"{ [object globalThis] }";if(!x(m)&&!L(m)){var Qr=fe(m,mr),Ee=N?N(m)===Object.prototype:m instanceof Object||m.constructor===Object,le=m instanceof Object?"":"null prototype",ce=!Ee&&nr&&Object(m)===m&&nr in m?A.call(Z(m),8,-1):le?"Object":"",je=Ee||typeof m.constructor!="function"?"":m.constructor.name?m.constructor.name+" ":"",Zr=je+(ce||le?"["+Q.call(O.call([],ce||[],le||[]),": ")+"] ":"");return Qr.length===0?Zr+"{}":hr?Zr+"{"+ye(Qr,hr)+"}":Zr+"{ "+Q.call(Qr,", ")+" }"}return String(m)};function J(d,m,yr){var p=(yr.quoteStyle||m)==="double"?'"':"'";return p+d+p}function X(d){return F.call(String(d),/"/g,""")}function u(d){return Z(d)==="[object Array]"&&(!nr||!(typeof d=="object"&&nr in d))}function x(d){return Z(d)==="[object Date]"&&(!nr||!(typeof d=="object"&&nr in d))}function L(d){return Z(d)==="[object RegExp]"&&(!nr||!(typeof d=="object"&&nr in d))}function k(d){return Z(d)==="[object Error]"&&(!nr||!(typeof d=="object"&&nr in d))}function C(d){return Z(d)==="[object String]"&&(!nr||!(typeof d=="object"&&nr in d))}function w(d){return Z(d)==="[object Number]"&&(!nr||!(typeof d=="object"&&nr in d))}function s(d){return Z(d)==="[object Boolean]"&&(!nr||!(typeof d=="object"&&nr in d))}function S(d){if(V)return d&&typeof d=="object"&&d instanceof Symbol;if(typeof d=="symbol")return!0;if(!d||typeof d!="object"||!or)return!1;try{return or.call(d),!0}catch{}return!1}function l(d){if(!d||typeof d!="object"||!G)return!1;try{return G.call(d),!0}catch{}return!1}var B=Object.prototype.hasOwnProperty||function(d){return d in this};function T(d,m){return B.call(d,m)}function Z(d){return I.call(d)}function _(d){if(d.name)return d.name;var m=U.call(b.call(d),/^function\s*([\w$]+)/);return m?m[1]:null}function ar(d,m){if(d.indexOf)return d.indexOf(m);for(var yr=0,p=d.length;yrm.maxStringLength){var yr=d.length-m.maxStringLength,p="... "+yr+" more character"+(yr>1?"s":"");return sr(A.call(d,0,m.maxStringLength),m)+p}var c=F.call(F.call(d,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ie);return J(c,"single",m)}function ie(d){var m=d.charCodeAt(0),yr={8:"b",9:"t",10:"n",12:"f",13:"r"}[m];return yr?"\\"+yr:"\\x"+(m<16?"0":"")+z.call(m.toString(16))}function Or(d){return"Object("+d+")"}function Br(d){return d+" { ? }"}function Cr(d,m,yr,p){var c=p?ye(yr,p):Q.call(yr,", ");return d+" ("+m+") {"+c+"}"}function Ur(d){for(var m=0;m=0)return!1;return!0}function Ie(d,m){var yr;if(d.indent===" ")yr=" ";else if(typeof d.indent=="number"&&d.indent>0)yr=Q.call(Array(d.indent+1)," ");else return null;return{base:yr,prev:Q.call(Array(m+1),yr)}}function ye(d,m){if(d.length===0)return"";var yr=` -`+m.prev+m.base;return yr+Q.call(d,","+yr)+` -`+m.prev}function fe(d,m){var yr=u(d),p=[];if(yr){p.length=d.length;for(var c=0;c"u"||!I?r:I(Uint8Array),A={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":$&&I?I([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":e,"%eval%":eval,"%EvalError%":t,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":f,"%GeneratorFunction%":b,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":$&&I?I(I([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!$||!I?r:I(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":a,"%ReferenceError%":n,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!$||!I?r:I(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":$&&I?I(""[Symbol.iterator]()):r,"%Symbol%":$?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":E,"%TypedArray%":U,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":y,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet};if(I)try{null.error}catch(N){var F=I(I(N));A["%Error.prototype%"]=F}var z=function N(P){var R;if(P==="%AsyncFunction%")R=g("async function () {}");else if(P==="%GeneratorFunction%")R=g("function* () {}");else if(P==="%AsyncGeneratorFunction%")R=g("async function* () {}");else if(P==="%AsyncGenerator%"){var q=N("%AsyncGeneratorFunction%");q&&(R=q.prototype)}else if(P==="%AsyncIteratorPrototype%"){var M=N("%AsyncGenerator%");M&&I&&(R=I(M.prototype))}return A[P]=R,R},K={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},D=Pr(),O=Fr(),Q=D.call(Function.call,Array.prototype.concat),Y=D.call(Function.apply,Array.prototype.splice),er=D.call(Function.call,String.prototype.replace),G=D.call(Function.call,String.prototype.slice),H=D.call(Function.call,RegExp.prototype.exec),or=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,nr=function(P){var R=G(P,0,1),q=G(P,-1);if(R==="%"&&q!=="%")throw new i("invalid intrinsic syntax, expected closing `%`");if(q==="%"&&R!=="%")throw new i("invalid intrinsic syntax, expected opening `%`");var M=[];return er(P,or,function(J,X,u,x){M[M.length]=u?er(x,V,"$1"):X||J}),M},dr=function(P,R){var q=P,M;if(O(K,q)&&(M=K[q],q="%"+M[0]+"%"),O(A,q)){var J=A[q];if(J===b&&(J=z(q)),typeof J>"u"&&!R)throw new o("intrinsic "+P+" exists, but is not available. Please file an issue!");return{alias:M,name:q,value:J}}throw new i("intrinsic "+P+" does not exist!")};return Hn=function(P,R){if(typeof P!="string"||P.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof R!="boolean")throw new o('"allowMissing" argument must be a boolean');if(H(/^%?[^%]*%?$/,P)===null)throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var q=nr(P),M=q.length>0?q[0]:"",J=dr("%"+M+"%",R),X=J.name,u=J.value,x=!1,L=J.alias;L&&(M=L[0],Y(q,Q([0,1],L)));for(var k=1,C=!0;k=q.length){var l=h(u,w);C=!!l,C&&"get"in l&&!("originalValue"in l.get)?u=l.get:u=u[w]}else C=O(u,w),u=u[w];C&&!x&&(A[X]=u)}}return u},Hn}var Vn,Vi;function Bf(){if(Vi)return Vn;Vi=1;var r=Ff(),e=r("%Object.defineProperty%",!0)||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return Vn=e,Vn}var Ji;function Uf(){return Ji||(Ji=1,function(r){var e=de(),t=Bf(),a=ee(),n=Fe();r.exports=function(o){var y=a(arguments),f=o.length-(arguments.length-1);return e(y,1+(f>0?f:0),!0)},t?t(r.exports,"apply",{value:n}):r.exports.apply=n}(Gn)),Gn.exports}var Jn,zi;function Ki(){if(zi)return Jn;zi=1;var r=Uf(),e=_r(),t=ei(),a=t("%ArrayBuffer%",!0),n=e("ArrayBuffer.prototype.byteLength",!0),i=e("Object.prototype.toString"),o=!!a&&!n&&new a(0).slice,y=!!o&&r(o);return Jn=n||y?function(g){if(!g||typeof g!="object")return!1;try{return n?n(g):y(g,0),!0}catch{return!1}}:a?function(g){return i(g)==="[object ArrayBuffer]"}:function(g){return!1},Jn}var zn,Yi;function qf(){if(Yi)return zn;Yi=1;var r=_r(),e=r("Date.prototype.getDay"),t=function(y){try{return e(y),!0}catch{return!1}},a=r("Object.prototype.toString"),n="[object Date]",i=zr()();return zn=function(y){return typeof y!="object"||y===null?!1:i?t(y):a(y)===n},zn}var Kn,Xi;function xf(){if(Xi)return Kn;Xi=1;var r=ae(),e=zr()(),t,a,n,i;if(e){t=r("Object.prototype.hasOwnProperty"),a=r("RegExp.prototype.exec"),n={};var o=function(){throw n};i={toString:o,valueOf:o},typeof Symbol.toPrimitive=="symbol"&&(i[Symbol.toPrimitive]=o)}var y=r("Object.prototype.toString"),f=Object.getOwnPropertyDescriptor,g="[object RegExp]";return Kn=e?function(v){if(!v||typeof v!="object")return!1;var E=f(v,"lastIndex"),$=E&&t(E,"value");if(!$)return!1;try{a(v,i)}catch(j){return j===n}}:function(v){return!v||typeof v!="object"&&typeof v!="function"?!1:y(v)===g},Kn}var Yn,Qi;function jf(){if(Qi)return Yn;Qi=1;var r=ae(),e=r("SharedArrayBuffer.prototype.byteLength",!0);return Yn=e?function(a){if(!a||typeof a!="object")return!1;try{return e(a),!0}catch{return!1}}:function(a){return!1},Yn}var Xn,Zi;function Mf(){if(Zi)return Xn;Zi=1;var r=Number.prototype.toString,e=function(o){try{return r.call(o),!0}catch{return!1}},t=Object.prototype.toString,a="[object Number]",n=zr()();return Xn=function(o){return typeof o=="number"?!0:typeof o!="object"?!1:n?e(o):t.call(o)===a},Xn}var Qn,ry;function _f(){if(ry)return Qn;ry=1;var r=ae(),e=r("Boolean.prototype.toString"),t=r("Object.prototype.toString"),a=function(y){try{return e(y),!0}catch{return!1}},n="[object Boolean]",i=zr()();return Qn=function(y){return typeof y=="boolean"?!0:y===null||typeof y!="object"?!1:i&&Symbol.toStringTag in y?a(y):t(y)===n},Qn}var Ue={exports:{}},ey;function Df(){if(ey)return Ue.exports;ey=1;var r=Object.prototype.toString,e=Ye()();if(e){var t=Symbol.prototype.toString,a=/^Symbol\(.*\)$/,n=function(o){return typeof o.valueOf()!="symbol"?!1:a.test(t.call(o))};Ue.exports=function(o){if(typeof o=="symbol")return!0;if(r.call(o)!=="[object Symbol]")return!1;try{return n(o)}catch{return!1}}}else Ue.exports=function(o){return!1};return Ue.exports}var qe={exports:{}},Zn,ty;function Nf(){if(ty)return Zn;ty=1;var r=typeof BigInt<"u"&&BigInt;return Zn=function(){return typeof r=="function"&&typeof BigInt=="function"&&typeof r(42)=="bigint"&&typeof BigInt(42)=="bigint"},Zn}var ny;function Tf(){if(ny)return qe.exports;ny=1;var r=Nf()();if(r){var e=BigInt.prototype.valueOf,t=function(n){try{return e.call(n),!0}catch{}return!1};qe.exports=function(n){return n===null||typeof n>"u"||typeof n=="boolean"||typeof n=="string"||typeof n=="number"||typeof n=="symbol"||typeof n=="function"?!1:typeof n=="bigint"?!0:t(n)}}else qe.exports=function(n){return!1};return qe.exports}var ro,oy;function kf(){if(oy)return ro;oy=1;var r=Fi(),e=Mf(),t=_f(),a=Df(),n=Tf();return ro=function(o){if(o==null||typeof o!="object"&&typeof o!="function")return null;if(r(o))return"String";if(e(o))return"Number";if(t(o))return"Boolean";if(a(o))return"Symbol";if(n(o))return"BigInt"},ro}var eo,ay;function Cf(){if(ay)return eo;ay=1;var r=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,e=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,t;r||(t=function(o){return!1});var a=r?r.prototype.has:null,n=e?e.prototype.has:null;return!t&&!a&&(t=function(o){return!1}),eo=t||function(o){if(!o||typeof o!="object")return!1;try{if(a.call(o,a),n)try{n.call(o,n)}catch{return!0}return o instanceof r}catch{}return!1},eo}var xe={exports:{}},to,iy;function Gf(){return iy||(iy=1,to=Object.getOwnPropertyDescriptor),to}var no,yy;function Wf(){if(yy)return no;yy=1;var r=Gf();if(r)try{r([],"length")}catch{r=null}return no=r,no}var oo,fy;function Lf(){if(fy)return oo;fy=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return oo=r,oo}var ao,py;function Hf(){return py||(py=1,ao=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),a=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var n=42;e[t]=n;for(var i in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var y=Object.getOwnPropertyDescriptor(e,t);if(y.value!==n||y.enumerable!==!0)return!1}return!0}),ao}var io,uy;function Vf(){if(uy)return io;uy=1;var r=typeof Symbol<"u"&&Symbol,e=Hf();return io=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},io}var yo,sy;function Jf(){if(sy)return yo;sy=1;var r,e=Jr(),t=Rr(),a=qr(),n=xr(),i=jr(),o=wr(),y=gr(),f=Mr(),g=ge(),h=he(),v=me(),E=Se(),$=Ae(),j=be(),I=Pe(),b=Function,U=function(w){try{return b('"use strict"; return ('+w+").constructor;")()}catch{}},A=Wf(),F=Lf(),z=function(){throw new y},K=A?function(){try{return arguments.callee,z}catch{try{return A(arguments,"callee").get}catch{return z}}}():z,D=Vf()(),O=oe(),Q=ne(),Y=te(),er=Vr(),G=Hr(),H={},or=typeof Uint8Array>"u"||!O?r:O(Uint8Array),V={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":D&&O?O([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":H,"%AsyncGenerator%":H,"%AsyncGeneratorFunction%":H,"%AsyncIteratorPrototype%":H,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":a,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":H,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":D&&O?O(O([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!D||!O?r:O(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":A,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":n,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!D||!O?r:O(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":D&&O?O(""[Symbol.iterator]()):r,"%Symbol%":D?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":K,"%TypedArray%":or,"%TypeError%":y,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":f,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":G,"%Function.prototype.apply%":er,"%Object.defineProperty%":F,"%Object.getPrototypeOf%":Q,"%Math.abs%":g,"%Math.floor%":h,"%Math.max%":v,"%Math.min%":E,"%Math.pow%":$,"%Math.round%":j,"%Math.sign%":I,"%Reflect.getPrototypeOf%":Y};if(O)try{null.error}catch(w){var nr=O(O(w));V["%Error.prototype%"]=nr}var dr=function w(s){var S;if(s==="%AsyncFunction%")S=U("async function () {}");else if(s==="%GeneratorFunction%")S=U("function* () {}");else if(s==="%AsyncGeneratorFunction%")S=U("async function* () {}");else if(s==="%AsyncGenerator%"){var l=w("%AsyncGeneratorFunction%");l&&(S=l.prototype)}else if(s==="%AsyncIteratorPrototype%"){var B=w("%AsyncGenerator%");B&&O&&(S=O(B.prototype))}return V[s]=S,S},N={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},P=Pr(),R=Fr(),q=P.call(G,Array.prototype.concat),M=P.call(er,Array.prototype.splice),J=P.call(G,String.prototype.replace),X=P.call(G,String.prototype.slice),u=P.call(G,RegExp.prototype.exec),x=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,L=/\\(\\)?/g,k=function(s){var S=X(s,0,1),l=X(s,-1);if(S==="%"&&l!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(l==="%"&&S!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var B=[];return J(s,x,function(T,Z,_,ar){B[B.length]=_?J(ar,L,"$1"):Z||T}),B},C=function(s,S){var l=s,B;if(R(N,l)&&(B=N[l],l="%"+B[0]+"%"),R(V,l)){var T=V[l];if(T===H&&(T=dr(l)),typeof T>"u"&&!S)throw new y("intrinsic "+s+" exists, but is not available. Please file an issue!");return{alias:B,name:l,value:T}}throw new o("intrinsic "+s+" does not exist!")};return yo=function(s,S){if(typeof s!="string"||s.length===0)throw new y("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof S!="boolean")throw new y('"allowMissing" argument must be a boolean');if(u(/^%?[^%]*%?$/,s)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var l=k(s),B=l.length>0?l[0]:"",T=C("%"+B+"%",S),Z=T.name,_=T.value,ar=!1,pr=T.alias;pr&&(B=pr[0],M(l,q([0,1],pr)));for(var lr=1,ir=!0;lr=l.length){var sr=A(_,rr);ir=!!sr,ir&&"get"in sr&&!("originalValue"in sr.get)?_=sr.get:_=_[rr]}else ir=R(_,rr),_=_[rr];ir&&!ar&&(V[Z]=_)}}return _},yo}var ly;function zf(){if(ly)return xe.exports;ly=1;var r=Jf(),e=_r(),t=r("%WeakSet%",!0),a=e("WeakSet.prototype.has",!0);if(a){var n=e("WeakMap.prototype.has",!0);xe.exports=function(o){if(!o||typeof o!="object")return!1;try{if(a(o,a),n)try{n(o,n)}catch{return!0}return o instanceof t}catch{}return!1}}else xe.exports=function(o){return!1};return xe.exports}var fo,cy;function Kf(){if(cy)return fo;cy=1;var r=Ui(),e=xi(),t=Cf(),a=zf();return fo=function(i){if(i&&typeof i=="object"){if(r(i))return"Map";if(e(i))return"Set";if(t(i))return"WeakMap";if(a(i))return"WeakSet"}return!1},fo}var po,vy;function Yf(){if(vy)return po;vy=1;var r=Function.prototype.toString,e=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,t,a;if(typeof e=="function"&&typeof Object.defineProperty=="function")try{t=Object.defineProperty({},"length",{get:function(){throw a}}),a={},e(function(){throw 42},null,t)}catch(A){A!==a&&(e=null)}else e=null;var n=/^\s*class\b/,i=function(F){try{var z=r.call(F);return n.test(z)}catch{return!1}},o=function(F){try{return i(F)?!1:(r.call(F),!0)}catch{return!1}},y=Object.prototype.toString,f="[object Object]",g="[object Function]",h="[object GeneratorFunction]",v="[object HTMLAllCollection]",E="[object HTML document.all class]",$="[object HTMLCollection]",j=typeof Symbol=="function"&&!!Symbol.toStringTag,I=!(0 in[,]),b=function(){return!1};if(typeof document=="object"){var U=document.all;y.call(U)===y.call(document.all)&&(b=function(F){if((I||!F)&&(typeof F>"u"||typeof F=="object"))try{var z=y.call(F);return(z===v||z===E||z===$||z===f)&&F("")==null}catch{}return!1})}return po=e?function(F){if(b(F))return!0;if(!F||typeof F!="function"&&typeof F!="object")return!1;try{e(F,null,t)}catch(z){if(z!==a)return!1}return!i(F)&&o(F)}:function(F){if(b(F))return!0;if(!F||typeof F!="function"&&typeof F!="object")return!1;if(j)return o(F);if(i(F))return!1;var z=y.call(F);return z!==g&&z!==h&&!/^\[object HTML/.test(z)?!1:o(F)},po}var uo,dy;function Xf(){if(dy)return uo;dy=1;var r=Yf(),e=Object.prototype.toString,t=Object.prototype.hasOwnProperty,a=function(f,g,h){for(var v=0,E=f.length;v=3&&(v=h),e.call(f)==="[object Array]"?a(f,g,v):typeof f=="string"?n(f,g,v):i(f,g,v)};return uo=o,uo}var so,gy;function Qf(){return gy||(gy=1,so=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),so}var lo,hy;function Zf(){if(hy)return lo;hy=1;var r=Qf(),e=typeof globalThis>"u"?br:globalThis;return lo=function(){for(var a=[],n=0;n"u"||!I?r:I(Uint8Array),A={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":$&&I?I([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":e,"%eval%":eval,"%EvalError%":t,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":f,"%GeneratorFunction%":b,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":$&&I?I(I([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!$||!I?r:I(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":a,"%ReferenceError%":n,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!$||!I?r:I(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":$&&I?I(""[Symbol.iterator]()):r,"%Symbol%":$?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":E,"%TypedArray%":U,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":y,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet};if(I)try{null.error}catch(N){var F=I(I(N));A["%Error.prototype%"]=F}var z=function N(P){var R;if(P==="%AsyncFunction%")R=g("async function () {}");else if(P==="%GeneratorFunction%")R=g("function* () {}");else if(P==="%AsyncGeneratorFunction%")R=g("async function* () {}");else if(P==="%AsyncGenerator%"){var q=N("%AsyncGeneratorFunction%");q&&(R=q.prototype)}else if(P==="%AsyncIteratorPrototype%"){var M=N("%AsyncGenerator%");M&&I&&(R=I(M.prototype))}return A[P]=R,R},K={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},D=Pr(),O=Fr(),Q=D.call(Function.call,Array.prototype.concat),Y=D.call(Function.apply,Array.prototype.splice),er=D.call(Function.call,String.prototype.replace),G=D.call(Function.call,String.prototype.slice),H=D.call(Function.call,RegExp.prototype.exec),or=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,nr=function(P){var R=G(P,0,1),q=G(P,-1);if(R==="%"&&q!=="%")throw new i("invalid intrinsic syntax, expected closing `%`");if(q==="%"&&R!=="%")throw new i("invalid intrinsic syntax, expected opening `%`");var M=[];return er(P,or,function(J,X,u,x){M[M.length]=u?er(x,V,"$1"):X||J}),M},dr=function(P,R){var q=P,M;if(O(K,q)&&(M=K[q],q="%"+M[0]+"%"),O(A,q)){var J=A[q];if(J===b&&(J=z(q)),typeof J>"u"&&!R)throw new o("intrinsic "+P+" exists, but is not available. Please file an issue!");return{alias:M,name:q,value:J}}throw new i("intrinsic "+P+" does not exist!")};return ho=function(P,R){if(typeof P!="string"||P.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof R!="boolean")throw new o('"allowMissing" argument must be a boolean');if(H(/^%?[^%]*%?$/,P)===null)throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var q=nr(P),M=q.length>0?q[0]:"",J=dr("%"+M+"%",R),X=J.name,u=J.value,x=!1,L=J.alias;L&&(M=L[0],Y(q,Q([0,1],L)));for(var k=1,C=!0;k=q.length){var l=h(u,w);C=!!l,C&&"get"in l&&!("originalValue"in l.get)?u=l.get:u=u[w]}else C=O(u,w),u=u[w];C&&!x&&(A[X]=u)}}return u},ho}var mo,by;function np(){if(by)return mo;by=1;var r=tp(),e=r("%Object.defineProperty%",!0)||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return mo=e,mo}var Py;function op(){return Py||(Py=1,function(r){var e=de(),t=np(),a=ee(),n=Fe();r.exports=function(o){var y=a(arguments),f=o.length-(arguments.length-1);return e(y,1+(f>0?f:0),!0)},t?t(r.exports,"apply",{value:n}):r.exports.apply=n}(co)),co.exports}var So,Oy;function ap(){if(Oy)return So;Oy=1;var r=Xf(),e=Zf(),t=op(),a=_r(),n=Xa(),i=a("Object.prototype.toString"),o=zr()(),y=typeof globalThis>"u"?br:globalThis,f=e(),g=a("String.prototype.slice"),h=Object.getPrototypeOf,v=a("Array.prototype.indexOf",!0)||function(b,U){for(var A=0;A-1?U:U!=="Object"?!1:j(b)}return n?$(b):null},So}var Ao,Iy;function ip(){if(Iy)return Ao;Iy=1;var r=_r(),e=r("ArrayBuffer.prototype.byteLength",!0),t=Ki();return Ao=function(n){return t(n)?e?e(n):n.byteLength:NaN},Ao}var bo,Ey;function yp(){if(Ey)return bo;Ey=1;var r=Jy(),e=ae(),t=rf(),a=ei(),n=Pf(),i=If(),o=wf(),y=oi(),f=$i(),g=Ki(),h=qf(),v=xf(),E=jf(),$=Te(),j=kf(),I=Kf(),b=ap(),U=ip(),A=e("SharedArrayBuffer.prototype.byteLength",!0),F=e("Date.prototype.getTime"),z=Object.getPrototypeOf,K=e("Object.prototype.toString"),D=a("%Set%",!0),O=e("Map.prototype.has",!0),Q=e("Map.prototype.get",!0),Y=e("Map.prototype.size",!0),er=e("Set.prototype.add",!0),G=e("Set.prototype.delete",!0),H=e("Set.prototype.has",!0),or=e("Set.prototype.size",!0);function V(u,x,L,k){for(var C=n(u),w;(w=C.next())&&!w.done;)if(R(x,w.value,L,k))return G(u,w.value),!0;return!1}function nr(u){if(typeof u>"u")return null;if(typeof u!="object")return typeof u=="symbol"?!1:typeof u=="string"||typeof u=="number"?+u==+u:!0}function dr(u,x,L,k,C,w){var s=nr(L);if(s!=null)return s;var S=Q(x,s),l=r({},C,{strict:!1});return typeof S>"u"&&!O(x,s)||!R(k,S,l,w)?!1:!O(u,s)&&R(k,S,l,w)}function N(u,x,L){var k=nr(L);return k??(H(x,k)&&!H(u,k))}function P(u,x,L,k,C,w){for(var s=n(u),S,l;(S=s.next())&&!S.done;)if(l=S.value,R(L,l,C,w)&&R(k,Q(x,l),C,w))return G(u,l),!0;return!1}function R(u,x,L,k){var C=L||{};if(C.strict?o(u,x):u===x)return!0;var w=j(u),s=j(x);if(w!==s)return!1;if(!u||!x||typeof u!="object"&&typeof x!="object")return C.strict?o(u,x):u==x;var S=k.has(u),l=k.has(x),B;if(S&&l){if(k.get(u)===k.get(x))return!0}else B={};return S||k.set(u,B),l||k.set(x,B),X(u,x,C,k)}function q(u){return!u||typeof u!="object"||typeof u.length!="number"||typeof u.copy!="function"||typeof u.slice!="function"||u.length>0&&typeof u[0]!="number"?!1:!!(u.constructor&&u.constructor.isBuffer&&u.constructor.isBuffer(u))}function M(u,x,L,k){if(or(u)!==or(x))return!1;for(var C=n(u),w=n(x),s,S,l;(s=C.next())&&!s.done;)if(s.value&&typeof s.value=="object")l||(l=new D),er(l,s.value);else if(!H(x,s.value)){if(L.strict||!N(u,x,s.value))return!1;l||(l=new D),er(l,s.value)}if(l){for(;(S=w.next())&&!S.done;)if(S.value&&typeof S.value=="object"){if(!V(l,S.value,L.strict,k))return!1}else if(!L.strict&&!H(u,S.value)&&!V(l,S.value,L.strict,k))return!1;return or(l)===0}return!0}function J(u,x,L,k){if(Y(u)!==Y(x))return!1;for(var C=n(u),w=n(x),s,S,l,B,T,Z;(s=C.next())&&!s.done;)if(B=s.value[0],T=s.value[1],B&&typeof B=="object")l||(l=new D),er(l,B);else if(Z=Q(x,B),typeof Z>"u"&&!O(x,B)||!R(T,Z,L,k)){if(L.strict||!dr(u,x,B,T,L,k))return!1;l||(l=new D),er(l,B)}if(l){for(;(S=w.next())&&!S.done;)if(B=S.value[0],Z=S.value[1],B&&typeof B=="object"){if(!P(l,u,B,Z,L,k))return!1}else if(!L.strict&&(!u.has(B)||!R(Q(u,B),Z,L,k))&&!P(l,u,B,Z,r({},L,{strict:!1}),k))return!1;return or(l)===0}return!0}function X(u,x,L,k){var C,w;if(typeof u!=typeof x||u==null||x==null||K(u)!==K(x)||y(u)!==y(x))return!1;var s=f(u),S=f(x);if(s!==S)return!1;var l=u instanceof Error,B=x instanceof Error;if(l!==B||(l||B)&&(u.name!==x.name||u.message!==x.message))return!1;var T=v(u),Z=v(x);if(T!==Z||(T||Z)&&(u.source!==x.source||t(u)!==t(x)))return!1;var _=h(u),ar=h(x);if(_!==ar||(_||ar)&&F(u)!==F(x)||L.strict&&z&&z(u)!==z(x))return!1;var pr=b(u),lr=b(x);if(pr!==lr)return!1;if(pr||lr){if(u.length!==x.length)return!1;for(C=0;C=0;C--)if(Or[C]!=Br[C])return!1;for(C=Or.length-1;C>=0;C--)if(w=Or[C],!R(u[w],x[w],L,k))return!1;var Cr=I(u),Ur=I(x);return Cr!==Ur?!1:Cr==="Set"||Ur==="Set"?M(u,x,L,k):Cr==="Map"?J(u,x,L,k):!0}return bo=function(x,L,k){return R(x,L,k,i())},bo}var fp=yp();const pp=Er(fp);class wy{constructor(e){this.target=e,this.isContentEditable=e&&e.contentEditable}getPos(){if(document.activeElement!==this.target)return-1;if(this.isContentEditable==="true"){this.target.focus();let e=document.getSelection().getRangeAt(0),t=e.cloneRange();return t.selectNodeContents(this.target),t.setEnd(e.endContainer,e.endOffset),t.toString().length}return this.target.selectionStart}setPos(e){if(this.isContentEditable==="true"){if(e>=0){var t=window.getSelection(),a=this.createRange(this.target,{count:e});a&&(a.collapse(!1),t.removeAllRanges(),t.addRange(a))}}else this.target.setSelectionRange(e,e)}createRange(e,t,a){if(a||(a=document.createRange(),a.selectNode(e),a.setStart(e,0)),t.count===0)a.setEnd(e,t.count);else if(e&&t.count>0)if(e.nodeType===Node.TEXT_NODE)e.textContent.length{e()},this.debounceTimer)}setMutationObserver(){const e={childList:!0,attributes:!0,subtree:!0,characterData:!0,characterDataOldValue:!0},t=this.holder.querySelector(".codex-editor__redactor");this.observer=new MutationObserver(a=>{this.mutationHandler(a)}),this.observer.observe(t,e)}mutationHandler(e){let t=!1;e.forEach(a=>{switch(a.type){case"childList":a.target===this.holder?this.onDestroy():t=!0;break;case"characterData":t=!0;break;case"attributes":a.target instanceof Element&&!a.target.classList.contains("ce-block")&&!a.target.classList.contains("tc-toolbox")&&(t=!0);break}}),t&&this.mutationDebouncer()}debounce(e,t){let a;return(...n)=>{const i=this;window.clearTimeout(a),a=window.setTimeout(()=>e.apply(i,n),t)}}onDestroy(){const e=new CustomEvent("destroy");document.dispatchEvent(e),this.observer!=null&&this.observer.disconnect()}}class sp{constructor({editor:e,config:t={},onUpdate:a,maxLength:n}){Sr(this,"blocks");Sr(this,"caret");Sr(this,"config");Sr(this,"defaultBlock");Sr(this,"editor");Sr(this,"holder");Sr(this,"initialItem");Sr(this,"maxLength");Sr(this,"onUpdate");Sr(this,"position",0);Sr(this,"readOnly");Sr(this,"shouldSaveHistory");Sr(this,"stack",[]);const i={maxLength:30,onUpdate(){},config:{debounceTimer:200,shortcuts:{undo:["CMD+Z"],redo:["CMD+Y","CMD+SHIFT+Z"]}}},o=e,{blocks:y,caret:f}=o,{configuration:g}=o,{holder:h,defaultBlock:v}=g,E=i.config.shortcuts,{shortcuts:$}=t,j={...E,...$},I=Array.isArray(j.undo)?j.undo:[j.undo],b=Array.isArray(j.redo)?j.redo:[j.redo],U=i.config.debounceTimer,{debounceTimer:A=U}=t;this.holder=typeof h=="string"?document.getElementById(h):h,this.editor=o,this.defaultBlock=v,this.blocks=y,this.caret=f,this.shouldSaveHistory=!0,this.readOnly=g.readOnly,this.maxLength=n||i.maxLength,this.onUpdate=a||i.onUpdate,this.config={debounceTimer:A,shortcuts:{undo:I,redo:b}},this.holder&&new up(()=>this.registerChange(),this.holder,this.config.debounceTimer).setMutationObserver(),this.setEventListeners(),this.initialItem=null,this.clear()}static get isReadOnlySupported(){return!0}truncate(e,t){for(;e.length>t;)e.shift()}initialize(e){const t="blocks"in e?e.blocks:e,n={index:t.length-1,state:t};this.stack[0]=n,this.initialItem=n}clear(){this.stack=this.initialItem?[this.initialItem]:[{index:0,state:[{type:this.defaultBlock,data:{}}]}],this.position=0,this.onUpdate()}setReadOnly(){var t;const e=(t=this.holder)==null?void 0:t.querySelector(".ce-toolbox");this.readOnly=!e}registerChange(){this.setReadOnly(),this.readOnly||(this.editor&&this.editor.save&&this.shouldSaveHistory&&this.editor.save().then(e=>{this.editorDidUpdate(e.blocks)&&this.save(e.blocks)}),this.shouldSaveHistory=!0)}editorDidUpdate(e){const{state:t}=this.stack[this.position];return e.length?e.length!==t.length?!0:JSON.stringify(t)!==JSON.stringify(e):!1}save(e){this.position>=this.maxLength&&this.truncate(this.stack,this.maxLength),this.position=Math.min(this.position,this.stack.length-1),this.stack=this.stack.slice(0,this.position+1);const t=this.blocks.getCurrentBlockIndex(),a=this.blocks.getBlocksCount();let n=t;e[t]||(n-=a-e.length);const i=e[n]&&(e[n].type==="paragraph"||e[n].type==="header")?this.getCaretIndex(t):null;this.stack.push({index:n,state:e,caretIndex:i}),this.position+=1,this.onUpdate()}getCaretIndex(e){var a;const t=(a=this.holder)==null?void 0:a.getElementsByClassName("ce-block__content");return t?new wy(t[e].firstChild).getPos():null}async undo(){if(this.canUndo()){const{state:e}=this.stack[this.position];this.position-=1,this.shouldSaveHistory=!1;const{caretIndex:t,index:a,state:n}=this.stack[this.position];await this.switchState(n,e),this.onUpdate(),this.blocks.getBlockByIndex(a)&&(t?this.setCaretIndex(a,t):this.caret.setToBlock(a,"end"))}}setCaretIndex(e,t){var n;const a=(n=this.holder)==null?void 0:n.getElementsByClassName("ce-block__content");if(t&&t!==-1&&a){const i=new wy(a[e].firstChild);setTimeout(()=>i.setPos(t),50)}else this.caret.setToBlock(e,"end")}insertBlock(e,t){this.blocks.insert(e[t].type,e[t].data,{},t,!0)}async updateModifiedBlock(e,t){const a=e[t];return a.id&&this.editor.blocks.getById(a.id)?this.blocks.update(a.id,a.data):this.blocks.render({blocks:e})}async redo(){if(this.canRedo()){this.position+=1,this.shouldSaveHistory=!1;const{caretIndex:e,index:t,state:a}=this.stack[this.position],{state:n}=this.stack[this.position-1];await this.switchState(a,n),this.onUpdate(),this.blocks.getBlockByIndex(t)&&(e?this.setCaretIndex(t,e):this.caret.setToBlock(t,"end"))}}async switchState(e,t){t.reduce((n,i,o)=>e.find(y=>y.id===i.id)?n:[...n,o],[]).sort((n,i)=>i-n).forEach(n=>this.blocks.delete(n)),e.reduce((n,i,o)=>t.find(y=>y.id===i.id)?n:[...n,o],[]).forEach(n=>this.insertBlock(e,n));const a=e.reduce((n,i,o)=>{const y=t.findIndex(f=>f.id===i.id);return y>-1&&!pp(i,t[y])?[...n,o]:n},[]);await Promise.all(a.map(async n=>await this.updateModifiedBlock(e,n)))}canUndo(){return!this.readOnly&&this.position>0}canRedo(){return!this.readOnly&&this.positiont[i]),n=a.includes("shiftKey")&&e.length===2?e[e.length-1].toUpperCase():e[e.length-1].toLowerCase();return a.push(n),a}setEventListeners(){const{holder:e}=this,{shortcuts:t}=this.config,{redo:a,undo:n}=t,i=n.map(b=>b.replace(/ /g,"").split("+")),o=a.map(b=>b.replace(/ /g,"").split("+")),y=i.map(b=>this.parseKeys(b)),f=o.map(b=>this.parseKeys(b)),g=(b,U)=>U.length===2&&b[U[0]]&&b.key.toLowerCase()===U[1],h=(b,U)=>U.length===3&&b[U[0]]&&b[U[1]]&&b.key.toLowerCase()===U[2],v=(b,U)=>U.reduce((A,F)=>A||g(b,F),!1),E=(b,U)=>U.reduce((A,F)=>A||h(b,F),!1),$=(b,U,A)=>!!(v(b,U)&&!E(b,A)||E(b,U)),j=b=>{$(b,y,f)&&(b.preventDefault(),this.undo())},I=b=>{$(b,f,y)&&(b.preventDefault(),this.redo())};if(e){const b=()=>{e.removeEventListener("keydown",j),e.removeEventListener("keydown",I)};e.addEventListener("keydown",j),e.addEventListener("keydown",I),e.addEventListener("destroy",b)}}}return sp}); +(function(re,ne){typeof exports=="object"&&typeof module<"u"?module.exports=ne():typeof define=="function"&&define.amd?define(ne):(re=typeof globalThis<"u"?globalThis:re||self,re.Undo=ne())})(this,function(){"use strict";var bi=Object.defineProperty;var Oi=(re,ne,Re)=>ne in re?bi(re,ne,{enumerable:!0,configurable:!0,writable:!0,value:Re}):re[ne]=Re;var X=(re,ne,Re)=>Oi(re,typeof ne!="symbol"?ne+"":ne,Re);var re=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ne(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function Re(n){if(Object.prototype.hasOwnProperty.call(n,"__esModule"))return n;var e=n.default;if(typeof e=="function"){var r=function o(){return this instanceof o?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(n).forEach(function(o){var t=Object.getOwnPropertyDescriptor(n,o);Object.defineProperty(r,o,t.get?t:{enumerable:!0,get:function(){return n[o]}})}),r}var Ve,Vt;function Jt(){if(Vt)return Ve;Vt=1;var n=Object.prototype.toString;return Ve=function(r){var o=n.call(r),t=o==="[object Arguments]";return t||(t=o!=="[object Array]"&&r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&n.call(r.callee)==="[object Function]"),t},Ve}var Je,Yt;function va(){if(Yt)return Je;Yt=1;var n;if(!Object.keys){var e=Object.prototype.hasOwnProperty,r=Object.prototype.toString,o=Jt(),t=Object.prototype.propertyIsEnumerable,i=!t.call({toString:null},"toString"),u=t.call(function(){},"prototype"),a=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(y){var g=y.constructor;return g&&g.prototype===y},c={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},v=function(){if(typeof window>"u")return!1;for(var y in window)try{if(!c["$"+y]&&e.call(window,y)&&window[y]!==null&&typeof window[y]=="object")try{f(window[y])}catch{return!0}}catch{return!0}return!1}(),p=function(y){if(typeof window>"u"||!v)return f(y);try{return f(y)}catch{return!1}};n=function(g){var S=g!==null&&typeof g=="object",R=r.call(g)==="[object Function]",d=o(g),O=S&&r.call(g)==="[object String]",w=[];if(!S&&!R&&!d)throw new TypeError("Object.keys called on a non-object");var b=u&&R;if(O&&g.length>0&&!e.call(g,0))for(var M=0;M0)for(var Q=0;Q3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new r("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new r("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new r("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new r("`loose`, if provided, must be a boolean");var f=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,v=arguments.length>5?arguments[5]:null,p=arguments.length>6?arguments[6]:!1,y=!!o&&o(i,u);if(n)n(i,u,{configurable:v===null&&y?y.configurable:!v,enumerable:f===null&&y?y.enumerable:!f,value:a,writable:c===null&&y?y.writable:!c});else if(p||!f&&!c&&!v)i[u]=a;else throw new e("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},or}var ir,on;function ur(){if(on)return ir;on=1;var n=_e(),e=function(){return!!n};return e.hasArrayLengthDefineBug=function(){if(!n)return null;try{return n([],"length",{value:1}).length!==1}catch{return!0}},ir=e,ir}var fr,an;function Oe(){if(an)return fr;an=1;var n=Xe(),e=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",r=Object.prototype.toString,o=Array.prototype.concat,t=ar(),i=function(c){return typeof c=="function"&&r.call(c)==="[object Function]"},u=ur()(),a=function(c,v,p,y){if(v in c){if(y===!0){if(c[v]===p)return}else if(!i(y)||!y())return}u?t(c,v,p,!0):t(c,v,p)},f=function(c,v){var p=arguments.length>2?arguments[2]:{},y=n(v);e&&(y=o.call(y,Object.getOwnPropertySymbols(v)));for(var g=0;g"u"||!D?n:D(Uint8Array),V={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?n:ArrayBuffer,"%ArrayIteratorPrototype%":G&&D?D([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":N,"%AsyncGenerator%":N,"%AsyncGeneratorFunction%":N,"%AsyncIteratorPrototype%":N,"%Atomics%":typeof Atomics>"u"?n:Atomics,"%BigInt%":typeof BigInt>"u"?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":o,"%Float32Array%":typeof Float32Array>"u"?n:Float32Array,"%Float64Array%":typeof Float64Array>"u"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?n:FinalizationRegistry,"%Function%":d,"%GeneratorFunction%":N,"%Int8Array%":typeof Int8Array>"u"?n:Int8Array,"%Int16Array%":typeof Int16Array>"u"?n:Int16Array,"%Int32Array%":typeof Int32Array>"u"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":G&&D?D(D([][Symbol.iterator]())):n,"%JSON%":typeof JSON=="object"?JSON:n,"%Map%":typeof Map>"u"?n:Map,"%MapIteratorPrototype%":typeof Map>"u"||!G||!D?n:D(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?n:Promise,"%Proxy%":typeof Proxy>"u"?n:Proxy,"%RangeError%":t,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?n:Set,"%SetIteratorPrototype%":typeof Set>"u"||!G||!D?n:D(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":G&&D?D(""[Symbol.iterator]()):n,"%Symbol%":G?Symbol:n,"%SyntaxError%":u,"%ThrowTypeError%":Q,"%TypedArray%":H,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array>"u"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?n:Uint32Array,"%URIError%":f,"%WeakMap%":typeof WeakMap>"u"?n:WeakMap,"%WeakRef%":typeof WeakRef>"u"?n:WeakRef,"%WeakSet%":typeof WeakSet>"u"?n:WeakSet,"%Function.prototype.call%":U,"%Function.prototype.apply%":_,"%Object.defineProperty%":b,"%Object.getPrototypeOf%":k,"%Math.abs%":c,"%Math.floor%":v,"%Math.max%":p,"%Math.min%":y,"%Math.pow%":g,"%Math.round%":S,"%Math.sign%":R,"%Reflect.getPrototypeOf%":I};if(D)try{null.error}catch(j){var K=D(D(j));V["%Error.prototype%"]=K}var $e=function j(P){var q;if(P==="%AsyncFunction%")q=O("async function () {}");else if(P==="%GeneratorFunction%")q=O("function* () {}");else if(P==="%AsyncGeneratorFunction%")q=O("async function* () {}");else if(P==="%AsyncGenerator%"){var A=j("%AsyncGeneratorFunction%");A&&(q=A.prototype)}else if(P==="%AsyncIteratorPrototype%"){var E=j("%AsyncGenerator%");E&&D&&(q=D(E.prototype))}return V[P]=q,q},we={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ie=je(),z=Ur(),Pe=ie.call(U,Array.prototype.concat),Be=ie.call(_,Array.prototype.splice),Ie=ie.call(U,String.prototype.replace),de=ie.call(U,String.prototype.slice),h=ie.call(U,RegExp.prototype.exec),m=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,T=/\\(\\)?/g,$=function(P){var q=de(P,0,1),A=de(P,-1);if(q==="%"&&A!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if(A==="%"&&q!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var E=[];return Ie(P,m,function(J,Y,F,ee){E[E.length]=F?Ie(ee,T,"$1"):Y||J}),E},B=function(P,q){var A=P,E;if(z(we,A)&&(E=we[A],A="%"+E[0]+"%"),z(V,A)){var J=V[A];if(J===N&&(J=$e(A)),typeof J>"u"&&!q)throw new a("intrinsic "+P+" exists, but is not available. Please file an issue!");return{alias:E,name:A,value:J}}throw new u("intrinsic "+P+" does not exist!")};return Hr=function(P,q){if(typeof P!="string"||P.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof q!="boolean")throw new a('"allowMissing" argument must be a boolean');if(h(/^%?[^%]*%?$/,P)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var A=$(P),E=A.length>0?A[0]:"",J=B("%"+E+"%",q),Y=J.name,F=J.value,ee=!1,ge=J.alias;ge&&(E=ge[0],Be(A,Pe([0,1],ge)));for(var fe=1,se=!0;fe=A.length){var ye=w(F,te);se=!!ye,se&&"get"in ye&&!("originalValue"in ye.get)?F=ye.get:F=F[te]}else se=z(F,te),F=F[te];se&&!ee&&(V[Y]=F)}}return F},Hr}var Gr,Wn;function xa(){if(Wn)return Gr;Wn=1;var n=le(),e=ar(),r=ur()(),o=be(),t=ae(),i=n("%Math.floor%");return Gr=function(a,f){if(typeof a!="function")throw new t("`fn` is not a function");if(typeof f!="number"||f<0||f>4294967295||i(f)!==f)throw new t("`length` must be a positive 32-bit integer");var c=arguments.length>2&&!!arguments[2],v=!0,p=!0;if("length"in a&&o){var y=o(a,"length");y&&!y.configurable&&(v=!1),y&&!y.writable&&(p=!1)}return(v||p||!c)&&(r?e(a,"length",f,!0,!0):e(a,"length",f)),a},Gr}var Kr,Ln;function Ta(){if(Ln)return Kr;Ln=1;var n=je(),e=Cr(),r=jn();return Kr=function(){return r(n,e,arguments)},Kr}var Un;function Ee(){return Un||(Un=1,function(n){var e=xa(),r=_e(),o=Fr(),t=Ta();n.exports=function(u){var a=o(arguments),f=u.length-(arguments.length-1);return e(a,1+(f>0?f:0),!0)},r?r(n.exports,"apply",{value:t}):n.exports.apply=t}(sr)),sr.exports}var zr,Hn;function Z(){if(Hn)return zr;Hn=1;var n=le(),e=Fr(),r=e([n("%String.prototype.indexOf%")]);return zr=function(t,i){var u=n(t,!!i);return typeof u=="function"&&r(t,".prototype.")>-1?e([u]):u},zr}var Vr,Gn;function Kn(){if(Gn)return Vr;Gn=1;var n=Xe(),e=Fe()(),r=Z(),o=cr(),t=r("Array.prototype.push"),i=r("Object.prototype.propertyIsEnumerable"),u=e?o.getOwnPropertySymbols:null;return Vr=function(f,c){if(f==null)throw new TypeError("target must be an object");var v=o(f);if(arguments.length===1)return v;for(var p=1;p-1?e(u):u},Zr}var Qr,Qn;function Ca(){if(Qn)return Qr;Qn=1;var n=function(){return typeof(function(){}).name=="string"},e=Object.getOwnPropertyDescriptor;if(e)try{e([],"length")}catch{e=null}n.functionsHaveConfigurableNames=function(){if(!n()||!e)return!1;var t=e(function(){},"name");return!!t&&!!t.configurable};var r=Function.prototype.bind;return n.boundFunctionsHaveNames=function(){return n()&&typeof r=="function"&&(function(){}).bind().name!==""},Qr=n,Qr}var et,eo;function ka(){if(eo)return et;eo=1;var n=ar(),e=ur()(),r=Ca().functionsHaveConfigurableNames(),o=ae();return et=function(i,u){if(typeof i!="function")throw new o("`fn` is not a function");var a=arguments.length>2&&!!arguments[2];return(!a||r)&&(e?n(i,"name",u,!0,!0):n(i,"name",u)),i},et}var rt,ro;function to(){if(ro)return rt;ro=1;var n=ka(),e=ae(),r=Object;return rt=n(function(){if(this==null||this!==r(this))throw new e("RegExp.prototype.flags getter called on non-object");var t="";return this.hasIndices&&(t+="d"),this.global&&(t+="g"),this.ignoreCase&&(t+="i"),this.multiline&&(t+="m"),this.dotAll&&(t+="s"),this.unicode&&(t+="u"),this.unicodeSets&&(t+="v"),this.sticky&&(t+="y"),t},"get flags",!0),rt}var tt,no;function oo(){if(no)return tt;no=1;var n=to(),e=Oe().supportsDescriptors,r=Object.getOwnPropertyDescriptor;return tt=function(){if(e&&/a/mig.flags==="gim"){var t=r(RegExp.prototype,"flags");if(t&&typeof t.get=="function"&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var i="",u={};if(Object.defineProperty(u,"hasIndices",{get:function(){i+="d"}}),Object.defineProperty(u,"sticky",{get:function(){i+="y"}}),t.get.call(u),i==="dy")return t.get}}return n},tt}var nt,ao;function Da(){if(ao)return nt;ao=1;var n=Oe().supportsDescriptors,e=oo(),r=be(),o=Object.defineProperty,t=sn(),i=_n(),u=/a/;return nt=function(){if(!n||!i)throw new t("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var f=e(),c=i(u),v=r(c,"flags");return(!v||v.get!==f)&&o(c,"flags",{configurable:!0,enumerable:!1,get:f}),f},nt}var ot,io;function _a(){if(io)return ot;io=1;var n=Oe(),e=Ee(),r=to(),o=oo(),t=Da(),i=e(o());return n(i,{getPolyfill:o,implementation:r,shim:t}),ot=i,ot}var Ce={exports:{}},at,uo;function Ae(){if(uo)return at;uo=1;var n=Fe();return at=function(){return n()&&!!Symbol.toStringTag},at}var it,fo;function so(){if(fo)return it;fo=1;var n=Ae()(),e=Z(),r=e("Object.prototype.toString"),o=function(a){return n&&a&&typeof a=="object"&&Symbol.toStringTag in a?!1:r(a)==="[object Arguments]"},t=function(a){return o(a)?!0:a!==null&&typeof a=="object"&&"length"in a&&typeof a.length=="number"&&a.length>=0&&r(a)!=="[object Array]"&&"callee"in a&&r(a.callee)==="[object Function]"},i=function(){return o(arguments)}();return o.isLegacyArguments=t,it=i?o:t,it}const Fa=Re(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var ut,lo;function Ne(){if(lo)return ut;lo=1;var n=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=n&&e&&typeof e.get=="function"?e.get:null,o=n&&Map.prototype.forEach,t=typeof Set=="function"&&Set.prototype,i=Object.getOwnPropertyDescriptor&&t?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=t&&i&&typeof i.get=="function"?i.get:null,a=t&&Set.prototype.forEach,f=typeof WeakMap=="function"&&WeakMap.prototype,c=f?WeakMap.prototype.has:null,v=typeof WeakSet=="function"&&WeakSet.prototype,p=v?WeakSet.prototype.has:null,y=typeof WeakRef=="function"&&WeakRef.prototype,g=y?WeakRef.prototype.deref:null,S=Boolean.prototype.valueOf,R=Object.prototype.toString,d=Function.prototype.toString,O=String.prototype.match,w=String.prototype.slice,b=String.prototype.replace,M=String.prototype.toUpperCase,Q=String.prototype.toLowerCase,G=RegExp.prototype.test,D=Array.prototype.concat,k=Array.prototype.join,I=Array.prototype.slice,_=Math.floor,U=typeof BigInt=="function"?BigInt.prototype.valueOf:null,N=Object.getOwnPropertySymbols,H=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,V=typeof Symbol=="function"&&typeof Symbol.iterator=="object",K=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===V||!0)?Symbol.toStringTag:null,$e=Object.prototype.propertyIsEnumerable,we=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(s){return s.__proto__}:null);function ie(s,l){if(s===1/0||s===-1/0||s!==s||s&&s>-1e3&&s<1e3||G.call(/e/,l))return l;var C=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof s=="number"){var W=s<0?-_(-s):_(s);if(W!==s){var L=String(W),x=w.call(l,L.length+1);return b.call(L,C,"$&_")+"."+b.call(b.call(x,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(l,C,"$&_")}var z=Fa,Pe=z.custom,Be=E(Pe)?Pe:null,Ie={__proto__:null,double:'"',single:"'"},de={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};ut=function s(l,C,W,L){var x=C||{};if(F(x,"quoteStyle")&&!F(Ie,x.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(F(x,"maxStringLength")&&(typeof x.maxStringLength=="number"?x.maxStringLength<0&&x.maxStringLength!==1/0:x.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var me=F(x,"customInspect")?x.customInspect:!0;if(typeof me!="boolean"&&me!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(F(x,"indent")&&x.indent!==null&&x.indent!==" "&&!(parseInt(x.indent,10)===x.indent&&x.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(F(x,"numericSeparator")&&typeof x.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var qe=x.numericSeparator;if(typeof l>"u")return"undefined";if(l===null)return"null";if(typeof l=="boolean")return l?"true":"false";if(typeof l=="string")return ve(l,x);if(typeof l=="number"){if(l===0)return 1/0/l>0?"0":"-0";var oe=String(l);return qe?ie(l,oe):oe}if(typeof l=="bigint"){var Se=String(l)+"n";return qe?ie(l,Se):Se}var Wt=typeof x.depth>"u"?5:x.depth;if(typeof W>"u"&&(W=0),W>=Wt&&Wt>0&&typeof l=="object")return T(l)?"[Array]":"[Object]";var Te=gi(x,W);if(typeof L>"u")L=[];else if(fe(L,l)>=0)return"[Circular]";function ue(Me,ze,Si){if(ze&&(L=I.call(L),L.push(ze)),Si){var ya={depth:x.depth};return F(x,"quoteStyle")&&(ya.quoteStyle=x.quoteStyle),s(Me,ya,W+1,L)}return s(Me,x,W+1,L)}if(typeof l=="function"&&!B(l)){var ia=ge(l),ua=Ge(l,ue);return"[Function"+(ia?": "+ia:" (anonymous)")+"]"+(ua.length>0?" { "+k.call(ua,", ")+" }":"")}if(E(l)){var fa=V?b.call(String(l),/^(Symbol\(.*\))_[^)]*$/,"$1"):H.call(l);return typeof l=="object"&&!V?he(fa):fa}if(He(l)){for(var De="<"+Q.call(String(l.nodeName)),Lt=l.attributes||[],Ke=0;Ke",De}if(T(l)){if(l.length===0)return"[]";var Ut=Ge(l,ue);return Te&&!di(Ut)?"["+Nt(Ut,Te)+"]":"[ "+k.call(Ut,", ")+" ]"}if(j(l)){var Ht=Ge(l,ue);return!("cause"in Error.prototype)&&"cause"in l&&!$e.call(l,"cause")?"{ ["+String(l)+"] "+k.call(D.call("[cause]: "+ue(l.cause),Ht),", ")+" }":Ht.length===0?"["+String(l)+"]":"{ ["+String(l)+"] "+k.call(Ht,", ")+" }"}if(typeof l=="object"&&me){if(Be&&typeof l[Be]=="function"&&z)return z(l,{depth:Wt-W});if(me!=="symbol"&&typeof l.inspect=="function")return l.inspect()}if(se(l)){var sa=[];return o&&o.call(l,function(Me,ze){sa.push(ue(ze,l,!0)+" => "+ue(Me,l))}),aa("Map",r.call(l),sa,Te)}if(pe(l)){var la=[];return a&&a.call(l,function(Me){la.push(ue(Me,l))}),aa("Set",u.call(l),la,Te)}if(te(l))return xe("WeakMap");if(ye(l))return xe("WeakSet");if(ce(l))return xe("WeakRef");if(q(l))return he(ue(Number(l)));if(J(l))return he(ue(U.call(l)));if(A(l))return he(S.call(l));if(P(l))return he(ue(String(l)));if(typeof window<"u"&&l===window)return"{ [object Window] }";if(typeof globalThis<"u"&&l===globalThis||typeof re<"u"&&l===re)return"{ [object globalThis] }";if(!$(l)&&!B(l)){var Gt=Ge(l,ue),ca=we?we(l)===Object.prototype:l instanceof Object||l.constructor===Object,Kt=l instanceof Object?"":"null prototype",pa=!ca&&K&&Object(l)===l&&K in l?w.call(ee(l),8,-1):Kt?"Object":"",mi=ca||typeof l.constructor!="function"?"":l.constructor.name?l.constructor.name+" ":"",zt=mi+(pa||Kt?"["+k.call(D.call([],pa||[],Kt||[]),": ")+"] ":"");return Gt.length===0?zt+"{}":Te?zt+"{"+Nt(Gt,Te)+"}":zt+"{ "+k.call(Gt,", ")+" }"}return String(l)};function h(s,l,C){var W=C.quoteStyle||l,L=Ie[W];return L+s+L}function m(s){return b.call(String(s),/"/g,""")}function T(s){return ee(s)==="[object Array]"&&(!K||!(typeof s=="object"&&K in s))}function $(s){return ee(s)==="[object Date]"&&(!K||!(typeof s=="object"&&K in s))}function B(s){return ee(s)==="[object RegExp]"&&(!K||!(typeof s=="object"&&K in s))}function j(s){return ee(s)==="[object Error]"&&(!K||!(typeof s=="object"&&K in s))}function P(s){return ee(s)==="[object String]"&&(!K||!(typeof s=="object"&&K in s))}function q(s){return ee(s)==="[object Number]"&&(!K||!(typeof s=="object"&&K in s))}function A(s){return ee(s)==="[object Boolean]"&&(!K||!(typeof s=="object"&&K in s))}function E(s){if(V)return s&&typeof s=="object"&&s instanceof Symbol;if(typeof s=="symbol")return!0;if(!s||typeof s!="object"||!H)return!1;try{return H.call(s),!0}catch{}return!1}function J(s){if(!s||typeof s!="object"||!U)return!1;try{return U.call(s),!0}catch{}return!1}var Y=Object.prototype.hasOwnProperty||function(s){return s in this};function F(s,l){return Y.call(s,l)}function ee(s){return R.call(s)}function ge(s){if(s.name)return s.name;var l=O.call(d.call(s),/^function\s*([\w$]+)/);return l?l[1]:null}function fe(s,l){if(s.indexOf)return s.indexOf(l);for(var C=0,W=s.length;Cl.maxStringLength){var C=s.length-l.maxStringLength,W="... "+C+" more character"+(C>1?"s":"");return ve(w.call(s,0,l.maxStringLength),l)+W}var L=de[l.quoteStyle||"single"];L.lastIndex=0;var x=b.call(b.call(s,L,"\\$1"),/[\x00-\x1f]/g,ke);return h(x,"single",l)}function ke(s){var l=s.charCodeAt(0),C={8:"b",9:"t",10:"n",12:"f",13:"r"}[l];return C?"\\"+C:"\\x"+(l<16?"0":"")+M.call(l.toString(16))}function he(s){return"Object("+s+")"}function xe(s){return s+" { ? }"}function aa(s,l,C,W){var L=W?Nt(C,W):k.call(C,", ");return s+" ("+l+") {"+L+"}"}function di(s){for(var l=0;l=0)return!1;return!0}function gi(s,l){var C;if(s.indent===" ")C=" ";else if(typeof s.indent=="number"&&s.indent>0)C=k.call(Array(s.indent+1)," ");else return null;return{base:C,prev:k.call(Array(l+1),C)}}function Nt(s,l){if(s.length===0)return"";var C=` +`+l.prev+l.base;return C+k.call(s,","+C)+` +`+l.prev}function Ge(s,l){var C=T(s),W=[];if(C){W.length=s.length;for(var L=0;L=U)return _+1;var N=v(I,_);if(N<55296||N>56319)return _+1;var H=v(I,_+1);return H<56320||H>57343?_+1:_+2},g=function(I){var _=0;return{next:function(){var N=_>=I.length,H;return N||(H=I[_],_+=1),{done:N,value:H}}}},S=function(I,_){if(o(I)||n(I))return g(I);if(t(I)){var U=0;return{next:function(){var H=y(I,U),V=p(I,U,H);return U=H,{done:H>I.length,value:V}}}}if(_&&typeof I["_es6-shim iterator_"]<"u")return I["_es6-shim iterator_"]()};if(!u&&!a)Ce.exports=function(I){if(I!=null)return S(I,!0)};else{var R=Io(),d=Ro(),O=f("Map.prototype.forEach",!0),w=f("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var b=f("Map.prototype.iterator",!0),M=f("Set.prototype.iterator",!0);var Q=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),G=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0),D=function(I){if(R(I)){if(b)return e(b(I));if(Q)return Q(I);if(O){var _=[];return O(I,function(N,H){c(_,[H,N])}),g(_)}}if(d(I)){if(M)return e(M(I));if(G)return G(I);if(w){var U=[];return w(I,function(N){c(U,N)}),g(U)}}};Ce.exports=function(I){return D(I)||S(I)}}}return Ce.exports}var mt,$o;function Bo(){if($o)return mt;$o=1;var n=function(e){return e!==e};return mt=function(r,o){return r===0&&o===0?1/r===1/o:!!(r===o||n(r)&&n(o))},mt}var St,xo;function To(){if(xo)return St;xo=1;var n=Bo();return St=function(){return typeof Object.is=="function"?Object.is:n},St}var bt,Mo;function Ga(){if(Mo)return bt;Mo=1;var n=To(),e=Oe();return bt=function(){var o=n();return e(Object,{is:o},{is:function(){return Object.is!==o}}),o},bt}var Ot,jo;function Ka(){if(jo)return Ot;jo=1;var n=Oe(),e=Ee(),r=Bo(),o=To(),t=Ga(),i=e(o(),Object);return n(i,{getPolyfill:o,implementation:r,shim:t}),Ot=i,Ot}var At,Co;function ko(){if(Co)return At;Co=1;var n=Ee(),e=Z(),r=le(),o=r("%ArrayBuffer%",!0),t=e("ArrayBuffer.prototype.byteLength",!0),i=e("Object.prototype.toString"),u=!!o&&!t&&new o(0).slice,a=!!u&&n(u);return At=t||a?function(c){if(!c||typeof c!="object")return!1;try{return t?t(c):a(c,0),!0}catch{return!1}}:o?function(c){return i(c)==="[object ArrayBuffer]"}:function(c){return!1},At}var wt,Do;function za(){if(Do)return wt;Do=1;var n=Z(),e=n("Date.prototype.getDay"),r=function(a){try{return e(a),!0}catch{return!1}},o=n("Object.prototype.toString"),t="[object Date]",i=Ae()();return wt=function(a){return typeof a!="object"||a===null?!1:i?r(a):o(a)===t},wt}var Pt,_o;function Fo(){if(_o)return Pt;_o=1;var n=Z(),e=Ae()(),r=Ur(),o=be(),t;if(e){var i=n("RegExp.prototype.exec"),u={},a=function(){throw u},f={toString:a,valueOf:a};typeof Symbol.toPrimitive=="symbol"&&(f[Symbol.toPrimitive]=a),t=function(y){if(!y||typeof y!="object")return!1;var g=o(y,"lastIndex"),S=g&&r(g,"value");if(!S)return!1;try{i(y,f)}catch(R){return R===u}}}else{var c=n("Object.prototype.toString"),v="[object RegExp]";t=function(y){return!y||typeof y!="object"&&typeof y!="function"?!1:c(y)===v}}return Pt=t,Pt}var It,No;function Va(){if(No)return It;No=1;var n=Z(),e=n("SharedArrayBuffer.prototype.byteLength",!0);return It=e?function(o){if(!o||typeof o!="object")return!1;try{return e(o),!0}catch{return!1}}:function(o){return!1},It}var qt,Wo;function Ja(){if(Wo)return qt;Wo=1;var n=Z(),e=n("Number.prototype.toString"),r=function(a){try{return e(a),!0}catch{return!1}},o=n("Object.prototype.toString"),t="[object Number]",i=Ae()();return qt=function(a){return typeof a=="number"?!0:!a||typeof a!="object"?!1:i?r(a):o(a)===t},qt}var Rt,Lo;function Ya(){if(Lo)return Rt;Lo=1;var n=Z(),e=n("Boolean.prototype.toString"),r=n("Object.prototype.toString"),o=function(a){try{return e(a),!0}catch{return!1}},t="[object Boolean]",i=Ae()();return Rt=function(a){return typeof a=="boolean"?!0:a===null||typeof a!="object"?!1:i&&Symbol.toStringTag in a?o(a):r(a)===t},Rt}var We={exports:{}},Et,Uo;function Xa(){if(Uo)return Et;Uo=1;var n=Z(),e=Fo(),r=n("RegExp.prototype.exec"),o=ae();return Et=function(i){if(!e(i))throw new o("`regex` must be a RegExp");return function(a){return r(i,a)!==null}},Et}var Ho;function Za(){if(Ho)return We.exports;Ho=1;var n=Z(),e=n("Object.prototype.toString"),r=Rr()(),o=Xa();if(r){var t=n("Symbol.prototype.toString"),i=o(/^Symbol\(.*\)$/),u=function(f){return typeof f.valueOf()!="symbol"?!1:i(t(f))};We.exports=function(f){if(typeof f=="symbol")return!0;if(!f||typeof f!="object"||e(f)!=="[object Symbol]")return!1;try{return u(f)}catch{return!1}}}else We.exports=function(f){return!1};return We.exports}var Le={exports:{}},$t,Go;function Qa(){if(Go)return $t;Go=1;var n=typeof BigInt<"u"&&BigInt;return $t=function(){return typeof n=="function"&&typeof BigInt=="function"&&typeof n(42)=="bigint"&&typeof BigInt(42)=="bigint"},$t}var Ko;function ei(){if(Ko)return Le.exports;Ko=1;var n=Qa()();if(n){var e=BigInt.prototype.valueOf,r=function(t){try{return e.call(t),!0}catch{}return!1};Le.exports=function(t){return t===null||typeof t>"u"||typeof t=="boolean"||typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="function"?!1:typeof t=="bigint"?!0:r(t)}}else Le.exports=function(t){return!1};return Le.exports}var Bt,zo;function ri(){if(zo)return Bt;zo=1;var n=wo(),e=Ja(),r=Ya(),o=Za(),t=ei();return Bt=function(u){if(u==null||typeof u!="object"&&typeof u!="function")return null;if(n(u))return"String";if(e(u))return"Number";if(r(u))return"Boolean";if(o(u))return"Symbol";if(t(u))return"BigInt"},Bt}var xt,Vo;function ti(){if(Vo)return xt;Vo=1;var n=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,e=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,r;n||(r=function(u){return!1});var o=n?n.prototype.has:null,t=e?e.prototype.has:null;return!r&&!o&&(r=function(u){return!1}),xt=r||function(u){if(!u||typeof u!="object")return!1;try{if(o.call(u,o),t)try{t.call(u,t)}catch{return!0}return u instanceof n}catch{}return!1},xt}var Ue={exports:{}},Jo;function ni(){if(Jo)return Ue.exports;Jo=1;var n=le(),e=Z(),r=n("%WeakSet%",!0),o=e("WeakSet.prototype.has",!0);if(o){var t=e("WeakMap.prototype.has",!0);Ue.exports=function(u){if(!u||typeof u!="object")return!1;try{if(o(u,o),t)try{t(u,t)}catch{return!0}return u instanceof r}catch{}return!1}}else Ue.exports=function(u){return!1};return Ue.exports}var Tt,Yo;function oi(){if(Yo)return Tt;Yo=1;var n=Io(),e=Ro(),r=ti(),o=ni();return Tt=function(i){if(i&&typeof i=="object"){if(n(i))return"Map";if(e(i))return"Set";if(r(i))return"WeakMap";if(o(i))return"WeakSet"}return!1},Tt}var Mt,Xo;function ai(){if(Xo)return Mt;Xo=1;var n=Function.prototype.toString,e=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,r,o;if(typeof e=="function"&&typeof Object.defineProperty=="function")try{r=Object.defineProperty({},"length",{get:function(){throw o}}),o={},e(function(){throw 42},null,r)}catch(w){w!==o&&(e=null)}else e=null;var t=/^\s*class\b/,i=function(b){try{var M=n.call(b);return t.test(M)}catch{return!1}},u=function(b){try{return i(b)?!1:(n.call(b),!0)}catch{return!1}},a=Object.prototype.toString,f="[object Object]",c="[object Function]",v="[object GeneratorFunction]",p="[object HTMLAllCollection]",y="[object HTML document.all class]",g="[object HTMLCollection]",S=typeof Symbol=="function"&&!!Symbol.toStringTag,R=!(0 in[,]),d=function(){return!1};if(typeof document=="object"){var O=document.all;a.call(O)===a.call(document.all)&&(d=function(b){if((R||!b)&&(typeof b>"u"||typeof b=="object"))try{var M=a.call(b);return(M===p||M===y||M===g||M===f)&&b("")==null}catch{}return!1})}return Mt=e?function(b){if(d(b))return!0;if(!b||typeof b!="function"&&typeof b!="object")return!1;try{e(b,null,r)}catch(M){if(M!==o)return!1}return!i(b)&&u(b)}:function(b){if(d(b))return!0;if(!b||typeof b!="function"&&typeof b!="object")return!1;if(S)return u(b);if(i(b))return!1;var M=a.call(b);return M!==c&&M!==v&&!/^\[object HTML/.test(M)?!1:u(b)},Mt}var jt,Zo;function ii(){if(Zo)return jt;Zo=1;var n=ai(),e=Object.prototype.toString,r=Object.prototype.hasOwnProperty,o=function(f,c,v){for(var p=0,y=f.length;p=3&&(p=v),e.call(f)==="[object Array]"?o(f,c,p):typeof f=="string"?t(f,c,p):i(f,c,p)};return jt=u,jt}var Ct,Qo;function ui(){return Qo||(Qo=1,Ct=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),Ct}var kt,ea;function fi(){if(ea)return kt;ea=1;var n=ui(),e=typeof globalThis>"u"?re:globalThis;return kt=function(){for(var o=[],t=0;t"u"?re:globalThis,f=e(),c=o("String.prototype.slice"),v=Object.getPrototypeOf,p=o("Array.prototype.indexOf",!0)||function(d,O){for(var w=0;w-1?O:O!=="Object"?!1:S(d)}return t?g(d):null},Dt}var _t,ta;function li(){if(ta)return _t;ta=1;var n=Z(),e=n("ArrayBuffer.prototype.byteLength",!0),r=ko();return _t=function(t){return r(t)?e?e(t):t.byteLength:NaN},_t}var Ft,na;function ci(){if(na)return Ft;na=1;var n=ja(),e=Zn(),r=_a(),o=le(),t=Ha(),i=go(),u=Ka(),a=so(),f=Oo(),c=ko(),v=za(),p=Fo(),y=Va(),g=Xe(),S=ri(),R=oi(),d=si(),O=li(),w=e("SharedArrayBuffer.prototype.byteLength",!0),b=e("Date.prototype.getTime"),M=Object.getPrototypeOf,Q=e("Object.prototype.toString"),G=o("%Set%",!0),D=e("Map.prototype.has",!0),k=e("Map.prototype.get",!0),I=e("Map.prototype.size",!0),_=e("Set.prototype.add",!0),U=e("Set.prototype.delete",!0),N=e("Set.prototype.has",!0),H=e("Set.prototype.size",!0);function V(h,m,T,$){for(var B=t(h),j;(j=B.next())&&!j.done;)if(z(m,j.value,T,$))return U(h,j.value),!0;return!1}function K(h){if(typeof h>"u")return null;if(typeof h!="object")return typeof h=="symbol"?!1:typeof h=="string"||typeof h=="number"?+h==+h:!0}function $e(h,m,T,$,B,j){var P=K(T);if(P!=null)return P;var q=k(m,P),A=n({},B,{strict:!1});return typeof q>"u"&&!D(m,P)||!z($,q,A,j)?!1:!D(h,P)&&z($,q,A,j)}function we(h,m,T){var $=K(T);return $??(N(m,$)&&!N(h,$))}function ie(h,m,T,$,B,j){for(var P=t(h),q,A;(q=P.next())&&!q.done;)if(A=q.value,z(T,A,B,j)&&z($,k(m,A),B,j))return U(h,A),!0;return!1}function z(h,m,T,$){var B=T||{};if(B.strict?u(h,m):h===m)return!0;var j=S(h),P=S(m);if(j!==P)return!1;if(!h||!m||typeof h!="object"&&typeof m!="object")return B.strict?u(h,m):h==m;var q=$.has(h),A=$.has(m),E;if(q&&A){if($.get(h)===$.get(m))return!0}else E={};return q||$.set(h,E),A||$.set(m,E),de(h,m,B,$)}function Pe(h){return!h||typeof h!="object"||typeof h.length!="number"||typeof h.copy!="function"||typeof h.slice!="function"||h.length>0&&typeof h[0]!="number"?!1:!!(h.constructor&&h.constructor.isBuffer&&h.constructor.isBuffer(h))}function Be(h,m,T,$){if(H(h)!==H(m))return!1;for(var B=t(h),j=t(m),P,q,A;(P=B.next())&&!P.done;)if(P.value&&typeof P.value=="object")A||(A=new G),_(A,P.value);else if(!N(m,P.value)){if(T.strict||!we(h,m,P.value))return!1;A||(A=new G),_(A,P.value)}if(A){for(;(q=j.next())&&!q.done;)if(q.value&&typeof q.value=="object"){if(!V(A,q.value,T.strict,$))return!1}else if(!T.strict&&!N(h,q.value)&&!V(A,q.value,T.strict,$))return!1;return H(A)===0}return!0}function Ie(h,m,T,$){if(I(h)!==I(m))return!1;for(var B=t(h),j=t(m),P,q,A,E,J,Y;(P=B.next())&&!P.done;)if(E=P.value[0],J=P.value[1],E&&typeof E=="object")A||(A=new G),_(A,E);else if(Y=k(m,E),typeof Y>"u"&&!D(m,E)||!z(J,Y,T,$)){if(T.strict||!$e(h,m,E,J,T,$))return!1;A||(A=new G),_(A,E)}if(A){for(;(q=j.next())&&!q.done;)if(E=q.value[0],Y=q.value[1],E&&typeof E=="object"){if(!ie(A,h,E,Y,T,$))return!1}else if(!T.strict&&(!h.has(E)||!z(k(h,E),Y,T,$))&&!ie(A,h,E,Y,n({},T,{strict:!1}),$))return!1;return H(A)===0}return!0}function de(h,m,T,$){var B,j;if(typeof h!=typeof m||h==null||m==null||Q(h)!==Q(m)||a(h)!==a(m))return!1;var P=f(h),q=f(m);if(P!==q)return!1;var A=h instanceof Error,E=m instanceof Error;if(A!==E||(A||E)&&(h.name!==m.name||h.message!==m.message))return!1;var J=p(h),Y=p(m);if(J!==Y||(J||Y)&&(h.source!==m.source||r(h)!==r(m)))return!1;var F=v(h),ee=v(m);if(F!==ee||(F||ee)&&b(h)!==b(m)||T.strict&&M&&M(h)!==M(m))return!1;var ge=d(h),fe=d(m);if(ge!==fe)return!1;if(ge||fe){if(h.length!==m.length)return!1;for(B=0;B=0;B--)if(ve[B]!=ke[B])return!1;for(B=ve.length-1;B>=0;B--)if(j=ve[B],!z(h[j],m[j],T,$))return!1;var he=R(h),xe=R(m);return he!==xe?!1:he==="Set"||xe==="Set"?Be(h,m,T,$):he==="Map"?Ie(h,m,T,$):!0}return Ft=function(m,T,$){return z(m,T,$,i())},Ft}var pi=ci();const yi=ne(pi);class oa{constructor(e){this.target=e,this.isContentEditable=e&&e.contentEditable}getPos(){if(document.activeElement!==this.target)return-1;if(this.isContentEditable==="true"){this.target.focus();let e=document.getSelection().getRangeAt(0),r=e.cloneRange();return r.selectNodeContents(this.target),r.setEnd(e.endContainer,e.endOffset),r.toString().length}return this.target.selectionStart}setPos(e){if(this.isContentEditable==="true"){if(e>=0){var r=window.getSelection(),o=this.createRange(this.target,{count:e});o&&(o.collapse(!1),r.removeAllRanges(),r.addRange(o))}}else this.target.setSelectionRange(e,e)}createRange(e,r,o){if(o||(o=document.createRange(),o.selectNode(e),o.setStart(e,0)),r.count===0)o.setEnd(e,r.count);else if(e&&r.count>0)if(e.nodeType===Node.TEXT_NODE)e.textContent.length{e()},this.debounceTimer)}setMutationObserver(){const e={childList:!0,attributes:!0,subtree:!0,characterData:!0,characterDataOldValue:!0},r=this.holder.querySelector(".codex-editor__redactor");this.observer=new MutationObserver(o=>{this.mutationHandler(o)}),this.observer.observe(r,e)}mutationHandler(e){let r=!1;e.forEach(o=>{switch(o.type){case"childList":o.target===this.holder?this.onDestroy():r=!0;break;case"characterData":r=!0;break;case"attributes":o.target instanceof Element&&!o.target.classList.contains("ce-block")&&!o.target.classList.contains("tc-toolbox")&&(r=!0);break}}),r&&this.mutationDebouncer()}debounce(e,r){let o;return(...t)=>{const i=this;window.clearTimeout(o),o=window.setTimeout(()=>e.apply(i,t),r)}}onDestroy(){const e=new CustomEvent("destroy");document.dispatchEvent(e),this.observer!=null&&this.observer.disconnect()}}class hi{constructor({editor:e,config:r={},onUpdate:o,maxLength:t}){X(this,"blocks");X(this,"caret");X(this,"config");X(this,"defaultBlock");X(this,"editor");X(this,"holder");X(this,"initialItem");X(this,"maxLength");X(this,"onUpdate");X(this,"position",0);X(this,"readOnly");X(this,"shouldSaveHistory");X(this,"stack",[]);const i={maxLength:30,onUpdate(){},config:{debounceTimer:200,shortcuts:{undo:["CMD+Z"],redo:["CMD+Y","CMD+SHIFT+Z"]}}},u=e,{blocks:a,caret:f}=u,{configuration:c}=u,{holder:v,defaultBlock:p}=c,y=i.config.shortcuts,{shortcuts:g}=r,S={...y,...g},R=Array.isArray(S.undo)?S.undo:[S.undo],d=Array.isArray(S.redo)?S.redo:[S.redo],O=i.config.debounceTimer,{debounceTimer:w=O}=r;this.holder=typeof v=="string"?document.getElementById(v):v,this.editor=u,this.defaultBlock=p,this.blocks=a,this.caret=f,this.shouldSaveHistory=!0,this.readOnly=c.readOnly,this.maxLength=t||i.maxLength,this.onUpdate=o||i.onUpdate,this.config={debounceTimer:w,shortcuts:{undo:R,redo:d}},this.holder&&new vi(()=>this.registerChange(),this.holder,this.config.debounceTimer).setMutationObserver(),this.setEventListeners(),this.initialItem=null,this.clear()}static get isReadOnlySupported(){return!0}truncate(e,r){for(;e.length>r;)e.shift()}initialize(e){const r="blocks"in e?e.blocks:e,t={index:r.length-1,state:r};this.stack[0]=t,this.initialItem=t}clear(){this.stack=this.initialItem?[this.initialItem]:[{index:0,state:[{type:this.defaultBlock,data:{}}]}],this.position=0,this.onUpdate()}setReadOnly(){var r;const e=(r=this.holder)==null?void 0:r.querySelector(".ce-toolbox");this.readOnly=!e}registerChange(){this.setReadOnly(),this.readOnly||(this.editor&&this.editor.save&&this.shouldSaveHistory&&this.editor.save().then(e=>{this.editorDidUpdate(e.blocks)&&this.save(e.blocks)}),this.shouldSaveHistory=!0)}editorDidUpdate(e){const{state:r}=this.stack[this.position];return e.length?e.length!==r.length?!0:JSON.stringify(r)!==JSON.stringify(e):!1}save(e){this.position>=this.maxLength&&this.truncate(this.stack,this.maxLength),this.position=Math.min(this.position,this.stack.length-1),this.stack=this.stack.slice(0,this.position+1);const r=this.blocks.getCurrentBlockIndex(),o=this.blocks.getBlocksCount();let t=r;e[r]||(t-=o-e.length);const i=e[t]&&(e[t].type==="paragraph"||e[t].type==="header")?this.getCaretIndex(r):null;this.stack.push({index:t,state:e,caretIndex:i}),this.position+=1,this.onUpdate()}getCaretIndex(e){var o;const r=(o=this.holder)==null?void 0:o.getElementsByClassName("ce-block__content");return r?new oa(r[e].firstChild).getPos():null}async undo(){if(this.canUndo()){const{state:e}=this.stack[this.position];this.position-=1,this.shouldSaveHistory=!1;const{caretIndex:r,index:o,state:t}=this.stack[this.position];await this.switchState(t,e),this.onUpdate(),this.blocks.getBlockByIndex(o)&&(r?this.setCaretIndex(o,r):this.caret.setToBlock(o,"end"))}}setCaretIndex(e,r){var t;const o=(t=this.holder)==null?void 0:t.getElementsByClassName("ce-block__content");if(r&&r!==-1&&o){const i=new oa(o[e].firstChild);setTimeout(()=>i.setPos(r),50)}else this.caret.setToBlock(e,"end")}insertBlock(e,r){this.blocks.insert(e[r].type,e[r].data,{},r,!0)}async updateModifiedBlock(e,r){const o=e[r];return o.id&&this.editor.blocks.getById(o.id)?this.blocks.update(o.id,o.data,o.tunes):this.blocks.render({blocks:e})}async redo(){if(this.canRedo()){this.position+=1,this.shouldSaveHistory=!1;const{caretIndex:e,index:r,state:o}=this.stack[this.position],{state:t}=this.stack[this.position-1];await this.switchState(o,t),this.onUpdate(),this.blocks.getBlockByIndex(r)&&(e?this.setCaretIndex(r,e):this.caret.setToBlock(r,"end"))}}async switchState(e,r){r.reduce((t,i,u)=>e.find(a=>a.id===i.id)?t:[...t,u],[]).sort((t,i)=>i-t).forEach(t=>this.blocks.delete(t)),e.reduce((t,i,u)=>r.find(a=>a.id===i.id)?t:[...t,u],[]).forEach(t=>this.insertBlock(e,t));const o=e.reduce((t,i,u)=>{const a=r.findIndex(f=>f.id===i.id);return a>-1&&!yi(i,r[a])?[...t,u]:t},[]);await Promise.all(o.map(async t=>await this.updateModifiedBlock(e,t)))}canUndo(){return!this.readOnly&&this.position>0}canRedo(){return!this.readOnly&&this.positionr[i]),t=o.includes("shiftKey")&&e.length===2?e[e.length-1].toUpperCase():e[e.length-1].toLowerCase();return o.push(t),o}setEventListeners(){const{holder:e}=this,{shortcuts:r}=this.config,{redo:o,undo:t}=r,i=t.map(d=>d.replace(/ /g,"").split("+")),u=o.map(d=>d.replace(/ /g,"").split("+")),a=i.map(d=>this.parseKeys(d)),f=u.map(d=>this.parseKeys(d)),c=(d,O)=>O.length===2&&d[O[0]]&&d.key.toLowerCase()===O[1],v=(d,O)=>O.length===3&&d[O[0]]&&d[O[1]]&&d.key.toLowerCase()===O[2],p=(d,O)=>O.reduce((w,b)=>w||c(d,b),!1),y=(d,O)=>O.reduce((w,b)=>w||v(d,b),!1),g=(d,O,w)=>!!(p(d,O)&&!y(d,w)||y(d,O)),S=d=>{g(d,a,f)&&(d.preventDefault(),this.undo())},R=d=>{g(d,f,a)&&(d.preventDefault(),this.redo())};if(e){const d=()=>{e.removeEventListener("keydown",S),e.removeEventListener("keydown",R)};e.addEventListener("keydown",S),e.addEventListener("keydown",R),e.addEventListener("destroy",d)}}}return hi}); diff --git a/src/undo.ts b/src/undo.ts index b1b2b2b..f9783d4 100644 --- a/src/undo.ts +++ b/src/undo.ts @@ -311,7 +311,7 @@ export default class Undo { async updateModifiedBlock(state: OutputBlockData[], index: number) { const block = state[index]; if (block.id && this.editor.blocks.getById(block.id)) - return this.blocks.update(block.id, block.data); + return this.blocks.update(block.id, block.data, block.tunes); return this.blocks.render({ blocks: state }); } @@ -350,11 +350,9 @@ export default class Undo { .forEach((i) => this.blocks.delete(i)); stateToApply - .reduce( - (acc, x, idx) => - stateToCompare.find((y) => y.id === x.id) ? acc : [...acc, idx], - [] - ) + .reduce< + number[] + >((acc, x, idx) => (stateToCompare.find((y) => y.id === x.id) ? acc : [...acc, idx]), []) .forEach((i) => this.insertBlock(stateToApply, i)); const idxToUpdate = stateToApply.reduce((acc, x, idxNew) => { From 6d2feae7abab800932d88936ed4a33694765c301 Mon Sep 17 00:00:00 2001 From: Nans Pellicari Date: Sun, 2 Nov 2025 14:01:15 +0100 Subject: [PATCH 3/3] fix: default onUpdate --- dist/bundle.es.js | 8 +++++++- dist/bundle.js | 2 +- dist/undo.d.ts | 2 +- src/undo.ts | 7 ++++++- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/dist/bundle.es.js b/dist/bundle.es.js index b11500e..4668799 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -2635,7 +2635,13 @@ class Pi { /** * @param options — Plugin custom options. */ - constructor({ editor: e, config: r = {}, onUpdate: o, maxLength: n }) { + constructor({ + editor: e, + config: r = {}, + onUpdate: o = () => { + }, + maxLength: n + }) { X(this, "blocks"); X(this, "caret"); X(this, "config"); diff --git a/dist/bundle.js b/dist/bundle.js index dc9ddd4..3a5a187 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -1,4 +1,4 @@ (function(re,ne){typeof exports=="object"&&typeof module<"u"?module.exports=ne():typeof define=="function"&&define.amd?define(ne):(re=typeof globalThis<"u"?globalThis:re||self,re.Undo=ne())})(this,function(){"use strict";var bi=Object.defineProperty;var Oi=(re,ne,Re)=>ne in re?bi(re,ne,{enumerable:!0,configurable:!0,writable:!0,value:Re}):re[ne]=Re;var X=(re,ne,Re)=>Oi(re,typeof ne!="symbol"?ne+"":ne,Re);var re=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ne(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function Re(n){if(Object.prototype.hasOwnProperty.call(n,"__esModule"))return n;var e=n.default;if(typeof e=="function"){var r=function o(){return this instanceof o?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(n).forEach(function(o){var t=Object.getOwnPropertyDescriptor(n,o);Object.defineProperty(r,o,t.get?t:{enumerable:!0,get:function(){return n[o]}})}),r}var Ve,Vt;function Jt(){if(Vt)return Ve;Vt=1;var n=Object.prototype.toString;return Ve=function(r){var o=n.call(r),t=o==="[object Arguments]";return t||(t=o!=="[object Array]"&&r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&n.call(r.callee)==="[object Function]"),t},Ve}var Je,Yt;function va(){if(Yt)return Je;Yt=1;var n;if(!Object.keys){var e=Object.prototype.hasOwnProperty,r=Object.prototype.toString,o=Jt(),t=Object.prototype.propertyIsEnumerable,i=!t.call({toString:null},"toString"),u=t.call(function(){},"prototype"),a=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(y){var g=y.constructor;return g&&g.prototype===y},c={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},v=function(){if(typeof window>"u")return!1;for(var y in window)try{if(!c["$"+y]&&e.call(window,y)&&window[y]!==null&&typeof window[y]=="object")try{f(window[y])}catch{return!0}}catch{return!0}return!1}(),p=function(y){if(typeof window>"u"||!v)return f(y);try{return f(y)}catch{return!1}};n=function(g){var S=g!==null&&typeof g=="object",R=r.call(g)==="[object Function]",d=o(g),O=S&&r.call(g)==="[object String]",w=[];if(!S&&!R&&!d)throw new TypeError("Object.keys called on a non-object");var b=u&&R;if(O&&g.length>0&&!e.call(g,0))for(var M=0;M0)for(var Q=0;Q3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new r("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new r("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new r("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new r("`loose`, if provided, must be a boolean");var f=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,v=arguments.length>5?arguments[5]:null,p=arguments.length>6?arguments[6]:!1,y=!!o&&o(i,u);if(n)n(i,u,{configurable:v===null&&y?y.configurable:!v,enumerable:f===null&&y?y.enumerable:!f,value:a,writable:c===null&&y?y.writable:!c});else if(p||!f&&!c&&!v)i[u]=a;else throw new e("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},or}var ir,on;function ur(){if(on)return ir;on=1;var n=_e(),e=function(){return!!n};return e.hasArrayLengthDefineBug=function(){if(!n)return null;try{return n([],"length",{value:1}).length!==1}catch{return!0}},ir=e,ir}var fr,an;function Oe(){if(an)return fr;an=1;var n=Xe(),e=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",r=Object.prototype.toString,o=Array.prototype.concat,t=ar(),i=function(c){return typeof c=="function"&&r.call(c)==="[object Function]"},u=ur()(),a=function(c,v,p,y){if(v in c){if(y===!0){if(c[v]===p)return}else if(!i(y)||!y())return}u?t(c,v,p,!0):t(c,v,p)},f=function(c,v){var p=arguments.length>2?arguments[2]:{},y=n(v);e&&(y=o.call(y,Object.getOwnPropertySymbols(v)));for(var g=0;g"u"||!D?n:D(Uint8Array),V={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?n:ArrayBuffer,"%ArrayIteratorPrototype%":G&&D?D([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":N,"%AsyncGenerator%":N,"%AsyncGeneratorFunction%":N,"%AsyncIteratorPrototype%":N,"%Atomics%":typeof Atomics>"u"?n:Atomics,"%BigInt%":typeof BigInt>"u"?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":o,"%Float32Array%":typeof Float32Array>"u"?n:Float32Array,"%Float64Array%":typeof Float64Array>"u"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?n:FinalizationRegistry,"%Function%":d,"%GeneratorFunction%":N,"%Int8Array%":typeof Int8Array>"u"?n:Int8Array,"%Int16Array%":typeof Int16Array>"u"?n:Int16Array,"%Int32Array%":typeof Int32Array>"u"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":G&&D?D(D([][Symbol.iterator]())):n,"%JSON%":typeof JSON=="object"?JSON:n,"%Map%":typeof Map>"u"?n:Map,"%MapIteratorPrototype%":typeof Map>"u"||!G||!D?n:D(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?n:Promise,"%Proxy%":typeof Proxy>"u"?n:Proxy,"%RangeError%":t,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?n:Set,"%SetIteratorPrototype%":typeof Set>"u"||!G||!D?n:D(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":G&&D?D(""[Symbol.iterator]()):n,"%Symbol%":G?Symbol:n,"%SyntaxError%":u,"%ThrowTypeError%":Q,"%TypedArray%":H,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array>"u"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?n:Uint32Array,"%URIError%":f,"%WeakMap%":typeof WeakMap>"u"?n:WeakMap,"%WeakRef%":typeof WeakRef>"u"?n:WeakRef,"%WeakSet%":typeof WeakSet>"u"?n:WeakSet,"%Function.prototype.call%":U,"%Function.prototype.apply%":_,"%Object.defineProperty%":b,"%Object.getPrototypeOf%":k,"%Math.abs%":c,"%Math.floor%":v,"%Math.max%":p,"%Math.min%":y,"%Math.pow%":g,"%Math.round%":S,"%Math.sign%":R,"%Reflect.getPrototypeOf%":I};if(D)try{null.error}catch(j){var K=D(D(j));V["%Error.prototype%"]=K}var $e=function j(P){var q;if(P==="%AsyncFunction%")q=O("async function () {}");else if(P==="%GeneratorFunction%")q=O("function* () {}");else if(P==="%AsyncGeneratorFunction%")q=O("async function* () {}");else if(P==="%AsyncGenerator%"){var A=j("%AsyncGeneratorFunction%");A&&(q=A.prototype)}else if(P==="%AsyncIteratorPrototype%"){var E=j("%AsyncGenerator%");E&&D&&(q=D(E.prototype))}return V[P]=q,q},we={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ie=je(),z=Ur(),Pe=ie.call(U,Array.prototype.concat),Be=ie.call(_,Array.prototype.splice),Ie=ie.call(U,String.prototype.replace),de=ie.call(U,String.prototype.slice),h=ie.call(U,RegExp.prototype.exec),m=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,T=/\\(\\)?/g,$=function(P){var q=de(P,0,1),A=de(P,-1);if(q==="%"&&A!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if(A==="%"&&q!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var E=[];return Ie(P,m,function(J,Y,F,ee){E[E.length]=F?Ie(ee,T,"$1"):Y||J}),E},B=function(P,q){var A=P,E;if(z(we,A)&&(E=we[A],A="%"+E[0]+"%"),z(V,A)){var J=V[A];if(J===N&&(J=$e(A)),typeof J>"u"&&!q)throw new a("intrinsic "+P+" exists, but is not available. Please file an issue!");return{alias:E,name:A,value:J}}throw new u("intrinsic "+P+" does not exist!")};return Hr=function(P,q){if(typeof P!="string"||P.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof q!="boolean")throw new a('"allowMissing" argument must be a boolean');if(h(/^%?[^%]*%?$/,P)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var A=$(P),E=A.length>0?A[0]:"",J=B("%"+E+"%",q),Y=J.name,F=J.value,ee=!1,ge=J.alias;ge&&(E=ge[0],Be(A,Pe([0,1],ge)));for(var fe=1,se=!0;fe=A.length){var ye=w(F,te);se=!!ye,se&&"get"in ye&&!("originalValue"in ye.get)?F=ye.get:F=F[te]}else se=z(F,te),F=F[te];se&&!ee&&(V[Y]=F)}}return F},Hr}var Gr,Wn;function xa(){if(Wn)return Gr;Wn=1;var n=le(),e=ar(),r=ur()(),o=be(),t=ae(),i=n("%Math.floor%");return Gr=function(a,f){if(typeof a!="function")throw new t("`fn` is not a function");if(typeof f!="number"||f<0||f>4294967295||i(f)!==f)throw new t("`length` must be a positive 32-bit integer");var c=arguments.length>2&&!!arguments[2],v=!0,p=!0;if("length"in a&&o){var y=o(a,"length");y&&!y.configurable&&(v=!1),y&&!y.writable&&(p=!1)}return(v||p||!c)&&(r?e(a,"length",f,!0,!0):e(a,"length",f)),a},Gr}var Kr,Ln;function Ta(){if(Ln)return Kr;Ln=1;var n=je(),e=Cr(),r=jn();return Kr=function(){return r(n,e,arguments)},Kr}var Un;function Ee(){return Un||(Un=1,function(n){var e=xa(),r=_e(),o=Fr(),t=Ta();n.exports=function(u){var a=o(arguments),f=u.length-(arguments.length-1);return e(a,1+(f>0?f:0),!0)},r?r(n.exports,"apply",{value:t}):n.exports.apply=t}(sr)),sr.exports}var zr,Hn;function Z(){if(Hn)return zr;Hn=1;var n=le(),e=Fr(),r=e([n("%String.prototype.indexOf%")]);return zr=function(t,i){var u=n(t,!!i);return typeof u=="function"&&r(t,".prototype.")>-1?e([u]):u},zr}var Vr,Gn;function Kn(){if(Gn)return Vr;Gn=1;var n=Xe(),e=Fe()(),r=Z(),o=cr(),t=r("Array.prototype.push"),i=r("Object.prototype.propertyIsEnumerable"),u=e?o.getOwnPropertySymbols:null;return Vr=function(f,c){if(f==null)throw new TypeError("target must be an object");var v=o(f);if(arguments.length===1)return v;for(var p=1;p-1?e(u):u},Zr}var Qr,Qn;function Ca(){if(Qn)return Qr;Qn=1;var n=function(){return typeof(function(){}).name=="string"},e=Object.getOwnPropertyDescriptor;if(e)try{e([],"length")}catch{e=null}n.functionsHaveConfigurableNames=function(){if(!n()||!e)return!1;var t=e(function(){},"name");return!!t&&!!t.configurable};var r=Function.prototype.bind;return n.boundFunctionsHaveNames=function(){return n()&&typeof r=="function"&&(function(){}).bind().name!==""},Qr=n,Qr}var et,eo;function ka(){if(eo)return et;eo=1;var n=ar(),e=ur()(),r=Ca().functionsHaveConfigurableNames(),o=ae();return et=function(i,u){if(typeof i!="function")throw new o("`fn` is not a function");var a=arguments.length>2&&!!arguments[2];return(!a||r)&&(e?n(i,"name",u,!0,!0):n(i,"name",u)),i},et}var rt,ro;function to(){if(ro)return rt;ro=1;var n=ka(),e=ae(),r=Object;return rt=n(function(){if(this==null||this!==r(this))throw new e("RegExp.prototype.flags getter called on non-object");var t="";return this.hasIndices&&(t+="d"),this.global&&(t+="g"),this.ignoreCase&&(t+="i"),this.multiline&&(t+="m"),this.dotAll&&(t+="s"),this.unicode&&(t+="u"),this.unicodeSets&&(t+="v"),this.sticky&&(t+="y"),t},"get flags",!0),rt}var tt,no;function oo(){if(no)return tt;no=1;var n=to(),e=Oe().supportsDescriptors,r=Object.getOwnPropertyDescriptor;return tt=function(){if(e&&/a/mig.flags==="gim"){var t=r(RegExp.prototype,"flags");if(t&&typeof t.get=="function"&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var i="",u={};if(Object.defineProperty(u,"hasIndices",{get:function(){i+="d"}}),Object.defineProperty(u,"sticky",{get:function(){i+="y"}}),t.get.call(u),i==="dy")return t.get}}return n},tt}var nt,ao;function Da(){if(ao)return nt;ao=1;var n=Oe().supportsDescriptors,e=oo(),r=be(),o=Object.defineProperty,t=sn(),i=_n(),u=/a/;return nt=function(){if(!n||!i)throw new t("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var f=e(),c=i(u),v=r(c,"flags");return(!v||v.get!==f)&&o(c,"flags",{configurable:!0,enumerable:!1,get:f}),f},nt}var ot,io;function _a(){if(io)return ot;io=1;var n=Oe(),e=Ee(),r=to(),o=oo(),t=Da(),i=e(o());return n(i,{getPolyfill:o,implementation:r,shim:t}),ot=i,ot}var Ce={exports:{}},at,uo;function Ae(){if(uo)return at;uo=1;var n=Fe();return at=function(){return n()&&!!Symbol.toStringTag},at}var it,fo;function so(){if(fo)return it;fo=1;var n=Ae()(),e=Z(),r=e("Object.prototype.toString"),o=function(a){return n&&a&&typeof a=="object"&&Symbol.toStringTag in a?!1:r(a)==="[object Arguments]"},t=function(a){return o(a)?!0:a!==null&&typeof a=="object"&&"length"in a&&typeof a.length=="number"&&a.length>=0&&r(a)!=="[object Array]"&&"callee"in a&&r(a.callee)==="[object Function]"},i=function(){return o(arguments)}();return o.isLegacyArguments=t,it=i?o:t,it}const Fa=Re(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var ut,lo;function Ne(){if(lo)return ut;lo=1;var n=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=n&&e&&typeof e.get=="function"?e.get:null,o=n&&Map.prototype.forEach,t=typeof Set=="function"&&Set.prototype,i=Object.getOwnPropertyDescriptor&&t?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=t&&i&&typeof i.get=="function"?i.get:null,a=t&&Set.prototype.forEach,f=typeof WeakMap=="function"&&WeakMap.prototype,c=f?WeakMap.prototype.has:null,v=typeof WeakSet=="function"&&WeakSet.prototype,p=v?WeakSet.prototype.has:null,y=typeof WeakRef=="function"&&WeakRef.prototype,g=y?WeakRef.prototype.deref:null,S=Boolean.prototype.valueOf,R=Object.prototype.toString,d=Function.prototype.toString,O=String.prototype.match,w=String.prototype.slice,b=String.prototype.replace,M=String.prototype.toUpperCase,Q=String.prototype.toLowerCase,G=RegExp.prototype.test,D=Array.prototype.concat,k=Array.prototype.join,I=Array.prototype.slice,_=Math.floor,U=typeof BigInt=="function"?BigInt.prototype.valueOf:null,N=Object.getOwnPropertySymbols,H=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,V=typeof Symbol=="function"&&typeof Symbol.iterator=="object",K=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===V||!0)?Symbol.toStringTag:null,$e=Object.prototype.propertyIsEnumerable,we=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(s){return s.__proto__}:null);function ie(s,l){if(s===1/0||s===-1/0||s!==s||s&&s>-1e3&&s<1e3||G.call(/e/,l))return l;var C=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof s=="number"){var W=s<0?-_(-s):_(s);if(W!==s){var L=String(W),x=w.call(l,L.length+1);return b.call(L,C,"$&_")+"."+b.call(b.call(x,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(l,C,"$&_")}var z=Fa,Pe=z.custom,Be=E(Pe)?Pe:null,Ie={__proto__:null,double:'"',single:"'"},de={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};ut=function s(l,C,W,L){var x=C||{};if(F(x,"quoteStyle")&&!F(Ie,x.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(F(x,"maxStringLength")&&(typeof x.maxStringLength=="number"?x.maxStringLength<0&&x.maxStringLength!==1/0:x.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var me=F(x,"customInspect")?x.customInspect:!0;if(typeof me!="boolean"&&me!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(F(x,"indent")&&x.indent!==null&&x.indent!==" "&&!(parseInt(x.indent,10)===x.indent&&x.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(F(x,"numericSeparator")&&typeof x.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var qe=x.numericSeparator;if(typeof l>"u")return"undefined";if(l===null)return"null";if(typeof l=="boolean")return l?"true":"false";if(typeof l=="string")return ve(l,x);if(typeof l=="number"){if(l===0)return 1/0/l>0?"0":"-0";var oe=String(l);return qe?ie(l,oe):oe}if(typeof l=="bigint"){var Se=String(l)+"n";return qe?ie(l,Se):Se}var Wt=typeof x.depth>"u"?5:x.depth;if(typeof W>"u"&&(W=0),W>=Wt&&Wt>0&&typeof l=="object")return T(l)?"[Array]":"[Object]";var Te=gi(x,W);if(typeof L>"u")L=[];else if(fe(L,l)>=0)return"[Circular]";function ue(Me,ze,Si){if(ze&&(L=I.call(L),L.push(ze)),Si){var ya={depth:x.depth};return F(x,"quoteStyle")&&(ya.quoteStyle=x.quoteStyle),s(Me,ya,W+1,L)}return s(Me,x,W+1,L)}if(typeof l=="function"&&!B(l)){var ia=ge(l),ua=Ge(l,ue);return"[Function"+(ia?": "+ia:" (anonymous)")+"]"+(ua.length>0?" { "+k.call(ua,", ")+" }":"")}if(E(l)){var fa=V?b.call(String(l),/^(Symbol\(.*\))_[^)]*$/,"$1"):H.call(l);return typeof l=="object"&&!V?he(fa):fa}if(He(l)){for(var De="<"+Q.call(String(l.nodeName)),Lt=l.attributes||[],Ke=0;Ke",De}if(T(l)){if(l.length===0)return"[]";var Ut=Ge(l,ue);return Te&&!di(Ut)?"["+Nt(Ut,Te)+"]":"[ "+k.call(Ut,", ")+" ]"}if(j(l)){var Ht=Ge(l,ue);return!("cause"in Error.prototype)&&"cause"in l&&!$e.call(l,"cause")?"{ ["+String(l)+"] "+k.call(D.call("[cause]: "+ue(l.cause),Ht),", ")+" }":Ht.length===0?"["+String(l)+"]":"{ ["+String(l)+"] "+k.call(Ht,", ")+" }"}if(typeof l=="object"&&me){if(Be&&typeof l[Be]=="function"&&z)return z(l,{depth:Wt-W});if(me!=="symbol"&&typeof l.inspect=="function")return l.inspect()}if(se(l)){var sa=[];return o&&o.call(l,function(Me,ze){sa.push(ue(ze,l,!0)+" => "+ue(Me,l))}),aa("Map",r.call(l),sa,Te)}if(pe(l)){var la=[];return a&&a.call(l,function(Me){la.push(ue(Me,l))}),aa("Set",u.call(l),la,Te)}if(te(l))return xe("WeakMap");if(ye(l))return xe("WeakSet");if(ce(l))return xe("WeakRef");if(q(l))return he(ue(Number(l)));if(J(l))return he(ue(U.call(l)));if(A(l))return he(S.call(l));if(P(l))return he(ue(String(l)));if(typeof window<"u"&&l===window)return"{ [object Window] }";if(typeof globalThis<"u"&&l===globalThis||typeof re<"u"&&l===re)return"{ [object globalThis] }";if(!$(l)&&!B(l)){var Gt=Ge(l,ue),ca=we?we(l)===Object.prototype:l instanceof Object||l.constructor===Object,Kt=l instanceof Object?"":"null prototype",pa=!ca&&K&&Object(l)===l&&K in l?w.call(ee(l),8,-1):Kt?"Object":"",mi=ca||typeof l.constructor!="function"?"":l.constructor.name?l.constructor.name+" ":"",zt=mi+(pa||Kt?"["+k.call(D.call([],pa||[],Kt||[]),": ")+"] ":"");return Gt.length===0?zt+"{}":Te?zt+"{"+Nt(Gt,Te)+"}":zt+"{ "+k.call(Gt,", ")+" }"}return String(l)};function h(s,l,C){var W=C.quoteStyle||l,L=Ie[W];return L+s+L}function m(s){return b.call(String(s),/"/g,""")}function T(s){return ee(s)==="[object Array]"&&(!K||!(typeof s=="object"&&K in s))}function $(s){return ee(s)==="[object Date]"&&(!K||!(typeof s=="object"&&K in s))}function B(s){return ee(s)==="[object RegExp]"&&(!K||!(typeof s=="object"&&K in s))}function j(s){return ee(s)==="[object Error]"&&(!K||!(typeof s=="object"&&K in s))}function P(s){return ee(s)==="[object String]"&&(!K||!(typeof s=="object"&&K in s))}function q(s){return ee(s)==="[object Number]"&&(!K||!(typeof s=="object"&&K in s))}function A(s){return ee(s)==="[object Boolean]"&&(!K||!(typeof s=="object"&&K in s))}function E(s){if(V)return s&&typeof s=="object"&&s instanceof Symbol;if(typeof s=="symbol")return!0;if(!s||typeof s!="object"||!H)return!1;try{return H.call(s),!0}catch{}return!1}function J(s){if(!s||typeof s!="object"||!U)return!1;try{return U.call(s),!0}catch{}return!1}var Y=Object.prototype.hasOwnProperty||function(s){return s in this};function F(s,l){return Y.call(s,l)}function ee(s){return R.call(s)}function ge(s){if(s.name)return s.name;var l=O.call(d.call(s),/^function\s*([\w$]+)/);return l?l[1]:null}function fe(s,l){if(s.indexOf)return s.indexOf(l);for(var C=0,W=s.length;Cl.maxStringLength){var C=s.length-l.maxStringLength,W="... "+C+" more character"+(C>1?"s":"");return ve(w.call(s,0,l.maxStringLength),l)+W}var L=de[l.quoteStyle||"single"];L.lastIndex=0;var x=b.call(b.call(s,L,"\\$1"),/[\x00-\x1f]/g,ke);return h(x,"single",l)}function ke(s){var l=s.charCodeAt(0),C={8:"b",9:"t",10:"n",12:"f",13:"r"}[l];return C?"\\"+C:"\\x"+(l<16?"0":"")+M.call(l.toString(16))}function he(s){return"Object("+s+")"}function xe(s){return s+" { ? }"}function aa(s,l,C,W){var L=W?Nt(C,W):k.call(C,", ");return s+" ("+l+") {"+L+"}"}function di(s){for(var l=0;l=0)return!1;return!0}function gi(s,l){var C;if(s.indent===" ")C=" ";else if(typeof s.indent=="number"&&s.indent>0)C=k.call(Array(s.indent+1)," ");else return null;return{base:C,prev:k.call(Array(l+1),C)}}function Nt(s,l){if(s.length===0)return"";var C=` `+l.prev+l.base;return C+k.call(s,","+C)+` -`+l.prev}function Ge(s,l){var C=T(s),W=[];if(C){W.length=s.length;for(var L=0;L=U)return _+1;var N=v(I,_);if(N<55296||N>56319)return _+1;var H=v(I,_+1);return H<56320||H>57343?_+1:_+2},g=function(I){var _=0;return{next:function(){var N=_>=I.length,H;return N||(H=I[_],_+=1),{done:N,value:H}}}},S=function(I,_){if(o(I)||n(I))return g(I);if(t(I)){var U=0;return{next:function(){var H=y(I,U),V=p(I,U,H);return U=H,{done:H>I.length,value:V}}}}if(_&&typeof I["_es6-shim iterator_"]<"u")return I["_es6-shim iterator_"]()};if(!u&&!a)Ce.exports=function(I){if(I!=null)return S(I,!0)};else{var R=Io(),d=Ro(),O=f("Map.prototype.forEach",!0),w=f("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var b=f("Map.prototype.iterator",!0),M=f("Set.prototype.iterator",!0);var Q=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),G=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0),D=function(I){if(R(I)){if(b)return e(b(I));if(Q)return Q(I);if(O){var _=[];return O(I,function(N,H){c(_,[H,N])}),g(_)}}if(d(I)){if(M)return e(M(I));if(G)return G(I);if(w){var U=[];return w(I,function(N){c(U,N)}),g(U)}}};Ce.exports=function(I){return D(I)||S(I)}}}return Ce.exports}var mt,$o;function Bo(){if($o)return mt;$o=1;var n=function(e){return e!==e};return mt=function(r,o){return r===0&&o===0?1/r===1/o:!!(r===o||n(r)&&n(o))},mt}var St,xo;function To(){if(xo)return St;xo=1;var n=Bo();return St=function(){return typeof Object.is=="function"?Object.is:n},St}var bt,Mo;function Ga(){if(Mo)return bt;Mo=1;var n=To(),e=Oe();return bt=function(){var o=n();return e(Object,{is:o},{is:function(){return Object.is!==o}}),o},bt}var Ot,jo;function Ka(){if(jo)return Ot;jo=1;var n=Oe(),e=Ee(),r=Bo(),o=To(),t=Ga(),i=e(o(),Object);return n(i,{getPolyfill:o,implementation:r,shim:t}),Ot=i,Ot}var At,Co;function ko(){if(Co)return At;Co=1;var n=Ee(),e=Z(),r=le(),o=r("%ArrayBuffer%",!0),t=e("ArrayBuffer.prototype.byteLength",!0),i=e("Object.prototype.toString"),u=!!o&&!t&&new o(0).slice,a=!!u&&n(u);return At=t||a?function(c){if(!c||typeof c!="object")return!1;try{return t?t(c):a(c,0),!0}catch{return!1}}:o?function(c){return i(c)==="[object ArrayBuffer]"}:function(c){return!1},At}var wt,Do;function za(){if(Do)return wt;Do=1;var n=Z(),e=n("Date.prototype.getDay"),r=function(a){try{return e(a),!0}catch{return!1}},o=n("Object.prototype.toString"),t="[object Date]",i=Ae()();return wt=function(a){return typeof a!="object"||a===null?!1:i?r(a):o(a)===t},wt}var Pt,_o;function Fo(){if(_o)return Pt;_o=1;var n=Z(),e=Ae()(),r=Ur(),o=be(),t;if(e){var i=n("RegExp.prototype.exec"),u={},a=function(){throw u},f={toString:a,valueOf:a};typeof Symbol.toPrimitive=="symbol"&&(f[Symbol.toPrimitive]=a),t=function(y){if(!y||typeof y!="object")return!1;var g=o(y,"lastIndex"),S=g&&r(g,"value");if(!S)return!1;try{i(y,f)}catch(R){return R===u}}}else{var c=n("Object.prototype.toString"),v="[object RegExp]";t=function(y){return!y||typeof y!="object"&&typeof y!="function"?!1:c(y)===v}}return Pt=t,Pt}var It,No;function Va(){if(No)return It;No=1;var n=Z(),e=n("SharedArrayBuffer.prototype.byteLength",!0);return It=e?function(o){if(!o||typeof o!="object")return!1;try{return e(o),!0}catch{return!1}}:function(o){return!1},It}var qt,Wo;function Ja(){if(Wo)return qt;Wo=1;var n=Z(),e=n("Number.prototype.toString"),r=function(a){try{return e(a),!0}catch{return!1}},o=n("Object.prototype.toString"),t="[object Number]",i=Ae()();return qt=function(a){return typeof a=="number"?!0:!a||typeof a!="object"?!1:i?r(a):o(a)===t},qt}var Rt,Lo;function Ya(){if(Lo)return Rt;Lo=1;var n=Z(),e=n("Boolean.prototype.toString"),r=n("Object.prototype.toString"),o=function(a){try{return e(a),!0}catch{return!1}},t="[object Boolean]",i=Ae()();return Rt=function(a){return typeof a=="boolean"?!0:a===null||typeof a!="object"?!1:i&&Symbol.toStringTag in a?o(a):r(a)===t},Rt}var We={exports:{}},Et,Uo;function Xa(){if(Uo)return Et;Uo=1;var n=Z(),e=Fo(),r=n("RegExp.prototype.exec"),o=ae();return Et=function(i){if(!e(i))throw new o("`regex` must be a RegExp");return function(a){return r(i,a)!==null}},Et}var Ho;function Za(){if(Ho)return We.exports;Ho=1;var n=Z(),e=n("Object.prototype.toString"),r=Rr()(),o=Xa();if(r){var t=n("Symbol.prototype.toString"),i=o(/^Symbol\(.*\)$/),u=function(f){return typeof f.valueOf()!="symbol"?!1:i(t(f))};We.exports=function(f){if(typeof f=="symbol")return!0;if(!f||typeof f!="object"||e(f)!=="[object Symbol]")return!1;try{return u(f)}catch{return!1}}}else We.exports=function(f){return!1};return We.exports}var Le={exports:{}},$t,Go;function Qa(){if(Go)return $t;Go=1;var n=typeof BigInt<"u"&&BigInt;return $t=function(){return typeof n=="function"&&typeof BigInt=="function"&&typeof n(42)=="bigint"&&typeof BigInt(42)=="bigint"},$t}var Ko;function ei(){if(Ko)return Le.exports;Ko=1;var n=Qa()();if(n){var e=BigInt.prototype.valueOf,r=function(t){try{return e.call(t),!0}catch{}return!1};Le.exports=function(t){return t===null||typeof t>"u"||typeof t=="boolean"||typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="function"?!1:typeof t=="bigint"?!0:r(t)}}else Le.exports=function(t){return!1};return Le.exports}var Bt,zo;function ri(){if(zo)return Bt;zo=1;var n=wo(),e=Ja(),r=Ya(),o=Za(),t=ei();return Bt=function(u){if(u==null||typeof u!="object"&&typeof u!="function")return null;if(n(u))return"String";if(e(u))return"Number";if(r(u))return"Boolean";if(o(u))return"Symbol";if(t(u))return"BigInt"},Bt}var xt,Vo;function ti(){if(Vo)return xt;Vo=1;var n=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,e=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,r;n||(r=function(u){return!1});var o=n?n.prototype.has:null,t=e?e.prototype.has:null;return!r&&!o&&(r=function(u){return!1}),xt=r||function(u){if(!u||typeof u!="object")return!1;try{if(o.call(u,o),t)try{t.call(u,t)}catch{return!0}return u instanceof n}catch{}return!1},xt}var Ue={exports:{}},Jo;function ni(){if(Jo)return Ue.exports;Jo=1;var n=le(),e=Z(),r=n("%WeakSet%",!0),o=e("WeakSet.prototype.has",!0);if(o){var t=e("WeakMap.prototype.has",!0);Ue.exports=function(u){if(!u||typeof u!="object")return!1;try{if(o(u,o),t)try{t(u,t)}catch{return!0}return u instanceof r}catch{}return!1}}else Ue.exports=function(u){return!1};return Ue.exports}var Tt,Yo;function oi(){if(Yo)return Tt;Yo=1;var n=Io(),e=Ro(),r=ti(),o=ni();return Tt=function(i){if(i&&typeof i=="object"){if(n(i))return"Map";if(e(i))return"Set";if(r(i))return"WeakMap";if(o(i))return"WeakSet"}return!1},Tt}var Mt,Xo;function ai(){if(Xo)return Mt;Xo=1;var n=Function.prototype.toString,e=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,r,o;if(typeof e=="function"&&typeof Object.defineProperty=="function")try{r=Object.defineProperty({},"length",{get:function(){throw o}}),o={},e(function(){throw 42},null,r)}catch(w){w!==o&&(e=null)}else e=null;var t=/^\s*class\b/,i=function(b){try{var M=n.call(b);return t.test(M)}catch{return!1}},u=function(b){try{return i(b)?!1:(n.call(b),!0)}catch{return!1}},a=Object.prototype.toString,f="[object Object]",c="[object Function]",v="[object GeneratorFunction]",p="[object HTMLAllCollection]",y="[object HTML document.all class]",g="[object HTMLCollection]",S=typeof Symbol=="function"&&!!Symbol.toStringTag,R=!(0 in[,]),d=function(){return!1};if(typeof document=="object"){var O=document.all;a.call(O)===a.call(document.all)&&(d=function(b){if((R||!b)&&(typeof b>"u"||typeof b=="object"))try{var M=a.call(b);return(M===p||M===y||M===g||M===f)&&b("")==null}catch{}return!1})}return Mt=e?function(b){if(d(b))return!0;if(!b||typeof b!="function"&&typeof b!="object")return!1;try{e(b,null,r)}catch(M){if(M!==o)return!1}return!i(b)&&u(b)}:function(b){if(d(b))return!0;if(!b||typeof b!="function"&&typeof b!="object")return!1;if(S)return u(b);if(i(b))return!1;var M=a.call(b);return M!==c&&M!==v&&!/^\[object HTML/.test(M)?!1:u(b)},Mt}var jt,Zo;function ii(){if(Zo)return jt;Zo=1;var n=ai(),e=Object.prototype.toString,r=Object.prototype.hasOwnProperty,o=function(f,c,v){for(var p=0,y=f.length;p=3&&(p=v),e.call(f)==="[object Array]"?o(f,c,p):typeof f=="string"?t(f,c,p):i(f,c,p)};return jt=u,jt}var Ct,Qo;function ui(){return Qo||(Qo=1,Ct=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),Ct}var kt,ea;function fi(){if(ea)return kt;ea=1;var n=ui(),e=typeof globalThis>"u"?re:globalThis;return kt=function(){for(var o=[],t=0;t"u"?re:globalThis,f=e(),c=o("String.prototype.slice"),v=Object.getPrototypeOf,p=o("Array.prototype.indexOf",!0)||function(d,O){for(var w=0;w-1?O:O!=="Object"?!1:S(d)}return t?g(d):null},Dt}var _t,ta;function li(){if(ta)return _t;ta=1;var n=Z(),e=n("ArrayBuffer.prototype.byteLength",!0),r=ko();return _t=function(t){return r(t)?e?e(t):t.byteLength:NaN},_t}var Ft,na;function ci(){if(na)return Ft;na=1;var n=ja(),e=Zn(),r=_a(),o=le(),t=Ha(),i=go(),u=Ka(),a=so(),f=Oo(),c=ko(),v=za(),p=Fo(),y=Va(),g=Xe(),S=ri(),R=oi(),d=si(),O=li(),w=e("SharedArrayBuffer.prototype.byteLength",!0),b=e("Date.prototype.getTime"),M=Object.getPrototypeOf,Q=e("Object.prototype.toString"),G=o("%Set%",!0),D=e("Map.prototype.has",!0),k=e("Map.prototype.get",!0),I=e("Map.prototype.size",!0),_=e("Set.prototype.add",!0),U=e("Set.prototype.delete",!0),N=e("Set.prototype.has",!0),H=e("Set.prototype.size",!0);function V(h,m,T,$){for(var B=t(h),j;(j=B.next())&&!j.done;)if(z(m,j.value,T,$))return U(h,j.value),!0;return!1}function K(h){if(typeof h>"u")return null;if(typeof h!="object")return typeof h=="symbol"?!1:typeof h=="string"||typeof h=="number"?+h==+h:!0}function $e(h,m,T,$,B,j){var P=K(T);if(P!=null)return P;var q=k(m,P),A=n({},B,{strict:!1});return typeof q>"u"&&!D(m,P)||!z($,q,A,j)?!1:!D(h,P)&&z($,q,A,j)}function we(h,m,T){var $=K(T);return $??(N(m,$)&&!N(h,$))}function ie(h,m,T,$,B,j){for(var P=t(h),q,A;(q=P.next())&&!q.done;)if(A=q.value,z(T,A,B,j)&&z($,k(m,A),B,j))return U(h,A),!0;return!1}function z(h,m,T,$){var B=T||{};if(B.strict?u(h,m):h===m)return!0;var j=S(h),P=S(m);if(j!==P)return!1;if(!h||!m||typeof h!="object"&&typeof m!="object")return B.strict?u(h,m):h==m;var q=$.has(h),A=$.has(m),E;if(q&&A){if($.get(h)===$.get(m))return!0}else E={};return q||$.set(h,E),A||$.set(m,E),de(h,m,B,$)}function Pe(h){return!h||typeof h!="object"||typeof h.length!="number"||typeof h.copy!="function"||typeof h.slice!="function"||h.length>0&&typeof h[0]!="number"?!1:!!(h.constructor&&h.constructor.isBuffer&&h.constructor.isBuffer(h))}function Be(h,m,T,$){if(H(h)!==H(m))return!1;for(var B=t(h),j=t(m),P,q,A;(P=B.next())&&!P.done;)if(P.value&&typeof P.value=="object")A||(A=new G),_(A,P.value);else if(!N(m,P.value)){if(T.strict||!we(h,m,P.value))return!1;A||(A=new G),_(A,P.value)}if(A){for(;(q=j.next())&&!q.done;)if(q.value&&typeof q.value=="object"){if(!V(A,q.value,T.strict,$))return!1}else if(!T.strict&&!N(h,q.value)&&!V(A,q.value,T.strict,$))return!1;return H(A)===0}return!0}function Ie(h,m,T,$){if(I(h)!==I(m))return!1;for(var B=t(h),j=t(m),P,q,A,E,J,Y;(P=B.next())&&!P.done;)if(E=P.value[0],J=P.value[1],E&&typeof E=="object")A||(A=new G),_(A,E);else if(Y=k(m,E),typeof Y>"u"&&!D(m,E)||!z(J,Y,T,$)){if(T.strict||!$e(h,m,E,J,T,$))return!1;A||(A=new G),_(A,E)}if(A){for(;(q=j.next())&&!q.done;)if(E=q.value[0],Y=q.value[1],E&&typeof E=="object"){if(!ie(A,h,E,Y,T,$))return!1}else if(!T.strict&&(!h.has(E)||!z(k(h,E),Y,T,$))&&!ie(A,h,E,Y,n({},T,{strict:!1}),$))return!1;return H(A)===0}return!0}function de(h,m,T,$){var B,j;if(typeof h!=typeof m||h==null||m==null||Q(h)!==Q(m)||a(h)!==a(m))return!1;var P=f(h),q=f(m);if(P!==q)return!1;var A=h instanceof Error,E=m instanceof Error;if(A!==E||(A||E)&&(h.name!==m.name||h.message!==m.message))return!1;var J=p(h),Y=p(m);if(J!==Y||(J||Y)&&(h.source!==m.source||r(h)!==r(m)))return!1;var F=v(h),ee=v(m);if(F!==ee||(F||ee)&&b(h)!==b(m)||T.strict&&M&&M(h)!==M(m))return!1;var ge=d(h),fe=d(m);if(ge!==fe)return!1;if(ge||fe){if(h.length!==m.length)return!1;for(B=0;B=0;B--)if(ve[B]!=ke[B])return!1;for(B=ve.length-1;B>=0;B--)if(j=ve[B],!z(h[j],m[j],T,$))return!1;var he=R(h),xe=R(m);return he!==xe?!1:he==="Set"||xe==="Set"?Be(h,m,T,$):he==="Map"?Ie(h,m,T,$):!0}return Ft=function(m,T,$){return z(m,T,$,i())},Ft}var pi=ci();const yi=ne(pi);class oa{constructor(e){this.target=e,this.isContentEditable=e&&e.contentEditable}getPos(){if(document.activeElement!==this.target)return-1;if(this.isContentEditable==="true"){this.target.focus();let e=document.getSelection().getRangeAt(0),r=e.cloneRange();return r.selectNodeContents(this.target),r.setEnd(e.endContainer,e.endOffset),r.toString().length}return this.target.selectionStart}setPos(e){if(this.isContentEditable==="true"){if(e>=0){var r=window.getSelection(),o=this.createRange(this.target,{count:e});o&&(o.collapse(!1),r.removeAllRanges(),r.addRange(o))}}else this.target.setSelectionRange(e,e)}createRange(e,r,o){if(o||(o=document.createRange(),o.selectNode(e),o.setStart(e,0)),r.count===0)o.setEnd(e,r.count);else if(e&&r.count>0)if(e.nodeType===Node.TEXT_NODE)e.textContent.length{e()},this.debounceTimer)}setMutationObserver(){const e={childList:!0,attributes:!0,subtree:!0,characterData:!0,characterDataOldValue:!0},r=this.holder.querySelector(".codex-editor__redactor");this.observer=new MutationObserver(o=>{this.mutationHandler(o)}),this.observer.observe(r,e)}mutationHandler(e){let r=!1;e.forEach(o=>{switch(o.type){case"childList":o.target===this.holder?this.onDestroy():r=!0;break;case"characterData":r=!0;break;case"attributes":o.target instanceof Element&&!o.target.classList.contains("ce-block")&&!o.target.classList.contains("tc-toolbox")&&(r=!0);break}}),r&&this.mutationDebouncer()}debounce(e,r){let o;return(...t)=>{const i=this;window.clearTimeout(o),o=window.setTimeout(()=>e.apply(i,t),r)}}onDestroy(){const e=new CustomEvent("destroy");document.dispatchEvent(e),this.observer!=null&&this.observer.disconnect()}}class hi{constructor({editor:e,config:r={},onUpdate:o,maxLength:t}){X(this,"blocks");X(this,"caret");X(this,"config");X(this,"defaultBlock");X(this,"editor");X(this,"holder");X(this,"initialItem");X(this,"maxLength");X(this,"onUpdate");X(this,"position",0);X(this,"readOnly");X(this,"shouldSaveHistory");X(this,"stack",[]);const i={maxLength:30,onUpdate(){},config:{debounceTimer:200,shortcuts:{undo:["CMD+Z"],redo:["CMD+Y","CMD+SHIFT+Z"]}}},u=e,{blocks:a,caret:f}=u,{configuration:c}=u,{holder:v,defaultBlock:p}=c,y=i.config.shortcuts,{shortcuts:g}=r,S={...y,...g},R=Array.isArray(S.undo)?S.undo:[S.undo],d=Array.isArray(S.redo)?S.redo:[S.redo],O=i.config.debounceTimer,{debounceTimer:w=O}=r;this.holder=typeof v=="string"?document.getElementById(v):v,this.editor=u,this.defaultBlock=p,this.blocks=a,this.caret=f,this.shouldSaveHistory=!0,this.readOnly=c.readOnly,this.maxLength=t||i.maxLength,this.onUpdate=o||i.onUpdate,this.config={debounceTimer:w,shortcuts:{undo:R,redo:d}},this.holder&&new vi(()=>this.registerChange(),this.holder,this.config.debounceTimer).setMutationObserver(),this.setEventListeners(),this.initialItem=null,this.clear()}static get isReadOnlySupported(){return!0}truncate(e,r){for(;e.length>r;)e.shift()}initialize(e){const r="blocks"in e?e.blocks:e,t={index:r.length-1,state:r};this.stack[0]=t,this.initialItem=t}clear(){this.stack=this.initialItem?[this.initialItem]:[{index:0,state:[{type:this.defaultBlock,data:{}}]}],this.position=0,this.onUpdate()}setReadOnly(){var r;const e=(r=this.holder)==null?void 0:r.querySelector(".ce-toolbox");this.readOnly=!e}registerChange(){this.setReadOnly(),this.readOnly||(this.editor&&this.editor.save&&this.shouldSaveHistory&&this.editor.save().then(e=>{this.editorDidUpdate(e.blocks)&&this.save(e.blocks)}),this.shouldSaveHistory=!0)}editorDidUpdate(e){const{state:r}=this.stack[this.position];return e.length?e.length!==r.length?!0:JSON.stringify(r)!==JSON.stringify(e):!1}save(e){this.position>=this.maxLength&&this.truncate(this.stack,this.maxLength),this.position=Math.min(this.position,this.stack.length-1),this.stack=this.stack.slice(0,this.position+1);const r=this.blocks.getCurrentBlockIndex(),o=this.blocks.getBlocksCount();let t=r;e[r]||(t-=o-e.length);const i=e[t]&&(e[t].type==="paragraph"||e[t].type==="header")?this.getCaretIndex(r):null;this.stack.push({index:t,state:e,caretIndex:i}),this.position+=1,this.onUpdate()}getCaretIndex(e){var o;const r=(o=this.holder)==null?void 0:o.getElementsByClassName("ce-block__content");return r?new oa(r[e].firstChild).getPos():null}async undo(){if(this.canUndo()){const{state:e}=this.stack[this.position];this.position-=1,this.shouldSaveHistory=!1;const{caretIndex:r,index:o,state:t}=this.stack[this.position];await this.switchState(t,e),this.onUpdate(),this.blocks.getBlockByIndex(o)&&(r?this.setCaretIndex(o,r):this.caret.setToBlock(o,"end"))}}setCaretIndex(e,r){var t;const o=(t=this.holder)==null?void 0:t.getElementsByClassName("ce-block__content");if(r&&r!==-1&&o){const i=new oa(o[e].firstChild);setTimeout(()=>i.setPos(r),50)}else this.caret.setToBlock(e,"end")}insertBlock(e,r){this.blocks.insert(e[r].type,e[r].data,{},r,!0)}async updateModifiedBlock(e,r){const o=e[r];return o.id&&this.editor.blocks.getById(o.id)?this.blocks.update(o.id,o.data,o.tunes):this.blocks.render({blocks:e})}async redo(){if(this.canRedo()){this.position+=1,this.shouldSaveHistory=!1;const{caretIndex:e,index:r,state:o}=this.stack[this.position],{state:t}=this.stack[this.position-1];await this.switchState(o,t),this.onUpdate(),this.blocks.getBlockByIndex(r)&&(e?this.setCaretIndex(r,e):this.caret.setToBlock(r,"end"))}}async switchState(e,r){r.reduce((t,i,u)=>e.find(a=>a.id===i.id)?t:[...t,u],[]).sort((t,i)=>i-t).forEach(t=>this.blocks.delete(t)),e.reduce((t,i,u)=>r.find(a=>a.id===i.id)?t:[...t,u],[]).forEach(t=>this.insertBlock(e,t));const o=e.reduce((t,i,u)=>{const a=r.findIndex(f=>f.id===i.id);return a>-1&&!yi(i,r[a])?[...t,u]:t},[]);await Promise.all(o.map(async t=>await this.updateModifiedBlock(e,t)))}canUndo(){return!this.readOnly&&this.position>0}canRedo(){return!this.readOnly&&this.positionr[i]),t=o.includes("shiftKey")&&e.length===2?e[e.length-1].toUpperCase():e[e.length-1].toLowerCase();return o.push(t),o}setEventListeners(){const{holder:e}=this,{shortcuts:r}=this.config,{redo:o,undo:t}=r,i=t.map(d=>d.replace(/ /g,"").split("+")),u=o.map(d=>d.replace(/ /g,"").split("+")),a=i.map(d=>this.parseKeys(d)),f=u.map(d=>this.parseKeys(d)),c=(d,O)=>O.length===2&&d[O[0]]&&d.key.toLowerCase()===O[1],v=(d,O)=>O.length===3&&d[O[0]]&&d[O[1]]&&d.key.toLowerCase()===O[2],p=(d,O)=>O.reduce((w,b)=>w||c(d,b),!1),y=(d,O)=>O.reduce((w,b)=>w||v(d,b),!1),g=(d,O,w)=>!!(p(d,O)&&!y(d,w)||y(d,O)),S=d=>{g(d,a,f)&&(d.preventDefault(),this.undo())},R=d=>{g(d,f,a)&&(d.preventDefault(),this.redo())};if(e){const d=()=>{e.removeEventListener("keydown",S),e.removeEventListener("keydown",R)};e.addEventListener("keydown",S),e.addEventListener("keydown",R),e.addEventListener("destroy",d)}}}return hi}); +`+l.prev}function Ge(s,l){var C=T(s),W=[];if(C){W.length=s.length;for(var L=0;L=U)return _+1;var N=v(I,_);if(N<55296||N>56319)return _+1;var H=v(I,_+1);return H<56320||H>57343?_+1:_+2},g=function(I){var _=0;return{next:function(){var N=_>=I.length,H;return N||(H=I[_],_+=1),{done:N,value:H}}}},S=function(I,_){if(o(I)||n(I))return g(I);if(t(I)){var U=0;return{next:function(){var H=y(I,U),V=p(I,U,H);return U=H,{done:H>I.length,value:V}}}}if(_&&typeof I["_es6-shim iterator_"]<"u")return I["_es6-shim iterator_"]()};if(!u&&!a)Ce.exports=function(I){if(I!=null)return S(I,!0)};else{var R=Io(),d=Ro(),O=f("Map.prototype.forEach",!0),w=f("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var b=f("Map.prototype.iterator",!0),M=f("Set.prototype.iterator",!0);var Q=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),G=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0),D=function(I){if(R(I)){if(b)return e(b(I));if(Q)return Q(I);if(O){var _=[];return O(I,function(N,H){c(_,[H,N])}),g(_)}}if(d(I)){if(M)return e(M(I));if(G)return G(I);if(w){var U=[];return w(I,function(N){c(U,N)}),g(U)}}};Ce.exports=function(I){return D(I)||S(I)}}}return Ce.exports}var mt,$o;function Bo(){if($o)return mt;$o=1;var n=function(e){return e!==e};return mt=function(r,o){return r===0&&o===0?1/r===1/o:!!(r===o||n(r)&&n(o))},mt}var St,xo;function To(){if(xo)return St;xo=1;var n=Bo();return St=function(){return typeof Object.is=="function"?Object.is:n},St}var bt,Mo;function Ga(){if(Mo)return bt;Mo=1;var n=To(),e=Oe();return bt=function(){var o=n();return e(Object,{is:o},{is:function(){return Object.is!==o}}),o},bt}var Ot,jo;function Ka(){if(jo)return Ot;jo=1;var n=Oe(),e=Ee(),r=Bo(),o=To(),t=Ga(),i=e(o(),Object);return n(i,{getPolyfill:o,implementation:r,shim:t}),Ot=i,Ot}var At,Co;function ko(){if(Co)return At;Co=1;var n=Ee(),e=Z(),r=le(),o=r("%ArrayBuffer%",!0),t=e("ArrayBuffer.prototype.byteLength",!0),i=e("Object.prototype.toString"),u=!!o&&!t&&new o(0).slice,a=!!u&&n(u);return At=t||a?function(c){if(!c||typeof c!="object")return!1;try{return t?t(c):a(c,0),!0}catch{return!1}}:o?function(c){return i(c)==="[object ArrayBuffer]"}:function(c){return!1},At}var wt,Do;function za(){if(Do)return wt;Do=1;var n=Z(),e=n("Date.prototype.getDay"),r=function(a){try{return e(a),!0}catch{return!1}},o=n("Object.prototype.toString"),t="[object Date]",i=Ae()();return wt=function(a){return typeof a!="object"||a===null?!1:i?r(a):o(a)===t},wt}var Pt,_o;function Fo(){if(_o)return Pt;_o=1;var n=Z(),e=Ae()(),r=Ur(),o=be(),t;if(e){var i=n("RegExp.prototype.exec"),u={},a=function(){throw u},f={toString:a,valueOf:a};typeof Symbol.toPrimitive=="symbol"&&(f[Symbol.toPrimitive]=a),t=function(y){if(!y||typeof y!="object")return!1;var g=o(y,"lastIndex"),S=g&&r(g,"value");if(!S)return!1;try{i(y,f)}catch(R){return R===u}}}else{var c=n("Object.prototype.toString"),v="[object RegExp]";t=function(y){return!y||typeof y!="object"&&typeof y!="function"?!1:c(y)===v}}return Pt=t,Pt}var It,No;function Va(){if(No)return It;No=1;var n=Z(),e=n("SharedArrayBuffer.prototype.byteLength",!0);return It=e?function(o){if(!o||typeof o!="object")return!1;try{return e(o),!0}catch{return!1}}:function(o){return!1},It}var qt,Wo;function Ja(){if(Wo)return qt;Wo=1;var n=Z(),e=n("Number.prototype.toString"),r=function(a){try{return e(a),!0}catch{return!1}},o=n("Object.prototype.toString"),t="[object Number]",i=Ae()();return qt=function(a){return typeof a=="number"?!0:!a||typeof a!="object"?!1:i?r(a):o(a)===t},qt}var Rt,Lo;function Ya(){if(Lo)return Rt;Lo=1;var n=Z(),e=n("Boolean.prototype.toString"),r=n("Object.prototype.toString"),o=function(a){try{return e(a),!0}catch{return!1}},t="[object Boolean]",i=Ae()();return Rt=function(a){return typeof a=="boolean"?!0:a===null||typeof a!="object"?!1:i&&Symbol.toStringTag in a?o(a):r(a)===t},Rt}var We={exports:{}},Et,Uo;function Xa(){if(Uo)return Et;Uo=1;var n=Z(),e=Fo(),r=n("RegExp.prototype.exec"),o=ae();return Et=function(i){if(!e(i))throw new o("`regex` must be a RegExp");return function(a){return r(i,a)!==null}},Et}var Ho;function Za(){if(Ho)return We.exports;Ho=1;var n=Z(),e=n("Object.prototype.toString"),r=Rr()(),o=Xa();if(r){var t=n("Symbol.prototype.toString"),i=o(/^Symbol\(.*\)$/),u=function(f){return typeof f.valueOf()!="symbol"?!1:i(t(f))};We.exports=function(f){if(typeof f=="symbol")return!0;if(!f||typeof f!="object"||e(f)!=="[object Symbol]")return!1;try{return u(f)}catch{return!1}}}else We.exports=function(f){return!1};return We.exports}var Le={exports:{}},$t,Go;function Qa(){if(Go)return $t;Go=1;var n=typeof BigInt<"u"&&BigInt;return $t=function(){return typeof n=="function"&&typeof BigInt=="function"&&typeof n(42)=="bigint"&&typeof BigInt(42)=="bigint"},$t}var Ko;function ei(){if(Ko)return Le.exports;Ko=1;var n=Qa()();if(n){var e=BigInt.prototype.valueOf,r=function(t){try{return e.call(t),!0}catch{}return!1};Le.exports=function(t){return t===null||typeof t>"u"||typeof t=="boolean"||typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="function"?!1:typeof t=="bigint"?!0:r(t)}}else Le.exports=function(t){return!1};return Le.exports}var Bt,zo;function ri(){if(zo)return Bt;zo=1;var n=wo(),e=Ja(),r=Ya(),o=Za(),t=ei();return Bt=function(u){if(u==null||typeof u!="object"&&typeof u!="function")return null;if(n(u))return"String";if(e(u))return"Number";if(r(u))return"Boolean";if(o(u))return"Symbol";if(t(u))return"BigInt"},Bt}var xt,Vo;function ti(){if(Vo)return xt;Vo=1;var n=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,e=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,r;n||(r=function(u){return!1});var o=n?n.prototype.has:null,t=e?e.prototype.has:null;return!r&&!o&&(r=function(u){return!1}),xt=r||function(u){if(!u||typeof u!="object")return!1;try{if(o.call(u,o),t)try{t.call(u,t)}catch{return!0}return u instanceof n}catch{}return!1},xt}var Ue={exports:{}},Jo;function ni(){if(Jo)return Ue.exports;Jo=1;var n=le(),e=Z(),r=n("%WeakSet%",!0),o=e("WeakSet.prototype.has",!0);if(o){var t=e("WeakMap.prototype.has",!0);Ue.exports=function(u){if(!u||typeof u!="object")return!1;try{if(o(u,o),t)try{t(u,t)}catch{return!0}return u instanceof r}catch{}return!1}}else Ue.exports=function(u){return!1};return Ue.exports}var Tt,Yo;function oi(){if(Yo)return Tt;Yo=1;var n=Io(),e=Ro(),r=ti(),o=ni();return Tt=function(i){if(i&&typeof i=="object"){if(n(i))return"Map";if(e(i))return"Set";if(r(i))return"WeakMap";if(o(i))return"WeakSet"}return!1},Tt}var Mt,Xo;function ai(){if(Xo)return Mt;Xo=1;var n=Function.prototype.toString,e=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,r,o;if(typeof e=="function"&&typeof Object.defineProperty=="function")try{r=Object.defineProperty({},"length",{get:function(){throw o}}),o={},e(function(){throw 42},null,r)}catch(w){w!==o&&(e=null)}else e=null;var t=/^\s*class\b/,i=function(b){try{var M=n.call(b);return t.test(M)}catch{return!1}},u=function(b){try{return i(b)?!1:(n.call(b),!0)}catch{return!1}},a=Object.prototype.toString,f="[object Object]",c="[object Function]",v="[object GeneratorFunction]",p="[object HTMLAllCollection]",y="[object HTML document.all class]",g="[object HTMLCollection]",S=typeof Symbol=="function"&&!!Symbol.toStringTag,R=!(0 in[,]),d=function(){return!1};if(typeof document=="object"){var O=document.all;a.call(O)===a.call(document.all)&&(d=function(b){if((R||!b)&&(typeof b>"u"||typeof b=="object"))try{var M=a.call(b);return(M===p||M===y||M===g||M===f)&&b("")==null}catch{}return!1})}return Mt=e?function(b){if(d(b))return!0;if(!b||typeof b!="function"&&typeof b!="object")return!1;try{e(b,null,r)}catch(M){if(M!==o)return!1}return!i(b)&&u(b)}:function(b){if(d(b))return!0;if(!b||typeof b!="function"&&typeof b!="object")return!1;if(S)return u(b);if(i(b))return!1;var M=a.call(b);return M!==c&&M!==v&&!/^\[object HTML/.test(M)?!1:u(b)},Mt}var jt,Zo;function ii(){if(Zo)return jt;Zo=1;var n=ai(),e=Object.prototype.toString,r=Object.prototype.hasOwnProperty,o=function(f,c,v){for(var p=0,y=f.length;p=3&&(p=v),e.call(f)==="[object Array]"?o(f,c,p):typeof f=="string"?t(f,c,p):i(f,c,p)};return jt=u,jt}var Ct,Qo;function ui(){return Qo||(Qo=1,Ct=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),Ct}var kt,ea;function fi(){if(ea)return kt;ea=1;var n=ui(),e=typeof globalThis>"u"?re:globalThis;return kt=function(){for(var o=[],t=0;t"u"?re:globalThis,f=e(),c=o("String.prototype.slice"),v=Object.getPrototypeOf,p=o("Array.prototype.indexOf",!0)||function(d,O){for(var w=0;w-1?O:O!=="Object"?!1:S(d)}return t?g(d):null},Dt}var _t,ta;function li(){if(ta)return _t;ta=1;var n=Z(),e=n("ArrayBuffer.prototype.byteLength",!0),r=ko();return _t=function(t){return r(t)?e?e(t):t.byteLength:NaN},_t}var Ft,na;function ci(){if(na)return Ft;na=1;var n=ja(),e=Zn(),r=_a(),o=le(),t=Ha(),i=go(),u=Ka(),a=so(),f=Oo(),c=ko(),v=za(),p=Fo(),y=Va(),g=Xe(),S=ri(),R=oi(),d=si(),O=li(),w=e("SharedArrayBuffer.prototype.byteLength",!0),b=e("Date.prototype.getTime"),M=Object.getPrototypeOf,Q=e("Object.prototype.toString"),G=o("%Set%",!0),D=e("Map.prototype.has",!0),k=e("Map.prototype.get",!0),I=e("Map.prototype.size",!0),_=e("Set.prototype.add",!0),U=e("Set.prototype.delete",!0),N=e("Set.prototype.has",!0),H=e("Set.prototype.size",!0);function V(h,m,T,$){for(var B=t(h),j;(j=B.next())&&!j.done;)if(z(m,j.value,T,$))return U(h,j.value),!0;return!1}function K(h){if(typeof h>"u")return null;if(typeof h!="object")return typeof h=="symbol"?!1:typeof h=="string"||typeof h=="number"?+h==+h:!0}function $e(h,m,T,$,B,j){var P=K(T);if(P!=null)return P;var q=k(m,P),A=n({},B,{strict:!1});return typeof q>"u"&&!D(m,P)||!z($,q,A,j)?!1:!D(h,P)&&z($,q,A,j)}function we(h,m,T){var $=K(T);return $??(N(m,$)&&!N(h,$))}function ie(h,m,T,$,B,j){for(var P=t(h),q,A;(q=P.next())&&!q.done;)if(A=q.value,z(T,A,B,j)&&z($,k(m,A),B,j))return U(h,A),!0;return!1}function z(h,m,T,$){var B=T||{};if(B.strict?u(h,m):h===m)return!0;var j=S(h),P=S(m);if(j!==P)return!1;if(!h||!m||typeof h!="object"&&typeof m!="object")return B.strict?u(h,m):h==m;var q=$.has(h),A=$.has(m),E;if(q&&A){if($.get(h)===$.get(m))return!0}else E={};return q||$.set(h,E),A||$.set(m,E),de(h,m,B,$)}function Pe(h){return!h||typeof h!="object"||typeof h.length!="number"||typeof h.copy!="function"||typeof h.slice!="function"||h.length>0&&typeof h[0]!="number"?!1:!!(h.constructor&&h.constructor.isBuffer&&h.constructor.isBuffer(h))}function Be(h,m,T,$){if(H(h)!==H(m))return!1;for(var B=t(h),j=t(m),P,q,A;(P=B.next())&&!P.done;)if(P.value&&typeof P.value=="object")A||(A=new G),_(A,P.value);else if(!N(m,P.value)){if(T.strict||!we(h,m,P.value))return!1;A||(A=new G),_(A,P.value)}if(A){for(;(q=j.next())&&!q.done;)if(q.value&&typeof q.value=="object"){if(!V(A,q.value,T.strict,$))return!1}else if(!T.strict&&!N(h,q.value)&&!V(A,q.value,T.strict,$))return!1;return H(A)===0}return!0}function Ie(h,m,T,$){if(I(h)!==I(m))return!1;for(var B=t(h),j=t(m),P,q,A,E,J,Y;(P=B.next())&&!P.done;)if(E=P.value[0],J=P.value[1],E&&typeof E=="object")A||(A=new G),_(A,E);else if(Y=k(m,E),typeof Y>"u"&&!D(m,E)||!z(J,Y,T,$)){if(T.strict||!$e(h,m,E,J,T,$))return!1;A||(A=new G),_(A,E)}if(A){for(;(q=j.next())&&!q.done;)if(E=q.value[0],Y=q.value[1],E&&typeof E=="object"){if(!ie(A,h,E,Y,T,$))return!1}else if(!T.strict&&(!h.has(E)||!z(k(h,E),Y,T,$))&&!ie(A,h,E,Y,n({},T,{strict:!1}),$))return!1;return H(A)===0}return!0}function de(h,m,T,$){var B,j;if(typeof h!=typeof m||h==null||m==null||Q(h)!==Q(m)||a(h)!==a(m))return!1;var P=f(h),q=f(m);if(P!==q)return!1;var A=h instanceof Error,E=m instanceof Error;if(A!==E||(A||E)&&(h.name!==m.name||h.message!==m.message))return!1;var J=p(h),Y=p(m);if(J!==Y||(J||Y)&&(h.source!==m.source||r(h)!==r(m)))return!1;var F=v(h),ee=v(m);if(F!==ee||(F||ee)&&b(h)!==b(m)||T.strict&&M&&M(h)!==M(m))return!1;var ge=d(h),fe=d(m);if(ge!==fe)return!1;if(ge||fe){if(h.length!==m.length)return!1;for(B=0;B=0;B--)if(ve[B]!=ke[B])return!1;for(B=ve.length-1;B>=0;B--)if(j=ve[B],!z(h[j],m[j],T,$))return!1;var he=R(h),xe=R(m);return he!==xe?!1:he==="Set"||xe==="Set"?Be(h,m,T,$):he==="Map"?Ie(h,m,T,$):!0}return Ft=function(m,T,$){return z(m,T,$,i())},Ft}var pi=ci();const yi=ne(pi);class oa{constructor(e){this.target=e,this.isContentEditable=e&&e.contentEditable}getPos(){if(document.activeElement!==this.target)return-1;if(this.isContentEditable==="true"){this.target.focus();let e=document.getSelection().getRangeAt(0),r=e.cloneRange();return r.selectNodeContents(this.target),r.setEnd(e.endContainer,e.endOffset),r.toString().length}return this.target.selectionStart}setPos(e){if(this.isContentEditable==="true"){if(e>=0){var r=window.getSelection(),o=this.createRange(this.target,{count:e});o&&(o.collapse(!1),r.removeAllRanges(),r.addRange(o))}}else this.target.setSelectionRange(e,e)}createRange(e,r,o){if(o||(o=document.createRange(),o.selectNode(e),o.setStart(e,0)),r.count===0)o.setEnd(e,r.count);else if(e&&r.count>0)if(e.nodeType===Node.TEXT_NODE)e.textContent.length{e()},this.debounceTimer)}setMutationObserver(){const e={childList:!0,attributes:!0,subtree:!0,characterData:!0,characterDataOldValue:!0},r=this.holder.querySelector(".codex-editor__redactor");this.observer=new MutationObserver(o=>{this.mutationHandler(o)}),this.observer.observe(r,e)}mutationHandler(e){let r=!1;e.forEach(o=>{switch(o.type){case"childList":o.target===this.holder?this.onDestroy():r=!0;break;case"characterData":r=!0;break;case"attributes":o.target instanceof Element&&!o.target.classList.contains("ce-block")&&!o.target.classList.contains("tc-toolbox")&&(r=!0);break}}),r&&this.mutationDebouncer()}debounce(e,r){let o;return(...t)=>{const i=this;window.clearTimeout(o),o=window.setTimeout(()=>e.apply(i,t),r)}}onDestroy(){const e=new CustomEvent("destroy");document.dispatchEvent(e),this.observer!=null&&this.observer.disconnect()}}class hi{constructor({editor:e,config:r={},onUpdate:o=()=>{},maxLength:t}){X(this,"blocks");X(this,"caret");X(this,"config");X(this,"defaultBlock");X(this,"editor");X(this,"holder");X(this,"initialItem");X(this,"maxLength");X(this,"onUpdate");X(this,"position",0);X(this,"readOnly");X(this,"shouldSaveHistory");X(this,"stack",[]);const i={maxLength:30,onUpdate(){},config:{debounceTimer:200,shortcuts:{undo:["CMD+Z"],redo:["CMD+Y","CMD+SHIFT+Z"]}}},u=e,{blocks:a,caret:f}=u,{configuration:c}=u,{holder:v,defaultBlock:p}=c,y=i.config.shortcuts,{shortcuts:g}=r,S={...y,...g},R=Array.isArray(S.undo)?S.undo:[S.undo],d=Array.isArray(S.redo)?S.redo:[S.redo],O=i.config.debounceTimer,{debounceTimer:w=O}=r;this.holder=typeof v=="string"?document.getElementById(v):v,this.editor=u,this.defaultBlock=p,this.blocks=a,this.caret=f,this.shouldSaveHistory=!0,this.readOnly=c.readOnly,this.maxLength=t||i.maxLength,this.onUpdate=o||i.onUpdate,this.config={debounceTimer:w,shortcuts:{undo:R,redo:d}},this.holder&&new vi(()=>this.registerChange(),this.holder,this.config.debounceTimer).setMutationObserver(),this.setEventListeners(),this.initialItem=null,this.clear()}static get isReadOnlySupported(){return!0}truncate(e,r){for(;e.length>r;)e.shift()}initialize(e){const r="blocks"in e?e.blocks:e,t={index:r.length-1,state:r};this.stack[0]=t,this.initialItem=t}clear(){this.stack=this.initialItem?[this.initialItem]:[{index:0,state:[{type:this.defaultBlock,data:{}}]}],this.position=0,this.onUpdate()}setReadOnly(){var r;const e=(r=this.holder)==null?void 0:r.querySelector(".ce-toolbox");this.readOnly=!e}registerChange(){this.setReadOnly(),this.readOnly||(this.editor&&this.editor.save&&this.shouldSaveHistory&&this.editor.save().then(e=>{this.editorDidUpdate(e.blocks)&&this.save(e.blocks)}),this.shouldSaveHistory=!0)}editorDidUpdate(e){const{state:r}=this.stack[this.position];return e.length?e.length!==r.length?!0:JSON.stringify(r)!==JSON.stringify(e):!1}save(e){this.position>=this.maxLength&&this.truncate(this.stack,this.maxLength),this.position=Math.min(this.position,this.stack.length-1),this.stack=this.stack.slice(0,this.position+1);const r=this.blocks.getCurrentBlockIndex(),o=this.blocks.getBlocksCount();let t=r;e[r]||(t-=o-e.length);const i=e[t]&&(e[t].type==="paragraph"||e[t].type==="header")?this.getCaretIndex(r):null;this.stack.push({index:t,state:e,caretIndex:i}),this.position+=1,this.onUpdate()}getCaretIndex(e){var o;const r=(o=this.holder)==null?void 0:o.getElementsByClassName("ce-block__content");return r?new oa(r[e].firstChild).getPos():null}async undo(){if(this.canUndo()){const{state:e}=this.stack[this.position];this.position-=1,this.shouldSaveHistory=!1;const{caretIndex:r,index:o,state:t}=this.stack[this.position];await this.switchState(t,e),this.onUpdate(),this.blocks.getBlockByIndex(o)&&(r?this.setCaretIndex(o,r):this.caret.setToBlock(o,"end"))}}setCaretIndex(e,r){var t;const o=(t=this.holder)==null?void 0:t.getElementsByClassName("ce-block__content");if(r&&r!==-1&&o){const i=new oa(o[e].firstChild);setTimeout(()=>i.setPos(r),50)}else this.caret.setToBlock(e,"end")}insertBlock(e,r){this.blocks.insert(e[r].type,e[r].data,{},r,!0)}async updateModifiedBlock(e,r){const o=e[r];return o.id&&this.editor.blocks.getById(o.id)?this.blocks.update(o.id,o.data,o.tunes):this.blocks.render({blocks:e})}async redo(){if(this.canRedo()){this.position+=1,this.shouldSaveHistory=!1;const{caretIndex:e,index:r,state:o}=this.stack[this.position],{state:t}=this.stack[this.position-1];await this.switchState(o,t),this.onUpdate(),this.blocks.getBlockByIndex(r)&&(e?this.setCaretIndex(r,e):this.caret.setToBlock(r,"end"))}}async switchState(e,r){r.reduce((t,i,u)=>e.find(a=>a.id===i.id)?t:[...t,u],[]).sort((t,i)=>i-t).forEach(t=>this.blocks.delete(t)),e.reduce((t,i,u)=>r.find(a=>a.id===i.id)?t:[...t,u],[]).forEach(t=>this.insertBlock(e,t));const o=e.reduce((t,i,u)=>{const a=r.findIndex(f=>f.id===i.id);return a>-1&&!yi(i,r[a])?[...t,u]:t},[]);await Promise.all(o.map(async t=>await this.updateModifiedBlock(e,t)))}canUndo(){return!this.readOnly&&this.position>0}canRedo(){return!this.readOnly&&this.positionr[i]),t=o.includes("shiftKey")&&e.length===2?e[e.length-1].toUpperCase():e[e.length-1].toLowerCase();return o.push(t),o}setEventListeners(){const{holder:e}=this,{shortcuts:r}=this.config,{redo:o,undo:t}=r,i=t.map(d=>d.replace(/ /g,"").split("+")),u=o.map(d=>d.replace(/ /g,"").split("+")),a=i.map(d=>this.parseKeys(d)),f=u.map(d=>this.parseKeys(d)),c=(d,O)=>O.length===2&&d[O[0]]&&d.key.toLowerCase()===O[1],v=(d,O)=>O.length===3&&d[O[0]]&&d[O[1]]&&d.key.toLowerCase()===O[2],p=(d,O)=>O.reduce((w,b)=>w||c(d,b),!1),y=(d,O)=>O.reduce((w,b)=>w||v(d,b),!1),g=(d,O,w)=>!!(p(d,O)&&!y(d,w)||y(d,O)),S=d=>{g(d,a,f)&&(d.preventDefault(),this.undo())},R=d=>{g(d,f,a)&&(d.preventDefault(),this.redo())};if(e){const d=()=>{e.removeEventListener("keydown",S),e.removeEventListener("keydown",R)};e.addEventListener("keydown",S),e.addEventListener("keydown",R),e.addEventListener("destroy",d)}}}return hi}); diff --git a/dist/undo.d.ts b/dist/undo.d.ts index a5ad1f7..e672709 100644 --- a/dist/undo.d.ts +++ b/dist/undo.d.ts @@ -54,7 +54,7 @@ export default class Undo { /** * @param options — Plugin custom options. */ - constructor({ editor, config, onUpdate, maxLength }: UndoConstructor); + constructor({ editor, config, onUpdate, maxLength, }: UndoConstructor); /** * Notify core that read-only mode is suppoorted * diff --git a/src/undo.ts b/src/undo.ts index f9783d4..4832bb1 100644 --- a/src/undo.ts +++ b/src/undo.ts @@ -67,7 +67,12 @@ export default class Undo { /** * @param options — Plugin custom options. */ - constructor({ editor, config = {}, onUpdate, maxLength }: UndoConstructor) { + constructor({ + editor, + config = {}, + onUpdate = () => {}, + maxLength, + }: UndoConstructor) { const defaultOptions = { maxLength: 30, onUpdate() {},