@stytch/vanilla-js 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/dist/b2b/index.esm.js +232 -206
- package/dist/b2b/index.js +559 -533
- package/dist/index.esm.js +1 -1
- package/dist/index.headless.esm.js +538 -520
- package/dist/index.headless.js +573 -555
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/b2b/index.js
CHANGED
|
@@ -5,13 +5,13 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
|
|
|
5
5
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
6
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
7
7
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
8
|
-
function _iterableToArrayLimit(
|
|
8
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
9
9
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
10
10
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
11
11
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
12
12
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
13
13
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
14
|
-
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
14
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[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; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; 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); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { 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); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; 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; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
15
15
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e10) { throw _e10; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e11) { didErr = true; err = _e11; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
16
16
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
17
17
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
@@ -30,7 +30,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
30
30
|
function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf("[native code]") !== -1; }
|
|
31
31
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
32
32
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
33
|
-
function _typeof(
|
|
33
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
34
34
|
function e(e, n) {
|
|
35
35
|
return function (e) {
|
|
36
36
|
if (Array.isArray(e)) return e;
|
|
@@ -86,19 +86,20 @@ function r(e) {
|
|
|
86
86
|
function o() {
|
|
87
87
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
88
88
|
o = function o() {
|
|
89
|
-
return
|
|
89
|
+
return t;
|
|
90
90
|
};
|
|
91
|
-
var e
|
|
92
|
-
t =
|
|
93
|
-
n =
|
|
94
|
-
i =
|
|
91
|
+
var e,
|
|
92
|
+
t = {},
|
|
93
|
+
n = Object.prototype,
|
|
94
|
+
i = n.hasOwnProperty,
|
|
95
|
+
a = Object.defineProperty || function (e, t, n) {
|
|
95
96
|
e[t] = n.value;
|
|
96
97
|
},
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
function
|
|
98
|
+
s = "function" == typeof Symbol ? Symbol : {},
|
|
99
|
+
l = s.iterator || "@@iterator",
|
|
100
|
+
c = s.asyncIterator || "@@asyncIterator",
|
|
101
|
+
u = s.toStringTag || "@@toStringTag";
|
|
102
|
+
function d(e, t, n) {
|
|
102
103
|
return Object.defineProperty(e, t, {
|
|
103
104
|
value: n,
|
|
104
105
|
enumerable: !0,
|
|
@@ -107,21 +108,21 @@ function o() {
|
|
|
107
108
|
}), e[t];
|
|
108
109
|
}
|
|
109
110
|
try {
|
|
110
|
-
|
|
111
|
+
d({}, "");
|
|
111
112
|
} catch (e) {
|
|
112
|
-
|
|
113
|
+
d = function d(e, t, n) {
|
|
113
114
|
return e[t] = n;
|
|
114
115
|
};
|
|
115
116
|
}
|
|
116
|
-
function
|
|
117
|
-
var o = t && t.prototype instanceof
|
|
118
|
-
|
|
119
|
-
s = new
|
|
120
|
-
return i
|
|
121
|
-
value:
|
|
122
|
-
}),
|
|
123
|
-
}
|
|
124
|
-
function
|
|
117
|
+
function f(e, t, n, r) {
|
|
118
|
+
var o = t && t.prototype instanceof A ? t : A,
|
|
119
|
+
i = Object.create(o.prototype),
|
|
120
|
+
s = new I(r || []);
|
|
121
|
+
return a(i, "_invoke", {
|
|
122
|
+
value: O(e, n, s)
|
|
123
|
+
}), i;
|
|
124
|
+
}
|
|
125
|
+
function p(e, t, n) {
|
|
125
126
|
try {
|
|
126
127
|
return {
|
|
127
128
|
type: "normal",
|
|
@@ -134,166 +135,165 @@ function o() {
|
|
|
134
135
|
};
|
|
135
136
|
}
|
|
136
137
|
}
|
|
137
|
-
|
|
138
|
-
var
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
138
|
+
t.wrap = f;
|
|
139
|
+
var h = "suspendedStart",
|
|
140
|
+
m = "suspendedYield",
|
|
141
|
+
g = "executing",
|
|
142
|
+
v = "completed",
|
|
143
|
+
y = {};
|
|
144
|
+
function A() {}
|
|
145
|
+
function b() {}
|
|
146
|
+
function _() {}
|
|
147
|
+
var w = {};
|
|
148
|
+
d(w, l, function () {
|
|
144
149
|
return this;
|
|
145
150
|
});
|
|
146
|
-
var
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
var
|
|
150
|
-
function
|
|
151
|
+
var k = Object.getPrototypeOf,
|
|
152
|
+
E = k && k(k(R([])));
|
|
153
|
+
E && E !== n && i.call(E, l) && (w = E);
|
|
154
|
+
var S = _.prototype = A.prototype = Object.create(w);
|
|
155
|
+
function C(e) {
|
|
151
156
|
["next", "throw", "return"].forEach(function (t) {
|
|
152
|
-
|
|
157
|
+
d(e, t, function (e) {
|
|
153
158
|
return this._invoke(t, e);
|
|
154
159
|
});
|
|
155
160
|
});
|
|
156
161
|
}
|
|
157
|
-
function
|
|
158
|
-
function o
|
|
159
|
-
var c =
|
|
162
|
+
function x(e, t) {
|
|
163
|
+
function n(o, a, s, l) {
|
|
164
|
+
var c = p(e[o], e, a);
|
|
160
165
|
if ("throw" !== c.type) {
|
|
161
166
|
var u = c.arg,
|
|
162
167
|
d = u.value;
|
|
163
|
-
return d && "object" == r(d) &&
|
|
164
|
-
|
|
168
|
+
return d && "object" == r(d) && i.call(d, "__await") ? t.resolve(d.__await).then(function (e) {
|
|
169
|
+
n("next", e, s, l);
|
|
165
170
|
}, function (e) {
|
|
166
|
-
|
|
171
|
+
n("throw", e, s, l);
|
|
167
172
|
}) : t.resolve(d).then(function (e) {
|
|
168
173
|
u.value = e, s(u);
|
|
169
174
|
}, function (e) {
|
|
170
|
-
return
|
|
175
|
+
return n("throw", e, s, l);
|
|
171
176
|
});
|
|
172
177
|
}
|
|
173
178
|
l(c.arg);
|
|
174
179
|
}
|
|
175
|
-
var
|
|
176
|
-
|
|
177
|
-
value: function value(e,
|
|
178
|
-
function
|
|
179
|
-
return new t(function (t,
|
|
180
|
-
|
|
180
|
+
var o;
|
|
181
|
+
a(this, "_invoke", {
|
|
182
|
+
value: function value(e, r) {
|
|
183
|
+
function i() {
|
|
184
|
+
return new t(function (t, o) {
|
|
185
|
+
n(e, r, t, o);
|
|
181
186
|
});
|
|
182
187
|
}
|
|
183
|
-
return
|
|
188
|
+
return o = o ? o.then(i, i) : i();
|
|
184
189
|
}
|
|
185
190
|
});
|
|
186
191
|
}
|
|
187
|
-
function
|
|
188
|
-
var
|
|
189
|
-
return function (
|
|
190
|
-
if (
|
|
191
|
-
if (
|
|
192
|
-
if ("throw" ===
|
|
193
|
-
return
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
192
|
+
function O(t, n, r) {
|
|
193
|
+
var o = h;
|
|
194
|
+
return function (i, a) {
|
|
195
|
+
if (o === g) throw new Error("Generator is already running");
|
|
196
|
+
if (o === v) {
|
|
197
|
+
if ("throw" === i) throw a;
|
|
198
|
+
return {
|
|
199
|
+
value: e,
|
|
200
|
+
done: !0
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
for (r.method = i, r.arg = a;;) {
|
|
204
|
+
var s = r.delegate;
|
|
205
|
+
if (s) {
|
|
206
|
+
var l = P(s, r);
|
|
207
|
+
if (l) {
|
|
208
|
+
if (l === y) continue;
|
|
209
|
+
return l;
|
|
202
210
|
}
|
|
203
211
|
}
|
|
204
|
-
if ("next" ===
|
|
205
|
-
if (
|
|
206
|
-
|
|
207
|
-
} else "return" ===
|
|
208
|
-
|
|
209
|
-
var
|
|
210
|
-
if ("normal" ===
|
|
211
|
-
if (
|
|
212
|
+
if ("next" === r.method) r.sent = r._sent = r.arg;else if ("throw" === r.method) {
|
|
213
|
+
if (o === h) throw o = v, r.arg;
|
|
214
|
+
r.dispatchException(r.arg);
|
|
215
|
+
} else "return" === r.method && r.abrupt("return", r.arg);
|
|
216
|
+
o = g;
|
|
217
|
+
var c = p(t, n, r);
|
|
218
|
+
if ("normal" === c.type) {
|
|
219
|
+
if (o = r.done ? v : m, c.arg === y) continue;
|
|
212
220
|
return {
|
|
213
|
-
value:
|
|
214
|
-
done:
|
|
221
|
+
value: c.arg,
|
|
222
|
+
done: r.done
|
|
215
223
|
};
|
|
216
224
|
}
|
|
217
|
-
"throw" ===
|
|
225
|
+
"throw" === c.type && (o = v, r.method = "throw", r.arg = c.arg);
|
|
218
226
|
}
|
|
219
227
|
};
|
|
220
228
|
}
|
|
221
|
-
function
|
|
222
|
-
var
|
|
223
|
-
|
|
224
|
-
if (
|
|
225
|
-
var
|
|
226
|
-
if ("throw" ===
|
|
227
|
-
var
|
|
228
|
-
return
|
|
229
|
-
}
|
|
230
|
-
function
|
|
229
|
+
function P(t, n) {
|
|
230
|
+
var r = n.method,
|
|
231
|
+
o = t.iterator[r];
|
|
232
|
+
if (o === e) return n.delegate = null, "throw" === r && t.iterator["return"] && (n.method = "return", n.arg = e, P(t, n), "throw" === n.method) || "return" !== r && (n.method = "throw", n.arg = new TypeError("The iterator does not provide a '" + r + "' method")), y;
|
|
233
|
+
var i = p(o, t.iterator, n.arg);
|
|
234
|
+
if ("throw" === i.type) return n.method = "throw", n.arg = i.arg, n.delegate = null, y;
|
|
235
|
+
var a = i.arg;
|
|
236
|
+
return a ? a.done ? (n[t.resultName] = a.value, n.next = t.nextLoc, "return" !== n.method && (n.method = "next", n.arg = e), n.delegate = null, y) : a : (n.method = "throw", n.arg = new TypeError("iterator result is not an object"), n.delegate = null, y);
|
|
237
|
+
}
|
|
238
|
+
function T(e) {
|
|
231
239
|
var t = {
|
|
232
240
|
tryLoc: e[0]
|
|
233
241
|
};
|
|
234
242
|
1 in e && (t.catchLoc = e[1]), 2 in e && (t.finallyLoc = e[2], t.afterLoc = e[3]), this.tryEntries.push(t);
|
|
235
243
|
}
|
|
236
|
-
function
|
|
244
|
+
function B(e) {
|
|
237
245
|
var t = e.completion || {};
|
|
238
246
|
t.type = "normal", delete t.arg, e.completion = t;
|
|
239
247
|
}
|
|
240
|
-
function
|
|
248
|
+
function I(e) {
|
|
241
249
|
this.tryEntries = [{
|
|
242
250
|
tryLoc: "root"
|
|
243
|
-
}], e.forEach(
|
|
244
|
-
}
|
|
245
|
-
function
|
|
246
|
-
if (
|
|
247
|
-
var
|
|
248
|
-
if (
|
|
249
|
-
if ("function" == typeof
|
|
250
|
-
if (!isNaN(
|
|
251
|
-
var
|
|
252
|
-
|
|
253
|
-
for (; ++
|
|
254
|
-
return
|
|
251
|
+
}], e.forEach(T, this), this.reset(!0);
|
|
252
|
+
}
|
|
253
|
+
function R(t) {
|
|
254
|
+
if (t || "" === t) {
|
|
255
|
+
var n = t[l];
|
|
256
|
+
if (n) return n.call(t);
|
|
257
|
+
if ("function" == typeof t.next) return t;
|
|
258
|
+
if (!isNaN(t.length)) {
|
|
259
|
+
var o = -1,
|
|
260
|
+
a = function n() {
|
|
261
|
+
for (; ++o < t.length;) if (i.call(t, o)) return n.value = t[o], n.done = !1, n;
|
|
262
|
+
return n.value = e, n.done = !0, n;
|
|
255
263
|
};
|
|
256
|
-
return
|
|
264
|
+
return a.next = a;
|
|
257
265
|
}
|
|
258
266
|
}
|
|
259
|
-
|
|
260
|
-
next: T
|
|
261
|
-
};
|
|
262
|
-
}
|
|
263
|
-
function T() {
|
|
264
|
-
return {
|
|
265
|
-
value: void 0,
|
|
266
|
-
done: !0
|
|
267
|
-
};
|
|
267
|
+
throw new TypeError(r(t) + " is not iterable");
|
|
268
268
|
}
|
|
269
|
-
return
|
|
270
|
-
value:
|
|
269
|
+
return b.prototype = _, a(S, "constructor", {
|
|
270
|
+
value: _,
|
|
271
271
|
configurable: !0
|
|
272
|
-
}),
|
|
273
|
-
value:
|
|
272
|
+
}), a(_, "constructor", {
|
|
273
|
+
value: b,
|
|
274
274
|
configurable: !0
|
|
275
|
-
}),
|
|
275
|
+
}), b.displayName = d(_, u, "GeneratorFunction"), t.isGeneratorFunction = function (e) {
|
|
276
276
|
var t = "function" == typeof e && e.constructor;
|
|
277
|
-
return !!t && (t ===
|
|
278
|
-
},
|
|
279
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(e,
|
|
280
|
-
},
|
|
277
|
+
return !!t && (t === b || "GeneratorFunction" === (t.displayName || t.name));
|
|
278
|
+
}, t.mark = function (e) {
|
|
279
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(e, _) : (e.__proto__ = _, d(e, u, "GeneratorFunction")), e.prototype = Object.create(S), e;
|
|
280
|
+
}, t.awrap = function (e) {
|
|
281
281
|
return {
|
|
282
282
|
__await: e
|
|
283
283
|
};
|
|
284
|
-
},
|
|
284
|
+
}, C(x.prototype), d(x.prototype, c, function () {
|
|
285
285
|
return this;
|
|
286
|
-
}),
|
|
286
|
+
}), t.AsyncIterator = x, t.async = function (e, n, r, o, i) {
|
|
287
287
|
void 0 === i && (i = Promise);
|
|
288
|
-
var a = new
|
|
289
|
-
return
|
|
288
|
+
var a = new x(f(e, n, r, o), i);
|
|
289
|
+
return t.isGeneratorFunction(n) ? a : a.next().then(function (e) {
|
|
290
290
|
return e.done ? e.value : a.next();
|
|
291
291
|
});
|
|
292
|
-
},
|
|
292
|
+
}, C(S), d(S, u, "Generator"), d(S, l, function () {
|
|
293
293
|
return this;
|
|
294
|
-
}),
|
|
294
|
+
}), d(S, "toString", function () {
|
|
295
295
|
return "[object Generator]";
|
|
296
|
-
}),
|
|
296
|
+
}), t.keys = function (e) {
|
|
297
297
|
var t = Object(e),
|
|
298
298
|
n = [];
|
|
299
299
|
for (var r in t) n.push(r);
|
|
@@ -304,10 +304,10 @@ function o() {
|
|
|
304
304
|
}
|
|
305
305
|
return e.done = !0, e;
|
|
306
306
|
};
|
|
307
|
-
},
|
|
308
|
-
constructor:
|
|
309
|
-
reset: function reset(
|
|
310
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent =
|
|
307
|
+
}, t.values = R, I.prototype = {
|
|
308
|
+
constructor: I,
|
|
309
|
+
reset: function reset(t) {
|
|
310
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = e, this.done = !1, this.delegate = null, this.method = "next", this.arg = e, this.tryEntries.forEach(B), !t) for (var n in this) "t" === n.charAt(0) && i.call(this, n) && !isNaN(+n.slice(1)) && (this[n] = e);
|
|
311
311
|
},
|
|
312
312
|
stop: function stop() {
|
|
313
313
|
this.done = !0;
|
|
@@ -315,51 +315,51 @@ function o() {
|
|
|
315
315
|
if ("throw" === e.type) throw e.arg;
|
|
316
316
|
return this.rval;
|
|
317
317
|
},
|
|
318
|
-
dispatchException: function dispatchException(
|
|
319
|
-
if (this.done) throw
|
|
320
|
-
var
|
|
321
|
-
function r(
|
|
322
|
-
return
|
|
318
|
+
dispatchException: function dispatchException(t) {
|
|
319
|
+
if (this.done) throw t;
|
|
320
|
+
var n = this;
|
|
321
|
+
function r(r, o) {
|
|
322
|
+
return s.type = "throw", s.arg = t, n.next = r, o && (n.method = "next", n.arg = e), !!o;
|
|
323
323
|
}
|
|
324
324
|
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
|
325
|
-
var
|
|
326
|
-
|
|
327
|
-
if ("root" ===
|
|
328
|
-
if (
|
|
329
|
-
var
|
|
330
|
-
|
|
331
|
-
if (
|
|
332
|
-
if (this.prev <
|
|
333
|
-
if (this.prev <
|
|
334
|
-
} else if (
|
|
335
|
-
if (this.prev <
|
|
325
|
+
var a = this.tryEntries[o],
|
|
326
|
+
s = a.completion;
|
|
327
|
+
if ("root" === a.tryLoc) return r("end");
|
|
328
|
+
if (a.tryLoc <= this.prev) {
|
|
329
|
+
var l = i.call(a, "catchLoc"),
|
|
330
|
+
c = i.call(a, "finallyLoc");
|
|
331
|
+
if (l && c) {
|
|
332
|
+
if (this.prev < a.catchLoc) return r(a.catchLoc, !0);
|
|
333
|
+
if (this.prev < a.finallyLoc) return r(a.finallyLoc);
|
|
334
|
+
} else if (l) {
|
|
335
|
+
if (this.prev < a.catchLoc) return r(a.catchLoc, !0);
|
|
336
336
|
} else {
|
|
337
|
-
if (!
|
|
338
|
-
if (this.prev <
|
|
337
|
+
if (!c) throw new Error("try statement without catch or finally");
|
|
338
|
+
if (this.prev < a.finallyLoc) return r(a.finallyLoc);
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
},
|
|
343
343
|
abrupt: function abrupt(e, t) {
|
|
344
|
-
for (var
|
|
345
|
-
var
|
|
346
|
-
if (
|
|
347
|
-
var
|
|
344
|
+
for (var n = this.tryEntries.length - 1; n >= 0; --n) {
|
|
345
|
+
var r = this.tryEntries[n];
|
|
346
|
+
if (r.tryLoc <= this.prev && i.call(r, "finallyLoc") && this.prev < r.finallyLoc) {
|
|
347
|
+
var o = r;
|
|
348
348
|
break;
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
|
-
|
|
352
|
-
var a =
|
|
353
|
-
return a.type = e, a.arg = t,
|
|
351
|
+
o && ("break" === e || "continue" === e) && o.tryLoc <= t && t <= o.finallyLoc && (o = null);
|
|
352
|
+
var a = o ? o.completion : {};
|
|
353
|
+
return a.type = e, a.arg = t, o ? (this.method = "next", this.next = o.finallyLoc, y) : this.complete(a);
|
|
354
354
|
},
|
|
355
355
|
complete: function complete(e, t) {
|
|
356
356
|
if ("throw" === e.type) throw e.arg;
|
|
357
|
-
return "break" === e.type || "continue" === e.type ? this.next = e.arg : "return" === e.type ? (this.rval = this.arg = e.arg, this.method = "return", this.next = "end") : "normal" === e.type && t && (this.next = t),
|
|
357
|
+
return "break" === e.type || "continue" === e.type ? this.next = e.arg : "return" === e.type ? (this.rval = this.arg = e.arg, this.method = "return", this.next = "end") : "normal" === e.type && t && (this.next = t), y;
|
|
358
358
|
},
|
|
359
359
|
finish: function finish(e) {
|
|
360
360
|
for (var t = this.tryEntries.length - 1; t >= 0; --t) {
|
|
361
361
|
var n = this.tryEntries[t];
|
|
362
|
-
if (n.finallyLoc === e) return this.complete(n.completion, n.afterLoc),
|
|
362
|
+
if (n.finallyLoc === e) return this.complete(n.completion, n.afterLoc), B(n), y;
|
|
363
363
|
}
|
|
364
364
|
},
|
|
365
365
|
"catch": function _catch(e) {
|
|
@@ -369,21 +369,21 @@ function o() {
|
|
|
369
369
|
var r = n.completion;
|
|
370
370
|
if ("throw" === r.type) {
|
|
371
371
|
var o = r.arg;
|
|
372
|
-
|
|
372
|
+
B(n);
|
|
373
373
|
}
|
|
374
374
|
return o;
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
377
|
throw new Error("illegal catch attempt");
|
|
378
378
|
},
|
|
379
|
-
delegateYield: function delegateYield(
|
|
379
|
+
delegateYield: function delegateYield(t, n, r) {
|
|
380
380
|
return this.delegate = {
|
|
381
|
-
iterator:
|
|
382
|
-
resultName:
|
|
383
|
-
nextLoc:
|
|
384
|
-
}, "next" === this.method && (this.arg =
|
|
381
|
+
iterator: R(t),
|
|
382
|
+
resultName: n,
|
|
383
|
+
nextLoc: r
|
|
384
|
+
}, "next" === this.method && (this.arg = e), y;
|
|
385
385
|
}
|
|
386
|
-
},
|
|
386
|
+
}, t;
|
|
387
387
|
}
|
|
388
388
|
function i(e, t) {
|
|
389
389
|
for (var n = 0; n < t.length; n++) {
|
|
@@ -521,7 +521,7 @@ function w(e, t, n, r) {
|
|
|
521
521
|
l((r = r.apply(e, t || [])).next());
|
|
522
522
|
});
|
|
523
523
|
}
|
|
524
|
-
|
|
524
|
+
"function" == typeof SuppressedError && SuppressedError, function (e) {
|
|
525
525
|
e.emailMagicLinks = "emailMagicLinks", e.oauth = "oauth", e.otp = "otp", e.crypto = "crypto", e.passwords = "passwords";
|
|
526
526
|
}(g || (g = {})), function (e) {
|
|
527
527
|
e.Google = "google", e.Microsoft = "microsoft", e.Apple = "apple", e.Github = "github", e.GitLab = "gitlab", e.Facebook = "facebook", e.Discord = "discord", e.Salesforce = "salesforce", e.Slack = "slack", e.Amazon = "amazon", e.Bitbucket = "bitbucket", e.LinkedIn = "linkedin", e.Coinbase = "coinbase", e.Twitch = "twitch", e.Twitter = "twitter", e.TikTok = "tiktok", e.Snapchat = "snapchat", e.Figma = "figma", e.Yahoo = "yahoo";
|
|
@@ -548,7 +548,7 @@ var k,
|
|
|
548
548
|
}
|
|
549
549
|
return a(n);
|
|
550
550
|
}(),
|
|
551
|
-
|
|
551
|
+
P = function (e) {
|
|
552
552
|
l(n, d(Error));
|
|
553
553
|
var t = c(n);
|
|
554
554
|
function n(e, r) {
|
|
@@ -557,7 +557,7 @@ var k,
|
|
|
557
557
|
}
|
|
558
558
|
return a(n);
|
|
559
559
|
}(),
|
|
560
|
-
|
|
560
|
+
T = function (e) {
|
|
561
561
|
l(n, d(Error));
|
|
562
562
|
var t = c(n);
|
|
563
563
|
function n(e) {
|
|
@@ -673,7 +673,7 @@ function M(e) {
|
|
|
673
673
|
e.next = 39;
|
|
674
674
|
break;
|
|
675
675
|
}
|
|
676
|
-
throw new
|
|
676
|
+
throw new T(p);
|
|
677
677
|
case 39:
|
|
678
678
|
throw new B(p);
|
|
679
679
|
case 40:
|
|
@@ -781,21 +781,21 @@ var q,
|
|
|
781
781
|
var n = {
|
|
782
782
|
isObject: function isObject(t, o) {
|
|
783
783
|
var i = "object" === r(o) && !Array.isArray(o) && null !== o;
|
|
784
|
-
if (!i) throw new
|
|
784
|
+
if (!i) throw new P(e, t + " must be an object.");
|
|
785
785
|
return n;
|
|
786
786
|
},
|
|
787
787
|
isOptionalObject: function isOptionalObject(e, t) {
|
|
788
788
|
return void 0 === t ? n : n.isObject(e, t);
|
|
789
789
|
},
|
|
790
790
|
isString: function isString(t, r) {
|
|
791
|
-
if ("string" != typeof r) throw new
|
|
791
|
+
if ("string" != typeof r) throw new P(e, t + " must be a string.");
|
|
792
792
|
return n;
|
|
793
793
|
},
|
|
794
794
|
isOptionalString: function isOptionalString(e, t) {
|
|
795
795
|
return void 0 === t ? n : n.isString(e, t);
|
|
796
796
|
},
|
|
797
797
|
isStringArray: function isStringArray(r, o) {
|
|
798
|
-
if (!Array.isArray(o)) throw new
|
|
798
|
+
if (!Array.isArray(o)) throw new P(e, r + " must be an array of strings.");
|
|
799
799
|
var i,
|
|
800
800
|
a = function (e, n) {
|
|
801
801
|
var r = "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
|
|
@@ -847,7 +847,7 @@ var q,
|
|
|
847
847
|
}(o);
|
|
848
848
|
try {
|
|
849
849
|
for (a.s(); !(i = a.n()).done;) {
|
|
850
|
-
if ("string" != typeof i.value) throw new
|
|
850
|
+
if ("string" != typeof i.value) throw new P(e, r + " must be an array of strings.");
|
|
851
851
|
}
|
|
852
852
|
} catch (e) {
|
|
853
853
|
a.e(e);
|
|
@@ -860,14 +860,14 @@ var q,
|
|
|
860
860
|
return void 0 === t ? n : n.isStringArray(e, t);
|
|
861
861
|
},
|
|
862
862
|
isNumber: function isNumber(t, r) {
|
|
863
|
-
if ("number" != typeof r) throw new
|
|
863
|
+
if ("number" != typeof r) throw new P(e, t + " must be a number.");
|
|
864
864
|
return n;
|
|
865
865
|
},
|
|
866
866
|
isOptionalNumber: function isOptionalNumber(e, t) {
|
|
867
867
|
return void 0 === t ? n : n.isNumber(e, t);
|
|
868
868
|
},
|
|
869
869
|
isBoolean: function isBoolean(t, r) {
|
|
870
|
-
if ("boolean" != typeof r) throw new
|
|
870
|
+
if ("boolean" != typeof r) throw new P(e, t + " must be a boolean.");
|
|
871
871
|
return n;
|
|
872
872
|
},
|
|
873
873
|
isOptionalBoolean: function isOptionalBoolean(e, t) {
|
|
@@ -920,30 +920,44 @@ var q,
|
|
|
920
920
|
}));
|
|
921
921
|
}, this.getDFPTelemetryIDAndCaptcha = function () {
|
|
922
922
|
return w(i, void 0, void 0, o().mark(function e() {
|
|
923
|
-
var t, n, r, i, a;
|
|
923
|
+
var t, n, r, i, a, s;
|
|
924
924
|
return o().wrap(function (e) {
|
|
925
925
|
for (;;) switch (e.prev = e.next) {
|
|
926
926
|
case 0:
|
|
927
927
|
return e.next = 2, this.state;
|
|
928
928
|
case 2:
|
|
929
|
-
if (t = e.sent, n = t.enabled, r = t.executeRecaptcha, i = void 0,
|
|
930
|
-
e.next =
|
|
929
|
+
if (t = e.sent, n = t.enabled, r = t.executeRecaptcha, i = t.mode, a = void 0, s = void 0, n) {
|
|
930
|
+
e.next = 12;
|
|
931
931
|
break;
|
|
932
932
|
}
|
|
933
|
-
return e.next =
|
|
934
|
-
case
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
933
|
+
return e.next = 11, r();
|
|
934
|
+
case 11:
|
|
935
|
+
s = e.sent;
|
|
936
|
+
case 12:
|
|
937
|
+
if ("DECISIONING" !== i) {
|
|
938
|
+
e.next = 18;
|
|
939
|
+
break;
|
|
940
|
+
}
|
|
941
|
+
return e.next = 15, this.getTelemetryID();
|
|
939
942
|
case 15:
|
|
940
|
-
a = e.sent;
|
|
941
|
-
|
|
943
|
+
a = e.sent, e.next = 25;
|
|
944
|
+
break;
|
|
945
|
+
case 18:
|
|
946
|
+
if ("OBSERVATION" !== i) {
|
|
947
|
+
e.next = 25;
|
|
948
|
+
break;
|
|
949
|
+
}
|
|
950
|
+
return e.next = 21, this.getTelemetryID();
|
|
951
|
+
case 21:
|
|
952
|
+
return a = e.sent, e.next = 24, r();
|
|
953
|
+
case 24:
|
|
954
|
+
s = e.sent;
|
|
955
|
+
case 25:
|
|
942
956
|
return e.abrupt("return", {
|
|
943
|
-
dfp_telemetry_id:
|
|
944
|
-
captcha_token:
|
|
957
|
+
dfp_telemetry_id: a,
|
|
958
|
+
captcha_token: s
|
|
945
959
|
});
|
|
946
|
-
case
|
|
960
|
+
case 26:
|
|
947
961
|
case "end":
|
|
948
962
|
return e.stop();
|
|
949
963
|
}
|
|
@@ -1005,6 +1019,7 @@ var q,
|
|
|
1005
1019
|
publicToken: t,
|
|
1006
1020
|
dfpBackendURL: n,
|
|
1007
1021
|
enabled: !0,
|
|
1022
|
+
mode: e.dfpProtectedAuthMode || "OBSERVATION",
|
|
1008
1023
|
loaded: !0,
|
|
1009
1024
|
executeRecaptcha: a
|
|
1010
1025
|
});
|
|
@@ -1243,28 +1258,33 @@ var re = Promise.resolve({
|
|
|
1243
1258
|
}, this.discovery = {
|
|
1244
1259
|
authenticate: function authenticate(e) {
|
|
1245
1260
|
return w(a, void 0, void 0, o().mark(function t() {
|
|
1246
|
-
var n, r, i;
|
|
1261
|
+
var n, r, i, a, s, l;
|
|
1247
1262
|
return o().wrap(function (t) {
|
|
1248
1263
|
for (;;) switch (t.prev = t.next) {
|
|
1249
1264
|
case 0:
|
|
1250
1265
|
return X("stytch.magicLinks.discovery.authenticate").isString("discovery_magic_links_token", e.discovery_magic_links_token), t.next = 3, this._pkceManager.getPKPair();
|
|
1251
1266
|
case 3:
|
|
1252
|
-
return n = t.sent,
|
|
1253
|
-
|
|
1254
|
-
|
|
1267
|
+
return n = t.sent, t.next = 6, this.dfpProtectedAuth.getDFPTelemetryIDAndCaptcha();
|
|
1268
|
+
case 6:
|
|
1269
|
+
return r = t.sent, i = r.dfp_telemetry_id, a = r.captcha_token, s = Object.assign({
|
|
1270
|
+
pkce_code_verifier: null == n ? void 0 : n.code_verifier,
|
|
1271
|
+
dfp_telemetry_id: i,
|
|
1272
|
+
captcha_token: a
|
|
1273
|
+
}, e), t.next = 12, this._networkClient.retriableFetchSDK({
|
|
1255
1274
|
url: "/b2b/magic_links/discovery/authenticate",
|
|
1256
|
-
body:
|
|
1275
|
+
body: s,
|
|
1257
1276
|
errorMessage: "Failed to authenticate intermediate magic link token",
|
|
1258
|
-
method: "POST"
|
|
1277
|
+
method: "POST",
|
|
1278
|
+
retryCallback: this.dfpProtectedAuth.retryWithCaptchaAndDFP
|
|
1259
1279
|
});
|
|
1260
|
-
case
|
|
1261
|
-
return
|
|
1280
|
+
case 12:
|
|
1281
|
+
return l = t.sent, this._pkceManager.clearPKPair(), this._subscriptionService.updateStateAndTokens({
|
|
1262
1282
|
state: null,
|
|
1263
1283
|
session_token: null,
|
|
1264
1284
|
session_jwt: null,
|
|
1265
|
-
intermediate_session_token:
|
|
1266
|
-
}), t.abrupt("return",
|
|
1267
|
-
case
|
|
1285
|
+
intermediate_session_token: l.intermediate_session_token
|
|
1286
|
+
}), t.abrupt("return", l);
|
|
1287
|
+
case 16:
|
|
1268
1288
|
case "end":
|
|
1269
1289
|
return t.stop();
|
|
1270
1290
|
}
|
|
@@ -1548,28 +1568,33 @@ var re = Promise.resolve({
|
|
|
1548
1568
|
s(this, e), this._networkClient = t, this._subscriptionService = n, this._pkceManager = r, this._dynamicConfig = i, this._config = a, this.dfpProtectedAuth = c, this.discovery = {
|
|
1549
1569
|
authenticate: function authenticate(e) {
|
|
1550
1570
|
return w(l, void 0, void 0, o().mark(function t() {
|
|
1551
|
-
var n, r, i;
|
|
1571
|
+
var n, r, i, a, s, l;
|
|
1552
1572
|
return o().wrap(function (t) {
|
|
1553
1573
|
for (;;) switch (t.prev = t.next) {
|
|
1554
1574
|
case 0:
|
|
1555
1575
|
return X("stytch.oauth.discovery.authenticate").isString("discovery_oauth_token", e.discovery_oauth_token), t.next = 3, this._pkceManager.getPKPair();
|
|
1556
1576
|
case 3:
|
|
1557
|
-
return n = t.sent,
|
|
1558
|
-
|
|
1559
|
-
|
|
1577
|
+
return n = t.sent, t.next = 6, this.dfpProtectedAuth.getDFPTelemetryIDAndCaptcha();
|
|
1578
|
+
case 6:
|
|
1579
|
+
return r = t.sent, i = r.dfp_telemetry_id, a = r.captcha_token, s = Object.assign({
|
|
1580
|
+
pkce_code_verifier: null == n ? void 0 : n.code_verifier,
|
|
1581
|
+
dfp_telemetry_id: i,
|
|
1582
|
+
captcha_token: a
|
|
1583
|
+
}, e), t.next = 12, this._networkClient.retriableFetchSDK({
|
|
1560
1584
|
url: "/b2b/oauth/discovery/authenticate",
|
|
1561
|
-
body:
|
|
1585
|
+
body: s,
|
|
1562
1586
|
errorMessage: "Failed to authenticate discovery oauth token",
|
|
1563
|
-
method: "POST"
|
|
1587
|
+
method: "POST",
|
|
1588
|
+
retryCallback: this.dfpProtectedAuth.retryWithCaptchaAndDFP
|
|
1564
1589
|
});
|
|
1565
|
-
case
|
|
1566
|
-
return
|
|
1590
|
+
case 12:
|
|
1591
|
+
return l = t.sent, this._pkceManager.clearPKPair(), this._subscriptionService.updateStateAndTokens({
|
|
1567
1592
|
state: null,
|
|
1568
1593
|
session_token: null,
|
|
1569
1594
|
session_jwt: null,
|
|
1570
|
-
intermediate_session_token:
|
|
1571
|
-
}), t.abrupt("return",
|
|
1572
|
-
case
|
|
1595
|
+
intermediate_session_token: l.intermediate_session_token
|
|
1596
|
+
}), t.abrupt("return", l);
|
|
1597
|
+
case 16:
|
|
1573
1598
|
case "end":
|
|
1574
1599
|
return t.stop();
|
|
1575
1600
|
}
|
|
@@ -2157,7 +2182,7 @@ function Ee(e, t, n, r) {
|
|
|
2157
2182
|
l((r = r.apply(e, t || [])).next());
|
|
2158
2183
|
});
|
|
2159
2184
|
}
|
|
2160
|
-
ke.REFRESH_INTERVAL_MS = 18e4, function (e) {
|
|
2185
|
+
ke.REFRESH_INTERVAL_MS = 18e4, "function" == typeof SuppressedError && SuppressedError, function (e) {
|
|
2161
2186
|
e.emailMagicLinks = "emailMagicLinks", e.oauth = "oauth", e.otp = "otp", e.crypto = "crypto", e.passwords = "passwords";
|
|
2162
2187
|
}(de || (de = {})), function (e) {
|
|
2163
2188
|
e.Google = "google", e.Microsoft = "microsoft", e.Apple = "apple", e.Github = "github", e.GitLab = "gitlab", e.Facebook = "facebook", e.Discord = "discord", e.Salesforce = "salesforce", e.Slack = "slack", e.Amazon = "amazon", e.Bitbucket = "bitbucket", e.LinkedIn = "linkedin", e.Coinbase = "coinbase", e.Twitch = "twitch", e.Twitter = "twitter", e.TikTok = "tiktok", e.Snapchat = "snapchat", e.Figma = "figma", e.Yahoo = "yahoo";
|
|
@@ -2257,8 +2282,8 @@ var xe;
|
|
|
2257
2282
|
var Oe = Promise.resolve({
|
|
2258
2283
|
pkceRequiredForPasswordResets: !1
|
|
2259
2284
|
});
|
|
2260
|
-
var
|
|
2261
|
-
function
|
|
2285
|
+
var Pe = /*#__PURE__*/function () {
|
|
2286
|
+
function Pe(e, t, n) {
|
|
2262
2287
|
var r = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : Oe;
|
|
2263
2288
|
var o = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : function () {
|
|
2264
2289
|
return {
|
|
@@ -2317,10 +2342,10 @@ var Te = /*#__PURE__*/function () {
|
|
|
2317
2342
|
}
|
|
2318
2343
|
};
|
|
2319
2344
|
}();
|
|
2320
|
-
_classCallCheck(this,
|
|
2345
|
+
_classCallCheck(this, Pe);
|
|
2321
2346
|
this._networkClient = e, this._subscriptionService = t, this._pkceManager = n, this._config = r, this.dfpProtectedAuth = o;
|
|
2322
2347
|
}
|
|
2323
|
-
_createClass(
|
|
2348
|
+
_createClass(Pe, [{
|
|
2324
2349
|
key: "getCodeChallenge",
|
|
2325
2350
|
value: function getCodeChallenge() {
|
|
2326
2351
|
return Ee(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
|
|
@@ -2647,9 +2672,9 @@ var Te = /*#__PURE__*/function () {
|
|
|
2647
2672
|
}));
|
|
2648
2673
|
}
|
|
2649
2674
|
}]);
|
|
2650
|
-
return
|
|
2675
|
+
return Pe;
|
|
2651
2676
|
}();
|
|
2652
|
-
var
|
|
2677
|
+
var Te = "bootstrap";
|
|
2653
2678
|
var Be = /*#__PURE__*/function () {
|
|
2654
2679
|
function Be(e, t, n) {
|
|
2655
2680
|
var _this2 = this;
|
|
@@ -2659,7 +2684,7 @@ var Be = /*#__PURE__*/function () {
|
|
|
2659
2684
|
method: "GET",
|
|
2660
2685
|
errorMessage: "Error fetching bootstrap data for SDK for ".concat(this._publicToken)
|
|
2661
2686
|
}).then(Be.mapBootstrapData).then(function (e) {
|
|
2662
|
-
return _this2._dataLayer.setItem(
|
|
2687
|
+
return _this2._dataLayer.setItem(Te, JSON.stringify(e)), e;
|
|
2663
2688
|
})["catch"](function (e) {
|
|
2664
2689
|
return Y(e), {
|
|
2665
2690
|
displayWatermark: !1,
|
|
@@ -2682,7 +2707,7 @@ var Be = /*#__PURE__*/function () {
|
|
|
2682
2707
|
_createClass(Be, [{
|
|
2683
2708
|
key: "getSync",
|
|
2684
2709
|
value: function getSync() {
|
|
2685
|
-
var e = this._dataLayer.getItem(
|
|
2710
|
+
var e = this._dataLayer.getItem(Te);
|
|
2686
2711
|
if (null === e) return {
|
|
2687
2712
|
displayWatermark: !1,
|
|
2688
2713
|
cnameDomain: null,
|
|
@@ -2745,7 +2770,8 @@ var Be = /*#__PURE__*/function () {
|
|
|
2745
2770
|
slugPattern: e.slug_pattern,
|
|
2746
2771
|
createOrganizationEnabled: e.create_organization_enabled,
|
|
2747
2772
|
passwordConfig: n,
|
|
2748
|
-
runDFPProtectedAuth: null !== (t = e.dfp_protected_auth_enabled) && void 0 !== t && t
|
|
2773
|
+
runDFPProtectedAuth: null !== (t = e.dfp_protected_auth_enabled) && void 0 !== t && t,
|
|
2774
|
+
dfpProtectedAuthMode: e.dfp_protected_auth_mode
|
|
2749
2775
|
};
|
|
2750
2776
|
}
|
|
2751
2777
|
}]);
|
|
@@ -2866,7 +2892,7 @@ var Re = /*#__PURE__*/function () {
|
|
|
2866
2892
|
},
|
|
2867
2893
|
sdk: {
|
|
2868
2894
|
identifier: "Stytch.js Javascript SDK",
|
|
2869
|
-
version: "2.
|
|
2895
|
+
version: "2.2.0"
|
|
2870
2896
|
}
|
|
2871
2897
|
});
|
|
2872
2898
|
}
|
|
@@ -3230,7 +3256,7 @@ var $e = /*#__PURE__*/function () {
|
|
|
3230
3256
|
}
|
|
3231
3257
|
}, this.publicToken = e, this.state = null, this.subscriptions = {}, (null == t ? void 0 : t.cookieOptions) ? (X("SubscriptionDataLayer").isOptionalString("cookieOptions.opaqueTokenCookieName", t.cookieOptions.opaqueTokenCookieName).isOptionalString("cookieOptions.jwtCookieName", t.cookieOptions.jwtCookieName).isOptionalString("cookieOptions.istCookieName", t.cookieOptions.istCookieName).isOptionalString("cookieOptions.path", t.cookieOptions.path).isOptionalString("cookieOptions.domain", t.cookieOptions.domain), this._jwtCookieName = t.cookieOptions.jwtCookieName || null, this._opaqueTokenCookieName = t.cookieOptions.opaqueTokenCookieName || null, this._cookiePath = t.cookieOptions.path || null, this._domain = t.cookieOptions.domain || null, this._cookieAvailableToSubdomains = t.cookieOptions.availableToSubdomains || !1, this._istCookieName = t.cookieOptions.istCookieName || null) : (this._opaqueTokenCookieName = null, this._jwtCookieName = null, this._cookiePath = null, this._domain = null, this._cookieAvailableToSubdomains = !1, this._istCookieName = null);
|
|
3232
3258
|
var n = localStorage.getItem(Qe(this.publicToken));
|
|
3233
|
-
if (!n) return
|
|
3259
|
+
if (!n) return;
|
|
3234
3260
|
var r;
|
|
3235
3261
|
try {
|
|
3236
3262
|
r = JSON.parse(n);
|
|
@@ -3582,7 +3608,7 @@ var Xe = /*#__PURE__*/_createClass(function Xe(e, t) {
|
|
|
3582
3608
|
publicToken: e,
|
|
3583
3609
|
testAPIURL: i.endpoints.testAPIURL,
|
|
3584
3610
|
liveAPIURL: i.endpoints.liveAPIURL
|
|
3585
|
-
}), this.discovery = new ue(this._networkClient, this._subscriptionService), this.passwords = new
|
|
3611
|
+
}), this.discovery = new ue(this._networkClient, this._subscriptionService), this.passwords = new Pe(this._networkClient, this._subscriptionService, a, s.getAsync(), c), this.otps = new we(this._networkClient, this._subscriptionService, c), this._sessionManager = new ke(this._subscriptionService, this.session);
|
|
3586
3612
|
var d = new ze(this._networkClient);
|
|
3587
3613
|
this._dataLayer.readSessionCookie().session_token && this._sessionManager.performBackgroundRefresh(), this._networkClient.logEvent({
|
|
3588
3614
|
name: "b2b_sdk_instance_instantiated",
|
|
@@ -3718,7 +3744,7 @@ function xt(e) {
|
|
|
3718
3744
|
return "object" == _typeof(e) && null !== e && e.$$typeof === st;
|
|
3719
3745
|
}
|
|
3720
3746
|
var Ot = /\/+/g;
|
|
3721
|
-
function
|
|
3747
|
+
function Pt(e, t) {
|
|
3722
3748
|
return "object" == _typeof(e) && null !== e && null != e.key ? function (e) {
|
|
3723
3749
|
var t = {
|
|
3724
3750
|
"=": "=0",
|
|
@@ -3729,7 +3755,7 @@ function Tt(e, t) {
|
|
|
3729
3755
|
});
|
|
3730
3756
|
}("" + e.key) : t.toString(36);
|
|
3731
3757
|
}
|
|
3732
|
-
function
|
|
3758
|
+
function Tt(e, t, n, r, o) {
|
|
3733
3759
|
var i = _typeof(e);
|
|
3734
3760
|
"undefined" !== i && "boolean" !== i || (e = null);
|
|
3735
3761
|
var a = !1;
|
|
@@ -3745,7 +3771,7 @@ function Pt(e, t, n, r, o) {
|
|
|
3745
3771
|
a = !0;
|
|
3746
3772
|
}
|
|
3747
3773
|
}
|
|
3748
|
-
if (a) return o = o(a = e), e = "" === r ? "." +
|
|
3774
|
+
if (a) return o = o(a = e), e = "" === r ? "." + Pt(a, 0) : r, Array.isArray(o) ? (n = "", null != e && (n = e.replace(Ot, "$&/") + "/"), Tt(o, t, n, "", function (e) {
|
|
3749
3775
|
return e;
|
|
3750
3776
|
})) : null != o && (xt(o) && (o = function (e, t) {
|
|
3751
3777
|
return {
|
|
@@ -3758,18 +3784,18 @@ function Pt(e, t, n, r, o) {
|
|
|
3758
3784
|
};
|
|
3759
3785
|
}(o, n + (!o.key || a && a.key === o.key ? "" : ("" + o.key).replace(Ot, "$&/") + "/") + e)), t.push(o)), 1;
|
|
3760
3786
|
if (a = 0, r = "" === r ? "." : r + ":", Array.isArray(e)) for (var s = 0; s < e.length; s++) {
|
|
3761
|
-
var l = r +
|
|
3762
|
-
a +=
|
|
3787
|
+
var l = r + Pt(i = e[s], s);
|
|
3788
|
+
a += Tt(i, t, n, l, o);
|
|
3763
3789
|
} else if (l = function (e) {
|
|
3764
3790
|
return null === e || "object" != _typeof(e) ? null : "function" == typeof (e = mt && e[mt] || e["@@iterator"]) ? e : null;
|
|
3765
|
-
}(e), "function" == typeof l) for (e = l.call(e), s = 0; !(i = e.next()).done;) a +=
|
|
3791
|
+
}(e), "function" == typeof l) for (e = l.call(e), s = 0; !(i = e.next()).done;) a += Tt(i = i.value, t, n, l = r + Pt(i, s++), o);else if ("object" === i) throw t = "" + e, Error(gt(31, "[object Object]" === t ? "object with keys {" + Object.keys(e).join(", ") + "}" : t));
|
|
3766
3792
|
return a;
|
|
3767
3793
|
}
|
|
3768
3794
|
function Bt(e, t, n) {
|
|
3769
3795
|
if (null == e) return e;
|
|
3770
3796
|
var r = [],
|
|
3771
3797
|
o = 0;
|
|
3772
|
-
return
|
|
3798
|
+
return Tt(e, r, "", "", function (e) {
|
|
3773
3799
|
return t.call(n, e, o++);
|
|
3774
3800
|
}), r;
|
|
3775
3801
|
}
|
|
@@ -4100,7 +4126,7 @@ function gn(e) {
|
|
|
4100
4126
|
m = Q + "{" + m + "}";
|
|
4101
4127
|
break;
|
|
4102
4128
|
case 107:
|
|
4103
|
-
m = (Q = Q.replace(v, "$1 $2")) + "{" + m + "}", m = 1 ===
|
|
4129
|
+
m = (Q = Q.replace(v, "$1 $2")) + "{" + m + "}", m = 1 === T || 2 === T && i("@" + m, 3) ? "@-webkit-" + m + "@" + m : "@" + m;
|
|
4104
4130
|
break;
|
|
4105
4131
|
default:
|
|
4106
4132
|
m = Q + m, 112 === c && ($ += m, m = "");
|
|
@@ -4163,11 +4189,11 @@ function gn(e) {
|
|
|
4163
4189
|
0 === S + k + w && (z = N = 1, g = "\f" + g);
|
|
4164
4190
|
break;
|
|
4165
4191
|
case 108:
|
|
4166
|
-
if (0 === S + k + w +
|
|
4192
|
+
if (0 === S + k + w + P && 0 < L) switch (D - L) {
|
|
4167
4193
|
case 2:
|
|
4168
|
-
112 === C && 58 === l.charCodeAt(D - 3) && (
|
|
4194
|
+
112 === C && 58 === l.charCodeAt(D - 3) && (P = C);
|
|
4169
4195
|
case 8:
|
|
4170
|
-
111 === I && (
|
|
4196
|
+
111 === I && (P = I);
|
|
4171
4197
|
}
|
|
4172
4198
|
break;
|
|
4173
4199
|
case 58:
|
|
@@ -4220,15 +4246,15 @@ function gn(e) {
|
|
|
4220
4246
|
}
|
|
4221
4247
|
if (0 < (j = $.length)) {
|
|
4222
4248
|
if (z = r, 0 < R && void 0 !== (b = s(2, $, z, e, O, x, j, c, f, c)) && 0 === ($ = b).length) return V + $ + H;
|
|
4223
|
-
if ($ = z.join(",") + "{" + $ + "}", 0 !=
|
|
4224
|
-
switch (2 !==
|
|
4249
|
+
if ($ = z.join(",") + "{" + $ + "}", 0 != T * P) {
|
|
4250
|
+
switch (2 !== T || i($, 2) || (P = 0), P) {
|
|
4225
4251
|
case 111:
|
|
4226
4252
|
$ = $.replace(A, ":-moz-$1") + $;
|
|
4227
4253
|
break;
|
|
4228
4254
|
case 112:
|
|
4229
4255
|
$ = $.replace(y, "::-webkit-input-$1") + $.replace(y, "::-moz-$1") + $.replace(y, ":-ms-input-$1") + $;
|
|
4230
4256
|
}
|
|
4231
|
-
|
|
4257
|
+
P = 0;
|
|
4232
4258
|
}
|
|
4233
4259
|
}
|
|
4234
4260
|
return V + $ + H;
|
|
@@ -4268,9 +4294,9 @@ function gn(e) {
|
|
|
4268
4294
|
if (944 === s) {
|
|
4269
4295
|
e = a.indexOf(":", 9) + 1;
|
|
4270
4296
|
var l = a.substring(e, a.length - 1).trim();
|
|
4271
|
-
return l = a.substring(0, e).trim() + l + ";", 1 ===
|
|
4297
|
+
return l = a.substring(0, e).trim() + l + ";", 1 === T || 2 === T && i(l, 1) ? "-webkit-" + l + l : l;
|
|
4272
4298
|
}
|
|
4273
|
-
if (0 ===
|
|
4299
|
+
if (0 === T || 2 === T && !i(a, 1)) return a;
|
|
4274
4300
|
switch (s) {
|
|
4275
4301
|
case 1015:
|
|
4276
4302
|
return 97 === a.charCodeAt(10) ? "-webkit-" + a + a : a;
|
|
@@ -4382,7 +4408,7 @@ function gn(e) {
|
|
|
4382
4408
|
if (p !== t) return p;
|
|
4383
4409
|
}
|
|
4384
4410
|
function l(e) {
|
|
4385
|
-
return void 0 !== (e = e.prefix) && (L = null, e ? "function" != typeof e ?
|
|
4411
|
+
return void 0 !== (e = e.prefix) && (L = null, e ? "function" != typeof e ? T = 1 : (T = 2, L = e) : T = 0), l;
|
|
4386
4412
|
}
|
|
4387
4413
|
function c(e, n) {
|
|
4388
4414
|
var r = e;
|
|
@@ -4391,7 +4417,7 @@ function gn(e) {
|
|
|
4391
4417
|
void 0 !== o && "string" == typeof o && (n = o);
|
|
4392
4418
|
}
|
|
4393
4419
|
var i = t(B, r, n, 0, 0);
|
|
4394
|
-
return 0 < R && void 0 !== (o = s(-2, i, r, r, O, x, i.length, 0, 0, 0)) && (i = o), "",
|
|
4420
|
+
return 0 < R && void 0 !== (o = s(-2, i, r, r, O, x, i.length, 0, 0, 0)) && (i = o), "", P = 0, x = O = 1, i;
|
|
4395
4421
|
}
|
|
4396
4422
|
var u = /^\0+/g,
|
|
4397
4423
|
d = /[\0\r\f]/g,
|
|
@@ -4412,8 +4438,8 @@ function gn(e) {
|
|
|
4412
4438
|
C = /([^-])(image-set\()/,
|
|
4413
4439
|
x = 1,
|
|
4414
4440
|
O = 1,
|
|
4415
|
-
|
|
4416
|
-
|
|
4441
|
+
P = 0,
|
|
4442
|
+
T = 1,
|
|
4417
4443
|
B = [],
|
|
4418
4444
|
I = [],
|
|
4419
4445
|
R = 0,
|
|
@@ -4498,8 +4524,8 @@ var An = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
4498
4524
|
Cn = kn ? Symbol["for"]("react.fragment") : 60107,
|
|
4499
4525
|
xn = kn ? Symbol["for"]("react.strict_mode") : 60108,
|
|
4500
4526
|
On = kn ? Symbol["for"]("react.profiler") : 60114,
|
|
4501
|
-
|
|
4502
|
-
|
|
4527
|
+
Pn = kn ? Symbol["for"]("react.provider") : 60109,
|
|
4528
|
+
Tn = kn ? Symbol["for"]("react.context") : 60110,
|
|
4503
4529
|
Bn = kn ? Symbol["for"]("react.async_mode") : 60111,
|
|
4504
4530
|
In = kn ? Symbol["for"]("react.concurrent_mode") : 60111,
|
|
4505
4531
|
Rn = kn ? Symbol["for"]("react.forward_ref") : 60112,
|
|
@@ -4526,11 +4552,11 @@ function Qn(e) {
|
|
|
4526
4552
|
return e;
|
|
4527
4553
|
default:
|
|
4528
4554
|
switch (e = e && e.$$typeof) {
|
|
4529
|
-
case
|
|
4555
|
+
case Tn:
|
|
4530
4556
|
case Rn:
|
|
4531
4557
|
case zn:
|
|
4532
4558
|
case Dn:
|
|
4533
|
-
case
|
|
4559
|
+
case Pn:
|
|
4534
4560
|
return e;
|
|
4535
4561
|
default:
|
|
4536
4562
|
return t;
|
|
@@ -4544,12 +4570,12 @@ function Qn(e) {
|
|
|
4544
4570
|
function $n(e) {
|
|
4545
4571
|
return Qn(e) === In;
|
|
4546
4572
|
}
|
|
4547
|
-
wn.AsyncMode = Bn, wn.ConcurrentMode = In, wn.ContextConsumer =
|
|
4573
|
+
wn.AsyncMode = Bn, wn.ConcurrentMode = In, wn.ContextConsumer = Tn, wn.ContextProvider = Pn, wn.Element = En, wn.ForwardRef = Rn, wn.Fragment = Cn, wn.Lazy = zn, wn.Memo = Dn, wn.Portal = Sn, wn.Profiler = On, wn.StrictMode = xn, wn.Suspense = Ln, wn.isAsyncMode = function (e) {
|
|
4548
4574
|
return $n(e) || Qn(e) === Bn;
|
|
4549
4575
|
}, wn.isConcurrentMode = $n, wn.isContextConsumer = function (e) {
|
|
4550
|
-
return Qn(e) === Pn;
|
|
4551
|
-
}, wn.isContextProvider = function (e) {
|
|
4552
4576
|
return Qn(e) === Tn;
|
|
4577
|
+
}, wn.isContextProvider = function (e) {
|
|
4578
|
+
return Qn(e) === Pn;
|
|
4553
4579
|
}, wn.isElement = function (e) {
|
|
4554
4580
|
return "object" == _typeof(e) && null !== e && e.$$typeof === En;
|
|
4555
4581
|
}, wn.isForwardRef = function (e) {
|
|
@@ -4569,7 +4595,7 @@ wn.AsyncMode = Bn, wn.ConcurrentMode = In, wn.ContextConsumer = Pn, wn.ContextPr
|
|
|
4569
4595
|
}, wn.isSuspense = function (e) {
|
|
4570
4596
|
return Qn(e) === Ln;
|
|
4571
4597
|
}, wn.isValidElementType = function (e) {
|
|
4572
|
-
return "string" == typeof e || "function" == typeof e || e === Cn || e === In || e === On || e === xn || e === Ln || e === Mn || "object" == _typeof(e) && null !== e && (e.$$typeof === zn || e.$$typeof === Dn || e.$$typeof ===
|
|
4598
|
+
return "string" == typeof e || "function" == typeof e || e === Cn || e === In || e === On || e === xn || e === Ln || e === Mn || "object" == _typeof(e) && null !== e && (e.$$typeof === zn || e.$$typeof === Dn || e.$$typeof === Pn || e.$$typeof === Tn || e.$$typeof === Rn || e.$$typeof === jn || e.$$typeof === Fn || e.$$typeof === Un || e.$$typeof === Nn);
|
|
4573
4599
|
}, wn.typeOf = Qn, _n.exports = wn;
|
|
4574
4600
|
var Hn = _n.exports,
|
|
4575
4601
|
Vn = {
|
|
@@ -4796,7 +4822,7 @@ var mr = function () {
|
|
|
4796
4822
|
return e < this.length ? this.nodes[e].textContent : "";
|
|
4797
4823
|
}, e;
|
|
4798
4824
|
}(),
|
|
4799
|
-
|
|
4825
|
+
Pr = function () {
|
|
4800
4826
|
function e(e) {
|
|
4801
4827
|
this.rules = [], this.length = 0;
|
|
4802
4828
|
}
|
|
@@ -4809,14 +4835,14 @@ var mr = function () {
|
|
|
4809
4835
|
return e < this.length ? this.rules[e] : "";
|
|
4810
4836
|
}, e;
|
|
4811
4837
|
}(),
|
|
4812
|
-
|
|
4838
|
+
Tr = fr,
|
|
4813
4839
|
Br = {
|
|
4814
4840
|
isServer: !fr,
|
|
4815
4841
|
useCSSOMInjection: !pr
|
|
4816
4842
|
},
|
|
4817
4843
|
Ir = function () {
|
|
4818
4844
|
function e(e, t, n) {
|
|
4819
|
-
void 0 === e && (e = sr), void 0 === t && (t = {}), this.options = rr({}, Br, {}, e), this.gs = t, this.names = new Map(n), this.server = !!e.isServer, !this.server && fr &&
|
|
4845
|
+
void 0 === e && (e = sr), void 0 === t && (t = {}), this.options = rr({}, Br, {}, e), this.gs = t, this.names = new Map(n), this.server = !!e.isServer, !this.server && fr && Tr && (Tr = !1, function (e) {
|
|
4820
4846
|
for (var t = document.querySelectorAll(wr), n = 0, r = t.length; n < r; n++) {
|
|
4821
4847
|
var o = t[n];
|
|
4822
4848
|
o && "active" !== o.getAttribute(dr) && (Sr(e, o), o.parentNode && o.parentNode.removeChild(o));
|
|
@@ -4832,7 +4858,7 @@ var mr = function () {
|
|
|
4832
4858
|
}, t.allocateGSInstance = function (e) {
|
|
4833
4859
|
return this.gs[e] = (this.gs[e] || 0) + 1;
|
|
4834
4860
|
}, t.getTag = function () {
|
|
4835
|
-
return this.tag || (this.tag = (n = (t = this.options).isServer, r = t.useCSSOMInjection, o = t.target, e = n ? new
|
|
4861
|
+
return this.tag || (this.tag = (n = (t = this.options).isServer, r = t.useCSSOMInjection, o = t.target, e = n ? new Pr(o) : r ? new xr(o) : new Or(o), new mr(e)));
|
|
4836
4862
|
var e, t, n, r, o;
|
|
4837
4863
|
}, t.hasNameForId = function (e, t) {
|
|
4838
4864
|
return this.names.has(e) && this.names.get(e).has(t);
|
|
@@ -5375,8 +5401,8 @@ var _o = function _o() {
|
|
|
5375
5401
|
C = [],
|
|
5376
5402
|
x = 1,
|
|
5377
5403
|
O = null,
|
|
5378
|
-
|
|
5379
|
-
|
|
5404
|
+
P = 3,
|
|
5405
|
+
T = !1,
|
|
5380
5406
|
B = !1,
|
|
5381
5407
|
I = !1;
|
|
5382
5408
|
function R(e) {
|
|
@@ -5395,13 +5421,13 @@ var _o = function _o() {
|
|
|
5395
5421
|
}
|
|
5396
5422
|
}
|
|
5397
5423
|
function M(t, o) {
|
|
5398
|
-
B = !1, I && (I = !1, r()),
|
|
5399
|
-
var i =
|
|
5424
|
+
B = !1, I && (I = !1, r()), T = !0;
|
|
5425
|
+
var i = P;
|
|
5400
5426
|
try {
|
|
5401
5427
|
for (R(o), O = w(S); null !== O && (!(O.expirationTime > o) || t && !e.unstable_shouldYield());) {
|
|
5402
5428
|
var a = O.callback;
|
|
5403
5429
|
if ("function" == typeof a) {
|
|
5404
|
-
O.callback = null,
|
|
5430
|
+
O.callback = null, P = O.priorityLevel;
|
|
5405
5431
|
var s = a(O.expirationTime <= o);
|
|
5406
5432
|
o = e.unstable_now(), "function" == typeof s ? O.callback = s : O === w(S) && k(S), R(o);
|
|
5407
5433
|
} else k(S);
|
|
@@ -5413,34 +5439,34 @@ var _o = function _o() {
|
|
|
5413
5439
|
}
|
|
5414
5440
|
return l;
|
|
5415
5441
|
} finally {
|
|
5416
|
-
O = null,
|
|
5442
|
+
O = null, P = i, T = !1;
|
|
5417
5443
|
}
|
|
5418
5444
|
}
|
|
5419
5445
|
var D = o;
|
|
5420
5446
|
e.unstable_IdlePriority = 5, e.unstable_ImmediatePriority = 1, e.unstable_LowPriority = 4, e.unstable_NormalPriority = 3, e.unstable_Profiling = null, e.unstable_UserBlockingPriority = 2, e.unstable_cancelCallback = function (e) {
|
|
5421
5447
|
e.callback = null;
|
|
5422
5448
|
}, e.unstable_continueExecution = function () {
|
|
5423
|
-
B ||
|
|
5449
|
+
B || T || (B = !0, _t3(M));
|
|
5424
5450
|
}, e.unstable_getCurrentPriorityLevel = function () {
|
|
5425
|
-
return
|
|
5451
|
+
return P;
|
|
5426
5452
|
}, e.unstable_getFirstCallbackNode = function () {
|
|
5427
5453
|
return w(S);
|
|
5428
5454
|
}, e.unstable_next = function (e) {
|
|
5429
|
-
switch (
|
|
5455
|
+
switch (P) {
|
|
5430
5456
|
case 1:
|
|
5431
5457
|
case 2:
|
|
5432
5458
|
case 3:
|
|
5433
5459
|
var t = 3;
|
|
5434
5460
|
break;
|
|
5435
5461
|
default:
|
|
5436
|
-
t =
|
|
5462
|
+
t = P;
|
|
5437
5463
|
}
|
|
5438
|
-
var n =
|
|
5439
|
-
|
|
5464
|
+
var n = P;
|
|
5465
|
+
P = t;
|
|
5440
5466
|
try {
|
|
5441
5467
|
return e();
|
|
5442
5468
|
} finally {
|
|
5443
|
-
|
|
5469
|
+
P = n;
|
|
5444
5470
|
}
|
|
5445
5471
|
}, e.unstable_pauseExecution = function () {}, e.unstable_requestPaint = D, e.unstable_runWithPriority = function (e, t) {
|
|
5446
5472
|
switch (e) {
|
|
@@ -5453,12 +5479,12 @@ var _o = function _o() {
|
|
|
5453
5479
|
default:
|
|
5454
5480
|
e = 3;
|
|
5455
5481
|
}
|
|
5456
|
-
var n =
|
|
5457
|
-
|
|
5482
|
+
var n = P;
|
|
5483
|
+
P = e;
|
|
5458
5484
|
try {
|
|
5459
5485
|
return t();
|
|
5460
5486
|
} finally {
|
|
5461
|
-
|
|
5487
|
+
P = n;
|
|
5462
5488
|
}
|
|
5463
5489
|
}, e.unstable_scheduleCallback = function (o, i, a) {
|
|
5464
5490
|
var s = e.unstable_now();
|
|
@@ -5485,28 +5511,28 @@ var _o = function _o() {
|
|
|
5485
5511
|
startTime: a,
|
|
5486
5512
|
expirationTime: l = a + l,
|
|
5487
5513
|
sortIndex: -1
|
|
5488
|
-
}, a > s ? (o.sortIndex = a, _(C, o), null === w(S) && o === w(C) && (I ? r() : I = !0, n(L, a - s))) : (o.sortIndex = l, _(S, o), B ||
|
|
5514
|
+
}, a > s ? (o.sortIndex = a, _(C, o), null === w(S) && o === w(C) && (I ? r() : I = !0, n(L, a - s))) : (o.sortIndex = l, _(S, o), B || T || (B = !0, _t3(M))), o;
|
|
5489
5515
|
}, e.unstable_wrapCallback = function (e) {
|
|
5490
|
-
var t =
|
|
5516
|
+
var t = P;
|
|
5491
5517
|
return function () {
|
|
5492
|
-
var n =
|
|
5493
|
-
|
|
5518
|
+
var n = P;
|
|
5519
|
+
P = t;
|
|
5494
5520
|
try {
|
|
5495
5521
|
return e.apply(this, arguments);
|
|
5496
5522
|
} finally {
|
|
5497
|
-
|
|
5523
|
+
P = n;
|
|
5498
5524
|
}
|
|
5499
5525
|
};
|
|
5500
5526
|
};
|
|
5501
5527
|
}(Co), So.exports = Co;
|
|
5502
5528
|
var xo = et.exports,
|
|
5503
5529
|
Oo = it,
|
|
5504
|
-
|
|
5505
|
-
function
|
|
5530
|
+
Po = So.exports;
|
|
5531
|
+
function To(e) {
|
|
5506
5532
|
for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 1; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);
|
|
5507
5533
|
return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
5508
5534
|
}
|
|
5509
|
-
if (!xo) throw Error(
|
|
5535
|
+
if (!xo) throw Error(To(227));
|
|
5510
5536
|
var Bo = new Set(),
|
|
5511
5537
|
Io = {};
|
|
5512
5538
|
function Ro(e, t) {
|
|
@@ -5846,7 +5872,7 @@ function xi(e, t, n) {
|
|
|
5846
5872
|
function Oi(e, t, n) {
|
|
5847
5873
|
"number" === t && wi(e.ownerDocument) === e || (null == n ? e.defaultValue = "" + e._wrapperState.initialValue : e.defaultValue !== "" + n && (e.defaultValue = "" + n));
|
|
5848
5874
|
}
|
|
5849
|
-
function
|
|
5875
|
+
function Pi(e, t) {
|
|
5850
5876
|
return e = Oo({
|
|
5851
5877
|
children: void 0
|
|
5852
5878
|
}, t), (t = function (e) {
|
|
@@ -5856,7 +5882,7 @@ function Ti(e, t) {
|
|
|
5856
5882
|
}), t;
|
|
5857
5883
|
}(t.children)) && (e.children = t), e;
|
|
5858
5884
|
}
|
|
5859
|
-
function
|
|
5885
|
+
function Ti(e, t, n, r) {
|
|
5860
5886
|
if (e = e.options, t) {
|
|
5861
5887
|
t = {};
|
|
5862
5888
|
for (var o = 0; o < n.length; o++) t["$" + n[o]] = !0;
|
|
@@ -5870,7 +5896,7 @@ function Pi(e, t, n, r) {
|
|
|
5870
5896
|
}
|
|
5871
5897
|
}
|
|
5872
5898
|
function Bi(e, t) {
|
|
5873
|
-
if (null != t.dangerouslySetInnerHTML) throw Error(
|
|
5899
|
+
if (null != t.dangerouslySetInnerHTML) throw Error(To(91));
|
|
5874
5900
|
return Oo({}, t, {
|
|
5875
5901
|
value: void 0,
|
|
5876
5902
|
defaultValue: void 0,
|
|
@@ -5881,9 +5907,9 @@ function Ii(e, t) {
|
|
|
5881
5907
|
var n = t.value;
|
|
5882
5908
|
if (null == n) {
|
|
5883
5909
|
if (n = t.children, t = t.defaultValue, null != n) {
|
|
5884
|
-
if (null != t) throw Error(
|
|
5910
|
+
if (null != t) throw Error(To(92));
|
|
5885
5911
|
if (Array.isArray(n)) {
|
|
5886
|
-
if (!(1 >= n.length)) throw Error(
|
|
5912
|
+
if (!(1 >= n.length)) throw Error(To(93));
|
|
5887
5913
|
n = n[0];
|
|
5888
5914
|
}
|
|
5889
5915
|
t = n;
|
|
@@ -6022,12 +6048,12 @@ var Vi = Oo({
|
|
|
6022
6048
|
});
|
|
6023
6049
|
function Wi(e, t) {
|
|
6024
6050
|
if (t) {
|
|
6025
|
-
if (Vi[e] && (null != t.children || null != t.dangerouslySetInnerHTML)) throw Error(
|
|
6051
|
+
if (Vi[e] && (null != t.children || null != t.dangerouslySetInnerHTML)) throw Error(To(137, e));
|
|
6026
6052
|
if (null != t.dangerouslySetInnerHTML) {
|
|
6027
|
-
if (null != t.children) throw Error(
|
|
6028
|
-
if ("object" != _typeof(t.dangerouslySetInnerHTML) || !("__html" in t.dangerouslySetInnerHTML)) throw Error(
|
|
6053
|
+
if (null != t.children) throw Error(To(60));
|
|
6054
|
+
if ("object" != _typeof(t.dangerouslySetInnerHTML) || !("__html" in t.dangerouslySetInnerHTML)) throw Error(To(61));
|
|
6029
6055
|
}
|
|
6030
|
-
if (null != t.style && "object" != _typeof(t.style)) throw Error(
|
|
6056
|
+
if (null != t.style && "object" != _typeof(t.style)) throw Error(To(62));
|
|
6031
6057
|
}
|
|
6032
6058
|
}
|
|
6033
6059
|
function qi(e, t) {
|
|
@@ -6054,7 +6080,7 @@ var Gi = null,
|
|
|
6054
6080
|
Ji = null;
|
|
6055
6081
|
function Zi(e) {
|
|
6056
6082
|
if (e = Ec(e)) {
|
|
6057
|
-
if ("function" != typeof Gi) throw Error(
|
|
6083
|
+
if ("function" != typeof Gi) throw Error(To(280));
|
|
6058
6084
|
var t = e.stateNode;
|
|
6059
6085
|
t && (t = Cc(t), Gi(e.stateNode, e.type, t));
|
|
6060
6086
|
}
|
|
@@ -6106,7 +6132,7 @@ function la(e, t) {
|
|
|
6106
6132
|
e = !1;
|
|
6107
6133
|
}
|
|
6108
6134
|
if (e) return null;
|
|
6109
|
-
if (n && "function" != typeof n) throw Error(
|
|
6135
|
+
if (n && "function" != typeof n) throw Error(To(231, t, _typeof(n)));
|
|
6110
6136
|
return n;
|
|
6111
6137
|
}
|
|
6112
6138
|
var ca = !1;
|
|
@@ -6159,13 +6185,13 @@ function Aa(e) {
|
|
|
6159
6185
|
return null;
|
|
6160
6186
|
}
|
|
6161
6187
|
function ba(e) {
|
|
6162
|
-
if (ya(e) !== e) throw Error(
|
|
6188
|
+
if (ya(e) !== e) throw Error(To(188));
|
|
6163
6189
|
}
|
|
6164
6190
|
function _a(e) {
|
|
6165
6191
|
if (e = function (e) {
|
|
6166
6192
|
var t = e.alternate;
|
|
6167
6193
|
if (!t) {
|
|
6168
|
-
if (null === (t = ya(e))) throw Error(
|
|
6194
|
+
if (null === (t = ya(e))) throw Error(To(188));
|
|
6169
6195
|
return t !== e ? null : e;
|
|
6170
6196
|
}
|
|
6171
6197
|
for (var n = e, r = t;;) {
|
|
@@ -6185,7 +6211,7 @@ function _a(e) {
|
|
|
6185
6211
|
if (i === r) return ba(o), t;
|
|
6186
6212
|
i = i.sibling;
|
|
6187
6213
|
}
|
|
6188
|
-
throw Error(
|
|
6214
|
+
throw Error(To(188));
|
|
6189
6215
|
}
|
|
6190
6216
|
if (n["return"] !== r["return"]) n = o, r = i;else {
|
|
6191
6217
|
for (var a = !1, s = o.child; s;) {
|
|
@@ -6211,12 +6237,12 @@ function _a(e) {
|
|
|
6211
6237
|
}
|
|
6212
6238
|
s = s.sibling;
|
|
6213
6239
|
}
|
|
6214
|
-
if (!a) throw Error(
|
|
6240
|
+
if (!a) throw Error(To(189));
|
|
6215
6241
|
}
|
|
6216
6242
|
}
|
|
6217
|
-
if (n.alternate !== r) throw Error(
|
|
6243
|
+
if (n.alternate !== r) throw Error(To(190));
|
|
6218
6244
|
}
|
|
6219
|
-
if (3 !== n.tag) throw Error(
|
|
6245
|
+
if (3 !== n.tag) throw Error(To(188));
|
|
6220
6246
|
return n.stateNode.current === n ? e : t;
|
|
6221
6247
|
}(e), !e) return null;
|
|
6222
6248
|
for (var t = e;;) {
|
|
@@ -6245,8 +6271,8 @@ var ka,
|
|
|
6245
6271
|
Ca,
|
|
6246
6272
|
xa = !1,
|
|
6247
6273
|
Oa = [],
|
|
6248
|
-
Ta = null,
|
|
6249
6274
|
Pa = null,
|
|
6275
|
+
Ta = null,
|
|
6250
6276
|
Ba = null,
|
|
6251
6277
|
Ia = new Map(),
|
|
6252
6278
|
Ra = new Map(),
|
|
@@ -6265,11 +6291,11 @@ function za(e, t) {
|
|
|
6265
6291
|
switch (e) {
|
|
6266
6292
|
case "focusin":
|
|
6267
6293
|
case "focusout":
|
|
6268
|
-
|
|
6294
|
+
Pa = null;
|
|
6269
6295
|
break;
|
|
6270
6296
|
case "dragenter":
|
|
6271
6297
|
case "dragleave":
|
|
6272
|
-
|
|
6298
|
+
Ta = null;
|
|
6273
6299
|
break;
|
|
6274
6300
|
case "mouseover":
|
|
6275
6301
|
case "mouseout":
|
|
@@ -6293,7 +6319,7 @@ function ja(e) {
|
|
|
6293
6319
|
var n = ya(t);
|
|
6294
6320
|
if (null !== n) if (13 === (t = n.tag)) {
|
|
6295
6321
|
if (null !== (t = Aa(n))) return e.blockedOn = t, void Ca(e.lanePriority, function () {
|
|
6296
|
-
|
|
6322
|
+
Po.unstable_runWithPriority(e.priority, function () {
|
|
6297
6323
|
Sa(n);
|
|
6298
6324
|
});
|
|
6299
6325
|
});
|
|
@@ -6330,10 +6356,10 @@ function Qa() {
|
|
|
6330
6356
|
}
|
|
6331
6357
|
null === e.blockedOn && Oa.shift();
|
|
6332
6358
|
}
|
|
6333
|
-
null !==
|
|
6359
|
+
null !== Pa && Fa(Pa) && (Pa = null), null !== Ta && Fa(Ta) && (Ta = null), null !== Ba && Fa(Ba) && (Ba = null), Ia.forEach(Ua), Ra.forEach(Ua);
|
|
6334
6360
|
}
|
|
6335
6361
|
function $a(e, t) {
|
|
6336
|
-
e.blockedOn === t && (e.blockedOn = null, xa || (xa = !0,
|
|
6362
|
+
e.blockedOn === t && (e.blockedOn = null, xa || (xa = !0, Po.unstable_scheduleCallback(Po.unstable_NormalPriority, Qa)));
|
|
6337
6363
|
}
|
|
6338
6364
|
function Ha(e) {
|
|
6339
6365
|
function t(t) {
|
|
@@ -6346,7 +6372,7 @@ function Ha(e) {
|
|
|
6346
6372
|
r.blockedOn === e && (r.blockedOn = null);
|
|
6347
6373
|
}
|
|
6348
6374
|
}
|
|
6349
|
-
for (null !==
|
|
6375
|
+
for (null !== Pa && $a(Pa, e), null !== Ta && $a(Ta, e), null !== Ba && $a(Ba, e), Ia.forEach(t), Ra.forEach(t), n = 0; n < La.length; n++) (r = La[n]).blockedOn === e && (r.blockedOn = null);
|
|
6350
6376
|
for (; 0 < La.length && null === (n = La[0]).blockedOn;) ja(n), null === n.blockedOn && La.shift();
|
|
6351
6377
|
}
|
|
6352
6378
|
function Va(e, t) {
|
|
@@ -6384,7 +6410,7 @@ function rs(e, t) {
|
|
|
6384
6410
|
o = "on" + (o[0].toUpperCase() + o.slice(1)), ts.set(r, t), es.set(r, o), Ro(o, [r]);
|
|
6385
6411
|
}
|
|
6386
6412
|
}
|
|
6387
|
-
(0,
|
|
6413
|
+
(0, Po.unstable_now)();
|
|
6388
6414
|
var os = 8;
|
|
6389
6415
|
function is(e) {
|
|
6390
6416
|
if (0 != (1 & e)) return os = 15, 1;
|
|
@@ -6431,7 +6457,7 @@ function ls(e, t) {
|
|
|
6431
6457
|
case 2:
|
|
6432
6458
|
return 0 === (t = cs(805306368 & ~t)) && (t = 268435456), t;
|
|
6433
6459
|
}
|
|
6434
|
-
throw Error(
|
|
6460
|
+
throw Error(To(358, e));
|
|
6435
6461
|
}
|
|
6436
6462
|
function cs(e) {
|
|
6437
6463
|
return e & -e;
|
|
@@ -6450,8 +6476,8 @@ var fs = Math.clz32 ? Math.clz32 : function (e) {
|
|
|
6450
6476
|
},
|
|
6451
6477
|
ps = Math.log,
|
|
6452
6478
|
hs = Math.LN2;
|
|
6453
|
-
var ms =
|
|
6454
|
-
gs =
|
|
6479
|
+
var ms = Po.unstable_UserBlockingPriority,
|
|
6480
|
+
gs = Po.unstable_runWithPriority,
|
|
6455
6481
|
vs = !0;
|
|
6456
6482
|
function ys(e, t, n, r) {
|
|
6457
6483
|
ia || ra();
|
|
@@ -6477,9 +6503,9 @@ function bs(e, t, n, r) {
|
|
|
6477
6503
|
if (function (e, t, n, r, o) {
|
|
6478
6504
|
switch (t) {
|
|
6479
6505
|
case "focusin":
|
|
6480
|
-
return Ta = Na(Ta, e, t, n, r, o), !0;
|
|
6481
|
-
case "dragenter":
|
|
6482
6506
|
return Pa = Na(Pa, e, t, n, r, o), !0;
|
|
6507
|
+
case "dragenter":
|
|
6508
|
+
return Ta = Na(Ta, e, t, n, r, o), !0;
|
|
6483
6509
|
case "mouseover":
|
|
6484
6510
|
return Ba = Na(Ba, e, t, n, r, o), !0;
|
|
6485
6511
|
case "pointerover":
|
|
@@ -6539,7 +6565,7 @@ function xs() {
|
|
|
6539
6565
|
function Os() {
|
|
6540
6566
|
return !1;
|
|
6541
6567
|
}
|
|
6542
|
-
function
|
|
6568
|
+
function Ps(e) {
|
|
6543
6569
|
function t(t, n, r, o, i) {
|
|
6544
6570
|
for (var a in this._reactName = t, this._targetInst = r, this.type = n, this.nativeEvent = o, this.target = i, this.currentTarget = null, e) e.hasOwnProperty(a) && (t = e[a], this[a] = t ? t(o) : o[a]);
|
|
6545
6571
|
return this.isDefaultPrevented = (null != o.defaultPrevented ? o.defaultPrevented : !1 === o.returnValue) ? xs : Os, this.isPropagationStopped = Os, this;
|
|
@@ -6558,7 +6584,7 @@ function Ts(e) {
|
|
|
6558
6584
|
isPersistent: xs
|
|
6559
6585
|
}), t;
|
|
6560
6586
|
}
|
|
6561
|
-
var
|
|
6587
|
+
var Ts,
|
|
6562
6588
|
Bs,
|
|
6563
6589
|
Is,
|
|
6564
6590
|
Rs = {
|
|
@@ -6571,12 +6597,12 @@ var Ps,
|
|
|
6571
6597
|
defaultPrevented: 0,
|
|
6572
6598
|
isTrusted: 0
|
|
6573
6599
|
},
|
|
6574
|
-
Ls =
|
|
6600
|
+
Ls = Ps(Rs),
|
|
6575
6601
|
Ms = Oo({}, Rs, {
|
|
6576
6602
|
view: 0,
|
|
6577
6603
|
detail: 0
|
|
6578
6604
|
}),
|
|
6579
|
-
Ds =
|
|
6605
|
+
Ds = Ps(Ms),
|
|
6580
6606
|
zs = Oo({}, Ms, {
|
|
6581
6607
|
screenX: 0,
|
|
6582
6608
|
screenY: 0,
|
|
@@ -6595,20 +6621,20 @@ var Ps,
|
|
|
6595
6621
|
return void 0 === e.relatedTarget ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget;
|
|
6596
6622
|
},
|
|
6597
6623
|
movementX: function movementX(e) {
|
|
6598
|
-
return "movementX" in e ? e.movementX : (e !== Is && (Is && "mousemove" === e.type ? (
|
|
6624
|
+
return "movementX" in e ? e.movementX : (e !== Is && (Is && "mousemove" === e.type ? (Ts = e.screenX - Is.screenX, Bs = e.screenY - Is.screenY) : Bs = Ts = 0, Is = e), Ts);
|
|
6599
6625
|
},
|
|
6600
6626
|
movementY: function movementY(e) {
|
|
6601
6627
|
return "movementY" in e ? e.movementY : Bs;
|
|
6602
6628
|
}
|
|
6603
6629
|
}),
|
|
6604
|
-
Ns =
|
|
6605
|
-
js =
|
|
6630
|
+
Ns = Ps(zs),
|
|
6631
|
+
js = Ps(Oo({}, zs, {
|
|
6606
6632
|
dataTransfer: 0
|
|
6607
6633
|
})),
|
|
6608
|
-
Fs =
|
|
6634
|
+
Fs = Ps(Oo({}, Ms, {
|
|
6609
6635
|
relatedTarget: 0
|
|
6610
6636
|
})),
|
|
6611
|
-
Us =
|
|
6637
|
+
Us = Ps(Oo({}, Rs, {
|
|
6612
6638
|
animationName: 0,
|
|
6613
6639
|
elapsedTime: 0,
|
|
6614
6640
|
pseudoElement: 0
|
|
@@ -6618,8 +6644,8 @@ var Ps,
|
|
|
6618
6644
|
return "clipboardData" in e ? e.clipboardData : window.clipboardData;
|
|
6619
6645
|
}
|
|
6620
6646
|
}),
|
|
6621
|
-
$s =
|
|
6622
|
-
Hs =
|
|
6647
|
+
$s = Ps(Qs),
|
|
6648
|
+
Hs = Ps(Oo({}, Rs, {
|
|
6623
6649
|
data: 0
|
|
6624
6650
|
})),
|
|
6625
6651
|
Vs = {
|
|
@@ -6714,8 +6740,8 @@ var Ys = Oo({}, Ms, {
|
|
|
6714
6740
|
return "keypress" === e.type ? Cs(e) : "keydown" === e.type || "keyup" === e.type ? e.keyCode : 0;
|
|
6715
6741
|
}
|
|
6716
6742
|
}),
|
|
6717
|
-
Js =
|
|
6718
|
-
Zs =
|
|
6743
|
+
Js = Ps(Ys),
|
|
6744
|
+
Zs = Ps(Oo({}, zs, {
|
|
6719
6745
|
pointerId: 0,
|
|
6720
6746
|
width: 0,
|
|
6721
6747
|
height: 0,
|
|
@@ -6727,7 +6753,7 @@ var Ys = Oo({}, Ms, {
|
|
|
6727
6753
|
pointerType: 0,
|
|
6728
6754
|
isPrimary: 0
|
|
6729
6755
|
})),
|
|
6730
|
-
Xs =
|
|
6756
|
+
Xs = Ps(Oo({}, Ms, {
|
|
6731
6757
|
touches: 0,
|
|
6732
6758
|
targetTouches: 0,
|
|
6733
6759
|
changedTouches: 0,
|
|
@@ -6737,7 +6763,7 @@ var Ys = Oo({}, Ms, {
|
|
|
6737
6763
|
shiftKey: 0,
|
|
6738
6764
|
getModifierState: Gs
|
|
6739
6765
|
})),
|
|
6740
|
-
el =
|
|
6766
|
+
el = Ps(Oo({}, Rs, {
|
|
6741
6767
|
propertyName: 0,
|
|
6742
6768
|
elapsedTime: 0,
|
|
6743
6769
|
pseudoElement: 0
|
|
@@ -6752,7 +6778,7 @@ var Ys = Oo({}, Ms, {
|
|
|
6752
6778
|
deltaZ: 0,
|
|
6753
6779
|
deltaMode: 0
|
|
6754
6780
|
}),
|
|
6755
|
-
nl =
|
|
6781
|
+
nl = Ps(tl),
|
|
6756
6782
|
rl = [9, 13, 27, 32],
|
|
6757
6783
|
ol = Mo && "CompositionEvent" in window,
|
|
6758
6784
|
il = null;
|
|
@@ -6852,10 +6878,10 @@ function xl(e, t, n) {
|
|
|
6852
6878
|
function Ol(e) {
|
|
6853
6879
|
if ("selectionchange" === e || "keyup" === e || "keydown" === e) return Al(vl);
|
|
6854
6880
|
}
|
|
6855
|
-
function
|
|
6881
|
+
function Pl(e, t) {
|
|
6856
6882
|
if ("click" === e) return Al(t);
|
|
6857
6883
|
}
|
|
6858
|
-
function
|
|
6884
|
+
function Tl(e, t) {
|
|
6859
6885
|
if ("input" === e || "change" === e) return Al(t);
|
|
6860
6886
|
}
|
|
6861
6887
|
var Bl = "function" == typeof Object.is ? Object.is : function (e, t) {
|
|
@@ -6947,7 +6973,7 @@ function Gl(e, t, n) {
|
|
|
6947
6973
|
var r = e.type || "unknown-event";
|
|
6948
6974
|
e.currentTarget = n, function (e, t, n, r, o, i, a, s, l) {
|
|
6949
6975
|
if (va.apply(this, arguments), fa) {
|
|
6950
|
-
if (!fa) throw Error(
|
|
6976
|
+
if (!fa) throw Error(To(198));
|
|
6951
6977
|
var c = pa;
|
|
6952
6978
|
fa = !1, pa = null, ha || (ha = !0, ma = c);
|
|
6953
6979
|
}
|
|
@@ -7162,11 +7188,11 @@ function nc(e, t, n, r, o) {
|
|
|
7162
7188
|
null !== l && ac(a, s, l, u, !1), null !== c && null !== d && ac(a, d, c, u, !0);
|
|
7163
7189
|
}
|
|
7164
7190
|
if ("select" === (l = (s = r ? Sc(r) : window).nodeName && s.nodeName.toLowerCase()) || "input" === l && "file" === s.type) var g = bl;else if (hl(s)) {
|
|
7165
|
-
if (_l) g =
|
|
7191
|
+
if (_l) g = Tl;else {
|
|
7166
7192
|
g = Ol;
|
|
7167
7193
|
var v = xl;
|
|
7168
7194
|
}
|
|
7169
|
-
} else (l = s.nodeName) && "input" === l.toLowerCase() && ("checkbox" === s.type || "radio" === s.type) && (g =
|
|
7195
|
+
} else (l = s.nodeName) && "input" === l.toLowerCase() && ("checkbox" === s.type || "radio" === s.type) && (g = Pl);
|
|
7170
7196
|
switch (g && (g = g(e, r)) ? ml(a, g, n, o) : (v && v(e, s, r), "focusout" === e && (v = s._wrapperState) && v.controlled && "number" === s.type && Oi(s, "number", s.value)), v = r ? Sc(r) : window, e) {
|
|
7171
7197
|
case "focusin":
|
|
7172
7198
|
(hl(v) || "true" === v.contentEditable) && (Fl = v, Ul = r, Ql = null);
|
|
@@ -7343,7 +7369,7 @@ function Ec(e) {
|
|
|
7343
7369
|
}
|
|
7344
7370
|
function Sc(e) {
|
|
7345
7371
|
if (5 === e.tag || 6 === e.tag) return e.stateNode;
|
|
7346
|
-
throw Error(
|
|
7372
|
+
throw Error(To(33));
|
|
7347
7373
|
}
|
|
7348
7374
|
function Cc(e) {
|
|
7349
7375
|
return e[bc] || null;
|
|
@@ -7353,21 +7379,21 @@ function xc(e) {
|
|
|
7353
7379
|
return void 0 === t && (t = e[wc] = new Set()), t;
|
|
7354
7380
|
}
|
|
7355
7381
|
var Oc = [],
|
|
7356
|
-
|
|
7357
|
-
function
|
|
7382
|
+
Pc = -1;
|
|
7383
|
+
function Tc(e) {
|
|
7358
7384
|
return {
|
|
7359
7385
|
current: e
|
|
7360
7386
|
};
|
|
7361
7387
|
}
|
|
7362
7388
|
function Bc(e) {
|
|
7363
|
-
0 >
|
|
7389
|
+
0 > Pc || (e.current = Oc[Pc], Oc[Pc] = null, Pc--);
|
|
7364
7390
|
}
|
|
7365
7391
|
function Ic(e, t) {
|
|
7366
|
-
|
|
7392
|
+
Pc++, Oc[Pc] = e.current, e.current = t;
|
|
7367
7393
|
}
|
|
7368
7394
|
var Rc = {},
|
|
7369
|
-
Lc =
|
|
7370
|
-
Mc =
|
|
7395
|
+
Lc = Tc(Rc),
|
|
7396
|
+
Mc = Tc(!1),
|
|
7371
7397
|
Dc = Rc;
|
|
7372
7398
|
function zc(e, t) {
|
|
7373
7399
|
var n = e.type.contextTypes;
|
|
@@ -7386,13 +7412,13 @@ function jc() {
|
|
|
7386
7412
|
Bc(Mc), Bc(Lc);
|
|
7387
7413
|
}
|
|
7388
7414
|
function Fc(e, t, n) {
|
|
7389
|
-
if (Lc.current !== Rc) throw Error(
|
|
7415
|
+
if (Lc.current !== Rc) throw Error(To(168));
|
|
7390
7416
|
Ic(Lc, t), Ic(Mc, n);
|
|
7391
7417
|
}
|
|
7392
7418
|
function Uc(e, t, n) {
|
|
7393
7419
|
var r = e.stateNode;
|
|
7394
7420
|
if (e = t.childContextTypes, "function" != typeof r.getChildContext) return n;
|
|
7395
|
-
for (var o in r = r.getChildContext()) if (!(o in e)) throw Error(
|
|
7421
|
+
for (var o in r = r.getChildContext()) if (!(o in e)) throw Error(To(108, vi(t) || "Unknown", o));
|
|
7396
7422
|
return Oo({}, n, r);
|
|
7397
7423
|
}
|
|
7398
7424
|
function Qc(e) {
|
|
@@ -7400,23 +7426,23 @@ function Qc(e) {
|
|
|
7400
7426
|
}
|
|
7401
7427
|
function $c(e, t, n) {
|
|
7402
7428
|
var r = e.stateNode;
|
|
7403
|
-
if (!r) throw Error(
|
|
7429
|
+
if (!r) throw Error(To(169));
|
|
7404
7430
|
n ? (e = Uc(e, t, Dc), r.__reactInternalMemoizedMergedChildContext = e, Bc(Mc), Bc(Lc), Ic(Lc, e)) : Bc(Mc), Ic(Mc, n);
|
|
7405
7431
|
}
|
|
7406
7432
|
var Hc = null,
|
|
7407
7433
|
Vc = null,
|
|
7408
|
-
Wc =
|
|
7409
|
-
qc =
|
|
7410
|
-
Kc =
|
|
7411
|
-
Gc =
|
|
7412
|
-
Yc =
|
|
7413
|
-
Jc =
|
|
7414
|
-
Zc =
|
|
7415
|
-
Xc =
|
|
7416
|
-
eu =
|
|
7417
|
-
tu =
|
|
7418
|
-
nu =
|
|
7419
|
-
ru =
|
|
7434
|
+
Wc = Po.unstable_runWithPriority,
|
|
7435
|
+
qc = Po.unstable_scheduleCallback,
|
|
7436
|
+
Kc = Po.unstable_cancelCallback,
|
|
7437
|
+
Gc = Po.unstable_shouldYield,
|
|
7438
|
+
Yc = Po.unstable_requestPaint,
|
|
7439
|
+
Jc = Po.unstable_now,
|
|
7440
|
+
Zc = Po.unstable_getCurrentPriorityLevel,
|
|
7441
|
+
Xc = Po.unstable_ImmediatePriority,
|
|
7442
|
+
eu = Po.unstable_UserBlockingPriority,
|
|
7443
|
+
tu = Po.unstable_NormalPriority,
|
|
7444
|
+
nu = Po.unstable_LowPriority,
|
|
7445
|
+
ru = Po.unstable_IdlePriority,
|
|
7420
7446
|
ou = {},
|
|
7421
7447
|
iu = void 0 !== Yc ? Yc : function () {},
|
|
7422
7448
|
au = null,
|
|
@@ -7439,7 +7465,7 @@ function du() {
|
|
|
7439
7465
|
case ru:
|
|
7440
7466
|
return 95;
|
|
7441
7467
|
default:
|
|
7442
|
-
throw Error(
|
|
7468
|
+
throw Error(To(332));
|
|
7443
7469
|
}
|
|
7444
7470
|
}
|
|
7445
7471
|
function fu(e) {
|
|
@@ -7455,7 +7481,7 @@ function fu(e) {
|
|
|
7455
7481
|
case 95:
|
|
7456
7482
|
return ru;
|
|
7457
7483
|
default:
|
|
7458
|
-
throw Error(
|
|
7484
|
+
throw Error(To(332));
|
|
7459
7485
|
}
|
|
7460
7486
|
}
|
|
7461
7487
|
function pu(e, t) {
|
|
@@ -7500,7 +7526,7 @@ function yu(e, t) {
|
|
|
7500
7526
|
}
|
|
7501
7527
|
return t;
|
|
7502
7528
|
}
|
|
7503
|
-
var Au =
|
|
7529
|
+
var Au = Tc(null),
|
|
7504
7530
|
bu = null,
|
|
7505
7531
|
_u = null,
|
|
7506
7532
|
wu = null;
|
|
@@ -7530,7 +7556,7 @@ function xu(e, t) {
|
|
|
7530
7556
|
observedBits: t,
|
|
7531
7557
|
next: null
|
|
7532
7558
|
}, null === _u) {
|
|
7533
|
-
if (null === bu) throw Error(
|
|
7559
|
+
if (null === bu) throw Error(To(308));
|
|
7534
7560
|
_u = t, bu.dependencies = {
|
|
7535
7561
|
lanes: 0,
|
|
7536
7562
|
firstContext: t,
|
|
@@ -7540,7 +7566,7 @@ function xu(e, t) {
|
|
|
7540
7566
|
return e._currentValue;
|
|
7541
7567
|
}
|
|
7542
7568
|
var Ou = !1;
|
|
7543
|
-
function
|
|
7569
|
+
function Pu(e) {
|
|
7544
7570
|
e.updateQueue = {
|
|
7545
7571
|
baseState: e.memoizedState,
|
|
7546
7572
|
firstBaseUpdate: null,
|
|
@@ -7551,7 +7577,7 @@ function Tu(e) {
|
|
|
7551
7577
|
effects: null
|
|
7552
7578
|
};
|
|
7553
7579
|
}
|
|
7554
|
-
function
|
|
7580
|
+
function Tu(e, t) {
|
|
7555
7581
|
e = e.updateQueue, t.updateQueue === e && (t.updateQueue = {
|
|
7556
7582
|
baseState: e.baseState,
|
|
7557
7583
|
firstBaseUpdate: e.firstBaseUpdate,
|
|
@@ -7679,7 +7705,7 @@ function Mu(e, t, n) {
|
|
|
7679
7705
|
var r = e[t],
|
|
7680
7706
|
o = r.callback;
|
|
7681
7707
|
if (null !== o) {
|
|
7682
|
-
if (r.callback = null, r = n, "function" != typeof o) throw Error(
|
|
7708
|
+
if (r.callback = null, r = n, "function" != typeof o) throw Error(To(191, o));
|
|
7683
7709
|
o.call(r);
|
|
7684
7710
|
}
|
|
7685
7711
|
}
|
|
@@ -7728,7 +7754,7 @@ function Uu(e, t, n, r) {
|
|
|
7728
7754
|
}
|
|
7729
7755
|
function Qu(e, t, n, r) {
|
|
7730
7756
|
var o = e.stateNode;
|
|
7731
|
-
o.props = n, o.state = e.memoizedState, o.refs = Du,
|
|
7757
|
+
o.props = n, o.state = e.memoizedState, o.refs = Du, Pu(e);
|
|
7732
7758
|
var i = t.contextType;
|
|
7733
7759
|
"object" == _typeof(i) && null !== i ? o.context = xu(i) : (i = Nc(t) ? Dc : Lc.current, o.context = zc(e, i)), Lu(e, n, o, r), o.state = e.memoizedState, "function" == typeof (i = t.getDerivedStateFromProps) && (zu(e, t, i, n), o.state = e.memoizedState), "function" == typeof t.getDerivedStateFromProps || "function" == typeof o.getSnapshotBeforeUpdate || "function" != typeof o.UNSAFE_componentWillMount && "function" != typeof o.componentWillMount || (t = o.state, "function" == typeof o.componentWillMount && o.componentWillMount(), "function" == typeof o.UNSAFE_componentWillMount && o.UNSAFE_componentWillMount(), t !== o.state && Nu.enqueueReplaceState(o, o.state, null), Lu(e, n, o, r), o.state = e.memoizedState), "function" == typeof o.componentDidMount && (e.flags |= 4);
|
|
7734
7760
|
}
|
|
@@ -7737,23 +7763,23 @@ function Hu(e, t, n) {
|
|
|
7737
7763
|
if (null !== (e = n.ref) && "function" != typeof e && "object" != _typeof(e)) {
|
|
7738
7764
|
if (n._owner) {
|
|
7739
7765
|
if (n = n._owner) {
|
|
7740
|
-
if (1 !== n.tag) throw Error(
|
|
7766
|
+
if (1 !== n.tag) throw Error(To(309));
|
|
7741
7767
|
var r = n.stateNode;
|
|
7742
7768
|
}
|
|
7743
|
-
if (!r) throw Error(
|
|
7769
|
+
if (!r) throw Error(To(147, e));
|
|
7744
7770
|
var o = "" + e;
|
|
7745
7771
|
return null !== t && null !== t.ref && "function" == typeof t.ref && t.ref._stringRef === o ? t.ref : (t = function t(e) {
|
|
7746
7772
|
var t = r.refs;
|
|
7747
7773
|
t === Du && (t = r.refs = {}), null === e ? delete t[o] : t[o] = e;
|
|
7748
7774
|
}, t._stringRef = o, t);
|
|
7749
7775
|
}
|
|
7750
|
-
if ("string" != typeof e) throw Error(
|
|
7751
|
-
if (!n._owner) throw Error(
|
|
7776
|
+
if ("string" != typeof e) throw Error(To(284));
|
|
7777
|
+
if (!n._owner) throw Error(To(290, e));
|
|
7752
7778
|
}
|
|
7753
7779
|
return e;
|
|
7754
7780
|
}
|
|
7755
7781
|
function Vu(e, t) {
|
|
7756
|
-
if ("textarea" !== e.type) throw Error(
|
|
7782
|
+
if ("textarea" !== e.type) throw Error(To(31, "[object Object]" === Object.prototype.toString.call(t) ? "object with keys {" + Object.keys(t).join(", ") + "}" : t));
|
|
7757
7783
|
}
|
|
7758
7784
|
function Wu(e) {
|
|
7759
7785
|
function t(t, n) {
|
|
@@ -7857,8 +7883,8 @@ function Wu(e) {
|
|
|
7857
7883
|
}
|
|
7858
7884
|
function m(o, a, s, l) {
|
|
7859
7885
|
var c = fi(s);
|
|
7860
|
-
if ("function" != typeof c) throw Error(
|
|
7861
|
-
if (null == (s = c.call(s))) throw Error(
|
|
7886
|
+
if ("function" != typeof c) throw Error(To(150));
|
|
7887
|
+
if (null == (s = c.call(s))) throw Error(To(151));
|
|
7862
7888
|
for (var u = c = null, h = a, m = a = 0, g = null, v = s.next(); null !== h && !v.done; m++, v = s.next()) {
|
|
7863
7889
|
h.index > m ? (g = h, h = null) : g = h.sibling;
|
|
7864
7890
|
var y = f(o, h, v.value, l);
|
|
@@ -7930,7 +7956,7 @@ function Wu(e) {
|
|
|
7930
7956
|
case 0:
|
|
7931
7957
|
case 11:
|
|
7932
7958
|
case 15:
|
|
7933
|
-
throw Error(
|
|
7959
|
+
throw Error(To(152, vi(e.type) || "Component"));
|
|
7934
7960
|
}
|
|
7935
7961
|
return n(e, r);
|
|
7936
7962
|
};
|
|
@@ -7938,11 +7964,11 @@ function Wu(e) {
|
|
|
7938
7964
|
var qu = Wu(!0),
|
|
7939
7965
|
Ku = Wu(!1),
|
|
7940
7966
|
Gu = {},
|
|
7941
|
-
Yu =
|
|
7942
|
-
Ju =
|
|
7943
|
-
Zu =
|
|
7967
|
+
Yu = Tc(Gu),
|
|
7968
|
+
Ju = Tc(Gu),
|
|
7969
|
+
Zu = Tc(Gu);
|
|
7944
7970
|
function Xu(e) {
|
|
7945
|
-
if (e === Gu) throw Error(
|
|
7971
|
+
if (e === Gu) throw Error(To(174));
|
|
7946
7972
|
return e;
|
|
7947
7973
|
}
|
|
7948
7974
|
function ed(e, t) {
|
|
@@ -7968,7 +7994,7 @@ function nd(e) {
|
|
|
7968
7994
|
function rd(e) {
|
|
7969
7995
|
Ju.current === e && (Bc(Yu), Bc(Ju));
|
|
7970
7996
|
}
|
|
7971
|
-
var od =
|
|
7997
|
+
var od = Tc(0);
|
|
7972
7998
|
function id(e) {
|
|
7973
7999
|
for (var t = e; null !== t;) {
|
|
7974
8000
|
if (13 === t.tag) {
|
|
@@ -8030,7 +8056,7 @@ function pd(e) {
|
|
|
8030
8056
|
var t = e.type;
|
|
8031
8057
|
if (5 !== e.tag || "head" !== t && "body" !== t && !dc(t, e.memoizedProps)) for (t = sd; t;) cd(e, t), t = mc(t.nextSibling);
|
|
8032
8058
|
if (fd(e), 13 === e.tag) {
|
|
8033
|
-
if (!(e = null !== (e = e.memoizedState) ? e.dehydrated : null)) throw Error(
|
|
8059
|
+
if (!(e = null !== (e = e.memoizedState) ? e.dehydrated : null)) throw Error(To(317));
|
|
8034
8060
|
e: {
|
|
8035
8061
|
for (e = e.nextSibling, t = 0; e;) {
|
|
8036
8062
|
if (8 === e.nodeType) {
|
|
@@ -8067,7 +8093,7 @@ var vd = Vo.ReactCurrentDispatcher,
|
|
|
8067
8093
|
kd = !1,
|
|
8068
8094
|
Ed = !1;
|
|
8069
8095
|
function Sd() {
|
|
8070
|
-
throw Error(
|
|
8096
|
+
throw Error(To(321));
|
|
8071
8097
|
}
|
|
8072
8098
|
function Cd(e, t) {
|
|
8073
8099
|
if (null === t) return !1;
|
|
@@ -8078,11 +8104,11 @@ function xd(e, t, n, r, o, i) {
|
|
|
8078
8104
|
if (Ad = i, bd = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, vd.current = null === e || null === e.memoizedState ? Xd : ef, e = n(r, o), Ed) {
|
|
8079
8105
|
i = 0;
|
|
8080
8106
|
do {
|
|
8081
|
-
if (Ed = !1, !(25 > i)) throw Error(
|
|
8107
|
+
if (Ed = !1, !(25 > i)) throw Error(To(301));
|
|
8082
8108
|
i += 1, wd = _d = null, t.updateQueue = null, vd.current = tf, e = n(r, o);
|
|
8083
8109
|
} while (Ed);
|
|
8084
8110
|
}
|
|
8085
|
-
if (vd.current = Zd, t = null !== _d && null !== _d.next, Ad = 0, wd = _d = bd = null, kd = !1, t) throw Error(
|
|
8111
|
+
if (vd.current = Zd, t = null !== _d && null !== _d.next, Ad = 0, wd = _d = bd = null, kd = !1, t) throw Error(To(300));
|
|
8086
8112
|
return e;
|
|
8087
8113
|
}
|
|
8088
8114
|
function Od() {
|
|
@@ -8095,14 +8121,14 @@ function Od() {
|
|
|
8095
8121
|
};
|
|
8096
8122
|
return null === wd ? bd.memoizedState = wd = e : wd = wd.next = e, wd;
|
|
8097
8123
|
}
|
|
8098
|
-
function
|
|
8124
|
+
function Pd() {
|
|
8099
8125
|
if (null === _d) {
|
|
8100
8126
|
var e = bd.alternate;
|
|
8101
8127
|
e = null !== e ? e.memoizedState : null;
|
|
8102
8128
|
} else e = _d.next;
|
|
8103
8129
|
var t = null === wd ? bd.memoizedState : wd.next;
|
|
8104
8130
|
if (null !== t) wd = t, _d = e;else {
|
|
8105
|
-
if (null === e) throw Error(
|
|
8131
|
+
if (null === e) throw Error(To(310));
|
|
8106
8132
|
e = {
|
|
8107
8133
|
memoizedState: (_d = e).memoizedState,
|
|
8108
8134
|
baseState: _d.baseState,
|
|
@@ -8113,13 +8139,13 @@ function Td() {
|
|
|
8113
8139
|
}
|
|
8114
8140
|
return wd;
|
|
8115
8141
|
}
|
|
8116
|
-
function
|
|
8142
|
+
function Td(e, t) {
|
|
8117
8143
|
return "function" == typeof t ? t(e) : t;
|
|
8118
8144
|
}
|
|
8119
8145
|
function Bd(e) {
|
|
8120
|
-
var t =
|
|
8146
|
+
var t = Pd(),
|
|
8121
8147
|
n = t.queue;
|
|
8122
|
-
if (null === n) throw Error(
|
|
8148
|
+
if (null === n) throw Error(To(311));
|
|
8123
8149
|
n.lastRenderedReducer = e;
|
|
8124
8150
|
var r = _d,
|
|
8125
8151
|
o = r.baseQueue,
|
|
@@ -8160,9 +8186,9 @@ function Bd(e) {
|
|
|
8160
8186
|
return [t.memoizedState, n.dispatch];
|
|
8161
8187
|
}
|
|
8162
8188
|
function Id(e) {
|
|
8163
|
-
var t =
|
|
8189
|
+
var t = Pd(),
|
|
8164
8190
|
n = t.queue;
|
|
8165
|
-
if (null === n) throw Error(
|
|
8191
|
+
if (null === n) throw Error(To(311));
|
|
8166
8192
|
n.lastRenderedReducer = e;
|
|
8167
8193
|
var r = n.dispatch,
|
|
8168
8194
|
o = n.pending,
|
|
@@ -8182,11 +8208,11 @@ function Rd(e, t, n) {
|
|
|
8182
8208
|
r = r(t._source);
|
|
8183
8209
|
var o = t._workInProgressVersionPrimary;
|
|
8184
8210
|
if (null !== o ? e = o === r : (e = e.mutableReadLanes, (e = (Ad & e) === e) && (t._workInProgressVersionPrimary = r, md.push(t))), e) return n(t._source);
|
|
8185
|
-
throw md.push(t), Error(
|
|
8211
|
+
throw md.push(t), Error(To(350));
|
|
8186
8212
|
}
|
|
8187
8213
|
function Ld(e, t, n, r) {
|
|
8188
8214
|
var o = tp;
|
|
8189
|
-
if (null === o) throw Error(
|
|
8215
|
+
if (null === o) throw Error(To(349));
|
|
8190
8216
|
var i = t._getVersion,
|
|
8191
8217
|
a = i(t._source),
|
|
8192
8218
|
s = vd.current,
|
|
@@ -8234,19 +8260,19 @@ function Ld(e, t, n, r) {
|
|
|
8234
8260
|
}, [t, r]), Bl(p, n) && Bl(h, t) && Bl(d, r) || ((e = {
|
|
8235
8261
|
pending: null,
|
|
8236
8262
|
dispatch: null,
|
|
8237
|
-
lastRenderedReducer:
|
|
8263
|
+
lastRenderedReducer: Td,
|
|
8238
8264
|
lastRenderedState: u
|
|
8239
8265
|
}).dispatch = c = Jd.bind(null, bd, e), l.queue = e, l.baseQueue = null, u = Rd(o, t, n), l.memoizedState = l.baseState = u), u;
|
|
8240
8266
|
}
|
|
8241
8267
|
function Md(e, t, n) {
|
|
8242
|
-
return Ld(
|
|
8268
|
+
return Ld(Pd(), e, t, n);
|
|
8243
8269
|
}
|
|
8244
8270
|
function Dd(e) {
|
|
8245
8271
|
var t = Od();
|
|
8246
8272
|
return "function" == typeof e && (e = e()), t.memoizedState = t.baseState = e, e = (e = t.queue = {
|
|
8247
8273
|
pending: null,
|
|
8248
8274
|
dispatch: null,
|
|
8249
|
-
lastRenderedReducer:
|
|
8275
|
+
lastRenderedReducer: Td,
|
|
8250
8276
|
lastRenderedState: e
|
|
8251
8277
|
}).dispatch = Jd.bind(null, bd, e), [t.memoizedState, e];
|
|
8252
8278
|
}
|
|
@@ -8267,14 +8293,14 @@ function Nd(e) {
|
|
|
8267
8293
|
}, Od().memoizedState = e;
|
|
8268
8294
|
}
|
|
8269
8295
|
function jd() {
|
|
8270
|
-
return
|
|
8296
|
+
return Pd().memoizedState;
|
|
8271
8297
|
}
|
|
8272
8298
|
function Fd(e, t, n, r) {
|
|
8273
8299
|
var o = Od();
|
|
8274
8300
|
bd.flags |= e, o.memoizedState = zd(1 | t, n, void 0, void 0 === r ? null : r);
|
|
8275
8301
|
}
|
|
8276
8302
|
function Ud(e, t, n, r) {
|
|
8277
|
-
var o =
|
|
8303
|
+
var o = Pd();
|
|
8278
8304
|
r = void 0 === r ? null : r;
|
|
8279
8305
|
var i = void 0;
|
|
8280
8306
|
if (null !== _d) {
|
|
@@ -8304,13 +8330,13 @@ function Wd(e, t, n) {
|
|
|
8304
8330
|
}
|
|
8305
8331
|
function qd() {}
|
|
8306
8332
|
function Kd(e, t) {
|
|
8307
|
-
var n =
|
|
8333
|
+
var n = Pd();
|
|
8308
8334
|
t = void 0 === t ? null : t;
|
|
8309
8335
|
var r = n.memoizedState;
|
|
8310
8336
|
return null !== r && null !== t && Cd(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e);
|
|
8311
8337
|
}
|
|
8312
8338
|
function Gd(e, t) {
|
|
8313
|
-
var n =
|
|
8339
|
+
var n = Pd();
|
|
8314
8340
|
t = void 0 === t ? null : t;
|
|
8315
8341
|
var r = n.memoizedState;
|
|
8316
8342
|
return null !== r && null !== t && Cd(t, r[1]) ? r[0] : (e = e(), n.memoizedState = [e, t], e);
|
|
@@ -8436,7 +8462,7 @@ var Zd = {
|
|
|
8436
8462
|
valueOf: e
|
|
8437
8463
|
};
|
|
8438
8464
|
}(function () {
|
|
8439
|
-
throw e || (e = !0, n("r:" + (vc++).toString(36))), Error(
|
|
8465
|
+
throw e || (e = !0, n("r:" + (vc++).toString(36))), Error(To(355));
|
|
8440
8466
|
}),
|
|
8441
8467
|
n = Dd(t)[1];
|
|
8442
8468
|
return 0 == (2 & bd.mode) && (bd.flags |= 516, zd(5, function () {
|
|
@@ -8458,11 +8484,11 @@ var Zd = {
|
|
|
8458
8484
|
useReducer: Bd,
|
|
8459
8485
|
useRef: jd,
|
|
8460
8486
|
useState: function useState() {
|
|
8461
|
-
return Bd(
|
|
8487
|
+
return Bd(Td);
|
|
8462
8488
|
},
|
|
8463
8489
|
useDebugValue: qd,
|
|
8464
8490
|
useDeferredValue: function useDeferredValue(e) {
|
|
8465
|
-
var t = Bd(
|
|
8491
|
+
var t = Bd(Td),
|
|
8466
8492
|
n = t[0],
|
|
8467
8493
|
r = t[1];
|
|
8468
8494
|
return $d(function () {
|
|
@@ -8476,12 +8502,12 @@ var Zd = {
|
|
|
8476
8502
|
}, [e]), n;
|
|
8477
8503
|
},
|
|
8478
8504
|
useTransition: function useTransition() {
|
|
8479
|
-
var e = Bd(
|
|
8505
|
+
var e = Bd(Td)[0];
|
|
8480
8506
|
return [jd().current, e];
|
|
8481
8507
|
},
|
|
8482
8508
|
useMutableSource: Md,
|
|
8483
8509
|
useOpaqueIdentifier: function useOpaqueIdentifier() {
|
|
8484
|
-
return Bd(
|
|
8510
|
+
return Bd(Td)[0];
|
|
8485
8511
|
},
|
|
8486
8512
|
unstable_isNewReconciler: !1
|
|
8487
8513
|
},
|
|
@@ -8496,11 +8522,11 @@ var Zd = {
|
|
|
8496
8522
|
useReducer: Id,
|
|
8497
8523
|
useRef: jd,
|
|
8498
8524
|
useState: function useState() {
|
|
8499
|
-
return Id(
|
|
8525
|
+
return Id(Td);
|
|
8500
8526
|
},
|
|
8501
8527
|
useDebugValue: qd,
|
|
8502
8528
|
useDeferredValue: function useDeferredValue(e) {
|
|
8503
|
-
var t = Id(
|
|
8529
|
+
var t = Id(Td),
|
|
8504
8530
|
n = t[0],
|
|
8505
8531
|
r = t[1];
|
|
8506
8532
|
return $d(function () {
|
|
@@ -8514,12 +8540,12 @@ var Zd = {
|
|
|
8514
8540
|
}, [e]), n;
|
|
8515
8541
|
},
|
|
8516
8542
|
useTransition: function useTransition() {
|
|
8517
|
-
var e = Id(
|
|
8543
|
+
var e = Id(Td)[0];
|
|
8518
8544
|
return [jd().current, e];
|
|
8519
8545
|
},
|
|
8520
8546
|
useMutableSource: Md,
|
|
8521
8547
|
useOpaqueIdentifier: function useOpaqueIdentifier() {
|
|
8522
|
-
return Id(
|
|
8548
|
+
return Id(Td)[0];
|
|
8523
8549
|
},
|
|
8524
8550
|
unstable_isNewReconciler: !1
|
|
8525
8551
|
},
|
|
@@ -8591,7 +8617,7 @@ function ff(e, t, n, r, o) {
|
|
|
8591
8617
|
var f = t.memoizedState;
|
|
8592
8618
|
a.state = f, Lu(t, r, a, o), l = t.memoizedState, s !== r || f !== l || Mc.current || Ou ? ("function" == typeof u && (zu(t, n, u, r), l = t.memoizedState), (s = Ou || ju(t, n, s, r, f, l, c)) ? (d || "function" != typeof a.UNSAFE_componentWillMount && "function" != typeof a.componentWillMount || ("function" == typeof a.componentWillMount && a.componentWillMount(), "function" == typeof a.UNSAFE_componentWillMount && a.UNSAFE_componentWillMount()), "function" == typeof a.componentDidMount && (t.flags |= 4)) : ("function" == typeof a.componentDidMount && (t.flags |= 4), t.memoizedProps = r, t.memoizedState = l), a.props = r, a.state = l, a.context = c, r = s) : ("function" == typeof a.componentDidMount && (t.flags |= 4), r = !1);
|
|
8593
8619
|
} else {
|
|
8594
|
-
a = t.stateNode,
|
|
8620
|
+
a = t.stateNode, Tu(e, t), s = t.memoizedProps, c = t.type === t.elementType ? s : yu(t.type, s), a.props = c, d = t.pendingProps, f = a.context, "object" == _typeof(l = n.contextType) && null !== l ? l = xu(l) : l = zc(t, l = Nc(n) ? Dc : Lc.current);
|
|
8595
8621
|
var p = n.getDerivedStateFromProps;
|
|
8596
8622
|
(u = "function" == typeof p || "function" == typeof a.getSnapshotBeforeUpdate) || "function" != typeof a.UNSAFE_componentWillReceiveProps && "function" != typeof a.componentWillReceiveProps || (s !== d || f !== l) && Uu(t, a, r, l), Ou = !1, f = t.memoizedState, a.state = f, Lu(t, r, a, o);
|
|
8597
8623
|
var h = t.memoizedState;
|
|
@@ -8723,7 +8749,7 @@ function Cf(e, t, n) {
|
|
|
8723
8749
|
}
|
|
8724
8750
|
function xf(e, t, n) {
|
|
8725
8751
|
if (null !== e && (t.dependencies = e.dependencies), cp |= t.lanes, 0 != (n & t.childLanes)) {
|
|
8726
|
-
if (null !== e && t.child !== e.child) throw Error(
|
|
8752
|
+
if (null !== e && t.child !== e.child) throw Error(To(153));
|
|
8727
8753
|
if (null !== t.child) {
|
|
8728
8754
|
for (n = hh(e = t.child, e.pendingProps), t.child = n, n["return"] = t; null !== e.sibling;) e = e.sibling, (n = n.sibling = hh(e, e.pendingProps))["return"] = t;
|
|
8729
8755
|
n.sibling = null;
|
|
@@ -8745,7 +8771,7 @@ function Of(e, t) {
|
|
|
8745
8771
|
null === r ? t || null === e.tail ? e.tail = null : e.tail.sibling = null : r.sibling = null;
|
|
8746
8772
|
}
|
|
8747
8773
|
}
|
|
8748
|
-
function
|
|
8774
|
+
function Pf(e, t, n) {
|
|
8749
8775
|
var r = t.pendingProps;
|
|
8750
8776
|
switch (t.tag) {
|
|
8751
8777
|
case 2:
|
|
@@ -8769,7 +8795,7 @@ function Tf(e, t, n) {
|
|
|
8769
8795
|
var o = Xu(Zu.current);
|
|
8770
8796
|
if (n = t.type, null !== e && null != t.stateNode) vf(e, t, n, r, o), e.ref !== t.ref && (t.flags |= 128);else {
|
|
8771
8797
|
if (!r) {
|
|
8772
|
-
if (null === t.stateNode) throw Error(
|
|
8798
|
+
if (null === t.stateNode) throw Error(To(166));
|
|
8773
8799
|
return null;
|
|
8774
8800
|
}
|
|
8775
8801
|
if (e = Xu(Yu.current), pd(t)) {
|
|
@@ -8857,7 +8883,7 @@ function Tf(e, t, n) {
|
|
|
8857
8883
|
Ei(e, r), o = ki(e, r), Jl("invalid", e);
|
|
8858
8884
|
break;
|
|
8859
8885
|
case "option":
|
|
8860
|
-
o =
|
|
8886
|
+
o = Pi(e, r);
|
|
8861
8887
|
break;
|
|
8862
8888
|
case "select":
|
|
8863
8889
|
e._wrapperState = {
|
|
@@ -8889,7 +8915,7 @@ function Tf(e, t, n) {
|
|
|
8889
8915
|
null != r.value && e.setAttribute("value", "" + yi(r.value));
|
|
8890
8916
|
break;
|
|
8891
8917
|
case "select":
|
|
8892
|
-
e.multiple = !!r.multiple, null != (i = r.value) ?
|
|
8918
|
+
e.multiple = !!r.multiple, null != (i = r.value) ? Ti(e, !!r.multiple, i, !1) : null != r.defaultValue && Ti(e, !!r.multiple, r.defaultValue, !0);
|
|
8893
8919
|
break;
|
|
8894
8920
|
default:
|
|
8895
8921
|
"function" == typeof o.onClick && (e.onclick = sc);
|
|
@@ -8901,7 +8927,7 @@ function Tf(e, t, n) {
|
|
|
8901
8927
|
return null;
|
|
8902
8928
|
case 6:
|
|
8903
8929
|
if (e && null != t.stateNode) yf(e, t, e.memoizedProps, r);else {
|
|
8904
|
-
if ("string" != typeof r && null === t.stateNode) throw Error(
|
|
8930
|
+
if ("string" != typeof r && null === t.stateNode) throw Error(To(166));
|
|
8905
8931
|
n = Xu(Zu.current), Xu(Yu.current), pd(t) ? (r = t.stateNode, n = t.memoizedProps, r[Ac] = t, r.nodeValue !== n && (t.flags |= 4)) : ((r = (9 === n.nodeType ? n : n.ownerDocument).createTextNode(r))[Ac] = t, t.stateNode = r);
|
|
8906
8932
|
}
|
|
8907
8933
|
return null;
|
|
@@ -8938,16 +8964,16 @@ function Tf(e, t, n) {
|
|
|
8938
8964
|
case 24:
|
|
8939
8965
|
return Vp(), null !== e && null !== e.memoizedState != (null !== t.memoizedState) && "unstable-defer-without-hiding" !== r.mode && (t.flags |= 4), null;
|
|
8940
8966
|
}
|
|
8941
|
-
throw Error(
|
|
8967
|
+
throw Error(To(156, t.tag));
|
|
8942
8968
|
}
|
|
8943
|
-
function
|
|
8969
|
+
function Tf(e) {
|
|
8944
8970
|
switch (e.tag) {
|
|
8945
8971
|
case 1:
|
|
8946
8972
|
Nc(e.type) && jc();
|
|
8947
8973
|
var t = e.flags;
|
|
8948
8974
|
return 4096 & t ? (e.flags = -4097 & t | 64, e) : null;
|
|
8949
8975
|
case 3:
|
|
8950
|
-
if (td(), Bc(Mc), Bc(Lc), gd(), 0 != (64 & (t = e.flags))) throw Error(
|
|
8976
|
+
if (td(), Bc(Mc), Bc(Lc), gd(), 0 != (64 & (t = e.flags))) throw Error(To(285));
|
|
8951
8977
|
return e.flags = -4097 & t | 64, e;
|
|
8952
8978
|
case 5:
|
|
8953
8979
|
return rd(e), null;
|
|
@@ -9016,7 +9042,7 @@ mf = function mf(e, t) {
|
|
|
9016
9042
|
o = ki(e, o), r = ki(e, r), a = [];
|
|
9017
9043
|
break;
|
|
9018
9044
|
case "option":
|
|
9019
|
-
o =
|
|
9045
|
+
o = Pi(e, o), r = Pi(e, r), a = [];
|
|
9020
9046
|
break;
|
|
9021
9047
|
case "select":
|
|
9022
9048
|
o = Oo({}, o, {
|
|
@@ -9109,7 +9135,7 @@ function Nf(e, t) {
|
|
|
9109
9135
|
case 3:
|
|
9110
9136
|
return void (256 & t.flags && hc(t.stateNode.containerInfo));
|
|
9111
9137
|
}
|
|
9112
|
-
throw Error(
|
|
9138
|
+
throw Error(To(163));
|
|
9113
9139
|
}
|
|
9114
9140
|
function jf(e, t, n) {
|
|
9115
9141
|
switch (n.tag) {
|
|
@@ -9162,7 +9188,7 @@ function jf(e, t, n) {
|
|
|
9162
9188
|
case 13:
|
|
9163
9189
|
return void (null === n.memoizedState && (n = n.alternate, null !== n && (n = n.memoizedState, null !== n && (n = n.dehydrated, null !== n && Ha(n)))));
|
|
9164
9190
|
}
|
|
9165
|
-
throw Error(
|
|
9191
|
+
throw Error(To(163));
|
|
9166
9192
|
}
|
|
9167
9193
|
function Ff(e, t) {
|
|
9168
9194
|
for (var n = e;;) {
|
|
@@ -9238,7 +9264,7 @@ function Hf(e) {
|
|
|
9238
9264
|
if ($f(t)) break e;
|
|
9239
9265
|
t = t["return"];
|
|
9240
9266
|
}
|
|
9241
|
-
throw Error(
|
|
9267
|
+
throw Error(To(160));
|
|
9242
9268
|
}
|
|
9243
9269
|
var n = t;
|
|
9244
9270
|
switch (t = n.stateNode, n.tag) {
|
|
@@ -9250,7 +9276,7 @@ function Hf(e) {
|
|
|
9250
9276
|
t = t.containerInfo, r = !0;
|
|
9251
9277
|
break;
|
|
9252
9278
|
default:
|
|
9253
|
-
throw Error(
|
|
9279
|
+
throw Error(To(161));
|
|
9254
9280
|
}
|
|
9255
9281
|
16 & n.flags && (Fi(t, ""), n.flags &= -17);
|
|
9256
9282
|
e: t: for (n = e;;) {
|
|
@@ -9288,7 +9314,7 @@ function qf(e, t) {
|
|
|
9288
9314
|
if (!i) {
|
|
9289
9315
|
i = o["return"];
|
|
9290
9316
|
e: for (;;) {
|
|
9291
|
-
if (null === i) throw Error(
|
|
9317
|
+
if (null === i) throw Error(To(160));
|
|
9292
9318
|
switch (n = i.stateNode, i.tag) {
|
|
9293
9319
|
case 5:
|
|
9294
9320
|
r = !1;
|
|
@@ -9368,13 +9394,13 @@ function Kf(e, t) {
|
|
|
9368
9394
|
Ri(n, r);
|
|
9369
9395
|
break;
|
|
9370
9396
|
case "select":
|
|
9371
|
-
e = n._wrapperState.wasMultiple, n._wrapperState.wasMultiple = !!r.multiple, null != (i = r.value) ?
|
|
9397
|
+
e = n._wrapperState.wasMultiple, n._wrapperState.wasMultiple = !!r.multiple, null != (i = r.value) ? Ti(n, !!r.multiple, i, !1) : e !== !!r.multiple && (null != r.defaultValue ? Ti(n, !!r.multiple, r.defaultValue, !0) : Ti(n, !!r.multiple, r.multiple ? [] : "", !1));
|
|
9372
9398
|
}
|
|
9373
9399
|
}
|
|
9374
9400
|
}
|
|
9375
9401
|
return;
|
|
9376
9402
|
case 6:
|
|
9377
|
-
if (null === t.stateNode) throw Error(
|
|
9403
|
+
if (null === t.stateNode) throw Error(To(162));
|
|
9378
9404
|
return void (t.stateNode.nodeValue = t.memoizedProps);
|
|
9379
9405
|
case 3:
|
|
9380
9406
|
return void ((n = t.stateNode).hydrate && (n.hydrate = !1, Ha(n.containerInfo)));
|
|
@@ -9386,7 +9412,7 @@ function Kf(e, t) {
|
|
|
9386
9412
|
case 24:
|
|
9387
9413
|
return void Ff(t, null !== t.memoizedState);
|
|
9388
9414
|
}
|
|
9389
|
-
throw Error(
|
|
9415
|
+
throw Error(To(163));
|
|
9390
9416
|
}
|
|
9391
9417
|
function Gf(e) {
|
|
9392
9418
|
var t = e.updateQueue;
|
|
@@ -9410,7 +9436,7 @@ var Jf = Math.ceil,
|
|
|
9410
9436
|
np = null,
|
|
9411
9437
|
rp = 0,
|
|
9412
9438
|
op = 0,
|
|
9413
|
-
ip =
|
|
9439
|
+
ip = Tc(0),
|
|
9414
9440
|
ap = 0,
|
|
9415
9441
|
sp = null,
|
|
9416
9442
|
lp = 0,
|
|
@@ -9436,23 +9462,23 @@ var gp,
|
|
|
9436
9462
|
Cp = null,
|
|
9437
9463
|
xp = 0,
|
|
9438
9464
|
Op = null,
|
|
9439
|
-
|
|
9440
|
-
|
|
9465
|
+
Pp = -1,
|
|
9466
|
+
Tp = 0,
|
|
9441
9467
|
Bp = 0,
|
|
9442
9468
|
Ip = null,
|
|
9443
9469
|
Rp = !1;
|
|
9444
9470
|
function Lp() {
|
|
9445
|
-
return 0 != (48 & ep) ? uu() : -1 !==
|
|
9471
|
+
return 0 != (48 & ep) ? uu() : -1 !== Pp ? Pp : Pp = uu();
|
|
9446
9472
|
}
|
|
9447
9473
|
function Mp(e) {
|
|
9448
9474
|
if (0 == (2 & (e = e.mode))) return 1;
|
|
9449
9475
|
if (0 == (4 & e)) return 99 === du() ? 1 : 2;
|
|
9450
|
-
if (0 ===
|
|
9451
|
-
0 !== Bp && (Bp = null !== fp ? fp.pendingLanes : 0), e =
|
|
9476
|
+
if (0 === Tp && (Tp = lp), 0 !== vu.transition) {
|
|
9477
|
+
0 !== Bp && (Bp = null !== fp ? fp.pendingLanes : 0), e = Tp;
|
|
9452
9478
|
var t = 4186112 & ~Bp;
|
|
9453
9479
|
return 0 === (t &= -t) && 0 === (t = (e = 4186112 & ~e) & -e) && (t = 8192), t;
|
|
9454
9480
|
}
|
|
9455
|
-
return e = du(), 0 != (4 & ep) && 98 === e ? e = ls(12,
|
|
9481
|
+
return e = du(), 0 != (4 & ep) && 98 === e ? e = ls(12, Tp) : e = ls(e = function (e) {
|
|
9456
9482
|
switch (e) {
|
|
9457
9483
|
case 99:
|
|
9458
9484
|
return 15;
|
|
@@ -9466,10 +9492,10 @@ function Mp(e) {
|
|
|
9466
9492
|
default:
|
|
9467
9493
|
return 0;
|
|
9468
9494
|
}
|
|
9469
|
-
}(e),
|
|
9495
|
+
}(e), Tp), e;
|
|
9470
9496
|
}
|
|
9471
9497
|
function Dp(e, t, n) {
|
|
9472
|
-
if (50 < xp) throw xp = 0, Op = null, Error(
|
|
9498
|
+
if (50 < xp) throw xp = 0, Op = null, Error(To(185));
|
|
9473
9499
|
if (null === (e = zp(e, t))) return null;
|
|
9474
9500
|
ds(e, t, n), e === tp && (up |= t, 4 === ap && Fp(e, rp));
|
|
9475
9501
|
var r = du();
|
|
@@ -9524,13 +9550,13 @@ function Np(e, t) {
|
|
|
9524
9550
|
case 0:
|
|
9525
9551
|
return 90;
|
|
9526
9552
|
default:
|
|
9527
|
-
throw Error(
|
|
9553
|
+
throw Error(To(358, e));
|
|
9528
9554
|
}
|
|
9529
9555
|
}(t), n = hu(n, jp.bind(null, e))), e.callbackPriority = t, e.callbackNode = n;
|
|
9530
9556
|
}
|
|
9531
9557
|
}
|
|
9532
9558
|
function jp(e) {
|
|
9533
|
-
if (
|
|
9559
|
+
if (Pp = -1, Bp = Tp = 0, 0 != (48 & ep)) throw Error(To(327));
|
|
9534
9560
|
var t = e.callbackNode;
|
|
9535
9561
|
if (rh() && e.callbackNode !== t) return null;
|
|
9536
9562
|
var n = as(e, e === tp ? rp : 0);
|
|
@@ -9550,7 +9576,7 @@ function jp(e) {
|
|
|
9550
9576
|
switch (e.finishedWork = e.current.alternate, e.finishedLanes = n, r) {
|
|
9551
9577
|
case 0:
|
|
9552
9578
|
case 1:
|
|
9553
|
-
throw Error(
|
|
9579
|
+
throw Error(To(345));
|
|
9554
9580
|
case 2:
|
|
9555
9581
|
case 5:
|
|
9556
9582
|
eh(e);
|
|
@@ -9580,7 +9606,7 @@ function jp(e) {
|
|
|
9580
9606
|
eh(e);
|
|
9581
9607
|
break;
|
|
9582
9608
|
default:
|
|
9583
|
-
throw Error(
|
|
9609
|
+
throw Error(To(329));
|
|
9584
9610
|
}
|
|
9585
9611
|
}
|
|
9586
9612
|
return Np(e, uu()), e.callbackNode === t ? jp.bind(null, e) : null;
|
|
@@ -9593,7 +9619,7 @@ function Fp(e, t) {
|
|
|
9593
9619
|
}
|
|
9594
9620
|
}
|
|
9595
9621
|
function Up(e) {
|
|
9596
|
-
if (0 != (48 & ep)) throw Error(
|
|
9622
|
+
if (0 != (48 & ep)) throw Error(To(327));
|
|
9597
9623
|
if (rh(), e === tp && 0 != (e.expiredLanes & rp)) {
|
|
9598
9624
|
var t = rp,
|
|
9599
9625
|
n = Gp(e, t);
|
|
@@ -9764,7 +9790,7 @@ function Gp(e, t) {
|
|
|
9764
9790
|
} catch (t) {
|
|
9765
9791
|
qp(e, t);
|
|
9766
9792
|
}
|
|
9767
|
-
if (ku(), ep = n, Zf.current = r, null !== np) throw Error(
|
|
9793
|
+
if (ku(), ep = n, Zf.current = r, null !== np) throw Error(To(261));
|
|
9768
9794
|
return tp = null, rp = 0, ap;
|
|
9769
9795
|
}
|
|
9770
9796
|
function Yp() {
|
|
@@ -9782,14 +9808,14 @@ function Xp(e) {
|
|
|
9782
9808
|
do {
|
|
9783
9809
|
var n = t.alternate;
|
|
9784
9810
|
if (e = t["return"], 0 == (2048 & t.flags)) {
|
|
9785
|
-
if (null !== (n =
|
|
9811
|
+
if (null !== (n = Pf(n, t, op))) return void (np = n);
|
|
9786
9812
|
if (24 !== (n = t).tag && 23 !== n.tag || null === n.memoizedState || 0 != (1073741824 & op) || 0 == (4 & n.mode)) {
|
|
9787
9813
|
for (var r = 0, o = n.child; null !== o;) r |= o.lanes | o.childLanes, o = o.sibling;
|
|
9788
9814
|
n.childLanes = r;
|
|
9789
9815
|
}
|
|
9790
9816
|
null !== e && 0 == (2048 & e.flags) && (null === e.firstEffect && (e.firstEffect = t.firstEffect), null !== t.lastEffect && (null !== e.lastEffect && (e.lastEffect.nextEffect = t.firstEffect), e.lastEffect = t.lastEffect), 1 < t.flags && (null !== e.lastEffect ? e.lastEffect.nextEffect = t : e.firstEffect = t, e.lastEffect = t));
|
|
9791
9817
|
} else {
|
|
9792
|
-
if (null !== (n =
|
|
9818
|
+
if (null !== (n = Tf(t))) return n.flags &= 2047, void (np = n);
|
|
9793
9819
|
null !== e && (e.firstEffect = e.lastEffect = null, e.flags |= 2048);
|
|
9794
9820
|
}
|
|
9795
9821
|
if (null !== (t = t.sibling)) return void (np = t);
|
|
@@ -9805,10 +9831,10 @@ function th(e, t) {
|
|
|
9805
9831
|
do {
|
|
9806
9832
|
rh();
|
|
9807
9833
|
} while (null !== wp);
|
|
9808
|
-
if (0 != (48 & ep)) throw Error(
|
|
9834
|
+
if (0 != (48 & ep)) throw Error(To(327));
|
|
9809
9835
|
var n = e.finishedWork;
|
|
9810
9836
|
if (null === n) return null;
|
|
9811
|
-
if (e.finishedWork = null, e.finishedLanes = 0, n === e.current) throw Error(
|
|
9837
|
+
if (e.finishedWork = null, e.finishedLanes = 0, n === e.current) throw Error(To(177));
|
|
9812
9838
|
e.callbackNode = null;
|
|
9813
9839
|
var r = n.lanes | n.childLanes,
|
|
9814
9840
|
o = r,
|
|
@@ -9866,7 +9892,7 @@ function th(e, t) {
|
|
|
9866
9892
|
try {
|
|
9867
9893
|
nh();
|
|
9868
9894
|
} catch (e) {
|
|
9869
|
-
if (null === vp) throw Error(
|
|
9895
|
+
if (null === vp) throw Error(To(330));
|
|
9870
9896
|
lh(vp, e), vp = vp.nextEffect;
|
|
9871
9897
|
}
|
|
9872
9898
|
} while (null !== vp);
|
|
@@ -9906,7 +9932,7 @@ function th(e, t) {
|
|
|
9906
9932
|
vp = vp.nextEffect;
|
|
9907
9933
|
}
|
|
9908
9934
|
} catch (e) {
|
|
9909
|
-
if (null === vp) throw Error(
|
|
9935
|
+
if (null === vp) throw Error(To(330));
|
|
9910
9936
|
lh(vp, e), vp = vp.nextEffect;
|
|
9911
9937
|
}
|
|
9912
9938
|
} while (null !== vp);
|
|
@@ -9935,7 +9961,7 @@ function th(e, t) {
|
|
|
9935
9961
|
vp = vp.nextEffect;
|
|
9936
9962
|
}
|
|
9937
9963
|
} catch (e) {
|
|
9938
|
-
if (null === vp) throw Error(
|
|
9964
|
+
if (null === vp) throw Error(To(330));
|
|
9939
9965
|
lh(vp, e), vp = vp.nextEffect;
|
|
9940
9966
|
}
|
|
9941
9967
|
} while (null !== vp);
|
|
@@ -9978,7 +10004,7 @@ function ih(e, t) {
|
|
|
9978
10004
|
function ah() {
|
|
9979
10005
|
if (null === wp) return !1;
|
|
9980
10006
|
var e = wp;
|
|
9981
|
-
if (wp = null, 0 != (48 & ep)) throw Error(
|
|
10007
|
+
if (wp = null, 0 != (48 & ep)) throw Error(To(331));
|
|
9982
10008
|
var t = ep;
|
|
9983
10009
|
ep |= 32;
|
|
9984
10010
|
var n = Sp;
|
|
@@ -9990,7 +10016,7 @@ function ah() {
|
|
|
9990
10016
|
if (o.destroy = void 0, "function" == typeof a) try {
|
|
9991
10017
|
a();
|
|
9992
10018
|
} catch (e) {
|
|
9993
|
-
if (null === i) throw Error(
|
|
10019
|
+
if (null === i) throw Error(To(330));
|
|
9994
10020
|
lh(i, e);
|
|
9995
10021
|
}
|
|
9996
10022
|
}
|
|
@@ -10000,7 +10026,7 @@ function ah() {
|
|
|
10000
10026
|
var s = o.create;
|
|
10001
10027
|
o.destroy = s();
|
|
10002
10028
|
} catch (e) {
|
|
10003
|
-
if (null === i) throw Error(
|
|
10029
|
+
if (null === i) throw Error(To(330));
|
|
10004
10030
|
lh(i, e);
|
|
10005
10031
|
}
|
|
10006
10032
|
}
|
|
@@ -10035,7 +10061,7 @@ function ch(e, t, n) {
|
|
|
10035
10061
|
}
|
|
10036
10062
|
function uh(e, t) {
|
|
10037
10063
|
var n = e.stateNode;
|
|
10038
|
-
null !== n && n["delete"](t), 0 === (t = 0) && (0 == (2 & (t = e.mode)) ? t = 1 : 0 == (4 & t) ? t = 99 === du() ? 1 : 2 : (0 ===
|
|
10064
|
+
null !== n && n["delete"](t), 0 === (t = 0) && (0 == (2 & (t = e.mode)) ? t = 1 : 0 == (4 & t) ? t = 99 === du() ? 1 : 2 : (0 === Tp && (Tp = lp), 0 === (t = cs(62914560 & ~Tp)) && (t = 4194304))), n = Lp(), null !== (e = zp(e, t)) && (ds(e, t, n), Np(e, n));
|
|
10039
10065
|
}
|
|
10040
10066
|
function dh(e, t, n, r) {
|
|
10041
10067
|
this.tag = e, this.key = n, this.sibling = this.child = this["return"] = this.stateNode = this.type = this.elementType = null, this.index = 0, this.ref = null, this.pendingProps = t, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = r, this.flags = 0, this.lastEffect = this.firstEffect = this.nextEffect = null, this.childLanes = this.lanes = 0, this.alternate = null;
|
|
@@ -10095,7 +10121,7 @@ function mh(e, t, n, r, o, i) {
|
|
|
10095
10121
|
a = 22;
|
|
10096
10122
|
break e;
|
|
10097
10123
|
}
|
|
10098
|
-
throw Error(
|
|
10124
|
+
throw Error(To(130, null == e ? e : _typeof(e), ""));
|
|
10099
10125
|
}
|
|
10100
10126
|
return (t = fh(a, n, t, o)).elementType = e, t.type = r, t.lanes = i, t;
|
|
10101
10127
|
}
|
|
@@ -10124,7 +10150,7 @@ function _h(e, t, n, r) {
|
|
|
10124
10150
|
a = Mp(o);
|
|
10125
10151
|
e: if (n) {
|
|
10126
10152
|
t: {
|
|
10127
|
-
if (ya(n = n._reactInternals) !== n || 1 !== n.tag) throw Error(
|
|
10153
|
+
if (ya(n = n._reactInternals) !== n || 1 !== n.tag) throw Error(To(170));
|
|
10128
10154
|
var s = n;
|
|
10129
10155
|
do {
|
|
10130
10156
|
switch (s.tag) {
|
|
@@ -10139,7 +10165,7 @@ function _h(e, t, n, r) {
|
|
|
10139
10165
|
}
|
|
10140
10166
|
s = s["return"];
|
|
10141
10167
|
} while (null !== s);
|
|
10142
|
-
throw Error(
|
|
10168
|
+
throw Error(To(171));
|
|
10143
10169
|
}
|
|
10144
10170
|
if (1 === n.tag) {
|
|
10145
10171
|
var l = n.type;
|
|
@@ -10168,7 +10194,7 @@ function Eh(e, t) {
|
|
|
10168
10194
|
}
|
|
10169
10195
|
function Sh(e, t, n) {
|
|
10170
10196
|
var r = null != n && null != n.hydrationOptions && n.hydrationOptions.mutableSources || null;
|
|
10171
|
-
if (n = new bh(e, t, null != n && !0 === n.hydrate), t = fh(3, null, null, 2 === t ? 7 : 1 === t ? 3 : 0), n.current = t, t.stateNode = n,
|
|
10197
|
+
if (n = new bh(e, t, null != n && !0 === n.hydrate), t = fh(3, null, null, 2 === t ? 7 : 1 === t ? 3 : 0), n.current = t, t.stateNode = n, Pu(t), e[_c] = n.current, Xl(8 === e.nodeType ? e.parentNode : e), r) for (e = 0; e < r.length; e++) {
|
|
10172
10198
|
var o = (t = r[e])._getVersion;
|
|
10173
10199
|
o = o(t._source), null == n.mutableSourceEagerHydrationData ? n.mutableSourceEagerHydrationData = [t, o] : n.mutableSourceEagerHydrationData.push(t, o);
|
|
10174
10200
|
}
|
|
@@ -10210,7 +10236,7 @@ function xh(e, t, n, r, o) {
|
|
|
10210
10236
|
}
|
|
10211
10237
|
function Oh(e, t) {
|
|
10212
10238
|
var n = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
|
|
10213
|
-
if (!Ch(t)) throw Error(
|
|
10239
|
+
if (!Ch(t)) throw Error(To(200));
|
|
10214
10240
|
return function (e, t, n) {
|
|
10215
10241
|
var r = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
|
|
10216
10242
|
return {
|
|
@@ -10272,7 +10298,7 @@ gp = function gp(e, t, n) {
|
|
|
10272
10298
|
var i = !0;
|
|
10273
10299
|
Qc(t);
|
|
10274
10300
|
} else i = !1;
|
|
10275
|
-
t.memoizedState = null !== o.state && void 0 !== o.state ? o.state : null,
|
|
10301
|
+
t.memoizedState = null !== o.state && void 0 !== o.state ? o.state : null, Pu(t);
|
|
10276
10302
|
var a = r.getDerivedStateFromProps;
|
|
10277
10303
|
"function" == typeof a && zu(t, r, a, e), o.updater = Nu, t.stateNode = o, o._reactInternals = t, Qu(t, r, e, n), t = pf(null, t, r, !0, i, n);
|
|
10278
10304
|
} else t.tag = 0, of(null, t, o, n), t = t.child;
|
|
@@ -10301,7 +10327,7 @@ gp = function gp(e, t, n) {
|
|
|
10301
10327
|
t = sf(null, t, o, yu(o.type, e), r, n);
|
|
10302
10328
|
break e;
|
|
10303
10329
|
}
|
|
10304
|
-
throw Error(
|
|
10330
|
+
throw Error(To(306, o, ""));
|
|
10305
10331
|
}
|
|
10306
10332
|
return t;
|
|
10307
10333
|
case 0:
|
|
@@ -10309,8 +10335,8 @@ gp = function gp(e, t, n) {
|
|
|
10309
10335
|
case 1:
|
|
10310
10336
|
return r = t.type, o = t.pendingProps, ff(e, t, r, o = t.elementType === r ? o : yu(r, o), n);
|
|
10311
10337
|
case 3:
|
|
10312
|
-
if (hf(t), r = t.updateQueue, null === e || null === r) throw Error(
|
|
10313
|
-
if (r = t.pendingProps, o = null !== (o = t.memoizedState) ? o.element : null,
|
|
10338
|
+
if (hf(t), r = t.updateQueue, null === e || null === r) throw Error(To(282));
|
|
10339
|
+
if (r = t.pendingProps, o = null !== (o = t.memoizedState) ? o.element : null, Tu(e, t), Lu(t, r, null, n), (r = t.memoizedState.element) === o) hd(), t = xf(e, t, n);else {
|
|
10314
10340
|
if ((i = (o = t.stateNode).hydrate) && (sd = mc(t.stateNode.containerInfo.firstChild), ad = t, i = ld = !0), i) {
|
|
10315
10341
|
if (null != (e = o.mutableSourceEagerHydrationData)) for (o = 0; o < e.length; o += 2) (i = e[o])._workInProgressVersionPrimary = e[o + 1], md.push(i);
|
|
10316
10342
|
for (n = Ku(t, null, r, n), t.child = n; n;) n.flags = -3 & n.flags | 1024, n = n.sibling;
|
|
@@ -10384,7 +10410,7 @@ gp = function gp(e, t, n) {
|
|
|
10384
10410
|
case 24:
|
|
10385
10411
|
return cf(e, t, n);
|
|
10386
10412
|
}
|
|
10387
|
-
throw Error(
|
|
10413
|
+
throw Error(To(156, t.tag));
|
|
10388
10414
|
}, Sh.prototype.render = function (e) {
|
|
10389
10415
|
_h(e, this._internalRoot, null, null);
|
|
10390
10416
|
}, Sh.prototype.unmount = function () {
|
|
@@ -10414,7 +10440,7 @@ gp = function gp(e, t, n) {
|
|
|
10414
10440
|
var r = n[t];
|
|
10415
10441
|
if (r !== e && r.form === e.form) {
|
|
10416
10442
|
var o = Cc(r);
|
|
10417
|
-
if (!o) throw Error(
|
|
10443
|
+
if (!o) throw Error(To(90));
|
|
10418
10444
|
_i(r), Ci(r, o);
|
|
10419
10445
|
}
|
|
10420
10446
|
}
|
|
@@ -10424,7 +10450,7 @@ gp = function gp(e, t, n) {
|
|
|
10424
10450
|
Ri(e, n);
|
|
10425
10451
|
break;
|
|
10426
10452
|
case "select":
|
|
10427
|
-
null != (t = n.value) &&
|
|
10453
|
+
null != (t = n.value) && Ti(e, !!n.multiple, t, !1);
|
|
10428
10454
|
}
|
|
10429
10455
|
}, ta = Qp, na = function na(e, t, n, r, o) {
|
|
10430
10456
|
var i = ep;
|
|
@@ -10453,22 +10479,22 @@ gp = function gp(e, t, n) {
|
|
|
10453
10479
|
0 === (ep = n) && (mp(), mu());
|
|
10454
10480
|
}
|
|
10455
10481
|
};
|
|
10456
|
-
var
|
|
10482
|
+
var Ph = {
|
|
10457
10483
|
Events: [Ec, Sc, Cc, Xi, ea, rh, {
|
|
10458
10484
|
current: !1
|
|
10459
10485
|
}]
|
|
10460
10486
|
},
|
|
10461
|
-
|
|
10487
|
+
Th = {
|
|
10462
10488
|
findFiberByHostInstance: kc,
|
|
10463
10489
|
bundleType: 0,
|
|
10464
10490
|
version: "17.0.2",
|
|
10465
10491
|
rendererPackageName: "react-dom"
|
|
10466
10492
|
},
|
|
10467
10493
|
Bh = {
|
|
10468
|
-
bundleType:
|
|
10469
|
-
version:
|
|
10470
|
-
rendererPackageName:
|
|
10471
|
-
rendererConfig:
|
|
10494
|
+
bundleType: Th.bundleType,
|
|
10495
|
+
version: Th.version,
|
|
10496
|
+
rendererPackageName: Th.rendererPackageName,
|
|
10497
|
+
rendererConfig: Th.rendererConfig,
|
|
10472
10498
|
overrideHookState: null,
|
|
10473
10499
|
overrideHookStateDeletePath: null,
|
|
10474
10500
|
overrideHookStateRenamePath: null,
|
|
@@ -10481,7 +10507,7 @@ var Th = {
|
|
|
10481
10507
|
findHostInstanceByFiber: function findHostInstanceByFiber(e) {
|
|
10482
10508
|
return null === (e = _a(e)) ? null : e.stateNode;
|
|
10483
10509
|
},
|
|
10484
|
-
findFiberByHostInstance:
|
|
10510
|
+
findFiberByHostInstance: Th.findFiberByHostInstance || function () {
|
|
10485
10511
|
return null;
|
|
10486
10512
|
},
|
|
10487
10513
|
findHostInstancesForRefresh: null,
|
|
@@ -10496,13 +10522,13 @@ if ("undefined" != typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
|
|
10496
10522
|
Hc = Ih.inject(Bh), Vc = Ih;
|
|
10497
10523
|
} catch (km) {}
|
|
10498
10524
|
}
|
|
10499
|
-
Eo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED =
|
|
10525
|
+
Eo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Ph, Eo.createPortal = Oh, Eo.findDOMNode = function (e) {
|
|
10500
10526
|
if (null == e) return null;
|
|
10501
10527
|
if (1 === e.nodeType) return e;
|
|
10502
10528
|
var t = e._reactInternals;
|
|
10503
10529
|
if (void 0 === t) {
|
|
10504
|
-
if ("function" == typeof e.render) throw Error(
|
|
10505
|
-
throw Error(
|
|
10530
|
+
if ("function" == typeof e.render) throw Error(To(188));
|
|
10531
|
+
throw Error(To(268, Object.keys(e)));
|
|
10506
10532
|
}
|
|
10507
10533
|
return e = null === (e = _a(t)) ? null : e.stateNode;
|
|
10508
10534
|
}, Eo.flushSync = function (e, t) {
|
|
@@ -10515,13 +10541,13 @@ Eo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Th, Eo.createPortal = Oh
|
|
|
10515
10541
|
ep = n, mu();
|
|
10516
10542
|
}
|
|
10517
10543
|
}, Eo.hydrate = function (e, t, n) {
|
|
10518
|
-
if (!Ch(t)) throw Error(
|
|
10544
|
+
if (!Ch(t)) throw Error(To(200));
|
|
10519
10545
|
return xh(null, e, t, !0, n);
|
|
10520
10546
|
}, Eo.render = function (e, t, n) {
|
|
10521
|
-
if (!Ch(t)) throw Error(
|
|
10547
|
+
if (!Ch(t)) throw Error(To(200));
|
|
10522
10548
|
return xh(null, e, t, !1, n);
|
|
10523
10549
|
}, Eo.unmountComponentAtNode = function (e) {
|
|
10524
|
-
if (!Ch(e)) throw Error(
|
|
10550
|
+
if (!Ch(e)) throw Error(To(40));
|
|
10525
10551
|
return !!e._reactRootContainer && ($p(function () {
|
|
10526
10552
|
xh(null, null, e, !1, function () {
|
|
10527
10553
|
e._reactRootContainer = null, e[_c] = null;
|
|
@@ -10530,8 +10556,8 @@ Eo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Th, Eo.createPortal = Oh
|
|
|
10530
10556
|
}, Eo.unstable_batchedUpdates = Qp, Eo.unstable_createPortal = function (e, t) {
|
|
10531
10557
|
return Oh(e, t, 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null);
|
|
10532
10558
|
}, Eo.unstable_renderSubtreeIntoContainer = function (e, t, n, r) {
|
|
10533
|
-
if (!Ch(n)) throw Error(
|
|
10534
|
-
if (null == e || void 0 === e._reactInternals) throw Error(
|
|
10559
|
+
if (!Ch(n)) throw Error(To(200));
|
|
10560
|
+
if (null == e || void 0 === e._reactInternals) throw Error(To(38));
|
|
10535
10561
|
return xh(e, t, n, !1, r);
|
|
10536
10562
|
}, Eo.version = "17.0.2", function e() {
|
|
10537
10563
|
if ("undefined" != typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" == typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE) try {
|
|
@@ -10888,12 +10914,12 @@ var um = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof w
|
|
|
10888
10914
|
C,
|
|
10889
10915
|
x = Array.prototype,
|
|
10890
10916
|
O = Function.prototype,
|
|
10891
|
-
|
|
10892
|
-
|
|
10917
|
+
P = Object.prototype,
|
|
10918
|
+
T = v["__core-js_shared__"],
|
|
10893
10919
|
B = O.toString,
|
|
10894
|
-
I =
|
|
10895
|
-
R = (E = /[^.]+$/.exec(
|
|
10896
|
-
L =
|
|
10920
|
+
I = P.hasOwnProperty,
|
|
10921
|
+
R = (E = /[^.]+$/.exec(T && T.keys && T.keys.IE_PROTO || "")) ? "Symbol(src)_1." + E : "",
|
|
10922
|
+
L = P.toString,
|
|
10897
10923
|
M = B.call(Object),
|
|
10898
10924
|
D = RegExp("^" + B.call(I).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"),
|
|
10899
10925
|
z = b ? v.Buffer : void 0,
|
|
@@ -10904,7 +10930,7 @@ var um = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof w
|
|
|
10904
10930
|
return S(C(e));
|
|
10905
10931
|
}),
|
|
10906
10932
|
Q = Object.create,
|
|
10907
|
-
$ =
|
|
10933
|
+
$ = P.propertyIsEnumerable,
|
|
10908
10934
|
H = x.splice,
|
|
10909
10935
|
V = N ? N.toStringTag : void 0,
|
|
10910
10936
|
W = function () {
|
|
@@ -10921,7 +10947,7 @@ var um = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof w
|
|
|
10921
10947
|
Z = function () {
|
|
10922
10948
|
function e() {}
|
|
10923
10949
|
return function (t) {
|
|
10924
|
-
if (!
|
|
10950
|
+
if (!Te(t)) return {};
|
|
10925
10951
|
if (Q) return Q(t);
|
|
10926
10952
|
e.prototype = t;
|
|
10927
10953
|
var n = new e();
|
|
@@ -11086,7 +11112,7 @@ var um = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof w
|
|
|
11086
11112
|
return Be(e) && ue(e) == o;
|
|
11087
11113
|
}
|
|
11088
11114
|
function fe(e) {
|
|
11089
|
-
return !(!
|
|
11115
|
+
return !(!Te(e) || function (e) {
|
|
11090
11116
|
return !!R && R in e;
|
|
11091
11117
|
}(e)) && (Oe(e) ? D : f).test(function (e) {
|
|
11092
11118
|
if (null != e) {
|
|
@@ -11101,7 +11127,7 @@ var um = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof w
|
|
|
11101
11127
|
}(e));
|
|
11102
11128
|
}
|
|
11103
11129
|
function pe(e) {
|
|
11104
|
-
if (!
|
|
11130
|
+
if (!Te(e)) return function (e) {
|
|
11105
11131
|
var t = [];
|
|
11106
11132
|
if (null != e) for (var n in Object(e)) t.push(n);
|
|
11107
11133
|
return t;
|
|
@@ -11113,7 +11139,7 @@ var um = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof w
|
|
|
11113
11139
|
}
|
|
11114
11140
|
function he(e, t, n, r, o) {
|
|
11115
11141
|
e !== t && ce(t, function (i, a) {
|
|
11116
|
-
if (o || (o = new ne()),
|
|
11142
|
+
if (o || (o = new ne()), Te(i)) !function (e, t, n, r, o, i, a) {
|
|
11117
11143
|
var s = _e(e, n),
|
|
11118
11144
|
l = _e(t, n),
|
|
11119
11145
|
u = a.get(l);
|
|
@@ -11154,7 +11180,7 @@ var um = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof w
|
|
|
11154
11180
|
}
|
|
11155
11181
|
return n;
|
|
11156
11182
|
}(e, Re(e));
|
|
11157
|
-
}(s) :
|
|
11183
|
+
}(s) : Te(s) && !Oe(s) || (d = function (e) {
|
|
11158
11184
|
return "function" != typeof e.constructor || be(e) ? {} : Z(U(e));
|
|
11159
11185
|
}(l))) : f = !1;
|
|
11160
11186
|
}
|
|
@@ -11219,7 +11245,7 @@ var um = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof w
|
|
|
11219
11245
|
}
|
|
11220
11246
|
function be(e) {
|
|
11221
11247
|
var t = e && e.constructor;
|
|
11222
|
-
return e === ("function" == typeof t && t.prototype ||
|
|
11248
|
+
return e === ("function" == typeof t && t.prototype || P);
|
|
11223
11249
|
}
|
|
11224
11250
|
function _e(e, t) {
|
|
11225
11251
|
if (("constructor" !== t || "function" != typeof e[t]) && "__proto__" != t) return e[t];
|
|
@@ -11246,20 +11272,20 @@ var um = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof w
|
|
|
11246
11272
|
},
|
|
11247
11273
|
Se = Array.isArray;
|
|
11248
11274
|
function Ce(e) {
|
|
11249
|
-
return null != e &&
|
|
11275
|
+
return null != e && Pe(e.length) && !Oe(e);
|
|
11250
11276
|
}
|
|
11251
11277
|
var xe = q || function () {
|
|
11252
11278
|
return !1;
|
|
11253
11279
|
};
|
|
11254
11280
|
function Oe(e) {
|
|
11255
|
-
if (!
|
|
11281
|
+
if (!Te(e)) return !1;
|
|
11256
11282
|
var t = ue(e);
|
|
11257
11283
|
return t == a || t == s || t == i || t == u;
|
|
11258
11284
|
}
|
|
11259
|
-
function
|
|
11285
|
+
function Pe(e) {
|
|
11260
11286
|
return "number" == typeof e && e > -1 && e % 1 == 0 && e <= r;
|
|
11261
11287
|
}
|
|
11262
|
-
function
|
|
11288
|
+
function Te(e) {
|
|
11263
11289
|
var t = _typeof(e);
|
|
11264
11290
|
return null != e && ("object" == t || "function" == t);
|
|
11265
11291
|
}
|
|
@@ -11271,7 +11297,7 @@ var um = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof w
|
|
|
11271
11297
|
return e(t);
|
|
11272
11298
|
};
|
|
11273
11299
|
}(k) : function (e) {
|
|
11274
|
-
return Be(e) &&
|
|
11300
|
+
return Be(e) && Pe(e.length) && !!h[ue(e)];
|
|
11275
11301
|
};
|
|
11276
11302
|
function Re(e) {
|
|
11277
11303
|
return Ce(e) ? re(e, !0) : pe(e);
|
|
@@ -11285,7 +11311,7 @@ var um = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof w
|
|
|
11285
11311
|
o = r > 1 ? t[r - 1] : void 0,
|
|
11286
11312
|
i = r > 2 ? t[2] : void 0;
|
|
11287
11313
|
for (o = Le.length > 3 && "function" == typeof o ? (r--, o) : void 0, i && function (e, t, n) {
|
|
11288
|
-
if (!
|
|
11314
|
+
if (!Te(n)) return !1;
|
|
11289
11315
|
var r = _typeof(t);
|
|
11290
11316
|
return !!("number" == r ? Ce(n) && Ae(t, n.length) : "string" == r && (t in n)) && ke(n[t], e);
|
|
11291
11317
|
}(t[0], t[1], i) && (o = r < 3 ? void 0 : o, r = 1), e = Object(e); ++n < r;) {
|
|
@@ -11443,7 +11469,7 @@ var vm,
|
|
|
11443
11469
|
r ? t.data = t.data.replace(r, e) : -1 === t.data.indexOf(e) && (t.data = n ? e + t.data : t.data + e);
|
|
11444
11470
|
}(Cm[a], t, r, s), a;
|
|
11445
11471
|
},
|
|
11446
|
-
|
|
11472
|
+
Pm = function Pm(e, t, n) {
|
|
11447
11473
|
return e.reduce(function (e, r, o) {
|
|
11448
11474
|
var i = t[o];
|
|
11449
11475
|
if (i && i.call) {
|
|
@@ -11454,17 +11480,17 @@ var vm,
|
|
|
11454
11480
|
return e + r + (null == i ? "" : i);
|
|
11455
11481
|
}, "");
|
|
11456
11482
|
};
|
|
11457
|
-
function
|
|
11483
|
+
function Tm(e) {
|
|
11458
11484
|
var t = this || {},
|
|
11459
11485
|
n = e.call ? e(t.p) : e;
|
|
11460
|
-
return Om(n.unshift ? n.raw ?
|
|
11486
|
+
return Om(n.unshift ? n.raw ? Pm(n, [].slice.call(arguments, 1), t.p) : n.reduce(function (e, n) {
|
|
11461
11487
|
return Object.assign(e, n && n.call ? n(t.p) : n);
|
|
11462
11488
|
}, {}) : n, _m(t.target), t.g, t.o, t.k);
|
|
11463
11489
|
}
|
|
11464
|
-
|
|
11490
|
+
Tm.bind({
|
|
11465
11491
|
g: 1
|
|
11466
11492
|
});
|
|
11467
|
-
var Bm =
|
|
11493
|
+
var Bm = Tm.bind({
|
|
11468
11494
|
k: 1
|
|
11469
11495
|
});
|
|
11470
11496
|
function Im(e, t) {
|
|
@@ -11476,7 +11502,7 @@ function Im(e, t) {
|
|
|
11476
11502
|
l = s.className || o.className;
|
|
11477
11503
|
n.p = Object.assign({
|
|
11478
11504
|
theme: ym && ym()
|
|
11479
|
-
}, s), n.o = / *go\d+/.test(l), s.className =
|
|
11505
|
+
}, s), n.o = / *go\d+/.test(l), s.className = Tm.apply(n, r) + (l ? " " + l : ""), t && (s.ref = a);
|
|
11480
11506
|
var c = e;
|
|
11481
11507
|
return e[0] && (c = s.as || e, delete s.as), Am && c[0] && Am(s), vm(c, s);
|
|
11482
11508
|
}
|
|
@@ -11913,16 +11939,16 @@ var Eg = function Eg(e) {
|
|
|
11913
11939
|
message: s
|
|
11914
11940
|
}) : et.exports.createElement(et.exports.Fragment, null, a, s));
|
|
11915
11941
|
});
|
|
11916
|
-
function
|
|
11942
|
+
function Pg() {
|
|
11917
11943
|
var e = Lm(["\n z-index: 9999;\n > * {\n pointer-events: auto;\n }\n"]);
|
|
11918
|
-
return
|
|
11944
|
+
return Pg = function Pg() {
|
|
11919
11945
|
return e;
|
|
11920
11946
|
}, e;
|
|
11921
11947
|
}
|
|
11922
11948
|
!function (e, t, n, r) {
|
|
11923
11949
|
Sm.p = t, vm = e, ym = n, Am = r;
|
|
11924
11950
|
}(et.exports.createElement);
|
|
11925
|
-
var
|
|
11951
|
+
var Tg = Tm(Pg()),
|
|
11926
11952
|
Bg = function Bg(e) {
|
|
11927
11953
|
var t = e.reverseOrder,
|
|
11928
11954
|
n = e.position,
|
|
@@ -11986,7 +12012,7 @@ var Pg = Pm(Tg()),
|
|
|
11986
12012
|
});
|
|
11987
12013
|
return et.exports.createElement("div", {
|
|
11988
12014
|
ref: l,
|
|
11989
|
-
className: e.visible ?
|
|
12015
|
+
className: e.visible ? Tg : "",
|
|
11990
12016
|
key: e.id,
|
|
11991
12017
|
style: s
|
|
11992
12018
|
}, "custom" === e.type ? Dm(e.message, e) : a ? a(e) : et.exports.createElement(Og, {
|
|
@@ -12386,9 +12412,9 @@ var _ref35 = dv && window.addEventListener ? [window.addEventListener.bind(windo
|
|
|
12386
12412
|
var t = e;
|
|
12387
12413
|
return [e = "string" == typeof e ? e : (Array.isArray(e) ? e.length : e) ? gv(e) : "", t];
|
|
12388
12414
|
};
|
|
12389
|
-
var
|
|
12390
|
-
var
|
|
12391
|
-
return ++
|
|
12415
|
+
var Pv = 0;
|
|
12416
|
+
var Tv = function Tv() {
|
|
12417
|
+
return ++Pv;
|
|
12392
12418
|
};
|
|
12393
12419
|
var Bv = 0,
|
|
12394
12420
|
Iv = 1,
|
|
@@ -12428,7 +12454,7 @@ function Mv() {
|
|
|
12428
12454
|
return _context19.abrupt("return", g());
|
|
12429
12455
|
case 6:
|
|
12430
12456
|
y = r;
|
|
12431
|
-
A =
|
|
12457
|
+
A = Tv();
|
|
12432
12458
|
p[o] = [A, 0];
|
|
12433
12459
|
b = !sv(l), _ = i(), w = _.data, k = _._c, E = sv(k) ? w : k;
|
|
12434
12460
|
if (b && (l = lv(l) ? l(E) : l, d({
|
|
@@ -12471,7 +12497,7 @@ function Mv() {
|
|
|
12471
12497
|
a && (v || (lv(a) && (y = a(y, E)), d({
|
|
12472
12498
|
data: y,
|
|
12473
12499
|
_c: iv
|
|
12474
|
-
}))), p[o][1] =
|
|
12500
|
+
}))), p[o][1] = Tv();
|
|
12475
12501
|
_context19.next = 23;
|
|
12476
12502
|
return g();
|
|
12477
12503
|
case 23:
|
|
@@ -12667,11 +12693,11 @@ var qv,
|
|
|
12667
12693
|
C = _pv4[1],
|
|
12668
12694
|
x = _pv4[2],
|
|
12669
12695
|
O = _pv4[3],
|
|
12670
|
-
|
|
12671
|
-
|
|
12696
|
+
P = et.exports.useRef({}).current,
|
|
12697
|
+
T = sv(a) ? n.fallback[g] : a,
|
|
12672
12698
|
B = function B(e, t) {
|
|
12673
12699
|
var n = !0;
|
|
12674
|
-
for (var _r4 in
|
|
12700
|
+
for (var _r4 in P) {
|
|
12675
12701
|
var _i4 = _r4;
|
|
12676
12702
|
"data" === _i4 ? o(t[_i4], e[_i4]) || sv(e[_i4]) && o(t[_i4], F) || (n = !1) : t[_i4] !== e[_i4] && (n = !1);
|
|
12677
12703
|
}
|
|
@@ -12706,7 +12732,7 @@ var qv,
|
|
|
12706
12732
|
L = !y.current,
|
|
12707
12733
|
M = p[g] && p[g].length > 0,
|
|
12708
12734
|
D = R.data,
|
|
12709
|
-
z = sv(D) ?
|
|
12735
|
+
z = sv(D) ? T : D,
|
|
12710
12736
|
N = R.error,
|
|
12711
12737
|
j = et.exports.useRef(z),
|
|
12712
12738
|
F = f ? sv(D) ? j.current : D : z,
|
|
@@ -12745,7 +12771,7 @@ var qv,
|
|
|
12745
12771
|
_context21.prev = 6;
|
|
12746
12772
|
l && (C(w), n.loadingTimeout && sv(S().data) && setTimeout(function () {
|
|
12747
12773
|
a && c() && k().onLoadingSlow(g, n);
|
|
12748
|
-
}, n.loadingTimeout), m[g] = [t(v),
|
|
12774
|
+
}, n.loadingTimeout), m[g] = [t(v), Tv()]);
|
|
12749
12775
|
_m$g = _slicedToArray(m[g], 2), r = _m$g[0], i = _m$g[1];
|
|
12750
12776
|
_context21.next = 11;
|
|
12751
12777
|
return r;
|
|
@@ -12843,16 +12869,16 @@ var qv,
|
|
|
12843
12869
|
return {
|
|
12844
12870
|
mutate: W,
|
|
12845
12871
|
get data() {
|
|
12846
|
-
return
|
|
12872
|
+
return P.data = !0, F;
|
|
12847
12873
|
},
|
|
12848
12874
|
get error() {
|
|
12849
|
-
return
|
|
12875
|
+
return P.error = !0, N;
|
|
12850
12876
|
},
|
|
12851
12877
|
get isValidating() {
|
|
12852
|
-
return
|
|
12878
|
+
return P.isValidating = !0, $;
|
|
12853
12879
|
},
|
|
12854
12880
|
get isLoading() {
|
|
12855
|
-
return
|
|
12881
|
+
return P.isLoading = !0, H;
|
|
12856
12882
|
}
|
|
12857
12883
|
};
|
|
12858
12884
|
}, function () {
|
|
@@ -12963,7 +12989,7 @@ var Gv = function (e, t) {
|
|
|
12963
12989
|
c = cv(cv({
|
|
12964
12990
|
populateCache: !1,
|
|
12965
12991
|
throwOnError: !0
|
|
12966
|
-
}, a.current), t), d =
|
|
12992
|
+
}, a.current), t), d = Tv();
|
|
12967
12993
|
s.current = d, u({
|
|
12968
12994
|
isMutating: !0
|
|
12969
12995
|
});
|
|
@@ -13000,7 +13026,7 @@ var Gv = function (e, t) {
|
|
|
13000
13026
|
}));
|
|
13001
13027
|
}, []),
|
|
13002
13028
|
p = et.exports.useCallback(function () {
|
|
13003
|
-
s.current =
|
|
13029
|
+
s.current = Tv(), u({
|
|
13004
13030
|
data: iv,
|
|
13005
13031
|
error: iv,
|
|
13006
13032
|
isMutating: !1
|
|
@@ -13532,7 +13558,7 @@ var ry = bo(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n
|
|
|
13532
13558
|
return e.theme.colors.disabledText;
|
|
13533
13559
|
}),
|
|
13534
13560
|
Oy = wo.button(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["\n all: unset;\n cursor: pointer;\n"]))),
|
|
13535
|
-
|
|
13561
|
+
Py = function Py(_ref47) {
|
|
13536
13562
|
var e = _ref47.onClick,
|
|
13537
13563
|
t = _ref47.enabled,
|
|
13538
13564
|
n = _ref47.visible;
|
|
@@ -13543,7 +13569,7 @@ var ry = bo(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n
|
|
|
13543
13569
|
enabled: t
|
|
13544
13570
|
}));
|
|
13545
13571
|
},
|
|
13546
|
-
|
|
13572
|
+
Ty = function Ty(_ref48) {
|
|
13547
13573
|
var e = _ref48.password,
|
|
13548
13574
|
t = _ref48.setPassword,
|
|
13549
13575
|
n = _ref48.type;
|
|
@@ -13565,7 +13591,7 @@ var ry = bo(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n
|
|
|
13565
13591
|
return t(e.target.value);
|
|
13566
13592
|
},
|
|
13567
13593
|
required: !0
|
|
13568
|
-
}), Dt.createElement(
|
|
13594
|
+
}), Dt.createElement(Py, {
|
|
13569
13595
|
onClick: function onClick() {
|
|
13570
13596
|
return o(function (e) {
|
|
13571
13597
|
return !e;
|
|
@@ -13660,7 +13686,7 @@ var ry = bo(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n
|
|
|
13660
13686
|
}, Dt.createElement(Ug, {
|
|
13661
13687
|
size: "helper",
|
|
13662
13688
|
color: "secondary"
|
|
13663
|
-
}, "Password"), Dt.createElement(
|
|
13689
|
+
}, "Password"), Dt.createElement(Ty, {
|
|
13664
13690
|
password: o,
|
|
13665
13691
|
setPassword: i,
|
|
13666
13692
|
type: "current"
|
|
@@ -13757,7 +13783,7 @@ var ry = bo(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n
|
|
|
13757
13783
|
}, Dt.createElement(Ug, {
|
|
13758
13784
|
size: "helper",
|
|
13759
13785
|
color: "secondary"
|
|
13760
|
-
}, "Password"), Dt.createElement(
|
|
13786
|
+
}, "Password"), Dt.createElement(Ty, {
|
|
13761
13787
|
password: s,
|
|
13762
13788
|
setPassword: l,
|
|
13763
13789
|
type: "current"
|
|
@@ -14762,10 +14788,10 @@ var eA = wo.a(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral([
|
|
|
14762
14788
|
_et$exports$useState45 = et.exports.useState(0),
|
|
14763
14789
|
_et$exports$useState46 = _slicedToArray(_et$exports$useState45, 2),
|
|
14764
14790
|
O = _et$exports$useState46[0],
|
|
14765
|
-
|
|
14791
|
+
P = _et$exports$useState46[1],
|
|
14766
14792
|
_et$exports$useState47 = et.exports.useState(0),
|
|
14767
14793
|
_et$exports$useState48 = _slicedToArray(_et$exports$useState47, 2),
|
|
14768
|
-
|
|
14794
|
+
T = _et$exports$useState48[0],
|
|
14769
14795
|
B = _et$exports$useState48[1],
|
|
14770
14796
|
_et$exports$useState49 = et.exports.useState(!1),
|
|
14771
14797
|
_et$exports$useState50 = _slicedToArray(_et$exports$useState49, 2),
|
|
@@ -14793,7 +14819,7 @@ var eA = wo.a(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral([
|
|
|
14793
14819
|
r = _ref71.luds_feedback,
|
|
14794
14820
|
o = _ref71.strength_policy,
|
|
14795
14821
|
i = _ref71.breached_password;
|
|
14796
|
-
x(o), k(!t), "zxcvbn" === o ? (A(e), _(n.warning)) : "luds" === o && (
|
|
14822
|
+
x(o), k(!t), "zxcvbn" === o ? (A(e), _(n.warning)) : "luds" === o && (P(r.missing_characters), B(r.missing_complexity), R(i));
|
|
14797
14823
|
});
|
|
14798
14824
|
});
|
|
14799
14825
|
}, []);
|
|
@@ -14873,7 +14899,7 @@ var eA = wo.a(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral([
|
|
|
14873
14899
|
}, Dt.createElement(Ug, {
|
|
14874
14900
|
size: "helper",
|
|
14875
14901
|
color: "secondary"
|
|
14876
|
-
}, "Password"), Dt.createElement(
|
|
14902
|
+
}, "Password"), Dt.createElement(Ty, {
|
|
14877
14903
|
password: u,
|
|
14878
14904
|
setPassword: function setPassword(e) {
|
|
14879
14905
|
d(e), L(e);
|
|
@@ -14885,7 +14911,7 @@ var eA = wo.a(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral([
|
|
|
14885
14911
|
errorMessage: g,
|
|
14886
14912
|
passwordFeedback: b,
|
|
14887
14913
|
missingCharacters: O,
|
|
14888
|
-
missingComplexity:
|
|
14914
|
+
missingComplexity: T,
|
|
14889
14915
|
isPasswordBreached: I
|
|
14890
14916
|
})), Dt.createElement(cy, {
|
|
14891
14917
|
isSubmitting: E,
|
|
@@ -15086,7 +15112,7 @@ var eA = wo.a(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral([
|
|
|
15086
15112
|
text: "Continue"
|
|
15087
15113
|
}))));
|
|
15088
15114
|
},
|
|
15089
|
-
|
|
15115
|
+
PA = function PA() {
|
|
15090
15116
|
var _am35 = am(),
|
|
15091
15117
|
_am36 = _slicedToArray(_am35, 2),
|
|
15092
15118
|
e = _am36[1],
|
|
@@ -15139,7 +15165,7 @@ var eA = wo.a(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral([
|
|
|
15139
15165
|
}
|
|
15140
15166
|
}, "Resend email"))));
|
|
15141
15167
|
},
|
|
15142
|
-
|
|
15168
|
+
TA = wo.div(_templateObject31 || (_templateObject31 = _taggedTemplateLiteral(["\n width: ", ";\n font-family: ", ";\n padding: 24px 32px;\n box-sizing: border-box;\n background-color: ", ";\n border: ", ";\n border-radius: ", ";\n"])), function (_ref77) {
|
|
15143
15169
|
var e = _ref77.theme;
|
|
15144
15170
|
return e.container.width;
|
|
15145
15171
|
}, function (_ref78) {
|
|
@@ -15171,7 +15197,7 @@ var eA = wo.a(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral([
|
|
|
15171
15197
|
errorMessage: "The organization you are looking for could not be found. If you think this is a mistake, contact your admin."
|
|
15172
15198
|
})), _defineProperty(_a5, Xh.Error, Dt.createElement(Hg, {
|
|
15173
15199
|
errorMessage: "Something went wrong. Try again later or contact your admin for help."
|
|
15174
|
-
})), _defineProperty(_a5, Xh.PasswordEmailForm, Dt.createElement(Dy, null)), _defineProperty(_a5, Xh.PasswordAuthenticate, Dt.createElement(My, null)), _defineProperty(_a5, Xh.PasswordResetForm, Dt.createElement(kA, null)), _defineProperty(_a5, Xh.PasswordResetVerifyConfirmation, Dt.createElement(xA, null)), _defineProperty(_a5, Xh.PasswordForgotForm, Dt.createElement(OA, null)), _defineProperty(_a5, Xh.PasswordSetNewConfirmation, Dt.createElement(
|
|
15200
|
+
})), _defineProperty(_a5, Xh.PasswordEmailForm, Dt.createElement(Dy, null)), _defineProperty(_a5, Xh.PasswordAuthenticate, Dt.createElement(My, null)), _defineProperty(_a5, Xh.PasswordResetForm, Dt.createElement(kA, null)), _defineProperty(_a5, Xh.PasswordResetVerifyConfirmation, Dt.createElement(xA, null)), _defineProperty(_a5, Xh.PasswordForgotForm, Dt.createElement(OA, null)), _defineProperty(_a5, Xh.PasswordSetNewConfirmation, Dt.createElement(PA, null)), _a5),
|
|
15175
15201
|
s = function s(e) {
|
|
15176
15202
|
window.history.replaceState(null, window.document.title, window.location.pathname), Xv(e, t);
|
|
15177
15203
|
},
|
|
@@ -15307,7 +15333,7 @@ var eA = wo.a(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral([
|
|
|
15307
15333
|
}) : "multi_tenant_magic_links" === n && u({
|
|
15308
15334
|
token: r
|
|
15309
15335
|
}));
|
|
15310
|
-
}, []), d || v || A || m || p ? Dt.createElement(
|
|
15336
|
+
}, []), d || v || A || m || p ? Dt.createElement(TA, null, Dt.createElement(oA, null)) : b ? Dt.createElement(TA, null, Dt.createElement(iA, null)) : Dt.createElement(TA, null, a[i], Dt.createElement(zg, null), o && Dt.createElement(Fg, {
|
|
15311
15337
|
justifyContent: "center",
|
|
15312
15338
|
marginTop: 24
|
|
15313
15339
|
}, Dt.createElement("a", {
|