Created
March 17, 2025 04:50
-
-
Save josephNg95/fb3fbb3d6a880d96c8663cdfe3012c5d to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var __getOwnPropNames = Object.getOwnPropertyNames; | |
| var __commonJS = (cb, mod) => function __require() { | |
| return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; | |
| }; | |
| var require_index = __commonJS({ | |
| "index.js"(exports, module) { | |
| (function polyfill() { | |
| const relList = document.createElement("link").relList; | |
| if (relList && relList.supports && relList.supports("modulepreload")) { | |
| return; | |
| } | |
| for (const link of document.querySelectorAll('link[rel="modulepreload"]')) { | |
| processPreload(link); | |
| } | |
| new MutationObserver((mutations) => { | |
| for (const mutation of mutations) { | |
| if (mutation.type !== "childList") { | |
| continue; | |
| } | |
| for (const node of mutation.addedNodes) { | |
| if (node.tagName === "LINK" && node.rel === "modulepreload") | |
| processPreload(node); | |
| } | |
| } | |
| }).observe(document, { childList: true, subtree: true }); | |
| function getFetchOpts(link) { | |
| const fetchOpts = {}; | |
| if (link.integrity) fetchOpts.integrity = link.integrity; | |
| if (link.referrerPolicy) fetchOpts.referrerPolicy = link.referrerPolicy; | |
| if (link.crossOrigin === "use-credentials") | |
| fetchOpts.credentials = "include"; | |
| else if (link.crossOrigin === "anonymous") fetchOpts.credentials = "omit"; | |
| else fetchOpts.credentials = "same-origin"; | |
| return fetchOpts; | |
| } | |
| function processPreload(link) { | |
| if (link.ep) | |
| return; | |
| link.ep = true; | |
| const fetchOpts = getFetchOpts(link); | |
| fetch(link.href, fetchOpts); | |
| } | |
| })(); | |
| var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {}; | |
| function getDefaultExportFromCjs(x2) { | |
| return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2; | |
| } | |
| function getAugmentedNamespace(n2) { | |
| if (Object.prototype.hasOwnProperty.call(n2, "__esModule")) return n2; | |
| var f2 = n2.default; | |
| if (typeof f2 == "function") { | |
| var a2 = function a3() { | |
| if (this instanceof a3) { | |
| return Reflect.construct(f2, arguments, this.constructor); | |
| } | |
| return f2.apply(this, arguments); | |
| }; | |
| a2.prototype = f2.prototype; | |
| } else a2 = {}; | |
| Object.defineProperty(a2, "__esModule", { value: true }); | |
| Object.keys(n2).forEach(function(k2) { | |
| var d2 = Object.getOwnPropertyDescriptor(n2, k2); | |
| Object.defineProperty(a2, k2, d2.get ? d2 : { | |
| enumerable: true, | |
| get: function() { | |
| return n2[k2]; | |
| } | |
| }); | |
| }); | |
| return a2; | |
| } | |
| var jsxRuntime = { exports: {} }; | |
| var reactJsxRuntime_production_min = {}; | |
| var react = { exports: {} }; | |
| var react_production_min = {}; | |
| /** | |
| * @license React | |
| * react.production.min.js | |
| * | |
| * Copyright (c) Facebook, Inc. and its affiliates. | |
| * | |
| * This source code is licensed under the MIT license found in the | |
| * LICENSE file in the root directory of this source tree. | |
| */ | |
| var hasRequiredReact_production_min; | |
| function requireReact_production_min() { | |
| if (hasRequiredReact_production_min) return react_production_min; | |
| hasRequiredReact_production_min = 1; | |
| var l2 = Symbol.for("react.element"), n2 = Symbol.for("react.portal"), p2 = Symbol.for("react.fragment"), q2 = Symbol.for("react.strict_mode"), r2 = Symbol.for("react.profiler"), t2 = Symbol.for("react.provider"), u2 = Symbol.for("react.context"), v2 = Symbol.for("react.forward_ref"), w2 = Symbol.for("react.suspense"), x2 = Symbol.for("react.memo"), y2 = Symbol.for("react.lazy"), z2 = Symbol.iterator; | |
| function A2(a2) { | |
| if (null === a2 || "object" !== typeof a2) return null; | |
| a2 = z2 && a2[z2] || a2["@@iterator"]; | |
| return "function" === typeof a2 ? a2 : null; | |
| } | |
| var B2 = { isMounted: function() { | |
| return false; | |
| }, enqueueForceUpdate: function() { | |
| }, enqueueReplaceState: function() { | |
| }, enqueueSetState: function() { | |
| } }, C2 = Object.assign, D2 = {}; | |
| function E2(a2, b2, e2) { | |
| this.props = a2; | |
| this.context = b2; | |
| this.refs = D2; | |
| this.updater = e2 || B2; | |
| } | |
| E2.prototype.isReactComponent = {}; | |
| E2.prototype.setState = function(a2, b2) { | |
| if ("object" !== typeof a2 && "function" !== typeof a2 && null != a2) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables."); | |
| this.updater.enqueueSetState(this, a2, b2, "setState"); | |
| }; | |
| E2.prototype.forceUpdate = function(a2) { | |
| this.updater.enqueueForceUpdate(this, a2, "forceUpdate"); | |
| }; | |
| function F2() { | |
| } | |
| F2.prototype = E2.prototype; | |
| function G2(a2, b2, e2) { | |
| this.props = a2; | |
| this.context = b2; | |
| this.refs = D2; | |
| this.updater = e2 || B2; | |
| } | |
| var H2 = G2.prototype = new F2(); | |
| H2.constructor = G2; | |
| C2(H2, E2.prototype); | |
| H2.isPureReactComponent = true; | |
| var I2 = Array.isArray, J2 = Object.prototype.hasOwnProperty, K2 = { current: null }, L2 = { key: true, ref: true, __self: true, __source: true }; | |
| function M2(a2, b2, e2) { | |
| var d2, c2 = {}, k2 = null, h2 = null; | |
| if (null != b2) for (d2 in void 0 !== b2.ref && (h2 = b2.ref), void 0 !== b2.key && (k2 = "" + b2.key), b2) J2.call(b2, d2) && !L2.hasOwnProperty(d2) && (c2[d2] = b2[d2]); | |
| var g2 = arguments.length - 2; | |
| if (1 === g2) c2.children = e2; | |
| else if (1 < g2) { | |
| for (var f2 = Array(g2), m2 = 0; m2 < g2; m2++) f2[m2] = arguments[m2 + 2]; | |
| c2.children = f2; | |
| } | |
| if (a2 && a2.defaultProps) for (d2 in g2 = a2.defaultProps, g2) void 0 === c2[d2] && (c2[d2] = g2[d2]); | |
| return { $$typeof: l2, type: a2, key: k2, ref: h2, props: c2, _owner: K2.current }; | |
| } | |
| function N2(a2, b2) { | |
| return { $$typeof: l2, type: a2.type, key: b2, ref: a2.ref, props: a2.props, _owner: a2._owner }; | |
| } | |
| function O2(a2) { | |
| return "object" === typeof a2 && null !== a2 && a2.$$typeof === l2; | |
| } | |
| function escape2(a2) { | |
| var b2 = { "=": "=0", ":": "=2" }; | |
| return "$" + a2.replace(/[=:]/g, function(a3) { | |
| return b2[a3]; | |
| }); | |
| } | |
| var P2 = /\/+/g; | |
| function Q2(a2, b2) { | |
| return "object" === typeof a2 && null !== a2 && null != a2.key ? escape2("" + a2.key) : b2.toString(36); | |
| } | |
| function R2(a2, b2, e2, d2, c2) { | |
| var k2 = typeof a2; | |
| if ("undefined" === k2 || "boolean" === k2) a2 = null; | |
| var h2 = false; | |
| if (null === a2) h2 = true; | |
| else switch (k2) { | |
| case "string": | |
| case "number": | |
| h2 = true; | |
| break; | |
| case "object": | |
| switch (a2.$$typeof) { | |
| case l2: | |
| case n2: | |
| h2 = true; | |
| } | |
| } | |
| if (h2) return h2 = a2, c2 = c2(h2), a2 = "" === d2 ? "." + Q2(h2, 0) : d2, I2(c2) ? (e2 = "", null != a2 && (e2 = a2.replace(P2, "$&/") + "/"), R2(c2, b2, e2, "", function(a3) { | |
| return a3; | |
| })) : null != c2 && (O2(c2) && (c2 = N2(c2, e2 + (!c2.key || h2 && h2.key === c2.key ? "" : ("" + c2.key).replace(P2, "$&/") + "/") + a2)), b2.push(c2)), 1; | |
| h2 = 0; | |
| d2 = "" === d2 ? "." : d2 + ":"; | |
| if (I2(a2)) for (var g2 = 0; g2 < a2.length; g2++) { | |
| k2 = a2[g2]; | |
| var f2 = d2 + Q2(k2, g2); | |
| h2 += R2(k2, b2, e2, f2, c2); | |
| } | |
| else if (f2 = A2(a2), "function" === typeof f2) for (a2 = f2.call(a2), g2 = 0; !(k2 = a2.next()).done; ) k2 = k2.value, f2 = d2 + Q2(k2, g2++), h2 += R2(k2, b2, e2, f2, c2); | |
| else if ("object" === k2) throw b2 = String(a2), Error("Objects are not valid as a React child (found: " + ("[object Object]" === b2 ? "object with keys {" + Object.keys(a2).join(", ") + "}" : b2) + "). If you meant to render a collection of children, use an array instead."); | |
| return h2; | |
| } | |
| function S2(a2, b2, e2) { | |
| if (null == a2) return a2; | |
| var d2 = [], c2 = 0; | |
| R2(a2, d2, "", "", function(a3) { | |
| return b2.call(e2, a3, c2++); | |
| }); | |
| return d2; | |
| } | |
| function T2(a2) { | |
| if (-1 === a2._status) { | |
| var b2 = a2._result; | |
| b2 = b2(); | |
| b2.then(function(b4) { | |
| if (0 === a2._status || -1 === a2._status) a2._status = 1, a2._result = b4; | |
| }, function(b4) { | |
| if (0 === a2._status || -1 === a2._status) a2._status = 2, a2._result = b4; | |
| }); | |
| -1 === a2._status && (a2._status = 0, a2._result = b2); | |
| } | |
| if (1 === a2._status) return a2._result.default; | |
| throw a2._result; | |
| } | |
| var U2 = { current: null }, V2 = { transition: null }, W2 = { ReactCurrentDispatcher: U2, ReactCurrentBatchConfig: V2, ReactCurrentOwner: K2 }; | |
| react_production_min.Children = { map: S2, forEach: function(a2, b2, e2) { | |
| S2(a2, function() { | |
| b2.apply(this, arguments); | |
| }, e2); | |
| }, count: function(a2) { | |
| var b2 = 0; | |
| S2(a2, function() { | |
| b2++; | |
| }); | |
| return b2; | |
| }, toArray: function(a2) { | |
| return S2(a2, function(a3) { | |
| return a3; | |
| }) || []; | |
| }, only: function(a2) { | |
| if (!O2(a2)) throw Error("React.Children.only expected to receive a single React element child."); | |
| return a2; | |
| } }; | |
| react_production_min.Component = E2; | |
| react_production_min.Fragment = p2; | |
| react_production_min.Profiler = r2; | |
| react_production_min.PureComponent = G2; | |
| react_production_min.StrictMode = q2; | |
| react_production_min.Suspense = w2; | |
| react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W2; | |
| react_production_min.cloneElement = function(a2, b2, e2) { | |
| if (null === a2 || void 0 === a2) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a2 + "."); | |
| var d2 = C2({}, a2.props), c2 = a2.key, k2 = a2.ref, h2 = a2._owner; | |
| if (null != b2) { | |
| void 0 !== b2.ref && (k2 = b2.ref, h2 = K2.current); | |
| void 0 !== b2.key && (c2 = "" + b2.key); | |
| if (a2.type && a2.type.defaultProps) var g2 = a2.type.defaultProps; | |
| for (f2 in b2) J2.call(b2, f2) && !L2.hasOwnProperty(f2) && (d2[f2] = void 0 === b2[f2] && void 0 !== g2 ? g2[f2] : b2[f2]); | |
| } | |
| var f2 = arguments.length - 2; | |
| if (1 === f2) d2.children = e2; | |
| else if (1 < f2) { | |
| g2 = Array(f2); | |
| for (var m2 = 0; m2 < f2; m2++) g2[m2] = arguments[m2 + 2]; | |
| d2.children = g2; | |
| } | |
| return { $$typeof: l2, type: a2.type, key: c2, ref: k2, props: d2, _owner: h2 }; | |
| }; | |
| react_production_min.createContext = function(a2) { | |
| a2 = { $$typeof: u2, _currentValue: a2, _currentValue2: a2, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }; | |
| a2.Provider = { $$typeof: t2, _context: a2 }; | |
| return a2.Consumer = a2; | |
| }; | |
| react_production_min.createElement = M2; | |
| react_production_min.createFactory = function(a2) { | |
| var b2 = M2.bind(null, a2); | |
| b2.type = a2; | |
| return b2; | |
| }; | |
| react_production_min.createRef = function() { | |
| return { current: null }; | |
| }; | |
| react_production_min.forwardRef = function(a2) { | |
| return { $$typeof: v2, render: a2 }; | |
| }; | |
| react_production_min.isValidElement = O2; | |
| react_production_min.lazy = function(a2) { | |
| return { $$typeof: y2, _payload: { _status: -1, _result: a2 }, _init: T2 }; | |
| }; | |
| react_production_min.memo = function(a2, b2) { | |
| return { $$typeof: x2, type: a2, compare: void 0 === b2 ? null : b2 }; | |
| }; | |
| react_production_min.startTransition = function(a2) { | |
| var b2 = V2.transition; | |
| V2.transition = {}; | |
| try { | |
| a2(); | |
| } finally { | |
| V2.transition = b2; | |
| } | |
| }; | |
| react_production_min.unstable_act = function() { | |
| throw Error("act(...) is not supported in production builds of React."); | |
| }; | |
| react_production_min.useCallback = function(a2, b2) { | |
| return U2.current.useCallback(a2, b2); | |
| }; | |
| react_production_min.useContext = function(a2) { | |
| return U2.current.useContext(a2); | |
| }; | |
| react_production_min.useDebugValue = function() { | |
| }; | |
| react_production_min.useDeferredValue = function(a2) { | |
| return U2.current.useDeferredValue(a2); | |
| }; | |
| react_production_min.useEffect = function(a2, b2) { | |
| return U2.current.useEffect(a2, b2); | |
| }; | |
| react_production_min.useId = function() { | |
| return U2.current.useId(); | |
| }; | |
| react_production_min.useImperativeHandle = function(a2, b2, e2) { | |
| return U2.current.useImperativeHandle(a2, b2, e2); | |
| }; | |
| react_production_min.useInsertionEffect = function(a2, b2) { | |
| return U2.current.useInsertionEffect(a2, b2); | |
| }; | |
| react_production_min.useLayoutEffect = function(a2, b2) { | |
| return U2.current.useLayoutEffect(a2, b2); | |
| }; | |
| react_production_min.useMemo = function(a2, b2) { | |
| return U2.current.useMemo(a2, b2); | |
| }; | |
| react_production_min.useReducer = function(a2, b2, e2) { | |
| return U2.current.useReducer(a2, b2, e2); | |
| }; | |
| react_production_min.useRef = function(a2) { | |
| return U2.current.useRef(a2); | |
| }; | |
| react_production_min.useState = function(a2) { | |
| return U2.current.useState(a2); | |
| }; | |
| react_production_min.useSyncExternalStore = function(a2, b2, e2) { | |
| return U2.current.useSyncExternalStore(a2, b2, e2); | |
| }; | |
| react_production_min.useTransition = function() { | |
| return U2.current.useTransition(); | |
| }; | |
| react_production_min.version = "18.2.0"; | |
| return react_production_min; | |
| } | |
| var hasRequiredReact; | |
| function requireReact() { | |
| if (hasRequiredReact) return react.exports; | |
| hasRequiredReact = 1; | |
| { | |
| react.exports = requireReact_production_min(); | |
| } | |
| return react.exports; | |
| } | |
| /** | |
| * @license React | |
| * react-jsx-runtime.production.min.js | |
| * | |
| * Copyright (c) Facebook, Inc. and its affiliates. | |
| * | |
| * This source code is licensed under the MIT license found in the | |
| * LICENSE file in the root directory of this source tree. | |
| */ | |
| var hasRequiredReactJsxRuntime_production_min; | |
| function requireReactJsxRuntime_production_min() { | |
| if (hasRequiredReactJsxRuntime_production_min) return reactJsxRuntime_production_min; | |
| hasRequiredReactJsxRuntime_production_min = 1; | |
| var f2 = requireReact(), k2 = Symbol.for("react.element"), l2 = Symbol.for("react.fragment"), m2 = Object.prototype.hasOwnProperty, n2 = f2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p2 = { key: true, ref: true, __self: true, __source: true }; | |
| function q2(c2, a2, g2) { | |
| var b2, d2 = {}, e2 = null, h2 = null; | |
| void 0 !== g2 && (e2 = "" + g2); | |
| void 0 !== a2.key && (e2 = "" + a2.key); | |
| void 0 !== a2.ref && (h2 = a2.ref); | |
| for (b2 in a2) m2.call(a2, b2) && !p2.hasOwnProperty(b2) && (d2[b2] = a2[b2]); | |
| if (c2 && c2.defaultProps) for (b2 in a2 = c2.defaultProps, a2) void 0 === d2[b2] && (d2[b2] = a2[b2]); | |
| return { $$typeof: k2, type: c2, key: e2, ref: h2, props: d2, _owner: n2.current }; | |
| } | |
| reactJsxRuntime_production_min.Fragment = l2; | |
| reactJsxRuntime_production_min.jsx = q2; | |
| reactJsxRuntime_production_min.jsxs = q2; | |
| return reactJsxRuntime_production_min; | |
| } | |
| var hasRequiredJsxRuntime; | |
| function requireJsxRuntime() { | |
| if (hasRequiredJsxRuntime) return jsxRuntime.exports; | |
| hasRequiredJsxRuntime = 1; | |
| { | |
| jsxRuntime.exports = requireReactJsxRuntime_production_min(); | |
| } | |
| return jsxRuntime.exports; | |
| } | |
| var jsxRuntimeExports = requireJsxRuntime(); | |
| var reactExports = requireReact(); | |
| const React__default = /* @__PURE__ */ getDefaultExportFromCjs(reactExports); | |
| var client = {}; | |
| var reactDom = { exports: {} }; | |
| var reactDom_production_min = {}; | |
| var scheduler = { exports: {} }; | |
| var scheduler_production_min = {}; | |
| /** | |
| * @license React | |
| * scheduler.production.min.js | |
| * | |
| * Copyright (c) Facebook, Inc. and its affiliates. | |
| * | |
| * This source code is licensed under the MIT license found in the | |
| * LICENSE file in the root directory of this source tree. | |
| */ | |
| var hasRequiredScheduler_production_min; | |
| function requireScheduler_production_min() { | |
| if (hasRequiredScheduler_production_min) return scheduler_production_min; | |
| hasRequiredScheduler_production_min = 1; | |
| (function(exports2) { | |
| function f2(a2, b2) { | |
| var c2 = a2.length; | |
| a2.push(b2); | |
| a: for (; 0 < c2; ) { | |
| var d2 = c2 - 1 >>> 1, e2 = a2[d2]; | |
| if (0 < g2(e2, b2)) a2[d2] = b2, a2[c2] = e2, c2 = d2; | |
| else break a; | |
| } | |
| } | |
| function h2(a2) { | |
| return 0 === a2.length ? null : a2[0]; | |
| } | |
| function k2(a2) { | |
| if (0 === a2.length) return null; | |
| var b2 = a2[0], c2 = a2.pop(); | |
| if (c2 !== b2) { | |
| a2[0] = c2; | |
| a: for (var d2 = 0, e2 = a2.length, w2 = e2 >>> 1; d2 < w2; ) { | |
| var m2 = 2 * (d2 + 1) - 1, C2 = a2[m2], n2 = m2 + 1, x2 = a2[n2]; | |
| if (0 > g2(C2, c2)) n2 < e2 && 0 > g2(x2, C2) ? (a2[d2] = x2, a2[n2] = c2, d2 = n2) : (a2[d2] = C2, a2[m2] = c2, d2 = m2); | |
| else if (n2 < e2 && 0 > g2(x2, c2)) a2[d2] = x2, a2[n2] = c2, d2 = n2; | |
| else break a; | |
| } | |
| } | |
| return b2; | |
| } | |
| function g2(a2, b2) { | |
| var c2 = a2.sortIndex - b2.sortIndex; | |
| return 0 !== c2 ? c2 : a2.id - b2.id; | |
| } | |
| if ("object" === typeof performance && "function" === typeof performance.now) { | |
| var l2 = performance; | |
| exports2.unstable_now = function() { | |
| return l2.now(); | |
| }; | |
| } else { | |
| var p2 = Date, q2 = p2.now(); | |
| exports2.unstable_now = function() { | |
| return p2.now() - q2; | |
| }; | |
| } | |
| var r2 = [], t2 = [], u2 = 1, v2 = null, y2 = 3, z2 = false, A2 = false, B2 = false, D2 = "function" === typeof setTimeout ? setTimeout : null, E2 = "function" === typeof clearTimeout ? clearTimeout : null, F2 = "undefined" !== typeof setImmediate ? setImmediate : null; | |
| "undefined" !== typeof navigator && void 0 !== navigator.scheduling && void 0 !== navigator.scheduling.isInputPending && navigator.scheduling.isInputPending.bind(navigator.scheduling); | |
| function G2(a2) { | |
| for (var b2 = h2(t2); null !== b2; ) { | |
| if (null === b2.callback) k2(t2); | |
| else if (b2.startTime <= a2) k2(t2), b2.sortIndex = b2.expirationTime, f2(r2, b2); | |
| else break; | |
| b2 = h2(t2); | |
| } | |
| } | |
| function H2(a2) { | |
| B2 = false; | |
| G2(a2); | |
| if (!A2) if (null !== h2(r2)) A2 = true, I2(J2); | |
| else { | |
| var b2 = h2(t2); | |
| null !== b2 && K2(H2, b2.startTime - a2); | |
| } | |
| } | |
| function J2(a2, b2) { | |
| A2 = false; | |
| B2 && (B2 = false, E2(L2), L2 = -1); | |
| z2 = true; | |
| var c2 = y2; | |
| try { | |
| G2(b2); | |
| for (v2 = h2(r2); null !== v2 && (!(v2.expirationTime > b2) || a2 && !M2()); ) { | |
| var d2 = v2.callback; | |
| if ("function" === typeof d2) { | |
| v2.callback = null; | |
| y2 = v2.priorityLevel; | |
| var e2 = d2(v2.expirationTime <= b2); | |
| b2 = exports2.unstable_now(); | |
| "function" === typeof e2 ? v2.callback = e2 : v2 === h2(r2) && k2(r2); | |
| G2(b2); | |
| } else k2(r2); | |
| v2 = h2(r2); | |
| } | |
| if (null !== v2) var w2 = true; | |
| else { | |
| var m2 = h2(t2); | |
| null !== m2 && K2(H2, m2.startTime - b2); | |
| w2 = false; | |
| } | |
| return w2; | |
| } finally { | |
| v2 = null, y2 = c2, z2 = false; | |
| } | |
| } | |
| var N2 = false, O2 = null, L2 = -1, P2 = 5, Q2 = -1; | |
| function M2() { | |
| return exports2.unstable_now() - Q2 < P2 ? false : true; | |
| } | |
| function R2() { | |
| if (null !== O2) { | |
| var a2 = exports2.unstable_now(); | |
| Q2 = a2; | |
| var b2 = true; | |
| try { | |
| b2 = O2(true, a2); | |
| } finally { | |
| b2 ? S2() : (N2 = false, O2 = null); | |
| } | |
| } else N2 = false; | |
| } | |
| var S2; | |
| if ("function" === typeof F2) S2 = function() { | |
| F2(R2); | |
| }; | |
| else if ("undefined" !== typeof MessageChannel) { | |
| var T2 = new MessageChannel(), U2 = T2.port2; | |
| T2.port1.onmessage = R2; | |
| S2 = function() { | |
| U2.postMessage(null); | |
| }; | |
| } else S2 = function() { | |
| D2(R2, 0); | |
| }; | |
| function I2(a2) { | |
| O2 = a2; | |
| N2 || (N2 = true, S2()); | |
| } | |
| function K2(a2, b2) { | |
| L2 = D2(function() { | |
| a2(exports2.unstable_now()); | |
| }, b2); | |
| } | |
| exports2.unstable_IdlePriority = 5; | |
| exports2.unstable_ImmediatePriority = 1; | |
| exports2.unstable_LowPriority = 4; | |
| exports2.unstable_NormalPriority = 3; | |
| exports2.unstable_Profiling = null; | |
| exports2.unstable_UserBlockingPriority = 2; | |
| exports2.unstable_cancelCallback = function(a2) { | |
| a2.callback = null; | |
| }; | |
| exports2.unstable_continueExecution = function() { | |
| A2 || z2 || (A2 = true, I2(J2)); | |
| }; | |
| exports2.unstable_forceFrameRate = function(a2) { | |
| 0 > a2 || 125 < a2 ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : P2 = 0 < a2 ? Math.floor(1e3 / a2) : 5; | |
| }; | |
| exports2.unstable_getCurrentPriorityLevel = function() { | |
| return y2; | |
| }; | |
| exports2.unstable_getFirstCallbackNode = function() { | |
| return h2(r2); | |
| }; | |
| exports2.unstable_next = function(a2) { | |
| switch (y2) { | |
| case 1: | |
| case 2: | |
| case 3: | |
| var b2 = 3; | |
| break; | |
| default: | |
| b2 = y2; | |
| } | |
| var c2 = y2; | |
| y2 = b2; | |
| try { | |
| return a2(); | |
| } finally { | |
| y2 = c2; | |
| } | |
| }; | |
| exports2.unstable_pauseExecution = function() { | |
| }; | |
| exports2.unstable_requestPaint = function() { | |
| }; | |
| exports2.unstable_runWithPriority = function(a2, b2) { | |
| switch (a2) { | |
| case 1: | |
| case 2: | |
| case 3: | |
| case 4: | |
| case 5: | |
| break; | |
| default: | |
| a2 = 3; | |
| } | |
| var c2 = y2; | |
| y2 = a2; | |
| try { | |
| return b2(); | |
| } finally { | |
| y2 = c2; | |
| } | |
| }; | |
| exports2.unstable_scheduleCallback = function(a2, b2, c2) { | |
| var d2 = exports2.unstable_now(); | |
| "object" === typeof c2 && null !== c2 ? (c2 = c2.delay, c2 = "number" === typeof c2 && 0 < c2 ? d2 + c2 : d2) : c2 = d2; | |
| switch (a2) { | |
| case 1: | |
| var e2 = -1; | |
| break; | |
| case 2: | |
| e2 = 250; | |
| break; | |
| case 5: | |
| e2 = 1073741823; | |
| break; | |
| case 4: | |
| e2 = 1e4; | |
| break; | |
| default: | |
| e2 = 5e3; | |
| } | |
| e2 = c2 + e2; | |
| a2 = { id: u2++, callback: b2, priorityLevel: a2, startTime: c2, expirationTime: e2, sortIndex: -1 }; | |
| c2 > d2 ? (a2.sortIndex = c2, f2(t2, a2), null === h2(r2) && a2 === h2(t2) && (B2 ? (E2(L2), L2 = -1) : B2 = true, K2(H2, c2 - d2))) : (a2.sortIndex = e2, f2(r2, a2), A2 || z2 || (A2 = true, I2(J2))); | |
| return a2; | |
| }; | |
| exports2.unstable_shouldYield = M2; | |
| exports2.unstable_wrapCallback = function(a2) { | |
| var b2 = y2; | |
| return function() { | |
| var c2 = y2; | |
| y2 = b2; | |
| try { | |
| return a2.apply(this, arguments); | |
| } finally { | |
| y2 = c2; | |
| } | |
| }; | |
| }; | |
| })(scheduler_production_min); | |
| return scheduler_production_min; | |
| } | |
| var hasRequiredScheduler; | |
| function requireScheduler() { | |
| if (hasRequiredScheduler) return scheduler.exports; | |
| hasRequiredScheduler = 1; | |
| { | |
| scheduler.exports = requireScheduler_production_min(); | |
| } | |
| return scheduler.exports; | |
| } | |
| /** | |
| * @license React | |
| * react-dom.production.min.js | |
| * | |
| * Copyright (c) Facebook, Inc. and its affiliates. | |
| * | |
| * This source code is licensed under the MIT license found in the | |
| * LICENSE file in the root directory of this source tree. | |
| */ | |
| var hasRequiredReactDom_production_min; | |
| function requireReactDom_production_min() { | |
| if (hasRequiredReactDom_production_min) return reactDom_production_min; | |
| hasRequiredReactDom_production_min = 1; | |
| var aa2 = requireReact(), ca2 = requireScheduler(); | |
| function p2(a2) { | |
| for (var b2 = "https://reactjs.org/docs/error-decoder.html?invariant=" + a2, c2 = 1; c2 < arguments.length; c2++) b2 += "&args[]=" + encodeURIComponent(arguments[c2]); | |
| return "Minified React error #" + a2 + "; visit " + b2 + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; | |
| } | |
| var da2 = /* @__PURE__ */ new Set(), ea2 = {}; | |
| function fa2(a2, b2) { | |
| ha2(a2, b2); | |
| ha2(a2 + "Capture", b2); | |
| } | |
| function ha2(a2, b2) { | |
| ea2[a2] = b2; | |
| for (a2 = 0; a2 < b2.length; a2++) da2.add(b2[a2]); | |
| } | |
| var ia2 = !("undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement), ja2 = Object.prototype.hasOwnProperty, ka2 = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, la2 = {}, ma2 = {}; | |
| function oa2(a2) { | |
| if (ja2.call(ma2, a2)) return true; | |
| if (ja2.call(la2, a2)) return false; | |
| if (ka2.test(a2)) return ma2[a2] = true; | |
| la2[a2] = true; | |
| return false; | |
| } | |
| function pa2(a2, b2, c2, d2) { | |
| if (null !== c2 && 0 === c2.type) return false; | |
| switch (typeof b2) { | |
| case "function": | |
| case "symbol": | |
| return true; | |
| case "boolean": | |
| if (d2) return false; | |
| if (null !== c2) return !c2.acceptsBooleans; | |
| a2 = a2.toLowerCase().slice(0, 5); | |
| return "data-" !== a2 && "aria-" !== a2; | |
| default: | |
| return false; | |
| } | |
| } | |
| function qa2(a2, b2, c2, d2) { | |
| if (null === b2 || "undefined" === typeof b2 || pa2(a2, b2, c2, d2)) return true; | |
| if (d2) return false; | |
| if (null !== c2) switch (c2.type) { | |
| case 3: | |
| return !b2; | |
| case 4: | |
| return false === b2; | |
| case 5: | |
| return isNaN(b2); | |
| case 6: | |
| return isNaN(b2) || 1 > b2; | |
| } | |
| return false; | |
| } | |
| function v2(a2, b2, c2, d2, e2, f2, g2) { | |
| this.acceptsBooleans = 2 === b2 || 3 === b2 || 4 === b2; | |
| this.attributeName = d2; | |
| this.attributeNamespace = e2; | |
| this.mustUseProperty = c2; | |
| this.propertyName = a2; | |
| this.type = b2; | |
| this.sanitizeURL = f2; | |
| this.removeEmptyString = g2; | |
| } | |
| var z2 = {}; | |
| "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a2) { | |
| z2[a2] = new v2(a2, 0, false, a2, null, false, false); | |
| }); | |
| [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(a2) { | |
| var b2 = a2[0]; | |
| z2[b2] = new v2(b2, 1, false, a2[1], null, false, false); | |
| }); | |
| ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(a2) { | |
| z2[a2] = new v2(a2, 2, false, a2.toLowerCase(), null, false, false); | |
| }); | |
| ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(a2) { | |
| z2[a2] = new v2(a2, 2, false, a2, null, false, false); | |
| }); | |
| "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a2) { | |
| z2[a2] = new v2(a2, 3, false, a2.toLowerCase(), null, false, false); | |
| }); | |
| ["checked", "multiple", "muted", "selected"].forEach(function(a2) { | |
| z2[a2] = new v2(a2, 3, true, a2, null, false, false); | |
| }); | |
| ["capture", "download"].forEach(function(a2) { | |
| z2[a2] = new v2(a2, 4, false, a2, null, false, false); | |
| }); | |
| ["cols", "rows", "size", "span"].forEach(function(a2) { | |
| z2[a2] = new v2(a2, 6, false, a2, null, false, false); | |
| }); | |
| ["rowSpan", "start"].forEach(function(a2) { | |
| z2[a2] = new v2(a2, 5, false, a2.toLowerCase(), null, false, false); | |
| }); | |
| var ra2 = /[\-:]([a-z])/g; | |
| function sa2(a2) { | |
| return a2[1].toUpperCase(); | |
| } | |
| "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a2) { | |
| var b2 = a2.replace( | |
| ra2, | |
| sa2 | |
| ); | |
| z2[b2] = new v2(b2, 1, false, a2, null, false, false); | |
| }); | |
| "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a2) { | |
| var b2 = a2.replace(ra2, sa2); | |
| z2[b2] = new v2(b2, 1, false, a2, "http://www.w3.org/1999/xlink", false, false); | |
| }); | |
| ["xml:base", "xml:lang", "xml:space"].forEach(function(a2) { | |
| var b2 = a2.replace(ra2, sa2); | |
| z2[b2] = new v2(b2, 1, false, a2, "http://www.w3.org/XML/1998/namespace", false, false); | |
| }); | |
| ["tabIndex", "crossOrigin"].forEach(function(a2) { | |
| z2[a2] = new v2(a2, 1, false, a2.toLowerCase(), null, false, false); | |
| }); | |
| z2.xlinkHref = new v2("xlinkHref", 1, false, "xlink:href", "http://www.w3.org/1999/xlink", true, false); | |
| ["src", "href", "action", "formAction"].forEach(function(a2) { | |
| z2[a2] = new v2(a2, 1, false, a2.toLowerCase(), null, true, true); | |
| }); | |
| function ta2(a2, b2, c2, d2) { | |
| var e2 = z2.hasOwnProperty(b2) ? z2[b2] : null; | |
| if (null !== e2 ? 0 !== e2.type : d2 || !(2 < b2.length) || "o" !== b2[0] && "O" !== b2[0] || "n" !== b2[1] && "N" !== b2[1]) qa2(b2, c2, e2, d2) && (c2 = null), d2 || null === e2 ? oa2(b2) && (null === c2 ? a2.removeAttribute(b2) : a2.setAttribute(b2, "" + c2)) : e2.mustUseProperty ? a2[e2.propertyName] = null === c2 ? 3 === e2.type ? false : "" : c2 : (b2 = e2.attributeName, d2 = e2.attributeNamespace, null === c2 ? a2.removeAttribute(b2) : (e2 = e2.type, c2 = 3 === e2 || 4 === e2 && true === c2 ? "" : "" + c2, d2 ? a2.setAttributeNS(d2, b2, c2) : a2.setAttribute(b2, c2))); | |
| } | |
| var ua2 = aa2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, va2 = Symbol.for("react.element"), wa2 = Symbol.for("react.portal"), ya2 = Symbol.for("react.fragment"), za2 = Symbol.for("react.strict_mode"), Aa2 = Symbol.for("react.profiler"), Ba2 = Symbol.for("react.provider"), Ca2 = Symbol.for("react.context"), Da2 = Symbol.for("react.forward_ref"), Ea2 = Symbol.for("react.suspense"), Fa2 = Symbol.for("react.suspense_list"), Ga2 = Symbol.for("react.memo"), Ha2 = Symbol.for("react.lazy"); | |
| var Ia2 = Symbol.for("react.offscreen"); | |
| var Ja2 = Symbol.iterator; | |
| function Ka2(a2) { | |
| if (null === a2 || "object" !== typeof a2) return null; | |
| a2 = Ja2 && a2[Ja2] || a2["@@iterator"]; | |
| return "function" === typeof a2 ? a2 : null; | |
| } | |
| var A2 = Object.assign, La2; | |
| function Ma2(a2) { | |
| if (void 0 === La2) try { | |
| throw Error(); | |
| } catch (c2) { | |
| var b2 = c2.stack.trim().match(/\n( *(at )?)/); | |
| La2 = b2 && b2[1] || ""; | |
| } | |
| return "\n" + La2 + a2; | |
| } | |
| var Na2 = false; | |
| function Oa2(a2, b2) { | |
| if (!a2 || Na2) return ""; | |
| Na2 = true; | |
| var c2 = Error.prepareStackTrace; | |
| Error.prepareStackTrace = void 0; | |
| try { | |
| if (b2) if (b2 = function() { | |
| throw Error(); | |
| }, Object.defineProperty(b2.prototype, "props", { set: function() { | |
| throw Error(); | |
| } }), "object" === typeof Reflect && Reflect.construct) { | |
| try { | |
| Reflect.construct(b2, []); | |
| } catch (l2) { | |
| var d2 = l2; | |
| } | |
| Reflect.construct(a2, [], b2); | |
| } else { | |
| try { | |
| b2.call(); | |
| } catch (l2) { | |
| d2 = l2; | |
| } | |
| a2.call(b2.prototype); | |
| } | |
| else { | |
| try { | |
| throw Error(); | |
| } catch (l2) { | |
| d2 = l2; | |
| } | |
| a2(); | |
| } | |
| } catch (l2) { | |
| if (l2 && d2 && "string" === typeof l2.stack) { | |
| for (var e2 = l2.stack.split("\n"), f2 = d2.stack.split("\n"), g2 = e2.length - 1, h2 = f2.length - 1; 1 <= g2 && 0 <= h2 && e2[g2] !== f2[h2]; ) h2--; | |
| for (; 1 <= g2 && 0 <= h2; g2--, h2--) if (e2[g2] !== f2[h2]) { | |
| if (1 !== g2 || 1 !== h2) { | |
| do | |
| if (g2--, h2--, 0 > h2 || e2[g2] !== f2[h2]) { | |
| var k2 = "\n" + e2[g2].replace(" at new ", " at "); | |
| a2.displayName && k2.includes("<anonymous>") && (k2 = k2.replace("<anonymous>", a2.displayName)); | |
| return k2; | |
| } | |
| while (1 <= g2 && 0 <= h2); | |
| } | |
| break; | |
| } | |
| } | |
| } finally { | |
| Na2 = false, Error.prepareStackTrace = c2; | |
| } | |
| return (a2 = a2 ? a2.displayName || a2.name : "") ? Ma2(a2) : ""; | |
| } | |
| function Pa2(a2) { | |
| switch (a2.tag) { | |
| case 5: | |
| return Ma2(a2.type); | |
| case 16: | |
| return Ma2("Lazy"); | |
| case 13: | |
| return Ma2("Suspense"); | |
| case 19: | |
| return Ma2("SuspenseList"); | |
| case 0: | |
| case 2: | |
| case 15: | |
| return a2 = Oa2(a2.type, false), a2; | |
| case 11: | |
| return a2 = Oa2(a2.type.render, false), a2; | |
| case 1: | |
| return a2 = Oa2(a2.type, true), a2; | |
| default: | |
| return ""; | |
| } | |
| } | |
| function Qa2(a2) { | |
| if (null == a2) return null; | |
| if ("function" === typeof a2) return a2.displayName || a2.name || null; | |
| if ("string" === typeof a2) return a2; | |
| switch (a2) { | |
| case ya2: | |
| return "Fragment"; | |
| case wa2: | |
| return "Portal"; | |
| case Aa2: | |
| return "Profiler"; | |
| case za2: | |
| return "StrictMode"; | |
| case Ea2: | |
| return "Suspense"; | |
| case Fa2: | |
| return "SuspenseList"; | |
| } | |
| if ("object" === typeof a2) switch (a2.$$typeof) { | |
| case Ca2: | |
| return (a2.displayName || "Context") + ".Consumer"; | |
| case Ba2: | |
| return (a2._context.displayName || "Context") + ".Provider"; | |
| case Da2: | |
| var b2 = a2.render; | |
| a2 = a2.displayName; | |
| a2 || (a2 = b2.displayName || b2.name || "", a2 = "" !== a2 ? "ForwardRef(" + a2 + ")" : "ForwardRef"); | |
| return a2; | |
| case Ga2: | |
| return b2 = a2.displayName || null, null !== b2 ? b2 : Qa2(a2.type) || "Memo"; | |
| case Ha2: | |
| b2 = a2._payload; | |
| a2 = a2._init; | |
| try { | |
| return Qa2(a2(b2)); | |
| } catch (c2) { | |
| } | |
| } | |
| return null; | |
| } | |
| function Ra2(a2) { | |
| var b2 = a2.type; | |
| switch (a2.tag) { | |
| case 24: | |
| return "Cache"; | |
| case 9: | |
| return (b2.displayName || "Context") + ".Consumer"; | |
| case 10: | |
| return (b2._context.displayName || "Context") + ".Provider"; | |
| case 18: | |
| return "DehydratedFragment"; | |
| case 11: | |
| return a2 = b2.render, a2 = a2.displayName || a2.name || "", b2.displayName || ("" !== a2 ? "ForwardRef(" + a2 + ")" : "ForwardRef"); | |
| case 7: | |
| return "Fragment"; | |
| case 5: | |
| return b2; | |
| case 4: | |
| return "Portal"; | |
| case 3: | |
| return "Root"; | |
| case 6: | |
| return "Text"; | |
| case 16: | |
| return Qa2(b2); | |
| case 8: | |
| return b2 === za2 ? "StrictMode" : "Mode"; | |
| case 22: | |
| return "Offscreen"; | |
| case 12: | |
| return "Profiler"; | |
| case 21: | |
| return "Scope"; | |
| case 13: | |
| return "Suspense"; | |
| case 19: | |
| return "SuspenseList"; | |
| case 25: | |
| return "TracingMarker"; | |
| case 1: | |
| case 0: | |
| case 17: | |
| case 2: | |
| case 14: | |
| case 15: | |
| if ("function" === typeof b2) return b2.displayName || b2.name || null; | |
| if ("string" === typeof b2) return b2; | |
| } | |
| return null; | |
| } | |
| function Sa2(a2) { | |
| switch (typeof a2) { | |
| case "boolean": | |
| case "number": | |
| case "string": | |
| case "undefined": | |
| return a2; | |
| case "object": | |
| return a2; | |
| default: | |
| return ""; | |
| } | |
| } | |
| function Ta2(a2) { | |
| var b2 = a2.type; | |
| return (a2 = a2.nodeName) && "input" === a2.toLowerCase() && ("checkbox" === b2 || "radio" === b2); | |
| } | |
| function Ua2(a2) { | |
| var b2 = Ta2(a2) ? "checked" : "value", c2 = Object.getOwnPropertyDescriptor(a2.constructor.prototype, b2), d2 = "" + a2[b2]; | |
| if (!a2.hasOwnProperty(b2) && "undefined" !== typeof c2 && "function" === typeof c2.get && "function" === typeof c2.set) { | |
| var e2 = c2.get, f2 = c2.set; | |
| Object.defineProperty(a2, b2, { configurable: true, get: function() { | |
| return e2.call(this); | |
| }, set: function(a3) { | |
| d2 = "" + a3; | |
| f2.call(this, a3); | |
| } }); | |
| Object.defineProperty(a2, b2, { enumerable: c2.enumerable }); | |
| return { getValue: function() { | |
| return d2; | |
| }, setValue: function(a3) { | |
| d2 = "" + a3; | |
| }, stopTracking: function() { | |
| a2._valueTracker = null; | |
| delete a2[b2]; | |
| } }; | |
| } | |
| } | |
| function Va2(a2) { | |
| a2._valueTracker || (a2._valueTracker = Ua2(a2)); | |
| } | |
| function Wa2(a2) { | |
| if (!a2) return false; | |
| var b2 = a2._valueTracker; | |
| if (!b2) return true; | |
| var c2 = b2.getValue(); | |
| var d2 = ""; | |
| a2 && (d2 = Ta2(a2) ? a2.checked ? "true" : "false" : a2.value); | |
| a2 = d2; | |
| return a2 !== c2 ? (b2.setValue(a2), true) : false; | |
| } | |
| function Xa2(a2) { | |
| a2 = a2 || ("undefined" !== typeof document ? document : void 0); | |
| if ("undefined" === typeof a2) return null; | |
| try { | |
| return a2.activeElement || a2.body; | |
| } catch (b2) { | |
| return a2.body; | |
| } | |
| } | |
| function Ya2(a2, b2) { | |
| var c2 = b2.checked; | |
| return A2({}, b2, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: null != c2 ? c2 : a2._wrapperState.initialChecked }); | |
| } | |
| function Za2(a2, b2) { | |
| var c2 = null == b2.defaultValue ? "" : b2.defaultValue, d2 = null != b2.checked ? b2.checked : b2.defaultChecked; | |
| c2 = Sa2(null != b2.value ? b2.value : c2); | |
| a2._wrapperState = { initialChecked: d2, initialValue: c2, controlled: "checkbox" === b2.type || "radio" === b2.type ? null != b2.checked : null != b2.value }; | |
| } | |
| function ab(a2, b2) { | |
| b2 = b2.checked; | |
| null != b2 && ta2(a2, "checked", b2, false); | |
| } | |
| function bb(a2, b2) { | |
| ab(a2, b2); | |
| var c2 = Sa2(b2.value), d2 = b2.type; | |
| if (null != c2) if ("number" === d2) { | |
| if (0 === c2 && "" === a2.value || a2.value != c2) a2.value = "" + c2; | |
| } else a2.value !== "" + c2 && (a2.value = "" + c2); | |
| else if ("submit" === d2 || "reset" === d2) { | |
| a2.removeAttribute("value"); | |
| return; | |
| } | |
| b2.hasOwnProperty("value") ? cb(a2, b2.type, c2) : b2.hasOwnProperty("defaultValue") && cb(a2, b2.type, Sa2(b2.defaultValue)); | |
| null == b2.checked && null != b2.defaultChecked && (a2.defaultChecked = !!b2.defaultChecked); | |
| } | |
| function db(a2, b2, c2) { | |
| if (b2.hasOwnProperty("value") || b2.hasOwnProperty("defaultValue")) { | |
| var d2 = b2.type; | |
| if (!("submit" !== d2 && "reset" !== d2 || void 0 !== b2.value && null !== b2.value)) return; | |
| b2 = "" + a2._wrapperState.initialValue; | |
| c2 || b2 === a2.value || (a2.value = b2); | |
| a2.defaultValue = b2; | |
| } | |
| c2 = a2.name; | |
| "" !== c2 && (a2.name = ""); | |
| a2.defaultChecked = !!a2._wrapperState.initialChecked; | |
| "" !== c2 && (a2.name = c2); | |
| } | |
| function cb(a2, b2, c2) { | |
| if ("number" !== b2 || Xa2(a2.ownerDocument) !== a2) null == c2 ? a2.defaultValue = "" + a2._wrapperState.initialValue : a2.defaultValue !== "" + c2 && (a2.defaultValue = "" + c2); | |
| } | |
| var eb = Array.isArray; | |
| function fb(a2, b2, c2, d2) { | |
| a2 = a2.options; | |
| if (b2) { | |
| b2 = {}; | |
| for (var e2 = 0; e2 < c2.length; e2++) b2["$" + c2[e2]] = true; | |
| for (c2 = 0; c2 < a2.length; c2++) e2 = b2.hasOwnProperty("$" + a2[c2].value), a2[c2].selected !== e2 && (a2[c2].selected = e2), e2 && d2 && (a2[c2].defaultSelected = true); | |
| } else { | |
| c2 = "" + Sa2(c2); | |
| b2 = null; | |
| for (e2 = 0; e2 < a2.length; e2++) { | |
| if (a2[e2].value === c2) { | |
| a2[e2].selected = true; | |
| d2 && (a2[e2].defaultSelected = true); | |
| return; | |
| } | |
| null !== b2 || a2[e2].disabled || (b2 = a2[e2]); | |
| } | |
| null !== b2 && (b2.selected = true); | |
| } | |
| } | |
| function gb(a2, b2) { | |
| if (null != b2.dangerouslySetInnerHTML) throw Error(p2(91)); | |
| return A2({}, b2, { value: void 0, defaultValue: void 0, children: "" + a2._wrapperState.initialValue }); | |
| } | |
| function hb(a2, b2) { | |
| var c2 = b2.value; | |
| if (null == c2) { | |
| c2 = b2.children; | |
| b2 = b2.defaultValue; | |
| if (null != c2) { | |
| if (null != b2) throw Error(p2(92)); | |
| if (eb(c2)) { | |
| if (1 < c2.length) throw Error(p2(93)); | |
| c2 = c2[0]; | |
| } | |
| b2 = c2; | |
| } | |
| null == b2 && (b2 = ""); | |
| c2 = b2; | |
| } | |
| a2._wrapperState = { initialValue: Sa2(c2) }; | |
| } | |
| function ib(a2, b2) { | |
| var c2 = Sa2(b2.value), d2 = Sa2(b2.defaultValue); | |
| null != c2 && (c2 = "" + c2, c2 !== a2.value && (a2.value = c2), null == b2.defaultValue && a2.defaultValue !== c2 && (a2.defaultValue = c2)); | |
| null != d2 && (a2.defaultValue = "" + d2); | |
| } | |
| function jb(a2) { | |
| var b2 = a2.textContent; | |
| b2 === a2._wrapperState.initialValue && "" !== b2 && null !== b2 && (a2.value = b2); | |
| } | |
| function kb(a2) { | |
| switch (a2) { | |
| case "svg": | |
| return "http://www.w3.org/2000/svg"; | |
| case "math": | |
| return "http://www.w3.org/1998/Math/MathML"; | |
| default: | |
| return "http://www.w3.org/1999/xhtml"; | |
| } | |
| } | |
| function lb(a2, b2) { | |
| return null == a2 || "http://www.w3.org/1999/xhtml" === a2 ? kb(b2) : "http://www.w3.org/2000/svg" === a2 && "foreignObject" === b2 ? "http://www.w3.org/1999/xhtml" : a2; | |
| } | |
| var mb, nb = function(a2) { | |
| return "undefined" !== typeof MSApp && MSApp.execUnsafeLocalFunction ? function(b2, c2, d2, e2) { | |
| MSApp.execUnsafeLocalFunction(function() { | |
| return a2(b2, c2, d2, e2); | |
| }); | |
| } : a2; | |
| }(function(a2, b2) { | |
| if ("http://www.w3.org/2000/svg" !== a2.namespaceURI || "innerHTML" in a2) a2.innerHTML = b2; | |
| else { | |
| mb = mb || document.createElement("div"); | |
| mb.innerHTML = "<svg>" + b2.valueOf().toString() + "</svg>"; | |
| for (b2 = mb.firstChild; a2.firstChild; ) a2.removeChild(a2.firstChild); | |
| for (; b2.firstChild; ) a2.appendChild(b2.firstChild); | |
| } | |
| }); | |
| function ob(a2, b2) { | |
| if (b2) { | |
| var c2 = a2.firstChild; | |
| if (c2 && c2 === a2.lastChild && 3 === c2.nodeType) { | |
| c2.nodeValue = b2; | |
| return; | |
| } | |
| } | |
| a2.textContent = b2; | |
| } | |
| var pb = { | |
| animationIterationCount: true, | |
| aspectRatio: true, | |
| borderImageOutset: true, | |
| borderImageSlice: true, | |
| borderImageWidth: true, | |
| boxFlex: true, | |
| boxFlexGroup: true, | |
| boxOrdinalGroup: true, | |
| columnCount: true, | |
| columns: true, | |
| flex: true, | |
| flexGrow: true, | |
| flexPositive: true, | |
| flexShrink: true, | |
| flexNegative: true, | |
| flexOrder: true, | |
| gridArea: true, | |
| gridRow: true, | |
| gridRowEnd: true, | |
| gridRowSpan: true, | |
| gridRowStart: true, | |
| gridColumn: true, | |
| gridColumnEnd: true, | |
| gridColumnSpan: true, | |
| gridColumnStart: true, | |
| fontWeight: true, | |
| lineClamp: true, | |
| lineHeight: true, | |
| opacity: true, | |
| order: true, | |
| orphans: true, | |
| tabSize: true, | |
| widows: true, | |
| zIndex: true, | |
| zoom: true, | |
| fillOpacity: true, | |
| floodOpacity: true, | |
| stopOpacity: true, | |
| strokeDasharray: true, | |
| strokeDashoffset: true, | |
| strokeMiterlimit: true, | |
| strokeOpacity: true, | |
| strokeWidth: true | |
| }, qb = ["Webkit", "ms", "Moz", "O"]; | |
| Object.keys(pb).forEach(function(a2) { | |
| qb.forEach(function(b2) { | |
| b2 = b2 + a2.charAt(0).toUpperCase() + a2.substring(1); | |
| pb[b2] = pb[a2]; | |
| }); | |
| }); | |
| function rb(a2, b2, c2) { | |
| return null == b2 || "boolean" === typeof b2 || "" === b2 ? "" : c2 || "number" !== typeof b2 || 0 === b2 || pb.hasOwnProperty(a2) && pb[a2] ? ("" + b2).trim() : b2 + "px"; | |
| } | |
| function sb(a2, b2) { | |
| a2 = a2.style; | |
| for (var c2 in b2) if (b2.hasOwnProperty(c2)) { | |
| var d2 = 0 === c2.indexOf("--"), e2 = rb(c2, b2[c2], d2); | |
| "float" === c2 && (c2 = "cssFloat"); | |
| d2 ? a2.setProperty(c2, e2) : a2[c2] = e2; | |
| } | |
| } | |
| var tb = A2({ menuitem: true }, { area: true, base: true, br: true, col: true, embed: true, hr: true, img: true, input: true, keygen: true, link: true, meta: true, param: true, source: true, track: true, wbr: true }); | |
| function ub(a2, b2) { | |
| if (b2) { | |
| if (tb[a2] && (null != b2.children || null != b2.dangerouslySetInnerHTML)) throw Error(p2(137, a2)); | |
| if (null != b2.dangerouslySetInnerHTML) { | |
| if (null != b2.children) throw Error(p2(60)); | |
| if ("object" !== typeof b2.dangerouslySetInnerHTML || !("__html" in b2.dangerouslySetInnerHTML)) throw Error(p2(61)); | |
| } | |
| if (null != b2.style && "object" !== typeof b2.style) throw Error(p2(62)); | |
| } | |
| } | |
| function vb(a2, b2) { | |
| if (-1 === a2.indexOf("-")) return "string" === typeof b2.is; | |
| switch (a2) { | |
| case "annotation-xml": | |
| case "color-profile": | |
| case "font-face": | |
| case "font-face-src": | |
| case "font-face-uri": | |
| case "font-face-format": | |
| case "font-face-name": | |
| case "missing-glyph": | |
| return false; | |
| default: | |
| return true; | |
| } | |
| } | |
| var wb = null; | |
| function xb(a2) { | |
| a2 = a2.target || a2.srcElement || window; | |
| a2.correspondingUseElement && (a2 = a2.correspondingUseElement); | |
| return 3 === a2.nodeType ? a2.parentNode : a2; | |
| } | |
| var yb = null, zb = null, Ab = null; | |
| function Bb(a2) { | |
| if (a2 = Cb(a2)) { | |
| if ("function" !== typeof yb) throw Error(p2(280)); | |
| var b2 = a2.stateNode; | |
| b2 && (b2 = Db(b2), yb(a2.stateNode, a2.type, b2)); | |
| } | |
| } | |
| function Eb(a2) { | |
| zb ? Ab ? Ab.push(a2) : Ab = [a2] : zb = a2; | |
| } | |
| function Fb() { | |
| if (zb) { | |
| var a2 = zb, b2 = Ab; | |
| Ab = zb = null; | |
| Bb(a2); | |
| if (b2) for (a2 = 0; a2 < b2.length; a2++) Bb(b2[a2]); | |
| } | |
| } | |
| function Gb(a2, b2) { | |
| return a2(b2); | |
| } | |
| function Hb() { | |
| } | |
| var Ib = false; | |
| function Jb(a2, b2, c2) { | |
| if (Ib) return a2(b2, c2); | |
| Ib = true; | |
| try { | |
| return Gb(a2, b2, c2); | |
| } finally { | |
| if (Ib = false, null !== zb || null !== Ab) Hb(), Fb(); | |
| } | |
| } | |
| function Kb(a2, b2) { | |
| var c2 = a2.stateNode; | |
| if (null === c2) return null; | |
| var d2 = Db(c2); | |
| if (null === d2) return null; | |
| c2 = d2[b2]; | |
| a: switch (b2) { | |
| case "onClick": | |
| case "onClickCapture": | |
| case "onDoubleClick": | |
| case "onDoubleClickCapture": | |
| case "onMouseDown": | |
| case "onMouseDownCapture": | |
| case "onMouseMove": | |
| case "onMouseMoveCapture": | |
| case "onMouseUp": | |
| case "onMouseUpCapture": | |
| case "onMouseEnter": | |
| (d2 = !d2.disabled) || (a2 = a2.type, d2 = !("button" === a2 || "input" === a2 || "select" === a2 || "textarea" === a2)); | |
| a2 = !d2; | |
| break a; | |
| default: | |
| a2 = false; | |
| } | |
| if (a2) return null; | |
| if (c2 && "function" !== typeof c2) throw Error(p2(231, b2, typeof c2)); | |
| return c2; | |
| } | |
| var Lb = false; | |
| if (ia2) try { | |
| var Mb = {}; | |
| Object.defineProperty(Mb, "passive", { get: function() { | |
| Lb = true; | |
| } }); | |
| window.addEventListener("test", Mb, Mb); | |
| window.removeEventListener("test", Mb, Mb); | |
| } catch (a2) { | |
| Lb = false; | |
| } | |
| function Nb(a2, b2, c2, d2, e2, f2, g2, h2, k2) { | |
| var l2 = Array.prototype.slice.call(arguments, 3); | |
| try { | |
| b2.apply(c2, l2); | |
| } catch (m2) { | |
| this.onError(m2); | |
| } | |
| } | |
| var Ob = false, Pb = null, Qb = false, Rb = null, Sb = { onError: function(a2) { | |
| Ob = true; | |
| Pb = a2; | |
| } }; | |
| function Tb(a2, b2, c2, d2, e2, f2, g2, h2, k2) { | |
| Ob = false; | |
| Pb = null; | |
| Nb.apply(Sb, arguments); | |
| } | |
| function Ub(a2, b2, c2, d2, e2, f2, g2, h2, k2) { | |
| Tb.apply(this, arguments); | |
| if (Ob) { | |
| if (Ob) { | |
| var l2 = Pb; | |
| Ob = false; | |
| Pb = null; | |
| } else throw Error(p2(198)); | |
| Qb || (Qb = true, Rb = l2); | |
| } | |
| } | |
| function Vb(a2) { | |
| var b2 = a2, c2 = a2; | |
| if (a2.alternate) for (; b2.return; ) b2 = b2.return; | |
| else { | |
| a2 = b2; | |
| do | |
| b2 = a2, 0 !== (b2.flags & 4098) && (c2 = b2.return), a2 = b2.return; | |
| while (a2); | |
| } | |
| return 3 === b2.tag ? c2 : null; | |
| } | |
| function Wb(a2) { | |
| if (13 === a2.tag) { | |
| var b2 = a2.memoizedState; | |
| null === b2 && (a2 = a2.alternate, null !== a2 && (b2 = a2.memoizedState)); | |
| if (null !== b2) return b2.dehydrated; | |
| } | |
| return null; | |
| } | |
| function Xb(a2) { | |
| if (Vb(a2) !== a2) throw Error(p2(188)); | |
| } | |
| function Yb(a2) { | |
| var b2 = a2.alternate; | |
| if (!b2) { | |
| b2 = Vb(a2); | |
| if (null === b2) throw Error(p2(188)); | |
| return b2 !== a2 ? null : a2; | |
| } | |
| for (var c2 = a2, d2 = b2; ; ) { | |
| var e2 = c2.return; | |
| if (null === e2) break; | |
| var f2 = e2.alternate; | |
| if (null === f2) { | |
| d2 = e2.return; | |
| if (null !== d2) { | |
| c2 = d2; | |
| continue; | |
| } | |
| break; | |
| } | |
| if (e2.child === f2.child) { | |
| for (f2 = e2.child; f2; ) { | |
| if (f2 === c2) return Xb(e2), a2; | |
| if (f2 === d2) return Xb(e2), b2; | |
| f2 = f2.sibling; | |
| } | |
| throw Error(p2(188)); | |
| } | |
| if (c2.return !== d2.return) c2 = e2, d2 = f2; | |
| else { | |
| for (var g2 = false, h2 = e2.child; h2; ) { | |
| if (h2 === c2) { | |
| g2 = true; | |
| c2 = e2; | |
| d2 = f2; | |
| break; | |
| } | |
| if (h2 === d2) { | |
| g2 = true; | |
| d2 = e2; | |
| c2 = f2; | |
| break; | |
| } | |
| h2 = h2.sibling; | |
| } | |
| if (!g2) { | |
| for (h2 = f2.child; h2; ) { | |
| if (h2 === c2) { | |
| g2 = true; | |
| c2 = f2; | |
| d2 = e2; | |
| break; | |
| } | |
| if (h2 === d2) { | |
| g2 = true; | |
| d2 = f2; | |
| c2 = e2; | |
| break; | |
| } | |
| h2 = h2.sibling; | |
| } | |
| if (!g2) throw Error(p2(189)); | |
| } | |
| } | |
| if (c2.alternate !== d2) throw Error(p2(190)); | |
| } | |
| if (3 !== c2.tag) throw Error(p2(188)); | |
| return c2.stateNode.current === c2 ? a2 : b2; | |
| } | |
| function Zb(a2) { | |
| a2 = Yb(a2); | |
| return null !== a2 ? $b(a2) : null; | |
| } | |
| function $b(a2) { | |
| if (5 === a2.tag || 6 === a2.tag) return a2; | |
| for (a2 = a2.child; null !== a2; ) { | |
| var b2 = $b(a2); | |
| if (null !== b2) return b2; | |
| a2 = a2.sibling; | |
| } | |
| return null; | |
| } | |
| var ac2 = ca2.unstable_scheduleCallback, bc2 = ca2.unstable_cancelCallback, cc2 = ca2.unstable_shouldYield, dc2 = ca2.unstable_requestPaint, B2 = ca2.unstable_now, ec2 = ca2.unstable_getCurrentPriorityLevel, fc2 = ca2.unstable_ImmediatePriority, gc2 = ca2.unstable_UserBlockingPriority, hc2 = ca2.unstable_NormalPriority, ic2 = ca2.unstable_LowPriority, jc2 = ca2.unstable_IdlePriority, kc2 = null, lc2 = null; | |
| function mc2(a2) { | |
| if (lc2 && "function" === typeof lc2.onCommitFiberRoot) try { | |
| lc2.onCommitFiberRoot(kc2, a2, void 0, 128 === (a2.current.flags & 128)); | |
| } catch (b2) { | |
| } | |
| } | |
| var oc2 = Math.clz32 ? Math.clz32 : nc2, pc2 = Math.log, qc2 = Math.LN2; | |
| function nc2(a2) { | |
| a2 >>>= 0; | |
| return 0 === a2 ? 32 : 31 - (pc2(a2) / qc2 | 0) | 0; | |
| } | |
| var rc2 = 64, sc2 = 4194304; | |
| function tc2(a2) { | |
| switch (a2 & -a2) { | |
| case 1: | |
| return 1; | |
| case 2: | |
| return 2; | |
| case 4: | |
| return 4; | |
| case 8: | |
| return 8; | |
| case 16: | |
| return 16; | |
| case 32: | |
| return 32; | |
| case 64: | |
| case 128: | |
| case 256: | |
| case 512: | |
| case 1024: | |
| case 2048: | |
| case 4096: | |
| case 8192: | |
| case 16384: | |
| case 32768: | |
| case 65536: | |
| case 131072: | |
| case 262144: | |
| case 524288: | |
| case 1048576: | |
| case 2097152: | |
| return a2 & 4194240; | |
| case 4194304: | |
| case 8388608: | |
| case 16777216: | |
| case 33554432: | |
| case 67108864: | |
| return a2 & 130023424; | |
| case 134217728: | |
| return 134217728; | |
| case 268435456: | |
| return 268435456; | |
| case 536870912: | |
| return 536870912; | |
| case 1073741824: | |
| return 1073741824; | |
| default: | |
| return a2; | |
| } | |
| } | |
| function uc2(a2, b2) { | |
| var c2 = a2.pendingLanes; | |
| if (0 === c2) return 0; | |
| var d2 = 0, e2 = a2.suspendedLanes, f2 = a2.pingedLanes, g2 = c2 & 268435455; | |
| if (0 !== g2) { | |
| var h2 = g2 & ~e2; | |
| 0 !== h2 ? d2 = tc2(h2) : (f2 &= g2, 0 !== f2 && (d2 = tc2(f2))); | |
| } else g2 = c2 & ~e2, 0 !== g2 ? d2 = tc2(g2) : 0 !== f2 && (d2 = tc2(f2)); | |
| if (0 === d2) return 0; | |
| if (0 !== b2 && b2 !== d2 && 0 === (b2 & e2) && (e2 = d2 & -d2, f2 = b2 & -b2, e2 >= f2 || 16 === e2 && 0 !== (f2 & 4194240))) return b2; | |
| 0 !== (d2 & 4) && (d2 |= c2 & 16); | |
| b2 = a2.entangledLanes; | |
| if (0 !== b2) for (a2 = a2.entanglements, b2 &= d2; 0 < b2; ) c2 = 31 - oc2(b2), e2 = 1 << c2, d2 |= a2[c2], b2 &= ~e2; | |
| return d2; | |
| } | |
| function vc2(a2, b2) { | |
| switch (a2) { | |
| case 1: | |
| case 2: | |
| case 4: | |
| return b2 + 250; | |
| case 8: | |
| case 16: | |
| case 32: | |
| case 64: | |
| case 128: | |
| case 256: | |
| case 512: | |
| case 1024: | |
| case 2048: | |
| case 4096: | |
| case 8192: | |
| case 16384: | |
| case 32768: | |
| case 65536: | |
| case 131072: | |
| case 262144: | |
| case 524288: | |
| case 1048576: | |
| case 2097152: | |
| return b2 + 5e3; | |
| case 4194304: | |
| case 8388608: | |
| case 16777216: | |
| case 33554432: | |
| case 67108864: | |
| return -1; | |
| case 134217728: | |
| case 268435456: | |
| case 536870912: | |
| case 1073741824: | |
| return -1; | |
| default: | |
| return -1; | |
| } | |
| } | |
| function wc2(a2, b2) { | |
| for (var c2 = a2.suspendedLanes, d2 = a2.pingedLanes, e2 = a2.expirationTimes, f2 = a2.pendingLanes; 0 < f2; ) { | |
| var g2 = 31 - oc2(f2), h2 = 1 << g2, k2 = e2[g2]; | |
| if (-1 === k2) { | |
| if (0 === (h2 & c2) || 0 !== (h2 & d2)) e2[g2] = vc2(h2, b2); | |
| } else k2 <= b2 && (a2.expiredLanes |= h2); | |
| f2 &= ~h2; | |
| } | |
| } | |
| function xc2(a2) { | |
| a2 = a2.pendingLanes & -1073741825; | |
| return 0 !== a2 ? a2 : a2 & 1073741824 ? 1073741824 : 0; | |
| } | |
| function yc2() { | |
| var a2 = rc2; | |
| rc2 <<= 1; | |
| 0 === (rc2 & 4194240) && (rc2 = 64); | |
| return a2; | |
| } | |
| function zc2(a2) { | |
| for (var b2 = [], c2 = 0; 31 > c2; c2++) b2.push(a2); | |
| return b2; | |
| } | |
| function Ac2(a2, b2, c2) { | |
| a2.pendingLanes |= b2; | |
| 536870912 !== b2 && (a2.suspendedLanes = 0, a2.pingedLanes = 0); | |
| a2 = a2.eventTimes; | |
| b2 = 31 - oc2(b2); | |
| a2[b2] = c2; | |
| } | |
| function Bc2(a2, b2) { | |
| var c2 = a2.pendingLanes & ~b2; | |
| a2.pendingLanes = b2; | |
| a2.suspendedLanes = 0; | |
| a2.pingedLanes = 0; | |
| a2.expiredLanes &= b2; | |
| a2.mutableReadLanes &= b2; | |
| a2.entangledLanes &= b2; | |
| b2 = a2.entanglements; | |
| var d2 = a2.eventTimes; | |
| for (a2 = a2.expirationTimes; 0 < c2; ) { | |
| var e2 = 31 - oc2(c2), f2 = 1 << e2; | |
| b2[e2] = 0; | |
| d2[e2] = -1; | |
| a2[e2] = -1; | |
| c2 &= ~f2; | |
| } | |
| } | |
| function Cc2(a2, b2) { | |
| var c2 = a2.entangledLanes |= b2; | |
| for (a2 = a2.entanglements; c2; ) { | |
| var d2 = 31 - oc2(c2), e2 = 1 << d2; | |
| e2 & b2 | a2[d2] & b2 && (a2[d2] |= b2); | |
| c2 &= ~e2; | |
| } | |
| } | |
| var C2 = 0; | |
| function Dc2(a2) { | |
| a2 &= -a2; | |
| return 1 < a2 ? 4 < a2 ? 0 !== (a2 & 268435455) ? 16 : 536870912 : 4 : 1; | |
| } | |
| var Ec2, Fc2, Gc2, Hc2, Ic2, Jc2 = false, Kc2 = [], Lc2 = null, Mc2 = null, Nc2 = null, Oc2 = /* @__PURE__ */ new Map(), Pc2 = /* @__PURE__ */ new Map(), Qc2 = [], Rc2 = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" "); | |
| function Sc2(a2, b2) { | |
| switch (a2) { | |
| case "focusin": | |
| case "focusout": | |
| Lc2 = null; | |
| break; | |
| case "dragenter": | |
| case "dragleave": | |
| Mc2 = null; | |
| break; | |
| case "mouseover": | |
| case "mouseout": | |
| Nc2 = null; | |
| break; | |
| case "pointerover": | |
| case "pointerout": | |
| Oc2.delete(b2.pointerId); | |
| break; | |
| case "gotpointercapture": | |
| case "lostpointercapture": | |
| Pc2.delete(b2.pointerId); | |
| } | |
| } | |
| function Tc2(a2, b2, c2, d2, e2, f2) { | |
| if (null === a2 || a2.nativeEvent !== f2) return a2 = { blockedOn: b2, domEventName: c2, eventSystemFlags: d2, nativeEvent: f2, targetContainers: [e2] }, null !== b2 && (b2 = Cb(b2), null !== b2 && Fc2(b2)), a2; | |
| a2.eventSystemFlags |= d2; | |
| b2 = a2.targetContainers; | |
| null !== e2 && -1 === b2.indexOf(e2) && b2.push(e2); | |
| return a2; | |
| } | |
| function Uc2(a2, b2, c2, d2, e2) { | |
| switch (b2) { | |
| case "focusin": | |
| return Lc2 = Tc2(Lc2, a2, b2, c2, d2, e2), true; | |
| case "dragenter": | |
| return Mc2 = Tc2(Mc2, a2, b2, c2, d2, e2), true; | |
| case "mouseover": | |
| return Nc2 = Tc2(Nc2, a2, b2, c2, d2, e2), true; | |
| case "pointerover": | |
| var f2 = e2.pointerId; | |
| Oc2.set(f2, Tc2(Oc2.get(f2) || null, a2, b2, c2, d2, e2)); | |
| return true; | |
| case "gotpointercapture": | |
| return f2 = e2.pointerId, Pc2.set(f2, Tc2(Pc2.get(f2) || null, a2, b2, c2, d2, e2)), true; | |
| } | |
| return false; | |
| } | |
| function Vc2(a2) { | |
| var b2 = Wc2(a2.target); | |
| if (null !== b2) { | |
| var c2 = Vb(b2); | |
| if (null !== c2) { | |
| if (b2 = c2.tag, 13 === b2) { | |
| if (b2 = Wb(c2), null !== b2) { | |
| a2.blockedOn = b2; | |
| Ic2(a2.priority, function() { | |
| Gc2(c2); | |
| }); | |
| return; | |
| } | |
| } else if (3 === b2 && c2.stateNode.current.memoizedState.isDehydrated) { | |
| a2.blockedOn = 3 === c2.tag ? c2.stateNode.containerInfo : null; | |
| return; | |
| } | |
| } | |
| } | |
| a2.blockedOn = null; | |
| } | |
| function Xc2(a2) { | |
| if (null !== a2.blockedOn) return false; | |
| for (var b2 = a2.targetContainers; 0 < b2.length; ) { | |
| var c2 = Yc2(a2.domEventName, a2.eventSystemFlags, b2[0], a2.nativeEvent); | |
| if (null === c2) { | |
| c2 = a2.nativeEvent; | |
| var d2 = new c2.constructor(c2.type, c2); | |
| wb = d2; | |
| c2.target.dispatchEvent(d2); | |
| wb = null; | |
| } else return b2 = Cb(c2), null !== b2 && Fc2(b2), a2.blockedOn = c2, false; | |
| b2.shift(); | |
| } | |
| return true; | |
| } | |
| function Zc2(a2, b2, c2) { | |
| Xc2(a2) && c2.delete(b2); | |
| } | |
| function $c2() { | |
| Jc2 = false; | |
| null !== Lc2 && Xc2(Lc2) && (Lc2 = null); | |
| null !== Mc2 && Xc2(Mc2) && (Mc2 = null); | |
| null !== Nc2 && Xc2(Nc2) && (Nc2 = null); | |
| Oc2.forEach(Zc2); | |
| Pc2.forEach(Zc2); | |
| } | |
| function ad2(a2, b2) { | |
| a2.blockedOn === b2 && (a2.blockedOn = null, Jc2 || (Jc2 = true, ca2.unstable_scheduleCallback(ca2.unstable_NormalPriority, $c2))); | |
| } | |
| function bd2(a2) { | |
| function b2(b4) { | |
| return ad2(b4, a2); | |
| } | |
| if (0 < Kc2.length) { | |
| ad2(Kc2[0], a2); | |
| for (var c2 = 1; c2 < Kc2.length; c2++) { | |
| var d2 = Kc2[c2]; | |
| d2.blockedOn === a2 && (d2.blockedOn = null); | |
| } | |
| } | |
| null !== Lc2 && ad2(Lc2, a2); | |
| null !== Mc2 && ad2(Mc2, a2); | |
| null !== Nc2 && ad2(Nc2, a2); | |
| Oc2.forEach(b2); | |
| Pc2.forEach(b2); | |
| for (c2 = 0; c2 < Qc2.length; c2++) d2 = Qc2[c2], d2.blockedOn === a2 && (d2.blockedOn = null); | |
| for (; 0 < Qc2.length && (c2 = Qc2[0], null === c2.blockedOn); ) Vc2(c2), null === c2.blockedOn && Qc2.shift(); | |
| } | |
| var cd2 = ua2.ReactCurrentBatchConfig, dd2 = true; | |
| function ed2(a2, b2, c2, d2) { | |
| var e2 = C2, f2 = cd2.transition; | |
| cd2.transition = null; | |
| try { | |
| C2 = 1, fd2(a2, b2, c2, d2); | |
| } finally { | |
| C2 = e2, cd2.transition = f2; | |
| } | |
| } | |
| function gd2(a2, b2, c2, d2) { | |
| var e2 = C2, f2 = cd2.transition; | |
| cd2.transition = null; | |
| try { | |
| C2 = 4, fd2(a2, b2, c2, d2); | |
| } finally { | |
| C2 = e2, cd2.transition = f2; | |
| } | |
| } | |
| function fd2(a2, b2, c2, d2) { | |
| if (dd2) { | |
| var e2 = Yc2(a2, b2, c2, d2); | |
| if (null === e2) hd2(a2, b2, d2, id2, c2), Sc2(a2, d2); | |
| else if (Uc2(e2, a2, b2, c2, d2)) d2.stopPropagation(); | |
| else if (Sc2(a2, d2), b2 & 4 && -1 < Rc2.indexOf(a2)) { | |
| for (; null !== e2; ) { | |
| var f2 = Cb(e2); | |
| null !== f2 && Ec2(f2); | |
| f2 = Yc2(a2, b2, c2, d2); | |
| null === f2 && hd2(a2, b2, d2, id2, c2); | |
| if (f2 === e2) break; | |
| e2 = f2; | |
| } | |
| null !== e2 && d2.stopPropagation(); | |
| } else hd2(a2, b2, d2, null, c2); | |
| } | |
| } | |
| var id2 = null; | |
| function Yc2(a2, b2, c2, d2) { | |
| id2 = null; | |
| a2 = xb(d2); | |
| a2 = Wc2(a2); | |
| if (null !== a2) if (b2 = Vb(a2), null === b2) a2 = null; | |
| else if (c2 = b2.tag, 13 === c2) { | |
| a2 = Wb(b2); | |
| if (null !== a2) return a2; | |
| a2 = null; | |
| } else if (3 === c2) { | |
| if (b2.stateNode.current.memoizedState.isDehydrated) return 3 === b2.tag ? b2.stateNode.containerInfo : null; | |
| a2 = null; | |
| } else b2 !== a2 && (a2 = null); | |
| id2 = a2; | |
| return null; | |
| } | |
| function jd2(a2) { | |
| switch (a2) { | |
| case "cancel": | |
| case "click": | |
| case "close": | |
| case "contextmenu": | |
| case "copy": | |
| case "cut": | |
| case "auxclick": | |
| case "dblclick": | |
| case "dragend": | |
| case "dragstart": | |
| case "drop": | |
| case "focusin": | |
| case "focusout": | |
| case "input": | |
| case "invalid": | |
| case "keydown": | |
| case "keypress": | |
| case "keyup": | |
| case "mousedown": | |
| case "mouseup": | |
| case "paste": | |
| case "pause": | |
| case "play": | |
| case "pointercancel": | |
| case "pointerdown": | |
| case "pointerup": | |
| case "ratechange": | |
| case "reset": | |
| case "resize": | |
| case "seeked": | |
| case "submit": | |
| case "touchcancel": | |
| case "touchend": | |
| case "touchstart": | |
| case "volumechange": | |
| case "change": | |
| case "selectionchange": | |
| case "textInput": | |
| case "compositionstart": | |
| case "compositionend": | |
| case "compositionupdate": | |
| case "beforeblur": | |
| case "afterblur": | |
| case "beforeinput": | |
| case "blur": | |
| case "fullscreenchange": | |
| case "focus": | |
| case "hashchange": | |
| case "popstate": | |
| case "select": | |
| case "selectstart": | |
| return 1; | |
| case "drag": | |
| case "dragenter": | |
| case "dragexit": | |
| case "dragleave": | |
| case "dragover": | |
| case "mousemove": | |
| case "mouseout": | |
| case "mouseover": | |
| case "pointermove": | |
| case "pointerout": | |
| case "pointerover": | |
| case "scroll": | |
| case "toggle": | |
| case "touchmove": | |
| case "wheel": | |
| case "mouseenter": | |
| case "mouseleave": | |
| case "pointerenter": | |
| case "pointerleave": | |
| return 4; | |
| case "message": | |
| switch (ec2()) { | |
| case fc2: | |
| return 1; | |
| case gc2: | |
| return 4; | |
| case hc2: | |
| case ic2: | |
| return 16; | |
| case jc2: | |
| return 536870912; | |
| default: | |
| return 16; | |
| } | |
| default: | |
| return 16; | |
| } | |
| } | |
| var kd2 = null, ld2 = null, md2 = null; | |
| function nd2() { | |
| if (md2) return md2; | |
| var a2, b2 = ld2, c2 = b2.length, d2, e2 = "value" in kd2 ? kd2.value : kd2.textContent, f2 = e2.length; | |
| for (a2 = 0; a2 < c2 && b2[a2] === e2[a2]; a2++) ; | |
| var g2 = c2 - a2; | |
| for (d2 = 1; d2 <= g2 && b2[c2 - d2] === e2[f2 - d2]; d2++) ; | |
| return md2 = e2.slice(a2, 1 < d2 ? 1 - d2 : void 0); | |
| } | |
| function od2(a2) { | |
| var b2 = a2.keyCode; | |
| "charCode" in a2 ? (a2 = a2.charCode, 0 === a2 && 13 === b2 && (a2 = 13)) : a2 = b2; | |
| 10 === a2 && (a2 = 13); | |
| return 32 <= a2 || 13 === a2 ? a2 : 0; | |
| } | |
| function pd2() { | |
| return true; | |
| } | |
| function qd2() { | |
| return false; | |
| } | |
| function rd2(a2) { | |
| function b2(b4, d2, e2, f2, g2) { | |
| this._reactName = b4; | |
| this._targetInst = e2; | |
| this.type = d2; | |
| this.nativeEvent = f2; | |
| this.target = g2; | |
| this.currentTarget = null; | |
| for (var c2 in a2) a2.hasOwnProperty(c2) && (b4 = a2[c2], this[c2] = b4 ? b4(f2) : f2[c2]); | |
| this.isDefaultPrevented = (null != f2.defaultPrevented ? f2.defaultPrevented : false === f2.returnValue) ? pd2 : qd2; | |
| this.isPropagationStopped = qd2; | |
| return this; | |
| } | |
| A2(b2.prototype, { preventDefault: function() { | |
| this.defaultPrevented = true; | |
| var a3 = this.nativeEvent; | |
| a3 && (a3.preventDefault ? a3.preventDefault() : "unknown" !== typeof a3.returnValue && (a3.returnValue = false), this.isDefaultPrevented = pd2); | |
| }, stopPropagation: function() { | |
| var a3 = this.nativeEvent; | |
| a3 && (a3.stopPropagation ? a3.stopPropagation() : "unknown" !== typeof a3.cancelBubble && (a3.cancelBubble = true), this.isPropagationStopped = pd2); | |
| }, persist: function() { | |
| }, isPersistent: pd2 }); | |
| return b2; | |
| } | |
| var sd2 = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(a2) { | |
| return a2.timeStamp || Date.now(); | |
| }, defaultPrevented: 0, isTrusted: 0 }, td2 = rd2(sd2), ud2 = A2({}, sd2, { view: 0, detail: 0 }), vd2 = rd2(ud2), wd2, xd2, yd2, Ad2 = A2({}, ud2, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: zd2, button: 0, buttons: 0, relatedTarget: function(a2) { | |
| return void 0 === a2.relatedTarget ? a2.fromElement === a2.srcElement ? a2.toElement : a2.fromElement : a2.relatedTarget; | |
| }, movementX: function(a2) { | |
| if ("movementX" in a2) return a2.movementX; | |
| a2 !== yd2 && (yd2 && "mousemove" === a2.type ? (wd2 = a2.screenX - yd2.screenX, xd2 = a2.screenY - yd2.screenY) : xd2 = wd2 = 0, yd2 = a2); | |
| return wd2; | |
| }, movementY: function(a2) { | |
| return "movementY" in a2 ? a2.movementY : xd2; | |
| } }), Bd2 = rd2(Ad2), Cd2 = A2({}, Ad2, { dataTransfer: 0 }), Dd2 = rd2(Cd2), Ed2 = A2({}, ud2, { relatedTarget: 0 }), Fd2 = rd2(Ed2), Gd2 = A2({}, sd2, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), Hd2 = rd2(Gd2), Id2 = A2({}, sd2, { clipboardData: function(a2) { | |
| return "clipboardData" in a2 ? a2.clipboardData : window.clipboardData; | |
| } }), Jd2 = rd2(Id2), Kd2 = A2({}, sd2, { data: 0 }), Ld2 = rd2(Kd2), Md2 = { | |
| Esc: "Escape", | |
| Spacebar: " ", | |
| Left: "ArrowLeft", | |
| Up: "ArrowUp", | |
| Right: "ArrowRight", | |
| Down: "ArrowDown", | |
| Del: "Delete", | |
| Win: "OS", | |
| Menu: "ContextMenu", | |
| Apps: "ContextMenu", | |
| Scroll: "ScrollLock", | |
| MozPrintableKey: "Unidentified" | |
| }, Nd2 = { | |
| 8: "Backspace", | |
| 9: "Tab", | |
| 12: "Clear", | |
| 13: "Enter", | |
| 16: "Shift", | |
| 17: "Control", | |
| 18: "Alt", | |
| 19: "Pause", | |
| 20: "CapsLock", | |
| 27: "Escape", | |
| 32: " ", | |
| 33: "PageUp", | |
| 34: "PageDown", | |
| 35: "End", | |
| 36: "Home", | |
| 37: "ArrowLeft", | |
| 38: "ArrowUp", | |
| 39: "ArrowRight", | |
| 40: "ArrowDown", | |
| 45: "Insert", | |
| 46: "Delete", | |
| 112: "F1", | |
| 113: "F2", | |
| 114: "F3", | |
| 115: "F4", | |
| 116: "F5", | |
| 117: "F6", | |
| 118: "F7", | |
| 119: "F8", | |
| 120: "F9", | |
| 121: "F10", | |
| 122: "F11", | |
| 123: "F12", | |
| 144: "NumLock", | |
| 145: "ScrollLock", | |
| 224: "Meta" | |
| }, Od2 = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" }; | |
| function Pd2(a2) { | |
| var b2 = this.nativeEvent; | |
| return b2.getModifierState ? b2.getModifierState(a2) : (a2 = Od2[a2]) ? !!b2[a2] : false; | |
| } | |
| function zd2() { | |
| return Pd2; | |
| } | |
| var Qd2 = A2({}, ud2, { key: function(a2) { | |
| if (a2.key) { | |
| var b2 = Md2[a2.key] || a2.key; | |
| if ("Unidentified" !== b2) return b2; | |
| } | |
| return "keypress" === a2.type ? (a2 = od2(a2), 13 === a2 ? "Enter" : String.fromCharCode(a2)) : "keydown" === a2.type || "keyup" === a2.type ? Nd2[a2.keyCode] || "Unidentified" : ""; | |
| }, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: zd2, charCode: function(a2) { | |
| return "keypress" === a2.type ? od2(a2) : 0; | |
| }, keyCode: function(a2) { | |
| return "keydown" === a2.type || "keyup" === a2.type ? a2.keyCode : 0; | |
| }, which: function(a2) { | |
| return "keypress" === a2.type ? od2(a2) : "keydown" === a2.type || "keyup" === a2.type ? a2.keyCode : 0; | |
| } }), Rd2 = rd2(Qd2), Sd2 = A2({}, Ad2, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), Td2 = rd2(Sd2), Ud2 = A2({}, ud2, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: zd2 }), Vd2 = rd2(Ud2), Wd2 = A2({}, sd2, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), Xd2 = rd2(Wd2), Yd2 = A2({}, Ad2, { | |
| deltaX: function(a2) { | |
| return "deltaX" in a2 ? a2.deltaX : "wheelDeltaX" in a2 ? -a2.wheelDeltaX : 0; | |
| }, | |
| deltaY: function(a2) { | |
| return "deltaY" in a2 ? a2.deltaY : "wheelDeltaY" in a2 ? -a2.wheelDeltaY : "wheelDelta" in a2 ? -a2.wheelDelta : 0; | |
| }, | |
| deltaZ: 0, | |
| deltaMode: 0 | |
| }), Zd2 = rd2(Yd2), $d2 = [9, 13, 27, 32], ae2 = ia2 && "CompositionEvent" in window, be2 = null; | |
| ia2 && "documentMode" in document && (be2 = document.documentMode); | |
| var ce2 = ia2 && "TextEvent" in window && !be2, de2 = ia2 && (!ae2 || be2 && 8 < be2 && 11 >= be2), ee2 = String.fromCharCode(32), fe2 = false; | |
| function ge2(a2, b2) { | |
| switch (a2) { | |
| case "keyup": | |
| return -1 !== $d2.indexOf(b2.keyCode); | |
| case "keydown": | |
| return 229 !== b2.keyCode; | |
| case "keypress": | |
| case "mousedown": | |
| case "focusout": | |
| return true; | |
| default: | |
| return false; | |
| } | |
| } | |
| function he2(a2) { | |
| a2 = a2.detail; | |
| return "object" === typeof a2 && "data" in a2 ? a2.data : null; | |
| } | |
| var ie2 = false; | |
| function je2(a2, b2) { | |
| switch (a2) { | |
| case "compositionend": | |
| return he2(b2); | |
| case "keypress": | |
| if (32 !== b2.which) return null; | |
| fe2 = true; | |
| return ee2; | |
| case "textInput": | |
| return a2 = b2.data, a2 === ee2 && fe2 ? null : a2; | |
| default: | |
| return null; | |
| } | |
| } | |
| function ke2(a2, b2) { | |
| if (ie2) return "compositionend" === a2 || !ae2 && ge2(a2, b2) ? (a2 = nd2(), md2 = ld2 = kd2 = null, ie2 = false, a2) : null; | |
| switch (a2) { | |
| case "paste": | |
| return null; | |
| case "keypress": | |
| if (!(b2.ctrlKey || b2.altKey || b2.metaKey) || b2.ctrlKey && b2.altKey) { | |
| if (b2.char && 1 < b2.char.length) return b2.char; | |
| if (b2.which) return String.fromCharCode(b2.which); | |
| } | |
| return null; | |
| case "compositionend": | |
| return de2 && "ko" !== b2.locale ? null : b2.data; | |
| default: | |
| return null; | |
| } | |
| } | |
| var le2 = { color: true, date: true, datetime: true, "datetime-local": true, email: true, month: true, number: true, password: true, range: true, search: true, tel: true, text: true, time: true, url: true, week: true }; | |
| function me2(a2) { | |
| var b2 = a2 && a2.nodeName && a2.nodeName.toLowerCase(); | |
| return "input" === b2 ? !!le2[a2.type] : "textarea" === b2 ? true : false; | |
| } | |
| function ne2(a2, b2, c2, d2) { | |
| Eb(d2); | |
| b2 = oe2(b2, "onChange"); | |
| 0 < b2.length && (c2 = new td2("onChange", "change", null, c2, d2), a2.push({ event: c2, listeners: b2 })); | |
| } | |
| var pe2 = null, qe2 = null; | |
| function re2(a2) { | |
| se2(a2, 0); | |
| } | |
| function te2(a2) { | |
| var b2 = ue2(a2); | |
| if (Wa2(b2)) return a2; | |
| } | |
| function ve2(a2, b2) { | |
| if ("change" === a2) return b2; | |
| } | |
| var we2 = false; | |
| if (ia2) { | |
| var xe2; | |
| if (ia2) { | |
| var ye2 = "oninput" in document; | |
| if (!ye2) { | |
| var ze2 = document.createElement("div"); | |
| ze2.setAttribute("oninput", "return;"); | |
| ye2 = "function" === typeof ze2.oninput; | |
| } | |
| xe2 = ye2; | |
| } else xe2 = false; | |
| we2 = xe2 && (!document.documentMode || 9 < document.documentMode); | |
| } | |
| function Ae2() { | |
| pe2 && (pe2.detachEvent("onpropertychange", Be2), qe2 = pe2 = null); | |
| } | |
| function Be2(a2) { | |
| if ("value" === a2.propertyName && te2(qe2)) { | |
| var b2 = []; | |
| ne2(b2, qe2, a2, xb(a2)); | |
| Jb(re2, b2); | |
| } | |
| } | |
| function Ce2(a2, b2, c2) { | |
| "focusin" === a2 ? (Ae2(), pe2 = b2, qe2 = c2, pe2.attachEvent("onpropertychange", Be2)) : "focusout" === a2 && Ae2(); | |
| } | |
| function De2(a2) { | |
| if ("selectionchange" === a2 || "keyup" === a2 || "keydown" === a2) return te2(qe2); | |
| } | |
| function Ee2(a2, b2) { | |
| if ("click" === a2) return te2(b2); | |
| } | |
| function Fe2(a2, b2) { | |
| if ("input" === a2 || "change" === a2) return te2(b2); | |
| } | |
| function Ge2(a2, b2) { | |
| return a2 === b2 && (0 !== a2 || 1 / a2 === 1 / b2) || a2 !== a2 && b2 !== b2; | |
| } | |
| var He2 = "function" === typeof Object.is ? Object.is : Ge2; | |
| function Ie2(a2, b2) { | |
| if (He2(a2, b2)) return true; | |
| if ("object" !== typeof a2 || null === a2 || "object" !== typeof b2 || null === b2) return false; | |
| var c2 = Object.keys(a2), d2 = Object.keys(b2); | |
| if (c2.length !== d2.length) return false; | |
| for (d2 = 0; d2 < c2.length; d2++) { | |
| var e2 = c2[d2]; | |
| if (!ja2.call(b2, e2) || !He2(a2[e2], b2[e2])) return false; | |
| } | |
| return true; | |
| } | |
| function Je2(a2) { | |
| for (; a2 && a2.firstChild; ) a2 = a2.firstChild; | |
| return a2; | |
| } | |
| function Ke2(a2, b2) { | |
| var c2 = Je2(a2); | |
| a2 = 0; | |
| for (var d2; c2; ) { | |
| if (3 === c2.nodeType) { | |
| d2 = a2 + c2.textContent.length; | |
| if (a2 <= b2 && d2 >= b2) return { node: c2, offset: b2 - a2 }; | |
| a2 = d2; | |
| } | |
| a: { | |
| for (; c2; ) { | |
| if (c2.nextSibling) { | |
| c2 = c2.nextSibling; | |
| break a; | |
| } | |
| c2 = c2.parentNode; | |
| } | |
| c2 = void 0; | |
| } | |
| c2 = Je2(c2); | |
| } | |
| } | |
| function Le2(a2, b2) { | |
| return a2 && b2 ? a2 === b2 ? true : a2 && 3 === a2.nodeType ? false : b2 && 3 === b2.nodeType ? Le2(a2, b2.parentNode) : "contains" in a2 ? a2.contains(b2) : a2.compareDocumentPosition ? !!(a2.compareDocumentPosition(b2) & 16) : false : false; | |
| } | |
| function Me2() { | |
| for (var a2 = window, b2 = Xa2(); b2 instanceof a2.HTMLIFrameElement; ) { | |
| try { | |
| var c2 = "string" === typeof b2.contentWindow.location.href; | |
| } catch (d2) { | |
| c2 = false; | |
| } | |
| if (c2) a2 = b2.contentWindow; | |
| else break; | |
| b2 = Xa2(a2.document); | |
| } | |
| return b2; | |
| } | |
| function Ne2(a2) { | |
| var b2 = a2 && a2.nodeName && a2.nodeName.toLowerCase(); | |
| return b2 && ("input" === b2 && ("text" === a2.type || "search" === a2.type || "tel" === a2.type || "url" === a2.type || "password" === a2.type) || "textarea" === b2 || "true" === a2.contentEditable); | |
| } | |
| function Oe2(a2) { | |
| var b2 = Me2(), c2 = a2.focusedElem, d2 = a2.selectionRange; | |
| if (b2 !== c2 && c2 && c2.ownerDocument && Le2(c2.ownerDocument.documentElement, c2)) { | |
| if (null !== d2 && Ne2(c2)) { | |
| if (b2 = d2.start, a2 = d2.end, void 0 === a2 && (a2 = b2), "selectionStart" in c2) c2.selectionStart = b2, c2.selectionEnd = Math.min(a2, c2.value.length); | |
| else if (a2 = (b2 = c2.ownerDocument || document) && b2.defaultView || window, a2.getSelection) { | |
| a2 = a2.getSelection(); | |
| var e2 = c2.textContent.length, f2 = Math.min(d2.start, e2); | |
| d2 = void 0 === d2.end ? f2 : Math.min(d2.end, e2); | |
| !a2.extend && f2 > d2 && (e2 = d2, d2 = f2, f2 = e2); | |
| e2 = Ke2(c2, f2); | |
| var g2 = Ke2( | |
| c2, | |
| d2 | |
| ); | |
| e2 && g2 && (1 !== a2.rangeCount || a2.anchorNode !== e2.node || a2.anchorOffset !== e2.offset || a2.focusNode !== g2.node || a2.focusOffset !== g2.offset) && (b2 = b2.createRange(), b2.setStart(e2.node, e2.offset), a2.removeAllRanges(), f2 > d2 ? (a2.addRange(b2), a2.extend(g2.node, g2.offset)) : (b2.setEnd(g2.node, g2.offset), a2.addRange(b2))); | |
| } | |
| } | |
| b2 = []; | |
| for (a2 = c2; a2 = a2.parentNode; ) 1 === a2.nodeType && b2.push({ element: a2, left: a2.scrollLeft, top: a2.scrollTop }); | |
| "function" === typeof c2.focus && c2.focus(); | |
| for (c2 = 0; c2 < b2.length; c2++) a2 = b2[c2], a2.element.scrollLeft = a2.left, a2.element.scrollTop = a2.top; | |
| } | |
| } | |
| var Pe2 = ia2 && "documentMode" in document && 11 >= document.documentMode, Qe2 = null, Re2 = null, Se2 = null, Te2 = false; | |
| function Ue2(a2, b2, c2) { | |
| var d2 = c2.window === c2 ? c2.document : 9 === c2.nodeType ? c2 : c2.ownerDocument; | |
| Te2 || null == Qe2 || Qe2 !== Xa2(d2) || (d2 = Qe2, "selectionStart" in d2 && Ne2(d2) ? d2 = { start: d2.selectionStart, end: d2.selectionEnd } : (d2 = (d2.ownerDocument && d2.ownerDocument.defaultView || window).getSelection(), d2 = { anchorNode: d2.anchorNode, anchorOffset: d2.anchorOffset, focusNode: d2.focusNode, focusOffset: d2.focusOffset }), Se2 && Ie2(Se2, d2) || (Se2 = d2, d2 = oe2(Re2, "onSelect"), 0 < d2.length && (b2 = new td2("onSelect", "select", null, b2, c2), a2.push({ event: b2, listeners: d2 }), b2.target = Qe2))); | |
| } | |
| function Ve2(a2, b2) { | |
| var c2 = {}; | |
| c2[a2.toLowerCase()] = b2.toLowerCase(); | |
| c2["Webkit" + a2] = "webkit" + b2; | |
| c2["Moz" + a2] = "moz" + b2; | |
| return c2; | |
| } | |
| var We2 = { animationend: Ve2("Animation", "AnimationEnd"), animationiteration: Ve2("Animation", "AnimationIteration"), animationstart: Ve2("Animation", "AnimationStart"), transitionend: Ve2("Transition", "TransitionEnd") }, Xe2 = {}, Ye2 = {}; | |
| ia2 && (Ye2 = document.createElement("div").style, "AnimationEvent" in window || (delete We2.animationend.animation, delete We2.animationiteration.animation, delete We2.animationstart.animation), "TransitionEvent" in window || delete We2.transitionend.transition); | |
| function Ze2(a2) { | |
| if (Xe2[a2]) return Xe2[a2]; | |
| if (!We2[a2]) return a2; | |
| var b2 = We2[a2], c2; | |
| for (c2 in b2) if (b2.hasOwnProperty(c2) && c2 in Ye2) return Xe2[a2] = b2[c2]; | |
| return a2; | |
| } | |
| var $e2 = Ze2("animationend"), af2 = Ze2("animationiteration"), bf2 = Ze2("animationstart"), cf2 = Ze2("transitionend"), df2 = /* @__PURE__ */ new Map(), ef2 = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" "); | |
| function ff2(a2, b2) { | |
| df2.set(a2, b2); | |
| fa2(b2, [a2]); | |
| } | |
| for (var gf2 = 0; gf2 < ef2.length; gf2++) { | |
| var hf2 = ef2[gf2], jf2 = hf2.toLowerCase(), kf2 = hf2[0].toUpperCase() + hf2.slice(1); | |
| ff2(jf2, "on" + kf2); | |
| } | |
| ff2($e2, "onAnimationEnd"); | |
| ff2(af2, "onAnimationIteration"); | |
| ff2(bf2, "onAnimationStart"); | |
| ff2("dblclick", "onDoubleClick"); | |
| ff2("focusin", "onFocus"); | |
| ff2("focusout", "onBlur"); | |
| ff2(cf2, "onTransitionEnd"); | |
| ha2("onMouseEnter", ["mouseout", "mouseover"]); | |
| ha2("onMouseLeave", ["mouseout", "mouseover"]); | |
| ha2("onPointerEnter", ["pointerout", "pointerover"]); | |
| ha2("onPointerLeave", ["pointerout", "pointerover"]); | |
| fa2("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")); | |
| fa2("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")); | |
| fa2("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]); | |
| fa2("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")); | |
| fa2("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")); | |
| fa2("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" ")); | |
| var lf2 = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), mf2 = new Set("cancel close invalid load scroll toggle".split(" ").concat(lf2)); | |
| function nf2(a2, b2, c2) { | |
| var d2 = a2.type || "unknown-event"; | |
| a2.currentTarget = c2; | |
| Ub(d2, b2, void 0, a2); | |
| a2.currentTarget = null; | |
| } | |
| function se2(a2, b2) { | |
| b2 = 0 !== (b2 & 4); | |
| for (var c2 = 0; c2 < a2.length; c2++) { | |
| var d2 = a2[c2], e2 = d2.event; | |
| d2 = d2.listeners; | |
| a: { | |
| var f2 = void 0; | |
| if (b2) for (var g2 = d2.length - 1; 0 <= g2; g2--) { | |
| var h2 = d2[g2], k2 = h2.instance, l2 = h2.currentTarget; | |
| h2 = h2.listener; | |
| if (k2 !== f2 && e2.isPropagationStopped()) break a; | |
| nf2(e2, h2, l2); | |
| f2 = k2; | |
| } | |
| else for (g2 = 0; g2 < d2.length; g2++) { | |
| h2 = d2[g2]; | |
| k2 = h2.instance; | |
| l2 = h2.currentTarget; | |
| h2 = h2.listener; | |
| if (k2 !== f2 && e2.isPropagationStopped()) break a; | |
| nf2(e2, h2, l2); | |
| f2 = k2; | |
| } | |
| } | |
| } | |
| if (Qb) throw a2 = Rb, Qb = false, Rb = null, a2; | |
| } | |
| function D2(a2, b2) { | |
| var c2 = b2[of2]; | |
| void 0 === c2 && (c2 = b2[of2] = /* @__PURE__ */ new Set()); | |
| var d2 = a2 + "__bubble"; | |
| c2.has(d2) || (pf2(b2, a2, 2, false), c2.add(d2)); | |
| } | |
| function qf2(a2, b2, c2) { | |
| var d2 = 0; | |
| b2 && (d2 |= 4); | |
| pf2(c2, a2, d2, b2); | |
| } | |
| var rf2 = "_reactListening" + Math.random().toString(36).slice(2); | |
| function sf(a2) { | |
| if (!a2[rf2]) { | |
| a2[rf2] = true; | |
| da2.forEach(function(b4) { | |
| "selectionchange" !== b4 && (mf2.has(b4) || qf2(b4, false, a2), qf2(b4, true, a2)); | |
| }); | |
| var b2 = 9 === a2.nodeType ? a2 : a2.ownerDocument; | |
| null === b2 || b2[rf2] || (b2[rf2] = true, qf2("selectionchange", false, b2)); | |
| } | |
| } | |
| function pf2(a2, b2, c2, d2) { | |
| switch (jd2(b2)) { | |
| case 1: | |
| var e2 = ed2; | |
| break; | |
| case 4: | |
| e2 = gd2; | |
| break; | |
| default: | |
| e2 = fd2; | |
| } | |
| c2 = e2.bind(null, b2, c2, a2); | |
| e2 = void 0; | |
| !Lb || "touchstart" !== b2 && "touchmove" !== b2 && "wheel" !== b2 || (e2 = true); | |
| d2 ? void 0 !== e2 ? a2.addEventListener(b2, c2, { capture: true, passive: e2 }) : a2.addEventListener(b2, c2, true) : void 0 !== e2 ? a2.addEventListener(b2, c2, { passive: e2 }) : a2.addEventListener(b2, c2, false); | |
| } | |
| function hd2(a2, b2, c2, d2, e2) { | |
| var f2 = d2; | |
| if (0 === (b2 & 1) && 0 === (b2 & 2) && null !== d2) a: for (; ; ) { | |
| if (null === d2) return; | |
| var g2 = d2.tag; | |
| if (3 === g2 || 4 === g2) { | |
| var h2 = d2.stateNode.containerInfo; | |
| if (h2 === e2 || 8 === h2.nodeType && h2.parentNode === e2) break; | |
| if (4 === g2) for (g2 = d2.return; null !== g2; ) { | |
| var k2 = g2.tag; | |
| if (3 === k2 || 4 === k2) { | |
| if (k2 = g2.stateNode.containerInfo, k2 === e2 || 8 === k2.nodeType && k2.parentNode === e2) return; | |
| } | |
| g2 = g2.return; | |
| } | |
| for (; null !== h2; ) { | |
| g2 = Wc2(h2); | |
| if (null === g2) return; | |
| k2 = g2.tag; | |
| if (5 === k2 || 6 === k2) { | |
| d2 = f2 = g2; | |
| continue a; | |
| } | |
| h2 = h2.parentNode; | |
| } | |
| } | |
| d2 = d2.return; | |
| } | |
| Jb(function() { | |
| var d3 = f2, e3 = xb(c2), g3 = []; | |
| a: { | |
| var h3 = df2.get(a2); | |
| if (void 0 !== h3) { | |
| var k3 = td2, n2 = a2; | |
| switch (a2) { | |
| case "keypress": | |
| if (0 === od2(c2)) break a; | |
| case "keydown": | |
| case "keyup": | |
| k3 = Rd2; | |
| break; | |
| case "focusin": | |
| n2 = "focus"; | |
| k3 = Fd2; | |
| break; | |
| case "focusout": | |
| n2 = "blur"; | |
| k3 = Fd2; | |
| break; | |
| case "beforeblur": | |
| case "afterblur": | |
| k3 = Fd2; | |
| break; | |
| case "click": | |
| if (2 === c2.button) break a; | |
| case "auxclick": | |
| case "dblclick": | |
| case "mousedown": | |
| case "mousemove": | |
| case "mouseup": | |
| case "mouseout": | |
| case "mouseover": | |
| case "contextmenu": | |
| k3 = Bd2; | |
| break; | |
| case "drag": | |
| case "dragend": | |
| case "dragenter": | |
| case "dragexit": | |
| case "dragleave": | |
| case "dragover": | |
| case "dragstart": | |
| case "drop": | |
| k3 = Dd2; | |
| break; | |
| case "touchcancel": | |
| case "touchend": | |
| case "touchmove": | |
| case "touchstart": | |
| k3 = Vd2; | |
| break; | |
| case $e2: | |
| case af2: | |
| case bf2: | |
| k3 = Hd2; | |
| break; | |
| case cf2: | |
| k3 = Xd2; | |
| break; | |
| case "scroll": | |
| k3 = vd2; | |
| break; | |
| case "wheel": | |
| k3 = Zd2; | |
| break; | |
| case "copy": | |
| case "cut": | |
| case "paste": | |
| k3 = Jd2; | |
| break; | |
| case "gotpointercapture": | |
| case "lostpointercapture": | |
| case "pointercancel": | |
| case "pointerdown": | |
| case "pointermove": | |
| case "pointerout": | |
| case "pointerover": | |
| case "pointerup": | |
| k3 = Td2; | |
| } | |
| var t2 = 0 !== (b2 & 4), J2 = !t2 && "scroll" === a2, x2 = t2 ? null !== h3 ? h3 + "Capture" : null : h3; | |
| t2 = []; | |
| for (var w2 = d3, u2; null !== w2; ) { | |
| u2 = w2; | |
| var F2 = u2.stateNode; | |
| 5 === u2.tag && null !== F2 && (u2 = F2, null !== x2 && (F2 = Kb(w2, x2), null != F2 && t2.push(tf2(w2, F2, u2)))); | |
| if (J2) break; | |
| w2 = w2.return; | |
| } | |
| 0 < t2.length && (h3 = new k3(h3, n2, null, c2, e3), g3.push({ event: h3, listeners: t2 })); | |
| } | |
| } | |
| if (0 === (b2 & 7)) { | |
| a: { | |
| h3 = "mouseover" === a2 || "pointerover" === a2; | |
| k3 = "mouseout" === a2 || "pointerout" === a2; | |
| if (h3 && c2 !== wb && (n2 = c2.relatedTarget || c2.fromElement) && (Wc2(n2) || n2[uf2])) break a; | |
| if (k3 || h3) { | |
| h3 = e3.window === e3 ? e3 : (h3 = e3.ownerDocument) ? h3.defaultView || h3.parentWindow : window; | |
| if (k3) { | |
| if (n2 = c2.relatedTarget || c2.toElement, k3 = d3, n2 = n2 ? Wc2(n2) : null, null !== n2 && (J2 = Vb(n2), n2 !== J2 || 5 !== n2.tag && 6 !== n2.tag)) n2 = null; | |
| } else k3 = null, n2 = d3; | |
| if (k3 !== n2) { | |
| t2 = Bd2; | |
| F2 = "onMouseLeave"; | |
| x2 = "onMouseEnter"; | |
| w2 = "mouse"; | |
| if ("pointerout" === a2 || "pointerover" === a2) t2 = Td2, F2 = "onPointerLeave", x2 = "onPointerEnter", w2 = "pointer"; | |
| J2 = null == k3 ? h3 : ue2(k3); | |
| u2 = null == n2 ? h3 : ue2(n2); | |
| h3 = new t2(F2, w2 + "leave", k3, c2, e3); | |
| h3.target = J2; | |
| h3.relatedTarget = u2; | |
| F2 = null; | |
| Wc2(e3) === d3 && (t2 = new t2(x2, w2 + "enter", n2, c2, e3), t2.target = u2, t2.relatedTarget = J2, F2 = t2); | |
| J2 = F2; | |
| if (k3 && n2) b: { | |
| t2 = k3; | |
| x2 = n2; | |
| w2 = 0; | |
| for (u2 = t2; u2; u2 = vf2(u2)) w2++; | |
| u2 = 0; | |
| for (F2 = x2; F2; F2 = vf2(F2)) u2++; | |
| for (; 0 < w2 - u2; ) t2 = vf2(t2), w2--; | |
| for (; 0 < u2 - w2; ) x2 = vf2(x2), u2--; | |
| for (; w2--; ) { | |
| if (t2 === x2 || null !== x2 && t2 === x2.alternate) break b; | |
| t2 = vf2(t2); | |
| x2 = vf2(x2); | |
| } | |
| t2 = null; | |
| } | |
| else t2 = null; | |
| null !== k3 && wf2(g3, h3, k3, t2, false); | |
| null !== n2 && null !== J2 && wf2(g3, J2, n2, t2, true); | |
| } | |
| } | |
| } | |
| a: { | |
| h3 = d3 ? ue2(d3) : window; | |
| k3 = h3.nodeName && h3.nodeName.toLowerCase(); | |
| if ("select" === k3 || "input" === k3 && "file" === h3.type) var na2 = ve2; | |
| else if (me2(h3)) if (we2) na2 = Fe2; | |
| else { | |
| na2 = De2; | |
| var xa2 = Ce2; | |
| } | |
| else (k3 = h3.nodeName) && "input" === k3.toLowerCase() && ("checkbox" === h3.type || "radio" === h3.type) && (na2 = Ee2); | |
| if (na2 && (na2 = na2(a2, d3))) { | |
| ne2(g3, na2, c2, e3); | |
| break a; | |
| } | |
| xa2 && xa2(a2, h3, d3); | |
| "focusout" === a2 && (xa2 = h3._wrapperState) && xa2.controlled && "number" === h3.type && cb(h3, "number", h3.value); | |
| } | |
| xa2 = d3 ? ue2(d3) : window; | |
| switch (a2) { | |
| case "focusin": | |
| if (me2(xa2) || "true" === xa2.contentEditable) Qe2 = xa2, Re2 = d3, Se2 = null; | |
| break; | |
| case "focusout": | |
| Se2 = Re2 = Qe2 = null; | |
| break; | |
| case "mousedown": | |
| Te2 = true; | |
| break; | |
| case "contextmenu": | |
| case "mouseup": | |
| case "dragend": | |
| Te2 = false; | |
| Ue2(g3, c2, e3); | |
| break; | |
| case "selectionchange": | |
| if (Pe2) break; | |
| case "keydown": | |
| case "keyup": | |
| Ue2(g3, c2, e3); | |
| } | |
| var $a2; | |
| if (ae2) b: { | |
| switch (a2) { | |
| case "compositionstart": | |
| var ba2 = "onCompositionStart"; | |
| break b; | |
| case "compositionend": | |
| ba2 = "onCompositionEnd"; | |
| break b; | |
| case "compositionupdate": | |
| ba2 = "onCompositionUpdate"; | |
| break b; | |
| } | |
| ba2 = void 0; | |
| } | |
| else ie2 ? ge2(a2, c2) && (ba2 = "onCompositionEnd") : "keydown" === a2 && 229 === c2.keyCode && (ba2 = "onCompositionStart"); | |
| ba2 && (de2 && "ko" !== c2.locale && (ie2 || "onCompositionStart" !== ba2 ? "onCompositionEnd" === ba2 && ie2 && ($a2 = nd2()) : (kd2 = e3, ld2 = "value" in kd2 ? kd2.value : kd2.textContent, ie2 = true)), xa2 = oe2(d3, ba2), 0 < xa2.length && (ba2 = new Ld2(ba2, a2, null, c2, e3), g3.push({ event: ba2, listeners: xa2 }), $a2 ? ba2.data = $a2 : ($a2 = he2(c2), null !== $a2 && (ba2.data = $a2)))); | |
| if ($a2 = ce2 ? je2(a2, c2) : ke2(a2, c2)) d3 = oe2(d3, "onBeforeInput"), 0 < d3.length && (e3 = new Ld2("onBeforeInput", "beforeinput", null, c2, e3), g3.push({ event: e3, listeners: d3 }), e3.data = $a2); | |
| } | |
| se2(g3, b2); | |
| }); | |
| } | |
| function tf2(a2, b2, c2) { | |
| return { instance: a2, listener: b2, currentTarget: c2 }; | |
| } | |
| function oe2(a2, b2) { | |
| for (var c2 = b2 + "Capture", d2 = []; null !== a2; ) { | |
| var e2 = a2, f2 = e2.stateNode; | |
| 5 === e2.tag && null !== f2 && (e2 = f2, f2 = Kb(a2, c2), null != f2 && d2.unshift(tf2(a2, f2, e2)), f2 = Kb(a2, b2), null != f2 && d2.push(tf2(a2, f2, e2))); | |
| a2 = a2.return; | |
| } | |
| return d2; | |
| } | |
| function vf2(a2) { | |
| if (null === a2) return null; | |
| do | |
| a2 = a2.return; | |
| while (a2 && 5 !== a2.tag); | |
| return a2 ? a2 : null; | |
| } | |
| function wf2(a2, b2, c2, d2, e2) { | |
| for (var f2 = b2._reactName, g2 = []; null !== c2 && c2 !== d2; ) { | |
| var h2 = c2, k2 = h2.alternate, l2 = h2.stateNode; | |
| if (null !== k2 && k2 === d2) break; | |
| 5 === h2.tag && null !== l2 && (h2 = l2, e2 ? (k2 = Kb(c2, f2), null != k2 && g2.unshift(tf2(c2, k2, h2))) : e2 || (k2 = Kb(c2, f2), null != k2 && g2.push(tf2(c2, k2, h2)))); | |
| c2 = c2.return; | |
| } | |
| 0 !== g2.length && a2.push({ event: b2, listeners: g2 }); | |
| } | |
| var xf2 = /\r\n?/g, yf2 = /\u0000|\uFFFD/g; | |
| function zf2(a2) { | |
| return ("string" === typeof a2 ? a2 : "" + a2).replace(xf2, "\n").replace(yf2, ""); | |
| } | |
| function Af2(a2, b2, c2) { | |
| b2 = zf2(b2); | |
| if (zf2(a2) !== b2 && c2) throw Error(p2(425)); | |
| } | |
| function Bf2() { | |
| } | |
| var Cf2 = null, Df2 = null; | |
| function Ef2(a2, b2) { | |
| return "textarea" === a2 || "noscript" === a2 || "string" === typeof b2.children || "number" === typeof b2.children || "object" === typeof b2.dangerouslySetInnerHTML && null !== b2.dangerouslySetInnerHTML && null != b2.dangerouslySetInnerHTML.__html; | |
| } | |
| var Ff2 = "function" === typeof setTimeout ? setTimeout : void 0, Gf2 = "function" === typeof clearTimeout ? clearTimeout : void 0, Hf2 = "function" === typeof Promise ? Promise : void 0, Jf2 = "function" === typeof queueMicrotask ? queueMicrotask : "undefined" !== typeof Hf2 ? function(a2) { | |
| return Hf2.resolve(null).then(a2).catch(If2); | |
| } : Ff2; | |
| function If2(a2) { | |
| setTimeout(function() { | |
| throw a2; | |
| }); | |
| } | |
| function Kf2(a2, b2) { | |
| var c2 = b2, d2 = 0; | |
| do { | |
| var e2 = c2.nextSibling; | |
| a2.removeChild(c2); | |
| if (e2 && 8 === e2.nodeType) if (c2 = e2.data, "/$" === c2) { | |
| if (0 === d2) { | |
| a2.removeChild(e2); | |
| bd2(b2); | |
| return; | |
| } | |
| d2--; | |
| } else "$" !== c2 && "$?" !== c2 && "$!" !== c2 || d2++; | |
| c2 = e2; | |
| } while (c2); | |
| bd2(b2); | |
| } | |
| function Lf2(a2) { | |
| for (; null != a2; a2 = a2.nextSibling) { | |
| var b2 = a2.nodeType; | |
| if (1 === b2 || 3 === b2) break; | |
| if (8 === b2) { | |
| b2 = a2.data; | |
| if ("$" === b2 || "$!" === b2 || "$?" === b2) break; | |
| if ("/$" === b2) return null; | |
| } | |
| } | |
| return a2; | |
| } | |
| function Mf2(a2) { | |
| a2 = a2.previousSibling; | |
| for (var b2 = 0; a2; ) { | |
| if (8 === a2.nodeType) { | |
| var c2 = a2.data; | |
| if ("$" === c2 || "$!" === c2 || "$?" === c2) { | |
| if (0 === b2) return a2; | |
| b2--; | |
| } else "/$" === c2 && b2++; | |
| } | |
| a2 = a2.previousSibling; | |
| } | |
| return null; | |
| } | |
| var Nf = Math.random().toString(36).slice(2), Of2 = "__reactFiber$" + Nf, Pf2 = "__reactProps$" + Nf, uf2 = "__reactContainer$" + Nf, of2 = "__reactEvents$" + Nf, Qf2 = "__reactListeners$" + Nf, Rf2 = "__reactHandles$" + Nf; | |
| function Wc2(a2) { | |
| var b2 = a2[Of2]; | |
| if (b2) return b2; | |
| for (var c2 = a2.parentNode; c2; ) { | |
| if (b2 = c2[uf2] || c2[Of2]) { | |
| c2 = b2.alternate; | |
| if (null !== b2.child || null !== c2 && null !== c2.child) for (a2 = Mf2(a2); null !== a2; ) { | |
| if (c2 = a2[Of2]) return c2; | |
| a2 = Mf2(a2); | |
| } | |
| return b2; | |
| } | |
| a2 = c2; | |
| c2 = a2.parentNode; | |
| } | |
| return null; | |
| } | |
| function Cb(a2) { | |
| a2 = a2[Of2] || a2[uf2]; | |
| return !a2 || 5 !== a2.tag && 6 !== a2.tag && 13 !== a2.tag && 3 !== a2.tag ? null : a2; | |
| } | |
| function ue2(a2) { | |
| if (5 === a2.tag || 6 === a2.tag) return a2.stateNode; | |
| throw Error(p2(33)); | |
| } | |
| function Db(a2) { | |
| return a2[Pf2] || null; | |
| } | |
| var Sf2 = [], Tf2 = -1; | |
| function Uf2(a2) { | |
| return { current: a2 }; | |
| } | |
| function E2(a2) { | |
| 0 > Tf2 || (a2.current = Sf2[Tf2], Sf2[Tf2] = null, Tf2--); | |
| } | |
| function G2(a2, b2) { | |
| Tf2++; | |
| Sf2[Tf2] = a2.current; | |
| a2.current = b2; | |
| } | |
| var Vf2 = {}, H2 = Uf2(Vf2), Wf2 = Uf2(false), Xf2 = Vf2; | |
| function Yf2(a2, b2) { | |
| var c2 = a2.type.contextTypes; | |
| if (!c2) return Vf2; | |
| var d2 = a2.stateNode; | |
| if (d2 && d2.__reactInternalMemoizedUnmaskedChildContext === b2) return d2.__reactInternalMemoizedMaskedChildContext; | |
| var e2 = {}, f2; | |
| for (f2 in c2) e2[f2] = b2[f2]; | |
| d2 && (a2 = a2.stateNode, a2.__reactInternalMemoizedUnmaskedChildContext = b2, a2.__reactInternalMemoizedMaskedChildContext = e2); | |
| return e2; | |
| } | |
| function Zf2(a2) { | |
| a2 = a2.childContextTypes; | |
| return null !== a2 && void 0 !== a2; | |
| } | |
| function $f2() { | |
| E2(Wf2); | |
| E2(H2); | |
| } | |
| function ag2(a2, b2, c2) { | |
| if (H2.current !== Vf2) throw Error(p2(168)); | |
| G2(H2, b2); | |
| G2(Wf2, c2); | |
| } | |
| function bg(a2, b2, c2) { | |
| var d2 = a2.stateNode; | |
| b2 = b2.childContextTypes; | |
| if ("function" !== typeof d2.getChildContext) return c2; | |
| d2 = d2.getChildContext(); | |
| for (var e2 in d2) if (!(e2 in b2)) throw Error(p2(108, Ra2(a2) || "Unknown", e2)); | |
| return A2({}, c2, d2); | |
| } | |
| function cg2(a2) { | |
| a2 = (a2 = a2.stateNode) && a2.__reactInternalMemoizedMergedChildContext || Vf2; | |
| Xf2 = H2.current; | |
| G2(H2, a2); | |
| G2(Wf2, Wf2.current); | |
| return true; | |
| } | |
| function dg2(a2, b2, c2) { | |
| var d2 = a2.stateNode; | |
| if (!d2) throw Error(p2(169)); | |
| c2 ? (a2 = bg(a2, b2, Xf2), d2.__reactInternalMemoizedMergedChildContext = a2, E2(Wf2), E2(H2), G2(H2, a2)) : E2(Wf2); | |
| G2(Wf2, c2); | |
| } | |
| var eg2 = null, fg2 = false, gg2 = false; | |
| function hg2(a2) { | |
| null === eg2 ? eg2 = [a2] : eg2.push(a2); | |
| } | |
| function ig2(a2) { | |
| fg2 = true; | |
| hg2(a2); | |
| } | |
| function jg() { | |
| if (!gg2 && null !== eg2) { | |
| gg2 = true; | |
| var a2 = 0, b2 = C2; | |
| try { | |
| var c2 = eg2; | |
| for (C2 = 1; a2 < c2.length; a2++) { | |
| var d2 = c2[a2]; | |
| do | |
| d2 = d2(true); | |
| while (null !== d2); | |
| } | |
| eg2 = null; | |
| fg2 = false; | |
| } catch (e2) { | |
| throw null !== eg2 && (eg2 = eg2.slice(a2 + 1)), ac2(fc2, jg), e2; | |
| } finally { | |
| C2 = b2, gg2 = false; | |
| } | |
| } | |
| return null; | |
| } | |
| var kg = [], lg2 = 0, mg = null, ng2 = 0, og2 = [], pg2 = 0, qg = null, rg2 = 1, sg2 = ""; | |
| function tg2(a2, b2) { | |
| kg[lg2++] = ng2; | |
| kg[lg2++] = mg; | |
| mg = a2; | |
| ng2 = b2; | |
| } | |
| function ug2(a2, b2, c2) { | |
| og2[pg2++] = rg2; | |
| og2[pg2++] = sg2; | |
| og2[pg2++] = qg; | |
| qg = a2; | |
| var d2 = rg2; | |
| a2 = sg2; | |
| var e2 = 32 - oc2(d2) - 1; | |
| d2 &= ~(1 << e2); | |
| c2 += 1; | |
| var f2 = 32 - oc2(b2) + e2; | |
| if (30 < f2) { | |
| var g2 = e2 - e2 % 5; | |
| f2 = (d2 & (1 << g2) - 1).toString(32); | |
| d2 >>= g2; | |
| e2 -= g2; | |
| rg2 = 1 << 32 - oc2(b2) + e2 | c2 << e2 | d2; | |
| sg2 = f2 + a2; | |
| } else rg2 = 1 << f2 | c2 << e2 | d2, sg2 = a2; | |
| } | |
| function vg(a2) { | |
| null !== a2.return && (tg2(a2, 1), ug2(a2, 1, 0)); | |
| } | |
| function wg(a2) { | |
| for (; a2 === mg; ) mg = kg[--lg2], kg[lg2] = null, ng2 = kg[--lg2], kg[lg2] = null; | |
| for (; a2 === qg; ) qg = og2[--pg2], og2[pg2] = null, sg2 = og2[--pg2], og2[pg2] = null, rg2 = og2[--pg2], og2[pg2] = null; | |
| } | |
| var xg = null, yg = null, I2 = false, zg = null; | |
| function Ag(a2, b2) { | |
| var c2 = Bg(5, null, null, 0); | |
| c2.elementType = "DELETED"; | |
| c2.stateNode = b2; | |
| c2.return = a2; | |
| b2 = a2.deletions; | |
| null === b2 ? (a2.deletions = [c2], a2.flags |= 16) : b2.push(c2); | |
| } | |
| function Cg(a2, b2) { | |
| switch (a2.tag) { | |
| case 5: | |
| var c2 = a2.type; | |
| b2 = 1 !== b2.nodeType || c2.toLowerCase() !== b2.nodeName.toLowerCase() ? null : b2; | |
| return null !== b2 ? (a2.stateNode = b2, xg = a2, yg = Lf2(b2.firstChild), true) : false; | |
| case 6: | |
| return b2 = "" === a2.pendingProps || 3 !== b2.nodeType ? null : b2, null !== b2 ? (a2.stateNode = b2, xg = a2, yg = null, true) : false; | |
| case 13: | |
| return b2 = 8 !== b2.nodeType ? null : b2, null !== b2 ? (c2 = null !== qg ? { id: rg2, overflow: sg2 } : null, a2.memoizedState = { dehydrated: b2, treeContext: c2, retryLane: 1073741824 }, c2 = Bg(18, null, null, 0), c2.stateNode = b2, c2.return = a2, a2.child = c2, xg = a2, yg = null, true) : false; | |
| default: | |
| return false; | |
| } | |
| } | |
| function Dg(a2) { | |
| return 0 !== (a2.mode & 1) && 0 === (a2.flags & 128); | |
| } | |
| function Eg(a2) { | |
| if (I2) { | |
| var b2 = yg; | |
| if (b2) { | |
| var c2 = b2; | |
| if (!Cg(a2, b2)) { | |
| if (Dg(a2)) throw Error(p2(418)); | |
| b2 = Lf2(c2.nextSibling); | |
| var d2 = xg; | |
| b2 && Cg(a2, b2) ? Ag(d2, c2) : (a2.flags = a2.flags & -4097 | 2, I2 = false, xg = a2); | |
| } | |
| } else { | |
| if (Dg(a2)) throw Error(p2(418)); | |
| a2.flags = a2.flags & -4097 | 2; | |
| I2 = false; | |
| xg = a2; | |
| } | |
| } | |
| } | |
| function Fg(a2) { | |
| for (a2 = a2.return; null !== a2 && 5 !== a2.tag && 3 !== a2.tag && 13 !== a2.tag; ) a2 = a2.return; | |
| xg = a2; | |
| } | |
| function Gg(a2) { | |
| if (a2 !== xg) return false; | |
| if (!I2) return Fg(a2), I2 = true, false; | |
| var b2; | |
| (b2 = 3 !== a2.tag) && !(b2 = 5 !== a2.tag) && (b2 = a2.type, b2 = "head" !== b2 && "body" !== b2 && !Ef2(a2.type, a2.memoizedProps)); | |
| if (b2 && (b2 = yg)) { | |
| if (Dg(a2)) throw Hg(), Error(p2(418)); | |
| for (; b2; ) Ag(a2, b2), b2 = Lf2(b2.nextSibling); | |
| } | |
| Fg(a2); | |
| if (13 === a2.tag) { | |
| a2 = a2.memoizedState; | |
| a2 = null !== a2 ? a2.dehydrated : null; | |
| if (!a2) throw Error(p2(317)); | |
| a: { | |
| a2 = a2.nextSibling; | |
| for (b2 = 0; a2; ) { | |
| if (8 === a2.nodeType) { | |
| var c2 = a2.data; | |
| if ("/$" === c2) { | |
| if (0 === b2) { | |
| yg = Lf2(a2.nextSibling); | |
| break a; | |
| } | |
| b2--; | |
| } else "$" !== c2 && "$!" !== c2 && "$?" !== c2 || b2++; | |
| } | |
| a2 = a2.nextSibling; | |
| } | |
| yg = null; | |
| } | |
| } else yg = xg ? Lf2(a2.stateNode.nextSibling) : null; | |
| return true; | |
| } | |
| function Hg() { | |
| for (var a2 = yg; a2; ) a2 = Lf2(a2.nextSibling); | |
| } | |
| function Ig() { | |
| yg = xg = null; | |
| I2 = false; | |
| } | |
| function Jg(a2) { | |
| null === zg ? zg = [a2] : zg.push(a2); | |
| } | |
| var Kg = ua2.ReactCurrentBatchConfig; | |
| function Lg(a2, b2) { | |
| if (a2 && a2.defaultProps) { | |
| b2 = A2({}, b2); | |
| a2 = a2.defaultProps; | |
| for (var c2 in a2) void 0 === b2[c2] && (b2[c2] = a2[c2]); | |
| return b2; | |
| } | |
| return b2; | |
| } | |
| var Mg = Uf2(null), Ng = null, Og = null, Pg = null; | |
| function Qg() { | |
| Pg = Og = Ng = null; | |
| } | |
| function Rg(a2) { | |
| var b2 = Mg.current; | |
| E2(Mg); | |
| a2._currentValue = b2; | |
| } | |
| function Sg(a2, b2, c2) { | |
| for (; null !== a2; ) { | |
| var d2 = a2.alternate; | |
| (a2.childLanes & b2) !== b2 ? (a2.childLanes |= b2, null !== d2 && (d2.childLanes |= b2)) : null !== d2 && (d2.childLanes & b2) !== b2 && (d2.childLanes |= b2); | |
| if (a2 === c2) break; | |
| a2 = a2.return; | |
| } | |
| } | |
| function Tg(a2, b2) { | |
| Ng = a2; | |
| Pg = Og = null; | |
| a2 = a2.dependencies; | |
| null !== a2 && null !== a2.firstContext && (0 !== (a2.lanes & b2) && (Ug = true), a2.firstContext = null); | |
| } | |
| function Vg(a2) { | |
| var b2 = a2._currentValue; | |
| if (Pg !== a2) if (a2 = { context: a2, memoizedValue: b2, next: null }, null === Og) { | |
| if (null === Ng) throw Error(p2(308)); | |
| Og = a2; | |
| Ng.dependencies = { lanes: 0, firstContext: a2 }; | |
| } else Og = Og.next = a2; | |
| return b2; | |
| } | |
| var Wg = null; | |
| function Xg(a2) { | |
| null === Wg ? Wg = [a2] : Wg.push(a2); | |
| } | |
| function Yg(a2, b2, c2, d2) { | |
| var e2 = b2.interleaved; | |
| null === e2 ? (c2.next = c2, Xg(b2)) : (c2.next = e2.next, e2.next = c2); | |
| b2.interleaved = c2; | |
| return Zg(a2, d2); | |
| } | |
| function Zg(a2, b2) { | |
| a2.lanes |= b2; | |
| var c2 = a2.alternate; | |
| null !== c2 && (c2.lanes |= b2); | |
| c2 = a2; | |
| for (a2 = a2.return; null !== a2; ) a2.childLanes |= b2, c2 = a2.alternate, null !== c2 && (c2.childLanes |= b2), c2 = a2, a2 = a2.return; | |
| return 3 === c2.tag ? c2.stateNode : null; | |
| } | |
| var $g = false; | |
| function ah2(a2) { | |
| a2.updateQueue = { baseState: a2.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, effects: null }; | |
| } | |
| function bh2(a2, b2) { | |
| a2 = a2.updateQueue; | |
| b2.updateQueue === a2 && (b2.updateQueue = { baseState: a2.baseState, firstBaseUpdate: a2.firstBaseUpdate, lastBaseUpdate: a2.lastBaseUpdate, shared: a2.shared, effects: a2.effects }); | |
| } | |
| function ch2(a2, b2) { | |
| return { eventTime: a2, lane: b2, tag: 0, payload: null, callback: null, next: null }; | |
| } | |
| function dh2(a2, b2, c2) { | |
| var d2 = a2.updateQueue; | |
| if (null === d2) return null; | |
| d2 = d2.shared; | |
| if (0 !== (K2 & 2)) { | |
| var e2 = d2.pending; | |
| null === e2 ? b2.next = b2 : (b2.next = e2.next, e2.next = b2); | |
| d2.pending = b2; | |
| return Zg(a2, c2); | |
| } | |
| e2 = d2.interleaved; | |
| null === e2 ? (b2.next = b2, Xg(d2)) : (b2.next = e2.next, e2.next = b2); | |
| d2.interleaved = b2; | |
| return Zg(a2, c2); | |
| } | |
| function eh2(a2, b2, c2) { | |
| b2 = b2.updateQueue; | |
| if (null !== b2 && (b2 = b2.shared, 0 !== (c2 & 4194240))) { | |
| var d2 = b2.lanes; | |
| d2 &= a2.pendingLanes; | |
| c2 |= d2; | |
| b2.lanes = c2; | |
| Cc2(a2, c2); | |
| } | |
| } | |
| function fh2(a2, b2) { | |
| var c2 = a2.updateQueue, d2 = a2.alternate; | |
| if (null !== d2 && (d2 = d2.updateQueue, c2 === d2)) { | |
| var e2 = null, f2 = null; | |
| c2 = c2.firstBaseUpdate; | |
| if (null !== c2) { | |
| do { | |
| var g2 = { eventTime: c2.eventTime, lane: c2.lane, tag: c2.tag, payload: c2.payload, callback: c2.callback, next: null }; | |
| null === f2 ? e2 = f2 = g2 : f2 = f2.next = g2; | |
| c2 = c2.next; | |
| } while (null !== c2); | |
| null === f2 ? e2 = f2 = b2 : f2 = f2.next = b2; | |
| } else e2 = f2 = b2; | |
| c2 = { baseState: d2.baseState, firstBaseUpdate: e2, lastBaseUpdate: f2, shared: d2.shared, effects: d2.effects }; | |
| a2.updateQueue = c2; | |
| return; | |
| } | |
| a2 = c2.lastBaseUpdate; | |
| null === a2 ? c2.firstBaseUpdate = b2 : a2.next = b2; | |
| c2.lastBaseUpdate = b2; | |
| } | |
| function gh2(a2, b2, c2, d2) { | |
| var e2 = a2.updateQueue; | |
| $g = false; | |
| var f2 = e2.firstBaseUpdate, g2 = e2.lastBaseUpdate, h2 = e2.shared.pending; | |
| if (null !== h2) { | |
| e2.shared.pending = null; | |
| var k2 = h2, l2 = k2.next; | |
| k2.next = null; | |
| null === g2 ? f2 = l2 : g2.next = l2; | |
| g2 = k2; | |
| var m2 = a2.alternate; | |
| null !== m2 && (m2 = m2.updateQueue, h2 = m2.lastBaseUpdate, h2 !== g2 && (null === h2 ? m2.firstBaseUpdate = l2 : h2.next = l2, m2.lastBaseUpdate = k2)); | |
| } | |
| if (null !== f2) { | |
| var q2 = e2.baseState; | |
| g2 = 0; | |
| m2 = l2 = k2 = null; | |
| h2 = f2; | |
| do { | |
| var r2 = h2.lane, y2 = h2.eventTime; | |
| if ((d2 & r2) === r2) { | |
| null !== m2 && (m2 = m2.next = { | |
| eventTime: y2, | |
| lane: 0, | |
| tag: h2.tag, | |
| payload: h2.payload, | |
| callback: h2.callback, | |
| next: null | |
| }); | |
| a: { | |
| var n2 = a2, t2 = h2; | |
| r2 = b2; | |
| y2 = c2; | |
| switch (t2.tag) { | |
| case 1: | |
| n2 = t2.payload; | |
| if ("function" === typeof n2) { | |
| q2 = n2.call(y2, q2, r2); | |
| break a; | |
| } | |
| q2 = n2; | |
| break a; | |
| case 3: | |
| n2.flags = n2.flags & -65537 | 128; | |
| case 0: | |
| n2 = t2.payload; | |
| r2 = "function" === typeof n2 ? n2.call(y2, q2, r2) : n2; | |
| if (null === r2 || void 0 === r2) break a; | |
| q2 = A2({}, q2, r2); | |
| break a; | |
| case 2: | |
| $g = true; | |
| } | |
| } | |
| null !== h2.callback && 0 !== h2.lane && (a2.flags |= 64, r2 = e2.effects, null === r2 ? e2.effects = [h2] : r2.push(h2)); | |
| } else y2 = { eventTime: y2, lane: r2, tag: h2.tag, payload: h2.payload, callback: h2.callback, next: null }, null === m2 ? (l2 = m2 = y2, k2 = q2) : m2 = m2.next = y2, g2 |= r2; | |
| h2 = h2.next; | |
| if (null === h2) if (h2 = e2.shared.pending, null === h2) break; | |
| else r2 = h2, h2 = r2.next, r2.next = null, e2.lastBaseUpdate = r2, e2.shared.pending = null; | |
| } while (1); | |
| null === m2 && (k2 = q2); | |
| e2.baseState = k2; | |
| e2.firstBaseUpdate = l2; | |
| e2.lastBaseUpdate = m2; | |
| b2 = e2.shared.interleaved; | |
| if (null !== b2) { | |
| e2 = b2; | |
| do | |
| g2 |= e2.lane, e2 = e2.next; | |
| while (e2 !== b2); | |
| } else null === f2 && (e2.shared.lanes = 0); | |
| hh2 |= g2; | |
| a2.lanes = g2; | |
| a2.memoizedState = q2; | |
| } | |
| } | |
| function ih2(a2, b2, c2) { | |
| a2 = b2.effects; | |
| b2.effects = null; | |
| if (null !== a2) for (b2 = 0; b2 < a2.length; b2++) { | |
| var d2 = a2[b2], e2 = d2.callback; | |
| if (null !== e2) { | |
| d2.callback = null; | |
| d2 = c2; | |
| if ("function" !== typeof e2) throw Error(p2(191, e2)); | |
| e2.call(d2); | |
| } | |
| } | |
| } | |
| var jh2 = new aa2.Component().refs; | |
| function kh2(a2, b2, c2, d2) { | |
| b2 = a2.memoizedState; | |
| c2 = c2(d2, b2); | |
| c2 = null === c2 || void 0 === c2 ? b2 : A2({}, b2, c2); | |
| a2.memoizedState = c2; | |
| 0 === a2.lanes && (a2.updateQueue.baseState = c2); | |
| } | |
| var nh2 = { isMounted: function(a2) { | |
| return (a2 = a2._reactInternals) ? Vb(a2) === a2 : false; | |
| }, enqueueSetState: function(a2, b2, c2) { | |
| a2 = a2._reactInternals; | |
| var d2 = L2(), e2 = lh2(a2), f2 = ch2(d2, e2); | |
| f2.payload = b2; | |
| void 0 !== c2 && null !== c2 && (f2.callback = c2); | |
| b2 = dh2(a2, f2, e2); | |
| null !== b2 && (mh2(b2, a2, e2, d2), eh2(b2, a2, e2)); | |
| }, enqueueReplaceState: function(a2, b2, c2) { | |
| a2 = a2._reactInternals; | |
| var d2 = L2(), e2 = lh2(a2), f2 = ch2(d2, e2); | |
| f2.tag = 1; | |
| f2.payload = b2; | |
| void 0 !== c2 && null !== c2 && (f2.callback = c2); | |
| b2 = dh2(a2, f2, e2); | |
| null !== b2 && (mh2(b2, a2, e2, d2), eh2(b2, a2, e2)); | |
| }, enqueueForceUpdate: function(a2, b2) { | |
| a2 = a2._reactInternals; | |
| var c2 = L2(), d2 = lh2(a2), e2 = ch2(c2, d2); | |
| e2.tag = 2; | |
| void 0 !== b2 && null !== b2 && (e2.callback = b2); | |
| b2 = dh2(a2, e2, d2); | |
| null !== b2 && (mh2(b2, a2, d2, c2), eh2(b2, a2, d2)); | |
| } }; | |
| function oh2(a2, b2, c2, d2, e2, f2, g2) { | |
| a2 = a2.stateNode; | |
| return "function" === typeof a2.shouldComponentUpdate ? a2.shouldComponentUpdate(d2, f2, g2) : b2.prototype && b2.prototype.isPureReactComponent ? !Ie2(c2, d2) || !Ie2(e2, f2) : true; | |
| } | |
| function ph2(a2, b2, c2) { | |
| var d2 = false, e2 = Vf2; | |
| var f2 = b2.contextType; | |
| "object" === typeof f2 && null !== f2 ? f2 = Vg(f2) : (e2 = Zf2(b2) ? Xf2 : H2.current, d2 = b2.contextTypes, f2 = (d2 = null !== d2 && void 0 !== d2) ? Yf2(a2, e2) : Vf2); | |
| b2 = new b2(c2, f2); | |
| a2.memoizedState = null !== b2.state && void 0 !== b2.state ? b2.state : null; | |
| b2.updater = nh2; | |
| a2.stateNode = b2; | |
| b2._reactInternals = a2; | |
| d2 && (a2 = a2.stateNode, a2.__reactInternalMemoizedUnmaskedChildContext = e2, a2.__reactInternalMemoizedMaskedChildContext = f2); | |
| return b2; | |
| } | |
| function qh2(a2, b2, c2, d2) { | |
| a2 = b2.state; | |
| "function" === typeof b2.componentWillReceiveProps && b2.componentWillReceiveProps(c2, d2); | |
| "function" === typeof b2.UNSAFE_componentWillReceiveProps && b2.UNSAFE_componentWillReceiveProps(c2, d2); | |
| b2.state !== a2 && nh2.enqueueReplaceState(b2, b2.state, null); | |
| } | |
| function rh2(a2, b2, c2, d2) { | |
| var e2 = a2.stateNode; | |
| e2.props = c2; | |
| e2.state = a2.memoizedState; | |
| e2.refs = jh2; | |
| ah2(a2); | |
| var f2 = b2.contextType; | |
| "object" === typeof f2 && null !== f2 ? e2.context = Vg(f2) : (f2 = Zf2(b2) ? Xf2 : H2.current, e2.context = Yf2(a2, f2)); | |
| e2.state = a2.memoizedState; | |
| f2 = b2.getDerivedStateFromProps; | |
| "function" === typeof f2 && (kh2(a2, b2, f2, c2), e2.state = a2.memoizedState); | |
| "function" === typeof b2.getDerivedStateFromProps || "function" === typeof e2.getSnapshotBeforeUpdate || "function" !== typeof e2.UNSAFE_componentWillMount && "function" !== typeof e2.componentWillMount || (b2 = e2.state, "function" === typeof e2.componentWillMount && e2.componentWillMount(), "function" === typeof e2.UNSAFE_componentWillMount && e2.UNSAFE_componentWillMount(), b2 !== e2.state && nh2.enqueueReplaceState(e2, e2.state, null), gh2(a2, c2, e2, d2), e2.state = a2.memoizedState); | |
| "function" === typeof e2.componentDidMount && (a2.flags |= 4194308); | |
| } | |
| function sh2(a2, b2, c2) { | |
| a2 = c2.ref; | |
| if (null !== a2 && "function" !== typeof a2 && "object" !== typeof a2) { | |
| if (c2._owner) { | |
| c2 = c2._owner; | |
| if (c2) { | |
| if (1 !== c2.tag) throw Error(p2(309)); | |
| var d2 = c2.stateNode; | |
| } | |
| if (!d2) throw Error(p2(147, a2)); | |
| var e2 = d2, f2 = "" + a2; | |
| if (null !== b2 && null !== b2.ref && "function" === typeof b2.ref && b2.ref._stringRef === f2) return b2.ref; | |
| b2 = function(a3) { | |
| var b4 = e2.refs; | |
| b4 === jh2 && (b4 = e2.refs = {}); | |
| null === a3 ? delete b4[f2] : b4[f2] = a3; | |
| }; | |
| b2._stringRef = f2; | |
| return b2; | |
| } | |
| if ("string" !== typeof a2) throw Error(p2(284)); | |
| if (!c2._owner) throw Error(p2(290, a2)); | |
| } | |
| return a2; | |
| } | |
| function th2(a2, b2) { | |
| a2 = Object.prototype.toString.call(b2); | |
| throw Error(p2(31, "[object Object]" === a2 ? "object with keys {" + Object.keys(b2).join(", ") + "}" : a2)); | |
| } | |
| function uh2(a2) { | |
| var b2 = a2._init; | |
| return b2(a2._payload); | |
| } | |
| function vh2(a2) { | |
| function b2(b4, c3) { | |
| if (a2) { | |
| var d3 = b4.deletions; | |
| null === d3 ? (b4.deletions = [c3], b4.flags |= 16) : d3.push(c3); | |
| } | |
| } | |
| function c2(c3, d3) { | |
| if (!a2) return null; | |
| for (; null !== d3; ) b2(c3, d3), d3 = d3.sibling; | |
| return null; | |
| } | |
| function d2(a3, b4) { | |
| for (a3 = /* @__PURE__ */ new Map(); null !== b4; ) null !== b4.key ? a3.set(b4.key, b4) : a3.set(b4.index, b4), b4 = b4.sibling; | |
| return a3; | |
| } | |
| function e2(a3, b4) { | |
| a3 = wh2(a3, b4); | |
| a3.index = 0; | |
| a3.sibling = null; | |
| return a3; | |
| } | |
| function f2(b4, c3, d3) { | |
| b4.index = d3; | |
| if (!a2) return b4.flags |= 1048576, c3; | |
| d3 = b4.alternate; | |
| if (null !== d3) return d3 = d3.index, d3 < c3 ? (b4.flags |= 2, c3) : d3; | |
| b4.flags |= 2; | |
| return c3; | |
| } | |
| function g2(b4) { | |
| a2 && null === b4.alternate && (b4.flags |= 2); | |
| return b4; | |
| } | |
| function h2(a3, b4, c3, d3) { | |
| if (null === b4 || 6 !== b4.tag) return b4 = xh2(c3, a3.mode, d3), b4.return = a3, b4; | |
| b4 = e2(b4, c3); | |
| b4.return = a3; | |
| return b4; | |
| } | |
| function k2(a3, b4, c3, d3) { | |
| var f3 = c3.type; | |
| if (f3 === ya2) return m2(a3, b4, c3.props.children, d3, c3.key); | |
| if (null !== b4 && (b4.elementType === f3 || "object" === typeof f3 && null !== f3 && f3.$$typeof === Ha2 && uh2(f3) === b4.type)) return d3 = e2(b4, c3.props), d3.ref = sh2(a3, b4, c3), d3.return = a3, d3; | |
| d3 = yh2(c3.type, c3.key, c3.props, null, a3.mode, d3); | |
| d3.ref = sh2(a3, b4, c3); | |
| d3.return = a3; | |
| return d3; | |
| } | |
| function l2(a3, b4, c3, d3) { | |
| if (null === b4 || 4 !== b4.tag || b4.stateNode.containerInfo !== c3.containerInfo || b4.stateNode.implementation !== c3.implementation) return b4 = zh2(c3, a3.mode, d3), b4.return = a3, b4; | |
| b4 = e2(b4, c3.children || []); | |
| b4.return = a3; | |
| return b4; | |
| } | |
| function m2(a3, b4, c3, d3, f3) { | |
| if (null === b4 || 7 !== b4.tag) return b4 = Ah2(c3, a3.mode, d3, f3), b4.return = a3, b4; | |
| b4 = e2(b4, c3); | |
| b4.return = a3; | |
| return b4; | |
| } | |
| function q2(a3, b4, c3) { | |
| if ("string" === typeof b4 && "" !== b4 || "number" === typeof b4) return b4 = xh2("" + b4, a3.mode, c3), b4.return = a3, b4; | |
| if ("object" === typeof b4 && null !== b4) { | |
| switch (b4.$$typeof) { | |
| case va2: | |
| return c3 = yh2(b4.type, b4.key, b4.props, null, a3.mode, c3), c3.ref = sh2(a3, null, b4), c3.return = a3, c3; | |
| case wa2: | |
| return b4 = zh2(b4, a3.mode, c3), b4.return = a3, b4; | |
| case Ha2: | |
| var d3 = b4._init; | |
| return q2(a3, d3(b4._payload), c3); | |
| } | |
| if (eb(b4) || Ka2(b4)) return b4 = Ah2(b4, a3.mode, c3, null), b4.return = a3, b4; | |
| th2(a3, b4); | |
| } | |
| return null; | |
| } | |
| function r2(a3, b4, c3, d3) { | |
| var e3 = null !== b4 ? b4.key : null; | |
| if ("string" === typeof c3 && "" !== c3 || "number" === typeof c3) return null !== e3 ? null : h2(a3, b4, "" + c3, d3); | |
| if ("object" === typeof c3 && null !== c3) { | |
| switch (c3.$$typeof) { | |
| case va2: | |
| return c3.key === e3 ? k2(a3, b4, c3, d3) : null; | |
| case wa2: | |
| return c3.key === e3 ? l2(a3, b4, c3, d3) : null; | |
| case Ha2: | |
| return e3 = c3._init, r2( | |
| a3, | |
| b4, | |
| e3(c3._payload), | |
| d3 | |
| ); | |
| } | |
| if (eb(c3) || Ka2(c3)) return null !== e3 ? null : m2(a3, b4, c3, d3, null); | |
| th2(a3, c3); | |
| } | |
| return null; | |
| } | |
| function y2(a3, b4, c3, d3, e3) { | |
| if ("string" === typeof d3 && "" !== d3 || "number" === typeof d3) return a3 = a3.get(c3) || null, h2(b4, a3, "" + d3, e3); | |
| if ("object" === typeof d3 && null !== d3) { | |
| switch (d3.$$typeof) { | |
| case va2: | |
| return a3 = a3.get(null === d3.key ? c3 : d3.key) || null, k2(b4, a3, d3, e3); | |
| case wa2: | |
| return a3 = a3.get(null === d3.key ? c3 : d3.key) || null, l2(b4, a3, d3, e3); | |
| case Ha2: | |
| var f3 = d3._init; | |
| return y2(a3, b4, c3, f3(d3._payload), e3); | |
| } | |
| if (eb(d3) || Ka2(d3)) return a3 = a3.get(c3) || null, m2(b4, a3, d3, e3, null); | |
| th2(b4, d3); | |
| } | |
| return null; | |
| } | |
| function n2(e3, g3, h3, k3) { | |
| for (var l3 = null, m3 = null, u2 = g3, w2 = g3 = 0, x2 = null; null !== u2 && w2 < h3.length; w2++) { | |
| u2.index > w2 ? (x2 = u2, u2 = null) : x2 = u2.sibling; | |
| var n3 = r2(e3, u2, h3[w2], k3); | |
| if (null === n3) { | |
| null === u2 && (u2 = x2); | |
| break; | |
| } | |
| a2 && u2 && null === n3.alternate && b2(e3, u2); | |
| g3 = f2(n3, g3, w2); | |
| null === m3 ? l3 = n3 : m3.sibling = n3; | |
| m3 = n3; | |
| u2 = x2; | |
| } | |
| if (w2 === h3.length) return c2(e3, u2), I2 && tg2(e3, w2), l3; | |
| if (null === u2) { | |
| for (; w2 < h3.length; w2++) u2 = q2(e3, h3[w2], k3), null !== u2 && (g3 = f2(u2, g3, w2), null === m3 ? l3 = u2 : m3.sibling = u2, m3 = u2); | |
| I2 && tg2(e3, w2); | |
| return l3; | |
| } | |
| for (u2 = d2(e3, u2); w2 < h3.length; w2++) x2 = y2(u2, e3, w2, h3[w2], k3), null !== x2 && (a2 && null !== x2.alternate && u2.delete(null === x2.key ? w2 : x2.key), g3 = f2(x2, g3, w2), null === m3 ? l3 = x2 : m3.sibling = x2, m3 = x2); | |
| a2 && u2.forEach(function(a3) { | |
| return b2(e3, a3); | |
| }); | |
| I2 && tg2(e3, w2); | |
| return l3; | |
| } | |
| function t2(e3, g3, h3, k3) { | |
| var l3 = Ka2(h3); | |
| if ("function" !== typeof l3) throw Error(p2(150)); | |
| h3 = l3.call(h3); | |
| if (null == h3) throw Error(p2(151)); | |
| for (var u2 = l3 = null, m3 = g3, w2 = g3 = 0, x2 = null, n3 = h3.next(); null !== m3 && !n3.done; w2++, n3 = h3.next()) { | |
| m3.index > w2 ? (x2 = m3, m3 = null) : x2 = m3.sibling; | |
| var t3 = r2(e3, m3, n3.value, k3); | |
| if (null === t3) { | |
| null === m3 && (m3 = x2); | |
| break; | |
| } | |
| a2 && m3 && null === t3.alternate && b2(e3, m3); | |
| g3 = f2(t3, g3, w2); | |
| null === u2 ? l3 = t3 : u2.sibling = t3; | |
| u2 = t3; | |
| m3 = x2; | |
| } | |
| if (n3.done) return c2( | |
| e3, | |
| m3 | |
| ), I2 && tg2(e3, w2), l3; | |
| if (null === m3) { | |
| for (; !n3.done; w2++, n3 = h3.next()) n3 = q2(e3, n3.value, k3), null !== n3 && (g3 = f2(n3, g3, w2), null === u2 ? l3 = n3 : u2.sibling = n3, u2 = n3); | |
| I2 && tg2(e3, w2); | |
| return l3; | |
| } | |
| for (m3 = d2(e3, m3); !n3.done; w2++, n3 = h3.next()) n3 = y2(m3, e3, w2, n3.value, k3), null !== n3 && (a2 && null !== n3.alternate && m3.delete(null === n3.key ? w2 : n3.key), g3 = f2(n3, g3, w2), null === u2 ? l3 = n3 : u2.sibling = n3, u2 = n3); | |
| a2 && m3.forEach(function(a3) { | |
| return b2(e3, a3); | |
| }); | |
| I2 && tg2(e3, w2); | |
| return l3; | |
| } | |
| function J2(a3, d3, f3, h3) { | |
| "object" === typeof f3 && null !== f3 && f3.type === ya2 && null === f3.key && (f3 = f3.props.children); | |
| if ("object" === typeof f3 && null !== f3) { | |
| switch (f3.$$typeof) { | |
| case va2: | |
| a: { | |
| for (var k3 = f3.key, l3 = d3; null !== l3; ) { | |
| if (l3.key === k3) { | |
| k3 = f3.type; | |
| if (k3 === ya2) { | |
| if (7 === l3.tag) { | |
| c2(a3, l3.sibling); | |
| d3 = e2(l3, f3.props.children); | |
| d3.return = a3; | |
| a3 = d3; | |
| break a; | |
| } | |
| } else if (l3.elementType === k3 || "object" === typeof k3 && null !== k3 && k3.$$typeof === Ha2 && uh2(k3) === l3.type) { | |
| c2(a3, l3.sibling); | |
| d3 = e2(l3, f3.props); | |
| d3.ref = sh2(a3, l3, f3); | |
| d3.return = a3; | |
| a3 = d3; | |
| break a; | |
| } | |
| c2(a3, l3); | |
| break; | |
| } else b2(a3, l3); | |
| l3 = l3.sibling; | |
| } | |
| f3.type === ya2 ? (d3 = Ah2(f3.props.children, a3.mode, h3, f3.key), d3.return = a3, a3 = d3) : (h3 = yh2(f3.type, f3.key, f3.props, null, a3.mode, h3), h3.ref = sh2(a3, d3, f3), h3.return = a3, a3 = h3); | |
| } | |
| return g2(a3); | |
| case wa2: | |
| a: { | |
| for (l3 = f3.key; null !== d3; ) { | |
| if (d3.key === l3) if (4 === d3.tag && d3.stateNode.containerInfo === f3.containerInfo && d3.stateNode.implementation === f3.implementation) { | |
| c2(a3, d3.sibling); | |
| d3 = e2(d3, f3.children || []); | |
| d3.return = a3; | |
| a3 = d3; | |
| break a; | |
| } else { | |
| c2(a3, d3); | |
| break; | |
| } | |
| else b2(a3, d3); | |
| d3 = d3.sibling; | |
| } | |
| d3 = zh2(f3, a3.mode, h3); | |
| d3.return = a3; | |
| a3 = d3; | |
| } | |
| return g2(a3); | |
| case Ha2: | |
| return l3 = f3._init, J2(a3, d3, l3(f3._payload), h3); | |
| } | |
| if (eb(f3)) return n2(a3, d3, f3, h3); | |
| if (Ka2(f3)) return t2(a3, d3, f3, h3); | |
| th2(a3, f3); | |
| } | |
| return "string" === typeof f3 && "" !== f3 || "number" === typeof f3 ? (f3 = "" + f3, null !== d3 && 6 === d3.tag ? (c2(a3, d3.sibling), d3 = e2(d3, f3), d3.return = a3, a3 = d3) : (c2(a3, d3), d3 = xh2(f3, a3.mode, h3), d3.return = a3, a3 = d3), g2(a3)) : c2(a3, d3); | |
| } | |
| return J2; | |
| } | |
| var Bh2 = vh2(true), Ch2 = vh2(false), Dh2 = {}, Eh2 = Uf2(Dh2), Fh2 = Uf2(Dh2), Gh2 = Uf2(Dh2); | |
| function Hh2(a2) { | |
| if (a2 === Dh2) throw Error(p2(174)); | |
| return a2; | |
| } | |
| function Ih2(a2, b2) { | |
| G2(Gh2, b2); | |
| G2(Fh2, a2); | |
| G2(Eh2, Dh2); | |
| a2 = b2.nodeType; | |
| switch (a2) { | |
| case 9: | |
| case 11: | |
| b2 = (b2 = b2.documentElement) ? b2.namespaceURI : lb(null, ""); | |
| break; | |
| default: | |
| a2 = 8 === a2 ? b2.parentNode : b2, b2 = a2.namespaceURI || null, a2 = a2.tagName, b2 = lb(b2, a2); | |
| } | |
| E2(Eh2); | |
| G2(Eh2, b2); | |
| } | |
| function Jh2() { | |
| E2(Eh2); | |
| E2(Fh2); | |
| E2(Gh2); | |
| } | |
| function Kh2(a2) { | |
| Hh2(Gh2.current); | |
| var b2 = Hh2(Eh2.current); | |
| var c2 = lb(b2, a2.type); | |
| b2 !== c2 && (G2(Fh2, a2), G2(Eh2, c2)); | |
| } | |
| function Lh2(a2) { | |
| Fh2.current === a2 && (E2(Eh2), E2(Fh2)); | |
| } | |
| var M2 = Uf2(0); | |
| function Mh2(a2) { | |
| for (var b2 = a2; null !== b2; ) { | |
| if (13 === b2.tag) { | |
| var c2 = b2.memoizedState; | |
| if (null !== c2 && (c2 = c2.dehydrated, null === c2 || "$?" === c2.data || "$!" === c2.data)) return b2; | |
| } else if (19 === b2.tag && void 0 !== b2.memoizedProps.revealOrder) { | |
| if (0 !== (b2.flags & 128)) return b2; | |
| } else if (null !== b2.child) { | |
| b2.child.return = b2; | |
| b2 = b2.child; | |
| continue; | |
| } | |
| if (b2 === a2) break; | |
| for (; null === b2.sibling; ) { | |
| if (null === b2.return || b2.return === a2) return null; | |
| b2 = b2.return; | |
| } | |
| b2.sibling.return = b2.return; | |
| b2 = b2.sibling; | |
| } | |
| return null; | |
| } | |
| var Nh2 = []; | |
| function Oh2() { | |
| for (var a2 = 0; a2 < Nh2.length; a2++) Nh2[a2]._workInProgressVersionPrimary = null; | |
| Nh2.length = 0; | |
| } | |
| var Ph2 = ua2.ReactCurrentDispatcher, Qh2 = ua2.ReactCurrentBatchConfig, Rh2 = 0, N2 = null, O2 = null, P2 = null, Sh2 = false, Th2 = false, Uh2 = 0, Vh2 = 0; | |
| function Q2() { | |
| throw Error(p2(321)); | |
| } | |
| function Wh2(a2, b2) { | |
| if (null === b2) return false; | |
| for (var c2 = 0; c2 < b2.length && c2 < a2.length; c2++) if (!He2(a2[c2], b2[c2])) return false; | |
| return true; | |
| } | |
| function Xh2(a2, b2, c2, d2, e2, f2) { | |
| Rh2 = f2; | |
| N2 = b2; | |
| b2.memoizedState = null; | |
| b2.updateQueue = null; | |
| b2.lanes = 0; | |
| Ph2.current = null === a2 || null === a2.memoizedState ? Yh2 : Zh2; | |
| a2 = c2(d2, e2); | |
| if (Th2) { | |
| f2 = 0; | |
| do { | |
| Th2 = false; | |
| Uh2 = 0; | |
| if (25 <= f2) throw Error(p2(301)); | |
| f2 += 1; | |
| P2 = O2 = null; | |
| b2.updateQueue = null; | |
| Ph2.current = $h2; | |
| a2 = c2(d2, e2); | |
| } while (Th2); | |
| } | |
| Ph2.current = ai2; | |
| b2 = null !== O2 && null !== O2.next; | |
| Rh2 = 0; | |
| P2 = O2 = N2 = null; | |
| Sh2 = false; | |
| if (b2) throw Error(p2(300)); | |
| return a2; | |
| } | |
| function bi2() { | |
| var a2 = 0 !== Uh2; | |
| Uh2 = 0; | |
| return a2; | |
| } | |
| function ci2() { | |
| var a2 = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null }; | |
| null === P2 ? N2.memoizedState = P2 = a2 : P2 = P2.next = a2; | |
| return P2; | |
| } | |
| function di2() { | |
| if (null === O2) { | |
| var a2 = N2.alternate; | |
| a2 = null !== a2 ? a2.memoizedState : null; | |
| } else a2 = O2.next; | |
| var b2 = null === P2 ? N2.memoizedState : P2.next; | |
| if (null !== b2) P2 = b2, O2 = a2; | |
| else { | |
| if (null === a2) throw Error(p2(310)); | |
| O2 = a2; | |
| a2 = { memoizedState: O2.memoizedState, baseState: O2.baseState, baseQueue: O2.baseQueue, queue: O2.queue, next: null }; | |
| null === P2 ? N2.memoizedState = P2 = a2 : P2 = P2.next = a2; | |
| } | |
| return P2; | |
| } | |
| function ei2(a2, b2) { | |
| return "function" === typeof b2 ? b2(a2) : b2; | |
| } | |
| function fi2(a2) { | |
| var b2 = di2(), c2 = b2.queue; | |
| if (null === c2) throw Error(p2(311)); | |
| c2.lastRenderedReducer = a2; | |
| var d2 = O2, e2 = d2.baseQueue, f2 = c2.pending; | |
| if (null !== f2) { | |
| if (null !== e2) { | |
| var g2 = e2.next; | |
| e2.next = f2.next; | |
| f2.next = g2; | |
| } | |
| d2.baseQueue = e2 = f2; | |
| c2.pending = null; | |
| } | |
| if (null !== e2) { | |
| f2 = e2.next; | |
| d2 = d2.baseState; | |
| var h2 = g2 = null, k2 = null, l2 = f2; | |
| do { | |
| var m2 = l2.lane; | |
| if ((Rh2 & m2) === m2) null !== k2 && (k2 = k2.next = { lane: 0, action: l2.action, hasEagerState: l2.hasEagerState, eagerState: l2.eagerState, next: null }), d2 = l2.hasEagerState ? l2.eagerState : a2(d2, l2.action); | |
| else { | |
| var q2 = { | |
| lane: m2, | |
| action: l2.action, | |
| hasEagerState: l2.hasEagerState, | |
| eagerState: l2.eagerState, | |
| next: null | |
| }; | |
| null === k2 ? (h2 = k2 = q2, g2 = d2) : k2 = k2.next = q2; | |
| N2.lanes |= m2; | |
| hh2 |= m2; | |
| } | |
| l2 = l2.next; | |
| } while (null !== l2 && l2 !== f2); | |
| null === k2 ? g2 = d2 : k2.next = h2; | |
| He2(d2, b2.memoizedState) || (Ug = true); | |
| b2.memoizedState = d2; | |
| b2.baseState = g2; | |
| b2.baseQueue = k2; | |
| c2.lastRenderedState = d2; | |
| } | |
| a2 = c2.interleaved; | |
| if (null !== a2) { | |
| e2 = a2; | |
| do | |
| f2 = e2.lane, N2.lanes |= f2, hh2 |= f2, e2 = e2.next; | |
| while (e2 !== a2); | |
| } else null === e2 && (c2.lanes = 0); | |
| return [b2.memoizedState, c2.dispatch]; | |
| } | |
| function gi2(a2) { | |
| var b2 = di2(), c2 = b2.queue; | |
| if (null === c2) throw Error(p2(311)); | |
| c2.lastRenderedReducer = a2; | |
| var d2 = c2.dispatch, e2 = c2.pending, f2 = b2.memoizedState; | |
| if (null !== e2) { | |
| c2.pending = null; | |
| var g2 = e2 = e2.next; | |
| do | |
| f2 = a2(f2, g2.action), g2 = g2.next; | |
| while (g2 !== e2); | |
| He2(f2, b2.memoizedState) || (Ug = true); | |
| b2.memoizedState = f2; | |
| null === b2.baseQueue && (b2.baseState = f2); | |
| c2.lastRenderedState = f2; | |
| } | |
| return [f2, d2]; | |
| } | |
| function hi2() { | |
| } | |
| function ii2(a2, b2) { | |
| var c2 = N2, d2 = di2(), e2 = b2(), f2 = !He2(d2.memoizedState, e2); | |
| f2 && (d2.memoizedState = e2, Ug = true); | |
| d2 = d2.queue; | |
| ji2(ki2.bind(null, c2, d2, a2), [a2]); | |
| if (d2.getSnapshot !== b2 || f2 || null !== P2 && P2.memoizedState.tag & 1) { | |
| c2.flags |= 2048; | |
| li2(9, mi2.bind(null, c2, d2, e2, b2), void 0, null); | |
| if (null === R2) throw Error(p2(349)); | |
| 0 !== (Rh2 & 30) || ni2(c2, b2, e2); | |
| } | |
| return e2; | |
| } | |
| function ni2(a2, b2, c2) { | |
| a2.flags |= 16384; | |
| a2 = { getSnapshot: b2, value: c2 }; | |
| b2 = N2.updateQueue; | |
| null === b2 ? (b2 = { lastEffect: null, stores: null }, N2.updateQueue = b2, b2.stores = [a2]) : (c2 = b2.stores, null === c2 ? b2.stores = [a2] : c2.push(a2)); | |
| } | |
| function mi2(a2, b2, c2, d2) { | |
| b2.value = c2; | |
| b2.getSnapshot = d2; | |
| oi2(b2) && pi2(a2); | |
| } | |
| function ki2(a2, b2, c2) { | |
| return c2(function() { | |
| oi2(b2) && pi2(a2); | |
| }); | |
| } | |
| function oi2(a2) { | |
| var b2 = a2.getSnapshot; | |
| a2 = a2.value; | |
| try { | |
| var c2 = b2(); | |
| return !He2(a2, c2); | |
| } catch (d2) { | |
| return true; | |
| } | |
| } | |
| function pi2(a2) { | |
| var b2 = Zg(a2, 1); | |
| null !== b2 && mh2(b2, a2, 1, -1); | |
| } | |
| function qi2(a2) { | |
| var b2 = ci2(); | |
| "function" === typeof a2 && (a2 = a2()); | |
| b2.memoizedState = b2.baseState = a2; | |
| a2 = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: ei2, lastRenderedState: a2 }; | |
| b2.queue = a2; | |
| a2 = a2.dispatch = ri2.bind(null, N2, a2); | |
| return [b2.memoizedState, a2]; | |
| } | |
| function li2(a2, b2, c2, d2) { | |
| a2 = { tag: a2, create: b2, destroy: c2, deps: d2, next: null }; | |
| b2 = N2.updateQueue; | |
| null === b2 ? (b2 = { lastEffect: null, stores: null }, N2.updateQueue = b2, b2.lastEffect = a2.next = a2) : (c2 = b2.lastEffect, null === c2 ? b2.lastEffect = a2.next = a2 : (d2 = c2.next, c2.next = a2, a2.next = d2, b2.lastEffect = a2)); | |
| return a2; | |
| } | |
| function si2() { | |
| return di2().memoizedState; | |
| } | |
| function ti2(a2, b2, c2, d2) { | |
| var e2 = ci2(); | |
| N2.flags |= a2; | |
| e2.memoizedState = li2(1 | b2, c2, void 0, void 0 === d2 ? null : d2); | |
| } | |
| function ui2(a2, b2, c2, d2) { | |
| var e2 = di2(); | |
| d2 = void 0 === d2 ? null : d2; | |
| var f2 = void 0; | |
| if (null !== O2) { | |
| var g2 = O2.memoizedState; | |
| f2 = g2.destroy; | |
| if (null !== d2 && Wh2(d2, g2.deps)) { | |
| e2.memoizedState = li2(b2, c2, f2, d2); | |
| return; | |
| } | |
| } | |
| N2.flags |= a2; | |
| e2.memoizedState = li2(1 | b2, c2, f2, d2); | |
| } | |
| function vi2(a2, b2) { | |
| return ti2(8390656, 8, a2, b2); | |
| } | |
| function ji2(a2, b2) { | |
| return ui2(2048, 8, a2, b2); | |
| } | |
| function wi2(a2, b2) { | |
| return ui2(4, 2, a2, b2); | |
| } | |
| function xi2(a2, b2) { | |
| return ui2(4, 4, a2, b2); | |
| } | |
| function yi2(a2, b2) { | |
| if ("function" === typeof b2) return a2 = a2(), b2(a2), function() { | |
| b2(null); | |
| }; | |
| if (null !== b2 && void 0 !== b2) return a2 = a2(), b2.current = a2, function() { | |
| b2.current = null; | |
| }; | |
| } | |
| function zi2(a2, b2, c2) { | |
| c2 = null !== c2 && void 0 !== c2 ? c2.concat([a2]) : null; | |
| return ui2(4, 4, yi2.bind(null, b2, a2), c2); | |
| } | |
| function Ai2() { | |
| } | |
| function Bi2(a2, b2) { | |
| var c2 = di2(); | |
| b2 = void 0 === b2 ? null : b2; | |
| var d2 = c2.memoizedState; | |
| if (null !== d2 && null !== b2 && Wh2(b2, d2[1])) return d2[0]; | |
| c2.memoizedState = [a2, b2]; | |
| return a2; | |
| } | |
| function Ci2(a2, b2) { | |
| var c2 = di2(); | |
| b2 = void 0 === b2 ? null : b2; | |
| var d2 = c2.memoizedState; | |
| if (null !== d2 && null !== b2 && Wh2(b2, d2[1])) return d2[0]; | |
| a2 = a2(); | |
| c2.memoizedState = [a2, b2]; | |
| return a2; | |
| } | |
| function Di2(a2, b2, c2) { | |
| if (0 === (Rh2 & 21)) return a2.baseState && (a2.baseState = false, Ug = true), a2.memoizedState = c2; | |
| He2(c2, b2) || (c2 = yc2(), N2.lanes |= c2, hh2 |= c2, a2.baseState = true); | |
| return b2; | |
| } | |
| function Ei2(a2, b2) { | |
| var c2 = C2; | |
| C2 = 0 !== c2 && 4 > c2 ? c2 : 4; | |
| a2(true); | |
| var d2 = Qh2.transition; | |
| Qh2.transition = {}; | |
| try { | |
| a2(false), b2(); | |
| } finally { | |
| C2 = c2, Qh2.transition = d2; | |
| } | |
| } | |
| function Fi2() { | |
| return di2().memoizedState; | |
| } | |
| function Gi2(a2, b2, c2) { | |
| var d2 = lh2(a2); | |
| c2 = { lane: d2, action: c2, hasEagerState: false, eagerState: null, next: null }; | |
| if (Hi2(a2)) Ii2(b2, c2); | |
| else if (c2 = Yg(a2, b2, c2, d2), null !== c2) { | |
| var e2 = L2(); | |
| mh2(c2, a2, d2, e2); | |
| Ji2(c2, b2, d2); | |
| } | |
| } | |
| function ri2(a2, b2, c2) { | |
| var d2 = lh2(a2), e2 = { lane: d2, action: c2, hasEagerState: false, eagerState: null, next: null }; | |
| if (Hi2(a2)) Ii2(b2, e2); | |
| else { | |
| var f2 = a2.alternate; | |
| if (0 === a2.lanes && (null === f2 || 0 === f2.lanes) && (f2 = b2.lastRenderedReducer, null !== f2)) try { | |
| var g2 = b2.lastRenderedState, h2 = f2(g2, c2); | |
| e2.hasEagerState = true; | |
| e2.eagerState = h2; | |
| if (He2(h2, g2)) { | |
| var k2 = b2.interleaved; | |
| null === k2 ? (e2.next = e2, Xg(b2)) : (e2.next = k2.next, k2.next = e2); | |
| b2.interleaved = e2; | |
| return; | |
| } | |
| } catch (l2) { | |
| } finally { | |
| } | |
| c2 = Yg(a2, b2, e2, d2); | |
| null !== c2 && (e2 = L2(), mh2(c2, a2, d2, e2), Ji2(c2, b2, d2)); | |
| } | |
| } | |
| function Hi2(a2) { | |
| var b2 = a2.alternate; | |
| return a2 === N2 || null !== b2 && b2 === N2; | |
| } | |
| function Ii2(a2, b2) { | |
| Th2 = Sh2 = true; | |
| var c2 = a2.pending; | |
| null === c2 ? b2.next = b2 : (b2.next = c2.next, c2.next = b2); | |
| a2.pending = b2; | |
| } | |
| function Ji2(a2, b2, c2) { | |
| if (0 !== (c2 & 4194240)) { | |
| var d2 = b2.lanes; | |
| d2 &= a2.pendingLanes; | |
| c2 |= d2; | |
| b2.lanes = c2; | |
| Cc2(a2, c2); | |
| } | |
| } | |
| var ai2 = { readContext: Vg, useCallback: Q2, useContext: Q2, useEffect: Q2, useImperativeHandle: Q2, useInsertionEffect: Q2, useLayoutEffect: Q2, useMemo: Q2, useReducer: Q2, useRef: Q2, useState: Q2, useDebugValue: Q2, useDeferredValue: Q2, useTransition: Q2, useMutableSource: Q2, useSyncExternalStore: Q2, useId: Q2, unstable_isNewReconciler: false }, Yh2 = { readContext: Vg, useCallback: function(a2, b2) { | |
| ci2().memoizedState = [a2, void 0 === b2 ? null : b2]; | |
| return a2; | |
| }, useContext: Vg, useEffect: vi2, useImperativeHandle: function(a2, b2, c2) { | |
| c2 = null !== c2 && void 0 !== c2 ? c2.concat([a2]) : null; | |
| return ti2( | |
| 4194308, | |
| 4, | |
| yi2.bind(null, b2, a2), | |
| c2 | |
| ); | |
| }, useLayoutEffect: function(a2, b2) { | |
| return ti2(4194308, 4, a2, b2); | |
| }, useInsertionEffect: function(a2, b2) { | |
| return ti2(4, 2, a2, b2); | |
| }, useMemo: function(a2, b2) { | |
| var c2 = ci2(); | |
| b2 = void 0 === b2 ? null : b2; | |
| a2 = a2(); | |
| c2.memoizedState = [a2, b2]; | |
| return a2; | |
| }, useReducer: function(a2, b2, c2) { | |
| var d2 = ci2(); | |
| b2 = void 0 !== c2 ? c2(b2) : b2; | |
| d2.memoizedState = d2.baseState = b2; | |
| a2 = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: a2, lastRenderedState: b2 }; | |
| d2.queue = a2; | |
| a2 = a2.dispatch = Gi2.bind(null, N2, a2); | |
| return [d2.memoizedState, a2]; | |
| }, useRef: function(a2) { | |
| var b2 = ci2(); | |
| a2 = { current: a2 }; | |
| return b2.memoizedState = a2; | |
| }, useState: qi2, useDebugValue: Ai2, useDeferredValue: function(a2) { | |
| return ci2().memoizedState = a2; | |
| }, useTransition: function() { | |
| var a2 = qi2(false), b2 = a2[0]; | |
| a2 = Ei2.bind(null, a2[1]); | |
| ci2().memoizedState = a2; | |
| return [b2, a2]; | |
| }, useMutableSource: function() { | |
| }, useSyncExternalStore: function(a2, b2, c2) { | |
| var d2 = N2, e2 = ci2(); | |
| if (I2) { | |
| if (void 0 === c2) throw Error(p2(407)); | |
| c2 = c2(); | |
| } else { | |
| c2 = b2(); | |
| if (null === R2) throw Error(p2(349)); | |
| 0 !== (Rh2 & 30) || ni2(d2, b2, c2); | |
| } | |
| e2.memoizedState = c2; | |
| var f2 = { value: c2, getSnapshot: b2 }; | |
| e2.queue = f2; | |
| vi2(ki2.bind( | |
| null, | |
| d2, | |
| f2, | |
| a2 | |
| ), [a2]); | |
| d2.flags |= 2048; | |
| li2(9, mi2.bind(null, d2, f2, c2, b2), void 0, null); | |
| return c2; | |
| }, useId: function() { | |
| var a2 = ci2(), b2 = R2.identifierPrefix; | |
| if (I2) { | |
| var c2 = sg2; | |
| var d2 = rg2; | |
| c2 = (d2 & ~(1 << 32 - oc2(d2) - 1)).toString(32) + c2; | |
| b2 = ":" + b2 + "R" + c2; | |
| c2 = Uh2++; | |
| 0 < c2 && (b2 += "H" + c2.toString(32)); | |
| b2 += ":"; | |
| } else c2 = Vh2++, b2 = ":" + b2 + "r" + c2.toString(32) + ":"; | |
| return a2.memoizedState = b2; | |
| }, unstable_isNewReconciler: false }, Zh2 = { | |
| readContext: Vg, | |
| useCallback: Bi2, | |
| useContext: Vg, | |
| useEffect: ji2, | |
| useImperativeHandle: zi2, | |
| useInsertionEffect: wi2, | |
| useLayoutEffect: xi2, | |
| useMemo: Ci2, | |
| useReducer: fi2, | |
| useRef: si2, | |
| useState: function() { | |
| return fi2(ei2); | |
| }, | |
| useDebugValue: Ai2, | |
| useDeferredValue: function(a2) { | |
| var b2 = di2(); | |
| return Di2(b2, O2.memoizedState, a2); | |
| }, | |
| useTransition: function() { | |
| var a2 = fi2(ei2)[0], b2 = di2().memoizedState; | |
| return [a2, b2]; | |
| }, | |
| useMutableSource: hi2, | |
| useSyncExternalStore: ii2, | |
| useId: Fi2, | |
| unstable_isNewReconciler: false | |
| }, $h2 = { readContext: Vg, useCallback: Bi2, useContext: Vg, useEffect: ji2, useImperativeHandle: zi2, useInsertionEffect: wi2, useLayoutEffect: xi2, useMemo: Ci2, useReducer: gi2, useRef: si2, useState: function() { | |
| return gi2(ei2); | |
| }, useDebugValue: Ai2, useDeferredValue: function(a2) { | |
| var b2 = di2(); | |
| return null === O2 ? b2.memoizedState = a2 : Di2(b2, O2.memoizedState, a2); | |
| }, useTransition: function() { | |
| var a2 = gi2(ei2)[0], b2 = di2().memoizedState; | |
| return [a2, b2]; | |
| }, useMutableSource: hi2, useSyncExternalStore: ii2, useId: Fi2, unstable_isNewReconciler: false }; | |
| function Ki2(a2, b2) { | |
| try { | |
| var c2 = "", d2 = b2; | |
| do | |
| c2 += Pa2(d2), d2 = d2.return; | |
| while (d2); | |
| var e2 = c2; | |
| } catch (f2) { | |
| e2 = "\nError generating stack: " + f2.message + "\n" + f2.stack; | |
| } | |
| return { value: a2, source: b2, stack: e2, digest: null }; | |
| } | |
| function Li2(a2, b2, c2) { | |
| return { value: a2, source: null, stack: null != c2 ? c2 : null, digest: null != b2 ? b2 : null }; | |
| } | |
| function Mi2(a2, b2) { | |
| try { | |
| console.error(b2.value); | |
| } catch (c2) { | |
| setTimeout(function() { | |
| throw c2; | |
| }); | |
| } | |
| } | |
| var Ni2 = "function" === typeof WeakMap ? WeakMap : Map; | |
| function Oi2(a2, b2, c2) { | |
| c2 = ch2(-1, c2); | |
| c2.tag = 3; | |
| c2.payload = { element: null }; | |
| var d2 = b2.value; | |
| c2.callback = function() { | |
| Pi2 || (Pi2 = true, Qi2 = d2); | |
| Mi2(a2, b2); | |
| }; | |
| return c2; | |
| } | |
| function Ri2(a2, b2, c2) { | |
| c2 = ch2(-1, c2); | |
| c2.tag = 3; | |
| var d2 = a2.type.getDerivedStateFromError; | |
| if ("function" === typeof d2) { | |
| var e2 = b2.value; | |
| c2.payload = function() { | |
| return d2(e2); | |
| }; | |
| c2.callback = function() { | |
| Mi2(a2, b2); | |
| }; | |
| } | |
| var f2 = a2.stateNode; | |
| null !== f2 && "function" === typeof f2.componentDidCatch && (c2.callback = function() { | |
| Mi2(a2, b2); | |
| "function" !== typeof d2 && (null === Si2 ? Si2 = /* @__PURE__ */ new Set([this]) : Si2.add(this)); | |
| var c3 = b2.stack; | |
| this.componentDidCatch(b2.value, { componentStack: null !== c3 ? c3 : "" }); | |
| }); | |
| return c2; | |
| } | |
| function Ti2(a2, b2, c2) { | |
| var d2 = a2.pingCache; | |
| if (null === d2) { | |
| d2 = a2.pingCache = new Ni2(); | |
| var e2 = /* @__PURE__ */ new Set(); | |
| d2.set(b2, e2); | |
| } else e2 = d2.get(b2), void 0 === e2 && (e2 = /* @__PURE__ */ new Set(), d2.set(b2, e2)); | |
| e2.has(c2) || (e2.add(c2), a2 = Ui2.bind(null, a2, b2, c2), b2.then(a2, a2)); | |
| } | |
| function Vi2(a2) { | |
| do { | |
| var b2; | |
| if (b2 = 13 === a2.tag) b2 = a2.memoizedState, b2 = null !== b2 ? null !== b2.dehydrated ? true : false : true; | |
| if (b2) return a2; | |
| a2 = a2.return; | |
| } while (null !== a2); | |
| return null; | |
| } | |
| function Wi2(a2, b2, c2, d2, e2) { | |
| if (0 === (a2.mode & 1)) return a2 === b2 ? a2.flags |= 65536 : (a2.flags |= 128, c2.flags |= 131072, c2.flags &= -52805, 1 === c2.tag && (null === c2.alternate ? c2.tag = 17 : (b2 = ch2(-1, 1), b2.tag = 2, dh2(c2, b2, 1))), c2.lanes |= 1), a2; | |
| a2.flags |= 65536; | |
| a2.lanes = e2; | |
| return a2; | |
| } | |
| var Xi2 = ua2.ReactCurrentOwner, Ug = false; | |
| function Yi2(a2, b2, c2, d2) { | |
| b2.child = null === a2 ? Ch2(b2, null, c2, d2) : Bh2(b2, a2.child, c2, d2); | |
| } | |
| function Zi2(a2, b2, c2, d2, e2) { | |
| c2 = c2.render; | |
| var f2 = b2.ref; | |
| Tg(b2, e2); | |
| d2 = Xh2(a2, b2, c2, d2, f2, e2); | |
| c2 = bi2(); | |
| if (null !== a2 && !Ug) return b2.updateQueue = a2.updateQueue, b2.flags &= -2053, a2.lanes &= ~e2, $i2(a2, b2, e2); | |
| I2 && c2 && vg(b2); | |
| b2.flags |= 1; | |
| Yi2(a2, b2, d2, e2); | |
| return b2.child; | |
| } | |
| function aj(a2, b2, c2, d2, e2) { | |
| if (null === a2) { | |
| var f2 = c2.type; | |
| if ("function" === typeof f2 && !bj(f2) && void 0 === f2.defaultProps && null === c2.compare && void 0 === c2.defaultProps) return b2.tag = 15, b2.type = f2, cj(a2, b2, f2, d2, e2); | |
| a2 = yh2(c2.type, null, d2, b2, b2.mode, e2); | |
| a2.ref = b2.ref; | |
| a2.return = b2; | |
| return b2.child = a2; | |
| } | |
| f2 = a2.child; | |
| if (0 === (a2.lanes & e2)) { | |
| var g2 = f2.memoizedProps; | |
| c2 = c2.compare; | |
| c2 = null !== c2 ? c2 : Ie2; | |
| if (c2(g2, d2) && a2.ref === b2.ref) return $i2(a2, b2, e2); | |
| } | |
| b2.flags |= 1; | |
| a2 = wh2(f2, d2); | |
| a2.ref = b2.ref; | |
| a2.return = b2; | |
| return b2.child = a2; | |
| } | |
| function cj(a2, b2, c2, d2, e2) { | |
| if (null !== a2) { | |
| var f2 = a2.memoizedProps; | |
| if (Ie2(f2, d2) && a2.ref === b2.ref) if (Ug = false, b2.pendingProps = d2 = f2, 0 !== (a2.lanes & e2)) 0 !== (a2.flags & 131072) && (Ug = true); | |
| else return b2.lanes = a2.lanes, $i2(a2, b2, e2); | |
| } | |
| return dj(a2, b2, c2, d2, e2); | |
| } | |
| function ej(a2, b2, c2) { | |
| var d2 = b2.pendingProps, e2 = d2.children, f2 = null !== a2 ? a2.memoizedState : null; | |
| if ("hidden" === d2.mode) if (0 === (b2.mode & 1)) b2.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, G2(fj, gj), gj |= c2; | |
| else { | |
| if (0 === (c2 & 1073741824)) return a2 = null !== f2 ? f2.baseLanes | c2 : c2, b2.lanes = b2.childLanes = 1073741824, b2.memoizedState = { baseLanes: a2, cachePool: null, transitions: null }, b2.updateQueue = null, G2(fj, gj), gj |= a2, null; | |
| b2.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }; | |
| d2 = null !== f2 ? f2.baseLanes : c2; | |
| G2(fj, gj); | |
| gj |= d2; | |
| } | |
| else null !== f2 ? (d2 = f2.baseLanes | c2, b2.memoizedState = null) : d2 = c2, G2(fj, gj), gj |= d2; | |
| Yi2(a2, b2, e2, c2); | |
| return b2.child; | |
| } | |
| function hj(a2, b2) { | |
| var c2 = b2.ref; | |
| if (null === a2 && null !== c2 || null !== a2 && a2.ref !== c2) b2.flags |= 512, b2.flags |= 2097152; | |
| } | |
| function dj(a2, b2, c2, d2, e2) { | |
| var f2 = Zf2(c2) ? Xf2 : H2.current; | |
| f2 = Yf2(b2, f2); | |
| Tg(b2, e2); | |
| c2 = Xh2(a2, b2, c2, d2, f2, e2); | |
| d2 = bi2(); | |
| if (null !== a2 && !Ug) return b2.updateQueue = a2.updateQueue, b2.flags &= -2053, a2.lanes &= ~e2, $i2(a2, b2, e2); | |
| I2 && d2 && vg(b2); | |
| b2.flags |= 1; | |
| Yi2(a2, b2, c2, e2); | |
| return b2.child; | |
| } | |
| function ij(a2, b2, c2, d2, e2) { | |
| if (Zf2(c2)) { | |
| var f2 = true; | |
| cg2(b2); | |
| } else f2 = false; | |
| Tg(b2, e2); | |
| if (null === b2.stateNode) jj(a2, b2), ph2(b2, c2, d2), rh2(b2, c2, d2, e2), d2 = true; | |
| else if (null === a2) { | |
| var g2 = b2.stateNode, h2 = b2.memoizedProps; | |
| g2.props = h2; | |
| var k2 = g2.context, l2 = c2.contextType; | |
| "object" === typeof l2 && null !== l2 ? l2 = Vg(l2) : (l2 = Zf2(c2) ? Xf2 : H2.current, l2 = Yf2(b2, l2)); | |
| var m2 = c2.getDerivedStateFromProps, q2 = "function" === typeof m2 || "function" === typeof g2.getSnapshotBeforeUpdate; | |
| q2 || "function" !== typeof g2.UNSAFE_componentWillReceiveProps && "function" !== typeof g2.componentWillReceiveProps || (h2 !== d2 || k2 !== l2) && qh2(b2, g2, d2, l2); | |
| $g = false; | |
| var r2 = b2.memoizedState; | |
| g2.state = r2; | |
| gh2(b2, d2, g2, e2); | |
| k2 = b2.memoizedState; | |
| h2 !== d2 || r2 !== k2 || Wf2.current || $g ? ("function" === typeof m2 && (kh2(b2, c2, m2, d2), k2 = b2.memoizedState), (h2 = $g || oh2(b2, c2, h2, d2, r2, k2, l2)) ? (q2 || "function" !== typeof g2.UNSAFE_componentWillMount && "function" !== typeof g2.componentWillMount || ("function" === typeof g2.componentWillMount && g2.componentWillMount(), "function" === typeof g2.UNSAFE_componentWillMount && g2.UNSAFE_componentWillMount()), "function" === typeof g2.componentDidMount && (b2.flags |= 4194308)) : ("function" === typeof g2.componentDidMount && (b2.flags |= 4194308), b2.memoizedProps = d2, b2.memoizedState = k2), g2.props = d2, g2.state = k2, g2.context = l2, d2 = h2) : ("function" === typeof g2.componentDidMount && (b2.flags |= 4194308), d2 = false); | |
| } else { | |
| g2 = b2.stateNode; | |
| bh2(a2, b2); | |
| h2 = b2.memoizedProps; | |
| l2 = b2.type === b2.elementType ? h2 : Lg(b2.type, h2); | |
| g2.props = l2; | |
| q2 = b2.pendingProps; | |
| r2 = g2.context; | |
| k2 = c2.contextType; | |
| "object" === typeof k2 && null !== k2 ? k2 = Vg(k2) : (k2 = Zf2(c2) ? Xf2 : H2.current, k2 = Yf2(b2, k2)); | |
| var y2 = c2.getDerivedStateFromProps; | |
| (m2 = "function" === typeof y2 || "function" === typeof g2.getSnapshotBeforeUpdate) || "function" !== typeof g2.UNSAFE_componentWillReceiveProps && "function" !== typeof g2.componentWillReceiveProps || (h2 !== q2 || r2 !== k2) && qh2(b2, g2, d2, k2); | |
| $g = false; | |
| r2 = b2.memoizedState; | |
| g2.state = r2; | |
| gh2(b2, d2, g2, e2); | |
| var n2 = b2.memoizedState; | |
| h2 !== q2 || r2 !== n2 || Wf2.current || $g ? ("function" === typeof y2 && (kh2(b2, c2, y2, d2), n2 = b2.memoizedState), (l2 = $g || oh2(b2, c2, l2, d2, r2, n2, k2) || false) ? (m2 || "function" !== typeof g2.UNSAFE_componentWillUpdate && "function" !== typeof g2.componentWillUpdate || ("function" === typeof g2.componentWillUpdate && g2.componentWillUpdate(d2, n2, k2), "function" === typeof g2.UNSAFE_componentWillUpdate && g2.UNSAFE_componentWillUpdate(d2, n2, k2)), "function" === typeof g2.componentDidUpdate && (b2.flags |= 4), "function" === typeof g2.getSnapshotBeforeUpdate && (b2.flags |= 1024)) : ("function" !== typeof g2.componentDidUpdate || h2 === a2.memoizedProps && r2 === a2.memoizedState || (b2.flags |= 4), "function" !== typeof g2.getSnapshotBeforeUpdate || h2 === a2.memoizedProps && r2 === a2.memoizedState || (b2.flags |= 1024), b2.memoizedProps = d2, b2.memoizedState = n2), g2.props = d2, g2.state = n2, g2.context = k2, d2 = l2) : ("function" !== typeof g2.componentDidUpdate || h2 === a2.memoizedProps && r2 === a2.memoizedState || (b2.flags |= 4), "function" !== typeof g2.getSnapshotBeforeUpdate || h2 === a2.memoizedProps && r2 === a2.memoizedState || (b2.flags |= 1024), d2 = false); | |
| } | |
| return kj(a2, b2, c2, d2, f2, e2); | |
| } | |
| function kj(a2, b2, c2, d2, e2, f2) { | |
| hj(a2, b2); | |
| var g2 = 0 !== (b2.flags & 128); | |
| if (!d2 && !g2) return e2 && dg2(b2, c2, false), $i2(a2, b2, f2); | |
| d2 = b2.stateNode; | |
| Xi2.current = b2; | |
| var h2 = g2 && "function" !== typeof c2.getDerivedStateFromError ? null : d2.render(); | |
| b2.flags |= 1; | |
| null !== a2 && g2 ? (b2.child = Bh2(b2, a2.child, null, f2), b2.child = Bh2(b2, null, h2, f2)) : Yi2(a2, b2, h2, f2); | |
| b2.memoizedState = d2.state; | |
| e2 && dg2(b2, c2, true); | |
| return b2.child; | |
| } | |
| function lj(a2) { | |
| var b2 = a2.stateNode; | |
| b2.pendingContext ? ag2(a2, b2.pendingContext, b2.pendingContext !== b2.context) : b2.context && ag2(a2, b2.context, false); | |
| Ih2(a2, b2.containerInfo); | |
| } | |
| function mj(a2, b2, c2, d2, e2) { | |
| Ig(); | |
| Jg(e2); | |
| b2.flags |= 256; | |
| Yi2(a2, b2, c2, d2); | |
| return b2.child; | |
| } | |
| var nj = { dehydrated: null, treeContext: null, retryLane: 0 }; | |
| function oj(a2) { | |
| return { baseLanes: a2, cachePool: null, transitions: null }; | |
| } | |
| function pj(a2, b2, c2) { | |
| var d2 = b2.pendingProps, e2 = M2.current, f2 = false, g2 = 0 !== (b2.flags & 128), h2; | |
| (h2 = g2) || (h2 = null !== a2 && null === a2.memoizedState ? false : 0 !== (e2 & 2)); | |
| if (h2) f2 = true, b2.flags &= -129; | |
| else if (null === a2 || null !== a2.memoizedState) e2 |= 1; | |
| G2(M2, e2 & 1); | |
| if (null === a2) { | |
| Eg(b2); | |
| a2 = b2.memoizedState; | |
| if (null !== a2 && (a2 = a2.dehydrated, null !== a2)) return 0 === (b2.mode & 1) ? b2.lanes = 1 : "$!" === a2.data ? b2.lanes = 8 : b2.lanes = 1073741824, null; | |
| g2 = d2.children; | |
| a2 = d2.fallback; | |
| return f2 ? (d2 = b2.mode, f2 = b2.child, g2 = { mode: "hidden", children: g2 }, 0 === (d2 & 1) && null !== f2 ? (f2.childLanes = 0, f2.pendingProps = g2) : f2 = qj(g2, d2, 0, null), a2 = Ah2(a2, d2, c2, null), f2.return = b2, a2.return = b2, f2.sibling = a2, b2.child = f2, b2.child.memoizedState = oj(c2), b2.memoizedState = nj, a2) : rj(b2, g2); | |
| } | |
| e2 = a2.memoizedState; | |
| if (null !== e2 && (h2 = e2.dehydrated, null !== h2)) return sj(a2, b2, g2, d2, h2, e2, c2); | |
| if (f2) { | |
| f2 = d2.fallback; | |
| g2 = b2.mode; | |
| e2 = a2.child; | |
| h2 = e2.sibling; | |
| var k2 = { mode: "hidden", children: d2.children }; | |
| 0 === (g2 & 1) && b2.child !== e2 ? (d2 = b2.child, d2.childLanes = 0, d2.pendingProps = k2, b2.deletions = null) : (d2 = wh2(e2, k2), d2.subtreeFlags = e2.subtreeFlags & 14680064); | |
| null !== h2 ? f2 = wh2(h2, f2) : (f2 = Ah2(f2, g2, c2, null), f2.flags |= 2); | |
| f2.return = b2; | |
| d2.return = b2; | |
| d2.sibling = f2; | |
| b2.child = d2; | |
| d2 = f2; | |
| f2 = b2.child; | |
| g2 = a2.child.memoizedState; | |
| g2 = null === g2 ? oj(c2) : { baseLanes: g2.baseLanes | c2, cachePool: null, transitions: g2.transitions }; | |
| f2.memoizedState = g2; | |
| f2.childLanes = a2.childLanes & ~c2; | |
| b2.memoizedState = nj; | |
| return d2; | |
| } | |
| f2 = a2.child; | |
| a2 = f2.sibling; | |
| d2 = wh2(f2, { mode: "visible", children: d2.children }); | |
| 0 === (b2.mode & 1) && (d2.lanes = c2); | |
| d2.return = b2; | |
| d2.sibling = null; | |
| null !== a2 && (c2 = b2.deletions, null === c2 ? (b2.deletions = [a2], b2.flags |= 16) : c2.push(a2)); | |
| b2.child = d2; | |
| b2.memoizedState = null; | |
| return d2; | |
| } | |
| function rj(a2, b2) { | |
| b2 = qj({ mode: "visible", children: b2 }, a2.mode, 0, null); | |
| b2.return = a2; | |
| return a2.child = b2; | |
| } | |
| function tj(a2, b2, c2, d2) { | |
| null !== d2 && Jg(d2); | |
| Bh2(b2, a2.child, null, c2); | |
| a2 = rj(b2, b2.pendingProps.children); | |
| a2.flags |= 2; | |
| b2.memoizedState = null; | |
| return a2; | |
| } | |
| function sj(a2, b2, c2, d2, e2, f2, g2) { | |
| if (c2) { | |
| if (b2.flags & 256) return b2.flags &= -257, d2 = Li2(Error(p2(422))), tj(a2, b2, g2, d2); | |
| if (null !== b2.memoizedState) return b2.child = a2.child, b2.flags |= 128, null; | |
| f2 = d2.fallback; | |
| e2 = b2.mode; | |
| d2 = qj({ mode: "visible", children: d2.children }, e2, 0, null); | |
| f2 = Ah2(f2, e2, g2, null); | |
| f2.flags |= 2; | |
| d2.return = b2; | |
| f2.return = b2; | |
| d2.sibling = f2; | |
| b2.child = d2; | |
| 0 !== (b2.mode & 1) && Bh2(b2, a2.child, null, g2); | |
| b2.child.memoizedState = oj(g2); | |
| b2.memoizedState = nj; | |
| return f2; | |
| } | |
| if (0 === (b2.mode & 1)) return tj(a2, b2, g2, null); | |
| if ("$!" === e2.data) { | |
| d2 = e2.nextSibling && e2.nextSibling.dataset; | |
| if (d2) var h2 = d2.dgst; | |
| d2 = h2; | |
| f2 = Error(p2(419)); | |
| d2 = Li2(f2, d2, void 0); | |
| return tj(a2, b2, g2, d2); | |
| } | |
| h2 = 0 !== (g2 & a2.childLanes); | |
| if (Ug || h2) { | |
| d2 = R2; | |
| if (null !== d2) { | |
| switch (g2 & -g2) { | |
| case 4: | |
| e2 = 2; | |
| break; | |
| case 16: | |
| e2 = 8; | |
| break; | |
| case 64: | |
| case 128: | |
| case 256: | |
| case 512: | |
| case 1024: | |
| case 2048: | |
| case 4096: | |
| case 8192: | |
| case 16384: | |
| case 32768: | |
| case 65536: | |
| case 131072: | |
| case 262144: | |
| case 524288: | |
| case 1048576: | |
| case 2097152: | |
| case 4194304: | |
| case 8388608: | |
| case 16777216: | |
| case 33554432: | |
| case 67108864: | |
| e2 = 32; | |
| break; | |
| case 536870912: | |
| e2 = 268435456; | |
| break; | |
| default: | |
| e2 = 0; | |
| } | |
| e2 = 0 !== (e2 & (d2.suspendedLanes | g2)) ? 0 : e2; | |
| 0 !== e2 && e2 !== f2.retryLane && (f2.retryLane = e2, Zg(a2, e2), mh2(d2, a2, e2, -1)); | |
| } | |
| uj(); | |
| d2 = Li2(Error(p2(421))); | |
| return tj(a2, b2, g2, d2); | |
| } | |
| if ("$?" === e2.data) return b2.flags |= 128, b2.child = a2.child, b2 = vj.bind(null, a2), e2._reactRetry = b2, null; | |
| a2 = f2.treeContext; | |
| yg = Lf2(e2.nextSibling); | |
| xg = b2; | |
| I2 = true; | |
| zg = null; | |
| null !== a2 && (og2[pg2++] = rg2, og2[pg2++] = sg2, og2[pg2++] = qg, rg2 = a2.id, sg2 = a2.overflow, qg = b2); | |
| b2 = rj(b2, d2.children); | |
| b2.flags |= 4096; | |
| return b2; | |
| } | |
| function wj(a2, b2, c2) { | |
| a2.lanes |= b2; | |
| var d2 = a2.alternate; | |
| null !== d2 && (d2.lanes |= b2); | |
| Sg(a2.return, b2, c2); | |
| } | |
| function xj(a2, b2, c2, d2, e2) { | |
| var f2 = a2.memoizedState; | |
| null === f2 ? a2.memoizedState = { isBackwards: b2, rendering: null, renderingStartTime: 0, last: d2, tail: c2, tailMode: e2 } : (f2.isBackwards = b2, f2.rendering = null, f2.renderingStartTime = 0, f2.last = d2, f2.tail = c2, f2.tailMode = e2); | |
| } | |
| function yj(a2, b2, c2) { | |
| var d2 = b2.pendingProps, e2 = d2.revealOrder, f2 = d2.tail; | |
| Yi2(a2, b2, d2.children, c2); | |
| d2 = M2.current; | |
| if (0 !== (d2 & 2)) d2 = d2 & 1 | 2, b2.flags |= 128; | |
| else { | |
| if (null !== a2 && 0 !== (a2.flags & 128)) a: for (a2 = b2.child; null !== a2; ) { | |
| if (13 === a2.tag) null !== a2.memoizedState && wj(a2, c2, b2); | |
| else if (19 === a2.tag) wj(a2, c2, b2); | |
| else if (null !== a2.child) { | |
| a2.child.return = a2; | |
| a2 = a2.child; | |
| continue; | |
| } | |
| if (a2 === b2) break a; | |
| for (; null === a2.sibling; ) { | |
| if (null === a2.return || a2.return === b2) break a; | |
| a2 = a2.return; | |
| } | |
| a2.sibling.return = a2.return; | |
| a2 = a2.sibling; | |
| } | |
| d2 &= 1; | |
| } | |
| G2(M2, d2); | |
| if (0 === (b2.mode & 1)) b2.memoizedState = null; | |
| else switch (e2) { | |
| case "forwards": | |
| c2 = b2.child; | |
| for (e2 = null; null !== c2; ) a2 = c2.alternate, null !== a2 && null === Mh2(a2) && (e2 = c2), c2 = c2.sibling; | |
| c2 = e2; | |
| null === c2 ? (e2 = b2.child, b2.child = null) : (e2 = c2.sibling, c2.sibling = null); | |
| xj(b2, false, e2, c2, f2); | |
| break; | |
| case "backwards": | |
| c2 = null; | |
| e2 = b2.child; | |
| for (b2.child = null; null !== e2; ) { | |
| a2 = e2.alternate; | |
| if (null !== a2 && null === Mh2(a2)) { | |
| b2.child = e2; | |
| break; | |
| } | |
| a2 = e2.sibling; | |
| e2.sibling = c2; | |
| c2 = e2; | |
| e2 = a2; | |
| } | |
| xj(b2, true, c2, null, f2); | |
| break; | |
| case "together": | |
| xj(b2, false, null, null, void 0); | |
| break; | |
| default: | |
| b2.memoizedState = null; | |
| } | |
| return b2.child; | |
| } | |
| function jj(a2, b2) { | |
| 0 === (b2.mode & 1) && null !== a2 && (a2.alternate = null, b2.alternate = null, b2.flags |= 2); | |
| } | |
| function $i2(a2, b2, c2) { | |
| null !== a2 && (b2.dependencies = a2.dependencies); | |
| hh2 |= b2.lanes; | |
| if (0 === (c2 & b2.childLanes)) return null; | |
| if (null !== a2 && b2.child !== a2.child) throw Error(p2(153)); | |
| if (null !== b2.child) { | |
| a2 = b2.child; | |
| c2 = wh2(a2, a2.pendingProps); | |
| b2.child = c2; | |
| for (c2.return = b2; null !== a2.sibling; ) a2 = a2.sibling, c2 = c2.sibling = wh2(a2, a2.pendingProps), c2.return = b2; | |
| c2.sibling = null; | |
| } | |
| return b2.child; | |
| } | |
| function zj(a2, b2, c2) { | |
| switch (b2.tag) { | |
| case 3: | |
| lj(b2); | |
| Ig(); | |
| break; | |
| case 5: | |
| Kh2(b2); | |
| break; | |
| case 1: | |
| Zf2(b2.type) && cg2(b2); | |
| break; | |
| case 4: | |
| Ih2(b2, b2.stateNode.containerInfo); | |
| break; | |
| case 10: | |
| var d2 = b2.type._context, e2 = b2.memoizedProps.value; | |
| G2(Mg, d2._currentValue); | |
| d2._currentValue = e2; | |
| break; | |
| case 13: | |
| d2 = b2.memoizedState; | |
| if (null !== d2) { | |
| if (null !== d2.dehydrated) return G2(M2, M2.current & 1), b2.flags |= 128, null; | |
| if (0 !== (c2 & b2.child.childLanes)) return pj(a2, b2, c2); | |
| G2(M2, M2.current & 1); | |
| a2 = $i2(a2, b2, c2); | |
| return null !== a2 ? a2.sibling : null; | |
| } | |
| G2(M2, M2.current & 1); | |
| break; | |
| case 19: | |
| d2 = 0 !== (c2 & b2.childLanes); | |
| if (0 !== (a2.flags & 128)) { | |
| if (d2) return yj(a2, b2, c2); | |
| b2.flags |= 128; | |
| } | |
| e2 = b2.memoizedState; | |
| null !== e2 && (e2.rendering = null, e2.tail = null, e2.lastEffect = null); | |
| G2(M2, M2.current); | |
| if (d2) break; | |
| else return null; | |
| case 22: | |
| case 23: | |
| return b2.lanes = 0, ej(a2, b2, c2); | |
| } | |
| return $i2(a2, b2, c2); | |
| } | |
| var Aj, Bj, Cj, Dj; | |
| Aj = function(a2, b2) { | |
| for (var c2 = b2.child; null !== c2; ) { | |
| if (5 === c2.tag || 6 === c2.tag) a2.appendChild(c2.stateNode); | |
| else if (4 !== c2.tag && null !== c2.child) { | |
| c2.child.return = c2; | |
| c2 = c2.child; | |
| continue; | |
| } | |
| if (c2 === b2) break; | |
| for (; null === c2.sibling; ) { | |
| if (null === c2.return || c2.return === b2) return; | |
| c2 = c2.return; | |
| } | |
| c2.sibling.return = c2.return; | |
| c2 = c2.sibling; | |
| } | |
| }; | |
| Bj = function() { | |
| }; | |
| Cj = function(a2, b2, c2, d2) { | |
| var e2 = a2.memoizedProps; | |
| if (e2 !== d2) { | |
| a2 = b2.stateNode; | |
| Hh2(Eh2.current); | |
| var f2 = null; | |
| switch (c2) { | |
| case "input": | |
| e2 = Ya2(a2, e2); | |
| d2 = Ya2(a2, d2); | |
| f2 = []; | |
| break; | |
| case "select": | |
| e2 = A2({}, e2, { value: void 0 }); | |
| d2 = A2({}, d2, { value: void 0 }); | |
| f2 = []; | |
| break; | |
| case "textarea": | |
| e2 = gb(a2, e2); | |
| d2 = gb(a2, d2); | |
| f2 = []; | |
| break; | |
| default: | |
| "function" !== typeof e2.onClick && "function" === typeof d2.onClick && (a2.onclick = Bf2); | |
| } | |
| ub(c2, d2); | |
| var g2; | |
| c2 = null; | |
| for (l2 in e2) if (!d2.hasOwnProperty(l2) && e2.hasOwnProperty(l2) && null != e2[l2]) if ("style" === l2) { | |
| var h2 = e2[l2]; | |
| for (g2 in h2) h2.hasOwnProperty(g2) && (c2 || (c2 = {}), c2[g2] = ""); | |
| } else "dangerouslySetInnerHTML" !== l2 && "children" !== l2 && "suppressContentEditableWarning" !== l2 && "suppressHydrationWarning" !== l2 && "autoFocus" !== l2 && (ea2.hasOwnProperty(l2) ? f2 || (f2 = []) : (f2 = f2 || []).push(l2, null)); | |
| for (l2 in d2) { | |
| var k2 = d2[l2]; | |
| h2 = null != e2 ? e2[l2] : void 0; | |
| if (d2.hasOwnProperty(l2) && k2 !== h2 && (null != k2 || null != h2)) if ("style" === l2) if (h2) { | |
| for (g2 in h2) !h2.hasOwnProperty(g2) || k2 && k2.hasOwnProperty(g2) || (c2 || (c2 = {}), c2[g2] = ""); | |
| for (g2 in k2) k2.hasOwnProperty(g2) && h2[g2] !== k2[g2] && (c2 || (c2 = {}), c2[g2] = k2[g2]); | |
| } else c2 || (f2 || (f2 = []), f2.push( | |
| l2, | |
| c2 | |
| )), c2 = k2; | |
| else "dangerouslySetInnerHTML" === l2 ? (k2 = k2 ? k2.__html : void 0, h2 = h2 ? h2.__html : void 0, null != k2 && h2 !== k2 && (f2 = f2 || []).push(l2, k2)) : "children" === l2 ? "string" !== typeof k2 && "number" !== typeof k2 || (f2 = f2 || []).push(l2, "" + k2) : "suppressContentEditableWarning" !== l2 && "suppressHydrationWarning" !== l2 && (ea2.hasOwnProperty(l2) ? (null != k2 && "onScroll" === l2 && D2("scroll", a2), f2 || h2 === k2 || (f2 = [])) : (f2 = f2 || []).push(l2, k2)); | |
| } | |
| c2 && (f2 = f2 || []).push("style", c2); | |
| var l2 = f2; | |
| if (b2.updateQueue = l2) b2.flags |= 4; | |
| } | |
| }; | |
| Dj = function(a2, b2, c2, d2) { | |
| c2 !== d2 && (b2.flags |= 4); | |
| }; | |
| function Ej(a2, b2) { | |
| if (!I2) switch (a2.tailMode) { | |
| case "hidden": | |
| b2 = a2.tail; | |
| for (var c2 = null; null !== b2; ) null !== b2.alternate && (c2 = b2), b2 = b2.sibling; | |
| null === c2 ? a2.tail = null : c2.sibling = null; | |
| break; | |
| case "collapsed": | |
| c2 = a2.tail; | |
| for (var d2 = null; null !== c2; ) null !== c2.alternate && (d2 = c2), c2 = c2.sibling; | |
| null === d2 ? b2 || null === a2.tail ? a2.tail = null : a2.tail.sibling = null : d2.sibling = null; | |
| } | |
| } | |
| function S2(a2) { | |
| var b2 = null !== a2.alternate && a2.alternate.child === a2.child, c2 = 0, d2 = 0; | |
| if (b2) for (var e2 = a2.child; null !== e2; ) c2 |= e2.lanes | e2.childLanes, d2 |= e2.subtreeFlags & 14680064, d2 |= e2.flags & 14680064, e2.return = a2, e2 = e2.sibling; | |
| else for (e2 = a2.child; null !== e2; ) c2 |= e2.lanes | e2.childLanes, d2 |= e2.subtreeFlags, d2 |= e2.flags, e2.return = a2, e2 = e2.sibling; | |
| a2.subtreeFlags |= d2; | |
| a2.childLanes = c2; | |
| return b2; | |
| } | |
| function Fj(a2, b2, c2) { | |
| var d2 = b2.pendingProps; | |
| wg(b2); | |
| switch (b2.tag) { | |
| case 2: | |
| case 16: | |
| case 15: | |
| case 0: | |
| case 11: | |
| case 7: | |
| case 8: | |
| case 12: | |
| case 9: | |
| case 14: | |
| return S2(b2), null; | |
| case 1: | |
| return Zf2(b2.type) && $f2(), S2(b2), null; | |
| case 3: | |
| d2 = b2.stateNode; | |
| Jh2(); | |
| E2(Wf2); | |
| E2(H2); | |
| Oh2(); | |
| d2.pendingContext && (d2.context = d2.pendingContext, d2.pendingContext = null); | |
| if (null === a2 || null === a2.child) Gg(b2) ? b2.flags |= 4 : null === a2 || a2.memoizedState.isDehydrated && 0 === (b2.flags & 256) || (b2.flags |= 1024, null !== zg && (Gj(zg), zg = null)); | |
| Bj(a2, b2); | |
| S2(b2); | |
| return null; | |
| case 5: | |
| Lh2(b2); | |
| var e2 = Hh2(Gh2.current); | |
| c2 = b2.type; | |
| if (null !== a2 && null != b2.stateNode) Cj(a2, b2, c2, d2, e2), a2.ref !== b2.ref && (b2.flags |= 512, b2.flags |= 2097152); | |
| else { | |
| if (!d2) { | |
| if (null === b2.stateNode) throw Error(p2(166)); | |
| S2(b2); | |
| return null; | |
| } | |
| a2 = Hh2(Eh2.current); | |
| if (Gg(b2)) { | |
| d2 = b2.stateNode; | |
| c2 = b2.type; | |
| var f2 = b2.memoizedProps; | |
| d2[Of2] = b2; | |
| d2[Pf2] = f2; | |
| a2 = 0 !== (b2.mode & 1); | |
| switch (c2) { | |
| case "dialog": | |
| D2("cancel", d2); | |
| D2("close", d2); | |
| break; | |
| case "iframe": | |
| case "object": | |
| case "embed": | |
| D2("load", d2); | |
| break; | |
| case "video": | |
| case "audio": | |
| for (e2 = 0; e2 < lf2.length; e2++) D2(lf2[e2], d2); | |
| break; | |
| case "source": | |
| D2("error", d2); | |
| break; | |
| case "img": | |
| case "image": | |
| case "link": | |
| D2( | |
| "error", | |
| d2 | |
| ); | |
| D2("load", d2); | |
| break; | |
| case "details": | |
| D2("toggle", d2); | |
| break; | |
| case "input": | |
| Za2(d2, f2); | |
| D2("invalid", d2); | |
| break; | |
| case "select": | |
| d2._wrapperState = { wasMultiple: !!f2.multiple }; | |
| D2("invalid", d2); | |
| break; | |
| case "textarea": | |
| hb(d2, f2), D2("invalid", d2); | |
| } | |
| ub(c2, f2); | |
| e2 = null; | |
| for (var g2 in f2) if (f2.hasOwnProperty(g2)) { | |
| var h2 = f2[g2]; | |
| "children" === g2 ? "string" === typeof h2 ? d2.textContent !== h2 && (true !== f2.suppressHydrationWarning && Af2(d2.textContent, h2, a2), e2 = ["children", h2]) : "number" === typeof h2 && d2.textContent !== "" + h2 && (true !== f2.suppressHydrationWarning && Af2( | |
| d2.textContent, | |
| h2, | |
| a2 | |
| ), e2 = ["children", "" + h2]) : ea2.hasOwnProperty(g2) && null != h2 && "onScroll" === g2 && D2("scroll", d2); | |
| } | |
| switch (c2) { | |
| case "input": | |
| Va2(d2); | |
| db(d2, f2, true); | |
| break; | |
| case "textarea": | |
| Va2(d2); | |
| jb(d2); | |
| break; | |
| case "select": | |
| case "option": | |
| break; | |
| default: | |
| "function" === typeof f2.onClick && (d2.onclick = Bf2); | |
| } | |
| d2 = e2; | |
| b2.updateQueue = d2; | |
| null !== d2 && (b2.flags |= 4); | |
| } else { | |
| g2 = 9 === e2.nodeType ? e2 : e2.ownerDocument; | |
| "http://www.w3.org/1999/xhtml" === a2 && (a2 = kb(c2)); | |
| "http://www.w3.org/1999/xhtml" === a2 ? "script" === c2 ? (a2 = g2.createElement("div"), a2.innerHTML = "<script><\/script>", a2 = a2.removeChild(a2.firstChild)) : "string" === typeof d2.is ? a2 = g2.createElement(c2, { is: d2.is }) : (a2 = g2.createElement(c2), "select" === c2 && (g2 = a2, d2.multiple ? g2.multiple = true : d2.size && (g2.size = d2.size))) : a2 = g2.createElementNS(a2, c2); | |
| a2[Of2] = b2; | |
| a2[Pf2] = d2; | |
| Aj(a2, b2, false, false); | |
| b2.stateNode = a2; | |
| a: { | |
| g2 = vb(c2, d2); | |
| switch (c2) { | |
| case "dialog": | |
| D2("cancel", a2); | |
| D2("close", a2); | |
| e2 = d2; | |
| break; | |
| case "iframe": | |
| case "object": | |
| case "embed": | |
| D2("load", a2); | |
| e2 = d2; | |
| break; | |
| case "video": | |
| case "audio": | |
| for (e2 = 0; e2 < lf2.length; e2++) D2(lf2[e2], a2); | |
| e2 = d2; | |
| break; | |
| case "source": | |
| D2("error", a2); | |
| e2 = d2; | |
| break; | |
| case "img": | |
| case "image": | |
| case "link": | |
| D2( | |
| "error", | |
| a2 | |
| ); | |
| D2("load", a2); | |
| e2 = d2; | |
| break; | |
| case "details": | |
| D2("toggle", a2); | |
| e2 = d2; | |
| break; | |
| case "input": | |
| Za2(a2, d2); | |
| e2 = Ya2(a2, d2); | |
| D2("invalid", a2); | |
| break; | |
| case "option": | |
| e2 = d2; | |
| break; | |
| case "select": | |
| a2._wrapperState = { wasMultiple: !!d2.multiple }; | |
| e2 = A2({}, d2, { value: void 0 }); | |
| D2("invalid", a2); | |
| break; | |
| case "textarea": | |
| hb(a2, d2); | |
| e2 = gb(a2, d2); | |
| D2("invalid", a2); | |
| break; | |
| default: | |
| e2 = d2; | |
| } | |
| ub(c2, e2); | |
| h2 = e2; | |
| for (f2 in h2) if (h2.hasOwnProperty(f2)) { | |
| var k2 = h2[f2]; | |
| "style" === f2 ? sb(a2, k2) : "dangerouslySetInnerHTML" === f2 ? (k2 = k2 ? k2.__html : void 0, null != k2 && nb(a2, k2)) : "children" === f2 ? "string" === typeof k2 ? ("textarea" !== c2 || "" !== k2) && ob(a2, k2) : "number" === typeof k2 && ob(a2, "" + k2) : "suppressContentEditableWarning" !== f2 && "suppressHydrationWarning" !== f2 && "autoFocus" !== f2 && (ea2.hasOwnProperty(f2) ? null != k2 && "onScroll" === f2 && D2("scroll", a2) : null != k2 && ta2(a2, f2, k2, g2)); | |
| } | |
| switch (c2) { | |
| case "input": | |
| Va2(a2); | |
| db(a2, d2, false); | |
| break; | |
| case "textarea": | |
| Va2(a2); | |
| jb(a2); | |
| break; | |
| case "option": | |
| null != d2.value && a2.setAttribute("value", "" + Sa2(d2.value)); | |
| break; | |
| case "select": | |
| a2.multiple = !!d2.multiple; | |
| f2 = d2.value; | |
| null != f2 ? fb(a2, !!d2.multiple, f2, false) : null != d2.defaultValue && fb( | |
| a2, | |
| !!d2.multiple, | |
| d2.defaultValue, | |
| true | |
| ); | |
| break; | |
| default: | |
| "function" === typeof e2.onClick && (a2.onclick = Bf2); | |
| } | |
| switch (c2) { | |
| case "button": | |
| case "input": | |
| case "select": | |
| case "textarea": | |
| d2 = !!d2.autoFocus; | |
| break a; | |
| case "img": | |
| d2 = true; | |
| break a; | |
| default: | |
| d2 = false; | |
| } | |
| } | |
| d2 && (b2.flags |= 4); | |
| } | |
| null !== b2.ref && (b2.flags |= 512, b2.flags |= 2097152); | |
| } | |
| S2(b2); | |
| return null; | |
| case 6: | |
| if (a2 && null != b2.stateNode) Dj(a2, b2, a2.memoizedProps, d2); | |
| else { | |
| if ("string" !== typeof d2 && null === b2.stateNode) throw Error(p2(166)); | |
| c2 = Hh2(Gh2.current); | |
| Hh2(Eh2.current); | |
| if (Gg(b2)) { | |
| d2 = b2.stateNode; | |
| c2 = b2.memoizedProps; | |
| d2[Of2] = b2; | |
| if (f2 = d2.nodeValue !== c2) { | |
| if (a2 = xg, null !== a2) switch (a2.tag) { | |
| case 3: | |
| Af2(d2.nodeValue, c2, 0 !== (a2.mode & 1)); | |
| break; | |
| case 5: | |
| true !== a2.memoizedProps.suppressHydrationWarning && Af2(d2.nodeValue, c2, 0 !== (a2.mode & 1)); | |
| } | |
| } | |
| f2 && (b2.flags |= 4); | |
| } else d2 = (9 === c2.nodeType ? c2 : c2.ownerDocument).createTextNode(d2), d2[Of2] = b2, b2.stateNode = d2; | |
| } | |
| S2(b2); | |
| return null; | |
| case 13: | |
| E2(M2); | |
| d2 = b2.memoizedState; | |
| if (null === a2 || null !== a2.memoizedState && null !== a2.memoizedState.dehydrated) { | |
| if (I2 && null !== yg && 0 !== (b2.mode & 1) && 0 === (b2.flags & 128)) Hg(), Ig(), b2.flags |= 98560, f2 = false; | |
| else if (f2 = Gg(b2), null !== d2 && null !== d2.dehydrated) { | |
| if (null === a2) { | |
| if (!f2) throw Error(p2(318)); | |
| f2 = b2.memoizedState; | |
| f2 = null !== f2 ? f2.dehydrated : null; | |
| if (!f2) throw Error(p2(317)); | |
| f2[Of2] = b2; | |
| } else Ig(), 0 === (b2.flags & 128) && (b2.memoizedState = null), b2.flags |= 4; | |
| S2(b2); | |
| f2 = false; | |
| } else null !== zg && (Gj(zg), zg = null), f2 = true; | |
| if (!f2) return b2.flags & 65536 ? b2 : null; | |
| } | |
| if (0 !== (b2.flags & 128)) return b2.lanes = c2, b2; | |
| d2 = null !== d2; | |
| d2 !== (null !== a2 && null !== a2.memoizedState) && d2 && (b2.child.flags |= 8192, 0 !== (b2.mode & 1) && (null === a2 || 0 !== (M2.current & 1) ? 0 === T2 && (T2 = 3) : uj())); | |
| null !== b2.updateQueue && (b2.flags |= 4); | |
| S2(b2); | |
| return null; | |
| case 4: | |
| return Jh2(), Bj(a2, b2), null === a2 && sf(b2.stateNode.containerInfo), S2(b2), null; | |
| case 10: | |
| return Rg(b2.type._context), S2(b2), null; | |
| case 17: | |
| return Zf2(b2.type) && $f2(), S2(b2), null; | |
| case 19: | |
| E2(M2); | |
| f2 = b2.memoizedState; | |
| if (null === f2) return S2(b2), null; | |
| d2 = 0 !== (b2.flags & 128); | |
| g2 = f2.rendering; | |
| if (null === g2) if (d2) Ej(f2, false); | |
| else { | |
| if (0 !== T2 || null !== a2 && 0 !== (a2.flags & 128)) for (a2 = b2.child; null !== a2; ) { | |
| g2 = Mh2(a2); | |
| if (null !== g2) { | |
| b2.flags |= 128; | |
| Ej(f2, false); | |
| d2 = g2.updateQueue; | |
| null !== d2 && (b2.updateQueue = d2, b2.flags |= 4); | |
| b2.subtreeFlags = 0; | |
| d2 = c2; | |
| for (c2 = b2.child; null !== c2; ) f2 = c2, a2 = d2, f2.flags &= 14680066, g2 = f2.alternate, null === g2 ? (f2.childLanes = 0, f2.lanes = a2, f2.child = null, f2.subtreeFlags = 0, f2.memoizedProps = null, f2.memoizedState = null, f2.updateQueue = null, f2.dependencies = null, f2.stateNode = null) : (f2.childLanes = g2.childLanes, f2.lanes = g2.lanes, f2.child = g2.child, f2.subtreeFlags = 0, f2.deletions = null, f2.memoizedProps = g2.memoizedProps, f2.memoizedState = g2.memoizedState, f2.updateQueue = g2.updateQueue, f2.type = g2.type, a2 = g2.dependencies, f2.dependencies = null === a2 ? null : { lanes: a2.lanes, firstContext: a2.firstContext }), c2 = c2.sibling; | |
| G2(M2, M2.current & 1 | 2); | |
| return b2.child; | |
| } | |
| a2 = a2.sibling; | |
| } | |
| null !== f2.tail && B2() > Hj && (b2.flags |= 128, d2 = true, Ej(f2, false), b2.lanes = 4194304); | |
| } | |
| else { | |
| if (!d2) if (a2 = Mh2(g2), null !== a2) { | |
| if (b2.flags |= 128, d2 = true, c2 = a2.updateQueue, null !== c2 && (b2.updateQueue = c2, b2.flags |= 4), Ej(f2, true), null === f2.tail && "hidden" === f2.tailMode && !g2.alternate && !I2) return S2(b2), null; | |
| } else 2 * B2() - f2.renderingStartTime > Hj && 1073741824 !== c2 && (b2.flags |= 128, d2 = true, Ej(f2, false), b2.lanes = 4194304); | |
| f2.isBackwards ? (g2.sibling = b2.child, b2.child = g2) : (c2 = f2.last, null !== c2 ? c2.sibling = g2 : b2.child = g2, f2.last = g2); | |
| } | |
| if (null !== f2.tail) return b2 = f2.tail, f2.rendering = b2, f2.tail = b2.sibling, f2.renderingStartTime = B2(), b2.sibling = null, c2 = M2.current, G2(M2, d2 ? c2 & 1 | 2 : c2 & 1), b2; | |
| S2(b2); | |
| return null; | |
| case 22: | |
| case 23: | |
| return Ij(), d2 = null !== b2.memoizedState, null !== a2 && null !== a2.memoizedState !== d2 && (b2.flags |= 8192), d2 && 0 !== (b2.mode & 1) ? 0 !== (gj & 1073741824) && (S2(b2), b2.subtreeFlags & 6 && (b2.flags |= 8192)) : S2(b2), null; | |
| case 24: | |
| return null; | |
| case 25: | |
| return null; | |
| } | |
| throw Error(p2(156, b2.tag)); | |
| } | |
| function Jj(a2, b2) { | |
| wg(b2); | |
| switch (b2.tag) { | |
| case 1: | |
| return Zf2(b2.type) && $f2(), a2 = b2.flags, a2 & 65536 ? (b2.flags = a2 & -65537 | 128, b2) : null; | |
| case 3: | |
| return Jh2(), E2(Wf2), E2(H2), Oh2(), a2 = b2.flags, 0 !== (a2 & 65536) && 0 === (a2 & 128) ? (b2.flags = a2 & -65537 | 128, b2) : null; | |
| case 5: | |
| return Lh2(b2), null; | |
| case 13: | |
| E2(M2); | |
| a2 = b2.memoizedState; | |
| if (null !== a2 && null !== a2.dehydrated) { | |
| if (null === b2.alternate) throw Error(p2(340)); | |
| Ig(); | |
| } | |
| a2 = b2.flags; | |
| return a2 & 65536 ? (b2.flags = a2 & -65537 | 128, b2) : null; | |
| case 19: | |
| return E2(M2), null; | |
| case 4: | |
| return Jh2(), null; | |
| case 10: | |
| return Rg(b2.type._context), null; | |
| case 22: | |
| case 23: | |
| return Ij(), null; | |
| case 24: | |
| return null; | |
| default: | |
| return null; | |
| } | |
| } | |
| var Kj = false, U2 = false, Lj = "function" === typeof WeakSet ? WeakSet : Set, V2 = null; | |
| function Mj(a2, b2) { | |
| var c2 = a2.ref; | |
| if (null !== c2) if ("function" === typeof c2) try { | |
| c2(null); | |
| } catch (d2) { | |
| W2(a2, b2, d2); | |
| } | |
| else c2.current = null; | |
| } | |
| function Nj(a2, b2, c2) { | |
| try { | |
| c2(); | |
| } catch (d2) { | |
| W2(a2, b2, d2); | |
| } | |
| } | |
| var Oj = false; | |
| function Pj(a2, b2) { | |
| Cf2 = dd2; | |
| a2 = Me2(); | |
| if (Ne2(a2)) { | |
| if ("selectionStart" in a2) var c2 = { start: a2.selectionStart, end: a2.selectionEnd }; | |
| else a: { | |
| c2 = (c2 = a2.ownerDocument) && c2.defaultView || window; | |
| var d2 = c2.getSelection && c2.getSelection(); | |
| if (d2 && 0 !== d2.rangeCount) { | |
| c2 = d2.anchorNode; | |
| var e2 = d2.anchorOffset, f2 = d2.focusNode; | |
| d2 = d2.focusOffset; | |
| try { | |
| c2.nodeType, f2.nodeType; | |
| } catch (F2) { | |
| c2 = null; | |
| break a; | |
| } | |
| var g2 = 0, h2 = -1, k2 = -1, l2 = 0, m2 = 0, q2 = a2, r2 = null; | |
| b: for (; ; ) { | |
| for (var y2; ; ) { | |
| q2 !== c2 || 0 !== e2 && 3 !== q2.nodeType || (h2 = g2 + e2); | |
| q2 !== f2 || 0 !== d2 && 3 !== q2.nodeType || (k2 = g2 + d2); | |
| 3 === q2.nodeType && (g2 += q2.nodeValue.length); | |
| if (null === (y2 = q2.firstChild)) break; | |
| r2 = q2; | |
| q2 = y2; | |
| } | |
| for (; ; ) { | |
| if (q2 === a2) break b; | |
| r2 === c2 && ++l2 === e2 && (h2 = g2); | |
| r2 === f2 && ++m2 === d2 && (k2 = g2); | |
| if (null !== (y2 = q2.nextSibling)) break; | |
| q2 = r2; | |
| r2 = q2.parentNode; | |
| } | |
| q2 = y2; | |
| } | |
| c2 = -1 === h2 || -1 === k2 ? null : { start: h2, end: k2 }; | |
| } else c2 = null; | |
| } | |
| c2 = c2 || { start: 0, end: 0 }; | |
| } else c2 = null; | |
| Df2 = { focusedElem: a2, selectionRange: c2 }; | |
| dd2 = false; | |
| for (V2 = b2; null !== V2; ) if (b2 = V2, a2 = b2.child, 0 !== (b2.subtreeFlags & 1028) && null !== a2) a2.return = b2, V2 = a2; | |
| else for (; null !== V2; ) { | |
| b2 = V2; | |
| try { | |
| var n2 = b2.alternate; | |
| if (0 !== (b2.flags & 1024)) switch (b2.tag) { | |
| case 0: | |
| case 11: | |
| case 15: | |
| break; | |
| case 1: | |
| if (null !== n2) { | |
| var t2 = n2.memoizedProps, J2 = n2.memoizedState, x2 = b2.stateNode, w2 = x2.getSnapshotBeforeUpdate(b2.elementType === b2.type ? t2 : Lg(b2.type, t2), J2); | |
| x2.__reactInternalSnapshotBeforeUpdate = w2; | |
| } | |
| break; | |
| case 3: | |
| var u2 = b2.stateNode.containerInfo; | |
| 1 === u2.nodeType ? u2.textContent = "" : 9 === u2.nodeType && u2.documentElement && u2.removeChild(u2.documentElement); | |
| break; | |
| case 5: | |
| case 6: | |
| case 4: | |
| case 17: | |
| break; | |
| default: | |
| throw Error(p2(163)); | |
| } | |
| } catch (F2) { | |
| W2(b2, b2.return, F2); | |
| } | |
| a2 = b2.sibling; | |
| if (null !== a2) { | |
| a2.return = b2.return; | |
| V2 = a2; | |
| break; | |
| } | |
| V2 = b2.return; | |
| } | |
| n2 = Oj; | |
| Oj = false; | |
| return n2; | |
| } | |
| function Qj(a2, b2, c2) { | |
| var d2 = b2.updateQueue; | |
| d2 = null !== d2 ? d2.lastEffect : null; | |
| if (null !== d2) { | |
| var e2 = d2 = d2.next; | |
| do { | |
| if ((e2.tag & a2) === a2) { | |
| var f2 = e2.destroy; | |
| e2.destroy = void 0; | |
| void 0 !== f2 && Nj(b2, c2, f2); | |
| } | |
| e2 = e2.next; | |
| } while (e2 !== d2); | |
| } | |
| } | |
| function Rj(a2, b2) { | |
| b2 = b2.updateQueue; | |
| b2 = null !== b2 ? b2.lastEffect : null; | |
| if (null !== b2) { | |
| var c2 = b2 = b2.next; | |
| do { | |
| if ((c2.tag & a2) === a2) { | |
| var d2 = c2.create; | |
| c2.destroy = d2(); | |
| } | |
| c2 = c2.next; | |
| } while (c2 !== b2); | |
| } | |
| } | |
| function Sj(a2) { | |
| var b2 = a2.ref; | |
| if (null !== b2) { | |
| var c2 = a2.stateNode; | |
| switch (a2.tag) { | |
| case 5: | |
| a2 = c2; | |
| break; | |
| default: | |
| a2 = c2; | |
| } | |
| "function" === typeof b2 ? b2(a2) : b2.current = a2; | |
| } | |
| } | |
| function Tj(a2) { | |
| var b2 = a2.alternate; | |
| null !== b2 && (a2.alternate = null, Tj(b2)); | |
| a2.child = null; | |
| a2.deletions = null; | |
| a2.sibling = null; | |
| 5 === a2.tag && (b2 = a2.stateNode, null !== b2 && (delete b2[Of2], delete b2[Pf2], delete b2[of2], delete b2[Qf2], delete b2[Rf2])); | |
| a2.stateNode = null; | |
| a2.return = null; | |
| a2.dependencies = null; | |
| a2.memoizedProps = null; | |
| a2.memoizedState = null; | |
| a2.pendingProps = null; | |
| a2.stateNode = null; | |
| a2.updateQueue = null; | |
| } | |
| function Uj(a2) { | |
| return 5 === a2.tag || 3 === a2.tag || 4 === a2.tag; | |
| } | |
| function Vj(a2) { | |
| a: for (; ; ) { | |
| for (; null === a2.sibling; ) { | |
| if (null === a2.return || Uj(a2.return)) return null; | |
| a2 = a2.return; | |
| } | |
| a2.sibling.return = a2.return; | |
| for (a2 = a2.sibling; 5 !== a2.tag && 6 !== a2.tag && 18 !== a2.tag; ) { | |
| if (a2.flags & 2) continue a; | |
| if (null === a2.child || 4 === a2.tag) continue a; | |
| else a2.child.return = a2, a2 = a2.child; | |
| } | |
| if (!(a2.flags & 2)) return a2.stateNode; | |
| } | |
| } | |
| function Wj(a2, b2, c2) { | |
| var d2 = a2.tag; | |
| if (5 === d2 || 6 === d2) a2 = a2.stateNode, b2 ? 8 === c2.nodeType ? c2.parentNode.insertBefore(a2, b2) : c2.insertBefore(a2, b2) : (8 === c2.nodeType ? (b2 = c2.parentNode, b2.insertBefore(a2, c2)) : (b2 = c2, b2.appendChild(a2)), c2 = c2._reactRootContainer, null !== c2 && void 0 !== c2 || null !== b2.onclick || (b2.onclick = Bf2)); | |
| else if (4 !== d2 && (a2 = a2.child, null !== a2)) for (Wj(a2, b2, c2), a2 = a2.sibling; null !== a2; ) Wj(a2, b2, c2), a2 = a2.sibling; | |
| } | |
| function Xj(a2, b2, c2) { | |
| var d2 = a2.tag; | |
| if (5 === d2 || 6 === d2) a2 = a2.stateNode, b2 ? c2.insertBefore(a2, b2) : c2.appendChild(a2); | |
| else if (4 !== d2 && (a2 = a2.child, null !== a2)) for (Xj(a2, b2, c2), a2 = a2.sibling; null !== a2; ) Xj(a2, b2, c2), a2 = a2.sibling; | |
| } | |
| var X2 = null, Yj = false; | |
| function Zj(a2, b2, c2) { | |
| for (c2 = c2.child; null !== c2; ) ak(a2, b2, c2), c2 = c2.sibling; | |
| } | |
| function ak(a2, b2, c2) { | |
| if (lc2 && "function" === typeof lc2.onCommitFiberUnmount) try { | |
| lc2.onCommitFiberUnmount(kc2, c2); | |
| } catch (h2) { | |
| } | |
| switch (c2.tag) { | |
| case 5: | |
| U2 || Mj(c2, b2); | |
| case 6: | |
| var d2 = X2, e2 = Yj; | |
| X2 = null; | |
| Zj(a2, b2, c2); | |
| X2 = d2; | |
| Yj = e2; | |
| null !== X2 && (Yj ? (a2 = X2, c2 = c2.stateNode, 8 === a2.nodeType ? a2.parentNode.removeChild(c2) : a2.removeChild(c2)) : X2.removeChild(c2.stateNode)); | |
| break; | |
| case 18: | |
| null !== X2 && (Yj ? (a2 = X2, c2 = c2.stateNode, 8 === a2.nodeType ? Kf2(a2.parentNode, c2) : 1 === a2.nodeType && Kf2(a2, c2), bd2(a2)) : Kf2(X2, c2.stateNode)); | |
| break; | |
| case 4: | |
| d2 = X2; | |
| e2 = Yj; | |
| X2 = c2.stateNode.containerInfo; | |
| Yj = true; | |
| Zj(a2, b2, c2); | |
| X2 = d2; | |
| Yj = e2; | |
| break; | |
| case 0: | |
| case 11: | |
| case 14: | |
| case 15: | |
| if (!U2 && (d2 = c2.updateQueue, null !== d2 && (d2 = d2.lastEffect, null !== d2))) { | |
| e2 = d2 = d2.next; | |
| do { | |
| var f2 = e2, g2 = f2.destroy; | |
| f2 = f2.tag; | |
| void 0 !== g2 && (0 !== (f2 & 2) ? Nj(c2, b2, g2) : 0 !== (f2 & 4) && Nj(c2, b2, g2)); | |
| e2 = e2.next; | |
| } while (e2 !== d2); | |
| } | |
| Zj(a2, b2, c2); | |
| break; | |
| case 1: | |
| if (!U2 && (Mj(c2, b2), d2 = c2.stateNode, "function" === typeof d2.componentWillUnmount)) try { | |
| d2.props = c2.memoizedProps, d2.state = c2.memoizedState, d2.componentWillUnmount(); | |
| } catch (h2) { | |
| W2(c2, b2, h2); | |
| } | |
| Zj(a2, b2, c2); | |
| break; | |
| case 21: | |
| Zj(a2, b2, c2); | |
| break; | |
| case 22: | |
| c2.mode & 1 ? (U2 = (d2 = U2) || null !== c2.memoizedState, Zj(a2, b2, c2), U2 = d2) : Zj(a2, b2, c2); | |
| break; | |
| default: | |
| Zj(a2, b2, c2); | |
| } | |
| } | |
| function bk(a2) { | |
| var b2 = a2.updateQueue; | |
| if (null !== b2) { | |
| a2.updateQueue = null; | |
| var c2 = a2.stateNode; | |
| null === c2 && (c2 = a2.stateNode = new Lj()); | |
| b2.forEach(function(b4) { | |
| var d2 = ck.bind(null, a2, b4); | |
| c2.has(b4) || (c2.add(b4), b4.then(d2, d2)); | |
| }); | |
| } | |
| } | |
| function dk(a2, b2) { | |
| var c2 = b2.deletions; | |
| if (null !== c2) for (var d2 = 0; d2 < c2.length; d2++) { | |
| var e2 = c2[d2]; | |
| try { | |
| var f2 = a2, g2 = b2, h2 = g2; | |
| a: for (; null !== h2; ) { | |
| switch (h2.tag) { | |
| case 5: | |
| X2 = h2.stateNode; | |
| Yj = false; | |
| break a; | |
| case 3: | |
| X2 = h2.stateNode.containerInfo; | |
| Yj = true; | |
| break a; | |
| case 4: | |
| X2 = h2.stateNode.containerInfo; | |
| Yj = true; | |
| break a; | |
| } | |
| h2 = h2.return; | |
| } | |
| if (null === X2) throw Error(p2(160)); | |
| ak(f2, g2, e2); | |
| X2 = null; | |
| Yj = false; | |
| var k2 = e2.alternate; | |
| null !== k2 && (k2.return = null); | |
| e2.return = null; | |
| } catch (l2) { | |
| W2(e2, b2, l2); | |
| } | |
| } | |
| if (b2.subtreeFlags & 12854) for (b2 = b2.child; null !== b2; ) ek(b2, a2), b2 = b2.sibling; | |
| } | |
| function ek(a2, b2) { | |
| var c2 = a2.alternate, d2 = a2.flags; | |
| switch (a2.tag) { | |
| case 0: | |
| case 11: | |
| case 14: | |
| case 15: | |
| dk(b2, a2); | |
| fk(a2); | |
| if (d2 & 4) { | |
| try { | |
| Qj(3, a2, a2.return), Rj(3, a2); | |
| } catch (t2) { | |
| W2(a2, a2.return, t2); | |
| } | |
| try { | |
| Qj(5, a2, a2.return); | |
| } catch (t2) { | |
| W2(a2, a2.return, t2); | |
| } | |
| } | |
| break; | |
| case 1: | |
| dk(b2, a2); | |
| fk(a2); | |
| d2 & 512 && null !== c2 && Mj(c2, c2.return); | |
| break; | |
| case 5: | |
| dk(b2, a2); | |
| fk(a2); | |
| d2 & 512 && null !== c2 && Mj(c2, c2.return); | |
| if (a2.flags & 32) { | |
| var e2 = a2.stateNode; | |
| try { | |
| ob(e2, ""); | |
| } catch (t2) { | |
| W2(a2, a2.return, t2); | |
| } | |
| } | |
| if (d2 & 4 && (e2 = a2.stateNode, null != e2)) { | |
| var f2 = a2.memoizedProps, g2 = null !== c2 ? c2.memoizedProps : f2, h2 = a2.type, k2 = a2.updateQueue; | |
| a2.updateQueue = null; | |
| if (null !== k2) try { | |
| "input" === h2 && "radio" === f2.type && null != f2.name && ab(e2, f2); | |
| vb(h2, g2); | |
| var l2 = vb(h2, f2); | |
| for (g2 = 0; g2 < k2.length; g2 += 2) { | |
| var m2 = k2[g2], q2 = k2[g2 + 1]; | |
| "style" === m2 ? sb(e2, q2) : "dangerouslySetInnerHTML" === m2 ? nb(e2, q2) : "children" === m2 ? ob(e2, q2) : ta2(e2, m2, q2, l2); | |
| } | |
| switch (h2) { | |
| case "input": | |
| bb(e2, f2); | |
| break; | |
| case "textarea": | |
| ib(e2, f2); | |
| break; | |
| case "select": | |
| var r2 = e2._wrapperState.wasMultiple; | |
| e2._wrapperState.wasMultiple = !!f2.multiple; | |
| var y2 = f2.value; | |
| null != y2 ? fb(e2, !!f2.multiple, y2, false) : r2 !== !!f2.multiple && (null != f2.defaultValue ? fb( | |
| e2, | |
| !!f2.multiple, | |
| f2.defaultValue, | |
| true | |
| ) : fb(e2, !!f2.multiple, f2.multiple ? [] : "", false)); | |
| } | |
| e2[Pf2] = f2; | |
| } catch (t2) { | |
| W2(a2, a2.return, t2); | |
| } | |
| } | |
| break; | |
| case 6: | |
| dk(b2, a2); | |
| fk(a2); | |
| if (d2 & 4) { | |
| if (null === a2.stateNode) throw Error(p2(162)); | |
| e2 = a2.stateNode; | |
| f2 = a2.memoizedProps; | |
| try { | |
| e2.nodeValue = f2; | |
| } catch (t2) { | |
| W2(a2, a2.return, t2); | |
| } | |
| } | |
| break; | |
| case 3: | |
| dk(b2, a2); | |
| fk(a2); | |
| if (d2 & 4 && null !== c2 && c2.memoizedState.isDehydrated) try { | |
| bd2(b2.containerInfo); | |
| } catch (t2) { | |
| W2(a2, a2.return, t2); | |
| } | |
| break; | |
| case 4: | |
| dk(b2, a2); | |
| fk(a2); | |
| break; | |
| case 13: | |
| dk(b2, a2); | |
| fk(a2); | |
| e2 = a2.child; | |
| e2.flags & 8192 && (f2 = null !== e2.memoizedState, e2.stateNode.isHidden = f2, !f2 || null !== e2.alternate && null !== e2.alternate.memoizedState || (gk = B2())); | |
| d2 & 4 && bk(a2); | |
| break; | |
| case 22: | |
| m2 = null !== c2 && null !== c2.memoizedState; | |
| a2.mode & 1 ? (U2 = (l2 = U2) || m2, dk(b2, a2), U2 = l2) : dk(b2, a2); | |
| fk(a2); | |
| if (d2 & 8192) { | |
| l2 = null !== a2.memoizedState; | |
| if ((a2.stateNode.isHidden = l2) && !m2 && 0 !== (a2.mode & 1)) for (V2 = a2, m2 = a2.child; null !== m2; ) { | |
| for (q2 = V2 = m2; null !== V2; ) { | |
| r2 = V2; | |
| y2 = r2.child; | |
| switch (r2.tag) { | |
| case 0: | |
| case 11: | |
| case 14: | |
| case 15: | |
| Qj(4, r2, r2.return); | |
| break; | |
| case 1: | |
| Mj(r2, r2.return); | |
| var n2 = r2.stateNode; | |
| if ("function" === typeof n2.componentWillUnmount) { | |
| d2 = r2; | |
| c2 = r2.return; | |
| try { | |
| b2 = d2, n2.props = b2.memoizedProps, n2.state = b2.memoizedState, n2.componentWillUnmount(); | |
| } catch (t2) { | |
| W2(d2, c2, t2); | |
| } | |
| } | |
| break; | |
| case 5: | |
| Mj(r2, r2.return); | |
| break; | |
| case 22: | |
| if (null !== r2.memoizedState) { | |
| hk(q2); | |
| continue; | |
| } | |
| } | |
| null !== y2 ? (y2.return = r2, V2 = y2) : hk(q2); | |
| } | |
| m2 = m2.sibling; | |
| } | |
| a: for (m2 = null, q2 = a2; ; ) { | |
| if (5 === q2.tag) { | |
| if (null === m2) { | |
| m2 = q2; | |
| try { | |
| e2 = q2.stateNode, l2 ? (f2 = e2.style, "function" === typeof f2.setProperty ? f2.setProperty("display", "none", "important") : f2.display = "none") : (h2 = q2.stateNode, k2 = q2.memoizedProps.style, g2 = void 0 !== k2 && null !== k2 && k2.hasOwnProperty("display") ? k2.display : null, h2.style.display = rb("display", g2)); | |
| } catch (t2) { | |
| W2(a2, a2.return, t2); | |
| } | |
| } | |
| } else if (6 === q2.tag) { | |
| if (null === m2) try { | |
| q2.stateNode.nodeValue = l2 ? "" : q2.memoizedProps; | |
| } catch (t2) { | |
| W2(a2, a2.return, t2); | |
| } | |
| } else if ((22 !== q2.tag && 23 !== q2.tag || null === q2.memoizedState || q2 === a2) && null !== q2.child) { | |
| q2.child.return = q2; | |
| q2 = q2.child; | |
| continue; | |
| } | |
| if (q2 === a2) break a; | |
| for (; null === q2.sibling; ) { | |
| if (null === q2.return || q2.return === a2) break a; | |
| m2 === q2 && (m2 = null); | |
| q2 = q2.return; | |
| } | |
| m2 === q2 && (m2 = null); | |
| q2.sibling.return = q2.return; | |
| q2 = q2.sibling; | |
| } | |
| } | |
| break; | |
| case 19: | |
| dk(b2, a2); | |
| fk(a2); | |
| d2 & 4 && bk(a2); | |
| break; | |
| case 21: | |
| break; | |
| default: | |
| dk( | |
| b2, | |
| a2 | |
| ), fk(a2); | |
| } | |
| } | |
| function fk(a2) { | |
| var b2 = a2.flags; | |
| if (b2 & 2) { | |
| try { | |
| a: { | |
| for (var c2 = a2.return; null !== c2; ) { | |
| if (Uj(c2)) { | |
| var d2 = c2; | |
| break a; | |
| } | |
| c2 = c2.return; | |
| } | |
| throw Error(p2(160)); | |
| } | |
| switch (d2.tag) { | |
| case 5: | |
| var e2 = d2.stateNode; | |
| d2.flags & 32 && (ob(e2, ""), d2.flags &= -33); | |
| var f2 = Vj(a2); | |
| Xj(a2, f2, e2); | |
| break; | |
| case 3: | |
| case 4: | |
| var g2 = d2.stateNode.containerInfo, h2 = Vj(a2); | |
| Wj(a2, h2, g2); | |
| break; | |
| default: | |
| throw Error(p2(161)); | |
| } | |
| } catch (k2) { | |
| W2(a2, a2.return, k2); | |
| } | |
| a2.flags &= -3; | |
| } | |
| b2 & 4096 && (a2.flags &= -4097); | |
| } | |
| function ik(a2, b2, c2) { | |
| V2 = a2; | |
| jk(a2); | |
| } | |
| function jk(a2, b2, c2) { | |
| for (var d2 = 0 !== (a2.mode & 1); null !== V2; ) { | |
| var e2 = V2, f2 = e2.child; | |
| if (22 === e2.tag && d2) { | |
| var g2 = null !== e2.memoizedState || Kj; | |
| if (!g2) { | |
| var h2 = e2.alternate, k2 = null !== h2 && null !== h2.memoizedState || U2; | |
| h2 = Kj; | |
| var l2 = U2; | |
| Kj = g2; | |
| if ((U2 = k2) && !l2) for (V2 = e2; null !== V2; ) g2 = V2, k2 = g2.child, 22 === g2.tag && null !== g2.memoizedState ? kk(e2) : null !== k2 ? (k2.return = g2, V2 = k2) : kk(e2); | |
| for (; null !== f2; ) V2 = f2, jk(f2), f2 = f2.sibling; | |
| V2 = e2; | |
| Kj = h2; | |
| U2 = l2; | |
| } | |
| lk(a2); | |
| } else 0 !== (e2.subtreeFlags & 8772) && null !== f2 ? (f2.return = e2, V2 = f2) : lk(a2); | |
| } | |
| } | |
| function lk(a2) { | |
| for (; null !== V2; ) { | |
| var b2 = V2; | |
| if (0 !== (b2.flags & 8772)) { | |
| var c2 = b2.alternate; | |
| try { | |
| if (0 !== (b2.flags & 8772)) switch (b2.tag) { | |
| case 0: | |
| case 11: | |
| case 15: | |
| U2 || Rj(5, b2); | |
| break; | |
| case 1: | |
| var d2 = b2.stateNode; | |
| if (b2.flags & 4 && !U2) if (null === c2) d2.componentDidMount(); | |
| else { | |
| var e2 = b2.elementType === b2.type ? c2.memoizedProps : Lg(b2.type, c2.memoizedProps); | |
| d2.componentDidUpdate(e2, c2.memoizedState, d2.__reactInternalSnapshotBeforeUpdate); | |
| } | |
| var f2 = b2.updateQueue; | |
| null !== f2 && ih2(b2, f2, d2); | |
| break; | |
| case 3: | |
| var g2 = b2.updateQueue; | |
| if (null !== g2) { | |
| c2 = null; | |
| if (null !== b2.child) switch (b2.child.tag) { | |
| case 5: | |
| c2 = b2.child.stateNode; | |
| break; | |
| case 1: | |
| c2 = b2.child.stateNode; | |
| } | |
| ih2(b2, g2, c2); | |
| } | |
| break; | |
| case 5: | |
| var h2 = b2.stateNode; | |
| if (null === c2 && b2.flags & 4) { | |
| c2 = h2; | |
| var k2 = b2.memoizedProps; | |
| switch (b2.type) { | |
| case "button": | |
| case "input": | |
| case "select": | |
| case "textarea": | |
| k2.autoFocus && c2.focus(); | |
| break; | |
| case "img": | |
| k2.src && (c2.src = k2.src); | |
| } | |
| } | |
| break; | |
| case 6: | |
| break; | |
| case 4: | |
| break; | |
| case 12: | |
| break; | |
| case 13: | |
| if (null === b2.memoizedState) { | |
| var l2 = b2.alternate; | |
| if (null !== l2) { | |
| var m2 = l2.memoizedState; | |
| if (null !== m2) { | |
| var q2 = m2.dehydrated; | |
| null !== q2 && bd2(q2); | |
| } | |
| } | |
| } | |
| break; | |
| case 19: | |
| case 17: | |
| case 21: | |
| case 22: | |
| case 23: | |
| case 25: | |
| break; | |
| default: | |
| throw Error(p2(163)); | |
| } | |
| U2 || b2.flags & 512 && Sj(b2); | |
| } catch (r2) { | |
| W2(b2, b2.return, r2); | |
| } | |
| } | |
| if (b2 === a2) { | |
| V2 = null; | |
| break; | |
| } | |
| c2 = b2.sibling; | |
| if (null !== c2) { | |
| c2.return = b2.return; | |
| V2 = c2; | |
| break; | |
| } | |
| V2 = b2.return; | |
| } | |
| } | |
| function hk(a2) { | |
| for (; null !== V2; ) { | |
| var b2 = V2; | |
| if (b2 === a2) { | |
| V2 = null; | |
| break; | |
| } | |
| var c2 = b2.sibling; | |
| if (null !== c2) { | |
| c2.return = b2.return; | |
| V2 = c2; | |
| break; | |
| } | |
| V2 = b2.return; | |
| } | |
| } | |
| function kk(a2) { | |
| for (; null !== V2; ) { | |
| var b2 = V2; | |
| try { | |
| switch (b2.tag) { | |
| case 0: | |
| case 11: | |
| case 15: | |
| var c2 = b2.return; | |
| try { | |
| Rj(4, b2); | |
| } catch (k2) { | |
| W2(b2, c2, k2); | |
| } | |
| break; | |
| case 1: | |
| var d2 = b2.stateNode; | |
| if ("function" === typeof d2.componentDidMount) { | |
| var e2 = b2.return; | |
| try { | |
| d2.componentDidMount(); | |
| } catch (k2) { | |
| W2(b2, e2, k2); | |
| } | |
| } | |
| var f2 = b2.return; | |
| try { | |
| Sj(b2); | |
| } catch (k2) { | |
| W2(b2, f2, k2); | |
| } | |
| break; | |
| case 5: | |
| var g2 = b2.return; | |
| try { | |
| Sj(b2); | |
| } catch (k2) { | |
| W2(b2, g2, k2); | |
| } | |
| } | |
| } catch (k2) { | |
| W2(b2, b2.return, k2); | |
| } | |
| if (b2 === a2) { | |
| V2 = null; | |
| break; | |
| } | |
| var h2 = b2.sibling; | |
| if (null !== h2) { | |
| h2.return = b2.return; | |
| V2 = h2; | |
| break; | |
| } | |
| V2 = b2.return; | |
| } | |
| } | |
| var mk = Math.ceil, nk = ua2.ReactCurrentDispatcher, ok = ua2.ReactCurrentOwner, pk = ua2.ReactCurrentBatchConfig, K2 = 0, R2 = null, Y2 = null, Z2 = 0, gj = 0, fj = Uf2(0), T2 = 0, qk = null, hh2 = 0, rk = 0, sk = 0, tk = null, uk = null, gk = 0, Hj = Infinity, vk = null, Pi2 = false, Qi2 = null, Si2 = null, wk = false, xk = null, yk = 0, zk = 0, Ak = null, Bk = -1, Ck = 0; | |
| function L2() { | |
| return 0 !== (K2 & 6) ? B2() : -1 !== Bk ? Bk : Bk = B2(); | |
| } | |
| function lh2(a2) { | |
| if (0 === (a2.mode & 1)) return 1; | |
| if (0 !== (K2 & 2) && 0 !== Z2) return Z2 & -Z2; | |
| if (null !== Kg.transition) return 0 === Ck && (Ck = yc2()), Ck; | |
| a2 = C2; | |
| if (0 !== a2) return a2; | |
| a2 = window.event; | |
| a2 = void 0 === a2 ? 16 : jd2(a2.type); | |
| return a2; | |
| } | |
| function mh2(a2, b2, c2, d2) { | |
| if (50 < zk) throw zk = 0, Ak = null, Error(p2(185)); | |
| Ac2(a2, c2, d2); | |
| if (0 === (K2 & 2) || a2 !== R2) a2 === R2 && (0 === (K2 & 2) && (rk |= c2), 4 === T2 && Dk(a2, Z2)), Ek(a2, d2), 1 === c2 && 0 === K2 && 0 === (b2.mode & 1) && (Hj = B2() + 500, fg2 && jg()); | |
| } | |
| function Ek(a2, b2) { | |
| var c2 = a2.callbackNode; | |
| wc2(a2, b2); | |
| var d2 = uc2(a2, a2 === R2 ? Z2 : 0); | |
| if (0 === d2) null !== c2 && bc2(c2), a2.callbackNode = null, a2.callbackPriority = 0; | |
| else if (b2 = d2 & -d2, a2.callbackPriority !== b2) { | |
| null != c2 && bc2(c2); | |
| if (1 === b2) 0 === a2.tag ? ig2(Fk.bind(null, a2)) : hg2(Fk.bind(null, a2)), Jf2(function() { | |
| 0 === (K2 & 6) && jg(); | |
| }), c2 = null; | |
| else { | |
| switch (Dc2(d2)) { | |
| case 1: | |
| c2 = fc2; | |
| break; | |
| case 4: | |
| c2 = gc2; | |
| break; | |
| case 16: | |
| c2 = hc2; | |
| break; | |
| case 536870912: | |
| c2 = jc2; | |
| break; | |
| default: | |
| c2 = hc2; | |
| } | |
| c2 = Gk(c2, Hk.bind(null, a2)); | |
| } | |
| a2.callbackPriority = b2; | |
| a2.callbackNode = c2; | |
| } | |
| } | |
| function Hk(a2, b2) { | |
| Bk = -1; | |
| Ck = 0; | |
| if (0 !== (K2 & 6)) throw Error(p2(327)); | |
| var c2 = a2.callbackNode; | |
| if (Ik() && a2.callbackNode !== c2) return null; | |
| var d2 = uc2(a2, a2 === R2 ? Z2 : 0); | |
| if (0 === d2) return null; | |
| if (0 !== (d2 & 30) || 0 !== (d2 & a2.expiredLanes) || b2) b2 = Jk(a2, d2); | |
| else { | |
| b2 = d2; | |
| var e2 = K2; | |
| K2 |= 2; | |
| var f2 = Kk(); | |
| if (R2 !== a2 || Z2 !== b2) vk = null, Hj = B2() + 500, Lk(a2, b2); | |
| do | |
| try { | |
| Mk(); | |
| break; | |
| } catch (h2) { | |
| Nk(a2, h2); | |
| } | |
| while (1); | |
| Qg(); | |
| nk.current = f2; | |
| K2 = e2; | |
| null !== Y2 ? b2 = 0 : (R2 = null, Z2 = 0, b2 = T2); | |
| } | |
| if (0 !== b2) { | |
| 2 === b2 && (e2 = xc2(a2), 0 !== e2 && (d2 = e2, b2 = Ok(a2, e2))); | |
| if (1 === b2) throw c2 = qk, Lk(a2, 0), Dk(a2, d2), Ek(a2, B2()), c2; | |
| if (6 === b2) Dk(a2, d2); | |
| else { | |
| e2 = a2.current.alternate; | |
| if (0 === (d2 & 30) && !Pk(e2) && (b2 = Jk(a2, d2), 2 === b2 && (f2 = xc2(a2), 0 !== f2 && (d2 = f2, b2 = Ok(a2, f2))), 1 === b2)) throw c2 = qk, Lk(a2, 0), Dk(a2, d2), Ek(a2, B2()), c2; | |
| a2.finishedWork = e2; | |
| a2.finishedLanes = d2; | |
| switch (b2) { | |
| case 0: | |
| case 1: | |
| throw Error(p2(345)); | |
| case 2: | |
| Qk(a2, uk, vk); | |
| break; | |
| case 3: | |
| Dk(a2, d2); | |
| if ((d2 & 130023424) === d2 && (b2 = gk + 500 - B2(), 10 < b2)) { | |
| if (0 !== uc2(a2, 0)) break; | |
| e2 = a2.suspendedLanes; | |
| if ((e2 & d2) !== d2) { | |
| L2(); | |
| a2.pingedLanes |= a2.suspendedLanes & e2; | |
| break; | |
| } | |
| a2.timeoutHandle = Ff2(Qk.bind(null, a2, uk, vk), b2); | |
| break; | |
| } | |
| Qk(a2, uk, vk); | |
| break; | |
| case 4: | |
| Dk(a2, d2); | |
| if ((d2 & 4194240) === d2) break; | |
| b2 = a2.eventTimes; | |
| for (e2 = -1; 0 < d2; ) { | |
| var g2 = 31 - oc2(d2); | |
| f2 = 1 << g2; | |
| g2 = b2[g2]; | |
| g2 > e2 && (e2 = g2); | |
| d2 &= ~f2; | |
| } | |
| d2 = e2; | |
| d2 = B2() - d2; | |
| d2 = (120 > d2 ? 120 : 480 > d2 ? 480 : 1080 > d2 ? 1080 : 1920 > d2 ? 1920 : 3e3 > d2 ? 3e3 : 4320 > d2 ? 4320 : 1960 * mk(d2 / 1960)) - d2; | |
| if (10 < d2) { | |
| a2.timeoutHandle = Ff2(Qk.bind(null, a2, uk, vk), d2); | |
| break; | |
| } | |
| Qk(a2, uk, vk); | |
| break; | |
| case 5: | |
| Qk(a2, uk, vk); | |
| break; | |
| default: | |
| throw Error(p2(329)); | |
| } | |
| } | |
| } | |
| Ek(a2, B2()); | |
| return a2.callbackNode === c2 ? Hk.bind(null, a2) : null; | |
| } | |
| function Ok(a2, b2) { | |
| var c2 = tk; | |
| a2.current.memoizedState.isDehydrated && (Lk(a2, b2).flags |= 256); | |
| a2 = Jk(a2, b2); | |
| 2 !== a2 && (b2 = uk, uk = c2, null !== b2 && Gj(b2)); | |
| return a2; | |
| } | |
| function Gj(a2) { | |
| null === uk ? uk = a2 : uk.push.apply(uk, a2); | |
| } | |
| function Pk(a2) { | |
| for (var b2 = a2; ; ) { | |
| if (b2.flags & 16384) { | |
| var c2 = b2.updateQueue; | |
| if (null !== c2 && (c2 = c2.stores, null !== c2)) for (var d2 = 0; d2 < c2.length; d2++) { | |
| var e2 = c2[d2], f2 = e2.getSnapshot; | |
| e2 = e2.value; | |
| try { | |
| if (!He2(f2(), e2)) return false; | |
| } catch (g2) { | |
| return false; | |
| } | |
| } | |
| } | |
| c2 = b2.child; | |
| if (b2.subtreeFlags & 16384 && null !== c2) c2.return = b2, b2 = c2; | |
| else { | |
| if (b2 === a2) break; | |
| for (; null === b2.sibling; ) { | |
| if (null === b2.return || b2.return === a2) return true; | |
| b2 = b2.return; | |
| } | |
| b2.sibling.return = b2.return; | |
| b2 = b2.sibling; | |
| } | |
| } | |
| return true; | |
| } | |
| function Dk(a2, b2) { | |
| b2 &= ~sk; | |
| b2 &= ~rk; | |
| a2.suspendedLanes |= b2; | |
| a2.pingedLanes &= ~b2; | |
| for (a2 = a2.expirationTimes; 0 < b2; ) { | |
| var c2 = 31 - oc2(b2), d2 = 1 << c2; | |
| a2[c2] = -1; | |
| b2 &= ~d2; | |
| } | |
| } | |
| function Fk(a2) { | |
| if (0 !== (K2 & 6)) throw Error(p2(327)); | |
| Ik(); | |
| var b2 = uc2(a2, 0); | |
| if (0 === (b2 & 1)) return Ek(a2, B2()), null; | |
| var c2 = Jk(a2, b2); | |
| if (0 !== a2.tag && 2 === c2) { | |
| var d2 = xc2(a2); | |
| 0 !== d2 && (b2 = d2, c2 = Ok(a2, d2)); | |
| } | |
| if (1 === c2) throw c2 = qk, Lk(a2, 0), Dk(a2, b2), Ek(a2, B2()), c2; | |
| if (6 === c2) throw Error(p2(345)); | |
| a2.finishedWork = a2.current.alternate; | |
| a2.finishedLanes = b2; | |
| Qk(a2, uk, vk); | |
| Ek(a2, B2()); | |
| return null; | |
| } | |
| function Rk(a2, b2) { | |
| var c2 = K2; | |
| K2 |= 1; | |
| try { | |
| return a2(b2); | |
| } finally { | |
| K2 = c2, 0 === K2 && (Hj = B2() + 500, fg2 && jg()); | |
| } | |
| } | |
| function Sk(a2) { | |
| null !== xk && 0 === xk.tag && 0 === (K2 & 6) && Ik(); | |
| var b2 = K2; | |
| K2 |= 1; | |
| var c2 = pk.transition, d2 = C2; | |
| try { | |
| if (pk.transition = null, C2 = 1, a2) return a2(); | |
| } finally { | |
| C2 = d2, pk.transition = c2, K2 = b2, 0 === (K2 & 6) && jg(); | |
| } | |
| } | |
| function Ij() { | |
| gj = fj.current; | |
| E2(fj); | |
| } | |
| function Lk(a2, b2) { | |
| a2.finishedWork = null; | |
| a2.finishedLanes = 0; | |
| var c2 = a2.timeoutHandle; | |
| -1 !== c2 && (a2.timeoutHandle = -1, Gf2(c2)); | |
| if (null !== Y2) for (c2 = Y2.return; null !== c2; ) { | |
| var d2 = c2; | |
| wg(d2); | |
| switch (d2.tag) { | |
| case 1: | |
| d2 = d2.type.childContextTypes; | |
| null !== d2 && void 0 !== d2 && $f2(); | |
| break; | |
| case 3: | |
| Jh2(); | |
| E2(Wf2); | |
| E2(H2); | |
| Oh2(); | |
| break; | |
| case 5: | |
| Lh2(d2); | |
| break; | |
| case 4: | |
| Jh2(); | |
| break; | |
| case 13: | |
| E2(M2); | |
| break; | |
| case 19: | |
| E2(M2); | |
| break; | |
| case 10: | |
| Rg(d2.type._context); | |
| break; | |
| case 22: | |
| case 23: | |
| Ij(); | |
| } | |
| c2 = c2.return; | |
| } | |
| R2 = a2; | |
| Y2 = a2 = wh2(a2.current, null); | |
| Z2 = gj = b2; | |
| T2 = 0; | |
| qk = null; | |
| sk = rk = hh2 = 0; | |
| uk = tk = null; | |
| if (null !== Wg) { | |
| for (b2 = 0; b2 < Wg.length; b2++) if (c2 = Wg[b2], d2 = c2.interleaved, null !== d2) { | |
| c2.interleaved = null; | |
| var e2 = d2.next, f2 = c2.pending; | |
| if (null !== f2) { | |
| var g2 = f2.next; | |
| f2.next = e2; | |
| d2.next = g2; | |
| } | |
| c2.pending = d2; | |
| } | |
| Wg = null; | |
| } | |
| return a2; | |
| } | |
| function Nk(a2, b2) { | |
| do { | |
| var c2 = Y2; | |
| try { | |
| Qg(); | |
| Ph2.current = ai2; | |
| if (Sh2) { | |
| for (var d2 = N2.memoizedState; null !== d2; ) { | |
| var e2 = d2.queue; | |
| null !== e2 && (e2.pending = null); | |
| d2 = d2.next; | |
| } | |
| Sh2 = false; | |
| } | |
| Rh2 = 0; | |
| P2 = O2 = N2 = null; | |
| Th2 = false; | |
| Uh2 = 0; | |
| ok.current = null; | |
| if (null === c2 || null === c2.return) { | |
| T2 = 1; | |
| qk = b2; | |
| Y2 = null; | |
| break; | |
| } | |
| a: { | |
| var f2 = a2, g2 = c2.return, h2 = c2, k2 = b2; | |
| b2 = Z2; | |
| h2.flags |= 32768; | |
| if (null !== k2 && "object" === typeof k2 && "function" === typeof k2.then) { | |
| var l2 = k2, m2 = h2, q2 = m2.tag; | |
| if (0 === (m2.mode & 1) && (0 === q2 || 11 === q2 || 15 === q2)) { | |
| var r2 = m2.alternate; | |
| r2 ? (m2.updateQueue = r2.updateQueue, m2.memoizedState = r2.memoizedState, m2.lanes = r2.lanes) : (m2.updateQueue = null, m2.memoizedState = null); | |
| } | |
| var y2 = Vi2(g2); | |
| if (null !== y2) { | |
| y2.flags &= -257; | |
| Wi2(y2, g2, h2, f2, b2); | |
| y2.mode & 1 && Ti2(f2, l2, b2); | |
| b2 = y2; | |
| k2 = l2; | |
| var n2 = b2.updateQueue; | |
| if (null === n2) { | |
| var t2 = /* @__PURE__ */ new Set(); | |
| t2.add(k2); | |
| b2.updateQueue = t2; | |
| } else n2.add(k2); | |
| break a; | |
| } else { | |
| if (0 === (b2 & 1)) { | |
| Ti2(f2, l2, b2); | |
| uj(); | |
| break a; | |
| } | |
| k2 = Error(p2(426)); | |
| } | |
| } else if (I2 && h2.mode & 1) { | |
| var J2 = Vi2(g2); | |
| if (null !== J2) { | |
| 0 === (J2.flags & 65536) && (J2.flags |= 256); | |
| Wi2(J2, g2, h2, f2, b2); | |
| Jg(Ki2(k2, h2)); | |
| break a; | |
| } | |
| } | |
| f2 = k2 = Ki2(k2, h2); | |
| 4 !== T2 && (T2 = 2); | |
| null === tk ? tk = [f2] : tk.push(f2); | |
| f2 = g2; | |
| do { | |
| switch (f2.tag) { | |
| case 3: | |
| f2.flags |= 65536; | |
| b2 &= -b2; | |
| f2.lanes |= b2; | |
| var x2 = Oi2(f2, k2, b2); | |
| fh2(f2, x2); | |
| break a; | |
| case 1: | |
| h2 = k2; | |
| var w2 = f2.type, u2 = f2.stateNode; | |
| if (0 === (f2.flags & 128) && ("function" === typeof w2.getDerivedStateFromError || null !== u2 && "function" === typeof u2.componentDidCatch && (null === Si2 || !Si2.has(u2)))) { | |
| f2.flags |= 65536; | |
| b2 &= -b2; | |
| f2.lanes |= b2; | |
| var F2 = Ri2(f2, h2, b2); | |
| fh2(f2, F2); | |
| break a; | |
| } | |
| } | |
| f2 = f2.return; | |
| } while (null !== f2); | |
| } | |
| Tk(c2); | |
| } catch (na2) { | |
| b2 = na2; | |
| Y2 === c2 && null !== c2 && (Y2 = c2 = c2.return); | |
| continue; | |
| } | |
| break; | |
| } while (1); | |
| } | |
| function Kk() { | |
| var a2 = nk.current; | |
| nk.current = ai2; | |
| return null === a2 ? ai2 : a2; | |
| } | |
| function uj() { | |
| if (0 === T2 || 3 === T2 || 2 === T2) T2 = 4; | |
| null === R2 || 0 === (hh2 & 268435455) && 0 === (rk & 268435455) || Dk(R2, Z2); | |
| } | |
| function Jk(a2, b2) { | |
| var c2 = K2; | |
| K2 |= 2; | |
| var d2 = Kk(); | |
| if (R2 !== a2 || Z2 !== b2) vk = null, Lk(a2, b2); | |
| do | |
| try { | |
| Uk(); | |
| break; | |
| } catch (e2) { | |
| Nk(a2, e2); | |
| } | |
| while (1); | |
| Qg(); | |
| K2 = c2; | |
| nk.current = d2; | |
| if (null !== Y2) throw Error(p2(261)); | |
| R2 = null; | |
| Z2 = 0; | |
| return T2; | |
| } | |
| function Uk() { | |
| for (; null !== Y2; ) Vk(Y2); | |
| } | |
| function Mk() { | |
| for (; null !== Y2 && !cc2(); ) Vk(Y2); | |
| } | |
| function Vk(a2) { | |
| var b2 = Wk(a2.alternate, a2, gj); | |
| a2.memoizedProps = a2.pendingProps; | |
| null === b2 ? Tk(a2) : Y2 = b2; | |
| ok.current = null; | |
| } | |
| function Tk(a2) { | |
| var b2 = a2; | |
| do { | |
| var c2 = b2.alternate; | |
| a2 = b2.return; | |
| if (0 === (b2.flags & 32768)) { | |
| if (c2 = Fj(c2, b2, gj), null !== c2) { | |
| Y2 = c2; | |
| return; | |
| } | |
| } else { | |
| c2 = Jj(c2, b2); | |
| if (null !== c2) { | |
| c2.flags &= 32767; | |
| Y2 = c2; | |
| return; | |
| } | |
| if (null !== a2) a2.flags |= 32768, a2.subtreeFlags = 0, a2.deletions = null; | |
| else { | |
| T2 = 6; | |
| Y2 = null; | |
| return; | |
| } | |
| } | |
| b2 = b2.sibling; | |
| if (null !== b2) { | |
| Y2 = b2; | |
| return; | |
| } | |
| Y2 = b2 = a2; | |
| } while (null !== b2); | |
| 0 === T2 && (T2 = 5); | |
| } | |
| function Qk(a2, b2, c2) { | |
| var d2 = C2, e2 = pk.transition; | |
| try { | |
| pk.transition = null, C2 = 1, Xk(a2, b2, c2, d2); | |
| } finally { | |
| pk.transition = e2, C2 = d2; | |
| } | |
| return null; | |
| } | |
| function Xk(a2, b2, c2, d2) { | |
| do | |
| Ik(); | |
| while (null !== xk); | |
| if (0 !== (K2 & 6)) throw Error(p2(327)); | |
| c2 = a2.finishedWork; | |
| var e2 = a2.finishedLanes; | |
| if (null === c2) return null; | |
| a2.finishedWork = null; | |
| a2.finishedLanes = 0; | |
| if (c2 === a2.current) throw Error(p2(177)); | |
| a2.callbackNode = null; | |
| a2.callbackPriority = 0; | |
| var f2 = c2.lanes | c2.childLanes; | |
| Bc2(a2, f2); | |
| a2 === R2 && (Y2 = R2 = null, Z2 = 0); | |
| 0 === (c2.subtreeFlags & 2064) && 0 === (c2.flags & 2064) || wk || (wk = true, Gk(hc2, function() { | |
| Ik(); | |
| return null; | |
| })); | |
| f2 = 0 !== (c2.flags & 15990); | |
| if (0 !== (c2.subtreeFlags & 15990) || f2) { | |
| f2 = pk.transition; | |
| pk.transition = null; | |
| var g2 = C2; | |
| C2 = 1; | |
| var h2 = K2; | |
| K2 |= 4; | |
| ok.current = null; | |
| Pj(a2, c2); | |
| ek(c2, a2); | |
| Oe2(Df2); | |
| dd2 = !!Cf2; | |
| Df2 = Cf2 = null; | |
| a2.current = c2; | |
| ik(c2); | |
| dc2(); | |
| K2 = h2; | |
| C2 = g2; | |
| pk.transition = f2; | |
| } else a2.current = c2; | |
| wk && (wk = false, xk = a2, yk = e2); | |
| f2 = a2.pendingLanes; | |
| 0 === f2 && (Si2 = null); | |
| mc2(c2.stateNode); | |
| Ek(a2, B2()); | |
| if (null !== b2) for (d2 = a2.onRecoverableError, c2 = 0; c2 < b2.length; c2++) e2 = b2[c2], d2(e2.value, { componentStack: e2.stack, digest: e2.digest }); | |
| if (Pi2) throw Pi2 = false, a2 = Qi2, Qi2 = null, a2; | |
| 0 !== (yk & 1) && 0 !== a2.tag && Ik(); | |
| f2 = a2.pendingLanes; | |
| 0 !== (f2 & 1) ? a2 === Ak ? zk++ : (zk = 0, Ak = a2) : zk = 0; | |
| jg(); | |
| return null; | |
| } | |
| function Ik() { | |
| if (null !== xk) { | |
| var a2 = Dc2(yk), b2 = pk.transition, c2 = C2; | |
| try { | |
| pk.transition = null; | |
| C2 = 16 > a2 ? 16 : a2; | |
| if (null === xk) var d2 = false; | |
| else { | |
| a2 = xk; | |
| xk = null; | |
| yk = 0; | |
| if (0 !== (K2 & 6)) throw Error(p2(331)); | |
| var e2 = K2; | |
| K2 |= 4; | |
| for (V2 = a2.current; null !== V2; ) { | |
| var f2 = V2, g2 = f2.child; | |
| if (0 !== (V2.flags & 16)) { | |
| var h2 = f2.deletions; | |
| if (null !== h2) { | |
| for (var k2 = 0; k2 < h2.length; k2++) { | |
| var l2 = h2[k2]; | |
| for (V2 = l2; null !== V2; ) { | |
| var m2 = V2; | |
| switch (m2.tag) { | |
| case 0: | |
| case 11: | |
| case 15: | |
| Qj(8, m2, f2); | |
| } | |
| var q2 = m2.child; | |
| if (null !== q2) q2.return = m2, V2 = q2; | |
| else for (; null !== V2; ) { | |
| m2 = V2; | |
| var r2 = m2.sibling, y2 = m2.return; | |
| Tj(m2); | |
| if (m2 === l2) { | |
| V2 = null; | |
| break; | |
| } | |
| if (null !== r2) { | |
| r2.return = y2; | |
| V2 = r2; | |
| break; | |
| } | |
| V2 = y2; | |
| } | |
| } | |
| } | |
| var n2 = f2.alternate; | |
| if (null !== n2) { | |
| var t2 = n2.child; | |
| if (null !== t2) { | |
| n2.child = null; | |
| do { | |
| var J2 = t2.sibling; | |
| t2.sibling = null; | |
| t2 = J2; | |
| } while (null !== t2); | |
| } | |
| } | |
| V2 = f2; | |
| } | |
| } | |
| if (0 !== (f2.subtreeFlags & 2064) && null !== g2) g2.return = f2, V2 = g2; | |
| else b: for (; null !== V2; ) { | |
| f2 = V2; | |
| if (0 !== (f2.flags & 2048)) switch (f2.tag) { | |
| case 0: | |
| case 11: | |
| case 15: | |
| Qj(9, f2, f2.return); | |
| } | |
| var x2 = f2.sibling; | |
| if (null !== x2) { | |
| x2.return = f2.return; | |
| V2 = x2; | |
| break b; | |
| } | |
| V2 = f2.return; | |
| } | |
| } | |
| var w2 = a2.current; | |
| for (V2 = w2; null !== V2; ) { | |
| g2 = V2; | |
| var u2 = g2.child; | |
| if (0 !== (g2.subtreeFlags & 2064) && null !== u2) u2.return = g2, V2 = u2; | |
| else b: for (g2 = w2; null !== V2; ) { | |
| h2 = V2; | |
| if (0 !== (h2.flags & 2048)) try { | |
| switch (h2.tag) { | |
| case 0: | |
| case 11: | |
| case 15: | |
| Rj(9, h2); | |
| } | |
| } catch (na2) { | |
| W2(h2, h2.return, na2); | |
| } | |
| if (h2 === g2) { | |
| V2 = null; | |
| break b; | |
| } | |
| var F2 = h2.sibling; | |
| if (null !== F2) { | |
| F2.return = h2.return; | |
| V2 = F2; | |
| break b; | |
| } | |
| V2 = h2.return; | |
| } | |
| } | |
| K2 = e2; | |
| jg(); | |
| if (lc2 && "function" === typeof lc2.onPostCommitFiberRoot) try { | |
| lc2.onPostCommitFiberRoot(kc2, a2); | |
| } catch (na2) { | |
| } | |
| d2 = true; | |
| } | |
| return d2; | |
| } finally { | |
| C2 = c2, pk.transition = b2; | |
| } | |
| } | |
| return false; | |
| } | |
| function Yk(a2, b2, c2) { | |
| b2 = Ki2(c2, b2); | |
| b2 = Oi2(a2, b2, 1); | |
| a2 = dh2(a2, b2, 1); | |
| b2 = L2(); | |
| null !== a2 && (Ac2(a2, 1, b2), Ek(a2, b2)); | |
| } | |
| function W2(a2, b2, c2) { | |
| if (3 === a2.tag) Yk(a2, a2, c2); | |
| else for (; null !== b2; ) { | |
| if (3 === b2.tag) { | |
| Yk(b2, a2, c2); | |
| break; | |
| } else if (1 === b2.tag) { | |
| var d2 = b2.stateNode; | |
| if ("function" === typeof b2.type.getDerivedStateFromError || "function" === typeof d2.componentDidCatch && (null === Si2 || !Si2.has(d2))) { | |
| a2 = Ki2(c2, a2); | |
| a2 = Ri2(b2, a2, 1); | |
| b2 = dh2(b2, a2, 1); | |
| a2 = L2(); | |
| null !== b2 && (Ac2(b2, 1, a2), Ek(b2, a2)); | |
| break; | |
| } | |
| } | |
| b2 = b2.return; | |
| } | |
| } | |
| function Ui2(a2, b2, c2) { | |
| var d2 = a2.pingCache; | |
| null !== d2 && d2.delete(b2); | |
| b2 = L2(); | |
| a2.pingedLanes |= a2.suspendedLanes & c2; | |
| R2 === a2 && (Z2 & c2) === c2 && (4 === T2 || 3 === T2 && (Z2 & 130023424) === Z2 && 500 > B2() - gk ? Lk(a2, 0) : sk |= c2); | |
| Ek(a2, b2); | |
| } | |
| function Zk(a2, b2) { | |
| 0 === b2 && (0 === (a2.mode & 1) ? b2 = 1 : (b2 = sc2, sc2 <<= 1, 0 === (sc2 & 130023424) && (sc2 = 4194304))); | |
| var c2 = L2(); | |
| a2 = Zg(a2, b2); | |
| null !== a2 && (Ac2(a2, b2, c2), Ek(a2, c2)); | |
| } | |
| function vj(a2) { | |
| var b2 = a2.memoizedState, c2 = 0; | |
| null !== b2 && (c2 = b2.retryLane); | |
| Zk(a2, c2); | |
| } | |
| function ck(a2, b2) { | |
| var c2 = 0; | |
| switch (a2.tag) { | |
| case 13: | |
| var d2 = a2.stateNode; | |
| var e2 = a2.memoizedState; | |
| null !== e2 && (c2 = e2.retryLane); | |
| break; | |
| case 19: | |
| d2 = a2.stateNode; | |
| break; | |
| default: | |
| throw Error(p2(314)); | |
| } | |
| null !== d2 && d2.delete(b2); | |
| Zk(a2, c2); | |
| } | |
| var Wk; | |
| Wk = function(a2, b2, c2) { | |
| if (null !== a2) if (a2.memoizedProps !== b2.pendingProps || Wf2.current) Ug = true; | |
| else { | |
| if (0 === (a2.lanes & c2) && 0 === (b2.flags & 128)) return Ug = false, zj(a2, b2, c2); | |
| Ug = 0 !== (a2.flags & 131072) ? true : false; | |
| } | |
| else Ug = false, I2 && 0 !== (b2.flags & 1048576) && ug2(b2, ng2, b2.index); | |
| b2.lanes = 0; | |
| switch (b2.tag) { | |
| case 2: | |
| var d2 = b2.type; | |
| jj(a2, b2); | |
| a2 = b2.pendingProps; | |
| var e2 = Yf2(b2, H2.current); | |
| Tg(b2, c2); | |
| e2 = Xh2(null, b2, d2, a2, e2, c2); | |
| var f2 = bi2(); | |
| b2.flags |= 1; | |
| "object" === typeof e2 && null !== e2 && "function" === typeof e2.render && void 0 === e2.$$typeof ? (b2.tag = 1, b2.memoizedState = null, b2.updateQueue = null, Zf2(d2) ? (f2 = true, cg2(b2)) : f2 = false, b2.memoizedState = null !== e2.state && void 0 !== e2.state ? e2.state : null, ah2(b2), e2.updater = nh2, b2.stateNode = e2, e2._reactInternals = b2, rh2(b2, d2, a2, c2), b2 = kj(null, b2, d2, true, f2, c2)) : (b2.tag = 0, I2 && f2 && vg(b2), Yi2(null, b2, e2, c2), b2 = b2.child); | |
| return b2; | |
| case 16: | |
| d2 = b2.elementType; | |
| a: { | |
| jj(a2, b2); | |
| a2 = b2.pendingProps; | |
| e2 = d2._init; | |
| d2 = e2(d2._payload); | |
| b2.type = d2; | |
| e2 = b2.tag = $k(d2); | |
| a2 = Lg(d2, a2); | |
| switch (e2) { | |
| case 0: | |
| b2 = dj(null, b2, d2, a2, c2); | |
| break a; | |
| case 1: | |
| b2 = ij(null, b2, d2, a2, c2); | |
| break a; | |
| case 11: | |
| b2 = Zi2(null, b2, d2, a2, c2); | |
| break a; | |
| case 14: | |
| b2 = aj(null, b2, d2, Lg(d2.type, a2), c2); | |
| break a; | |
| } | |
| throw Error(p2( | |
| 306, | |
| d2, | |
| "" | |
| )); | |
| } | |
| return b2; | |
| case 0: | |
| return d2 = b2.type, e2 = b2.pendingProps, e2 = b2.elementType === d2 ? e2 : Lg(d2, e2), dj(a2, b2, d2, e2, c2); | |
| case 1: | |
| return d2 = b2.type, e2 = b2.pendingProps, e2 = b2.elementType === d2 ? e2 : Lg(d2, e2), ij(a2, b2, d2, e2, c2); | |
| case 3: | |
| a: { | |
| lj(b2); | |
| if (null === a2) throw Error(p2(387)); | |
| d2 = b2.pendingProps; | |
| f2 = b2.memoizedState; | |
| e2 = f2.element; | |
| bh2(a2, b2); | |
| gh2(b2, d2, null, c2); | |
| var g2 = b2.memoizedState; | |
| d2 = g2.element; | |
| if (f2.isDehydrated) if (f2 = { element: d2, isDehydrated: false, cache: g2.cache, pendingSuspenseBoundaries: g2.pendingSuspenseBoundaries, transitions: g2.transitions }, b2.updateQueue.baseState = f2, b2.memoizedState = f2, b2.flags & 256) { | |
| e2 = Ki2(Error(p2(423)), b2); | |
| b2 = mj(a2, b2, d2, c2, e2); | |
| break a; | |
| } else if (d2 !== e2) { | |
| e2 = Ki2(Error(p2(424)), b2); | |
| b2 = mj(a2, b2, d2, c2, e2); | |
| break a; | |
| } else for (yg = Lf2(b2.stateNode.containerInfo.firstChild), xg = b2, I2 = true, zg = null, c2 = Ch2(b2, null, d2, c2), b2.child = c2; c2; ) c2.flags = c2.flags & -3 | 4096, c2 = c2.sibling; | |
| else { | |
| Ig(); | |
| if (d2 === e2) { | |
| b2 = $i2(a2, b2, c2); | |
| break a; | |
| } | |
| Yi2(a2, b2, d2, c2); | |
| } | |
| b2 = b2.child; | |
| } | |
| return b2; | |
| case 5: | |
| return Kh2(b2), null === a2 && Eg(b2), d2 = b2.type, e2 = b2.pendingProps, f2 = null !== a2 ? a2.memoizedProps : null, g2 = e2.children, Ef2(d2, e2) ? g2 = null : null !== f2 && Ef2(d2, f2) && (b2.flags |= 32), hj(a2, b2), Yi2(a2, b2, g2, c2), b2.child; | |
| case 6: | |
| return null === a2 && Eg(b2), null; | |
| case 13: | |
| return pj(a2, b2, c2); | |
| case 4: | |
| return Ih2(b2, b2.stateNode.containerInfo), d2 = b2.pendingProps, null === a2 ? b2.child = Bh2(b2, null, d2, c2) : Yi2(a2, b2, d2, c2), b2.child; | |
| case 11: | |
| return d2 = b2.type, e2 = b2.pendingProps, e2 = b2.elementType === d2 ? e2 : Lg(d2, e2), Zi2(a2, b2, d2, e2, c2); | |
| case 7: | |
| return Yi2(a2, b2, b2.pendingProps, c2), b2.child; | |
| case 8: | |
| return Yi2(a2, b2, b2.pendingProps.children, c2), b2.child; | |
| case 12: | |
| return Yi2(a2, b2, b2.pendingProps.children, c2), b2.child; | |
| case 10: | |
| a: { | |
| d2 = b2.type._context; | |
| e2 = b2.pendingProps; | |
| f2 = b2.memoizedProps; | |
| g2 = e2.value; | |
| G2(Mg, d2._currentValue); | |
| d2._currentValue = g2; | |
| if (null !== f2) if (He2(f2.value, g2)) { | |
| if (f2.children === e2.children && !Wf2.current) { | |
| b2 = $i2(a2, b2, c2); | |
| break a; | |
| } | |
| } else for (f2 = b2.child, null !== f2 && (f2.return = b2); null !== f2; ) { | |
| var h2 = f2.dependencies; | |
| if (null !== h2) { | |
| g2 = f2.child; | |
| for (var k2 = h2.firstContext; null !== k2; ) { | |
| if (k2.context === d2) { | |
| if (1 === f2.tag) { | |
| k2 = ch2(-1, c2 & -c2); | |
| k2.tag = 2; | |
| var l2 = f2.updateQueue; | |
| if (null !== l2) { | |
| l2 = l2.shared; | |
| var m2 = l2.pending; | |
| null === m2 ? k2.next = k2 : (k2.next = m2.next, m2.next = k2); | |
| l2.pending = k2; | |
| } | |
| } | |
| f2.lanes |= c2; | |
| k2 = f2.alternate; | |
| null !== k2 && (k2.lanes |= c2); | |
| Sg( | |
| f2.return, | |
| c2, | |
| b2 | |
| ); | |
| h2.lanes |= c2; | |
| break; | |
| } | |
| k2 = k2.next; | |
| } | |
| } else if (10 === f2.tag) g2 = f2.type === b2.type ? null : f2.child; | |
| else if (18 === f2.tag) { | |
| g2 = f2.return; | |
| if (null === g2) throw Error(p2(341)); | |
| g2.lanes |= c2; | |
| h2 = g2.alternate; | |
| null !== h2 && (h2.lanes |= c2); | |
| Sg(g2, c2, b2); | |
| g2 = f2.sibling; | |
| } else g2 = f2.child; | |
| if (null !== g2) g2.return = f2; | |
| else for (g2 = f2; null !== g2; ) { | |
| if (g2 === b2) { | |
| g2 = null; | |
| break; | |
| } | |
| f2 = g2.sibling; | |
| if (null !== f2) { | |
| f2.return = g2.return; | |
| g2 = f2; | |
| break; | |
| } | |
| g2 = g2.return; | |
| } | |
| f2 = g2; | |
| } | |
| Yi2(a2, b2, e2.children, c2); | |
| b2 = b2.child; | |
| } | |
| return b2; | |
| case 9: | |
| return e2 = b2.type, d2 = b2.pendingProps.children, Tg(b2, c2), e2 = Vg(e2), d2 = d2(e2), b2.flags |= 1, Yi2(a2, b2, d2, c2), b2.child; | |
| case 14: | |
| return d2 = b2.type, e2 = Lg(d2, b2.pendingProps), e2 = Lg(d2.type, e2), aj(a2, b2, d2, e2, c2); | |
| case 15: | |
| return cj(a2, b2, b2.type, b2.pendingProps, c2); | |
| case 17: | |
| return d2 = b2.type, e2 = b2.pendingProps, e2 = b2.elementType === d2 ? e2 : Lg(d2, e2), jj(a2, b2), b2.tag = 1, Zf2(d2) ? (a2 = true, cg2(b2)) : a2 = false, Tg(b2, c2), ph2(b2, d2, e2), rh2(b2, d2, e2, c2), kj(null, b2, d2, true, a2, c2); | |
| case 19: | |
| return yj(a2, b2, c2); | |
| case 22: | |
| return ej(a2, b2, c2); | |
| } | |
| throw Error(p2(156, b2.tag)); | |
| }; | |
| function Gk(a2, b2) { | |
| return ac2(a2, b2); | |
| } | |
| function al2(a2, b2, c2, d2) { | |
| this.tag = a2; | |
| this.key = c2; | |
| this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null; | |
| this.index = 0; | |
| this.ref = null; | |
| this.pendingProps = b2; | |
| this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null; | |
| this.mode = d2; | |
| this.subtreeFlags = this.flags = 0; | |
| this.deletions = null; | |
| this.childLanes = this.lanes = 0; | |
| this.alternate = null; | |
| } | |
| function Bg(a2, b2, c2, d2) { | |
| return new al2(a2, b2, c2, d2); | |
| } | |
| function bj(a2) { | |
| a2 = a2.prototype; | |
| return !(!a2 || !a2.isReactComponent); | |
| } | |
| function $k(a2) { | |
| if ("function" === typeof a2) return bj(a2) ? 1 : 0; | |
| if (void 0 !== a2 && null !== a2) { | |
| a2 = a2.$$typeof; | |
| if (a2 === Da2) return 11; | |
| if (a2 === Ga2) return 14; | |
| } | |
| return 2; | |
| } | |
| function wh2(a2, b2) { | |
| var c2 = a2.alternate; | |
| null === c2 ? (c2 = Bg(a2.tag, b2, a2.key, a2.mode), c2.elementType = a2.elementType, c2.type = a2.type, c2.stateNode = a2.stateNode, c2.alternate = a2, a2.alternate = c2) : (c2.pendingProps = b2, c2.type = a2.type, c2.flags = 0, c2.subtreeFlags = 0, c2.deletions = null); | |
| c2.flags = a2.flags & 14680064; | |
| c2.childLanes = a2.childLanes; | |
| c2.lanes = a2.lanes; | |
| c2.child = a2.child; | |
| c2.memoizedProps = a2.memoizedProps; | |
| c2.memoizedState = a2.memoizedState; | |
| c2.updateQueue = a2.updateQueue; | |
| b2 = a2.dependencies; | |
| c2.dependencies = null === b2 ? null : { lanes: b2.lanes, firstContext: b2.firstContext }; | |
| c2.sibling = a2.sibling; | |
| c2.index = a2.index; | |
| c2.ref = a2.ref; | |
| return c2; | |
| } | |
| function yh2(a2, b2, c2, d2, e2, f2) { | |
| var g2 = 2; | |
| d2 = a2; | |
| if ("function" === typeof a2) bj(a2) && (g2 = 1); | |
| else if ("string" === typeof a2) g2 = 5; | |
| else a: switch (a2) { | |
| case ya2: | |
| return Ah2(c2.children, e2, f2, b2); | |
| case za2: | |
| g2 = 8; | |
| e2 |= 8; | |
| break; | |
| case Aa2: | |
| return a2 = Bg(12, c2, b2, e2 | 2), a2.elementType = Aa2, a2.lanes = f2, a2; | |
| case Ea2: | |
| return a2 = Bg(13, c2, b2, e2), a2.elementType = Ea2, a2.lanes = f2, a2; | |
| case Fa2: | |
| return a2 = Bg(19, c2, b2, e2), a2.elementType = Fa2, a2.lanes = f2, a2; | |
| case Ia2: | |
| return qj(c2, e2, f2, b2); | |
| default: | |
| if ("object" === typeof a2 && null !== a2) switch (a2.$$typeof) { | |
| case Ba2: | |
| g2 = 10; | |
| break a; | |
| case Ca2: | |
| g2 = 9; | |
| break a; | |
| case Da2: | |
| g2 = 11; | |
| break a; | |
| case Ga2: | |
| g2 = 14; | |
| break a; | |
| case Ha2: | |
| g2 = 16; | |
| d2 = null; | |
| break a; | |
| } | |
| throw Error(p2(130, null == a2 ? a2 : typeof a2, "")); | |
| } | |
| b2 = Bg(g2, c2, b2, e2); | |
| b2.elementType = a2; | |
| b2.type = d2; | |
| b2.lanes = f2; | |
| return b2; | |
| } | |
| function Ah2(a2, b2, c2, d2) { | |
| a2 = Bg(7, a2, d2, b2); | |
| a2.lanes = c2; | |
| return a2; | |
| } | |
| function qj(a2, b2, c2, d2) { | |
| a2 = Bg(22, a2, d2, b2); | |
| a2.elementType = Ia2; | |
| a2.lanes = c2; | |
| a2.stateNode = { isHidden: false }; | |
| return a2; | |
| } | |
| function xh2(a2, b2, c2) { | |
| a2 = Bg(6, a2, null, b2); | |
| a2.lanes = c2; | |
| return a2; | |
| } | |
| function zh2(a2, b2, c2) { | |
| b2 = Bg(4, null !== a2.children ? a2.children : [], a2.key, b2); | |
| b2.lanes = c2; | |
| b2.stateNode = { containerInfo: a2.containerInfo, pendingChildren: null, implementation: a2.implementation }; | |
| return b2; | |
| } | |
| function bl2(a2, b2, c2, d2, e2) { | |
| this.tag = b2; | |
| this.containerInfo = a2; | |
| this.finishedWork = this.pingCache = this.current = this.pendingChildren = null; | |
| this.timeoutHandle = -1; | |
| this.callbackNode = this.pendingContext = this.context = null; | |
| this.callbackPriority = 0; | |
| this.eventTimes = zc2(0); | |
| this.expirationTimes = zc2(-1); | |
| this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0; | |
| this.entanglements = zc2(0); | |
| this.identifierPrefix = d2; | |
| this.onRecoverableError = e2; | |
| this.mutableSourceEagerHydrationData = null; | |
| } | |
| function cl2(a2, b2, c2, d2, e2, f2, g2, h2, k2) { | |
| a2 = new bl2(a2, b2, c2, h2, k2); | |
| 1 === b2 ? (b2 = 1, true === f2 && (b2 |= 8)) : b2 = 0; | |
| f2 = Bg(3, null, null, b2); | |
| a2.current = f2; | |
| f2.stateNode = a2; | |
| f2.memoizedState = { element: d2, isDehydrated: c2, cache: null, transitions: null, pendingSuspenseBoundaries: null }; | |
| ah2(f2); | |
| return a2; | |
| } | |
| function dl2(a2, b2, c2) { | |
| var d2 = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null; | |
| return { $$typeof: wa2, key: null == d2 ? null : "" + d2, children: a2, containerInfo: b2, implementation: c2 }; | |
| } | |
| function el2(a2) { | |
| if (!a2) return Vf2; | |
| a2 = a2._reactInternals; | |
| a: { | |
| if (Vb(a2) !== a2 || 1 !== a2.tag) throw Error(p2(170)); | |
| var b2 = a2; | |
| do { | |
| switch (b2.tag) { | |
| case 3: | |
| b2 = b2.stateNode.context; | |
| break a; | |
| case 1: | |
| if (Zf2(b2.type)) { | |
| b2 = b2.stateNode.__reactInternalMemoizedMergedChildContext; | |
| break a; | |
| } | |
| } | |
| b2 = b2.return; | |
| } while (null !== b2); | |
| throw Error(p2(171)); | |
| } | |
| if (1 === a2.tag) { | |
| var c2 = a2.type; | |
| if (Zf2(c2)) return bg(a2, c2, b2); | |
| } | |
| return b2; | |
| } | |
| function fl2(a2, b2, c2, d2, e2, f2, g2, h2, k2) { | |
| a2 = cl2(c2, d2, true, a2, e2, f2, g2, h2, k2); | |
| a2.context = el2(null); | |
| c2 = a2.current; | |
| d2 = L2(); | |
| e2 = lh2(c2); | |
| f2 = ch2(d2, e2); | |
| f2.callback = void 0 !== b2 && null !== b2 ? b2 : null; | |
| dh2(c2, f2, e2); | |
| a2.current.lanes = e2; | |
| Ac2(a2, e2, d2); | |
| Ek(a2, d2); | |
| return a2; | |
| } | |
| function gl2(a2, b2, c2, d2) { | |
| var e2 = b2.current, f2 = L2(), g2 = lh2(e2); | |
| c2 = el2(c2); | |
| null === b2.context ? b2.context = c2 : b2.pendingContext = c2; | |
| b2 = ch2(f2, g2); | |
| b2.payload = { element: a2 }; | |
| d2 = void 0 === d2 ? null : d2; | |
| null !== d2 && (b2.callback = d2); | |
| a2 = dh2(e2, b2, g2); | |
| null !== a2 && (mh2(a2, e2, g2, f2), eh2(a2, e2, g2)); | |
| return g2; | |
| } | |
| function hl2(a2) { | |
| a2 = a2.current; | |
| if (!a2.child) return null; | |
| switch (a2.child.tag) { | |
| case 5: | |
| return a2.child.stateNode; | |
| default: | |
| return a2.child.stateNode; | |
| } | |
| } | |
| function il2(a2, b2) { | |
| a2 = a2.memoizedState; | |
| if (null !== a2 && null !== a2.dehydrated) { | |
| var c2 = a2.retryLane; | |
| a2.retryLane = 0 !== c2 && c2 < b2 ? c2 : b2; | |
| } | |
| } | |
| function jl2(a2, b2) { | |
| il2(a2, b2); | |
| (a2 = a2.alternate) && il2(a2, b2); | |
| } | |
| function kl2() { | |
| return null; | |
| } | |
| var ll2 = "function" === typeof reportError ? reportError : function(a2) { | |
| console.error(a2); | |
| }; | |
| function ml2(a2) { | |
| this._internalRoot = a2; | |
| } | |
| nl2.prototype.render = ml2.prototype.render = function(a2) { | |
| var b2 = this._internalRoot; | |
| if (null === b2) throw Error(p2(409)); | |
| gl2(a2, b2, null, null); | |
| }; | |
| nl2.prototype.unmount = ml2.prototype.unmount = function() { | |
| var a2 = this._internalRoot; | |
| if (null !== a2) { | |
| this._internalRoot = null; | |
| var b2 = a2.containerInfo; | |
| Sk(function() { | |
| gl2(null, a2, null, null); | |
| }); | |
| b2[uf2] = null; | |
| } | |
| }; | |
| function nl2(a2) { | |
| this._internalRoot = a2; | |
| } | |
| nl2.prototype.unstable_scheduleHydration = function(a2) { | |
| if (a2) { | |
| var b2 = Hc2(); | |
| a2 = { blockedOn: null, target: a2, priority: b2 }; | |
| for (var c2 = 0; c2 < Qc2.length && 0 !== b2 && b2 < Qc2[c2].priority; c2++) ; | |
| Qc2.splice(c2, 0, a2); | |
| 0 === c2 && Vc2(a2); | |
| } | |
| }; | |
| function ol2(a2) { | |
| return !(!a2 || 1 !== a2.nodeType && 9 !== a2.nodeType && 11 !== a2.nodeType); | |
| } | |
| function pl2(a2) { | |
| return !(!a2 || 1 !== a2.nodeType && 9 !== a2.nodeType && 11 !== a2.nodeType && (8 !== a2.nodeType || " react-mount-point-unstable " !== a2.nodeValue)); | |
| } | |
| function ql2() { | |
| } | |
| function rl2(a2, b2, c2, d2, e2) { | |
| if (e2) { | |
| if ("function" === typeof d2) { | |
| var f2 = d2; | |
| d2 = function() { | |
| var a3 = hl2(g2); | |
| f2.call(a3); | |
| }; | |
| } | |
| var g2 = fl2(b2, d2, a2, 0, null, false, false, "", ql2); | |
| a2._reactRootContainer = g2; | |
| a2[uf2] = g2.current; | |
| sf(8 === a2.nodeType ? a2.parentNode : a2); | |
| Sk(); | |
| return g2; | |
| } | |
| for (; e2 = a2.lastChild; ) a2.removeChild(e2); | |
| if ("function" === typeof d2) { | |
| var h2 = d2; | |
| d2 = function() { | |
| var a3 = hl2(k2); | |
| h2.call(a3); | |
| }; | |
| } | |
| var k2 = cl2(a2, 0, false, null, null, false, false, "", ql2); | |
| a2._reactRootContainer = k2; | |
| a2[uf2] = k2.current; | |
| sf(8 === a2.nodeType ? a2.parentNode : a2); | |
| Sk(function() { | |
| gl2(b2, k2, c2, d2); | |
| }); | |
| return k2; | |
| } | |
| function sl2(a2, b2, c2, d2, e2) { | |
| var f2 = c2._reactRootContainer; | |
| if (f2) { | |
| var g2 = f2; | |
| if ("function" === typeof e2) { | |
| var h2 = e2; | |
| e2 = function() { | |
| var a3 = hl2(g2); | |
| h2.call(a3); | |
| }; | |
| } | |
| gl2(b2, g2, a2, e2); | |
| } else g2 = rl2(c2, b2, a2, e2, d2); | |
| return hl2(g2); | |
| } | |
| Ec2 = function(a2) { | |
| switch (a2.tag) { | |
| case 3: | |
| var b2 = a2.stateNode; | |
| if (b2.current.memoizedState.isDehydrated) { | |
| var c2 = tc2(b2.pendingLanes); | |
| 0 !== c2 && (Cc2(b2, c2 | 1), Ek(b2, B2()), 0 === (K2 & 6) && (Hj = B2() + 500, jg())); | |
| } | |
| break; | |
| case 13: | |
| Sk(function() { | |
| var b4 = Zg(a2, 1); | |
| if (null !== b4) { | |
| var c3 = L2(); | |
| mh2(b4, a2, 1, c3); | |
| } | |
| }), jl2(a2, 1); | |
| } | |
| }; | |
| Fc2 = function(a2) { | |
| if (13 === a2.tag) { | |
| var b2 = Zg(a2, 134217728); | |
| if (null !== b2) { | |
| var c2 = L2(); | |
| mh2(b2, a2, 134217728, c2); | |
| } | |
| jl2(a2, 134217728); | |
| } | |
| }; | |
| Gc2 = function(a2) { | |
| if (13 === a2.tag) { | |
| var b2 = lh2(a2), c2 = Zg(a2, b2); | |
| if (null !== c2) { | |
| var d2 = L2(); | |
| mh2(c2, a2, b2, d2); | |
| } | |
| jl2(a2, b2); | |
| } | |
| }; | |
| Hc2 = function() { | |
| return C2; | |
| }; | |
| Ic2 = function(a2, b2) { | |
| var c2 = C2; | |
| try { | |
| return C2 = a2, b2(); | |
| } finally { | |
| C2 = c2; | |
| } | |
| }; | |
| yb = function(a2, b2, c2) { | |
| switch (b2) { | |
| case "input": | |
| bb(a2, c2); | |
| b2 = c2.name; | |
| if ("radio" === c2.type && null != b2) { | |
| for (c2 = a2; c2.parentNode; ) c2 = c2.parentNode; | |
| c2 = c2.querySelectorAll("input[name=" + JSON.stringify("" + b2) + '][type="radio"]'); | |
| for (b2 = 0; b2 < c2.length; b2++) { | |
| var d2 = c2[b2]; | |
| if (d2 !== a2 && d2.form === a2.form) { | |
| var e2 = Db(d2); | |
| if (!e2) throw Error(p2(90)); | |
| Wa2(d2); | |
| bb(d2, e2); | |
| } | |
| } | |
| } | |
| break; | |
| case "textarea": | |
| ib(a2, c2); | |
| break; | |
| case "select": | |
| b2 = c2.value, null != b2 && fb(a2, !!c2.multiple, b2, false); | |
| } | |
| }; | |
| Gb = Rk; | |
| Hb = Sk; | |
| var tl2 = { usingClientEntryPoint: false, Events: [Cb, ue2, Db, Eb, Fb, Rk] }, ul2 = { findFiberByHostInstance: Wc2, bundleType: 0, version: "18.2.0", rendererPackageName: "react-dom" }; | |
| var vl2 = { bundleType: ul2.bundleType, version: ul2.version, rendererPackageName: ul2.rendererPackageName, rendererConfig: ul2.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: ua2.ReactCurrentDispatcher, findHostInstanceByFiber: function(a2) { | |
| a2 = Zb(a2); | |
| return null === a2 ? null : a2.stateNode; | |
| }, findFiberByHostInstance: ul2.findFiberByHostInstance || kl2, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.2.0-next-9e3b772b8-20220608" }; | |
| if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { | |
| var wl2 = __REACT_DEVTOOLS_GLOBAL_HOOK__; | |
| if (!wl2.isDisabled && wl2.supportsFiber) try { | |
| kc2 = wl2.inject(vl2), lc2 = wl2; | |
| } catch (a2) { | |
| } | |
| } | |
| reactDom_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = tl2; | |
| reactDom_production_min.createPortal = function(a2, b2) { | |
| var c2 = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null; | |
| if (!ol2(b2)) throw Error(p2(200)); | |
| return dl2(a2, b2, null, c2); | |
| }; | |
| reactDom_production_min.createRoot = function(a2, b2) { | |
| if (!ol2(a2)) throw Error(p2(299)); | |
| var c2 = false, d2 = "", e2 = ll2; | |
| null !== b2 && void 0 !== b2 && (true === b2.unstable_strictMode && (c2 = true), void 0 !== b2.identifierPrefix && (d2 = b2.identifierPrefix), void 0 !== b2.onRecoverableError && (e2 = b2.onRecoverableError)); | |
| b2 = cl2(a2, 1, false, null, null, c2, false, d2, e2); | |
| a2[uf2] = b2.current; | |
| sf(8 === a2.nodeType ? a2.parentNode : a2); | |
| return new ml2(b2); | |
| }; | |
| reactDom_production_min.findDOMNode = function(a2) { | |
| if (null == a2) return null; | |
| if (1 === a2.nodeType) return a2; | |
| var b2 = a2._reactInternals; | |
| if (void 0 === b2) { | |
| if ("function" === typeof a2.render) throw Error(p2(188)); | |
| a2 = Object.keys(a2).join(","); | |
| throw Error(p2(268, a2)); | |
| } | |
| a2 = Zb(b2); | |
| a2 = null === a2 ? null : a2.stateNode; | |
| return a2; | |
| }; | |
| reactDom_production_min.flushSync = function(a2) { | |
| return Sk(a2); | |
| }; | |
| reactDom_production_min.hydrate = function(a2, b2, c2) { | |
| if (!pl2(b2)) throw Error(p2(200)); | |
| return sl2(null, a2, b2, true, c2); | |
| }; | |
| reactDom_production_min.hydrateRoot = function(a2, b2, c2) { | |
| if (!ol2(a2)) throw Error(p2(405)); | |
| var d2 = null != c2 && c2.hydratedSources || null, e2 = false, f2 = "", g2 = ll2; | |
| null !== c2 && void 0 !== c2 && (true === c2.unstable_strictMode && (e2 = true), void 0 !== c2.identifierPrefix && (f2 = c2.identifierPrefix), void 0 !== c2.onRecoverableError && (g2 = c2.onRecoverableError)); | |
| b2 = fl2(b2, null, a2, 1, null != c2 ? c2 : null, e2, false, f2, g2); | |
| a2[uf2] = b2.current; | |
| sf(a2); | |
| if (d2) for (a2 = 0; a2 < d2.length; a2++) c2 = d2[a2], e2 = c2._getVersion, e2 = e2(c2._source), null == b2.mutableSourceEagerHydrationData ? b2.mutableSourceEagerHydrationData = [c2, e2] : b2.mutableSourceEagerHydrationData.push( | |
| c2, | |
| e2 | |
| ); | |
| return new nl2(b2); | |
| }; | |
| reactDom_production_min.render = function(a2, b2, c2) { | |
| if (!pl2(b2)) throw Error(p2(200)); | |
| return sl2(null, a2, b2, false, c2); | |
| }; | |
| reactDom_production_min.unmountComponentAtNode = function(a2) { | |
| if (!pl2(a2)) throw Error(p2(40)); | |
| return a2._reactRootContainer ? (Sk(function() { | |
| sl2(null, null, a2, false, function() { | |
| a2._reactRootContainer = null; | |
| a2[uf2] = null; | |
| }); | |
| }), true) : false; | |
| }; | |
| reactDom_production_min.unstable_batchedUpdates = Rk; | |
| reactDom_production_min.unstable_renderSubtreeIntoContainer = function(a2, b2, c2, d2) { | |
| if (!pl2(c2)) throw Error(p2(200)); | |
| if (null == a2 || void 0 === a2._reactInternals) throw Error(p2(38)); | |
| return sl2(a2, b2, c2, false, d2); | |
| }; | |
| reactDom_production_min.version = "18.2.0-next-9e3b772b8-20220608"; | |
| return reactDom_production_min; | |
| } | |
| var hasRequiredReactDom; | |
| function requireReactDom() { | |
| if (hasRequiredReactDom) return reactDom.exports; | |
| hasRequiredReactDom = 1; | |
| function checkDCE() { | |
| if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === "undefined" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== "function") { | |
| return; | |
| } | |
| try { | |
| __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE); | |
| } catch (err) { | |
| console.error(err); | |
| } | |
| } | |
| { | |
| checkDCE(); | |
| reactDom.exports = requireReactDom_production_min(); | |
| } | |
| return reactDom.exports; | |
| } | |
| var hasRequiredClient; | |
| function requireClient() { | |
| if (hasRequiredClient) return client; | |
| hasRequiredClient = 1; | |
| var m2 = requireReactDom(); | |
| { | |
| client.createRoot = m2.createRoot; | |
| client.hydrateRoot = m2.hydrateRoot; | |
| } | |
| return client; | |
| } | |
| var clientExports = requireClient(); | |
| function __awaiter$d(thisArg, _arguments, P2, generator) { | |
| function adopt(value2) { | |
| return value2 instanceof P2 ? value2 : new P2(function(resolve) { | |
| resolve(value2); | |
| }); | |
| } | |
| return new (P2 || (P2 = Promise))(function(resolve, reject) { | |
| function fulfilled(value2) { | |
| try { | |
| step2(generator.next(value2)); | |
| } catch (e2) { | |
| reject(e2); | |
| } | |
| } | |
| function rejected(value2) { | |
| try { | |
| step2(generator["throw"](value2)); | |
| } catch (e2) { | |
| reject(e2); | |
| } | |
| } | |
| function step2(result) { | |
| result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); | |
| } | |
| step2((generator = generator.apply(thisArg, [])).next()); | |
| }); | |
| } | |
| typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) { | |
| var e2 = new Error(message); | |
| return e2.name = "SuppressedError", e2.error = error, e2.suppressed = suppressed, e2; | |
| }; | |
| var eventemitter3 = { exports: {} }; | |
| var hasRequiredEventemitter3; | |
| function requireEventemitter3() { | |
| if (hasRequiredEventemitter3) return eventemitter3.exports; | |
| hasRequiredEventemitter3 = 1; | |
| (function(module2) { | |
| var has2 = Object.prototype.hasOwnProperty, prefix = "~"; | |
| function Events() { | |
| } | |
| if (Object.create) { | |
| Events.prototype = /* @__PURE__ */ Object.create(null); | |
| if (!new Events().__proto__) prefix = false; | |
| } | |
| function EE(fn2, context, once2) { | |
| this.fn = fn2; | |
| this.context = context; | |
| this.once = once2 || false; | |
| } | |
| function addListener(emitter, event, fn2, context, once2) { | |
| if (typeof fn2 !== "function") { | |
| throw new TypeError("The listener must be a function"); | |
| } | |
| var listener = new EE(fn2, context || emitter, once2), evt = prefix ? prefix + event : event; | |
| if (!emitter._events[evt]) emitter._events[evt] = listener, emitter._eventsCount++; | |
| else if (!emitter._events[evt].fn) emitter._events[evt].push(listener); | |
| else emitter._events[evt] = [emitter._events[evt], listener]; | |
| return emitter; | |
| } | |
| function clearEvent(emitter, evt) { | |
| if (--emitter._eventsCount === 0) emitter._events = new Events(); | |
| else delete emitter._events[evt]; | |
| } | |
| function EventEmitter2() { | |
| this._events = new Events(); | |
| this._eventsCount = 0; | |
| } | |
| EventEmitter2.prototype.eventNames = function eventNames() { | |
| var names = [], events2, name; | |
| if (this._eventsCount === 0) return names; | |
| for (name in events2 = this._events) { | |
| if (has2.call(events2, name)) names.push(prefix ? name.slice(1) : name); | |
| } | |
| if (Object.getOwnPropertySymbols) { | |
| return names.concat(Object.getOwnPropertySymbols(events2)); | |
| } | |
| return names; | |
| }; | |
| EventEmitter2.prototype.listeners = function listeners(event) { | |
| var evt = prefix ? prefix + event : event, handlers = this._events[evt]; | |
| if (!handlers) return []; | |
| if (handlers.fn) return [handlers.fn]; | |
| for (var i2 = 0, l2 = handlers.length, ee2 = new Array(l2); i2 < l2; i2++) { | |
| ee2[i2] = handlers[i2].fn; | |
| } | |
| return ee2; | |
| }; | |
| EventEmitter2.prototype.listenerCount = function listenerCount(event) { | |
| var evt = prefix ? prefix + event : event, listeners = this._events[evt]; | |
| if (!listeners) return 0; | |
| if (listeners.fn) return 1; | |
| return listeners.length; | |
| }; | |
| EventEmitter2.prototype.emit = function emit(event, a1, a2, a3, a4, a5) { | |
| var evt = prefix ? prefix + event : event; | |
| if (!this._events[evt]) return false; | |
| var listeners = this._events[evt], len = arguments.length, args, i2; | |
| if (listeners.fn) { | |
| if (listeners.once) this.removeListener(event, listeners.fn, void 0, true); | |
| switch (len) { | |
| case 1: | |
| return listeners.fn.call(listeners.context), true; | |
| case 2: | |
| return listeners.fn.call(listeners.context, a1), true; | |
| case 3: | |
| return listeners.fn.call(listeners.context, a1, a2), true; | |
| case 4: | |
| return listeners.fn.call(listeners.context, a1, a2, a3), true; | |
| case 5: | |
| return listeners.fn.call(listeners.context, a1, a2, a3, a4), true; | |
| case 6: | |
| return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true; | |
| } | |
| for (i2 = 1, args = new Array(len - 1); i2 < len; i2++) { | |
| args[i2 - 1] = arguments[i2]; | |
| } | |
| listeners.fn.apply(listeners.context, args); | |
| } else { | |
| var length = listeners.length, j2; | |
| for (i2 = 0; i2 < length; i2++) { | |
| if (listeners[i2].once) this.removeListener(event, listeners[i2].fn, void 0, true); | |
| switch (len) { | |
| case 1: | |
| listeners[i2].fn.call(listeners[i2].context); | |
| break; | |
| case 2: | |
| listeners[i2].fn.call(listeners[i2].context, a1); | |
| break; | |
| case 3: | |
| listeners[i2].fn.call(listeners[i2].context, a1, a2); | |
| break; | |
| case 4: | |
| listeners[i2].fn.call(listeners[i2].context, a1, a2, a3); | |
| break; | |
| default: | |
| if (!args) for (j2 = 1, args = new Array(len - 1); j2 < len; j2++) { | |
| args[j2 - 1] = arguments[j2]; | |
| } | |
| listeners[i2].fn.apply(listeners[i2].context, args); | |
| } | |
| } | |
| } | |
| return true; | |
| }; | |
| EventEmitter2.prototype.on = function on2(event, fn2, context) { | |
| return addListener(this, event, fn2, context, false); | |
| }; | |
| EventEmitter2.prototype.once = function once2(event, fn2, context) { | |
| return addListener(this, event, fn2, context, true); | |
| }; | |
| EventEmitter2.prototype.removeListener = function removeListener(event, fn2, context, once2) { | |
| var evt = prefix ? prefix + event : event; | |
| if (!this._events[evt]) return this; | |
| if (!fn2) { | |
| clearEvent(this, evt); | |
| return this; | |
| } | |
| var listeners = this._events[evt]; | |
| if (listeners.fn) { | |
| if (listeners.fn === fn2 && (!once2 || listeners.once) && (!context || listeners.context === context)) { | |
| clearEvent(this, evt); | |
| } | |
| } else { | |
| for (var i2 = 0, events2 = [], length = listeners.length; i2 < length; i2++) { | |
| if (listeners[i2].fn !== fn2 || once2 && !listeners[i2].once || context && listeners[i2].context !== context) { | |
| events2.push(listeners[i2]); | |
| } | |
| } | |
| if (events2.length) this._events[evt] = events2.length === 1 ? events2[0] : events2; | |
| else clearEvent(this, evt); | |
| } | |
| return this; | |
| }; | |
| EventEmitter2.prototype.removeAllListeners = function removeAllListeners(event) { | |
| var evt; | |
| if (event) { | |
| evt = prefix ? prefix + event : event; | |
| if (this._events[evt]) clearEvent(this, evt); | |
| } else { | |
| this._events = new Events(); | |
| this._eventsCount = 0; | |
| } | |
| return this; | |
| }; | |
| EventEmitter2.prototype.off = EventEmitter2.prototype.removeListener; | |
| EventEmitter2.prototype.addListener = EventEmitter2.prototype.on; | |
| EventEmitter2.prefixed = prefix; | |
| EventEmitter2.EventEmitter = EventEmitter2; | |
| { | |
| module2.exports = EventEmitter2; | |
| } | |
| })(eventemitter3); | |
| return eventemitter3.exports; | |
| } | |
| var eventemitter3Exports = requireEventemitter3(); | |
| const EventEmitter$1 = /* @__PURE__ */ getDefaultExportFromCjs(eventemitter3Exports); | |
| var LogLevel; | |
| (function(LogLevel2) { | |
| LogLevel2[LogLevel2["DEBUG"] = 0] = "DEBUG"; | |
| LogLevel2[LogLevel2["INFO"] = 1] = "INFO"; | |
| LogLevel2[LogLevel2["WARN"] = 2] = "WARN"; | |
| LogLevel2[LogLevel2["ERROR"] = 3] = "ERROR"; | |
| LogLevel2[LogLevel2["MUTE"] = 99] = "MUTE"; | |
| })(LogLevel || (LogLevel = {})); | |
| const deepMerge$1 = (obj1, obj2) => { | |
| if (typeof obj1 !== "object" || typeof obj2 !== "object") { | |
| return obj2; | |
| } | |
| const result = Object.assign({}, obj1); | |
| for (const key2 in obj2) { | |
| if (Object.prototype.hasOwnProperty.call(obj2, key2)) { | |
| if (typeof obj2[key2] === "object" && Object.prototype.hasOwnProperty.call(obj1, key2) && typeof obj1[key2] === "object") { | |
| result[key2] = deepMerge$1(obj1[key2], obj2[key2]); | |
| } else { | |
| result[key2] = obj2[key2]; | |
| } | |
| } | |
| } | |
| return result; | |
| }; | |
| class MetaData { | |
| constructor(meta = {}) { | |
| this.meta = {}; | |
| this.meta = meta; | |
| } | |
| /** | |
| * Sets a value in the metadata using dot notation for nested keys. | |
| * @param {string} key - The key in dot notation (e.g., "a.b.c"). | |
| * @param {unknown} value - The value to set. | |
| */ | |
| set(key2, value2) { | |
| const data2 = {}; | |
| key2.split(".").reduce((acc, k2, i2, arr) => { | |
| if (i2 === arr.length - 1) { | |
| acc[k2] = value2; | |
| } else { | |
| if (!acc[k2]) { | |
| acc[k2] = {}; | |
| } | |
| return acc[k2]; | |
| } | |
| }, data2); | |
| this.meta = deepMerge$1(this.meta, data2); | |
| } | |
| /** | |
| * Retrieves the current metadata. | |
| * @returns {TMetaData} The metadata. | |
| */ | |
| get() { | |
| return this.meta; | |
| } | |
| /** | |
| * Clears the metadata. | |
| */ | |
| clear() { | |
| this.meta = {}; | |
| } | |
| /** | |
| * Merges another MetaData instance into another MetaData instance. | |
| * @param {MetaData} meta - The MetaData instance to merge. | |
| * @returns {MetaData} A new MetaData instance with merged metadata. | |
| */ | |
| merge(meta) { | |
| return new MetaData(deepMerge$1(this.get(), meta.get())); | |
| } | |
| } | |
| const processArgs = (message) => { | |
| const objectArgs = message.args.filter((arg) => typeof arg === "object"); | |
| const remainingArgs = message.args.filter((arg) => typeof arg !== "object" || arg instanceof Error).map((arg) => arg.toString()); | |
| return { objectArgs, remainingArgs }; | |
| }; | |
| var define_process_env_default$4 = { TERM_PROGRAM: "vscode", NODE: "/usr/local/bin/node", INIT_CWD: "/Users/thuyetnv/Desktop/PROJECTS/LABS/test2", SHELL: "/bin/zsh", TERM: "xterm-256color", TMPDIR: "/var/folders/8w/8j5448cx5d52v7k_tfzl_3980000gn/T/", npm_config_global_prefix: "/usr/local", TERM_PROGRAM_VERSION: "0.47.5", ZDOTDIR: "/Users/thuyetnv", CURSOR_TRACE_ID: "b5c14b849a964b5b91ce57472307e790", ORIGINAL_XDG_CURRENT_DESKTOP: "undefined", COLOR: "1", TERM_SESSION_ID: "671458CC-13FB-473E-89AF-50AEA36CB6F4", npm_config_noproxy: "", npm_config_local_prefix: "/Users/thuyetnv/Desktop/PROJECTS/LABS/test2", USER: "thuyetnv", npm_config_globalconfig: "/usr/local/etc/npmrc", SSH_AUTH_SOCK: "/private/tmp/com.apple.launchd.T9rghysZV6/Listeners", __CF_USER_TEXT_ENCODING: "0x1F5:0x0:0x0", npm_execpath: "/usr/local/lib/node_modules/npm/bin/npm-cli.js", PATH: "/Users/thuyetnv/Desktop/PROJECTS/LABS/test2/node_modules/.bin:/Users/thuyetnv/Desktop/PROJECTS/LABS/node_modules/.bin:/Users/thuyetnv/Desktop/PROJECTS/node_modules/.bin:/Users/thuyetnv/Desktop/node_modules/.bin:/Users/thuyetnv/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/usr/local/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin", npm_package_json: "/Users/thuyetnv/Desktop/PROJECTS/LABS/test2/package.json", _: "/Users/thuyetnv/Desktop/PROJECTS/LABS/test2/node_modules/.bin/vite", LaunchInstanceID: "6BE8170E-31E0-4445-8B64-E7E81828E439", npm_config_userconfig: "/Users/thuyetnv/.npmrc", npm_config_init_module: "/Users/thuyetnv/.npm-init.js", USER_ZDOTDIR: "/Users/thuyetnv", npm_command: "run-script", PWD: "/Users/thuyetnv/Desktop/PROJECTS/LABS/test2", npm_lifecycle_event: "build", EDITOR: "vi", npm_package_name: "test2", LANG: "en_US.UTF-8", npm_config_npm_version: "10.9.2", VSCODE_GIT_ASKPASS_EXTRA_ARGS: "", XPC_FLAGS: "0x0", npm_config_node_gyp: "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", npm_package_version: "0.0.0", XPC_SERVICE_NAME: "0", VSCODE_INJECTION: "1", SHLVL: "4", HOME: "/Users/thuyetnv", VSCODE_GIT_ASKPASS_MAIN: "/Applications/Cursor.app/Contents/Resources/app/extensions/git/dist/askpass-main.js", npm_config_cache: "/Users/thuyetnv/.npm", LOGNAME: "thuyetnv", npm_lifecycle_script: "vite build", VSCODE_GIT_IPC_HANDLE: "/var/folders/8w/8j5448cx5d52v7k_tfzl_3980000gn/T/vscode-git-91a3000b4e.sock", LC_CTYPE: "UTF-8", npm_config_user_agent: "npm/10.9.2 node/v22.14.0 darwin x64 workspaces/false", VSCODE_GIT_ASKPASS_NODE: "/Applications/Cursor.app/Contents/Frameworks/Cursor Helper (Plugin).app/Contents/MacOS/Cursor Helper (Plugin)", GIT_ASKPASS: "/Applications/Cursor.app/Contents/Resources/app/extensions/git/dist/askpass.sh", SECURITYSESSIONID: "186a6", npm_node_execpath: "/usr/local/bin/node", npm_config_prefix: "/usr/local", COLORTERM: "truecolor", NODE_ENV: "production" }; | |
| const IGNORE_MESSAGES = ["Failed to send logs to server"]; | |
| const messageQueue = []; | |
| let Logger$1 = class Logger2 { | |
| constructor(name, level) { | |
| var _a2; | |
| this.name = name; | |
| this.metaData = new MetaData(); | |
| if (level === void 0 && typeof process !== "undefined" && ((_a2 = define_process_env_default$4) === null || _a2 === void 0 ? void 0 : _a2["NODE_ENV"]) !== "production") { | |
| this.level = LogLevel.DEBUG; | |
| } else if (level === void 0) { | |
| this.level = LogLevel.WARN; | |
| } else { | |
| this.level = level; | |
| } | |
| if (typeof window !== "undefined") { | |
| Logger2.troubleshootModeEnabled = (localStorage === null || localStorage === void 0 ? void 0 : localStorage.getItem("dynamic_enableTroubleshootMode")) === "true"; | |
| window.enableTroubleshootMode = () => { | |
| localStorage === null || localStorage === void 0 ? void 0 : localStorage.setItem("dynamic_enableTroubleshootMode", "true"); | |
| Logger2.troubleshootModeEnabled = true; | |
| }; | |
| window.disableTroubleshootMode = () => { | |
| localStorage === null || localStorage === void 0 ? void 0 : localStorage.removeItem("dynamic_enableTroubleshootMode"); | |
| Logger2.troubleshootModeEnabled = false; | |
| }; | |
| } | |
| } | |
| static setEmitErrors(emit) { | |
| if (emit !== void 0) { | |
| Logger2.globalKeys.emitErrors = emit; | |
| } | |
| } | |
| static setEnvironmentId(environmentId) { | |
| if (environmentId !== void 0) { | |
| Logger2.globalKeys.environmentId = environmentId; | |
| } | |
| } | |
| getNameArray(name) { | |
| return Array.isArray(name) ? name : [name]; | |
| } | |
| createLogger(name, level) { | |
| return new Logger2([...this.getNameArray(this.name), ...this.getNameArray(name)], level !== null && level !== void 0 ? level : this.level); | |
| } | |
| get logLevel() { | |
| return LogLevel[this.level]; | |
| } | |
| setLogLevel(level) { | |
| if (level in LogLevel && typeof level === "string") { | |
| this.level = LogLevel[level]; | |
| } else if (level in LogLevel && typeof level === "number") { | |
| this.level = level; | |
| } else { | |
| throw new Error(`Invalid log level: ${level}`); | |
| } | |
| } | |
| formatMessage(level, message) { | |
| var _a2; | |
| if (message instanceof Error) { | |
| message = message.stack; | |
| } else if ( | |
| // Handle Error-Like Objects | |
| message instanceof Object && Object.prototype.hasOwnProperty.call(message, "stack") | |
| ) { | |
| message = message.stack; | |
| } else if (message instanceof Object) { | |
| message = JSON.stringify(message); | |
| } | |
| const names = (Array.isArray(this.name) ? this.name : [this.name]).map((name) => `[${name}]`); | |
| return `${names.join("")} [${(_a2 = LogLevel[level]) !== null && _a2 !== void 0 ? _a2 : "TROUBLESHOOTING"}]: ${message}`; | |
| } | |
| captureAndSend(level, message, ...args) { | |
| return __awaiter$d(this, void 0, void 0, function* () { | |
| if (Logger2.globalKeys.emitErrors && !IGNORE_MESSAGES.includes(message === null || message === void 0 ? void 0 : message.toString()) && typeof window !== "undefined") { | |
| this.emitHttpLogs(level, message, { args }); | |
| } | |
| }); | |
| } | |
| emitHttpLogs(level, message, { args = [], transformMeta = (meta) => meta }) { | |
| messageQueue.push({ args, level, message, stack: new Error().stack }); | |
| if (messageQueue.length === 1) { | |
| queueMicrotask(() => __awaiter$d(this, void 0, void 0, function* () { | |
| var _a2, _b; | |
| const messages = []; | |
| messageQueue.forEach((msg) => { | |
| var _a22, _b2, _c2, _d2, _e2, _f2; | |
| const body = {}; | |
| const { objectArgs, remainingArgs } = processArgs(msg); | |
| Object.assign(body, ...objectArgs); | |
| Object.assign(body, { | |
| level: LogLevel[msg.level], | |
| message: [msg.message, ...remainingArgs].join(" "), | |
| meta: transformMeta(Logger2.globalMetaData.merge(this.metaData).get()), | |
| stack: msg.stack, | |
| url: { | |
| hostname: (_a22 = window.location) === null || _a22 === void 0 ? void 0 : _a22.hostname, | |
| origin: (_b2 = window.location) === null || _b2 === void 0 ? void 0 : _b2.origin, | |
| pathname: (_c2 = window.location) === null || _c2 === void 0 ? void 0 : _c2.pathname, | |
| port: (_d2 = window.location) === null || _d2 === void 0 ? void 0 : _d2.port, | |
| protocol: (_e2 = window.location) === null || _e2 === void 0 ? void 0 : _e2.protocol | |
| }, | |
| userAgent: (_f2 = window.navigator) === null || _f2 === void 0 ? void 0 : _f2.userAgent | |
| }); | |
| messages.push(body); | |
| }); | |
| try { | |
| if (!((_a2 = Logger2.globalKeys) === null || _a2 === void 0 ? void 0 : _a2.environmentId)) { | |
| throw new Error("Environment ID not set"); | |
| } | |
| yield fetch(`https://logs.dynamicauth.com/api/v1/${(_b = Logger2.globalKeys) === null || _b === void 0 ? void 0 : _b.environmentId}`, { | |
| body: JSON.stringify(messages), | |
| headers: { | |
| "Content-Type": "application/json" | |
| }, | |
| method: "POST", | |
| mode: "cors", | |
| referrerPolicy: "origin-when-cross-origin" | |
| }); | |
| } catch (error) { | |
| this.debug("Failed to send logs to server", error); | |
| } | |
| messageQueue.length = 0; | |
| })); | |
| } | |
| } | |
| /** | |
| * Emits an INFO type message to the backend for analysis and debugging | |
| */ | |
| instrument(message, options) { | |
| return this.emitHttpLogs(LogLevel.INFO, message, { | |
| args: [options], | |
| // Don't send any meta to avoid storing PII | |
| transformMeta: () => void 0 | |
| }); | |
| } | |
| log(level, message, ...args) { | |
| const enableTroubleshootMode = typeof window !== "undefined" && Logger2.troubleshootModeEnabled; | |
| if (!enableTroubleshootMode && (level < this.level || level === LogLevel.MUTE)) { | |
| return; | |
| } | |
| const fmtMsg = this.formatMessage(level, message); | |
| switch (level) { | |
| case LogLevel.WARN: | |
| console.warn(fmtMsg, ...args); | |
| break; | |
| case LogLevel.ERROR: | |
| console.error(fmtMsg, ...args); | |
| break; | |
| default: | |
| console.log(fmtMsg, ...args); | |
| } | |
| if (level === LogLevel.ERROR) { | |
| this.captureAndSend(level, message, ...args); | |
| } | |
| } | |
| logVerboseTroubleshootingMessage(message, ...args) { | |
| this.log(-1, message, ...args); | |
| } | |
| debug(message, ...args) { | |
| this.log(LogLevel.DEBUG, message, ...args); | |
| } | |
| info(message, ...args) { | |
| this.log(LogLevel.INFO, message, ...args); | |
| } | |
| warn(message, ...args) { | |
| this.log(LogLevel.WARN, message, ...args); | |
| } | |
| error(message, ...args) { | |
| Logger2.events.emit("error", message, ...args); | |
| this.log(LogLevel.ERROR, message, ...args); | |
| } | |
| }; | |
| Logger$1.globalKeys = { | |
| emitErrors: true | |
| }; | |
| Logger$1.troubleshootModeEnabled = false; | |
| Logger$1.globalMetaData = new MetaData(); | |
| Logger$1.events = new EventEmitter$1(); | |
| let packageVersions = {}; | |
| const logger$a = new Logger$1("@dynamic-labs/assert-package-version"); | |
| let versionCheckTimeout = null; | |
| const assertPackageVersion = (packageName, version2) => { | |
| packageVersions[packageName] = version2; | |
| if (versionCheckTimeout) { | |
| clearTimeout(versionCheckTimeout); | |
| versionCheckTimeout = null; | |
| } | |
| const timeout = 100; | |
| versionCheckTimeout = setTimeout(() => { | |
| const versions = Object.values(packageVersions); | |
| const [firstVersion] = versions; | |
| const allSameVersion = versions.every((v2) => v2 === firstVersion); | |
| if (!allSameVersion) { | |
| const targetVersion = packageVersions["@dynamic-labs/sdk-react-core"] || firstVersion; | |
| const errorMessage = getErrorMessage(targetVersion); | |
| logger$a.error(new Error(errorMessage)); | |
| } | |
| versionCheckTimeout = null; | |
| }, timeout); | |
| }; | |
| const getErrorMessage = (targetVersion) => { | |
| const affectedPackages = Object.entries(packageVersions).filter(([, v2]) => v2 !== targetVersion).map(([pkgName, installedVersion]) => `- \`${pkgName}\` (installed: **${installedVersion}**, required: **${targetVersion}**)`).join("\n"); | |
| const errorMessage = ` | |
| 🚨 Version Mismatch Error | |
| One or more \`@dynamic-labs\` packages are installed with mismatched versions. All \`@dynamic-labs\` packages must be on the same version to work correctly. | |
| Affected Packages: | |
| ${affectedPackages} | |
| 💡 To fix this issue, update all @dynamic-labs/* packages to version \`${targetVersion}\` in your package.json | |
| 💡 Tip: You can use the \`npx dynamic-doctor run\` command to check for other issues with your project setup. | |
| `; | |
| return errorMessage.trim(); | |
| }; | |
| var version$k = "4.9.3"; | |
| var dependencies = { | |
| "@dynamic-labs/sdk-api-core": "0.0.642" | |
| }; | |
| const isSSR = () => typeof window === "undefined"; | |
| (() => { | |
| if (!isSSR()) { | |
| new URL(window.location.href); | |
| } | |
| })(); | |
| const VERSION$2 = version$k; | |
| const API_VERSION = dependencies["@dynamic-labs/sdk-api-core"]; | |
| var version$j = "4.9.3"; | |
| var version$i = "4.9.3"; | |
| const walletConnectorEvents = new EventEmitter$1(); | |
| const logger$9 = new Logger$1("WalletConnector"); | |
| const ProviderLookup = (installedProviders, extensionLocators) => { | |
| if (extensionLocators.length === 0) { | |
| return void 0; | |
| } | |
| return installedProviders.find((provider) => { | |
| const extensionLocatorMatch = extensionLocators.every((condition) => { | |
| const flagValue = (provider === null || provider === void 0 ? void 0 : provider[condition.flag]) || false; | |
| return flagValue === condition.value; | |
| }); | |
| return extensionLocatorMatch === true; | |
| }); | |
| }; | |
| const chainsInfo = [ | |
| { | |
| blockchainName: "Algorand", | |
| displayName: "Algorand", | |
| name: "algorand", | |
| symbol: "ALGO" | |
| }, | |
| { | |
| blockchainName: "Bitcoin", | |
| displayName: "Bitcoin", | |
| name: "bitcoin", | |
| symbol: "BTC" | |
| }, | |
| { | |
| blockchainName: "Ethereum", | |
| displayName: "EVM", | |
| name: "evm", | |
| symbol: "ETH" | |
| }, | |
| { | |
| blockchainName: "Flow", | |
| displayName: "Flow", | |
| name: "flow", | |
| symbol: "FLOW" | |
| }, | |
| { | |
| blockchainName: "Solana", | |
| displayName: "Solana", | |
| name: "solana", | |
| symbol: "SOL" | |
| }, | |
| { | |
| blockchainName: "Starknet", | |
| displayName: "Starknet", | |
| name: "starknet", | |
| symbol: "ETH" | |
| }, | |
| { | |
| blockchainName: "Cosmos", | |
| displayName: "Cosmos", | |
| name: "cosmos", | |
| symbol: "COSMOS" | |
| }, | |
| { | |
| blockchainName: "Eclipse", | |
| displayName: "Eclipse", | |
| name: "eclipse", | |
| symbol: "ECLIPSE" | |
| } | |
| ]; | |
| const chainOverrides = { | |
| algo: "algorand", | |
| bip122: "bitcoin", | |
| btc: "bitcoin", | |
| eip155: "evm", | |
| eth: "evm", | |
| sol: "solana", | |
| stark: "starknet" | |
| }; | |
| let chainInfoOverrides$1; | |
| const setChainInfoOverrides = (overrides) => { | |
| chainInfoOverrides$1 = overrides; | |
| }; | |
| const getChainInfo = (chain) => { | |
| var _a2; | |
| const lowerCasedChain = chain.toLowerCase(); | |
| const normalizedChain = (_a2 = chainOverrides[lowerCasedChain]) !== null && _a2 !== void 0 ? _a2 : lowerCasedChain; | |
| const chainInfo = chainsInfo.find((info) => info.name === normalizedChain || info.symbol.toLocaleLowerCase() === normalizedChain); | |
| if (!chainInfo) { | |
| return; | |
| } | |
| return chainInfo; | |
| }; | |
| const getChainInfoWithOverrides = (chain) => { | |
| var _a2, _b; | |
| const chainInfo = getChainInfo(chain); | |
| if (!chainInfo) { | |
| return; | |
| } | |
| const overrides = chainInfoOverrides$1 === null || chainInfoOverrides$1 === void 0 ? void 0 : chainInfoOverrides$1[chainInfo.name]; | |
| const chainInfoClone = Object.assign({}, chainInfo); | |
| if (overrides) { | |
| chainInfoClone.blockchainName = (_a2 = overrides.displayName) !== null && _a2 !== void 0 ? _a2 : chainInfo.blockchainName; | |
| chainInfoClone.displayName = (_b = overrides.displayName) !== null && _b !== void 0 ? _b : chainInfo.displayName; | |
| } | |
| return chainInfoClone; | |
| }; | |
| const isEmailOTPWalletConnector = (walletConnector) => Boolean(walletConnector.verifyOneTimePassword); | |
| const isEmailWalletConnector = (walletConnector) => Boolean(walletConnector.clearEmail); | |
| const isTurnkeyWalletConnector = (walletConnector) => { | |
| const turnkeyWalletConnector = walletConnector; | |
| return Boolean(turnkeyWalletConnector && turnkeyWalletConnector.key === "turnkeyhd" && typeof turnkeyWalletConnector.getWebAuthnAttestation === "function" && typeof turnkeyWalletConnector.getAuthenticatorHandler === "function" && typeof turnkeyWalletConnector.getExportHandler === "function" && typeof turnkeyWalletConnector.isSessionKeyCompatible === "function" && typeof turnkeyWalletConnector.createOrRestoreSession === "function"); | |
| }; | |
| const shouldLowercaseAddress = (chain) => ( | |
| // these are standard from CAIP-2: https://github.com/ChainAgnostic/CAIPs/blob/master/CAIPs/caip-2.md | |
| // see also: https://github.com/ChainAgnostic/namespaces | |
| // note: no standard namespace currently exists for flow | |
| ["eip155", "flow", "evm", "eth", "avax", "matic"].includes(chain.toLowerCase()) | |
| ); | |
| const normalizeAddress = (rawAddress, chain) => { | |
| let address = rawAddress; | |
| if (address === null || address === void 0 ? void 0 : address.startsWith("0x")) { | |
| address = address.slice(2); | |
| } | |
| address = shouldLowercaseAddress(chain) ? address === null || address === void 0 ? void 0 : address.toLowerCase() : address; | |
| return address; | |
| }; | |
| const isSameAddress = (left, right, chain) => normalizeAddress(left, chain) === normalizeAddress(right, chain); | |
| const isSocialWalletConnector = (walletConnector) => Boolean(walletConnector.canConnectViaSocial); | |
| const filterWalletsByKey = (wallets2, keys2) => keys2.flatMap((key2) => wallets2.find((w2) => walletHasKey(w2, key2))).filter(isWalletConnector); | |
| const walletHasKey = (wallet, key2) => wallet.key === key2; | |
| const isWalletConnector = (item) => Boolean(item); | |
| const getWalletConnectorByKey = (wallets2, key2) => filterWalletsByKey(wallets2, [key2]).length > 0 ? filterWalletsByKey(wallets2, [key2])[0] : null; | |
| var version$h = "4.9.3"; | |
| var buffer$1 = {}; | |
| var base64Js = {}; | |
| var hasRequiredBase64Js; | |
| function requireBase64Js() { | |
| if (hasRequiredBase64Js) return base64Js; | |
| hasRequiredBase64Js = 1; | |
| base64Js.byteLength = byteLength2; | |
| base64Js.toByteArray = toByteArray; | |
| base64Js.fromByteArray = fromByteArray; | |
| var lookup2 = []; | |
| var revLookup = []; | |
| var Arr = typeof Uint8Array !== "undefined" ? Uint8Array : Array; | |
| var code = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; | |
| for (var i2 = 0, len = code.length; i2 < len; ++i2) { | |
| lookup2[i2] = code[i2]; | |
| revLookup[code.charCodeAt(i2)] = i2; | |
| } | |
| revLookup["-".charCodeAt(0)] = 62; | |
| revLookup["_".charCodeAt(0)] = 63; | |
| function getLens(b64) { | |
| var len2 = b64.length; | |
| if (len2 % 4 > 0) { | |
| throw new Error("Invalid string. Length must be a multiple of 4"); | |
| } | |
| var validLen = b64.indexOf("="); | |
| if (validLen === -1) validLen = len2; | |
| var placeHoldersLen = validLen === len2 ? 0 : 4 - validLen % 4; | |
| return [validLen, placeHoldersLen]; | |
| } | |
| function byteLength2(b64) { | |
| var lens = getLens(b64); | |
| var validLen = lens[0]; | |
| var placeHoldersLen = lens[1]; | |
| return (validLen + placeHoldersLen) * 3 / 4 - placeHoldersLen; | |
| } | |
| function _byteLength(b64, validLen, placeHoldersLen) { | |
| return (validLen + placeHoldersLen) * 3 / 4 - placeHoldersLen; | |
| } | |
| function toByteArray(b64) { | |
| var tmp; | |
| var lens = getLens(b64); | |
| var validLen = lens[0]; | |
| var placeHoldersLen = lens[1]; | |
| var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen)); | |
| var curByte = 0; | |
| var len2 = placeHoldersLen > 0 ? validLen - 4 : validLen; | |
| var i3; | |
| for (i3 = 0; i3 < len2; i3 += 4) { | |
| tmp = revLookup[b64.charCodeAt(i3)] << 18 | revLookup[b64.charCodeAt(i3 + 1)] << 12 | revLookup[b64.charCodeAt(i3 + 2)] << 6 | revLookup[b64.charCodeAt(i3 + 3)]; | |
| arr[curByte++] = tmp >> 16 & 255; | |
| arr[curByte++] = tmp >> 8 & 255; | |
| arr[curByte++] = tmp & 255; | |
| } | |
| if (placeHoldersLen === 2) { | |
| tmp = revLookup[b64.charCodeAt(i3)] << 2 | revLookup[b64.charCodeAt(i3 + 1)] >> 4; | |
| arr[curByte++] = tmp & 255; | |
| } | |
| if (placeHoldersLen === 1) { | |
| tmp = revLookup[b64.charCodeAt(i3)] << 10 | revLookup[b64.charCodeAt(i3 + 1)] << 4 | revLookup[b64.charCodeAt(i3 + 2)] >> 2; | |
| arr[curByte++] = tmp >> 8 & 255; | |
| arr[curByte++] = tmp & 255; | |
| } | |
| return arr; | |
| } | |
| function tripletToBase64(num) { | |
| return lookup2[num >> 18 & 63] + lookup2[num >> 12 & 63] + lookup2[num >> 6 & 63] + lookup2[num & 63]; | |
| } | |
| function encodeChunk(uint8, start, end) { | |
| var tmp; | |
| var output = []; | |
| for (var i3 = start; i3 < end; i3 += 3) { | |
| tmp = (uint8[i3] << 16 & 16711680) + (uint8[i3 + 1] << 8 & 65280) + (uint8[i3 + 2] & 255); | |
| output.push(tripletToBase64(tmp)); | |
| } | |
| return output.join(""); | |
| } | |
| function fromByteArray(uint8) { | |
| var tmp; | |
| var len2 = uint8.length; | |
| var extraBytes = len2 % 3; | |
| var parts2 = []; | |
| var maxChunkLength = 16383; | |
| for (var i3 = 0, len22 = len2 - extraBytes; i3 < len22; i3 += maxChunkLength) { | |
| parts2.push(encodeChunk(uint8, i3, i3 + maxChunkLength > len22 ? len22 : i3 + maxChunkLength)); | |
| } | |
| if (extraBytes === 1) { | |
| tmp = uint8[len2 - 1]; | |
| parts2.push( | |
| lookup2[tmp >> 2] + lookup2[tmp << 4 & 63] + "==" | |
| ); | |
| } else if (extraBytes === 2) { | |
| tmp = (uint8[len2 - 2] << 8) + uint8[len2 - 1]; | |
| parts2.push( | |
| lookup2[tmp >> 10] + lookup2[tmp >> 4 & 63] + lookup2[tmp << 2 & 63] + "=" | |
| ); | |
| } | |
| return parts2.join(""); | |
| } | |
| return base64Js; | |
| } | |
| var ieee754 = {}; | |
| /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ | |
| var hasRequiredIeee754; | |
| function requireIeee754() { | |
| if (hasRequiredIeee754) return ieee754; | |
| hasRequiredIeee754 = 1; | |
| ieee754.read = function(buffer2, offset, isLE2, mLen, nBytes) { | |
| var e2, m2; | |
| var eLen = nBytes * 8 - mLen - 1; | |
| var eMax = (1 << eLen) - 1; | |
| var eBias = eMax >> 1; | |
| var nBits = -7; | |
| var i2 = isLE2 ? nBytes - 1 : 0; | |
| var d2 = isLE2 ? -1 : 1; | |
| var s2 = buffer2[offset + i2]; | |
| i2 += d2; | |
| e2 = s2 & (1 << -nBits) - 1; | |
| s2 >>= -nBits; | |
| nBits += eLen; | |
| for (; nBits > 0; e2 = e2 * 256 + buffer2[offset + i2], i2 += d2, nBits -= 8) { | |
| } | |
| m2 = e2 & (1 << -nBits) - 1; | |
| e2 >>= -nBits; | |
| nBits += mLen; | |
| for (; nBits > 0; m2 = m2 * 256 + buffer2[offset + i2], i2 += d2, nBits -= 8) { | |
| } | |
| if (e2 === 0) { | |
| e2 = 1 - eBias; | |
| } else if (e2 === eMax) { | |
| return m2 ? NaN : (s2 ? -1 : 1) * Infinity; | |
| } else { | |
| m2 = m2 + Math.pow(2, mLen); | |
| e2 = e2 - eBias; | |
| } | |
| return (s2 ? -1 : 1) * m2 * Math.pow(2, e2 - mLen); | |
| }; | |
| ieee754.write = function(buffer2, value2, offset, isLE2, mLen, nBytes) { | |
| var e2, m2, c2; | |
| var eLen = nBytes * 8 - mLen - 1; | |
| var eMax = (1 << eLen) - 1; | |
| var eBias = eMax >> 1; | |
| var rt2 = mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0; | |
| var i2 = isLE2 ? 0 : nBytes - 1; | |
| var d2 = isLE2 ? 1 : -1; | |
| var s2 = value2 < 0 || value2 === 0 && 1 / value2 < 0 ? 1 : 0; | |
| value2 = Math.abs(value2); | |
| if (isNaN(value2) || value2 === Infinity) { | |
| m2 = isNaN(value2) ? 1 : 0; | |
| e2 = eMax; | |
| } else { | |
| e2 = Math.floor(Math.log(value2) / Math.LN2); | |
| if (value2 * (c2 = Math.pow(2, -e2)) < 1) { | |
| e2--; | |
| c2 *= 2; | |
| } | |
| if (e2 + eBias >= 1) { | |
| value2 += rt2 / c2; | |
| } else { | |
| value2 += rt2 * Math.pow(2, 1 - eBias); | |
| } | |
| if (value2 * c2 >= 2) { | |
| e2++; | |
| c2 /= 2; | |
| } | |
| if (e2 + eBias >= eMax) { | |
| m2 = 0; | |
| e2 = eMax; | |
| } else if (e2 + eBias >= 1) { | |
| m2 = (value2 * c2 - 1) * Math.pow(2, mLen); | |
| e2 = e2 + eBias; | |
| } else { | |
| m2 = value2 * Math.pow(2, eBias - 1) * Math.pow(2, mLen); | |
| e2 = 0; | |
| } | |
| } | |
| for (; mLen >= 8; buffer2[offset + i2] = m2 & 255, i2 += d2, m2 /= 256, mLen -= 8) { | |
| } | |
| e2 = e2 << mLen | m2; | |
| eLen += mLen; | |
| for (; eLen > 0; buffer2[offset + i2] = e2 & 255, i2 += d2, e2 /= 256, eLen -= 8) { | |
| } | |
| buffer2[offset + i2 - d2] |= s2 * 128; | |
| }; | |
| return ieee754; | |
| } | |
| /*! | |
| * The buffer module from node.js, for the browser. | |
| * | |
| * @author Feross Aboukhadijeh <https://feross.org> | |
| * @license MIT | |
| */ | |
| var hasRequiredBuffer; | |
| function requireBuffer() { | |
| if (hasRequiredBuffer) return buffer$1; | |
| hasRequiredBuffer = 1; | |
| (function(exports2) { | |
| const base642 = requireBase64Js(); | |
| const ieee7542 = requireIeee754(); | |
| const customInspectSymbol = typeof Symbol === "function" && typeof Symbol["for"] === "function" ? Symbol["for"]("nodejs.util.inspect.custom") : null; | |
| exports2.Buffer = Buffer2; | |
| exports2.SlowBuffer = SlowBuffer; | |
| exports2.INSPECT_MAX_BYTES = 50; | |
| const K_MAX_LENGTH = 2147483647; | |
| exports2.kMaxLength = K_MAX_LENGTH; | |
| Buffer2.TYPED_ARRAY_SUPPORT = typedArraySupport(); | |
| if (!Buffer2.TYPED_ARRAY_SUPPORT && typeof console !== "undefined" && typeof console.error === "function") { | |
| console.error( | |
| "This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support." | |
| ); | |
| } | |
| function typedArraySupport() { | |
| try { | |
| const arr = new Uint8Array(1); | |
| const proto = { foo: function() { | |
| return 42; | |
| } }; | |
| Object.setPrototypeOf(proto, Uint8Array.prototype); | |
| Object.setPrototypeOf(arr, proto); | |
| return arr.foo() === 42; | |
| } catch (e2) { | |
| return false; | |
| } | |
| } | |
| Object.defineProperty(Buffer2.prototype, "parent", { | |
| enumerable: true, | |
| get: function() { | |
| if (!Buffer2.isBuffer(this)) return void 0; | |
| return this.buffer; | |
| } | |
| }); | |
| Object.defineProperty(Buffer2.prototype, "offset", { | |
| enumerable: true, | |
| get: function() { | |
| if (!Buffer2.isBuffer(this)) return void 0; | |
| return this.byteOffset; | |
| } | |
| }); | |
| function createBuffer(length) { | |
| if (length > K_MAX_LENGTH) { | |
| throw new RangeError('The value "' + length + '" is invalid for option "size"'); | |
| } | |
| const buf = new Uint8Array(length); | |
| Object.setPrototypeOf(buf, Buffer2.prototype); | |
| return buf; | |
| } | |
| function Buffer2(arg, encodingOrOffset, length) { | |
| if (typeof arg === "number") { | |
| if (typeof encodingOrOffset === "string") { | |
| throw new TypeError( | |
| 'The "string" argument must be of type string. Received type number' | |
| ); | |
| } | |
| return allocUnsafe2(arg); | |
| } | |
| return from2(arg, encodingOrOffset, length); | |
| } | |
| Buffer2.poolSize = 8192; | |
| function from2(value2, encodingOrOffset, length) { | |
| if (typeof value2 === "string") { | |
| return fromString2(value2, encodingOrOffset); | |
| } | |
| if (ArrayBuffer.isView(value2)) { | |
| return fromArrayView(value2); | |
| } | |
| if (value2 == null) { | |
| throw new TypeError( | |
| "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof value2 | |
| ); | |
| } | |
| if (isInstance(value2, ArrayBuffer) || value2 && isInstance(value2.buffer, ArrayBuffer)) { | |
| return fromArrayBuffer(value2, encodingOrOffset, length); | |
| } | |
| if (typeof SharedArrayBuffer !== "undefined" && (isInstance(value2, SharedArrayBuffer) || value2 && isInstance(value2.buffer, SharedArrayBuffer))) { | |
| return fromArrayBuffer(value2, encodingOrOffset, length); | |
| } | |
| if (typeof value2 === "number") { | |
| throw new TypeError( | |
| 'The "value" argument must not be of type number. Received type number' | |
| ); | |
| } | |
| const valueOf = value2.valueOf && value2.valueOf(); | |
| if (valueOf != null && valueOf !== value2) { | |
| return Buffer2.from(valueOf, encodingOrOffset, length); | |
| } | |
| const b2 = fromObject(value2); | |
| if (b2) return b2; | |
| if (typeof Symbol !== "undefined" && Symbol.toPrimitive != null && typeof value2[Symbol.toPrimitive] === "function") { | |
| return Buffer2.from(value2[Symbol.toPrimitive]("string"), encodingOrOffset, length); | |
| } | |
| throw new TypeError( | |
| "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof value2 | |
| ); | |
| } | |
| Buffer2.from = function(value2, encodingOrOffset, length) { | |
| return from2(value2, encodingOrOffset, length); | |
| }; | |
| Object.setPrototypeOf(Buffer2.prototype, Uint8Array.prototype); | |
| Object.setPrototypeOf(Buffer2, Uint8Array); | |
| function assertSize2(size2) { | |
| if (typeof size2 !== "number") { | |
| throw new TypeError('"size" argument must be of type number'); | |
| } else if (size2 < 0) { | |
| throw new RangeError('The value "' + size2 + '" is invalid for option "size"'); | |
| } | |
| } | |
| function alloc(size2, fill, encoding) { | |
| assertSize2(size2); | |
| if (size2 <= 0) { | |
| return createBuffer(size2); | |
| } | |
| if (fill !== void 0) { | |
| return typeof encoding === "string" ? createBuffer(size2).fill(fill, encoding) : createBuffer(size2).fill(fill); | |
| } | |
| return createBuffer(size2); | |
| } | |
| Buffer2.alloc = function(size2, fill, encoding) { | |
| return alloc(size2, fill, encoding); | |
| }; | |
| function allocUnsafe2(size2) { | |
| assertSize2(size2); | |
| return createBuffer(size2 < 0 ? 0 : checked(size2) | 0); | |
| } | |
| Buffer2.allocUnsafe = function(size2) { | |
| return allocUnsafe2(size2); | |
| }; | |
| Buffer2.allocUnsafeSlow = function(size2) { | |
| return allocUnsafe2(size2); | |
| }; | |
| function fromString2(string2, encoding) { | |
| if (typeof encoding !== "string" || encoding === "") { | |
| encoding = "utf8"; | |
| } | |
| if (!Buffer2.isEncoding(encoding)) { | |
| throw new TypeError("Unknown encoding: " + encoding); | |
| } | |
| const length = byteLength2(string2, encoding) | 0; | |
| let buf = createBuffer(length); | |
| const actual = buf.write(string2, encoding); | |
| if (actual !== length) { | |
| buf = buf.slice(0, actual); | |
| } | |
| return buf; | |
| } | |
| function fromArrayLike(array2) { | |
| const length = array2.length < 0 ? 0 : checked(array2.length) | 0; | |
| const buf = createBuffer(length); | |
| for (let i2 = 0; i2 < length; i2 += 1) { | |
| buf[i2] = array2[i2] & 255; | |
| } | |
| return buf; | |
| } | |
| function fromArrayView(arrayView) { | |
| if (isInstance(arrayView, Uint8Array)) { | |
| const copy2 = new Uint8Array(arrayView); | |
| return fromArrayBuffer(copy2.buffer, copy2.byteOffset, copy2.byteLength); | |
| } | |
| return fromArrayLike(arrayView); | |
| } | |
| function fromArrayBuffer(array2, byteOffset, length) { | |
| if (byteOffset < 0 || array2.byteLength < byteOffset) { | |
| throw new RangeError('"offset" is outside of buffer bounds'); | |
| } | |
| if (array2.byteLength < byteOffset + (length || 0)) { | |
| throw new RangeError('"length" is outside of buffer bounds'); | |
| } | |
| let buf; | |
| if (byteOffset === void 0 && length === void 0) { | |
| buf = new Uint8Array(array2); | |
| } else if (length === void 0) { | |
| buf = new Uint8Array(array2, byteOffset); | |
| } else { | |
| buf = new Uint8Array(array2, byteOffset, length); | |
| } | |
| Object.setPrototypeOf(buf, Buffer2.prototype); | |
| return buf; | |
| } | |
| function fromObject(obj) { | |
| if (Buffer2.isBuffer(obj)) { | |
| const len = checked(obj.length) | 0; | |
| const buf = createBuffer(len); | |
| if (buf.length === 0) { | |
| return buf; | |
| } | |
| obj.copy(buf, 0, 0, len); | |
| return buf; | |
| } | |
| if (obj.length !== void 0) { | |
| if (typeof obj.length !== "number" || numberIsNaN(obj.length)) { | |
| return createBuffer(0); | |
| } | |
| return fromArrayLike(obj); | |
| } | |
| if (obj.type === "Buffer" && Array.isArray(obj.data)) { | |
| return fromArrayLike(obj.data); | |
| } | |
| } | |
| function checked(length) { | |
| if (length >= K_MAX_LENGTH) { | |
| throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + K_MAX_LENGTH.toString(16) + " bytes"); | |
| } | |
| return length | 0; | |
| } | |
| function SlowBuffer(length) { | |
| if (+length != length) { | |
| length = 0; | |
| } | |
| return Buffer2.alloc(+length); | |
| } | |
| Buffer2.isBuffer = function isBuffer2(b2) { | |
| return b2 != null && b2._isBuffer === true && b2 !== Buffer2.prototype; | |
| }; | |
| Buffer2.compare = function compare(a2, b2) { | |
| if (isInstance(a2, Uint8Array)) a2 = Buffer2.from(a2, a2.offset, a2.byteLength); | |
| if (isInstance(b2, Uint8Array)) b2 = Buffer2.from(b2, b2.offset, b2.byteLength); | |
| if (!Buffer2.isBuffer(a2) || !Buffer2.isBuffer(b2)) { | |
| throw new TypeError( | |
| 'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array' | |
| ); | |
| } | |
| if (a2 === b2) return 0; | |
| let x2 = a2.length; | |
| let y2 = b2.length; | |
| for (let i2 = 0, len = Math.min(x2, y2); i2 < len; ++i2) { | |
| if (a2[i2] !== b2[i2]) { | |
| x2 = a2[i2]; | |
| y2 = b2[i2]; | |
| break; | |
| } | |
| } | |
| if (x2 < y2) return -1; | |
| if (y2 < x2) return 1; | |
| return 0; | |
| }; | |
| Buffer2.isEncoding = function isEncoding(encoding) { | |
| switch (String(encoding).toLowerCase()) { | |
| case "hex": | |
| case "utf8": | |
| case "utf-8": | |
| case "ascii": | |
| case "latin1": | |
| case "binary": | |
| case "base64": | |
| case "ucs2": | |
| case "ucs-2": | |
| case "utf16le": | |
| case "utf-16le": | |
| return true; | |
| default: | |
| return false; | |
| } | |
| }; | |
| Buffer2.concat = function concat2(list, length) { | |
| if (!Array.isArray(list)) { | |
| throw new TypeError('"list" argument must be an Array of Buffers'); | |
| } | |
| if (list.length === 0) { | |
| return Buffer2.alloc(0); | |
| } | |
| let i2; | |
| if (length === void 0) { | |
| length = 0; | |
| for (i2 = 0; i2 < list.length; ++i2) { | |
| length += list[i2].length; | |
| } | |
| } | |
| const buffer2 = Buffer2.allocUnsafe(length); | |
| let pos = 0; | |
| for (i2 = 0; i2 < list.length; ++i2) { | |
| let buf = list[i2]; | |
| if (isInstance(buf, Uint8Array)) { | |
| if (pos + buf.length > buffer2.length) { | |
| if (!Buffer2.isBuffer(buf)) buf = Buffer2.from(buf); | |
| buf.copy(buffer2, pos); | |
| } else { | |
| Uint8Array.prototype.set.call( | |
| buffer2, | |
| buf, | |
| pos | |
| ); | |
| } | |
| } else if (!Buffer2.isBuffer(buf)) { | |
| throw new TypeError('"list" argument must be an Array of Buffers'); | |
| } else { | |
| buf.copy(buffer2, pos); | |
| } | |
| pos += buf.length; | |
| } | |
| return buffer2; | |
| }; | |
| function byteLength2(string2, encoding) { | |
| if (Buffer2.isBuffer(string2)) { | |
| return string2.length; | |
| } | |
| if (ArrayBuffer.isView(string2) || isInstance(string2, ArrayBuffer)) { | |
| return string2.byteLength; | |
| } | |
| if (typeof string2 !== "string") { | |
| throw new TypeError( | |
| 'The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof string2 | |
| ); | |
| } | |
| const len = string2.length; | |
| const mustMatch = arguments.length > 2 && arguments[2] === true; | |
| if (!mustMatch && len === 0) return 0; | |
| let loweredCase = false; | |
| for (; ; ) { | |
| switch (encoding) { | |
| case "ascii": | |
| case "latin1": | |
| case "binary": | |
| return len; | |
| case "utf8": | |
| case "utf-8": | |
| return utf8ToBytes2(string2).length; | |
| case "ucs2": | |
| case "ucs-2": | |
| case "utf16le": | |
| case "utf-16le": | |
| return len * 2; | |
| case "hex": | |
| return len >>> 1; | |
| case "base64": | |
| return base64ToBytes(string2).length; | |
| default: | |
| if (loweredCase) { | |
| return mustMatch ? -1 : utf8ToBytes2(string2).length; | |
| } | |
| encoding = ("" + encoding).toLowerCase(); | |
| loweredCase = true; | |
| } | |
| } | |
| } | |
| Buffer2.byteLength = byteLength2; | |
| function slowToString(encoding, start, end) { | |
| let loweredCase = false; | |
| if (start === void 0 || start < 0) { | |
| start = 0; | |
| } | |
| if (start > this.length) { | |
| return ""; | |
| } | |
| if (end === void 0 || end > this.length) { | |
| end = this.length; | |
| } | |
| if (end <= 0) { | |
| return ""; | |
| } | |
| end >>>= 0; | |
| start >>>= 0; | |
| if (end <= start) { | |
| return ""; | |
| } | |
| if (!encoding) encoding = "utf8"; | |
| while (true) { | |
| switch (encoding) { | |
| case "hex": | |
| return hexSlice(this, start, end); | |
| case "utf8": | |
| case "utf-8": | |
| return utf8Slice(this, start, end); | |
| case "ascii": | |
| return asciiSlice(this, start, end); | |
| case "latin1": | |
| case "binary": | |
| return latin1Slice(this, start, end); | |
| case "base64": | |
| return base64Slice(this, start, end); | |
| case "ucs2": | |
| case "ucs-2": | |
| case "utf16le": | |
| case "utf-16le": | |
| return utf16leSlice(this, start, end); | |
| default: | |
| if (loweredCase) throw new TypeError("Unknown encoding: " + encoding); | |
| encoding = (encoding + "").toLowerCase(); | |
| loweredCase = true; | |
| } | |
| } | |
| } | |
| Buffer2.prototype._isBuffer = true; | |
| function swap(b2, n2, m2) { | |
| const i2 = b2[n2]; | |
| b2[n2] = b2[m2]; | |
| b2[m2] = i2; | |
| } | |
| Buffer2.prototype.swap16 = function swap16() { | |
| const len = this.length; | |
| if (len % 2 !== 0) { | |
| throw new RangeError("Buffer size must be a multiple of 16-bits"); | |
| } | |
| for (let i2 = 0; i2 < len; i2 += 2) { | |
| swap(this, i2, i2 + 1); | |
| } | |
| return this; | |
| }; | |
| Buffer2.prototype.swap32 = function swap322() { | |
| const len = this.length; | |
| if (len % 4 !== 0) { | |
| throw new RangeError("Buffer size must be a multiple of 32-bits"); | |
| } | |
| for (let i2 = 0; i2 < len; i2 += 4) { | |
| swap(this, i2, i2 + 3); | |
| swap(this, i2 + 1, i2 + 2); | |
| } | |
| return this; | |
| }; | |
| Buffer2.prototype.swap64 = function swap64() { | |
| const len = this.length; | |
| if (len % 8 !== 0) { | |
| throw new RangeError("Buffer size must be a multiple of 64-bits"); | |
| } | |
| for (let i2 = 0; i2 < len; i2 += 8) { | |
| swap(this, i2, i2 + 7); | |
| swap(this, i2 + 1, i2 + 6); | |
| swap(this, i2 + 2, i2 + 5); | |
| swap(this, i2 + 3, i2 + 4); | |
| } | |
| return this; | |
| }; | |
| Buffer2.prototype.toString = function toString2() { | |
| const length = this.length; | |
| if (length === 0) return ""; | |
| if (arguments.length === 0) return utf8Slice(this, 0, length); | |
| return slowToString.apply(this, arguments); | |
| }; | |
| Buffer2.prototype.toLocaleString = Buffer2.prototype.toString; | |
| Buffer2.prototype.equals = function equals(b2) { | |
| if (!Buffer2.isBuffer(b2)) throw new TypeError("Argument must be a Buffer"); | |
| if (this === b2) return true; | |
| return Buffer2.compare(this, b2) === 0; | |
| }; | |
| Buffer2.prototype.inspect = function inspect() { | |
| let str = ""; | |
| const max = exports2.INSPECT_MAX_BYTES; | |
| str = this.toString("hex", 0, max).replace(/(.{2})/g, "$1 ").trim(); | |
| if (this.length > max) str += " ... "; | |
| return "<Buffer " + str + ">"; | |
| }; | |
| if (customInspectSymbol) { | |
| Buffer2.prototype[customInspectSymbol] = Buffer2.prototype.inspect; | |
| } | |
| Buffer2.prototype.compare = function compare(target, start, end, thisStart, thisEnd) { | |
| if (isInstance(target, Uint8Array)) { | |
| target = Buffer2.from(target, target.offset, target.byteLength); | |
| } | |
| if (!Buffer2.isBuffer(target)) { | |
| throw new TypeError( | |
| 'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof target | |
| ); | |
| } | |
| if (start === void 0) { | |
| start = 0; | |
| } | |
| if (end === void 0) { | |
| end = target ? target.length : 0; | |
| } | |
| if (thisStart === void 0) { | |
| thisStart = 0; | |
| } | |
| if (thisEnd === void 0) { | |
| thisEnd = this.length; | |
| } | |
| if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) { | |
| throw new RangeError("out of range index"); | |
| } | |
| if (thisStart >= thisEnd && start >= end) { | |
| return 0; | |
| } | |
| if (thisStart >= thisEnd) { | |
| return -1; | |
| } | |
| if (start >= end) { | |
| return 1; | |
| } | |
| start >>>= 0; | |
| end >>>= 0; | |
| thisStart >>>= 0; | |
| thisEnd >>>= 0; | |
| if (this === target) return 0; | |
| let x2 = thisEnd - thisStart; | |
| let y2 = end - start; | |
| const len = Math.min(x2, y2); | |
| const thisCopy = this.slice(thisStart, thisEnd); | |
| const targetCopy = target.slice(start, end); | |
| for (let i2 = 0; i2 < len; ++i2) { | |
| if (thisCopy[i2] !== targetCopy[i2]) { | |
| x2 = thisCopy[i2]; | |
| y2 = targetCopy[i2]; | |
| break; | |
| } | |
| } | |
| if (x2 < y2) return -1; | |
| if (y2 < x2) return 1; | |
| return 0; | |
| }; | |
| function bidirectionalIndexOf(buffer2, val, byteOffset, encoding, dir) { | |
| if (buffer2.length === 0) return -1; | |
| if (typeof byteOffset === "string") { | |
| encoding = byteOffset; | |
| byteOffset = 0; | |
| } else if (byteOffset > 2147483647) { | |
| byteOffset = 2147483647; | |
| } else if (byteOffset < -2147483648) { | |
| byteOffset = -2147483648; | |
| } | |
| byteOffset = +byteOffset; | |
| if (numberIsNaN(byteOffset)) { | |
| byteOffset = dir ? 0 : buffer2.length - 1; | |
| } | |
| if (byteOffset < 0) byteOffset = buffer2.length + byteOffset; | |
| if (byteOffset >= buffer2.length) { | |
| if (dir) return -1; | |
| else byteOffset = buffer2.length - 1; | |
| } else if (byteOffset < 0) { | |
| if (dir) byteOffset = 0; | |
| else return -1; | |
| } | |
| if (typeof val === "string") { | |
| val = Buffer2.from(val, encoding); | |
| } | |
| if (Buffer2.isBuffer(val)) { | |
| if (val.length === 0) { | |
| return -1; | |
| } | |
| return arrayIndexOf(buffer2, val, byteOffset, encoding, dir); | |
| } else if (typeof val === "number") { | |
| val = val & 255; | |
| if (typeof Uint8Array.prototype.indexOf === "function") { | |
| if (dir) { | |
| return Uint8Array.prototype.indexOf.call(buffer2, val, byteOffset); | |
| } else { | |
| return Uint8Array.prototype.lastIndexOf.call(buffer2, val, byteOffset); | |
| } | |
| } | |
| return arrayIndexOf(buffer2, [val], byteOffset, encoding, dir); | |
| } | |
| throw new TypeError("val must be string, number or Buffer"); | |
| } | |
| function arrayIndexOf(arr, val, byteOffset, encoding, dir) { | |
| let indexSize = 1; | |
| let arrLength = arr.length; | |
| let valLength = val.length; | |
| if (encoding !== void 0) { | |
| encoding = String(encoding).toLowerCase(); | |
| if (encoding === "ucs2" || encoding === "ucs-2" || encoding === "utf16le" || encoding === "utf-16le") { | |
| if (arr.length < 2 || val.length < 2) { | |
| return -1; | |
| } | |
| indexSize = 2; | |
| arrLength /= 2; | |
| valLength /= 2; | |
| byteOffset /= 2; | |
| } | |
| } | |
| function read(buf, i3) { | |
| if (indexSize === 1) { | |
| return buf[i3]; | |
| } else { | |
| return buf.readUInt16BE(i3 * indexSize); | |
| } | |
| } | |
| let i2; | |
| if (dir) { | |
| let foundIndex = -1; | |
| for (i2 = byteOffset; i2 < arrLength; i2++) { | |
| if (read(arr, i2) === read(val, foundIndex === -1 ? 0 : i2 - foundIndex)) { | |
| if (foundIndex === -1) foundIndex = i2; | |
| if (i2 - foundIndex + 1 === valLength) return foundIndex * indexSize; | |
| } else { | |
| if (foundIndex !== -1) i2 -= i2 - foundIndex; | |
| foundIndex = -1; | |
| } | |
| } | |
| } else { | |
| if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength; | |
| for (i2 = byteOffset; i2 >= 0; i2--) { | |
| let found = true; | |
| for (let j2 = 0; j2 < valLength; j2++) { | |
| if (read(arr, i2 + j2) !== read(val, j2)) { | |
| found = false; | |
| break; | |
| } | |
| } | |
| if (found) return i2; | |
| } | |
| } | |
| return -1; | |
| } | |
| Buffer2.prototype.includes = function includes(val, byteOffset, encoding) { | |
| return this.indexOf(val, byteOffset, encoding) !== -1; | |
| }; | |
| Buffer2.prototype.indexOf = function indexOf(val, byteOffset, encoding) { | |
| return bidirectionalIndexOf(this, val, byteOffset, encoding, true); | |
| }; | |
| Buffer2.prototype.lastIndexOf = function lastIndexOf(val, byteOffset, encoding) { | |
| return bidirectionalIndexOf(this, val, byteOffset, encoding, false); | |
| }; | |
| function hexWrite(buf, string2, offset, length) { | |
| offset = Number(offset) || 0; | |
| const remaining = buf.length - offset; | |
| if (!length) { | |
| length = remaining; | |
| } else { | |
| length = Number(length); | |
| if (length > remaining) { | |
| length = remaining; | |
| } | |
| } | |
| const strLen = string2.length; | |
| if (length > strLen / 2) { | |
| length = strLen / 2; | |
| } | |
| let i2; | |
| for (i2 = 0; i2 < length; ++i2) { | |
| const parsed = parseInt(string2.substr(i2 * 2, 2), 16); | |
| if (numberIsNaN(parsed)) return i2; | |
| buf[offset + i2] = parsed; | |
| } | |
| return i2; | |
| } | |
| function utf8Write(buf, string2, offset, length) { | |
| return blitBuffer(utf8ToBytes2(string2, buf.length - offset), buf, offset, length); | |
| } | |
| function asciiWrite(buf, string2, offset, length) { | |
| return blitBuffer(asciiToBytes(string2), buf, offset, length); | |
| } | |
| function base64Write(buf, string2, offset, length) { | |
| return blitBuffer(base64ToBytes(string2), buf, offset, length); | |
| } | |
| function ucs2Write(buf, string2, offset, length) { | |
| return blitBuffer(utf16leToBytes(string2, buf.length - offset), buf, offset, length); | |
| } | |
| Buffer2.prototype.write = function write(string2, offset, length, encoding) { | |
| if (offset === void 0) { | |
| encoding = "utf8"; | |
| length = this.length; | |
| offset = 0; | |
| } else if (length === void 0 && typeof offset === "string") { | |
| encoding = offset; | |
| length = this.length; | |
| offset = 0; | |
| } else if (isFinite(offset)) { | |
| offset = offset >>> 0; | |
| if (isFinite(length)) { | |
| length = length >>> 0; | |
| if (encoding === void 0) encoding = "utf8"; | |
| } else { | |
| encoding = length; | |
| length = void 0; | |
| } | |
| } else { | |
| throw new Error( | |
| "Buffer.write(string, encoding, offset[, length]) is no longer supported" | |
| ); | |
| } | |
| const remaining = this.length - offset; | |
| if (length === void 0 || length > remaining) length = remaining; | |
| if (string2.length > 0 && (length < 0 || offset < 0) || offset > this.length) { | |
| throw new RangeError("Attempt to write outside buffer bounds"); | |
| } | |
| if (!encoding) encoding = "utf8"; | |
| let loweredCase = false; | |
| for (; ; ) { | |
| switch (encoding) { | |
| case "hex": | |
| return hexWrite(this, string2, offset, length); | |
| case "utf8": | |
| case "utf-8": | |
| return utf8Write(this, string2, offset, length); | |
| case "ascii": | |
| case "latin1": | |
| case "binary": | |
| return asciiWrite(this, string2, offset, length); | |
| case "base64": | |
| return base64Write(this, string2, offset, length); | |
| case "ucs2": | |
| case "ucs-2": | |
| case "utf16le": | |
| case "utf-16le": | |
| return ucs2Write(this, string2, offset, length); | |
| default: | |
| if (loweredCase) throw new TypeError("Unknown encoding: " + encoding); | |
| encoding = ("" + encoding).toLowerCase(); | |
| loweredCase = true; | |
| } | |
| } | |
| }; | |
| Buffer2.prototype.toJSON = function toJSON() { | |
| return { | |
| type: "Buffer", | |
| data: Array.prototype.slice.call(this._arr || this, 0) | |
| }; | |
| }; | |
| function base64Slice(buf, start, end) { | |
| if (start === 0 && end === buf.length) { | |
| return base642.fromByteArray(buf); | |
| } else { | |
| return base642.fromByteArray(buf.slice(start, end)); | |
| } | |
| } | |
| function utf8Slice(buf, start, end) { | |
| end = Math.min(buf.length, end); | |
| const res = []; | |
| let i2 = start; | |
| while (i2 < end) { | |
| const firstByte = buf[i2]; | |
| let codePoint = null; | |
| let bytesPerSequence = firstByte > 239 ? 4 : firstByte > 223 ? 3 : firstByte > 191 ? 2 : 1; | |
| if (i2 + bytesPerSequence <= end) { | |
| let secondByte, thirdByte, fourthByte, tempCodePoint; | |
| switch (bytesPerSequence) { | |
| case 1: | |
| if (firstByte < 128) { | |
| codePoint = firstByte; | |
| } | |
| break; | |
| case 2: | |
| secondByte = buf[i2 + 1]; | |
| if ((secondByte & 192) === 128) { | |
| tempCodePoint = (firstByte & 31) << 6 | secondByte & 63; | |
| if (tempCodePoint > 127) { | |
| codePoint = tempCodePoint; | |
| } | |
| } | |
| break; | |
| case 3: | |
| secondByte = buf[i2 + 1]; | |
| thirdByte = buf[i2 + 2]; | |
| if ((secondByte & 192) === 128 && (thirdByte & 192) === 128) { | |
| tempCodePoint = (firstByte & 15) << 12 | (secondByte & 63) << 6 | thirdByte & 63; | |
| if (tempCodePoint > 2047 && (tempCodePoint < 55296 || tempCodePoint > 57343)) { | |
| codePoint = tempCodePoint; | |
| } | |
| } | |
| break; | |
| case 4: | |
| secondByte = buf[i2 + 1]; | |
| thirdByte = buf[i2 + 2]; | |
| fourthByte = buf[i2 + 3]; | |
| if ((secondByte & 192) === 128 && (thirdByte & 192) === 128 && (fourthByte & 192) === 128) { | |
| tempCodePoint = (firstByte & 15) << 18 | (secondByte & 63) << 12 | (thirdByte & 63) << 6 | fourthByte & 63; | |
| if (tempCodePoint > 65535 && tempCodePoint < 1114112) { | |
| codePoint = tempCodePoint; | |
| } | |
| } | |
| } | |
| } | |
| if (codePoint === null) { | |
| codePoint = 65533; | |
| bytesPerSequence = 1; | |
| } else if (codePoint > 65535) { | |
| codePoint -= 65536; | |
| res.push(codePoint >>> 10 & 1023 | 55296); | |
| codePoint = 56320 | codePoint & 1023; | |
| } | |
| res.push(codePoint); | |
| i2 += bytesPerSequence; | |
| } | |
| return decodeCodePointsArray(res); | |
| } | |
| const MAX_ARGUMENTS_LENGTH = 4096; | |
| function decodeCodePointsArray(codePoints) { | |
| const len = codePoints.length; | |
| if (len <= MAX_ARGUMENTS_LENGTH) { | |
| return String.fromCharCode.apply(String, codePoints); | |
| } | |
| let res = ""; | |
| let i2 = 0; | |
| while (i2 < len) { | |
| res += String.fromCharCode.apply( | |
| String, | |
| codePoints.slice(i2, i2 += MAX_ARGUMENTS_LENGTH) | |
| ); | |
| } | |
| return res; | |
| } | |
| function asciiSlice(buf, start, end) { | |
| let ret = ""; | |
| end = Math.min(buf.length, end); | |
| for (let i2 = start; i2 < end; ++i2) { | |
| ret += String.fromCharCode(buf[i2] & 127); | |
| } | |
| return ret; | |
| } | |
| function latin1Slice(buf, start, end) { | |
| let ret = ""; | |
| end = Math.min(buf.length, end); | |
| for (let i2 = start; i2 < end; ++i2) { | |
| ret += String.fromCharCode(buf[i2]); | |
| } | |
| return ret; | |
| } | |
| function hexSlice(buf, start, end) { | |
| const len = buf.length; | |
| if (!start || start < 0) start = 0; | |
| if (!end || end < 0 || end > len) end = len; | |
| let out = ""; | |
| for (let i2 = start; i2 < end; ++i2) { | |
| out += hexSliceLookupTable[buf[i2]]; | |
| } | |
| return out; | |
| } | |
| function utf16leSlice(buf, start, end) { | |
| const bytes = buf.slice(start, end); | |
| let res = ""; | |
| for (let i2 = 0; i2 < bytes.length - 1; i2 += 2) { | |
| res += String.fromCharCode(bytes[i2] + bytes[i2 + 1] * 256); | |
| } | |
| return res; | |
| } | |
| Buffer2.prototype.slice = function slice2(start, end) { | |
| const len = this.length; | |
| start = ~~start; | |
| end = end === void 0 ? len : ~~end; | |
| if (start < 0) { | |
| start += len; | |
| if (start < 0) start = 0; | |
| } else if (start > len) { | |
| start = len; | |
| } | |
| if (end < 0) { | |
| end += len; | |
| if (end < 0) end = 0; | |
| } else if (end > len) { | |
| end = len; | |
| } | |
| if (end < start) end = start; | |
| const newBuf = this.subarray(start, end); | |
| Object.setPrototypeOf(newBuf, Buffer2.prototype); | |
| return newBuf; | |
| }; | |
| function checkOffset(offset, ext, length) { | |
| if (offset % 1 !== 0 || offset < 0) throw new RangeError("offset is not uint"); | |
| if (offset + ext > length) throw new RangeError("Trying to access beyond buffer length"); | |
| } | |
| Buffer2.prototype.readUintLE = Buffer2.prototype.readUIntLE = function readUIntLE(offset, byteLength3, noAssert) { | |
| offset = offset >>> 0; | |
| byteLength3 = byteLength3 >>> 0; | |
| if (!noAssert) checkOffset(offset, byteLength3, this.length); | |
| let val = this[offset]; | |
| let mul = 1; | |
| let i2 = 0; | |
| while (++i2 < byteLength3 && (mul *= 256)) { | |
| val += this[offset + i2] * mul; | |
| } | |
| return val; | |
| }; | |
| Buffer2.prototype.readUintBE = Buffer2.prototype.readUIntBE = function readUIntBE(offset, byteLength3, noAssert) { | |
| offset = offset >>> 0; | |
| byteLength3 = byteLength3 >>> 0; | |
| if (!noAssert) { | |
| checkOffset(offset, byteLength3, this.length); | |
| } | |
| let val = this[offset + --byteLength3]; | |
| let mul = 1; | |
| while (byteLength3 > 0 && (mul *= 256)) { | |
| val += this[offset + --byteLength3] * mul; | |
| } | |
| return val; | |
| }; | |
| Buffer2.prototype.readUint8 = Buffer2.prototype.readUInt8 = function readUInt8(offset, noAssert) { | |
| offset = offset >>> 0; | |
| if (!noAssert) checkOffset(offset, 1, this.length); | |
| return this[offset]; | |
| }; | |
| Buffer2.prototype.readUint16LE = Buffer2.prototype.readUInt16LE = function readUInt16LE(offset, noAssert) { | |
| offset = offset >>> 0; | |
| if (!noAssert) checkOffset(offset, 2, this.length); | |
| return this[offset] | this[offset + 1] << 8; | |
| }; | |
| Buffer2.prototype.readUint16BE = Buffer2.prototype.readUInt16BE = function readUInt16BE(offset, noAssert) { | |
| offset = offset >>> 0; | |
| if (!noAssert) checkOffset(offset, 2, this.length); | |
| return this[offset] << 8 | this[offset + 1]; | |
| }; | |
| Buffer2.prototype.readUint32LE = Buffer2.prototype.readUInt32LE = function readUInt32LE(offset, noAssert) { | |
| offset = offset >>> 0; | |
| if (!noAssert) checkOffset(offset, 4, this.length); | |
| return (this[offset] | this[offset + 1] << 8 | this[offset + 2] << 16) + this[offset + 3] * 16777216; | |
| }; | |
| Buffer2.prototype.readUint32BE = Buffer2.prototype.readUInt32BE = function readUInt32BE(offset, noAssert) { | |
| offset = offset >>> 0; | |
| if (!noAssert) checkOffset(offset, 4, this.length); | |
| return this[offset] * 16777216 + (this[offset + 1] << 16 | this[offset + 2] << 8 | this[offset + 3]); | |
| }; | |
| Buffer2.prototype.readBigUInt64LE = defineBigIntMethod(function readBigUInt64LE(offset) { | |
| offset = offset >>> 0; | |
| validateNumber(offset, "offset"); | |
| const first = this[offset]; | |
| const last = this[offset + 7]; | |
| if (first === void 0 || last === void 0) { | |
| boundsError(offset, this.length - 8); | |
| } | |
| const lo2 = first + this[++offset] * 2 ** 8 + this[++offset] * 2 ** 16 + this[++offset] * 2 ** 24; | |
| const hi2 = this[++offset] + this[++offset] * 2 ** 8 + this[++offset] * 2 ** 16 + last * 2 ** 24; | |
| return BigInt(lo2) + (BigInt(hi2) << BigInt(32)); | |
| }); | |
| Buffer2.prototype.readBigUInt64BE = defineBigIntMethod(function readBigUInt64BE(offset) { | |
| offset = offset >>> 0; | |
| validateNumber(offset, "offset"); | |
| const first = this[offset]; | |
| const last = this[offset + 7]; | |
| if (first === void 0 || last === void 0) { | |
| boundsError(offset, this.length - 8); | |
| } | |
| const hi2 = first * 2 ** 24 + this[++offset] * 2 ** 16 + this[++offset] * 2 ** 8 + this[++offset]; | |
| const lo2 = this[++offset] * 2 ** 24 + this[++offset] * 2 ** 16 + this[++offset] * 2 ** 8 + last; | |
| return (BigInt(hi2) << BigInt(32)) + BigInt(lo2); | |
| }); | |
| Buffer2.prototype.readIntLE = function readIntLE(offset, byteLength3, noAssert) { | |
| offset = offset >>> 0; | |
| byteLength3 = byteLength3 >>> 0; | |
| if (!noAssert) checkOffset(offset, byteLength3, this.length); | |
| let val = this[offset]; | |
| let mul = 1; | |
| let i2 = 0; | |
| while (++i2 < byteLength3 && (mul *= 256)) { | |
| val += this[offset + i2] * mul; | |
| } | |
| mul *= 128; | |
| if (val >= mul) val -= Math.pow(2, 8 * byteLength3); | |
| return val; | |
| }; | |
| Buffer2.prototype.readIntBE = function readIntBE(offset, byteLength3, noAssert) { | |
| offset = offset >>> 0; | |
| byteLength3 = byteLength3 >>> 0; | |
| if (!noAssert) checkOffset(offset, byteLength3, this.length); | |
| let i2 = byteLength3; | |
| let mul = 1; | |
| let val = this[offset + --i2]; | |
| while (i2 > 0 && (mul *= 256)) { | |
| val += this[offset + --i2] * mul; | |
| } | |
| mul *= 128; | |
| if (val >= mul) val -= Math.pow(2, 8 * byteLength3); | |
| return val; | |
| }; | |
| Buffer2.prototype.readInt8 = function readInt8(offset, noAssert) { | |
| offset = offset >>> 0; | |
| if (!noAssert) checkOffset(offset, 1, this.length); | |
| if (!(this[offset] & 128)) return this[offset]; | |
| return (255 - this[offset] + 1) * -1; | |
| }; | |
| Buffer2.prototype.readInt16LE = function readInt16LE(offset, noAssert) { | |
| offset = offset >>> 0; | |
| if (!noAssert) checkOffset(offset, 2, this.length); | |
| const val = this[offset] | this[offset + 1] << 8; | |
| return val & 32768 ? val | 4294901760 : val; | |
| }; | |
| Buffer2.prototype.readInt16BE = function readInt16BE(offset, noAssert) { | |
| offset = offset >>> 0; | |
| if (!noAssert) checkOffset(offset, 2, this.length); | |
| const val = this[offset + 1] | this[offset] << 8; | |
| return val & 32768 ? val | 4294901760 : val; | |
| }; | |
| Buffer2.prototype.readInt32LE = function readInt32LE(offset, noAssert) { | |
| offset = offset >>> 0; | |
| if (!noAssert) checkOffset(offset, 4, this.length); | |
| return this[offset] | this[offset + 1] << 8 | this[offset + 2] << 16 | this[offset + 3] << 24; | |
| }; | |
| Buffer2.prototype.readInt32BE = function readInt32BE(offset, noAssert) { | |
| offset = offset >>> 0; | |
| if (!noAssert) checkOffset(offset, 4, this.length); | |
| return this[offset] << 24 | this[offset + 1] << 16 | this[offset + 2] << 8 | this[offset + 3]; | |
| }; | |
| Buffer2.prototype.readBigInt64LE = defineBigIntMethod(function readBigInt64LE(offset) { | |
| offset = offset >>> 0; | |
| validateNumber(offset, "offset"); | |
| const first = this[offset]; | |
| const last = this[offset + 7]; | |
| if (first === void 0 || last === void 0) { | |
| boundsError(offset, this.length - 8); | |
| } | |
| const val = this[offset + 4] + this[offset + 5] * 2 ** 8 + this[offset + 6] * 2 ** 16 + (last << 24); | |
| return (BigInt(val) << BigInt(32)) + BigInt(first + this[++offset] * 2 ** 8 + this[++offset] * 2 ** 16 + this[++offset] * 2 ** 24); | |
| }); | |
| Buffer2.prototype.readBigInt64BE = defineBigIntMethod(function readBigInt64BE(offset) { | |
| offset = offset >>> 0; | |
| validateNumber(offset, "offset"); | |
| const first = this[offset]; | |
| const last = this[offset + 7]; | |
| if (first === void 0 || last === void 0) { | |
| boundsError(offset, this.length - 8); | |
| } | |
| const val = (first << 24) + // Overflow | |
| this[++offset] * 2 ** 16 + this[++offset] * 2 ** 8 + this[++offset]; | |
| return (BigInt(val) << BigInt(32)) + BigInt(this[++offset] * 2 ** 24 + this[++offset] * 2 ** 16 + this[++offset] * 2 ** 8 + last); | |
| }); | |
| Buffer2.prototype.readFloatLE = function readFloatLE(offset, noAssert) { | |
| offset = offset >>> 0; | |
| if (!noAssert) checkOffset(offset, 4, this.length); | |
| return ieee7542.read(this, offset, true, 23, 4); | |
| }; | |
| Buffer2.prototype.readFloatBE = function readFloatBE(offset, noAssert) { | |
| offset = offset >>> 0; | |
| if (!noAssert) checkOffset(offset, 4, this.length); | |
| return ieee7542.read(this, offset, false, 23, 4); | |
| }; | |
| Buffer2.prototype.readDoubleLE = function readDoubleLE(offset, noAssert) { | |
| offset = offset >>> 0; | |
| if (!noAssert) checkOffset(offset, 8, this.length); | |
| return ieee7542.read(this, offset, true, 52, 8); | |
| }; | |
| Buffer2.prototype.readDoubleBE = function readDoubleBE(offset, noAssert) { | |
| offset = offset >>> 0; | |
| if (!noAssert) checkOffset(offset, 8, this.length); | |
| return ieee7542.read(this, offset, false, 52, 8); | |
| }; | |
| function checkInt(buf, value2, offset, ext, max, min) { | |
| if (!Buffer2.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance'); | |
| if (value2 > max || value2 < min) throw new RangeError('"value" argument is out of bounds'); | |
| if (offset + ext > buf.length) throw new RangeError("Index out of range"); | |
| } | |
| Buffer2.prototype.writeUintLE = Buffer2.prototype.writeUIntLE = function writeUIntLE(value2, offset, byteLength3, noAssert) { | |
| value2 = +value2; | |
| offset = offset >>> 0; | |
| byteLength3 = byteLength3 >>> 0; | |
| if (!noAssert) { | |
| const maxBytes = Math.pow(2, 8 * byteLength3) - 1; | |
| checkInt(this, value2, offset, byteLength3, maxBytes, 0); | |
| } | |
| let mul = 1; | |
| let i2 = 0; | |
| this[offset] = value2 & 255; | |
| while (++i2 < byteLength3 && (mul *= 256)) { | |
| this[offset + i2] = value2 / mul & 255; | |
| } | |
| return offset + byteLength3; | |
| }; | |
| Buffer2.prototype.writeUintBE = Buffer2.prototype.writeUIntBE = function writeUIntBE(value2, offset, byteLength3, noAssert) { | |
| value2 = +value2; | |
| offset = offset >>> 0; | |
| byteLength3 = byteLength3 >>> 0; | |
| if (!noAssert) { | |
| const maxBytes = Math.pow(2, 8 * byteLength3) - 1; | |
| checkInt(this, value2, offset, byteLength3, maxBytes, 0); | |
| } | |
| let i2 = byteLength3 - 1; | |
| let mul = 1; | |
| this[offset + i2] = value2 & 255; | |
| while (--i2 >= 0 && (mul *= 256)) { | |
| this[offset + i2] = value2 / mul & 255; | |
| } | |
| return offset + byteLength3; | |
| }; | |
| Buffer2.prototype.writeUint8 = Buffer2.prototype.writeUInt8 = function writeUInt8(value2, offset, noAssert) { | |
| value2 = +value2; | |
| offset = offset >>> 0; | |
| if (!noAssert) checkInt(this, value2, offset, 1, 255, 0); | |
| this[offset] = value2 & 255; | |
| return offset + 1; | |
| }; | |
| Buffer2.prototype.writeUint16LE = Buffer2.prototype.writeUInt16LE = function writeUInt16LE(value2, offset, noAssert) { | |
| value2 = +value2; | |
| offset = offset >>> 0; | |
| if (!noAssert) checkInt(this, value2, offset, 2, 65535, 0); | |
| this[offset] = value2 & 255; | |
| this[offset + 1] = value2 >>> 8; | |
| return offset + 2; | |
| }; | |
| Buffer2.prototype.writeUint16BE = Buffer2.prototype.writeUInt16BE = function writeUInt16BE(value2, offset, noAssert) { | |
| value2 = +value2; | |
| offset = offset >>> 0; | |
| if (!noAssert) checkInt(this, value2, offset, 2, 65535, 0); | |
| this[offset] = value2 >>> 8; | |
| this[offset + 1] = value2 & 255; | |
| return offset + 2; | |
| }; | |
| Buffer2.prototype.writeUint32LE = Buffer2.prototype.writeUInt32LE = function writeUInt32LE(value2, offset, noAssert) { | |
| value2 = +value2; | |
| offset = offset >>> 0; | |
| if (!noAssert) checkInt(this, value2, offset, 4, 4294967295, 0); | |
| this[offset + 3] = value2 >>> 24; | |
| this[offset + 2] = value2 >>> 16; | |
| this[offset + 1] = value2 >>> 8; | |
| this[offset] = value2 & 255; | |
| return offset + 4; | |
| }; | |
| Buffer2.prototype.writeUint32BE = Buffer2.prototype.writeUInt32BE = function writeUInt32BE(value2, offset, noAssert) { | |
| value2 = +value2; | |
| offset = offset >>> 0; | |
| if (!noAssert) checkInt(this, value2, offset, 4, 4294967295, 0); | |
| this[offset] = value2 >>> 24; | |
| this[offset + 1] = value2 >>> 16; | |
| this[offset + 2] = value2 >>> 8; | |
| this[offset + 3] = value2 & 255; | |
| return offset + 4; | |
| }; | |
| function wrtBigUInt64LE(buf, value2, offset, min, max) { | |
| checkIntBI(value2, min, max, buf, offset, 7); | |
| let lo2 = Number(value2 & BigInt(4294967295)); | |
| buf[offset++] = lo2; | |
| lo2 = lo2 >> 8; | |
| buf[offset++] = lo2; | |
| lo2 = lo2 >> 8; | |
| buf[offset++] = lo2; | |
| lo2 = lo2 >> 8; | |
| buf[offset++] = lo2; | |
| let hi2 = Number(value2 >> BigInt(32) & BigInt(4294967295)); | |
| buf[offset++] = hi2; | |
| hi2 = hi2 >> 8; | |
| buf[offset++] = hi2; | |
| hi2 = hi2 >> 8; | |
| buf[offset++] = hi2; | |
| hi2 = hi2 >> 8; | |
| buf[offset++] = hi2; | |
| return offset; | |
| } | |
| function wrtBigUInt64BE(buf, value2, offset, min, max) { | |
| checkIntBI(value2, min, max, buf, offset, 7); | |
| let lo2 = Number(value2 & BigInt(4294967295)); | |
| buf[offset + 7] = lo2; | |
| lo2 = lo2 >> 8; | |
| buf[offset + 6] = lo2; | |
| lo2 = lo2 >> 8; | |
| buf[offset + 5] = lo2; | |
| lo2 = lo2 >> 8; | |
| buf[offset + 4] = lo2; | |
| let hi2 = Number(value2 >> BigInt(32) & BigInt(4294967295)); | |
| buf[offset + 3] = hi2; | |
| hi2 = hi2 >> 8; | |
| buf[offset + 2] = hi2; | |
| hi2 = hi2 >> 8; | |
| buf[offset + 1] = hi2; | |
| hi2 = hi2 >> 8; | |
| buf[offset] = hi2; | |
| return offset + 8; | |
| } | |
| Buffer2.prototype.writeBigUInt64LE = defineBigIntMethod(function writeBigUInt64LE(value2, offset = 0) { | |
| return wrtBigUInt64LE(this, value2, offset, BigInt(0), BigInt("0xffffffffffffffff")); | |
| }); | |
| Buffer2.prototype.writeBigUInt64BE = defineBigIntMethod(function writeBigUInt64BE(value2, offset = 0) { | |
| return wrtBigUInt64BE(this, value2, offset, BigInt(0), BigInt("0xffffffffffffffff")); | |
| }); | |
| Buffer2.prototype.writeIntLE = function writeIntLE(value2, offset, byteLength3, noAssert) { | |
| value2 = +value2; | |
| offset = offset >>> 0; | |
| if (!noAssert) { | |
| const limit = Math.pow(2, 8 * byteLength3 - 1); | |
| checkInt(this, value2, offset, byteLength3, limit - 1, -limit); | |
| } | |
| let i2 = 0; | |
| let mul = 1; | |
| let sub = 0; | |
| this[offset] = value2 & 255; | |
| while (++i2 < byteLength3 && (mul *= 256)) { | |
| if (value2 < 0 && sub === 0 && this[offset + i2 - 1] !== 0) { | |
| sub = 1; | |
| } | |
| this[offset + i2] = (value2 / mul >> 0) - sub & 255; | |
| } | |
| return offset + byteLength3; | |
| }; | |
| Buffer2.prototype.writeIntBE = function writeIntBE(value2, offset, byteLength3, noAssert) { | |
| value2 = +value2; | |
| offset = offset >>> 0; | |
| if (!noAssert) { | |
| const limit = Math.pow(2, 8 * byteLength3 - 1); | |
| checkInt(this, value2, offset, byteLength3, limit - 1, -limit); | |
| } | |
| let i2 = byteLength3 - 1; | |
| let mul = 1; | |
| let sub = 0; | |
| this[offset + i2] = value2 & 255; | |
| while (--i2 >= 0 && (mul *= 256)) { | |
| if (value2 < 0 && sub === 0 && this[offset + i2 + 1] !== 0) { | |
| sub = 1; | |
| } | |
| this[offset + i2] = (value2 / mul >> 0) - sub & 255; | |
| } | |
| return offset + byteLength3; | |
| }; | |
| Buffer2.prototype.writeInt8 = function writeInt8(value2, offset, noAssert) { | |
| value2 = +value2; | |
| offset = offset >>> 0; | |
| if (!noAssert) checkInt(this, value2, offset, 1, 127, -128); | |
| if (value2 < 0) value2 = 255 + value2 + 1; | |
| this[offset] = value2 & 255; | |
| return offset + 1; | |
| }; | |
| Buffer2.prototype.writeInt16LE = function writeInt16LE(value2, offset, noAssert) { | |
| value2 = +value2; | |
| offset = offset >>> 0; | |
| if (!noAssert) checkInt(this, value2, offset, 2, 32767, -32768); | |
| this[offset] = value2 & 255; | |
| this[offset + 1] = value2 >>> 8; | |
| return offset + 2; | |
| }; | |
| Buffer2.prototype.writeInt16BE = function writeInt16BE(value2, offset, noAssert) { | |
| value2 = +value2; | |
| offset = offset >>> 0; | |
| if (!noAssert) checkInt(this, value2, offset, 2, 32767, -32768); | |
| this[offset] = value2 >>> 8; | |
| this[offset + 1] = value2 & 255; | |
| return offset + 2; | |
| }; | |
| Buffer2.prototype.writeInt32LE = function writeInt32LE(value2, offset, noAssert) { | |
| value2 = +value2; | |
| offset = offset >>> 0; | |
| if (!noAssert) checkInt(this, value2, offset, 4, 2147483647, -2147483648); | |
| this[offset] = value2 & 255; | |
| this[offset + 1] = value2 >>> 8; | |
| this[offset + 2] = value2 >>> 16; | |
| this[offset + 3] = value2 >>> 24; | |
| return offset + 4; | |
| }; | |
| Buffer2.prototype.writeInt32BE = function writeInt32BE(value2, offset, noAssert) { | |
| value2 = +value2; | |
| offset = offset >>> 0; | |
| if (!noAssert) checkInt(this, value2, offset, 4, 2147483647, -2147483648); | |
| if (value2 < 0) value2 = 4294967295 + value2 + 1; | |
| this[offset] = value2 >>> 24; | |
| this[offset + 1] = value2 >>> 16; | |
| this[offset + 2] = value2 >>> 8; | |
| this[offset + 3] = value2 & 255; | |
| return offset + 4; | |
| }; | |
| Buffer2.prototype.writeBigInt64LE = defineBigIntMethod(function writeBigInt64LE(value2, offset = 0) { | |
| return wrtBigUInt64LE(this, value2, offset, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff")); | |
| }); | |
| Buffer2.prototype.writeBigInt64BE = defineBigIntMethod(function writeBigInt64BE(value2, offset = 0) { | |
| return wrtBigUInt64BE(this, value2, offset, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff")); | |
| }); | |
| function checkIEEE754(buf, value2, offset, ext, max, min) { | |
| if (offset + ext > buf.length) throw new RangeError("Index out of range"); | |
| if (offset < 0) throw new RangeError("Index out of range"); | |
| } | |
| function writeFloat(buf, value2, offset, littleEndian, noAssert) { | |
| value2 = +value2; | |
| offset = offset >>> 0; | |
| if (!noAssert) { | |
| checkIEEE754(buf, value2, offset, 4); | |
| } | |
| ieee7542.write(buf, value2, offset, littleEndian, 23, 4); | |
| return offset + 4; | |
| } | |
| Buffer2.prototype.writeFloatLE = function writeFloatLE(value2, offset, noAssert) { | |
| return writeFloat(this, value2, offset, true, noAssert); | |
| }; | |
| Buffer2.prototype.writeFloatBE = function writeFloatBE(value2, offset, noAssert) { | |
| return writeFloat(this, value2, offset, false, noAssert); | |
| }; | |
| function writeDouble(buf, value2, offset, littleEndian, noAssert) { | |
| value2 = +value2; | |
| offset = offset >>> 0; | |
| if (!noAssert) { | |
| checkIEEE754(buf, value2, offset, 8); | |
| } | |
| ieee7542.write(buf, value2, offset, littleEndian, 52, 8); | |
| return offset + 8; | |
| } | |
| Buffer2.prototype.writeDoubleLE = function writeDoubleLE(value2, offset, noAssert) { | |
| return writeDouble(this, value2, offset, true, noAssert); | |
| }; | |
| Buffer2.prototype.writeDoubleBE = function writeDoubleBE(value2, offset, noAssert) { | |
| return writeDouble(this, value2, offset, false, noAssert); | |
| }; | |
| Buffer2.prototype.copy = function copy2(target, targetStart, start, end) { | |
| if (!Buffer2.isBuffer(target)) throw new TypeError("argument should be a Buffer"); | |
| if (!start) start = 0; | |
| if (!end && end !== 0) end = this.length; | |
| if (targetStart >= target.length) targetStart = target.length; | |
| if (!targetStart) targetStart = 0; | |
| if (end > 0 && end < start) end = start; | |
| if (end === start) return 0; | |
| if (target.length === 0 || this.length === 0) return 0; | |
| if (targetStart < 0) { | |
| throw new RangeError("targetStart out of bounds"); | |
| } | |
| if (start < 0 || start >= this.length) throw new RangeError("Index out of range"); | |
| if (end < 0) throw new RangeError("sourceEnd out of bounds"); | |
| if (end > this.length) end = this.length; | |
| if (target.length - targetStart < end - start) { | |
| end = target.length - targetStart + start; | |
| } | |
| const len = end - start; | |
| if (this === target && typeof Uint8Array.prototype.copyWithin === "function") { | |
| this.copyWithin(targetStart, start, end); | |
| } else { | |
| Uint8Array.prototype.set.call( | |
| target, | |
| this.subarray(start, end), | |
| targetStart | |
| ); | |
| } | |
| return len; | |
| }; | |
| Buffer2.prototype.fill = function fill(val, start, end, encoding) { | |
| if (typeof val === "string") { | |
| if (typeof start === "string") { | |
| encoding = start; | |
| start = 0; | |
| end = this.length; | |
| } else if (typeof end === "string") { | |
| encoding = end; | |
| end = this.length; | |
| } | |
| if (encoding !== void 0 && typeof encoding !== "string") { | |
| throw new TypeError("encoding must be a string"); | |
| } | |
| if (typeof encoding === "string" && !Buffer2.isEncoding(encoding)) { | |
| throw new TypeError("Unknown encoding: " + encoding); | |
| } | |
| if (val.length === 1) { | |
| const code = val.charCodeAt(0); | |
| if (encoding === "utf8" && code < 128 || encoding === "latin1") { | |
| val = code; | |
| } | |
| } | |
| } else if (typeof val === "number") { | |
| val = val & 255; | |
| } else if (typeof val === "boolean") { | |
| val = Number(val); | |
| } | |
| if (start < 0 || this.length < start || this.length < end) { | |
| throw new RangeError("Out of range index"); | |
| } | |
| if (end <= start) { | |
| return this; | |
| } | |
| start = start >>> 0; | |
| end = end === void 0 ? this.length : end >>> 0; | |
| if (!val) val = 0; | |
| let i2; | |
| if (typeof val === "number") { | |
| for (i2 = start; i2 < end; ++i2) { | |
| this[i2] = val; | |
| } | |
| } else { | |
| const bytes = Buffer2.isBuffer(val) ? val : Buffer2.from(val, encoding); | |
| const len = bytes.length; | |
| if (len === 0) { | |
| throw new TypeError('The value "' + val + '" is invalid for argument "value"'); | |
| } | |
| for (i2 = 0; i2 < end - start; ++i2) { | |
| this[i2 + start] = bytes[i2 % len]; | |
| } | |
| } | |
| return this; | |
| }; | |
| const errors = {}; | |
| function E2(sym, getMessage2, Base) { | |
| errors[sym] = class NodeError extends Base { | |
| constructor() { | |
| super(); | |
| Object.defineProperty(this, "message", { | |
| value: getMessage2.apply(this, arguments), | |
| writable: true, | |
| configurable: true | |
| }); | |
| this.name = `${this.name} [${sym}]`; | |
| this.stack; | |
| delete this.name; | |
| } | |
| get code() { | |
| return sym; | |
| } | |
| set code(value2) { | |
| Object.defineProperty(this, "code", { | |
| configurable: true, | |
| enumerable: true, | |
| value: value2, | |
| writable: true | |
| }); | |
| } | |
| toString() { | |
| return `${this.name} [${sym}]: ${this.message}`; | |
| } | |
| }; | |
| } | |
| E2( | |
| "ERR_BUFFER_OUT_OF_BOUNDS", | |
| function(name) { | |
| if (name) { | |
| return `${name} is outside of buffer bounds`; | |
| } | |
| return "Attempt to access memory outside buffer bounds"; | |
| }, | |
| RangeError | |
| ); | |
| E2( | |
| "ERR_INVALID_ARG_TYPE", | |
| function(name, actual) { | |
| return `The "${name}" argument must be of type number. Received type ${typeof actual}`; | |
| }, | |
| TypeError | |
| ); | |
| E2( | |
| "ERR_OUT_OF_RANGE", | |
| function(str, range, input) { | |
| let msg = `The value of "${str}" is out of range.`; | |
| let received = input; | |
| if (Number.isInteger(input) && Math.abs(input) > 2 ** 32) { | |
| received = addNumericalSeparator(String(input)); | |
| } else if (typeof input === "bigint") { | |
| received = String(input); | |
| if (input > BigInt(2) ** BigInt(32) || input < -(BigInt(2) ** BigInt(32))) { | |
| received = addNumericalSeparator(received); | |
| } | |
| received += "n"; | |
| } | |
| msg += ` It must be ${range}. Received ${received}`; | |
| return msg; | |
| }, | |
| RangeError | |
| ); | |
| function addNumericalSeparator(val) { | |
| let res = ""; | |
| let i2 = val.length; | |
| const start = val[0] === "-" ? 1 : 0; | |
| for (; i2 >= start + 4; i2 -= 3) { | |
| res = `_${val.slice(i2 - 3, i2)}${res}`; | |
| } | |
| return `${val.slice(0, i2)}${res}`; | |
| } | |
| function checkBounds(buf, offset, byteLength3) { | |
| validateNumber(offset, "offset"); | |
| if (buf[offset] === void 0 || buf[offset + byteLength3] === void 0) { | |
| boundsError(offset, buf.length - (byteLength3 + 1)); | |
| } | |
| } | |
| function checkIntBI(value2, min, max, buf, offset, byteLength3) { | |
| if (value2 > max || value2 < min) { | |
| const n2 = typeof min === "bigint" ? "n" : ""; | |
| let range; | |
| { | |
| if (min === 0 || min === BigInt(0)) { | |
| range = `>= 0${n2} and < 2${n2} ** ${(byteLength3 + 1) * 8}${n2}`; | |
| } else { | |
| range = `>= -(2${n2} ** ${(byteLength3 + 1) * 8 - 1}${n2}) and < 2 ** ${(byteLength3 + 1) * 8 - 1}${n2}`; | |
| } | |
| } | |
| throw new errors.ERR_OUT_OF_RANGE("value", range, value2); | |
| } | |
| checkBounds(buf, offset, byteLength3); | |
| } | |
| function validateNumber(value2, name) { | |
| if (typeof value2 !== "number") { | |
| throw new errors.ERR_INVALID_ARG_TYPE(name, "number", value2); | |
| } | |
| } | |
| function boundsError(value2, length, type) { | |
| if (Math.floor(value2) !== value2) { | |
| validateNumber(value2, type); | |
| throw new errors.ERR_OUT_OF_RANGE("offset", "an integer", value2); | |
| } | |
| if (length < 0) { | |
| throw new errors.ERR_BUFFER_OUT_OF_BOUNDS(); | |
| } | |
| throw new errors.ERR_OUT_OF_RANGE( | |
| "offset", | |
| `>= ${0} and <= ${length}`, | |
| value2 | |
| ); | |
| } | |
| const INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g; | |
| function base64clean(str) { | |
| str = str.split("=")[0]; | |
| str = str.trim().replace(INVALID_BASE64_RE, ""); | |
| if (str.length < 2) return ""; | |
| while (str.length % 4 !== 0) { | |
| str = str + "="; | |
| } | |
| return str; | |
| } | |
| function utf8ToBytes2(string2, units) { | |
| units = units || Infinity; | |
| let codePoint; | |
| const length = string2.length; | |
| let leadSurrogate = null; | |
| const bytes = []; | |
| for (let i2 = 0; i2 < length; ++i2) { | |
| codePoint = string2.charCodeAt(i2); | |
| if (codePoint > 55295 && codePoint < 57344) { | |
| if (!leadSurrogate) { | |
| if (codePoint > 56319) { | |
| if ((units -= 3) > -1) bytes.push(239, 191, 189); | |
| continue; | |
| } else if (i2 + 1 === length) { | |
| if ((units -= 3) > -1) bytes.push(239, 191, 189); | |
| continue; | |
| } | |
| leadSurrogate = codePoint; | |
| continue; | |
| } | |
| if (codePoint < 56320) { | |
| if ((units -= 3) > -1) bytes.push(239, 191, 189); | |
| leadSurrogate = codePoint; | |
| continue; | |
| } | |
| codePoint = (leadSurrogate - 55296 << 10 | codePoint - 56320) + 65536; | |
| } else if (leadSurrogate) { | |
| if ((units -= 3) > -1) bytes.push(239, 191, 189); | |
| } | |
| leadSurrogate = null; | |
| if (codePoint < 128) { | |
| if ((units -= 1) < 0) break; | |
| bytes.push(codePoint); | |
| } else if (codePoint < 2048) { | |
| if ((units -= 2) < 0) break; | |
| bytes.push( | |
| codePoint >> 6 | 192, | |
| codePoint & 63 | 128 | |
| ); | |
| } else if (codePoint < 65536) { | |
| if ((units -= 3) < 0) break; | |
| bytes.push( | |
| codePoint >> 12 | 224, | |
| codePoint >> 6 & 63 | 128, | |
| codePoint & 63 | 128 | |
| ); | |
| } else if (codePoint < 1114112) { | |
| if ((units -= 4) < 0) break; | |
| bytes.push( | |
| codePoint >> 18 | 240, | |
| codePoint >> 12 & 63 | 128, | |
| codePoint >> 6 & 63 | 128, | |
| codePoint & 63 | 128 | |
| ); | |
| } else { | |
| throw new Error("Invalid code point"); | |
| } | |
| } | |
| return bytes; | |
| } | |
| function asciiToBytes(str) { | |
| const byteArray = []; | |
| for (let i2 = 0; i2 < str.length; ++i2) { | |
| byteArray.push(str.charCodeAt(i2) & 255); | |
| } | |
| return byteArray; | |
| } | |
| function utf16leToBytes(str, units) { | |
| let c2, hi2, lo2; | |
| const byteArray = []; | |
| for (let i2 = 0; i2 < str.length; ++i2) { | |
| if ((units -= 2) < 0) break; | |
| c2 = str.charCodeAt(i2); | |
| hi2 = c2 >> 8; | |
| lo2 = c2 % 256; | |
| byteArray.push(lo2); | |
| byteArray.push(hi2); | |
| } | |
| return byteArray; | |
| } | |
| function base64ToBytes(str) { | |
| return base642.toByteArray(base64clean(str)); | |
| } | |
| function blitBuffer(src2, dst, offset, length) { | |
| let i2; | |
| for (i2 = 0; i2 < length; ++i2) { | |
| if (i2 + offset >= dst.length || i2 >= src2.length) break; | |
| dst[i2 + offset] = src2[i2]; | |
| } | |
| return i2; | |
| } | |
| function isInstance(obj, type) { | |
| return obj instanceof type || obj != null && obj.constructor != null && obj.constructor.name != null && obj.constructor.name === type.name; | |
| } | |
| function numberIsNaN(obj) { | |
| return obj !== obj; | |
| } | |
| const hexSliceLookupTable = function() { | |
| const alphabet2 = "0123456789abcdef"; | |
| const table = new Array(256); | |
| for (let i2 = 0; i2 < 16; ++i2) { | |
| const i16 = i2 * 16; | |
| for (let j2 = 0; j2 < 16; ++j2) { | |
| table[i16 + j2] = alphabet2[i2] + alphabet2[j2]; | |
| } | |
| } | |
| return table; | |
| }(); | |
| function defineBigIntMethod(fn2) { | |
| return typeof BigInt === "undefined" ? BufferBigIntNotDefined : fn2; | |
| } | |
| function BufferBigIntNotDefined() { | |
| throw new Error("BigInt not supported"); | |
| } | |
| })(buffer$1); | |
| return buffer$1; | |
| } | |
| var bufferExports = requireBuffer(); | |
| if (typeof window !== "undefined") { | |
| window.global = globalThis; | |
| if (!window.Buffer && typeof window.Buffer === "undefined") { | |
| Object.assign(window, { Buffer: bufferExports.Buffer }); | |
| } | |
| } | |
| const logger$8 = new Logger$1("utils"); | |
| const ceil = (value2, precision = 0) => { | |
| const multiplier = Math.pow(10, precision); | |
| return Math.ceil(value2 * multiplier) / multiplier; | |
| }; | |
| class DeferredPromise { | |
| constructor() { | |
| this.promise = new Promise((resolve, reject) => { | |
| this.resolve = resolve; | |
| this.reject = reject; | |
| }); | |
| } | |
| } | |
| const isEip9693Event = (event) => event.type === "eip6963:announceProvider" && event.detail !== void 0; | |
| const listenToEip6963Events = (handler) => { | |
| const eventHandler = (event) => { | |
| if (!isEip9693Event(event)) { | |
| return; | |
| } | |
| handler(event); | |
| }; | |
| window.addEventListener("eip6963:announceProvider", eventHandler); | |
| return () => { | |
| window.removeEventListener("eip6963:announceProvider", eventHandler); | |
| }; | |
| }; | |
| class Eip6963Provider { | |
| constructor() { | |
| this.providers = []; | |
| } | |
| registerProviders() { | |
| if (typeof window === "undefined") { | |
| return; | |
| } | |
| listenToEip6963Events((event) => { | |
| this.providers.push(event.detail); | |
| }); | |
| window.dispatchEvent(new Event("eip6963:requestProvider")); | |
| } | |
| } | |
| class Eip6963ProviderSingleton { | |
| constructor() { | |
| this.eip6963Provider = new Eip6963Provider(); | |
| } | |
| static get() { | |
| var _a2; | |
| if (!((_a2 = Eip6963ProviderSingleton.instance) === null || _a2 === void 0 ? void 0 : _a2.eip6963Provider)) { | |
| Eip6963ProviderSingleton.instance = new Eip6963ProviderSingleton(); | |
| Eip6963ProviderSingleton.instance.eip6963Provider.registerProviders(); | |
| } | |
| return Eip6963ProviderSingleton.instance.eip6963Provider; | |
| } | |
| } | |
| class CustomError extends Error { | |
| constructor(message, code) { | |
| super(message); | |
| this.code = void 0; | |
| this.code = code; | |
| Object.setPrototypeOf(this, this.constructor.prototype); | |
| } | |
| toJSON() { | |
| return { | |
| code: this.code, | |
| error: this.message | |
| }; | |
| } | |
| } | |
| class DynamicError extends CustomError { | |
| } | |
| class AccountExistsError extends DynamicError { | |
| constructor(errorMessage, errorPayload) { | |
| super(errorMessage); | |
| this.errorMessage = errorMessage; | |
| this.errorPayload = errorPayload; | |
| } | |
| } | |
| class ChainalysisError extends DynamicError { | |
| constructor(walletPublicKey) { | |
| super("This address is not approved for access"); | |
| this.walletPublicKey = walletPublicKey; | |
| } | |
| } | |
| class SandboxMaximumThresholdReachedError extends DynamicError { | |
| constructor(errorMessage) { | |
| super(errorMessage); | |
| this.errorMessage = errorMessage; | |
| } | |
| } | |
| class EmailAlreadyExistsError extends DynamicError { | |
| constructor() { | |
| super("Email already exists"); | |
| } | |
| } | |
| class EmailProviderError extends DynamicError { | |
| constructor(code) { | |
| super("EmailProviderError", code); | |
| } | |
| } | |
| class EmailVerificationError extends DynamicError { | |
| constructor(code) { | |
| super("EmailVerificationError", code); | |
| } | |
| } | |
| var ErrorCode; | |
| (function(ErrorCode2) { | |
| ErrorCode2[ErrorCode2["UNKNOWN"] = 0] = "UNKNOWN"; | |
| ErrorCode2[ErrorCode2["DEFAULT"] = 1] = "DEFAULT"; | |
| ErrorCode2[ErrorCode2["USER_REJECTED"] = 2] = "USER_REJECTED"; | |
| ErrorCode2[ErrorCode2["MESSAGE_SIGNATURE_DENIED"] = 3] = "MESSAGE_SIGNATURE_DENIED"; | |
| ErrorCode2[ErrorCode2["WALLET_LOCKED"] = 4] = "WALLET_LOCKED"; | |
| ErrorCode2[ErrorCode2["INVALID_PARAMETERS"] = 5] = "INVALID_PARAMETERS"; | |
| ErrorCode2[ErrorCode2["INTERNAL_ERROR"] = 6] = "INTERNAL_ERROR"; | |
| ErrorCode2[ErrorCode2["ACCOUNT_ALREADY_LINKED_TO_DIFFERENT_PROFILE"] = 7] = "ACCOUNT_ALREADY_LINKED_TO_DIFFERENT_PROFILE"; | |
| ErrorCode2[ErrorCode2["CONNECTION_REJECTED"] = 8] = "CONNECTION_REJECTED"; | |
| ErrorCode2[ErrorCode2["MISSING_PUBLIC_ADDRESS"] = 9] = "MISSING_PUBLIC_ADDRESS"; | |
| ErrorCode2[ErrorCode2["CONNECTION_PROPOSAL_EXPIRED"] = 10] = "CONNECTION_PROPOSAL_EXPIRED"; | |
| })(ErrorCode || (ErrorCode = {})); | |
| class GateBlockedError extends DynamicError { | |
| constructor(walletPublicKey) { | |
| super("This address is blocked by the gate"); | |
| this.walletPublicKey = walletPublicKey; | |
| } | |
| } | |
| let InsufficientFundsError$1 = class InsufficientFundsError2 extends DynamicError { | |
| constructor() { | |
| super(InsufficientFundsError2.message); | |
| } | |
| static isInstance(err) { | |
| var _a2; | |
| const error = ((_a2 = err === null || err === void 0 ? void 0 : err.walk) === null || _a2 === void 0 ? void 0 : _a2.call(err)) || err; | |
| return error instanceof InsufficientFundsError2; | |
| } | |
| static isErrorMessage(err) { | |
| var _a2; | |
| const errorWithMessage = err; | |
| return ((_a2 = errorWithMessage === null || errorWithMessage === void 0 ? void 0 : errorWithMessage.message) === null || _a2 === void 0 ? void 0 : _a2.includes("AA21 didn't pay prefund")) || false; | |
| } | |
| }; | |
| InsufficientFundsError$1.message = "Insufficient funds."; | |
| const metaMaskErrorMap = { | |
| 4001: ErrorCode.USER_REJECTED | |
| }; | |
| class MetaMaskError extends CustomError { | |
| constructor(message, code) { | |
| super(message, code); | |
| } | |
| /** | |
| * Creates a [MetaMaskError] from an unknown error (thrown by MetaMask) | |
| * | |
| * @param error - The error to create the [MetaMaskError] from | |
| * @returns A new [MetaMaskError] | |
| */ | |
| static fromError(error) { | |
| var _a2, _b; | |
| if (error instanceof Object) { | |
| const errorObject = error; | |
| const dynamicErrorCode = (_b = metaMaskErrorMap[(_a2 = errorObject.code) !== null && _a2 !== void 0 ? _a2 : ""]) !== null && _b !== void 0 ? _b : ErrorCode.DEFAULT; | |
| return new MetaMaskError(errorObject.message, dynamicErrorCode); | |
| } | |
| return new MetaMaskError(String(error), ErrorCode.DEFAULT); | |
| } | |
| } | |
| class MissingEnvironmentIdError extends DynamicError { | |
| constructor() { | |
| super("You are missing the environmentId field in yours DynamicContextProvider settings prop"); | |
| } | |
| } | |
| class MissingPublicAddressError extends DynamicError { | |
| constructor() { | |
| super("Missing public address", "missing-public-address"); | |
| } | |
| } | |
| class NoAccessError extends DynamicError { | |
| constructor({ walletPublicKey, email, phoneNumber, socialProvider, socialUsername }) { | |
| super("User does not have access"); | |
| this.email = email; | |
| this.walletPublicKey = walletPublicKey; | |
| this.phoneNumber = phoneNumber; | |
| this.socialProvider = socialProvider; | |
| this.socialUsername = socialUsername; | |
| } | |
| } | |
| class SmsVerificationError extends DynamicError { | |
| } | |
| class SocialAccountAlreadyExistsError extends DynamicError { | |
| constructor() { | |
| super("Social account already exists"); | |
| } | |
| } | |
| class TransactionGasCannotBeSponsoredError extends DynamicError { | |
| constructor() { | |
| super(TransactionGasCannotBeSponsoredError.message); | |
| } | |
| static isInstance(err) { | |
| var _a2; | |
| const error = ((_a2 = err === null || err === void 0 ? void 0 : err.walk) === null || _a2 === void 0 ? void 0 : _a2.call(err)) || err; | |
| return error instanceof TransactionGasCannotBeSponsoredError; | |
| } | |
| static isErrorMessage(err) { | |
| var _a2; | |
| const errorWithMessage = err; | |
| return ((_a2 = errorWithMessage === null || errorWithMessage === void 0 ? void 0 : errorWithMessage.message) === null || _a2 === void 0 ? void 0 : _a2.includes("userOp did not match any gas sponsoring policies")) || false; | |
| } | |
| } | |
| TransactionGasCannotBeSponsoredError.message = "Transaction gas cannot be sponsored."; | |
| class UserHasAccountWithEmailError extends DynamicError { | |
| constructor(error) { | |
| super(error); | |
| this.error = error; | |
| } | |
| } | |
| class UsernameAlreadyExistsError extends DynamicError { | |
| constructor() { | |
| super("Username already exists"); | |
| } | |
| } | |
| class WalletNotDeployedError extends DynamicError { | |
| constructor() { | |
| super("Wallet has not been deployed", "wallet_not_deployed"); | |
| } | |
| } | |
| class WalletUsedError extends DynamicError { | |
| constructor(code) { | |
| super("WalletUsedError", code); | |
| } | |
| } | |
| class UserRejectedTransactionError extends DynamicError { | |
| constructor() { | |
| super("user rejected transaction"); | |
| } | |
| } | |
| class TooManyEmailVerificationsError extends DynamicError { | |
| constructor() { | |
| super("Too many email verification attempts."); | |
| } | |
| } | |
| class VerificationDataCollectionError extends DynamicError { | |
| constructor(message) { | |
| super("Failed to get verification data: " + message); | |
| } | |
| } | |
| class InvalidPhoneNumberError extends DynamicError { | |
| constructor(error) { | |
| super(error !== null && error !== void 0 ? error : "Invalid phone number."); | |
| } | |
| } | |
| class MergeAccountsConfirmationError extends DynamicError { | |
| constructor({ code, mergeConflicts, walletAddress }) { | |
| super("MergeAccountsConfirmationError", code); | |
| this.mergeConflicts = mergeConflicts; | |
| this.walletAddress = walletAddress; | |
| } | |
| } | |
| class CustomFieldNotUniqueError extends DynamicError { | |
| constructor() { | |
| super("Custom Field for user must be unique within the environment", "custom_field_data_not_unique"); | |
| } | |
| } | |
| class CookieInvalidError extends DynamicError { | |
| constructor() { | |
| super("The cookie is invalid or expired"); | |
| } | |
| } | |
| class AccessBlockedError extends DynamicError { | |
| } | |
| class EmbeddedWalletException extends DynamicError { | |
| constructor(message) { | |
| super(message); | |
| } | |
| } | |
| class MfaInvalidOtpError extends DynamicError { | |
| constructor() { | |
| super("Invalid code"); | |
| } | |
| } | |
| class MfaRateLimitedError extends DynamicError { | |
| constructor() { | |
| super("Rate limit reached"); | |
| } | |
| } | |
| class WalletAddressMismatchError extends DynamicError { | |
| constructor(message, { activeAddress, expectedAddress, walletName }) { | |
| super(message, "wallet_address_mismatch_error"); | |
| this.expectedAddress = expectedAddress; | |
| this.activeAddress = activeAddress; | |
| this.walletName = walletName; | |
| } | |
| } | |
| let UserRejectedRequestError$1 = class UserRejectedRequestError extends DynamicError { | |
| constructor() { | |
| super("User rejected request", "user_rejected_request"); | |
| } | |
| }; | |
| class InvalidEmbeddedWalletSessionKeyError extends DynamicError { | |
| constructor(error) { | |
| super(error !== null && error !== void 0 ? error : "Invalid embedded wallet session key."); | |
| } | |
| } | |
| class EmbeddedWalletExistsError extends DynamicError { | |
| constructor(code) { | |
| super("EmbeddedWalletExistsError", code); | |
| } | |
| } | |
| const createEventTimeline = () => { | |
| const eventTimelines = /* @__PURE__ */ new Map(); | |
| return { | |
| clear: () => { | |
| eventTimelines.clear(); | |
| }, | |
| isEventRecent: (eventName, timeSince) => { | |
| const now = Date.now(); | |
| let timestamps = eventTimelines.get(eventName); | |
| if (!timestamps) { | |
| return false; | |
| } | |
| const cutoff = now - timeSince; | |
| timestamps = timestamps.filter((timestamp) => timestamp >= cutoff); | |
| return timestamps.length > 0; | |
| }, | |
| postEvent: (event) => { | |
| var _a2; | |
| const now = Date.now(); | |
| if (!eventTimelines.has(event)) { | |
| eventTimelines.set(event, []); | |
| } | |
| (_a2 = eventTimelines.get(event)) === null || _a2 === void 0 ? void 0 : _a2.push(now); | |
| } | |
| }; | |
| }; | |
| const trimEnd = (text, char = "") => { | |
| let endIndex = text.length - 1; | |
| while (endIndex >= 0 && text[endIndex] === char) { | |
| endIndex--; | |
| } | |
| return text.slice(0, endIndex + 1); | |
| }; | |
| const formatNumberText = (value2, { precision = 0 } = {}) => { | |
| if (!precision) { | |
| return value2; | |
| } | |
| const floatValue = parseFloat(value2); | |
| const formattedAtPrecision = ceil(floatValue, precision).toFixed(precision); | |
| const [integerPart, decimalPart] = formattedAtPrecision.split("."); | |
| const decimalPartTrimmed = trimEnd(decimalPart, "0"); | |
| return `${integerPart}.${decimalPartTrimmed || "0"}`; | |
| }; | |
| const getProvidersFromWindow = (path) => { | |
| const splitPath = path.split("."); | |
| let result = window; | |
| const foundProviders = []; | |
| for (const [index2, p2] of Object.entries(splitPath)) { | |
| result = result[p2]; | |
| if (typeof result !== "object" || result === null) { | |
| return []; | |
| } | |
| if (Number(index2) === splitPath.length - 1) { | |
| if (Array.isArray(result)) { | |
| result.forEach((p3) => foundProviders.push(p3)); | |
| } else { | |
| if (result.providers) { | |
| result.providers.forEach((p3) => foundProviders.push(p3)); | |
| } else { | |
| foundProviders.push(result); | |
| } | |
| } | |
| } | |
| } | |
| return foundProviders; | |
| }; | |
| function __awaiter$c(thisArg, _arguments, P2, generator) { | |
| function adopt(value2) { | |
| return value2 instanceof P2 ? value2 : new P2(function(resolve) { | |
| resolve(value2); | |
| }); | |
| } | |
| return new (P2 || (P2 = Promise))(function(resolve, reject) { | |
| function fulfilled(value2) { | |
| try { | |
| step2(generator.next(value2)); | |
| } catch (e2) { | |
| reject(e2); | |
| } | |
| } | |
| function rejected(value2) { | |
| try { | |
| step2(generator["throw"](value2)); | |
| } catch (e2) { | |
| reject(e2); | |
| } | |
| } | |
| function step2(result) { | |
| result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); | |
| } | |
| step2((generator = generator.apply(thisArg, _arguments || [])).next()); | |
| }); | |
| } | |
| function __classPrivateFieldGet$4(receiver, state2, kind, f2) { | |
| if (typeof state2 === "function" ? receiver !== state2 || !f2 : !state2.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); | |
| return kind === "m" ? f2 : kind === "a" ? f2.call(receiver) : f2 ? f2.value : state2.get(receiver); | |
| } | |
| function __classPrivateFieldSet$3(receiver, state2, value2, kind, f2) { | |
| if (typeof state2 === "function" ? receiver !== state2 || !f2 : !state2.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it"); | |
| return f2 ? f2.value = value2 : state2.set(receiver, value2), value2; | |
| } | |
| typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) { | |
| var e2 = new Error(message); | |
| return e2.name = "SuppressedError", e2.error = error, e2.suppressed = suppressed, e2; | |
| }; | |
| function shareSameDomainSuffix(hostname, vhost) { | |
| if (hostname.endsWith(vhost)) { | |
| return hostname.length === vhost.length || hostname[hostname.length - vhost.length - 1] === "."; | |
| } | |
| return false; | |
| } | |
| function extractDomainWithSuffix(hostname, publicSuffix) { | |
| const publicSuffixIndex = hostname.length - publicSuffix.length - 2; | |
| const lastDotBeforeSuffixIndex = hostname.lastIndexOf(".", publicSuffixIndex); | |
| if (lastDotBeforeSuffixIndex === -1) { | |
| return hostname; | |
| } | |
| return hostname.slice(lastDotBeforeSuffixIndex + 1); | |
| } | |
| function getDomain(suffix, hostname, options) { | |
| if (options.validHosts !== null) { | |
| const validHosts = options.validHosts; | |
| for (const vhost of validHosts) { | |
| if ( | |
| /*@__INLINE__*/ | |
| shareSameDomainSuffix(hostname, vhost) | |
| ) { | |
| return vhost; | |
| } | |
| } | |
| } | |
| let numberOfLeadingDots = 0; | |
| if (hostname.startsWith(".")) { | |
| while (numberOfLeadingDots < hostname.length && hostname[numberOfLeadingDots] === ".") { | |
| numberOfLeadingDots += 1; | |
| } | |
| } | |
| if (suffix.length === hostname.length - numberOfLeadingDots) { | |
| return null; | |
| } | |
| return ( | |
| /*@__INLINE__*/ | |
| extractDomainWithSuffix(hostname, suffix) | |
| ); | |
| } | |
| function getDomainWithoutSuffix(domain, suffix) { | |
| return domain.slice(0, -suffix.length - 1); | |
| } | |
| function extractHostname(url2, urlIsValidHostname) { | |
| let start = 0; | |
| let end = url2.length; | |
| let hasUpper = false; | |
| if (!urlIsValidHostname) { | |
| if (url2.startsWith("data:")) { | |
| return null; | |
| } | |
| while (start < url2.length && url2.charCodeAt(start) <= 32) { | |
| start += 1; | |
| } | |
| while (end > start + 1 && url2.charCodeAt(end - 1) <= 32) { | |
| end -= 1; | |
| } | |
| if (url2.charCodeAt(start) === 47 && url2.charCodeAt(start + 1) === 47) { | |
| start += 2; | |
| } else { | |
| const indexOfProtocol = url2.indexOf(":/", start); | |
| if (indexOfProtocol !== -1) { | |
| const protocolSize = indexOfProtocol - start; | |
| const c0 = url2.charCodeAt(start); | |
| const c1 = url2.charCodeAt(start + 1); | |
| const c2 = url2.charCodeAt(start + 2); | |
| const c3 = url2.charCodeAt(start + 3); | |
| const c4 = url2.charCodeAt(start + 4); | |
| if (protocolSize === 5 && c0 === 104 && c1 === 116 && c2 === 116 && c3 === 112 && c4 === 115) ; | |
| else if (protocolSize === 4 && c0 === 104 && c1 === 116 && c2 === 116 && c3 === 112) ; | |
| else if (protocolSize === 3 && c0 === 119 && c1 === 115 && c2 === 115) ; | |
| else if (protocolSize === 2 && c0 === 119 && c1 === 115) ; | |
| else { | |
| for (let i2 = start; i2 < indexOfProtocol; i2 += 1) { | |
| const lowerCaseCode = url2.charCodeAt(i2) | 32; | |
| if (!(lowerCaseCode >= 97 && lowerCaseCode <= 122 || // [a, z] | |
| lowerCaseCode >= 48 && lowerCaseCode <= 57 || // [0, 9] | |
| lowerCaseCode === 46 || // '.' | |
| lowerCaseCode === 45 || // '-' | |
| lowerCaseCode === 43)) { | |
| return null; | |
| } | |
| } | |
| } | |
| start = indexOfProtocol + 2; | |
| while (url2.charCodeAt(start) === 47) { | |
| start += 1; | |
| } | |
| } | |
| } | |
| let indexOfIdentifier = -1; | |
| let indexOfClosingBracket = -1; | |
| let indexOfPort = -1; | |
| for (let i2 = start; i2 < end; i2 += 1) { | |
| const code = url2.charCodeAt(i2); | |
| if (code === 35 || // '#' | |
| code === 47 || // '/' | |
| code === 63) { | |
| end = i2; | |
| break; | |
| } else if (code === 64) { | |
| indexOfIdentifier = i2; | |
| } else if (code === 93) { | |
| indexOfClosingBracket = i2; | |
| } else if (code === 58) { | |
| indexOfPort = i2; | |
| } else if (code >= 65 && code <= 90) { | |
| hasUpper = true; | |
| } | |
| } | |
| if (indexOfIdentifier !== -1 && indexOfIdentifier > start && indexOfIdentifier < end) { | |
| start = indexOfIdentifier + 1; | |
| } | |
| if (url2.charCodeAt(start) === 91) { | |
| if (indexOfClosingBracket !== -1) { | |
| return url2.slice(start + 1, indexOfClosingBracket).toLowerCase(); | |
| } | |
| return null; | |
| } else if (indexOfPort !== -1 && indexOfPort > start && indexOfPort < end) { | |
| end = indexOfPort; | |
| } | |
| } | |
| while (end > start + 1 && url2.charCodeAt(end - 1) === 46) { | |
| end -= 1; | |
| } | |
| const hostname = start !== 0 || end !== url2.length ? url2.slice(start, end) : url2; | |
| if (hasUpper) { | |
| return hostname.toLowerCase(); | |
| } | |
| return hostname; | |
| } | |
| function isProbablyIpv4(hostname) { | |
| if (hostname.length < 7) { | |
| return false; | |
| } | |
| if (hostname.length > 15) { | |
| return false; | |
| } | |
| let numberOfDots = 0; | |
| for (let i2 = 0; i2 < hostname.length; i2 += 1) { | |
| const code = hostname.charCodeAt(i2); | |
| if (code === 46) { | |
| numberOfDots += 1; | |
| } else if (code < 48 || code > 57) { | |
| return false; | |
| } | |
| } | |
| return numberOfDots === 3 && hostname.charCodeAt(0) !== 46 && hostname.charCodeAt(hostname.length - 1) !== 46; | |
| } | |
| function isProbablyIpv6(hostname) { | |
| if (hostname.length < 3) { | |
| return false; | |
| } | |
| let start = hostname.startsWith("[") ? 1 : 0; | |
| let end = hostname.length; | |
| if (hostname[end - 1] === "]") { | |
| end -= 1; | |
| } | |
| if (end - start > 39) { | |
| return false; | |
| } | |
| let hasColon = false; | |
| for (; start < end; start += 1) { | |
| const code = hostname.charCodeAt(start); | |
| if (code === 58) { | |
| hasColon = true; | |
| } else if (!(code >= 48 && code <= 57 || // 0-9 | |
| code >= 97 && code <= 102 || // a-f | |
| code >= 65 && code <= 90)) { | |
| return false; | |
| } | |
| } | |
| return hasColon; | |
| } | |
| function isIp(hostname) { | |
| return isProbablyIpv6(hostname) || isProbablyIpv4(hostname); | |
| } | |
| function isValidAscii(code) { | |
| return code >= 97 && code <= 122 || code >= 48 && code <= 57 || code > 127; | |
| } | |
| function isValidHostname(hostname) { | |
| if (hostname.length > 255) { | |
| return false; | |
| } | |
| if (hostname.length === 0) { | |
| return false; | |
| } | |
| if ( | |
| /*@__INLINE__*/ | |
| !isValidAscii(hostname.charCodeAt(0)) && hostname.charCodeAt(0) !== 46 && // '.' (dot) | |
| hostname.charCodeAt(0) !== 95 | |
| ) { | |
| return false; | |
| } | |
| let lastDotIndex = -1; | |
| let lastCharCode = -1; | |
| const len = hostname.length; | |
| for (let i2 = 0; i2 < len; i2 += 1) { | |
| const code = hostname.charCodeAt(i2); | |
| if (code === 46) { | |
| if ( | |
| // Check that previous label is < 63 bytes long (64 = 63 + '.') | |
| i2 - lastDotIndex > 64 || // Check that previous character was not already a '.' | |
| lastCharCode === 46 || // Check that the previous label does not end with a '-' (dash) | |
| lastCharCode === 45 || // Check that the previous label does not end with a '_' (underscore) | |
| lastCharCode === 95 | |
| ) { | |
| return false; | |
| } | |
| lastDotIndex = i2; | |
| } else if (!/*@__INLINE__*/ | |
| (isValidAscii(code) || code === 45 || code === 95)) { | |
| return false; | |
| } | |
| lastCharCode = code; | |
| } | |
| return ( | |
| // Check that last label is shorter than 63 chars | |
| len - lastDotIndex - 1 <= 63 && // Check that the last character is an allowed trailing label character. | |
| // Since we already checked that the char is a valid hostname character, | |
| // we only need to check that it's different from '-'. | |
| lastCharCode !== 45 | |
| ); | |
| } | |
| function setDefaultsImpl({ allowIcannDomains = true, allowPrivateDomains = false, detectIp = true, extractHostname: extractHostname2 = true, mixedInputs = true, validHosts = null, validateHostname = true }) { | |
| return { | |
| allowIcannDomains, | |
| allowPrivateDomains, | |
| detectIp, | |
| extractHostname: extractHostname2, | |
| mixedInputs, | |
| validHosts, | |
| validateHostname | |
| }; | |
| } | |
| const DEFAULT_OPTIONS = ( | |
| /*@__INLINE__*/ | |
| setDefaultsImpl({}) | |
| ); | |
| function setDefaults$1(options) { | |
| if (options === void 0) { | |
| return DEFAULT_OPTIONS; | |
| } | |
| return ( | |
| /*@__INLINE__*/ | |
| setDefaultsImpl(options) | |
| ); | |
| } | |
| function getSubdomain(hostname, domain) { | |
| if (domain.length === hostname.length) { | |
| return ""; | |
| } | |
| return hostname.slice(0, -domain.length - 1); | |
| } | |
| function getEmptyResult() { | |
| return { | |
| domain: null, | |
| domainWithoutSuffix: null, | |
| hostname: null, | |
| isIcann: null, | |
| isIp: null, | |
| isPrivate: null, | |
| publicSuffix: null, | |
| subdomain: null | |
| }; | |
| } | |
| function parseImpl(url2, step2, suffixLookup2, partialOptions, result) { | |
| const options = ( | |
| /*@__INLINE__*/ | |
| setDefaults$1(partialOptions) | |
| ); | |
| if (typeof url2 !== "string") { | |
| return result; | |
| } | |
| if (!options.extractHostname) { | |
| result.hostname = url2; | |
| } else if (options.mixedInputs) { | |
| result.hostname = extractHostname(url2, isValidHostname(url2)); | |
| } else { | |
| result.hostname = extractHostname(url2, false); | |
| } | |
| if (result.hostname === null) { | |
| return result; | |
| } | |
| if (options.detectIp) { | |
| result.isIp = isIp(result.hostname); | |
| if (result.isIp) { | |
| return result; | |
| } | |
| } | |
| if (options.validateHostname && options.extractHostname && !isValidHostname(result.hostname)) { | |
| result.hostname = null; | |
| return result; | |
| } | |
| suffixLookup2(result.hostname, options, result); | |
| if (result.publicSuffix === null) { | |
| return result; | |
| } | |
| result.domain = getDomain(result.publicSuffix, result.hostname, options); | |
| if (result.domain === null) { | |
| return result; | |
| } | |
| result.subdomain = getSubdomain(result.hostname, result.domain); | |
| result.domainWithoutSuffix = getDomainWithoutSuffix(result.domain, result.publicSuffix); | |
| return result; | |
| } | |
| function fastPathLookup(hostname, options, out) { | |
| if (!options.allowPrivateDomains && hostname.length > 3) { | |
| const last = hostname.length - 1; | |
| const c3 = hostname.charCodeAt(last); | |
| const c2 = hostname.charCodeAt(last - 1); | |
| const c1 = hostname.charCodeAt(last - 2); | |
| const c0 = hostname.charCodeAt(last - 3); | |
| if (c3 === 109 && c2 === 111 && c1 === 99 && c0 === 46) { | |
| out.isIcann = true; | |
| out.isPrivate = false; | |
| out.publicSuffix = "com"; | |
| return true; | |
| } else if (c3 === 103 && c2 === 114 && c1 === 111 && c0 === 46) { | |
| out.isIcann = true; | |
| out.isPrivate = false; | |
| out.publicSuffix = "org"; | |
| return true; | |
| } else if (c3 === 117 && c2 === 100 && c1 === 101 && c0 === 46) { | |
| out.isIcann = true; | |
| out.isPrivate = false; | |
| out.publicSuffix = "edu"; | |
| return true; | |
| } else if (c3 === 118 && c2 === 111 && c1 === 103 && c0 === 46) { | |
| out.isIcann = true; | |
| out.isPrivate = false; | |
| out.publicSuffix = "gov"; | |
| return true; | |
| } else if (c3 === 116 && c2 === 101 && c1 === 110 && c0 === 46) { | |
| out.isIcann = true; | |
| out.isPrivate = false; | |
| out.publicSuffix = "net"; | |
| return true; | |
| } else if (c3 === 101 && c2 === 100 && c1 === 46) { | |
| out.isIcann = true; | |
| out.isPrivate = false; | |
| out.publicSuffix = "de"; | |
| return true; | |
| } | |
| } | |
| return false; | |
| } | |
| const exceptions = /* @__PURE__ */ function() { | |
| const _0 = [1, {}], _12 = [0, { "city": _0 }]; | |
| const exceptions2 = [0, { "ck": [0, { "www": _0 }], "jp": [0, { "kawasaki": _12, "kitakyushu": _12, "kobe": _12, "nagoya": _12, "sapporo": _12, "sendai": _12, "yokohama": _12 }] }]; | |
| return exceptions2; | |
| }(); | |
| const rules = /* @__PURE__ */ function() { | |
| const _2 = [1, {}], _3 = [2, {}], _4 = [1, { "gov": _2, "com": _2, "org": _2, "net": _2, "edu": _2 }], _5 = [0, { "*": _3 }], _6 = [1, { "blogspot": _3 }], _7 = [1, { "gov": _2 }], _8 = [0, { "*": _2 }], _9 = [0, { "cloud": _3 }], _10 = [1, { "co": _3 }], _11 = [2, { "nodes": _3 }], _12 = [0, { "s3": _3 }], _13 = [0, { "direct": _3 }], _14 = [2, { "id": _3 }], _15 = [0, { "webview-assets": _3 }], _16 = [0, { "vfs": _3, "webview-assets": _3 }], _17 = [0, { "aws-cloud9": _15, "cloud9": _16 }], _18 = [0, { "dualstack": _12, "analytics-gateway": _3, "aws-cloud9": _15, "cloud9": _16 }], _19 = [0, { "dualstack": _12, "s3": _3, "s3-website": _3, "aws-cloud9": _15, "cloud9": _16 }], _20 = [0, { "dualstack": _12, "aws-cloud9": _15, "cloud9": _16 }], _21 = [0, { "apps": _3 }], _22 = [0, { "paas": _3 }], _23 = [0, { "app": _3 }], _24 = [2, { "eu": _3 }], _25 = [0, { "site": _3 }], _26 = [0, { "pages": _3 }], _27 = [1, { "com": _2, "edu": _2, "net": _2, "org": _2 }], _28 = [0, { "j": _3 }], _29 = [0, { "jelastic": _3 }], _30 = [0, { "user": _3 }], _31 = [1, { "ybo": _3 }], _32 = [0, { "cust": _3, "reservd": _3 }], _33 = [0, { "cust": _3 }], _34 = [1, { "gov": _2, "edu": _2, "mil": _2, "com": _2, "org": _2, "net": _2 }], _35 = [1, { "edu": _2, "biz": _2, "net": _2, "org": _2, "gov": _2, "info": _2, "com": _2 }], _36 = [1, { "gov": _2, "blogspot": _3 }], _37 = [1, { "framer": _3 }], _38 = [1, { "barsy": _3 }], _39 = [0, { "forgot": _3 }], _40 = [1, { "gs": _2 }], _41 = [0, { "nes": _2 }], _42 = [1, { "k12": _2, "cc": _2, "lib": _2 }], _43 = [1, { "cc": _2, "lib": _2 }]; | |
| const rules2 = [0, { "ac": [1, { "com": _2, "edu": _2, "gov": _2, "net": _2, "mil": _2, "org": _2, "drr": _3 }], "ad": [1, { "nom": _2 }], "ae": [1, { "co": _2, "net": _2, "org": _2, "sch": _2, "ac": _2, "gov": _2, "mil": _2, "blogspot": _3 }], "aero": [1, { "accident-investigation": _2, "accident-prevention": _2, "aerobatic": _2, "aeroclub": _2, "aerodrome": _2, "agents": _2, "aircraft": _2, "airline": _2, "airport": _2, "air-surveillance": _2, "airtraffic": _2, "air-traffic-control": _2, "ambulance": _2, "amusement": _2, "association": _2, "author": _2, "ballooning": _2, "broker": _2, "caa": _2, "cargo": _2, "catering": _2, "certification": _2, "championship": _2, "charter": _2, "civilaviation": _2, "club": _2, "conference": _2, "consultant": _2, "consulting": _2, "control": _2, "council": _2, "crew": _2, "design": _2, "dgca": _2, "educator": _2, "emergency": _2, "engine": _2, "engineer": _2, "entertainment": _2, "equipment": _2, "exchange": _2, "express": _2, "federation": _2, "flight": _2, "fuel": _2, "gliding": _2, "government": _2, "groundhandling": _2, "group": _2, "hanggliding": _2, "homebuilt": _2, "insurance": _2, "journal": _2, "journalist": _2, "leasing": _2, "logistics": _2, "magazine": _2, "maintenance": _2, "media": _2, "microlight": _2, "modelling": _2, "navigation": _2, "parachuting": _2, "paragliding": _2, "passenger-association": _2, "pilot": _2, "press": _2, "production": _2, "recreation": _2, "repbody": _2, "res": _2, "research": _2, "rotorcraft": _2, "safety": _2, "scientist": _2, "services": _2, "show": _2, "skydiving": _2, "software": _2, "student": _2, "trader": _2, "trading": _2, "trainer": _2, "union": _2, "workinggroup": _2, "works": _2 }], "af": _4, "ag": [1, { "com": _2, "org": _2, "net": _2, "co": _2, "nom": _2 }], "ai": [1, { "off": _2, "com": _2, "net": _2, "org": _2, "uwu": _3 }], "al": [1, { "com": _2, "edu": _2, "gov": _2, "mil": _2, "net": _2, "org": _2, "blogspot": _3 }], "am": [1, { "co": _2, "com": _2, "commune": _2, "net": _2, "org": _2, "radio": _3, "blogspot": _3, "neko": _3, "nyaa": _3 }], "ao": [1, { "ed": _2, "gv": _2, "og": _2, "co": _2, "pb": _2, "it": _2 }], "aq": _2, "ar": [1, { "bet": _2, "com": _6, "coop": _2, "edu": _2, "gob": _2, "gov": _2, "int": _2, "mil": _2, "musica": _2, "mutual": _2, "net": _2, "org": _2, "senasa": _2, "tur": _2 }], "arpa": [1, { "e164": _2, "in-addr": _2, "ip6": _2, "iris": _2, "uri": _2, "urn": _2 }], "as": _7, "asia": [1, { "cloudns": _3 }], "at": [1, { "ac": [1, { "sth": _2 }], "co": _6, "gv": _2, "or": _2, "funkfeuer": [0, { "wien": _3 }], "futurecms": [0, { "*": _3, "ex": _5, "in": _5 }], "futurehosting": _3, "futuremailing": _3, "ortsinfo": [0, { "ex": _5, "kunden": _5 }], "biz": _3, "info": _3, "123webseite": _3, "priv": _3, "myspreadshop": _3, "12hp": _3, "2ix": _3, "4lima": _3, "lima-city": _3 }], "au": [1, { "com": [1, { "blogspot": _3, "cloudlets": [0, { "mel": _3 }], "myspreadshop": _3 }], "net": _2, "org": _2, "edu": [1, { "act": _2, "catholic": _2, "nsw": [1, { "schools": _2 }], "nt": _2, "qld": _2, "sa": _2, "tas": _2, "vic": _2, "wa": _2 }], "gov": [1, { "qld": _2, "sa": _2, "tas": _2, "vic": _2, "wa": _2 }], "asn": _2, "id": _2, "info": _2, "conf": _2, "oz": _2, "act": _2, "nsw": _2, "nt": _2, "qld": _2, "sa": _2, "tas": _2, "vic": _2, "wa": _2 }], "aw": [1, { "com": _2 }], "ax": [1, { "be": _3, "cat": _3, "es": _3, "eu": _3, "gg": _3, "mc": _3, "us": _3, "xy": _3 }], "az": [1, { "com": _2, "net": _2, "int": _2, "gov": _2, "org": _2, "edu": _2, "info": _2, "pp": _2, "mil": _2, "name": _2, "pro": _2, "biz": _2 }], "ba": [1, { "com": _2, "edu": _2, "gov": _2, "mil": _2, "net": _2, "org": _2, "rs": _3, "blogspot": _3 }], "bb": [1, { "biz": _2, "co": _2, "com": _2, "edu": _2, "gov": _2, "info": _2, "net": _2, "org": _2, "store": _2, "tv": _2 }], "bd": _8, "be": [1, { "ac": _2, "webhosting": _3, "blogspot": _3, "interhostsolutions": _9, "kuleuven": [0, { "ezproxy": _3 }], "123website": _3, "myspreadshop": _3, "transurl": _5 }], "bf": _7, "bg": [1, { "0": _2, "1": _2, "2": _2, "3": _2, "4": _2, "5": _2, "6": _2, "7": _2, "8": _2, "9": _2, "a": _2, "b": _2, "c": _2, "d": _2, "e": _2, "f": _2, "g": _2, "h": _2, "i": _2, "j": _2, "k": _2, "l": _2, "m": _2, "n": _2, "o": _2, "p": _2, "q": _2, "r": _2, "s": _2, "t": _2, "u": _2, "v": _2, "w": _2, "x": _2, "y": _2, "z": _2, "blogspot": _3, "barsy": _3 }], "bh": _4, "bi": [1, { "co": _2, "com": _2, "edu": _2, "or": _2, "org": _2 }], "biz": [1, { "activetrail": _3, "cloudns": _3, "jozi": _3, "dyndns": _3, "for-better": _3, "for-more": _3, "for-some": _3, "for-the": _3, "selfip": _3, "webhop": _3, "orx": _3, "mmafan": _3, "myftp": _3, "no-ip": _3, "dscloud": _3 }], "bj": [1, { "africa": _2, "agro": _2, "architectes": _2, "assur": _2, "avocats": _2, "co": _2, "com": _2, "eco": _2, "econo": _2, "edu": _2, "info": _2, "loisirs": _2, "money": _2, "net": _2, "org": _2, "ote": _2, "resto": _2, "restaurant": _2, "tourism": _2, "univ": _2, "blogspot": _3 }], "bm": _4, "bn": [1, { "com": _2, "edu": _2, "gov": _2, "net": _2, "org": _2, "co": _3 }], "bo": [1, { "com": _2, "edu": _2, "gob": _2, "int": _2, "org": _2, "net": _2, "mil": _2, "tv": _2, "web": _2, "academia": _2, "agro": _2, "arte": _2, "blog": _2, "bolivia": _2, "ciencia": _2, "cooperativa": _2, "democracia": _2, "deporte": _2, "ecologia": _2, "economia": _2, "empresa": _2, "indigena": _2, "industria": _2, "info": _2, "medicina": _2, "movimiento": _2, "musica": _2, "natural": _2, "nombre": _2, "noticias": _2, "patria": _2, "politica": _2, "profesional": _2, "plurinacional": _2, "pueblo": _2, "revista": _2, "salud": _2, "tecnologia": _2, "tksat": _2, "transporte": _2, "wiki": _2 }], "br": [1, { "9guacu": _2, "abc": _2, "adm": _2, "adv": _2, "agr": _2, "aju": _2, "am": _2, "anani": _2, "aparecida": _2, "app": _2, "arq": _2, "art": _2, "ato": _2, "b": _2, "barueri": _2, "belem": _2, "bhz": _2, "bib": _2, "bio": _2, "blog": _2, "bmd": _2, "boavista": _2, "bsb": _2, "campinagrande": _2, "campinas": _2, "caxias": _2, "cim": _2, "cng": _2, "cnt": _2, "com": [1, { "blogspot": _3, "simplesite": _3 }], "contagem": _2, "coop": _2, "coz": _2, "cri": _2, "cuiaba": _2, "curitiba": _2, "def": _2, "des": _2, "det": _2, "dev": _2, "ecn": _2, "eco": _2, "edu": _2, "emp": _2, "enf": _2, "eng": _2, "esp": _2, "etc": _2, "eti": _2, "far": _2, "feira": _2, "flog": _2, "floripa": _2, "fm": _2, "fnd": _2, "fortal": _2, "fot": _2, "foz": _2, "fst": _2, "g12": _2, "geo": _2, "ggf": _2, "goiania": _2, "gov": [1, { "ac": _2, "al": _2, "am": _2, "ap": _2, "ba": _2, "ce": _2, "df": _2, "es": _2, "go": _2, "ma": _2, "mg": _2, "ms": _2, "mt": _2, "pa": _2, "pb": _2, "pe": _2, "pi": _2, "pr": _2, "rj": _2, "rn": _2, "ro": _2, "rr": _2, "rs": _2, "sc": _2, "se": _2, "sp": _2, "to": _2 }], "gru": _2, "imb": _2, "ind": _2, "inf": _2, "jab": _2, "jampa": _2, "jdf": _2, "joinville": _2, "jor": _2, "jus": _2, "leg": [1, { "ac": _3, "al": _3, "am": _3, "ap": _3, "ba": _3, "ce": _3, "df": _3, "es": _3, "go": _3, "ma": _3, "mg": _3, "ms": _3, "mt": _3, "pa": _3, "pb": _3, "pe": _3, "pi": _3, "pr": _3, "rj": _3, "rn": _3, "ro": _3, "rr": _3, "rs": _3, "sc": _3, "se": _3, "sp": _3, "to": _3 }], "lel": _2, "log": _2, "londrina": _2, "macapa": _2, "maceio": _2, "manaus": _2, "maringa": _2, "mat": _2, "med": _2, "mil": _2, "morena": _2, "mp": _2, "mus": _2, "natal": _2, "net": _2, "niteroi": _2, "nom": _8, "not": _2, "ntr": _2, "odo": _2, "ong": _2, "org": _2, "osasco": _2, "palmas": _2, "poa": _2, "ppg": _2, "pro": _2, "psc": _2, "psi": _2, "pvh": _2, "qsl": _2, "radio": _2, "rec": _2, "recife": _2, "rep": _2, "ribeirao": _2, "rio": _2, "riobranco": _2, "riopreto": _2, "salvador": _2, "sampa": _2, "santamaria": _2, "santoandre": _2, "saobernardo": _2, "saogonca": _2, "seg": _2, "sjc": _2, "slg": _2, "slz": _2, "sorocaba": _2, "srv": _2, "taxi": _2, "tc": _2, "tec": _2, "teo": _2, "the": _2, "tmp": _2, "trd": _2, "tur": _2, "tv": _2, "udi": _2, "vet": _2, "vix": _2, "vlog": _2, "wiki": _2, "zlg": _2 }], "bs": [1, { "com": _2, "net": _2, "org": _2, "edu": _2, "gov": _2, "we": _3 }], "bt": _4, "bv": _2, "bw": [1, { "co": _2, "org": _2 }], "by": [1, { "gov": _2, "mil": _2, "com": _6, "of": _2, "mycloud": _3, "mediatech": _3 }], "bz": [1, { "com": _2, "net": _2, "org": _2, "edu": _2, "gov": _2, "za": _3, "gsj": _3 }], "ca": [1, { "ab": _2, "bc": _2, "mb": _2, "nb": _2, "nf": _2, "nl": _2, "ns": _2, "nt": _2, "nu": _2, "on": _2, "pe": _2, "qc": _2, "sk": _2, "yk": _2, "gc": _2, "barsy": _3, "awdev": _5, "co": _3, "blogspot": _3, "no-ip": _3, "myspreadshop": _3 }], "cat": _2, "cc": [1, { "cloudns": _3, "ftpaccess": _3, "game-server": _3, "myphotos": _3, "scrapping": _3, "twmail": _3, "csx": _3, "fantasyleague": _3, "spawn": [0, { "instances": _3 }] }], "cd": _7, "cf": _6, "cg": _2, "ch": [1, { "square7": _3, "blogspot": _3, "flow": [0, { "ae": [0, { "alp1": _3 }], "appengine": _3 }], "linkyard-cloud": _3, "dnsking": _3, "gotdns": _3, "123website": _3, "myspreadshop": _3, "firenet": [0, { "*": _3, "svc": _5 }], "12hp": _3, "2ix": _3, "4lima": _3, "lima-city": _3 }], "ci": [1, { "org": _2, "or": _2, "com": _2, "co": _2, "edu": _2, "ed": _2, "ac": _2, "net": _2, "go": _2, "asso": _2, "xn--aroport-bya": _2, "aéroport": _2, "int": _2, "presse": _2, "md": _2, "gouv": _2, "fin": _3, "nl": _3 }], "ck": _8, "cl": [1, { "co": _2, "gob": _2, "gov": _2, "mil": _2, "blogspot": _3 }], "cm": [1, { "co": _2, "com": _2, "gov": _2, "net": _2 }], "cn": [1, { "ac": _2, "com": [1, { "amazonaws": [0, { "compute": _5, "cn-north-1": _12, "eb": [0, { "cn-north-1": _3, "cn-northwest-1": _3 }], "elb": _5 }] }], "edu": _2, "gov": _2, "net": _2, "org": _2, "mil": _2, "xn--55qx5d": _2, "公司": _2, "xn--io0a7i": _2, "网络": _2, "xn--od0alg": _2, "網絡": _2, "ah": _2, "bj": _2, "cq": _2, "fj": _2, "gd": _2, "gs": _2, "gz": _2, "gx": _2, "ha": _2, "hb": _2, "he": _2, "hi": _2, "hl": _2, "hn": _2, "jl": _2, "js": _2, "jx": _2, "ln": _2, "nm": _2, "nx": _2, "qh": _2, "sc": _2, "sd": _2, "sh": _2, "sn": _2, "sx": _2, "tj": _2, "xj": _2, "xz": _2, "yn": _2, "zj": _2, "hk": _2, "mo": _2, "tw": _2, "canva-apps": _3, "instantcloud": _3, "quickconnect": _13 }], "co": [1, { "arts": _2, "com": _6, "edu": _2, "firm": _2, "gov": _2, "info": _2, "int": _2, "mil": _2, "net": _2, "nom": _2, "org": _2, "rec": _2, "web": _2, "carrd": _3, "crd": _3, "otap": _5, "leadpages": _3, "lpages": _3, "mypi": _3, "n4t": _3, "firewalledreplit": _14, "repl": _14, "supabase": _3 }], "com": [1, { "devcdnaccesso": _5, "adobeaemcloud": [2, { "dev": _5 }], "airkitapps": _3, "airkitapps-au": _3, "aivencloud": _3, "kasserver": _3, "amazonaws": [0, { "compute": _5, "compute-1": _5, "us-east-1": [2, { "dualstack": _12, "analytics-gateway": _3, "aws-cloud9": _15, "cloud9": _16 }], "ap-northeast-1": _18, "ap-northeast-2": _19, "ap-south-1": _19, "ap-southeast-1": _20, "ap-southeast-2": _20, "ca-central-1": _19, "eu-central-1": _19, "eu-west-1": _18, "eu-west-2": _19, "eu-west-3": _19, "s3": _3, "s3-ap-northeast-1": _3, "s3-ap-northeast-2": _3, "s3-ap-south-1": _3, "s3-ap-southeast-1": _3, "s3-ap-southeast-2": _3, "s3-ca-central-1": _3, "s3-eu-central-1": _3, "s3-eu-west-1": _3, "s3-eu-west-2": _3, "s3-eu-west-3": _3, "s3-external-1": _3, "s3-fips-us-gov-west-1": _3, "s3-sa-east-1": _3, "s3-us-east-2": _3, "s3-us-gov-west-1": _3, "s3-us-west-1": _3, "s3-us-west-2": _3, "s3-website-ap-northeast-1": _3, "s3-website-ap-southeast-1": _3, "s3-website-ap-southeast-2": _3, "s3-website-eu-west-1": _3, "s3-website-sa-east-1": _3, "s3-website-us-east-1": _3, "s3-website-us-west-1": _3, "s3-website-us-west-2": _3, "sa-east-1": _20, "us-east-2": [0, { "dualstack": _12, "s3": _3, "s3-website": _3, "analytics-gateway": _3, "aws-cloud9": _15, "cloud9": _16 }], "us-west-2": [0, { "analytics-gateway": _3, "aws-cloud9": _15, "cloud9": _16 }], "af-south-1": _17, "ap-east-1": _17, "ap-northeast-3": _17, "eu-north-1": _17, "eu-south-1": _17, "me-south-1": _17, "us-west-1": _17, "elb": _5 }], "elasticbeanstalk": [2, { "ap-northeast-1": _3, "ap-northeast-2": _3, "ap-northeast-3": _3, "ap-south-1": _3, "ap-southeast-1": _3, "ap-southeast-2": _3, "ca-central-1": _3, "eu-central-1": _3, "eu-west-1": _3, "eu-west-2": _3, "eu-west-3": _3, "sa-east-1": _3, "us-east-1": _3, "us-east-2": _3, "us-gov-west-1": _3, "us-west-1": _3, "us-west-2": _3 }], "awsglobalaccelerator": _3, "siiites": _3, "appspacehosted": _3, "appspaceusercontent": _3, "on-aptible": _3, "myasustor": _3, "balena-devices": _3, "betainabox": _3, "boutir": _3, "bplaced": _3, "cafjs": _3, "canva-apps": _3, "br": _3, "cn": _3, "de": _3, "eu": _3, "jpn": _3, "mex": _3, "ru": _3, "sa": _3, "uk": _3, "us": _3, "za": _3, "ar": _3, "hu": _3, "kr": _3, "no": _3, "qc": _3, "uy": _3, "africa": _3, "gr": _3, "co": _3, "jdevcloud": _3, "wpdevcloud": _3, "cloudcontrolled": _3, "cloudcontrolapp": _3, "cf-ipfs": _3, "cloudflare-ipfs": _3, "trycloudflare": _3, "customer-oci": [0, { "*": _3, "oci": _5, "ocp": _5, "ocs": _5 }], "dattolocal": _3, "dattorelay": _3, "dattoweb": _3, "mydatto": _3, "builtwithdark": _3, "datadetect": [0, { "demo": _3, "instance": _3 }], "ddns5": _3, "discordsays": _3, "discordsez": _3, "drayddns": _3, "dreamhosters": _3, "mydrobo": _3, "dyndns-at-home": _3, "dyndns-at-work": _3, "dyndns-blog": _3, "dyndns-free": _3, "dyndns-home": _3, "dyndns-ip": _3, "dyndns-mail": _3, "dyndns-office": _3, "dyndns-pics": _3, "dyndns-remote": _3, "dyndns-server": _3, "dyndns-web": _3, "dyndns-wiki": _3, "dyndns-work": _3, "blogdns": _3, "cechire": _3, "dnsalias": _3, "dnsdojo": _3, "doesntexist": _3, "dontexist": _3, "doomdns": _3, "dyn-o-saur": _3, "dynalias": _3, "est-a-la-maison": _3, "est-a-la-masion": _3, "est-le-patron": _3, "est-mon-blogueur": _3, "from-ak": _3, "from-al": _3, "from-ar": _3, "from-ca": _3, "from-ct": _3, "from-dc": _3, "from-de": _3, "from-fl": _3, "from-ga": _3, "from-hi": _3, "from-ia": _3, "from-id": _3, "from-il": _3, "from-in": _3, "from-ks": _3, "from-ky": _3, "from-ma": _3, "from-md": _3, "from-mi": _3, "from-mn": _3, "from-mo": _3, "from-ms": _3, "from-mt": _3, "from-nc": _3, "from-nd": _3, "from-ne": _3, "from-nh": _3, "from-nj": _3, "from-nm": _3, "from-nv": _3, "from-oh": _3, "from-ok": _3, "from-or": _3, "from-pa": _3, "from-pr": _3, "from-ri": _3, "from-sc": _3, "from-sd": _3, "from-tn": _3, "from-tx": _3, "from-ut": _3, "from-va": _3, "from-vt": _3, "from-wa": _3, "from-wi": _3, "from-wv": _3, "from-wy": _3, "getmyip": _3, "gotdns": _3, "hobby-site": _3, "homelinux": _3, "homeunix": _3, "iamallama": _3, "is-a-anarchist": _3, "is-a-blogger": _3, "is-a-bookkeeper": _3, "is-a-bulls-fan": _3, "is-a-caterer": _3, "is-a-chef": _3, "is-a-conservative": _3, "is-a-cpa": _3, "is-a-cubicle-slave": _3, "is-a-democrat": _3, "is-a-designer": _3, "is-a-doctor": _3, "is-a-financialadvisor": _3, "is-a-geek": _3, "is-a-green": _3, "is-a-guru": _3, "is-a-hard-worker": _3, "is-a-hunter": _3, "is-a-landscaper": _3, "is-a-lawyer": _3, "is-a-liberal": _3, "is-a-libertarian": _3, "is-a-llama": _3, "is-a-musician": _3, "is-a-nascarfan": _3, "is-a-nurse": _3, "is-a-painter": _3, "is-a-personaltrainer": _3, "is-a-photographer": _3, "is-a-player": _3, "is-a-republican": _3, "is-a-rockstar": _3, "is-a-socialist": _3, "is-a-student": _3, "is-a-teacher": _3, "is-a-techie": _3, "is-a-therapist": _3, "is-an-accountant": _3, "is-an-actor": _3, "is-an-actress": _3, "is-an-anarchist": _3, "is-an-artist": _3, "is-an-engineer": _3, "is-an-entertainer": _3, "is-certified": _3, "is-gone": _3, "is-into-anime": _3, "is-into-cars": _3, "is-into-cartoons": _3, "is-into-games": _3, "is-leet": _3, "is-not-certified": _3, "is-slick": _3, "is-uberleet": _3, "is-with-theband": _3, "isa-geek": _3, "isa-hockeynut": _3, "issmarterthanyou": _3, "likes-pie": _3, "likescandy": _3, "neat-url": _3, "saves-the-whales": _3, "selfip": _3, "sells-for-less": _3, "sells-for-u": _3, "servebbs": _3, "simple-url": _3, "space-to-rent": _3, "teaches-yoga": _3, "writesthisblog": _3, "digitaloceanspaces": _5, "ddnsfree": _3, "ddnsgeek": _3, "giize": _3, "gleeze": _3, "kozow": _3, "loseyourip": _3, "ooguy": _3, "theworkpc": _3, "mytuleap": _3, "tuleap-partners": _3, "encoreapi": _3, "evennode": [0, { "eu-1": _3, "eu-2": _3, "eu-3": _3, "eu-4": _3, "us-1": _3, "us-2": _3, "us-3": _3, "us-4": _3 }], "onfabrica": _3, "fbsbx": _21, "fastly-edge": _3, "fastly-terrarium": _3, "fastvps-server": _3, "mydobiss": _3, "firebaseapp": _3, "fldrv": _3, "forgeblocks": _3, "framercanvas": _3, "freebox-os": _3, "freeboxos": _3, "freemyip": _3, "gentapps": _3, "gentlentapis": _3, "githubusercontent": _3, "0emm": _5, "appspot": [2, { "r": _5 }], "codespot": _3, "googleapis": _3, "googlecode": _3, "pagespeedmobilizer": _3, "publishproxy": _3, "withgoogle": _3, "withyoutube": _3, "blogspot": _3, "awsmppl": _3, "herokuapp": _3, "herokussl": _3, "impertrixcdn": _3, "impertrix": _3, "smushcdn": _3, "wphostedmail": _3, "wpmucdn": _3, "pixolino": _3, "amscompute": _3, "dopaas": _3, "hosted-by-previder": _22, "hosteur": [0, { "rag-cloud": _3, "rag-cloud-ch": _3 }], "ik-server": [0, { "jcloud": _3, "jcloud-ver-jpc": _3 }], "jelastic": [0, { "demo": _3 }], "kilatiron": _3, "massivegrid": _22, "wafaicloud": [0, { "jed": _3, "lon": _3, "ryd": _3 }], "joyent": [0, { "cns": _5 }], "ktistory": _3, "lpusercontent": _3, "lmpm": _23, "linode": [0, { "members": _3, "nodebalancer": _5 }], "linodeobjects": _5, "linodeusercontent": [0, { "ip": _3 }], "barsycenter": _3, "barsyonline": _3, "mazeplay": _3, "miniserver": _3, "meteorapp": _24, "hostedpi": _3, "mythic-beasts": [0, { "customer": _3, "caracal": _3, "fentiger": _3, "lynx": _3, "ocelot": _3, "oncilla": _3, "onza": _3, "sphinx": _3, "vs": _3, "x": _3, "yali": _3 }], "nospamproxy": _9, "4u": _3, "nfshost": _3, "001www": _3, "ddnslive": _3, "myiphost": _3, "blogsyte": _3, "ciscofreak": _3, "damnserver": _3, "ditchyourip": _3, "dnsiskinky": _3, "dynns": _3, "geekgalaxy": _3, "health-carereform": _3, "homesecuritymac": _3, "homesecuritypc": _3, "myactivedirectory": _3, "mysecuritycamera": _3, "net-freaks": _3, "onthewifi": _3, "point2this": _3, "quicksytes": _3, "securitytactics": _3, "serveexchange": _3, "servehumour": _3, "servep2p": _3, "servesarcasm": _3, "stufftoread": _3, "unusualperson": _3, "workisboring": _3, "3utilities": _3, "ddnsking": _3, "myvnc": _3, "servebeer": _3, "servecounterstrike": _3, "serveftp": _3, "servegame": _3, "servehalflife": _3, "servehttp": _3, "serveirc": _3, "servemp3": _3, "servepics": _3, "servequake": _3, "observableusercontent": [0, { "static": _3 }], "simplesite": _3, "orsites": _3, "operaunite": _3, "authgear-staging": _3, "authgearapps": _3, "skygearapp": _3, "outsystemscloud": _3, "ownprovider": _3, "pgfog": _3, "pagefrontapp": _3, "pagexl": _3, "paywhirl": _5, "gotpantheon": _3, "platter-app": _3, "pleskns": _3, "postman-echo": _3, "prgmr": [0, { "xen": _3 }], "pythonanywhere": _24, "qualifioapp": _3, "ladesk": _3, "qbuser": _3, "qa2": _3, "dev-myqnapcloud": _3, "alpha-myqnapcloud": _3, "myqnapcloud": _3, "quipelements": _5, "rackmaze": _3, "rhcloud": _3, "render": _23, "onrender": _3, "180r": _3, "dojin": _3, "sakuratan": _3, "sakuraweb": _3, "x0": _3, "code": [0, { "builder": _5, "dev-builder": _5, "stg-builder": _5 }], "logoip": _3, "scrysec": _3, "firewall-gateway": _3, "myshopblocks": _3, "myshopify": _3, "shopitsite": _3, "1kapp": _3, "appchizi": _3, "applinzi": _3, "sinaapp": _3, "vipsinaapp": _3, "bounty-full": [2, { "alpha": _3, "beta": _3 }], "streamlitapp": _3, "try-snowplow": _3, "stackhero-network": _3, "playstation-cloud": _3, "myspreadshop": _3, "stdlib": [0, { "api": _3 }], "temp-dns": _3, "dsmynas": _3, "familyds": _3, "mytabit": _3, "tb-hosting": _25, "reservd": _3, "thingdustdata": _3, "bloxcms": _3, "townnews-staging": _3, "typeform": [0, { "pro": _3 }], "hk": _3, "it": _3, "vultrobjects": _5, "wafflecell": _3, "reserve-online": _3, "hotelwithflight": _3, "remotewd": _3, "wiardweb": _26, "messwithdns": _3, "woltlab-demo": _3, "wpenginepowered": [2, { "js": _3 }], "wixsite": _3, "xnbay": [2, { "u2": _3, "u2-local": _3 }], "yolasite": _3 }], "coop": _2, "cr": [1, { "ac": _2, "co": _2, "ed": _2, "fi": _2, "go": _2, "or": _2, "sa": _2 }], "cu": [1, { "com": _2, "edu": _2, "org": _2, "net": _2, "gov": _2, "inf": _2 }], "cv": [1, { "com": _2, "edu": _2, "int": _2, "nome": _2, "org": _2, "blogspot": _3 }], "cw": _27, "cx": [1, { "gov": _2, "ath": _3, "info": _3 }], "cy": [1, { "ac": _2, "biz": _2, "com": [1, { "blogspot": _3, "scaleforce": _28 }], "ekloges": _2, "gov": _2, "ltd": _2, "mil": _2, "net": _2, "org": _2, "press": _2, "pro": _2, "tm": _2 }], "cz": [1, { "co": _3, "realm": _3, "e4": _3, "blogspot": _3, "metacentrum": [0, { "cloud": _5, "custom": _3 }], "muni": [0, { "cloud": [0, { "flt": _3, "usr": _3 }] }] }], "de": [1, { "bplaced": _3, "square7": _3, "com": _3, "cosidns": [0, { "dyn": _3 }], "dynamisches-dns": _3, "dnsupdater": _3, "internet-dns": _3, "l-o-g-i-n": _3, "dnshome": _3, "fuettertdasnetz": _3, "isteingeek": _3, "istmein": _3, "lebtimnetz": _3, "leitungsen": _3, "traeumtgerade": _3, "ddnss": [2, { "dyn": _3, "dyndns": _3 }], "dyndns1": _3, "dyn-ip24": _3, "home-webserver": [2, { "dyn": _3 }], "myhome-server": _3, "frusky": _5, "goip": _3, "blogspot": _3, "xn--gnstigbestellen-zvb": _3, "günstigbestellen": _3, "xn--gnstigliefern-wob": _3, "günstigliefern": _3, "hs-heilbronn": [0, { "it": _26 }], "dyn-berlin": _3, "in-berlin": _3, "in-brb": _3, "in-butter": _3, "in-dsl": _3, "in-vpn": _3, "iservschule": _3, "mein-iserv": _3, "schulplattform": _3, "schulserver": _3, "test-iserv": _3, "keymachine": _3, "git-repos": _3, "lcube-server": _3, "svn-repos": _3, "barsy": _3, "123webseite": _3, "logoip": _3, "firewall-gateway": _3, "my-gateway": _3, "my-router": _3, "spdns": _3, "speedpartner": [0, { "customer": _3 }], "myspreadshop": _3, "taifun-dns": _3, "12hp": _3, "2ix": _3, "4lima": _3, "lima-city": _3, "dd-dns": _3, "dray-dns": _3, "draydns": _3, "dyn-vpn": _3, "dynvpn": _3, "mein-vigor": _3, "my-vigor": _3, "my-wan": _3, "syno-ds": _3, "synology-diskstation": _3, "synology-ds": _3, "uberspace": _5, "virtualuser": _3, "virtual-user": _3, "community-pro": _3, "diskussionsbereich": _3 }], "dj": _2, "dk": [1, { "biz": _3, "co": _3, "firm": _3, "reg": _3, "store": _3, "blogspot": _3, "123hjemmeside": _3, "myspreadshop": _3 }], "dm": _4, "do": [1, { "art": _2, "com": _2, "edu": _2, "gob": _2, "gov": _2, "mil": _2, "net": _2, "org": _2, "sld": _2, "web": _2 }], "dz": [1, { "art": _2, "asso": _2, "com": _2, "edu": _2, "gov": _2, "org": _2, "net": _2, "pol": _2, "soc": _2, "tm": _2 }], "ec": [1, { "com": _2, "info": _2, "net": _2, "fin": _2, "k12": _2, "med": _2, "pro": _2, "org": _2, "edu": _2, "gov": _2, "gob": _2, "mil": _2, "base": _3, "official": _3 }], "edu": [1, { "rit": [0, { "git-pages": _3 }] }], "ee": [1, { "edu": _2, "gov": _2, "riik": _2, "lib": _2, "med": _2, "com": _6, "pri": _2, "aip": _2, "org": _2, "fie": _2 }], "eg": [1, { "com": _6, "edu": _2, "eun": _2, "gov": _2, "mil": _2, "name": _2, "net": _2, "org": _2, "sci": _2 }], "er": _8, "es": [1, { "com": _6, "nom": _2, "org": _2, "gob": _2, "edu": _2, "123miweb": _3, "myspreadshop": _3 }], "et": [1, { "com": _2, "gov": _2, "org": _2, "edu": _2, "biz": _2, "name": _2, "info": _2, "net": _2 }], "eu": [1, { "airkitapps": _3, "mycd": _3, "cloudns": _3, "dogado": _29, "barsy": _3, "wellbeingzone": _3, "spdns": _3, "transurl": _5, "diskstation": _3 }], "fi": [1, { "aland": _2, "dy": _3, "blogspot": _3, "xn--hkkinen-5wa": _3, "häkkinen": _3, "iki": _3, "cloudplatform": [0, { "fi": _3 }], "datacenter": [0, { "demo": _3, "paas": _3 }], "kapsi": _3, "123kotisivu": _3, "myspreadshop": _3 }], "fj": [1, { "ac": _2, "biz": _2, "com": _2, "gov": _2, "info": _2, "mil": _2, "name": _2, "net": _2, "org": _2, "pro": _2 }], "fk": _8, "fm": [1, { "com": _2, "edu": _2, "net": _2, "org": _2, "radio": _3, "user": _5 }], "fo": _2, "fr": [1, { "asso": _2, "com": _2, "gouv": _2, "nom": _2, "prd": _2, "tm": _2, "avoues": _2, "cci": _2, "greta": _2, "huissier-justice": _2, "en-root": _3, "fbx-os": _3, "fbxos": _3, "freebox-os": _3, "freeboxos": _3, "blogspot": _3, "goupile": _3, "123siteweb": _3, "on-web": _3, "chirurgiens-dentistes-en-france": _3, "dedibox": _3, "aeroport": _3, "avocat": _3, "chambagri": _3, "chirurgiens-dentistes": _3, "experts-comptables": _3, "medecin": _3, "notaires": _3, "pharmacien": _3, "port": _3, "veterinaire": _3, "myspreadshop": _3, "ynh": _3 }], "ga": _2, "gb": _2, "gd": [1, { "edu": _2, "gov": _2 }], "ge": [1, { "com": _2, "edu": _2, "gov": _2, "org": _2, "mil": _2, "net": _2, "pvt": _2 }], "gf": _2, "gg": [1, { "co": _2, "net": _2, "org": _2, "kaas": _3, "cya": _3, "panel": [2, { "daemon": _3 }] }], "gh": [1, { "com": _2, "edu": _2, "gov": _2, "org": _2, "mil": _2 }], "gi": [1, { "com": _2, "ltd": _2, "gov": _2, "mod": _2, "edu": _2, "org": _2 }], "gl": [1, { "co": _2, "com": _2, "edu": _2, "net": _2, "org": _2, "biz": _3, "xx": _3 }], "gm": _2, "gn": [1, { "ac": _2, "com": _2, "edu": _2, "gov": _2, "org": _2, "net": _2 }], "gov": _2, "gp": [1, { "com": _2, "net": _2, "mobi": _2, "edu": _2, "org": _2, "asso": _2, "app": _3 }], "gq": _2, "gr": [1, { "com": _2, "edu": _2, "net": _2, "org": _2, "gov": _2, "blogspot": _3, "simplesite": _3 }], "gs": _2, "gt": [1, { "com": _2, "edu": _2, "gob": _2, "ind": _2, "mil": _2, "net": _2, "org": _2, "blog": _3, "de": _3, "to": _3 }], "gu": [1, { "com": _2, "edu": _2, "gov": _2, "guam": _2, "info": _2, "net": _2, "org": _2, "web": _2 }], "gw": _2, "gy": [1, { "co": _2, "com": _2, "edu": _2, "gov": _2, "net": _2, "org": _2, "be": _3 }], "hk": [1, { "com": _2, "edu": _2, "gov": _2, "idv": _2, "net": _2, "org": _2, "xn--55qx5d": _2, "公司": _2, "xn--wcvs22d": _2, "教育": _2, "xn--lcvr32d": _2, "敎育": _2, "xn--mxtq1m": _2, "政府": _2, "xn--gmqw5a": _2, "個人": _2, "xn--ciqpn": _2, "个人": _2, "xn--gmq050i": _2, "箇人": _2, "xn--zf0avx": _2, "網络": _2, "xn--io0a7i": _2, "网络": _2, "xn--mk0axi": _2, "组織": _2, "xn--od0alg": _2, "網絡": _2, "xn--od0aq3b": _2, "网絡": _2, "xn--tn0ag": _2, "组织": _2, "xn--uc0atv": _2, "組織": _2, "xn--uc0ay4a": _2, "組织": _2, "blogspot": _3, "secaas": _3, "ltd": _3, "inc": _3 }], "hm": _2, "hn": [1, { "com": _2, "edu": _2, "org": _2, "net": _2, "mil": _2, "gob": _2, "cc": _3 }], "hr": [1, { "iz": _2, "from": _2, "name": _2, "com": _2, "blogspot": _3, "free": _3 }], "ht": [1, { "com": _2, "shop": _2, "firm": _2, "info": _2, "adult": _2, "net": _2, "pro": _2, "org": _2, "med": _2, "art": _2, "coop": _2, "pol": _2, "asso": _2, "edu": _2, "rel": _2, "gouv": _2, "perso": _2 }], "hu": [1, { "2000": _2, "co": _2, "info": _2, "org": _2, "priv": _2, "sport": _2, "tm": _2, "agrar": _2, "bolt": _2, "casino": _2, "city": _2, "erotica": _2, "erotika": _2, "film": _2, "forum": _2, "games": _2, "hotel": _2, "ingatlan": _2, "jogasz": _2, "konyvelo": _2, "lakas": _2, "media": _2, "news": _2, "reklam": _2, "sex": _2, "shop": _2, "suli": _2, "szex": _2, "tozsde": _2, "utazas": _2, "video": _2, "blogspot": _3 }], "id": [1, { "ac": _2, "biz": _2, "co": _6, "desa": _2, "go": _2, "mil": _2, "my": [1, { "rss": _5 }], "net": _2, "or": _2, "ponpes": _2, "sch": _2, "web": _2, "flap": _3, "forte": _3 }], "ie": [1, { "gov": _2, "blogspot": _3, "myspreadshop": _3 }], "il": [1, { "ac": _2, "co": [1, { "ravpage": _3, "blogspot": _3, "tabitorder": _3, "mytabit": _3 }], "gov": _2, "idf": _2, "k12": _2, "muni": _2, "net": _2, "org": _2 }], "xn--4dbrk0ce": [1, { "xn--4dbgdty6c": _2, "xn--5dbhl8d": _2, "xn--8dbq2a": _2, "xn--hebda8b": _2 }], "ישראל": [1, { "אקדמיה": _2, "ישוב": _2, "צהל": _2, "ממשל": _2 }], "im": [1, { "ac": _2, "co": [1, { "ltd": _2, "plc": _2 }], "com": _2, "net": _2, "org": _2, "tt": _2, "tv": _2, "ro": _3 }], "in": [1, { "5g": _2, "6g": _2, "ac": _2, "ai": _2, "am": _2, "bihar": _2, "biz": _2, "business": _2, "ca": _2, "cn": _2, "co": _2, "com": _2, "coop": _2, "cs": _2, "delhi": _2, "dr": _2, "edu": _2, "er": _2, "firm": _2, "gen": _2, "gov": _2, "gujarat": _2, "ind": _2, "info": _2, "int": _2, "internet": _2, "io": _2, "me": _2, "mil": _2, "net": _2, "nic": _2, "org": _2, "pg": _2, "post": _2, "pro": _2, "res": _2, "travel": _2, "tv": _2, "uk": _2, "up": _2, "us": _2, "web": _3, "cloudns": _3, "blogspot": _3, "barsy": _3, "supabase": _3 }], "info": [1, { "cloudns": _3, "dynamic-dns": _3, "dyndns": _3, "barrel-of-knowledge": _3, "barrell-of-knowledge": _3, "for-our": _3, "groks-the": _3, "groks-this": _3, "here-for-more": _3, "knowsitall": _3, "selfip": _3, "webhop": _3, "barsy": _3, "mayfirst": _3, "forumz": _3, "nsupdate": _3, "dvrcam": _3, "ilovecollege": _3, "no-ip": _3, "dnsupdate": _3, "v-info": _3 }], "int": [1, { "eu": _2 }], "io": [1, { "2038": _3, "com": _2, "on-acorn": _5, "apigee": _3, "b-data": _3, "backplaneapp": _3, "banzaicloud": [0, { "app": _3, "backyards": _5 }], "beagleboard": _3, "bitbucket": _3, "bluebite": _3, "boxfuse": _3, "browsersafetymark": _3, "bigv": [0, { "uk0": _3 }], "cleverapps": _3, "dappnode": [0, { "dyndns": _3 }], "dedyn": _3, "drud": _3, "definima": _3, "fh-muenster": _3, "shw": _3, "forgerock": [0, { "id": _3 }], "ghost": _3, "github": _3, "gitlab": _3, "lolipop": _3, "hasura-app": _3, "hostyhosting": _3, "moonscale": _5, "beebyte": _22, "beebyteapp": [0, { "sekd1": _3 }], "jele": _3, "unispace": [0, { "cloud-fr1": _3 }], "webthings": _3, "loginline": _3, "barsy": _3, "azurecontainer": _5, "ngrok": [2, { "ap": _3, "au": _3, "eu": _3, "in": _3, "jp": _3, "sa": _3, "us": _3 }], "nodeart": [0, { "stage": _3 }], "nid": _3, "pantheonsite": _3, "dyn53": _3, "pstmn": [2, { "mock": _3 }], "protonet": _3, "qoto": _3, "qcx": [2, { "sys": _5 }], "vaporcloud": _3, "vbrplsbx": [0, { "g": _3 }], "on-k3s": _5, "on-rio": _5, "readthedocs": _3, "resindevice": _3, "resinstaging": [0, { "devices": _3 }], "hzc": _3, "sandcats": _3, "shiftcrypto": _3, "shiftedit": _3, "mo-siemens": _3, "musician": _3, "lair": _21, "stolos": _5, "spacekit": _3, "utwente": _3, "s5y": _5, "edugit": _3, "telebit": _3, "thingdust": [0, { "dev": _32, "disrec": _32, "prod": _33, "testing": _32 }], "tickets": _3, "upli": _3, "wedeploy": _3, "editorx": _3, "wixstudio": _3, "basicserver": _3, "virtualserver": _3 }], "iq": _34, "ir": [1, { "ac": _2, "co": _2, "gov": _2, "id": _2, "net": _2, "org": _2, "sch": _2, "xn--mgba3a4f16a": _2, "ایران": _2, "xn--mgba3a4fra": _2, "ايران": _2 }], "is": [1, { "net": _2, "com": _2, "edu": _2, "gov": _2, "org": _2, "int": _2, "cupcake": _3, "blogspot": _3 }], "it": [1, { "gov": _2, "edu": _2, "abr": _2, "abruzzo": _2, "aosta-valley": _2, "aostavalley": _2, "bas": _2, "basilicata": _2, "cal": _2, "calabria": _2, "cam": _2, "campania": _2, "emilia-romagna": _2, "emiliaromagna": _2, "emr": _2, "friuli-v-giulia": _2, "friuli-ve-giulia": _2, "friuli-vegiulia": _2, "friuli-venezia-giulia": _2, "friuli-veneziagiulia": _2, "friuli-vgiulia": _2, "friuliv-giulia": _2, "friulive-giulia": _2, "friulivegiulia": _2, "friulivenezia-giulia": _2, "friuliveneziagiulia": _2, "friulivgiulia": _2, "fvg": _2, "laz": _2, "lazio": _2, "lig": _2, "liguria": _2, "lom": _2, "lombardia": _2, "lombardy": _2, "lucania": _2, "mar": _2, "marche": _2, "mol": _2, "molise": _2, "piedmont": _2, "piemonte": _2, "pmn": _2, "pug": _2, "puglia": _2, "sar": _2, "sardegna": _2, "sardinia": _2, "sic": _2, "sicilia": _2, "sicily": _2, "taa": _2, "tos": _2, "toscana": _2, "trentin-sud-tirol": _2, "xn--trentin-sd-tirol-rzb": _2, "trentin-süd-tirol": _2, "trentin-sudtirol": _2, "xn--trentin-sdtirol-7vb": _2, "trentin-südtirol": _2, "trentin-sued-tirol": _2, "trentin-suedtirol": _2, "trentino-a-adige": _2, "trentino-aadige": _2, "trentino-alto-adige": _2, "trentino-altoadige": _2, "trentino-s-tirol": _2, "trentino-stirol": _2, "trentino-sud-tirol": _2, "xn--trentino-sd-tirol-c3b": _2, "trentino-süd-tirol": _2, "trentino-sudtirol": _2, "xn--trentino-sdtirol-szb": _2, "trentino-südtirol": _2, "trentino-sued-tirol": _2, "trentino-suedtirol": _2, "trentino": _2, "trentinoa-adige": _2, "trentinoaadige": _2, "trentinoalto-adige": _2, "trentinoaltoadige": _2, "trentinos-tirol": _2, "trentinostirol": _2, "trentinosud-tirol": _2, "xn--trentinosd-tirol-rzb": _2, "trentinosüd-tirol": _2, "trentinosudtirol": _2, "xn--trentinosdtirol-7vb": _2, "trentinosüdtirol": _2, "trentinosued-tirol": _2, "trentinosuedtirol": _2, "trentinsud-tirol": _2, "xn--trentinsd-tirol-6vb": _2, "trentinsüd-tirol": _2, "trentinsudtirol": _2, "xn--trentinsdtirol-nsb": _2, "trentinsüdtirol": _2, "trentinsued-tirol": _2, "trentinsuedtirol": _2, "tuscany": _2, "umb": _2, "umbria": _2, "val-d-aosta": _2, "val-daosta": _2, "vald-aosta": _2, "valdaosta": _2, "valle-aosta": _2, "valle-d-aosta": _2, "valle-daosta": _2, "valleaosta": _2, "valled-aosta": _2, "valledaosta": _2, "vallee-aoste": _2, "xn--valle-aoste-ebb": _2, "vallée-aoste": _2, "vallee-d-aoste": _2, "xn--valle-d-aoste-ehb": _2, "vallée-d-aoste": _2, "valleeaoste": _2, "xn--valleaoste-e7a": _2, "valléeaoste": _2, "valleedaoste": _2, "xn--valledaoste-ebb": _2, "valléedaoste": _2, "vao": _2, "vda": _2, "ven": _2, "veneto": _2, "ag": _2, "agrigento": _2, "al": _2, "alessandria": _2, "alto-adige": _2, "altoadige": _2, "an": _2, "ancona": _2, "andria-barletta-trani": _2, "andria-trani-barletta": _2, "andriabarlettatrani": _2, "andriatranibarletta": _2, "ao": _2, "aosta": _2, "aoste": _2, "ap": _2, "aq": _2, "aquila": _2, "ar": _2, "arezzo": _2, "ascoli-piceno": _2, "ascolipiceno": _2, "asti": _2, "at": _2, "av": _2, "avellino": _2, "ba": _2, "balsan-sudtirol": _2, "xn--balsan-sdtirol-nsb": _2, "balsan-südtirol": _2, "balsan-suedtirol": _2, "balsan": _2, "bari": _2, "barletta-trani-andria": _2, "barlettatraniandria": _2, "belluno": _2, "benevento": _2, "bergamo": _2, "bg": _2, "bi": _2, "biella": _2, "bl": _2, "bn": _2, "bo": _2, "bologna": _2, "bolzano-altoadige": _2, "bolzano": _2, "bozen-sudtirol": _2, "xn--bozen-sdtirol-2ob": _2, "bozen-südtirol": _2, "bozen-suedtirol": _2, "bozen": _2, "br": _2, "brescia": _2, "brindisi": _2, "bs": _2, "bt": _2, "bulsan-sudtirol": _2, "xn--bulsan-sdtirol-nsb": _2, "bulsan-südtirol": _2, "bulsan-suedtirol": _2, "bulsan": _2, "bz": _2, "ca": _2, "cagliari": _2, "caltanissetta": _2, "campidano-medio": _2, "campidanomedio": _2, "campobasso": _2, "carbonia-iglesias": _2, "carboniaiglesias": _2, "carrara-massa": _2, "carraramassa": _2, "caserta": _2, "catania": _2, "catanzaro": _2, "cb": _2, "ce": _2, "cesena-forli": _2, "xn--cesena-forl-mcb": _2, "cesena-forlì": _2, "cesenaforli": _2, "xn--cesenaforl-i8a": _2, "cesenaforlì": _2, "ch": _2, "chieti": _2, "ci": _2, "cl": _2, "cn": _2, "co": _2, "como": _2, "cosenza": _2, "cr": _2, "cremona": _2, "crotone": _2, "cs": _2, "ct": _2, "cuneo": _2, "cz": _2, "dell-ogliastra": _2, "dellogliastra": _2, "en": _2, "enna": _2, "fc": _2, "fe": _2, "fermo": _2, "ferrara": _2, "fg": _2, "fi": _2, "firenze": _2, "florence": _2, "fm": _2, "foggia": _2, "forli-cesena": _2, "xn--forl-cesena-fcb": _2, "forlì-cesena": _2, "forlicesena": _2, "xn--forlcesena-c8a": _2, "forlìcesena": _2, "fr": _2, "frosinone": _2, "ge": _2, "genoa": _2, "genova": _2, "go": _2, "gorizia": _2, "gr": _2, "grosseto": _2, "iglesias-carbonia": _2, "iglesiascarbonia": _2, "im": _2, "imperia": _2, "is": _2, "isernia": _2, "kr": _2, "la-spezia": _2, "laquila": _2, "laspezia": _2, "latina": _2, "lc": _2, "le": _2, "lecce": _2, "lecco": _2, "li": _2, "livorno": _2, "lo": _2, "lodi": _2, "lt": _2, "lu": _2, "lucca": _2, "macerata": _2, "mantova": _2, "massa-carrara": _2, "massacarrara": _2, "matera": _2, "mb": _2, "mc": _2, "me": _2, "medio-campidano": _2, "mediocampidano": _2, "messina": _2, "mi": _2, "milan": _2, "milano": _2, "mn": _2, "mo": _2, "modena": _2, "monza-brianza": _2, "monza-e-della-brianza": _2, "monza": _2, "monzabrianza": _2, "monzaebrianza": _2, "monzaedellabrianza": _2, "ms": _2, "mt": _2, "na": _2, "naples": _2, "napoli": _2, "no": _2, "novara": _2, "nu": _2, "nuoro": _2, "og": _2, "ogliastra": _2, "olbia-tempio": _2, "olbiatempio": _2, "or": _2, "oristano": _2, "ot": _2, "pa": _2, "padova": _2, "padua": _2, "palermo": _2, "parma": _2, "pavia": _2, "pc": _2, "pd": _2, "pe": _2, "perugia": _2, "pesaro-urbino": _2, "pesarourbino": _2, "pescara": _2, "pg": _2, "pi": _2, "piacenza": _2, "pisa": _2, "pistoia": _2, "pn": _2, "po": _2, "pordenone": _2, "potenza": _2, "pr": _2, "prato": _2, "pt": _2, "pu": _2, "pv": _2, "pz": _2, "ra": _2, "ragusa": _2, "ravenna": _2, "rc": _2, "re": _2, "reggio-calabria": _2, "reggio-emilia": _2, "reggiocalabria": _2, "reggioemilia": _2, "rg": _2, "ri": _2, "rieti": _2, "rimini": _2, "rm": _2, "rn": _2, "ro": _2, "roma": _2, "rome": _2, "rovigo": _2, "sa": _2, "salerno": _2, "sassari": _2, "savona": _2, "si": _2, "siena": _2, "siracusa": _2, "so": _2, "sondrio": _2, "sp": _2, "sr": _2, "ss": _2, "suedtirol": _2, "xn--sdtirol-n2a": _2, "südtirol": _2, "sv": _2, "ta": _2, "taranto": _2, "te": _2, "tempio-olbia": _2, "tempioolbia": _2, "teramo": _2, "terni": _2, "tn": _2, "to": _2, "torino": _2, "tp": _2, "tr": _2, "trani-andria-barletta": _2, "trani-barletta-andria": _2, "traniandriabarletta": _2, "tranibarlettaandria": _2, "trapani": _2, "trento": _2, "treviso": _2, "trieste": _2, "ts": _2, "turin": _2, "tv": _2, "ud": _2, "udine": _2, "urbino-pesaro": _2, "urbinopesaro": _2, "va": _2, "varese": _2, "vb": _2, "vc": _2, "ve": _2, "venezia": _2, "venice": _2, "verbania": _2, "vercelli": _2, "verona": _2, "vi": _2, "vibo-valentia": _2, "vibovalentia": _2, "vicenza": _2, "viterbo": _2, "vr": _2, "vs": _2, "vt": _2, "vv": _2, "blogspot": _3, "ibxos": _3, "iliadboxos": _3, "neen": [0, { "jc": _3 }], "tim": [0, { "open": [0, { "jelastic": _9 }] }], "16-b": _3, "32-b": _3, "64-b": _3, "123homepage": _3, "myspreadshop": _3, "syncloud": _3 }], "je": [1, { "co": _2, "net": _2, "org": _2, "of": _3 }], "jm": _8, "jo": [1, { "com": _2, "org": _2, "net": _2, "edu": _2, "sch": _2, "gov": _2, "mil": _2, "name": _2 }], "jobs": _2, "jp": [1, { "ac": _2, "ad": _2, "co": _2, "ed": _2, "go": _2, "gr": _2, "lg": _2, "ne": [1, { "aseinet": _30, "gehirn": _3, "ivory": _3, "mail-box": _3, "mints": _3, "mokuren": _3, "opal": _3, "sakura": _3, "sumomo": _3, "topaz": _3 }], "or": _2, "aichi": [1, { "aisai": _2, "ama": _2, "anjo": _2, "asuke": _2, "chiryu": _2, "chita": _2, "fuso": _2, "gamagori": _2, "handa": _2, "hazu": _2, "hekinan": _2, "higashiura": _2, "ichinomiya": _2, "inazawa": _2, "inuyama": _2, "isshiki": _2, "iwakura": _2, "kanie": _2, "kariya": _2, "kasugai": _2, "kira": _2, "kiyosu": _2, "komaki": _2, "konan": _2, "kota": _2, "mihama": _2, "miyoshi": _2, "nishio": _2, "nisshin": _2, "obu": _2, "oguchi": _2, "oharu": _2, "okazaki": _2, "owariasahi": _2, "seto": _2, "shikatsu": _2, "shinshiro": _2, "shitara": _2, "tahara": _2, "takahama": _2, "tobishima": _2, "toei": _2, "togo": _2, "tokai": _2, "tokoname": _2, "toyoake": _2, "toyohashi": _2, "toyokawa": _2, "toyone": _2, "toyota": _2, "tsushima": _2, "yatomi": _2 }], "akita": [1, { "akita": _2, "daisen": _2, "fujisato": _2, "gojome": _2, "hachirogata": _2, "happou": _2, "higashinaruse": _2, "honjo": _2, "honjyo": _2, "ikawa": _2, "kamikoani": _2, "kamioka": _2, "katagami": _2, "kazuno": _2, "kitaakita": _2, "kosaka": _2, "kyowa": _2, "misato": _2, "mitane": _2, "moriyoshi": _2, "nikaho": _2, "noshiro": _2, "odate": _2, "oga": _2, "ogata": _2, "semboku": _2, "yokote": _2, "yurihonjo": _2 }], "aomori": [1, { "aomori": _2, "gonohe": _2, "hachinohe": _2, "hashikami": _2, "hiranai": _2, "hirosaki": _2, "itayanagi": _2, "kuroishi": _2, "misawa": _2, "mutsu": _2, "nakadomari": _2, "noheji": _2, "oirase": _2, "owani": _2, "rokunohe": _2, "sannohe": _2, "shichinohe": _2, "shingo": _2, "takko": _2, "towada": _2, "tsugaru": _2, "tsuruta": _2 }], "chiba": [1, { "abiko": _2, "asahi": _2, "chonan": _2, "chosei": _2, "choshi": _2, "chuo": _2, "funabashi": _2, "futtsu": _2, "hanamigawa": _2, "ichihara": _2, "ichikawa": _2, "ichinomiya": _2, "inzai": _2, "isumi": _2, "kamagaya": _2, "kamogawa": _2, "kashiwa": _2, "katori": _2, "katsuura": _2, "kimitsu": _2, "kisarazu": _2, "kozaki": _2, "kujukuri": _2, "kyonan": _2, "matsudo": _2, "midori": _2, "mihama": _2, "minamiboso": _2, "mobara": _2, "mutsuzawa": _2, "nagara": _2, "nagareyama": _2, "narashino": _2, "narita": _2, "noda": _2, "oamishirasato": _2, "omigawa": _2, "onjuku": _2, "otaki": _2, "sakae": _2, "sakura": _2, "shimofusa": _2, "shirako": _2, "shiroi": _2, "shisui": _2, "sodegaura": _2, "sosa": _2, "tako": _2, "tateyama": _2, "togane": _2, "tohnosho": _2, "tomisato": _2, "urayasu": _2, "yachimata": _2, "yachiyo": _2, "yokaichiba": _2, "yokoshibahikari": _2, "yotsukaido": _2 }], "ehime": [1, { "ainan": _2, "honai": _2, "ikata": _2, "imabari": _2, "iyo": _2, "kamijima": _2, "kihoku": _2, "kumakogen": _2, "masaki": _2, "matsuno": _2, "matsuyama": _2, "namikata": _2, "niihama": _2, "ozu": _2, "saijo": _2, "seiyo": _2, "shikokuchuo": _2, "tobe": _2, "toon": _2, "uchiko": _2, "uwajima": _2, "yawatahama": _2 }], "fukui": [1, { "echizen": _2, "eiheiji": _2, "fukui": _2, "ikeda": _2, "katsuyama": _2, "mihama": _2, "minamiechizen": _2, "obama": _2, "ohi": _2, "ono": _2, "sabae": _2, "sakai": _2, "takahama": _2, "tsuruga": _2, "wakasa": _2 }], "fukuoka": [1, { "ashiya": _2, "buzen": _2, "chikugo": _2, "chikuho": _2, "chikujo": _2, "chikushino": _2, "chikuzen": _2, "chuo": _2, "dazaifu": _2, "fukuchi": _2, "hakata": _2, "higashi": _2, "hirokawa": _2, "hisayama": _2, "iizuka": _2, "inatsuki": _2, "kaho": _2, "kasuga": _2, "kasuya": _2, "kawara": _2, "keisen": _2, "koga": _2, "kurate": _2, "kurogi": _2, "kurume": _2, "minami": _2, "miyako": _2, "miyama": _2, "miyawaka": _2, "mizumaki": _2, "munakata": _2, "nakagawa": _2, "nakama": _2, "nishi": _2, "nogata": _2, "ogori": _2, "okagaki": _2, "okawa": _2, "oki": _2, "omuta": _2, "onga": _2, "onojo": _2, "oto": _2, "saigawa": _2, "sasaguri": _2, "shingu": _2, "shinyoshitomi": _2, "shonai": _2, "soeda": _2, "sue": _2, "tachiarai": _2, "tagawa": _2, "takata": _2, "toho": _2, "toyotsu": _2, "tsuiki": _2, "ukiha": _2, "umi": _2, "usui": _2, "yamada": _2, "yame": _2, "yanagawa": _2, "yukuhashi": _2 }], "fukushima": [1, { "aizubange": _2, "aizumisato": _2, "aizuwakamatsu": _2, "asakawa": _2, "bandai": _2, "date": _2, "fukushima": _2, "furudono": _2, "futaba": _2, "hanawa": _2, "higashi": _2, "hirata": _2, "hirono": _2, "iitate": _2, "inawashiro": _2, "ishikawa": _2, "iwaki": _2, "izumizaki": _2, "kagamiishi": _2, "kaneyama": _2, "kawamata": _2, "kitakata": _2, "kitashiobara": _2, "koori": _2, "koriyama": _2, "kunimi": _2, "miharu": _2, "mishima": _2, "namie": _2, "nango": _2, "nishiaizu": _2, "nishigo": _2, "okuma": _2, "omotego": _2, "ono": _2, "otama": _2, "samegawa": _2, "shimogo": _2, "shirakawa": _2, "showa": _2, "soma": _2, "sukagawa": _2, "taishin": _2, "tamakawa": _2, "tanagura": _2, "tenei": _2, "yabuki": _2, "yamato": _2, "yamatsuri": _2, "yanaizu": _2, "yugawa": _2 }], "gifu": [1, { "anpachi": _2, "ena": _2, "gifu": _2, "ginan": _2, "godo": _2, "gujo": _2, "hashima": _2, "hichiso": _2, "hida": _2, "higashishirakawa": _2, "ibigawa": _2, "ikeda": _2, "kakamigahara": _2, "kani": _2, "kasahara": _2, "kasamatsu": _2, "kawaue": _2, "kitagata": _2, "mino": _2, "minokamo": _2, "mitake": _2, "mizunami": _2, "motosu": _2, "nakatsugawa": _2, "ogaki": _2, "sakahogi": _2, "seki": _2, "sekigahara": _2, "shirakawa": _2, "tajimi": _2, "takayama": _2, "tarui": _2, "toki": _2, "tomika": _2, "wanouchi": _2, "yamagata": _2, "yaotsu": _2, "yoro": _2 }], "gunma": [1, { "annaka": _2, "chiyoda": _2, "fujioka": _2, "higashiagatsuma": _2, "isesaki": _2, "itakura": _2, "kanna": _2, "kanra": _2, "katashina": _2, "kawaba": _2, "kiryu": _2, "kusatsu": _2, "maebashi": _2, "meiwa": _2, "midori": _2, "minakami": _2, "naganohara": _2, "nakanojo": _2, "nanmoku": _2, "numata": _2, "oizumi": _2, "ora": _2, "ota": _2, "shibukawa": _2, "shimonita": _2, "shinto": _2, "showa": _2, "takasaki": _2, "takayama": _2, "tamamura": _2, "tatebayashi": _2, "tomioka": _2, "tsukiyono": _2, "tsumagoi": _2, "ueno": _2, "yoshioka": _2 }], "hiroshima": [1, { "asaminami": _2, "daiwa": _2, "etajima": _2, "fuchu": _2, "fukuyama": _2, "hatsukaichi": _2, "higashihiroshima": _2, "hongo": _2, "jinsekikogen": _2, "kaita": _2, "kui": _2, "kumano": _2, "kure": _2, "mihara": _2, "miyoshi": _2, "naka": _2, "onomichi": _2, "osakikamijima": _2, "otake": _2, "saka": _2, "sera": _2, "seranishi": _2, "shinichi": _2, "shobara": _2, "takehara": _2 }], "hokkaido": [1, { "abashiri": _2, "abira": _2, "aibetsu": _2, "akabira": _2, "akkeshi": _2, "asahikawa": _2, "ashibetsu": _2, "ashoro": _2, "assabu": _2, "atsuma": _2, "bibai": _2, "biei": _2, "bifuka": _2, "bihoro": _2, "biratori": _2, "chippubetsu": _2, "chitose": _2, "date": _2, "ebetsu": _2, "embetsu": _2, "eniwa": _2, "erimo": _2, "esan": _2, "esashi": _2, "fukagawa": _2, "fukushima": _2, "furano": _2, "furubira": _2, "haboro": _2, "hakodate": _2, "hamatonbetsu": _2, "hidaka": _2, "higashikagura": _2, "higashikawa": _2, "hiroo": _2, "hokuryu": _2, "hokuto": _2, "honbetsu": _2, "horokanai": _2, "horonobe": _2, "ikeda": _2, "imakane": _2, "ishikari": _2, "iwamizawa": _2, "iwanai": _2, "kamifurano": _2, "kamikawa": _2, "kamishihoro": _2, "kamisunagawa": _2, "kamoenai": _2, "kayabe": _2, "kembuchi": _2, "kikonai": _2, "kimobetsu": _2, "kitahiroshima": _2, "kitami": _2, "kiyosato": _2, "koshimizu": _2, "kunneppu": _2, "kuriyama": _2, "kuromatsunai": _2, "kushiro": _2, "kutchan": _2, "kyowa": _2, "mashike": _2, "matsumae": _2, "mikasa": _2, "minamifurano": _2, "mombetsu": _2, "moseushi": _2, "mukawa": _2, "muroran": _2, "naie": _2, "nakagawa": _2, "nakasatsunai": _2, "nakatombetsu": _2, "nanae": _2, "nanporo": _2, "nayoro": _2, "nemuro": _2, "niikappu": _2, "niki": _2, "nishiokoppe": _2, "noboribetsu": _2, "numata": _2, "obihiro": _2, "obira": _2, "oketo": _2, "okoppe": _2, "otaru": _2, "otobe": _2, "otofuke": _2, "otoineppu": _2, "oumu": _2, "ozora": _2, "pippu": _2, "rankoshi": _2, "rebun": _2, "rikubetsu": _2, "rishiri": _2, "rishirifuji": _2, "saroma": _2, "sarufutsu": _2, "shakotan": _2, "shari": _2, "shibecha": _2, "shibetsu": _2, "shikabe": _2, "shikaoi": _2, "shimamaki": _2, "shimizu": _2, "shimokawa": _2, "shinshinotsu": _2, "shintoku": _2, "shiranuka": _2, "shiraoi": _2, "shiriuchi": _2, "sobetsu": _2, "sunagawa": _2, "taiki": _2, "takasu": _2, "takikawa": _2, "takinoue": _2, "teshikaga": _2, "tobetsu": _2, "tohma": _2, "tomakomai": _2, "tomari": _2, "toya": _2, "toyako": _2, "toyotomi": _2, "toyoura": _2, "tsubetsu": _2, "tsukigata": _2, "urakawa": _2, "urausu": _2, "uryu": _2, "utashinai": _2, "wakkanai": _2, "wassamu": _2, "yakumo": _2, "yoichi": _2 }], "hyogo": [1, { "aioi": _2, "akashi": _2, "ako": _2, "amagasaki": _2, "aogaki": _2, "asago": _2, "ashiya": _2, "awaji": _2, "fukusaki": _2, "goshiki": _2, "harima": _2, "himeji": _2, "ichikawa": _2, "inagawa": _2, "itami": _2, "kakogawa": _2, "kamigori": _2, "kamikawa": _2, "kasai": _2, "kasuga": _2, "kawanishi": _2, "miki": _2, "minamiawaji": _2, "nishinomiya": _2, "nishiwaki": _2, "ono": _2, "sanda": _2, "sannan": _2, "sasayama": _2, "sayo": _2, "shingu": _2, "shinonsen": _2, "shiso": _2, "sumoto": _2, "taishi": _2, "taka": _2, "takarazuka": _2, "takasago": _2, "takino": _2, "tamba": _2, "tatsuno": _2, "toyooka": _2, "yabu": _2, "yashiro": _2, "yoka": _2, "yokawa": _2 }], "ibaraki": [1, { "ami": _2, "asahi": _2, "bando": _2, "chikusei": _2, "daigo": _2, "fujishiro": _2, "hitachi": _2, "hitachinaka": _2, "hitachiomiya": _2, "hitachiota": _2, "ibaraki": _2, "ina": _2, "inashiki": _2, "itako": _2, "iwama": _2, "joso": _2, "kamisu": _2, "kasama": _2, "kashima": _2, "kasumigaura": _2, "koga": _2, "miho": _2, "mito": _2, "moriya": _2, "naka": _2, "namegata": _2, "oarai": _2, "ogawa": _2, "omitama": _2, "ryugasaki": _2, "sakai": _2, "sakuragawa": _2, "shimodate": _2, "shimotsuma": _2, "shirosato": _2, "sowa": _2, "suifu": _2, "takahagi": _2, "tamatsukuri": _2, "tokai": _2, "tomobe": _2, "tone": _2, "toride": _2, "tsuchiura": _2, "tsukuba": _2, "uchihara": _2, "ushiku": _2, "yachiyo": _2, "yamagata": _2, "yawara": _2, "yuki": _2 }], "ishikawa": [1, { "anamizu": _2, "hakui": _2, "hakusan": _2, "kaga": _2, "kahoku": _2, "kanazawa": _2, "kawakita": _2, "komatsu": _2, "nakanoto": _2, "nanao": _2, "nomi": _2, "nonoichi": _2, "noto": _2, "shika": _2, "suzu": _2, "tsubata": _2, "tsurugi": _2, "uchinada": _2, "wajima": _2 }], "iwate": [1, { "fudai": _2, "fujisawa": _2, "hanamaki": _2, "hiraizumi": _2, "hirono": _2, "ichinohe": _2, "ichinoseki": _2, "iwaizumi": _2, "iwate": _2, "joboji": _2, "kamaishi": _2, "kanegasaki": _2, "karumai": _2, "kawai": _2, "kitakami": _2, "kuji": _2, "kunohe": _2, "kuzumaki": _2, "miyako": _2, "mizusawa": _2, "morioka": _2, "ninohe": _2, "noda": _2, "ofunato": _2, "oshu": _2, "otsuchi": _2, "rikuzentakata": _2, "shiwa": _2, "shizukuishi": _2, "sumita": _2, "tanohata": _2, "tono": _2, "yahaba": _2, "yamada": _2 }], "kagawa": [1, { "ayagawa": _2, "higashikagawa": _2, "kanonji": _2, "kotohira": _2, "manno": _2, "marugame": _2, "mitoyo": _2, "naoshima": _2, "sanuki": _2, "tadotsu": _2, "takamatsu": _2, "tonosho": _2, "uchinomi": _2, "utazu": _2, "zentsuji": _2 }], "kagoshima": [1, { "akune": _2, "amami": _2, "hioki": _2, "isa": _2, "isen": _2, "izumi": _2, "kagoshima": _2, "kanoya": _2, "kawanabe": _2, "kinko": _2, "kouyama": _2, "makurazaki": _2, "matsumoto": _2, "minamitane": _2, "nakatane": _2, "nishinoomote": _2, "satsumasendai": _2, "soo": _2, "tarumizu": _2, "yusui": _2 }], "kanagawa": [1, { "aikawa": _2, "atsugi": _2, "ayase": _2, "chigasaki": _2, "ebina": _2, "fujisawa": _2, "hadano": _2, "hakone": _2, "hiratsuka": _2, "isehara": _2, "kaisei": _2, "kamakura": _2, "kiyokawa": _2, "matsuda": _2, "minamiashigara": _2, "miura": _2, "nakai": _2, "ninomiya": _2, "odawara": _2, "oi": _2, "oiso": _2, "sagamihara": _2, "samukawa": _2, "tsukui": _2, "yamakita": _2, "yamato": _2, "yokosuka": _2, "yugawara": _2, "zama": _2, "zushi": _2 }], "kochi": [1, { "aki": _2, "geisei": _2, "hidaka": _2, "higashitsuno": _2, "ino": _2, "kagami": _2, "kami": _2, "kitagawa": _2, "kochi": _2, "mihara": _2, "motoyama": _2, "muroto": _2, "nahari": _2, "nakamura": _2, "nankoku": _2, "nishitosa": _2, "niyodogawa": _2, "ochi": _2, "okawa": _2, "otoyo": _2, "otsuki": _2, "sakawa": _2, "sukumo": _2, "susaki": _2, "tosa": _2, "tosashimizu": _2, "toyo": _2, "tsuno": _2, "umaji": _2, "yasuda": _2, "yusuhara": _2 }], "kumamoto": [1, { "amakusa": _2, "arao": _2, "aso": _2, "choyo": _2, "gyokuto": _2, "kamiamakusa": _2, "kikuchi": _2, "kumamoto": _2, "mashiki": _2, "mifune": _2, "minamata": _2, "minamioguni": _2, "nagasu": _2, "nishihara": _2, "oguni": _2, "ozu": _2, "sumoto": _2, "takamori": _2, "uki": _2, "uto": _2, "yamaga": _2, "yamato": _2, "yatsushiro": _2 }], "kyoto": [1, { "ayabe": _2, "fukuchiyama": _2, "higashiyama": _2, "ide": _2, "ine": _2, "joyo": _2, "kameoka": _2, "kamo": _2, "kita": _2, "kizu": _2, "kumiyama": _2, "kyotamba": _2, "kyotanabe": _2, "kyotango": _2, "maizuru": _2, "minami": _2, "minamiyamashiro": _2, "miyazu": _2, "muko": _2, "nagaokakyo": _2, "nakagyo": _2, "nantan": _2, "oyamazaki": _2, "sakyo": _2, "seika": _2, "tanabe": _2, "uji": _2, "ujitawara": _2, "wazuka": _2, "yamashina": _2, "yawata": _2 }], "mie": [1, { "asahi": _2, "inabe": _2, "ise": _2, "kameyama": _2, "kawagoe": _2, "kiho": _2, "kisosaki": _2, "kiwa": _2, "komono": _2, "kumano": _2, "kuwana": _2, "matsusaka": _2, "meiwa": _2, "mihama": _2, "minamiise": _2, "misugi": _2, "miyama": _2, "nabari": _2, "shima": _2, "suzuka": _2, "tado": _2, "taiki": _2, "taki": _2, "tamaki": _2, "toba": _2, "tsu": _2, "udono": _2, "ureshino": _2, "watarai": _2, "yokkaichi": _2 }], "miyagi": [1, { "furukawa": _2, "higashimatsushima": _2, "ishinomaki": _2, "iwanuma": _2, "kakuda": _2, "kami": _2, "kawasaki": _2, "marumori": _2, "matsushima": _2, "minamisanriku": _2, "misato": _2, "murata": _2, "natori": _2, "ogawara": _2, "ohira": _2, "onagawa": _2, "osaki": _2, "rifu": _2, "semine": _2, "shibata": _2, "shichikashuku": _2, "shikama": _2, "shiogama": _2, "shiroishi": _2, "tagajo": _2, "taiwa": _2, "tome": _2, "tomiya": _2, "wakuya": _2, "watari": _2, "yamamoto": _2, "zao": _2 }], "miyazaki": [1, { "aya": _2, "ebino": _2, "gokase": _2, "hyuga": _2, "kadogawa": _2, "kawaminami": _2, "kijo": _2, "kitagawa": _2, "kitakata": _2, "kitaura": _2, "kobayashi": _2, "kunitomi": _2, "kushima": _2, "mimata": _2, "miyakonojo": _2, "miyazaki": _2, "morotsuka": _2, "nichinan": _2, "nishimera": _2, "nobeoka": _2, "saito": _2, "shiiba": _2, "shintomi": _2, "takaharu": _2, "takanabe": _2, "takazaki": _2, "tsuno": _2 }], "nagano": [1, { "achi": _2, "agematsu": _2, "anan": _2, "aoki": _2, "asahi": _2, "azumino": _2, "chikuhoku": _2, "chikuma": _2, "chino": _2, "fujimi": _2, "hakuba": _2, "hara": _2, "hiraya": _2, "iida": _2, "iijima": _2, "iiyama": _2, "iizuna": _2, "ikeda": _2, "ikusaka": _2, "ina": _2, "karuizawa": _2, "kawakami": _2, "kiso": _2, "kisofukushima": _2, "kitaaiki": _2, "komagane": _2, "komoro": _2, "matsukawa": _2, "matsumoto": _2, "miasa": _2, "minamiaiki": _2, "minamimaki": _2, "minamiminowa": _2, "minowa": _2, "miyada": _2, "miyota": _2, "mochizuki": _2, "nagano": _2, "nagawa": _2, "nagiso": _2, "nakagawa": _2, "nakano": _2, "nozawaonsen": _2, "obuse": _2, "ogawa": _2, "okaya": _2, "omachi": _2, "omi": _2, "ookuwa": _2, "ooshika": _2, "otaki": _2, "otari": _2, "sakae": _2, "sakaki": _2, "saku": _2, "sakuho": _2, "shimosuwa": _2, "shinanomachi": _2, "shiojiri": _2, "suwa": _2, "suzaka": _2, "takagi": _2, "takamori": _2, "takayama": _2, "tateshina": _2, "tatsuno": _2, "togakushi": _2, "togura": _2, "tomi": _2, "ueda": _2, "wada": _2, "yamagata": _2, "yamanouchi": _2, "yasaka": _2, "yasuoka": _2 }], "nagasaki": [1, { "chijiwa": _2, "futsu": _2, "goto": _2, "hasami": _2, "hirado": _2, "iki": _2, "isahaya": _2, "kawatana": _2, "kuchinotsu": _2, "matsuura": _2, "nagasaki": _2, "obama": _2, "omura": _2, "oseto": _2, "saikai": _2, "sasebo": _2, "seihi": _2, "shimabara": _2, "shinkamigoto": _2, "togitsu": _2, "tsushima": _2, "unzen": _2 }], "nara": [1, { "ando": _2, "gose": _2, "heguri": _2, "higashiyoshino": _2, "ikaruga": _2, "ikoma": _2, "kamikitayama": _2, "kanmaki": _2, "kashiba": _2, "kashihara": _2, "katsuragi": _2, "kawai": _2, "kawakami": _2, "kawanishi": _2, "koryo": _2, "kurotaki": _2, "mitsue": _2, "miyake": _2, "nara": _2, "nosegawa": _2, "oji": _2, "ouda": _2, "oyodo": _2, "sakurai": _2, "sango": _2, "shimoichi": _2, "shimokitayama": _2, "shinjo": _2, "soni": _2, "takatori": _2, "tawaramoto": _2, "tenkawa": _2, "tenri": _2, "uda": _2, "yamatokoriyama": _2, "yamatotakada": _2, "yamazoe": _2, "yoshino": _2 }], "niigata": [1, { "aga": _2, "agano": _2, "gosen": _2, "itoigawa": _2, "izumozaki": _2, "joetsu": _2, "kamo": _2, "kariwa": _2, "kashiwazaki": _2, "minamiuonuma": _2, "mitsuke": _2, "muika": _2, "murakami": _2, "myoko": _2, "nagaoka": _2, "niigata": _2, "ojiya": _2, "omi": _2, "sado": _2, "sanjo": _2, "seiro": _2, "seirou": _2, "sekikawa": _2, "shibata": _2, "tagami": _2, "tainai": _2, "tochio": _2, "tokamachi": _2, "tsubame": _2, "tsunan": _2, "uonuma": _2, "yahiko": _2, "yoita": _2, "yuzawa": _2 }], "oita": [1, { "beppu": _2, "bungoono": _2, "bungotakada": _2, "hasama": _2, "hiji": _2, "himeshima": _2, "hita": _2, "kamitsue": _2, "kokonoe": _2, "kuju": _2, "kunisaki": _2, "kusu": _2, "oita": _2, "saiki": _2, "taketa": _2, "tsukumi": _2, "usa": _2, "usuki": _2, "yufu": _2 }], "okayama": [1, { "akaiwa": _2, "asakuchi": _2, "bizen": _2, "hayashima": _2, "ibara": _2, "kagamino": _2, "kasaoka": _2, "kibichuo": _2, "kumenan": _2, "kurashiki": _2, "maniwa": _2, "misaki": _2, "nagi": _2, "niimi": _2, "nishiawakura": _2, "okayama": _2, "satosho": _2, "setouchi": _2, "shinjo": _2, "shoo": _2, "soja": _2, "takahashi": _2, "tamano": _2, "tsuyama": _2, "wake": _2, "yakage": _2 }], "okinawa": [1, { "aguni": _2, "ginowan": _2, "ginoza": _2, "gushikami": _2, "haebaru": _2, "higashi": _2, "hirara": _2, "iheya": _2, "ishigaki": _2, "ishikawa": _2, "itoman": _2, "izena": _2, "kadena": _2, "kin": _2, "kitadaito": _2, "kitanakagusuku": _2, "kumejima": _2, "kunigami": _2, "minamidaito": _2, "motobu": _2, "nago": _2, "naha": _2, "nakagusuku": _2, "nakijin": _2, "nanjo": _2, "nishihara": _2, "ogimi": _2, "okinawa": _2, "onna": _2, "shimoji": _2, "taketomi": _2, "tarama": _2, "tokashiki": _2, "tomigusuku": _2, "tonaki": _2, "urasoe": _2, "uruma": _2, "yaese": _2, "yomitan": _2, "yonabaru": _2, "yonaguni": _2, "zamami": _2 }], "osaka": [1, { "abeno": _2, "chihayaakasaka": _2, "chuo": _2, "daito": _2, "fujiidera": _2, "habikino": _2, "hannan": _2, "higashiosaka": _2, "higashisumiyoshi": _2, "higashiyodogawa": _2, "hirakata": _2, "ibaraki": _2, "ikeda": _2, "izumi": _2, "izumiotsu": _2, "izumisano": _2, "kadoma": _2, "kaizuka": _2, "kanan": _2, "kashiwara": _2, "katano": _2, "kawachinagano": _2, "kishiwada": _2, "kita": _2, "kumatori": _2, "matsubara": _2, "minato": _2, "minoh": _2, "misaki": _2, "moriguchi": _2, "neyagawa": _2, "nishi": _2, "nose": _2, "osakasayama": _2, "sakai": _2, "sayama": _2, "sennan": _2, "settsu": _2, "shijonawate": _2, "shimamoto": _2, "suita": _2, "tadaoka": _2, "taishi": _2, "tajiri": _2, "takaishi": _2, "takatsuki": _2, "tondabayashi": _2, "toyonaka": _2, "toyono": _2, "yao": _2 }], "saga": [1, { "ariake": _2, "arita": _2, "fukudomi": _2, "genkai": _2, "hamatama": _2, "hizen": _2, "imari": _2, "kamimine": _2, "kanzaki": _2, "karatsu": _2, "kashima": _2, "kitagata": _2, "kitahata": _2, "kiyama": _2, "kouhoku": _2, "kyuragi": _2, "nishiarita": _2, "ogi": _2, "omachi": _2, "ouchi": _2, "saga": _2, "shiroishi": _2, "taku": _2, "tara": _2, "tosu": _2, "yoshinogari": _2 }], "saitama": [1, { "arakawa": _2, "asaka": _2, "chichibu": _2, "fujimi": _2, "fujimino": _2, "fukaya": _2, "hanno": _2, "hanyu": _2, "hasuda": _2, "hatogaya": _2, "hatoyama": _2, "hidaka": _2, "higashichichibu": _2, "higashimatsuyama": _2, "honjo": _2, "ina": _2, "iruma": _2, "iwatsuki": _2, "kamiizumi": _2, "kamikawa": _2, "kamisato": _2, "kasukabe": _2, "kawagoe": _2, "kawaguchi": _2, "kawajima": _2, "kazo": _2, "kitamoto": _2, "koshigaya": _2, "kounosu": _2, "kuki": _2, "kumagaya": _2, "matsubushi": _2, "minano": _2, "misato": _2, "miyashiro": _2, "miyoshi": _2, "moroyama": _2, "nagatoro": _2, "namegawa": _2, "niiza": _2, "ogano": _2, "ogawa": _2, "ogose": _2, "okegawa": _2, "omiya": _2, "otaki": _2, "ranzan": _2, "ryokami": _2, "saitama": _2, "sakado": _2, "satte": _2, "sayama": _2, "shiki": _2, "shiraoka": _2, "soka": _2, "sugito": _2, "toda": _2, "tokigawa": _2, "tokorozawa": _2, "tsurugashima": _2, "urawa": _2, "warabi": _2, "yashio": _2, "yokoze": _2, "yono": _2, "yorii": _2, "yoshida": _2, "yoshikawa": _2, "yoshimi": _2 }], "shiga": [1, { "aisho": _2, "gamo": _2, "higashiomi": _2, "hikone": _2, "koka": _2, "konan": _2, "kosei": _2, "koto": _2, "kusatsu": _2, "maibara": _2, "moriyama": _2, "nagahama": _2, "nishiazai": _2, "notogawa": _2, "omihachiman": _2, "otsu": _2, "ritto": _2, "ryuoh": _2, "takashima": _2, "takatsuki": _2, "torahime": _2, "toyosato": _2, "yasu": _2 }], "shimane": [1, { "akagi": _2, "ama": _2, "gotsu": _2, "hamada": _2, "higashiizumo": _2, "hikawa": _2, "hikimi": _2, "izumo": _2, "kakinoki": _2, "masuda": _2, "matsue": _2, "misato": _2, "nishinoshima": _2, "ohda": _2, "okinoshima": _2, "okuizumo": _2, "shimane": _2, "tamayu": _2, "tsuwano": _2, "unnan": _2, "yakumo": _2, "yasugi": _2, "yatsuka": _2 }], "shizuoka": [1, { "arai": _2, "atami": _2, "fuji": _2, "fujieda": _2, "fujikawa": _2, "fujinomiya": _2, "fukuroi": _2, "gotemba": _2, "haibara": _2, "hamamatsu": _2, "higashiizu": _2, "ito": _2, "iwata": _2, "izu": _2, "izunokuni": _2, "kakegawa": _2, "kannami": _2, "kawanehon": _2, "kawazu": _2, "kikugawa": _2, "kosai": _2, "makinohara": _2, "matsuzaki": _2, "minamiizu": _2, "mishima": _2, "morimachi": _2, "nishiizu": _2, "numazu": _2, "omaezaki": _2, "shimada": _2, "shimizu": _2, "shimoda": _2, "shizuoka": _2, "susono": _2, "yaizu": _2, "yoshida": _2 }], "tochigi": [1, { "ashikaga": _2, "bato": _2, "haga": _2, "ichikai": _2, "iwafune": _2, "kaminokawa": _2, "kanuma": _2, "karasuyama": _2, "kuroiso": _2, "mashiko": _2, "mibu": _2, "moka": _2, "motegi": _2, "nasu": _2, "nasushiobara": _2, "nikko": _2, "nishikata": _2, "nogi": _2, "ohira": _2, "ohtawara": _2, "oyama": _2, "sakura": _2, "sano": _2, "shimotsuke": _2, "shioya": _2, "takanezawa": _2, "tochigi": _2, "tsuga": _2, "ujiie": _2, "utsunomiya": _2, "yaita": _2 }], "tokushima": [1, { "aizumi": _2, "anan": _2, "ichiba": _2, "itano": _2, "kainan": _2, "komatsushima": _2, "matsushige": _2, "mima": _2, "minami": _2, "miyoshi": _2, "mugi": _2, "nakagawa": _2, "naruto": _2, "sanagochi": _2, "shishikui": _2, "tokushima": _2, "wajiki": _2 }], "tokyo": [1, { "adachi": _2, "akiruno": _2, "akishima": _2, "aogashima": _2, "arakawa": _2, "bunkyo": _2, "chiyoda": _2, "chofu": _2, "chuo": _2, "edogawa": _2, "fuchu": _2, "fussa": _2, "hachijo": _2, "hachioji": _2, "hamura": _2, "higashikurume": _2, "higashimurayama": _2, "higashiyamato": _2, "hino": _2, "hinode": _2, "hinohara": _2, "inagi": _2, "itabashi": _2, "katsushika": _2, "kita": _2, "kiyose": _2, "kodaira": _2, "koganei": _2, "kokubunji": _2, "komae": _2, "koto": _2, "kouzushima": _2, "kunitachi": _2, "machida": _2, "meguro": _2, "minato": _2, "mitaka": _2, "mizuho": _2, "musashimurayama": _2, "musashino": _2, "nakano": _2, "nerima": _2, "ogasawara": _2, "okutama": _2, "ome": _2, "oshima": _2, "ota": _2, "setagaya": _2, "shibuya": _2, "shinagawa": _2, "shinjuku": _2, "suginami": _2, "sumida": _2, "tachikawa": _2, "taito": _2, "tama": _2, "toshima": _2 }], "tottori": [1, { "chizu": _2, "hino": _2, "kawahara": _2, "koge": _2, "kotoura": _2, "misasa": _2, "nanbu": _2, "nichinan": _2, "sakaiminato": _2, "tottori": _2, "wakasa": _2, "yazu": _2, "yonago": _2 }], "toyama": [1, { "asahi": _2, "fuchu": _2, "fukumitsu": _2, "funahashi": _2, "himi": _2, "imizu": _2, "inami": _2, "johana": _2, "kamiichi": _2, "kurobe": _2, "nakaniikawa": _2, "namerikawa": _2, "nanto": _2, "nyuzen": _2, "oyabe": _2, "taira": _2, "takaoka": _2, "tateyama": _2, "toga": _2, "tonami": _2, "toyama": _2, "unazuki": _2, "uozu": _2, "yamada": _2 }], "wakayama": [1, { "arida": _2, "aridagawa": _2, "gobo": _2, "hashimoto": _2, "hidaka": _2, "hirogawa": _2, "inami": _2, "iwade": _2, "kainan": _2, "kamitonda": _2, "katsuragi": _2, "kimino": _2, "kinokawa": _2, "kitayama": _2, "koya": _2, "koza": _2, "kozagawa": _2, "kudoyama": _2, "kushimoto": _2, "mihama": _2, "misato": _2, "nachikatsuura": _2, "shingu": _2, "shirahama": _2, "taiji": _2, "tanabe": _2, "wakayama": _2, "yuasa": _2, "yura": _2 }], "yamagata": [1, { "asahi": _2, "funagata": _2, "higashine": _2, "iide": _2, "kahoku": _2, "kaminoyama": _2, "kaneyama": _2, "kawanishi": _2, "mamurogawa": _2, "mikawa": _2, "murayama": _2, "nagai": _2, "nakayama": _2, "nanyo": _2, "nishikawa": _2, "obanazawa": _2, "oe": _2, "oguni": _2, "ohkura": _2, "oishida": _2, "sagae": _2, "sakata": _2, "sakegawa": _2, "shinjo": _2, "shirataka": _2, "shonai": _2, "takahata": _2, "tendo": _2, "tozawa": _2, "tsuruoka": _2, "yamagata": _2, "yamanobe": _2, "yonezawa": _2, "yuza": _2 }], "yamaguchi": [1, { "abu": _2, "hagi": _2, "hikari": _2, "hofu": _2, "iwakuni": _2, "kudamatsu": _2, "mitou": _2, "nagato": _2, "oshima": _2, "shimonoseki": _2, "shunan": _2, "tabuse": _2, "tokuyama": _2, "toyota": _2, "ube": _2, "yuu": _2 }], "yamanashi": [1, { "chuo": _2, "doshi": _2, "fuefuki": _2, "fujikawa": _2, "fujikawaguchiko": _2, "fujiyoshida": _2, "hayakawa": _2, "hokuto": _2, "ichikawamisato": _2, "kai": _2, "kofu": _2, "koshu": _2, "kosuge": _2, "minami-alps": _2, "minobu": _2, "nakamichi": _2, "nanbu": _2, "narusawa": _2, "nirasaki": _2, "nishikatsura": _2, "oshino": _2, "otsuki": _2, "showa": _2, "tabayama": _2, "tsuru": _2, "uenohara": _2, "yamanakako": _2, "yamanashi": _2 }], "xn--4pvxs": _2, "栃木": _2, "xn--vgu402c": _2, "愛知": _2, "xn--c3s14m": _2, "愛媛": _2, "xn--f6qx53a": _2, "兵庫": _2, "xn--8pvr4u": _2, "熊本": _2, "xn--uist22h": _2, "茨城": _2, "xn--djrs72d6uy": _2, "北海道": _2, "xn--mkru45i": _2, "千葉": _2, "xn--0trq7p7nn": _2, "和歌山": _2, "xn--8ltr62k": _2, "長崎": _2, "xn--2m4a15e": _2, "長野": _2, "xn--efvn9s": _2, "新潟": _2, "xn--32vp30h": _2, "青森": _2, "xn--4it797k": _2, "静岡": _2, "xn--1lqs71d": _2, "東京": _2, "xn--5rtp49c": _2, "石川": _2, "xn--5js045d": _2, "埼玉": _2, "xn--ehqz56n": _2, "三重": _2, "xn--1lqs03n": _2, "京都": _2, "xn--qqqt11m": _2, "佐賀": _2, "xn--kbrq7o": _2, "大分": _2, "xn--pssu33l": _2, "大阪": _2, "xn--ntsq17g": _2, "奈良": _2, "xn--uisz3g": _2, "宮城": _2, "xn--6btw5a": _2, "宮崎": _2, "xn--1ctwo": _2, "富山": _2, "xn--6orx2r": _2, "山口": _2, "xn--rht61e": _2, "山形": _2, "xn--rht27z": _2, "山梨": _2, "xn--djty4k": _2, "岩手": _2, "xn--nit225k": _2, "岐阜": _2, "xn--rht3d": _2, "岡山": _2, "xn--klty5x": _2, "島根": _2, "xn--kltx9a": _2, "広島": _2, "xn--kltp7d": _2, "徳島": _2, "xn--uuwu58a": _2, "沖縄": _2, "xn--zbx025d": _2, "滋賀": _2, "xn--ntso0iqx3a": _2, "神奈川": _2, "xn--elqq16h": _2, "福井": _2, "xn--4it168d": _2, "福岡": _2, "xn--klt787d": _2, "福島": _2, "xn--rny31h": _2, "秋田": _2, "xn--7t0a264c": _2, "群馬": _2, "xn--5rtq34k": _2, "香川": _2, "xn--k7yn95e": _2, "高知": _2, "xn--tor131o": _2, "鳥取": _2, "xn--d5qv7z876c": _2, "鹿児島": _2, "kawasaki": _8, "kitakyushu": _8, "kobe": _8, "nagoya": _8, "sapporo": _8, "sendai": _8, "yokohama": _8, "buyshop": _3, "fashionstore": _3, "handcrafted": _3, "kawaiishop": _3, "supersale": _3, "theshop": _3, "usercontent": _3, "angry": _3, "babyblue": _3, "babymilk": _3, "backdrop": _3, "bambina": _3, "bitter": _3, "blush": _3, "boo": _3, "boy": _3, "boyfriend": _3, "but": _3, "candypop": _3, "capoo": _3, "catfood": _3, "cheap": _3, "chicappa": _3, "chillout": _3, "chips": _3, "chowder": _3, "chu": _3, "ciao": _3, "cocotte": _3, "coolblog": _3, "cranky": _3, "cutegirl": _3, "daa": _3, "deca": _3, "deci": _3, "digick": _3, "egoism": _3, "fakefur": _3, "fem": _3, "flier": _3, "floppy": _3, "fool": _3, "frenchkiss": _3, "girlfriend": _3, "girly": _3, "gloomy": _3, "gonna": _3, "greater": _3, "hacca": _3, "heavy": _3, "her": _3, "hiho": _3, "hippy": _3, "holy": _3, "hungry": _3, "icurus": _3, "itigo": _3, "jellybean": _3, "kikirara": _3, "kill": _3, "kilo": _3, "kuron": _3, "littlestar": _3, "lolipopmc": _3, "lolitapunk": _3, "lomo": _3, "lovepop": _3, "lovesick": _3, "main": _3, "mods": _3, "mond": _3, "mongolian": _3, "moo": _3, "namaste": _3, "nikita": _3, "nobushi": _3, "noor": _3, "oops": _3, "parallel": _3, "parasite": _3, "pecori": _3, "peewee": _3, "penne": _3, "pepper": _3, "perma": _3, "pigboat": _3, "pinoko": _3, "punyu": _3, "pupu": _3, "pussycat": _3, "pya": _3, "raindrop": _3, "readymade": _3, "sadist": _3, "schoolbus": _3, "secret": _3, "staba": _3, "stripper": _3, "sub": _3, "sunnyday": _3, "thick": _3, "tonkotsu": _3, "under": _3, "upper": _3, "velvet": _3, "verse": _3, "versus": _3, "vivian": _3, "watson": _3, "weblike": _3, "whitesnow": _3, "zombie": _3, "blogspot": _3, "2-d": _3, "bona": _3, "crap": _3, "daynight": _3, "eek": _3, "flop": _3, "halfmoon": _3, "jeez": _3, "matrix": _3, "mimoza": _3, "netgamers": _3, "nyanta": _3, "o0o0": _3, "rdy": _3, "rgr": _3, "rulez": _3, "sakurastorage": [0, { "isk01": _12, "isk02": _12 }], "saloon": _3, "sblo": _3, "skr": _3, "tank": _3, "uh-oh": _3, "undo": _3, "webaccel": [0, { "rs": _3, "user": _3 }], "websozai": _3, "xii": _3 }], "ke": [1, { "ac": _2, "co": _6, "go": _2, "info": _2, "me": _2, "mobi": _2, "ne": _2, "or": _2, "sc": _2 }], "kg": [1, { "org": _2, "net": _2, "com": _2, "edu": _2, "gov": _2, "mil": _2, "blog": _3, "io": _3, "jp": _3, "tv": _3, "uk": _3, "us": _3 }], "kh": _8, "ki": _35, "km": [1, { "org": _2, "nom": _2, "gov": _2, "prd": _2, "tm": _2, "edu": _2, "mil": _2, "ass": _2, "com": _2, "coop": _2, "asso": _2, "presse": _2, "medecin": _2, "notaires": _2, "pharmaciens": _2, "veterinaire": _2, "gouv": _2 }], "kn": [1, { "net": _2, "org": _2, "edu": _2, "gov": _2 }], "kp": [1, { "com": _2, "edu": _2, "gov": _2, "org": _2, "rep": _2, "tra": _2 }], "kr": [1, { "ac": _2, "co": _2, "es": _2, "go": _2, "hs": _2, "kg": _2, "mil": _2, "ms": _2, "ne": _2, "or": _2, "pe": _2, "re": _2, "sc": _2, "busan": _2, "chungbuk": _2, "chungnam": _2, "daegu": _2, "daejeon": _2, "gangwon": _2, "gwangju": _2, "gyeongbuk": _2, "gyeonggi": _2, "gyeongnam": _2, "incheon": _2, "jeju": _2, "jeonbuk": _2, "jeonnam": _2, "seoul": _2, "ulsan": _2, "blogspot": _3 }], "kw": [1, { "com": _2, "edu": _2, "emb": _2, "gov": _2, "ind": _2, "net": _2, "org": _2 }], "ky": _27, "kz": [1, { "org": _2, "edu": _2, "net": _2, "gov": _2, "mil": _2, "com": _2, "jcloud": _3, "kazteleport": [0, { "upaas": _3 }] }], "la": [1, { "int": _2, "net": _2, "info": _2, "edu": _2, "gov": _2, "per": _2, "com": _2, "org": _2, "bnr": _3, "c": _3 }], "lb": _4, "lc": [1, { "com": _2, "net": _2, "co": _2, "org": _2, "edu": _2, "gov": _2, "oy": _3 }], "li": [1, { "blogspot": _3, "caa": _3 }], "lk": [1, { "gov": _2, "sch": _2, "net": _2, "int": _2, "com": _2, "org": _2, "edu": _2, "ngo": _2, "soc": _2, "web": _2, "ltd": _2, "assn": _2, "grp": _2, "hotel": _2, "ac": _2 }], "lr": _4, "ls": [1, { "ac": _2, "biz": _2, "co": _2, "edu": _2, "gov": _2, "info": _2, "net": _2, "org": _2, "sc": _2, "de": _3 }], "lt": _36, "lu": [1, { "blogspot": _3, "123website": _3 }], "lv": [1, { "com": _2, "edu": _2, "gov": _2, "org": _2, "mil": _2, "id": _2, "net": _2, "asn": _2, "conf": _2 }], "ly": [1, { "com": _2, "net": _2, "gov": _2, "plc": _2, "edu": _2, "sch": _2, "med": _2, "org": _2, "id": _2 }], "ma": [1, { "co": _2, "net": _2, "gov": _2, "org": _2, "ac": _2, "press": _2 }], "mc": [1, { "tm": _2, "asso": _2 }], "md": [1, { "blogspot": _3, "at": _3, "de": _3, "jp": _3, "to": _3 }], "me": [1, { "co": _2, "net": _2, "org": _2, "edu": _2, "ac": _2, "gov": _2, "its": _2, "priv": _2, "c66": _3, "daplie": [2, { "localhost": _3 }], "edgestack": _3, "filegear": _3, "filegear-au": _3, "filegear-de": _3, "filegear-gb": _3, "filegear-ie": _3, "filegear-jp": _3, "filegear-sg": _3, "glitch": _3, "ravendb": _3, "lohmus": _3, "barsy": _3, "mcpe": _3, "mcdir": _3, "soundcast": _3, "tcp4": _3, "brasilia": _3, "ddns": _3, "dnsfor": _3, "hopto": _3, "loginto": _3, "noip": _3, "webhop": _3, "vp4": _3, "diskstation": _3, "dscloud": _3, "i234": _3, "myds": _3, "synology": _3, "transip": _25, "wedeploy": _3, "yombo": _3, "nohost": _3 }], "mg": [1, { "org": _2, "nom": _2, "gov": _2, "prd": _2, "tm": _2, "edu": _2, "mil": _2, "com": _2, "co": _2 }], "mh": _2, "mil": _2, "mk": [1, { "com": _2, "org": _2, "net": _2, "edu": _2, "gov": _2, "inf": _2, "name": _2, "blogspot": _3 }], "ml": [1, { "com": _2, "edu": _2, "gouv": _2, "gov": _2, "net": _2, "org": _2, "presse": _2 }], "mm": _8, "mn": [1, { "gov": _2, "edu": _2, "org": _2, "nyc": _3 }], "mo": _4, "mobi": [1, { "barsy": _3, "dscloud": _3 }], "mp": [1, { "ju": _3 }], "mq": _2, "mr": _36, "ms": [1, { "com": _2, "edu": _2, "gov": _2, "net": _2, "org": _2, "lab": _3, "minisite": _3 }], "mt": [1, { "com": _6, "edu": _2, "net": _2, "org": _2 }], "mu": [1, { "com": _2, "net": _2, "org": _2, "gov": _2, "ac": _2, "co": _2, "or": _2 }], "museum": _2, "mv": [1, { "aero": _2, "biz": _2, "com": _2, "coop": _2, "edu": _2, "gov": _2, "info": _2, "int": _2, "mil": _2, "museum": _2, "name": _2, "net": _2, "org": _2, "pro": _2 }], "mw": [1, { "ac": _2, "biz": _2, "co": _2, "com": _2, "coop": _2, "edu": _2, "gov": _2, "int": _2, "museum": _2, "net": _2, "org": _2 }], "mx": [1, { "com": _2, "org": _2, "gob": _2, "edu": _2, "net": _2, "blogspot": _3 }], "my": [1, { "biz": _2, "com": _2, "edu": _2, "gov": _2, "mil": _2, "name": _2, "net": _2, "org": _2, "blogspot": _3 }], "mz": [1, { "ac": _2, "adv": _2, "co": _2, "edu": _2, "gov": _2, "mil": _2, "net": _2, "org": _2 }], "na": [1, { "info": _2, "pro": _2, "name": _2, "school": _2, "or": _2, "dr": _2, "us": _2, "mx": _2, "ca": _2, "in": _2, "cc": _2, "tv": _2, "ws": _2, "mobi": _2, "co": _2, "com": _2, "org": _2 }], "name": [1, { "her": _39, "his": _39 }], "nc": [1, { "asso": _2, "nom": _2 }], "ne": _2, "net": [1, { "adobeaemcloud": _3, "adobeio-static": _3, "adobeioruntime": _3, "akadns": _3, "akamai": _3, "akamai-staging": _3, "akamaiedge": _3, "akamaiedge-staging": _3, "akamaihd": _3, "akamaihd-staging": _3, "akamaiorigin": _3, "akamaiorigin-staging": _3, "akamaized": _3, "akamaized-staging": _3, "edgekey": _3, "edgekey-staging": _3, "edgesuite": _3, "edgesuite-staging": _3, "alwaysdata": _3, "myamaze": _3, "cloudfront": _3, "t3l3p0rt": _3, "appudo": _3, "atlassian-dev": [0, { "prod": [0, { "cdn": _3 }] }], "myfritz": _3, "onavstack": _3, "shopselect": _3, "blackbaudcdn": _3, "boomla": _3, "bplaced": _3, "square7": _3, "gb": _3, "hu": _3, "jp": _3, "se": _3, "uk": _3, "in": _3, "clickrising": _3, "cloudaccess": _3, "cdn77-ssl": _3, "cdn77": [0, { "r": _3 }], "feste-ip": _3, "knx-server": _3, "static-access": _3, "cryptonomic": _5, "dattolocal": _3, "mydatto": _3, "debian": _3, "bitbridge": _3, "at-band-camp": _3, "blogdns": _3, "broke-it": _3, "buyshouses": _3, "dnsalias": _3, "dnsdojo": _3, "does-it": _3, "dontexist": _3, "dynalias": _3, "dynathome": _3, "endofinternet": _3, "from-az": _3, "from-co": _3, "from-la": _3, "from-ny": _3, "gets-it": _3, "ham-radio-op": _3, "homeftp": _3, "homeip": _3, "homelinux": _3, "homeunix": _3, "in-the-band": _3, "is-a-chef": _3, "is-a-geek": _3, "isa-geek": _3, "kicks-ass": _3, "office-on-the": _3, "podzone": _3, "scrapper-site": _3, "selfip": _3, "sells-it": _3, "servebbs": _3, "serveftp": _3, "thruhere": _3, "webhop": _3, "definima": _3, "casacam": _3, "dynu": _3, "dynv6": _3, "twmail": _3, "ru": _3, "channelsdvr": [2, { "u": _3 }], "fastlylb": [2, { "map": _3 }], "fastly": [0, { "freetls": _3, "map": _3, "prod": [0, { "a": _3, "global": _3 }], "ssl": [0, { "a": _3, "b": _3, "global": _3 }] }], "edgeapp": _3, "flynnhosting": _3, "cdn-edges": _3, "heteml": _3, "cloudfunctions": _3, "moonscale": _3, "in-dsl": _3, "in-vpn": _3, "ipifony": _3, "iobb": _3, "cloudjiffy": [2, { "fra1-de": _3, "west1-us": _3 }], "elastx": [0, { "jls-sto1": _3, "jls-sto2": _3, "jls-sto3": _3 }], "faststacks": _3, "massivegrid": [0, { "paas": [0, { "fr-1": _3, "lon-1": _3, "lon-2": _3, "ny-1": _3, "ny-2": _3, "sg-1": _3 }] }], "saveincloud": [0, { "jelastic": _3, "nordeste-idc": _3 }], "scaleforce": _28, "tsukaeru": _29, "kinghost": _3, "uni5": _3, "krellian": _3, "barsy": _3, "memset": _3, "azurewebsites": _3, "azure-mobile": _3, "cloudapp": _3, "azurestaticapps": [2, { "1": _3, "2": _3, "3": _3, "centralus": _3, "eastasia": _3, "eastus2": _3, "westeurope": _3, "westus2": _3 }], "dnsup": _3, "hicam": _3, "now-dns": _3, "ownip": _3, "vpndns": _3, "eating-organic": _3, "mydissent": _3, "myeffect": _3, "mymediapc": _3, "mypsx": _3, "mysecuritycamera": _3, "nhlfan": _3, "no-ip": _3, "pgafan": _3, "privatizehealthinsurance": _3, "bounceme": _3, "ddns": _3, "redirectme": _3, "serveblog": _3, "serveminecraft": _3, "sytes": _3, "cloudycluster": _3, "ovh": [0, { "webpaas": _5, "hosting": _5 }], "bar0": _3, "bar1": _3, "bar2": _3, "rackmaze": _3, "squares": _3, "schokokeks": _3, "firewall-gateway": _3, "seidat": _3, "senseering": _3, "siteleaf": _3, "vps-host": [2, { "jelastic": [0, { "atl": _3, "njs": _3, "ric": _3 }] }], "myspreadshop": _3, "srcf": [0, { "soc": _3, "user": _3 }], "supabase": _3, "dsmynas": _3, "familyds": _3, "tailscale": [0, { "beta": _3 }], "ts": _3, "torproject": [2, { "pages": _3 }], "reserve-online": _3, "community-pro": _3, "meinforum": _3, "yandexcloud": [2, { "storage": _3, "website": _3 }], "za": _3 }], "nf": [1, { "com": _2, "net": _2, "per": _2, "rec": _2, "web": _2, "arts": _2, "firm": _2, "info": _2, "other": _2, "store": _2 }], "ng": [1, { "com": _6, "edu": _2, "gov": _2, "i": _2, "mil": _2, "mobi": _2, "name": _2, "net": _2, "org": _2, "sch": _2, "col": _3, "firm": _3, "gen": _3, "ltd": _3, "ngo": _3 }], "ni": [1, { "ac": _2, "biz": _2, "co": _2, "com": _2, "edu": _2, "gob": _2, "in": _2, "info": _2, "int": _2, "mil": _2, "net": _2, "nom": _2, "org": _2, "web": _2 }], "nl": [1, { "co": _3, "hosting-cluster": _3, "blogspot": _3, "gov": _3, "khplay": _3, "123website": _3, "myspreadshop": _3, "transurl": _5, "cistron": _3, "demon": _3 }], "no": [1, { "fhs": _2, "vgs": _2, "fylkesbibl": _2, "folkebibl": _2, "museum": _2, "idrett": _2, "priv": _2, "mil": _2, "stat": _2, "dep": _2, "kommune": _2, "herad": _2, "aa": _40, "ah": _40, "bu": _40, "fm": _40, "hl": _40, "hm": _40, "jan-mayen": _40, "mr": _40, "nl": _40, "nt": _40, "of": _40, "ol": _40, "oslo": _40, "rl": _40, "sf": _40, "st": _40, "svalbard": _40, "tm": _40, "tr": _40, "va": _40, "vf": _40, "akrehamn": _2, "xn--krehamn-dxa": _2, "åkrehamn": _2, "algard": _2, "xn--lgrd-poac": _2, "ålgård": _2, "arna": _2, "brumunddal": _2, "bryne": _2, "bronnoysund": _2, "xn--brnnysund-m8ac": _2, "brønnøysund": _2, "drobak": _2, "xn--drbak-wua": _2, "drøbak": _2, "egersund": _2, "fetsund": _2, "floro": _2, "xn--flor-jra": _2, "florø": _2, "fredrikstad": _2, "hokksund": _2, "honefoss": _2, "xn--hnefoss-q1a": _2, "hønefoss": _2, "jessheim": _2, "jorpeland": _2, "xn--jrpeland-54a": _2, "jørpeland": _2, "kirkenes": _2, "kopervik": _2, "krokstadelva": _2, "langevag": _2, "xn--langevg-jxa": _2, "langevåg": _2, "leirvik": _2, "mjondalen": _2, "xn--mjndalen-64a": _2, "mjøndalen": _2, "mo-i-rana": _2, "mosjoen": _2, "xn--mosjen-eya": _2, "mosjøen": _2, "nesoddtangen": _2, "orkanger": _2, "osoyro": _2, "xn--osyro-wua": _2, "osøyro": _2, "raholt": _2, "xn--rholt-mra": _2, "råholt": _2, "sandnessjoen": _2, "xn--sandnessjen-ogb": _2, "sandnessjøen": _2, "skedsmokorset": _2, "slattum": _2, "spjelkavik": _2, "stathelle": _2, "stavern": _2, "stjordalshalsen": _2, "xn--stjrdalshalsen-sqb": _2, "stjørdalshalsen": _2, "tananger": _2, "tranby": _2, "vossevangen": _2, "afjord": _2, "xn--fjord-lra": _2, "åfjord": _2, "agdenes": _2, "al": _2, "xn--l-1fa": _2, "ål": _2, "alesund": _2, "xn--lesund-hua": _2, "ålesund": _2, "alstahaug": _2, "alta": _2, "xn--lt-liac": _2, "áltá": _2, "alaheadju": _2, "xn--laheadju-7ya": _2, "álaheadju": _2, "alvdal": _2, "amli": _2, "xn--mli-tla": _2, "åmli": _2, "amot": _2, "xn--mot-tla": _2, "åmot": _2, "andebu": _2, "andoy": _2, "xn--andy-ira": _2, "andøy": _2, "andasuolo": _2, "ardal": _2, "xn--rdal-poa": _2, "årdal": _2, "aremark": _2, "arendal": _2, "xn--s-1fa": _2, "ås": _2, "aseral": _2, "xn--seral-lra": _2, "åseral": _2, "asker": _2, "askim": _2, "askvoll": _2, "askoy": _2, "xn--asky-ira": _2, "askøy": _2, "asnes": _2, "xn--snes-poa": _2, "åsnes": _2, "audnedaln": _2, "aukra": _2, "aure": _2, "aurland": _2, "aurskog-holand": _2, "xn--aurskog-hland-jnb": _2, "aurskog-høland": _2, "austevoll": _2, "austrheim": _2, "averoy": _2, "xn--avery-yua": _2, "averøy": _2, "balestrand": _2, "ballangen": _2, "balat": _2, "xn--blt-elab": _2, "bálát": _2, "balsfjord": _2, "bahccavuotna": _2, "xn--bhccavuotna-k7a": _2, "báhccavuotna": _2, "bamble": _2, "bardu": _2, "beardu": _2, "beiarn": _2, "bajddar": _2, "xn--bjddar-pta": _2, "bájddar": _2, "baidar": _2, "xn--bidr-5nac": _2, "báidár": _2, "berg": _2, "bergen": _2, "berlevag": _2, "xn--berlevg-jxa": _2, "berlevåg": _2, "bearalvahki": _2, "xn--bearalvhki-y4a": _2, "bearalváhki": _2, "bindal": _2, "birkenes": _2, "bjarkoy": _2, "xn--bjarky-fya": _2, "bjarkøy": _2, "bjerkreim": _2, "bjugn": _2, "bodo": _2, "xn--bod-2na": _2, "bodø": _2, "badaddja": _2, "xn--bdddj-mrabd": _2, "bådåddjå": _2, "budejju": _2, "bokn": _2, "bremanger": _2, "bronnoy": _2, "xn--brnny-wuac": _2, "brønnøy": _2, "bygland": _2, "bykle": _2, "barum": _2, "xn--brum-voa": _2, "bærum": _2, "telemark": [0, { "bo": _2, "xn--b-5ga": _2, "bø": _2 }], "nordland": [0, { "bo": _2, "xn--b-5ga": _2, "bø": _2, "heroy": _2, "xn--hery-ira": _2, "herøy": _2 }], "bievat": _2, "xn--bievt-0qa": _2, "bievát": _2, "bomlo": _2, "xn--bmlo-gra": _2, "bømlo": _2, "batsfjord": _2, "xn--btsfjord-9za": _2, "båtsfjord": _2, "bahcavuotna": _2, "xn--bhcavuotna-s4a": _2, "báhcavuotna": _2, "dovre": _2, "drammen": _2, "drangedal": _2, "dyroy": _2, "xn--dyry-ira": _2, "dyrøy": _2, "donna": _2, "xn--dnna-gra": _2, "dønna": _2, "eid": _2, "eidfjord": _2, "eidsberg": _2, "eidskog": _2, "eidsvoll": _2, "eigersund": _2, "elverum": _2, "enebakk": _2, "engerdal": _2, "etne": _2, "etnedal": _2, "evenes": _2, "evenassi": _2, "xn--eveni-0qa01ga": _2, "evenášši": _2, "evje-og-hornnes": _2, "farsund": _2, "fauske": _2, "fuossko": _2, "fuoisku": _2, "fedje": _2, "fet": _2, "finnoy": _2, "xn--finny-yua": _2, "finnøy": _2, "fitjar": _2, "fjaler": _2, "fjell": _2, "flakstad": _2, "flatanger": _2, "flekkefjord": _2, "flesberg": _2, "flora": _2, "fla": _2, "xn--fl-zia": _2, "flå": _2, "folldal": _2, "forsand": _2, "fosnes": _2, "frei": _2, "frogn": _2, "froland": _2, "frosta": _2, "frana": _2, "xn--frna-woa": _2, "fræna": _2, "froya": _2, "xn--frya-hra": _2, "frøya": _2, "fusa": _2, "fyresdal": _2, "forde": _2, "xn--frde-gra": _2, "førde": _2, "gamvik": _2, "gangaviika": _2, "xn--ggaviika-8ya47h": _2, "gáŋgaviika": _2, "gaular": _2, "gausdal": _2, "gildeskal": _2, "xn--gildeskl-g0a": _2, "gildeskål": _2, "giske": _2, "gjemnes": _2, "gjerdrum": _2, "gjerstad": _2, "gjesdal": _2, "gjovik": _2, "xn--gjvik-wua": _2, "gjøvik": _2, "gloppen": _2, "gol": _2, "gran": _2, "grane": _2, "granvin": _2, "gratangen": _2, "grimstad": _2, "grong": _2, "kraanghke": _2, "xn--kranghke-b0a": _2, "kråanghke": _2, "grue": _2, "gulen": _2, "hadsel": _2, "halden": _2, "halsa": _2, "hamar": _2, "hamaroy": _2, "habmer": _2, "xn--hbmer-xqa": _2, "hábmer": _2, "hapmir": _2, "xn--hpmir-xqa": _2, "hápmir": _2, "hammerfest": _2, "hammarfeasta": _2, "xn--hmmrfeasta-s4ac": _2, "hámmárfeasta": _2, "haram": _2, "hareid": _2, "harstad": _2, "hasvik": _2, "aknoluokta": _2, "xn--koluokta-7ya57h": _2, "ákŋoluokta": _2, "hattfjelldal": _2, "aarborte": _2, "haugesund": _2, "hemne": _2, "hemnes": _2, "hemsedal": _2, "more-og-romsdal": [0, { "heroy": _2, "sande": _2 }], "xn--mre-og-romsdal-qqb": [0, { "xn--hery-ira": _2, "sande": _2 }], "møre-og-romsdal": [0, { "herøy": _2, "sande": _2 }], "hitra": _2, "hjartdal": _2, "hjelmeland": _2, "hobol": _2, "xn--hobl-ira": _2, "hobøl": _2, "hof": _2, "hol": _2, "hole": _2, "holmestrand": _2, "holtalen": _2, "xn--holtlen-hxa": _2, "holtålen": _2, "hornindal": _2, "horten": _2, "hurdal": _2, "hurum": _2, "hvaler": _2, "hyllestad": _2, "hagebostad": _2, "xn--hgebostad-g3a": _2, "hægebostad": _2, "hoyanger": _2, "xn--hyanger-q1a": _2, "høyanger": _2, "hoylandet": _2, "xn--hylandet-54a": _2, "høylandet": _2, "ha": _2, "xn--h-2fa": _2, "hå": _2, "ibestad": _2, "inderoy": _2, "xn--indery-fya": _2, "inderøy": _2, "iveland": _2, "jevnaker": _2, "jondal": _2, "jolster": _2, "xn--jlster-bya": _2, "jølster": _2, "karasjok": _2, "karasjohka": _2, "xn--krjohka-hwab49j": _2, "kárášjohka": _2, "karlsoy": _2, "galsa": _2, "xn--gls-elac": _2, "gálsá": _2, "karmoy": _2, "xn--karmy-yua": _2, "karmøy": _2, "kautokeino": _2, "guovdageaidnu": _2, "klepp": _2, "klabu": _2, "xn--klbu-woa": _2, "klæbu": _2, "kongsberg": _2, "kongsvinger": _2, "kragero": _2, "xn--krager-gya": _2, "kragerø": _2, "kristiansand": _2, "kristiansund": _2, "krodsherad": _2, "xn--krdsherad-m8a": _2, "krødsherad": _2, "kvalsund": _2, "rahkkeravju": _2, "xn--rhkkervju-01af": _2, "ráhkkerávju": _2, "kvam": _2, "kvinesdal": _2, "kvinnherad": _2, "kviteseid": _2, "kvitsoy": _2, "xn--kvitsy-fya": _2, "kvitsøy": _2, "kvafjord": _2, "xn--kvfjord-nxa": _2, "kvæfjord": _2, "giehtavuoatna": _2, "kvanangen": _2, "xn--kvnangen-k0a": _2, "kvænangen": _2, "navuotna": _2, "xn--nvuotna-hwa": _2, "návuotna": _2, "kafjord": _2, "xn--kfjord-iua": _2, "kåfjord": _2, "gaivuotna": _2, "xn--givuotna-8ya": _2, "gáivuotna": _2, "larvik": _2, "lavangen": _2, "lavagis": _2, "loabat": _2, "xn--loabt-0qa": _2, "loabát": _2, "lebesby": _2, "davvesiida": _2, "leikanger": _2, "leirfjord": _2, "leka": _2, "leksvik": _2, "lenvik": _2, "leangaviika": _2, "xn--leagaviika-52b": _2, "leaŋgaviika": _2, "lesja": _2, "levanger": _2, "lier": _2, "lierne": _2, "lillehammer": _2, "lillesand": _2, "lindesnes": _2, "lindas": _2, "xn--linds-pra": _2, "lindås": _2, "lom": _2, "loppa": _2, "lahppi": _2, "xn--lhppi-xqa": _2, "láhppi": _2, "lund": _2, "lunner": _2, "luroy": _2, "xn--lury-ira": _2, "lurøy": _2, "luster": _2, "lyngdal": _2, "lyngen": _2, "ivgu": _2, "lardal": _2, "lerdal": _2, "xn--lrdal-sra": _2, "lærdal": _2, "lodingen": _2, "xn--ldingen-q1a": _2, "lødingen": _2, "lorenskog": _2, "xn--lrenskog-54a": _2, "lørenskog": _2, "loten": _2, "xn--lten-gra": _2, "løten": _2, "malvik": _2, "masoy": _2, "xn--msy-ula0h": _2, "måsøy": _2, "muosat": _2, "xn--muost-0qa": _2, "muosát": _2, "mandal": _2, "marker": _2, "marnardal": _2, "masfjorden": _2, "meland": _2, "meldal": _2, "melhus": _2, "meloy": _2, "xn--mely-ira": _2, "meløy": _2, "meraker": _2, "xn--merker-kua": _2, "meråker": _2, "moareke": _2, "xn--moreke-jua": _2, "moåreke": _2, "midsund": _2, "midtre-gauldal": _2, "modalen": _2, "modum": _2, "molde": _2, "moskenes": _2, "moss": _2, "mosvik": _2, "malselv": _2, "xn--mlselv-iua": _2, "målselv": _2, "malatvuopmi": _2, "xn--mlatvuopmi-s4a": _2, "málatvuopmi": _2, "namdalseid": _2, "aejrie": _2, "namsos": _2, "namsskogan": _2, "naamesjevuemie": _2, "xn--nmesjevuemie-tcba": _2, "nååmesjevuemie": _2, "laakesvuemie": _2, "nannestad": _2, "narvik": _2, "narviika": _2, "naustdal": _2, "nedre-eiker": _2, "akershus": _41, "buskerud": _41, "nesna": _2, "nesodden": _2, "nesseby": _2, "unjarga": _2, "xn--unjrga-rta": _2, "unjárga": _2, "nesset": _2, "nissedal": _2, "nittedal": _2, "nord-aurdal": _2, "nord-fron": _2, "nord-odal": _2, "norddal": _2, "nordkapp": _2, "davvenjarga": _2, "xn--davvenjrga-y4a": _2, "davvenjárga": _2, "nordre-land": _2, "nordreisa": _2, "raisa": _2, "xn--risa-5na": _2, "ráisa": _2, "nore-og-uvdal": _2, "notodden": _2, "naroy": _2, "xn--nry-yla5g": _2, "nærøy": _2, "notteroy": _2, "xn--nttery-byae": _2, "nøtterøy": _2, "odda": _2, "oksnes": _2, "xn--ksnes-uua": _2, "øksnes": _2, "oppdal": _2, "oppegard": _2, "xn--oppegrd-ixa": _2, "oppegård": _2, "orkdal": _2, "orland": _2, "xn--rland-uua": _2, "ørland": _2, "orskog": _2, "xn--rskog-uua": _2, "ørskog": _2, "orsta": _2, "xn--rsta-fra": _2, "ørsta": _2, "hedmark": [0, { "os": _2, "valer": _2, "xn--vler-qoa": _2, "våler": _2 }], "hordaland": [0, { "os": _2 }], "osen": _2, "osteroy": _2, "xn--ostery-fya": _2, "osterøy": _2, "ostre-toten": _2, "xn--stre-toten-zcb": _2, "østre-toten": _2, "overhalla": _2, "ovre-eiker": _2, "xn--vre-eiker-k8a": _2, "øvre-eiker": _2, "oyer": _2, "xn--yer-zna": _2, "øyer": _2, "oygarden": _2, "xn--ygarden-p1a": _2, "øygarden": _2, "oystre-slidre": _2, "xn--ystre-slidre-ujb": _2, "øystre-slidre": _2, "porsanger": _2, "porsangu": _2, "xn--porsgu-sta26f": _2, "porsáŋgu": _2, "porsgrunn": _2, "radoy": _2, "xn--rady-ira": _2, "radøy": _2, "rakkestad": _2, "rana": _2, "ruovat": _2, "randaberg": _2, "rauma": _2, "rendalen": _2, "rennebu": _2, "rennesoy": _2, "xn--rennesy-v1a": _2, "rennesøy": _2, "rindal": _2, "ringebu": _2, "ringerike": _2, "ringsaker": _2, "rissa": _2, "risor": _2, "xn--risr-ira": _2, "risør": _2, "roan": _2, "rollag": _2, "rygge": _2, "ralingen": _2, "xn--rlingen-mxa": _2, "rælingen": _2, "rodoy": _2, "xn--rdy-0nab": _2, "rødøy": _2, "romskog": _2, "xn--rmskog-bya": _2, "rømskog": _2, "roros": _2, "xn--rros-gra": _2, "røros": _2, "rost": _2, "xn--rst-0na": _2, "røst": _2, "royken": _2, "xn--ryken-vua": _2, "røyken": _2, "royrvik": _2, "xn--ryrvik-bya": _2, "røyrvik": _2, "rade": _2, "xn--rde-ula": _2, "råde": _2, "salangen": _2, "siellak": _2, "saltdal": _2, "salat": _2, "xn--slt-elab": _2, "sálát": _2, "xn--slat-5na": _2, "sálat": _2, "samnanger": _2, "vestfold": [0, { "sande": _2 }], "sandefjord": _2, "sandnes": _2, "sandoy": _2, "xn--sandy-yua": _2, "sandøy": _2, "sarpsborg": _2, "sauda": _2, "sauherad": _2, "sel": _2, "selbu": _2, "selje": _2, "seljord": _2, "sigdal": _2, "siljan": _2, "sirdal": _2, "skaun": _2, "skedsmo": _2, "ski": _2, "skien": _2, "skiptvet": _2, "skjervoy": _2, "xn--skjervy-v1a": _2, "skjervøy": _2, "skierva": _2, "xn--skierv-uta": _2, "skiervá": _2, "skjak": _2, "xn--skjk-soa": _2, "skjåk": _2, "skodje": _2, "skanland": _2, "xn--sknland-fxa": _2, "skånland": _2, "skanit": _2, "xn--sknit-yqa": _2, "skánit": _2, "smola": _2, "xn--smla-hra": _2, "smøla": _2, "snillfjord": _2, "snasa": _2, "xn--snsa-roa": _2, "snåsa": _2, "snoasa": _2, "snaase": _2, "xn--snase-nra": _2, "snåase": _2, "sogndal": _2, "sokndal": _2, "sola": _2, "solund": _2, "songdalen": _2, "sortland": _2, "spydeberg": _2, "stange": _2, "stavanger": _2, "steigen": _2, "steinkjer": _2, "stjordal": _2, "xn--stjrdal-s1a": _2, "stjørdal": _2, "stokke": _2, "stor-elvdal": _2, "stord": _2, "stordal": _2, "storfjord": _2, "omasvuotna": _2, "strand": _2, "stranda": _2, "stryn": _2, "sula": _2, "suldal": _2, "sund": _2, "sunndal": _2, "surnadal": _2, "sveio": _2, "svelvik": _2, "sykkylven": _2, "sogne": _2, "xn--sgne-gra": _2, "søgne": _2, "somna": _2, "xn--smna-gra": _2, "sømna": _2, "sondre-land": _2, "xn--sndre-land-0cb": _2, "søndre-land": _2, "sor-aurdal": _2, "xn--sr-aurdal-l8a": _2, "sør-aurdal": _2, "sor-fron": _2, "xn--sr-fron-q1a": _2, "sør-fron": _2, "sor-odal": _2, "xn--sr-odal-q1a": _2, "sør-odal": _2, "sor-varanger": _2, "xn--sr-varanger-ggb": _2, "sør-varanger": _2, "matta-varjjat": _2, "xn--mtta-vrjjat-k7af": _2, "mátta-várjjat": _2, "sorfold": _2, "xn--srfold-bya": _2, "sørfold": _2, "sorreisa": _2, "xn--srreisa-q1a": _2, "sørreisa": _2, "sorum": _2, "xn--srum-gra": _2, "sørum": _2, "tana": _2, "deatnu": _2, "time": _2, "tingvoll": _2, "tinn": _2, "tjeldsund": _2, "dielddanuorri": _2, "tjome": _2, "xn--tjme-hra": _2, "tjøme": _2, "tokke": _2, "tolga": _2, "torsken": _2, "tranoy": _2, "xn--trany-yua": _2, "tranøy": _2, "tromso": _2, "xn--troms-zua": _2, "tromsø": _2, "tromsa": _2, "romsa": _2, "trondheim": _2, "troandin": _2, "trysil": _2, "trana": _2, "xn--trna-woa": _2, "træna": _2, "trogstad": _2, "xn--trgstad-r1a": _2, "trøgstad": _2, "tvedestrand": _2, "tydal": _2, "tynset": _2, "tysfjord": _2, "divtasvuodna": _2, "divttasvuotna": _2, "tysnes": _2, "tysvar": _2, "xn--tysvr-vra": _2, "tysvær": _2, "tonsberg": _2, "xn--tnsberg-q1a": _2, "tønsberg": _2, "ullensaker": _2, "ullensvang": _2, "ulvik": _2, "utsira": _2, "vadso": _2, "xn--vads-jra": _2, "vadsø": _2, "cahcesuolo": _2, "xn--hcesuolo-7ya35b": _2, "čáhcesuolo": _2, "vaksdal": _2, "valle": _2, "vang": _2, "vanylven": _2, "vardo": _2, "xn--vard-jra": _2, "vardø": _2, "varggat": _2, "xn--vrggt-xqad": _2, "várggát": _2, "vefsn": _2, "vaapste": _2, "vega": _2, "vegarshei": _2, "xn--vegrshei-c0a": _2, "vegårshei": _2, "vennesla": _2, "verdal": _2, "verran": _2, "vestby": _2, "vestnes": _2, "vestre-slidre": _2, "vestre-toten": _2, "vestvagoy": _2, "xn--vestvgy-ixa6o": _2, "vestvågøy": _2, "vevelstad": _2, "vik": _2, "vikna": _2, "vindafjord": _2, "volda": _2, "voss": _2, "varoy": _2, "xn--vry-yla5g": _2, "værøy": _2, "vagan": _2, "xn--vgan-qoa": _2, "vågan": _2, "voagat": _2, "vagsoy": _2, "xn--vgsy-qoa0j": _2, "vågsøy": _2, "vaga": _2, "xn--vg-yiab": _2, "vågå": _2, "ostfold": [0, { "valer": _2 }], "xn--stfold-9xa": [0, { "xn--vler-qoa": _2 }], "østfold": [0, { "våler": _2 }], "co": _3, "blogspot": _3, "123hjemmeside": _3, "myspreadshop": _3 }], "np": _8, "nr": _35, "nu": [1, { "merseine": _3, "mine": _3, "shacknet": _3, "enterprisecloud": _3 }], "nz": [1, { "ac": _2, "co": _6, "cri": _2, "geek": _2, "gen": _2, "govt": _2, "health": _2, "iwi": _2, "kiwi": _2, "maori": _2, "mil": _2, "xn--mori-qsa": _2, "māori": _2, "net": _2, "org": _2, "parliament": _2, "school": _2 }], "om": [1, { "co": _2, "com": _2, "edu": _2, "gov": _2, "med": _2, "museum": _2, "net": _2, "org": _2, "pro": _2 }], "onion": _2, "org": [1, { "altervista": _3, "amune": [0, { "tele": _3 }], "pimienta": _3, "poivron": _3, "potager": _3, "sweetpepper": _3, "ae": _3, "us": _3, "certmgr": _3, "cdn77": [0, { "c": _3, "rsc": _3 }], "cdn77-secure": [0, { "origin": [0, { "ssl": _3 }] }], "cloudns": _3, "duckdns": _3, "tunk": _3, "dyndns": [2, { "go": _3, "home": _3 }], "blogdns": _3, "blogsite": _3, "boldlygoingnowhere": _3, "dnsalias": _3, "dnsdojo": _3, "doesntexist": _3, "dontexist": _3, "doomdns": _3, "dvrdns": _3, "dynalias": _3, "endofinternet": _3, "endoftheinternet": _3, "from-me": _3, "game-host": _3, "gotdns": _3, "hobby-site": _3, "homedns": _3, "homeftp": _3, "homelinux": _3, "homeunix": _3, "is-a-bruinsfan": _3, "is-a-candidate": _3, "is-a-celticsfan": _3, "is-a-chef": _3, "is-a-geek": _3, "is-a-knight": _3, "is-a-linux-user": _3, "is-a-patsfan": _3, "is-a-soxfan": _3, "is-found": _3, "is-lost": _3, "is-saved": _3, "is-very-bad": _3, "is-very-evil": _3, "is-very-good": _3, "is-very-nice": _3, "is-very-sweet": _3, "isa-geek": _3, "kicks-ass": _3, "misconfused": _3, "podzone": _3, "readmyblog": _3, "selfip": _3, "sellsyourhome": _3, "servebbs": _3, "serveftp": _3, "servegame": _3, "stuff-4-sale": _3, "webhop": _3, "ddnss": _3, "accesscam": _3, "camdvr": _3, "freeddns": _3, "mywire": _3, "webredirect": _3, "eu": [2, { "al": _3, "asso": _3, "at": _3, "au": _3, "be": _3, "bg": _3, "ca": _3, "cd": _3, "ch": _3, "cn": _3, "cy": _3, "cz": _3, "de": _3, "dk": _3, "edu": _3, "ee": _3, "es": _3, "fi": _3, "fr": _3, "gr": _3, "hr": _3, "hu": _3, "ie": _3, "il": _3, "in": _3, "int": _3, "is": _3, "it": _3, "jp": _3, "kr": _3, "lt": _3, "lu": _3, "lv": _3, "mc": _3, "me": _3, "mk": _3, "mt": _3, "my": _3, "net": _3, "ng": _3, "nl": _3, "no": _3, "nz": _3, "paris": _3, "pl": _3, "pt": _3, "q-a": _3, "ro": _3, "ru": _3, "se": _3, "si": _3, "sk": _3, "tr": _3, "uk": _3, "us": _3 }], "twmail": _3, "fedorainfracloud": _3, "fedorapeople": _3, "fedoraproject": [0, { "cloud": _3, "os": _23, "stg": [0, { "os": _23 }] }], "freedesktop": _3, "hepforge": _3, "in-dsl": _3, "in-vpn": _3, "js": _3, "barsy": _3, "mayfirst": _3, "mozilla-iot": _3, "bmoattachments": _3, "dynserv": _3, "now-dns": _3, "cable-modem": _3, "collegefan": _3, "couchpotatofries": _3, "mlbfan": _3, "mysecuritycamera": _3, "nflfan": _3, "read-books": _3, "ufcfan": _3, "hopto": _3, "myftp": _3, "no-ip": _3, "zapto": _3, "httpbin": _3, "pubtls": _3, "jpn": _3, "my-firewall": _3, "myfirewall": _3, "spdns": _3, "small-web": _3, "dsmynas": _3, "familyds": _3, "teckids": _12, "tuxfamily": _3, "diskstation": _3, "hk": _3, "wmflabs": _3, "toolforge": _3, "wmcloud": _3, "za": _3 }], "pa": [1, { "ac": _2, "gob": _2, "com": _2, "org": _2, "sld": _2, "edu": _2, "net": _2, "ing": _2, "abo": _2, "med": _2, "nom": _2 }], "pe": [1, { "edu": _2, "gob": _2, "nom": _2, "mil": _2, "org": _2, "com": _2, "net": _2, "blogspot": _3 }], "pf": [1, { "com": _2, "org": _2, "edu": _2 }], "pg": _8, "ph": [1, { "com": _2, "net": _2, "org": _2, "gov": _2, "edu": _2, "ngo": _2, "mil": _2, "i": _2 }], "pk": [1, { "com": _2, "net": _2, "edu": _2, "org": _2, "fam": _2, "biz": _2, "web": _2, "gov": _2, "gob": _2, "gok": _2, "gon": _2, "gop": _2, "gos": _2, "info": _2 }], "pl": [1, { "com": _2, "net": _2, "org": _2, "aid": _2, "agro": _2, "atm": _2, "auto": _2, "biz": _2, "edu": _2, "gmina": _2, "gsm": _2, "info": _2, "mail": _2, "miasta": _2, "media": _2, "mil": _2, "nieruchomosci": _2, "nom": _2, "pc": _2, "powiat": _2, "priv": _2, "realestate": _2, "rel": _2, "sex": _2, "shop": _2, "sklep": _2, "sos": _2, "szkola": _2, "targi": _2, "tm": _2, "tourism": _2, "travel": _2, "turystyka": _2, "gov": [1, { "ap": _2, "griw": _2, "ic": _2, "is": _2, "kmpsp": _2, "konsulat": _2, "kppsp": _2, "kwp": _2, "kwpsp": _2, "mup": _2, "mw": _2, "oia": _2, "oirm": _2, "oke": _2, "oow": _2, "oschr": _2, "oum": _2, "pa": _2, "pinb": _2, "piw": _2, "po": _2, "pr": _2, "psp": _2, "psse": _2, "pup": _2, "rzgw": _2, "sa": _2, "sdn": _2, "sko": _2, "so": _2, "sr": _2, "starostwo": _2, "ug": _2, "ugim": _2, "um": _2, "umig": _2, "upow": _2, "uppo": _2, "us": _2, "uw": _2, "uzs": _2, "wif": _2, "wiih": _2, "winb": _2, "wios": _2, "witd": _2, "wiw": _2, "wkz": _2, "wsa": _2, "wskr": _2, "wsse": _2, "wuoz": _2, "wzmiuw": _2, "zp": _2, "zpisdn": _2 }], "augustow": _2, "babia-gora": _2, "bedzin": _2, "beskidy": _2, "bialowieza": _2, "bialystok": _2, "bielawa": _2, "bieszczady": _2, "boleslawiec": _2, "bydgoszcz": _2, "bytom": _2, "cieszyn": _2, "czeladz": _2, "czest": _2, "dlugoleka": _2, "elblag": _2, "elk": _2, "glogow": _2, "gniezno": _2, "gorlice": _2, "grajewo": _2, "ilawa": _2, "jaworzno": _2, "jelenia-gora": _2, "jgora": _2, "kalisz": _2, "kazimierz-dolny": _2, "karpacz": _2, "kartuzy": _2, "kaszuby": _2, "katowice": _2, "kepno": _2, "ketrzyn": _2, "klodzko": _2, "kobierzyce": _2, "kolobrzeg": _2, "konin": _2, "konskowola": _2, "kutno": _2, "lapy": _2, "lebork": _2, "legnica": _2, "lezajsk": _2, "limanowa": _2, "lomza": _2, "lowicz": _2, "lubin": _2, "lukow": _2, "malbork": _2, "malopolska": _2, "mazowsze": _2, "mazury": _2, "mielec": _2, "mielno": _2, "mragowo": _2, "naklo": _2, "nowaruda": _2, "nysa": _2, "olawa": _2, "olecko": _2, "olkusz": _2, "olsztyn": _2, "opoczno": _2, "opole": _2, "ostroda": _2, "ostroleka": _2, "ostrowiec": _2, "ostrowwlkp": _2, "pila": _2, "pisz": _2, "podhale": _2, "podlasie": _2, "polkowice": _2, "pomorze": _2, "pomorskie": _2, "prochowice": _2, "pruszkow": _2, "przeworsk": _2, "pulawy": _2, "radom": _2, "rawa-maz": _2, "rybnik": _2, "rzeszow": _2, "sanok": _2, "sejny": _2, "slask": _2, "slupsk": _2, "sosnowiec": _2, "stalowa-wola": _2, "skoczow": _2, "starachowice": _2, "stargard": _2, "suwalki": _2, "swidnica": _2, "swiebodzin": _2, "swinoujscie": _2, "szczecin": _2, "szczytno": _2, "tarnobrzeg": _2, "tgory": _2, "turek": _2, "tychy": _2, "ustka": _2, "walbrzych": _2, "warmia": _2, "warszawa": _2, "waw": _2, "wegrow": _2, "wielun": _2, "wlocl": _2, "wloclawek": _2, "wodzislaw": _2, "wolomin": _2, "wroclaw": _2, "zachpomor": _2, "zagan": _2, "zarow": _2, "zgora": _2, "zgorzelec": _2, "beep": _3, "ecommerce-shop": _3, "shoparena": _3, "homesklep": _3, "sdscloud": _3, "unicloud": _3, "krasnik": _3, "leczna": _3, "lubartow": _3, "lublin": _3, "poniatowa": _3, "swidnik": _3, "co": _3, "simplesite": _3, "art": _3, "gliwice": _3, "krakow": _3, "poznan": _3, "wroc": _3, "zakopane": _3, "myspreadshop": _3, "gda": _3, "gdansk": _3, "gdynia": _3, "med": _3, "sopot": _3 }], "pm": [1, { "own": _3, "name": _3 }], "pn": [1, { "gov": _2, "co": _2, "org": _2, "edu": _2, "net": _2 }], "post": _2, "pr": [1, { "com": _2, "net": _2, "org": _2, "gov": _2, "edu": _2, "isla": _2, "pro": _2, "biz": _2, "info": _2, "name": _2, "est": _2, "prof": _2, "ac": _2 }], "pro": [1, { "aaa": _2, "aca": _2, "acct": _2, "avocat": _2, "bar": _2, "cpa": _2, "eng": _2, "jur": _2, "law": _2, "med": _2, "recht": _2, "cloudns": _3, "dnstrace": [0, { "bci": _3 }], "barsy": _3 }], "ps": [1, { "edu": _2, "gov": _2, "sec": _2, "plo": _2, "com": _2, "org": _2, "net": _2 }], "pt": [1, { "net": _2, "gov": _2, "org": _2, "edu": _2, "int": _2, "publ": _2, "com": _2, "nome": _2, "blogspot": _3, "123paginaweb": _3 }], "pw": [1, { "co": _2, "ne": _2, "or": _2, "ed": _2, "go": _2, "belau": _2, "cloudns": _3, "x443": _3 }], "py": [1, { "com": _2, "coop": _2, "edu": _2, "gov": _2, "mil": _2, "net": _2, "org": _2 }], "qa": [1, { "com": _2, "edu": _2, "gov": _2, "mil": _2, "name": _2, "net": _2, "org": _2, "sch": _2, "blogspot": _3 }], "re": [1, { "asso": _2, "com": _2, "nom": _2, "blogspot": _3 }], "ro": [1, { "arts": _2, "com": _2, "firm": _2, "info": _2, "nom": _2, "nt": _2, "org": _2, "rec": _2, "store": _2, "tm": _2, "www": _2, "co": _3, "shop": _3, "blogspot": _3, "barsy": _3 }], "rs": [1, { "ac": _2, "co": _2, "edu": _2, "gov": _2, "in": _2, "org": _2, "brendly": [0, { "shop": _3 }], "blogspot": _3, "ua": _3, "ox": _3 }], "ru": [1, { "ac": _3, "edu": _3, "gov": _3, "int": _3, "mil": _3, "test": _3, "eurodir": _3, "adygeya": _3, "bashkiria": _3, "bir": _3, "cbg": _3, "com": _3, "dagestan": _3, "grozny": _3, "kalmykia": _3, "kustanai": _3, "marine": _3, "mordovia": _3, "msk": _3, "mytis": _3, "nalchik": _3, "nov": _3, "pyatigorsk": _3, "spb": _3, "vladikavkaz": _3, "vladimir": _3, "blogspot": _3, "na4u": _3, "mircloud": _3, "regruhosting": _29, "myjino": [2, { "hosting": _5, "landing": _5, "spectrum": _5, "vps": _5 }], "cldmail": [0, { "hb": _3 }], "mcdir": [2, { "vps": _3 }], "mcpre": _3, "net": _3, "org": _3, "pp": _3, "123sait": _3, "lk3": _3, "ras": _3 }], "rw": [1, { "ac": _2, "co": _2, "coop": _2, "gov": _2, "mil": _2, "net": _2, "org": _2 }], "sa": [1, { "com": _2, "net": _2, "org": _2, "gov": _2, "med": _2, "pub": _2, "edu": _2, "sch": _2 }], "sb": _4, "sc": _4, "sd": [1, { "com": _2, "net": _2, "org": _2, "edu": _2, "med": _2, "tv": _2, "gov": _2, "info": _2 }], "se": [1, { "a": _2, "ac": _2, "b": _2, "bd": _2, "brand": _2, "c": _2, "d": _2, "e": _2, "f": _2, "fh": _2, "fhsk": _2, "fhv": _2, "g": _2, "h": _2, "i": _2, "k": _2, "komforb": _2, "kommunalforbund": _2, "komvux": _2, "l": _2, "lanbib": _2, "m": _2, "n": _2, "naturbruksgymn": _2, "o": _2, "org": _2, "p": _2, "parti": _2, "pp": _2, "press": _2, "r": _2, "s": _2, "t": _2, "tm": _2, "u": _2, "w": _2, "x": _2, "y": _2, "z": _2, "com": _3, "blogspot": _3, "conf": _3, "iopsys": _3, "123minsida": _3, "itcouldbewor": _3, "myspreadshop": _3, "paba": [0, { "su": _3 }] }], "sg": [1, { "com": _2, "net": _2, "org": _2, "gov": _2, "edu": _2, "per": _2, "blogspot": _3, "enscaled": _3 }], "sh": [1, { "com": _2, "net": _2, "gov": _2, "org": _2, "mil": _2, "bip": _3, "hashbang": _3, "platform": [0, { "bc": _3, "ent": _3, "eu": _3, "us": _3 }], "now": _3, "vxl": _3, "wedeploy": _3 }], "si": [1, { "gitapp": _3, "gitpage": _3, "blogspot": _3 }], "sj": _2, "sk": _6, "sl": _4, "sm": _2, "sn": [1, { "art": _2, "com": _2, "edu": _2, "gouv": _2, "org": _2, "perso": _2, "univ": _2, "blogspot": _3 }], "so": [1, { "com": _2, "edu": _2, "gov": _2, "me": _2, "net": _2, "org": _2, "sch": _3 }], "sr": _2, "ss": [1, { "biz": _2, "com": _2, "edu": _2, "gov": _2, "me": _2, "net": _2, "org": _2, "sch": _2 }], "st": [1, { "co": _2, "com": _2, "consulado": _2, "edu": _2, "embaixada": _2, "mil": _2, "net": _2, "org": _2, "principe": _2, "saotome": _2, "store": _2, "kirara": _3, "noho": _3 }], "su": [1, { "abkhazia": _3, "adygeya": _3, "aktyubinsk": _3, "arkhangelsk": _3, "armenia": _3, "ashgabad": _3, "azerbaijan": _3, "balashov": _3, "bashkiria": _3, "bryansk": _3, "bukhara": _3, "chimkent": _3, "dagestan": _3, "east-kazakhstan": _3, "exnet": _3, "georgia": _3, "grozny": _3, "ivanovo": _3, "jambyl": _3, "kalmykia": _3, "kaluga": _3, "karacol": _3, "karaganda": _3, "karelia": _3, "khakassia": _3, "krasnodar": _3, "kurgan": _3, "kustanai": _3, "lenug": _3, "mangyshlak": _3, "mordovia": _3, "msk": _3, "murmansk": _3, "nalchik": _3, "navoi": _3, "north-kazakhstan": _3, "nov": _3, "obninsk": _3, "penza": _3, "pokrovsk": _3, "sochi": _3, "spb": _3, "tashkent": _3, "termez": _3, "togliatti": _3, "troitsk": _3, "tselinograd": _3, "tula": _3, "tuva": _3, "vladikavkaz": _3, "vladimir": _3, "vologda": _3 }], "sv": [1, { "com": _2, "edu": _2, "gob": _2, "org": _2, "red": _2 }], "sx": _7, "sy": _34, "sz": [1, { "co": _2, "ac": _2, "org": _2 }], "tc": [1, { "ch": _3, "me": _3, "we": _3 }], "td": _6, "tel": _2, "tf": [1, { "sch": _3 }], "tg": _2, "th": [1, { "ac": _2, "co": _2, "go": _2, "in": _2, "mi": _2, "net": _2, "or": _2, "online": _3, "shop": _3 }], "tj": [1, { "ac": _2, "biz": _2, "co": _2, "com": _2, "edu": _2, "go": _2, "gov": _2, "int": _2, "mil": _2, "name": _2, "net": _2, "nic": _2, "org": _2, "test": _2, "web": _2 }], "tk": _2, "tl": _7, "tm": [1, { "com": _2, "co": _2, "org": _2, "net": _2, "nom": _2, "gov": _2, "mil": _2, "edu": _2 }], "tn": [1, { "com": _2, "ens": _2, "fin": _2, "gov": _2, "ind": _2, "info": _2, "intl": _2, "mincom": _2, "nat": _2, "net": _2, "org": _2, "perso": _2, "tourism": _2, "orangecloud": _3 }], "to": [1, { "611": _3, "com": _2, "gov": _2, "net": _2, "org": _2, "edu": _2, "mil": _2, "oya": _3, "rdv": _3, "x0": _3, "vpnplus": _3, "quickconnect": _13, "nyan": _3 }], "tr": [1, { "av": _2, "bbs": _2, "bel": _2, "biz": _2, "com": _6, "dr": _2, "edu": _2, "gen": _2, "gov": _2, "info": _2, "mil": _2, "k12": _2, "kep": _2, "name": _2, "net": _2, "org": _2, "pol": _2, "tel": _2, "tsk": _2, "tv": _2, "web": _2, "nc": _7 }], "tt": [1, { "co": _2, "com": _2, "org": _2, "net": _2, "biz": _2, "info": _2, "pro": _2, "int": _2, "coop": _2, "jobs": _2, "mobi": _2, "travel": _2, "museum": _2, "aero": _2, "name": _2, "gov": _2, "edu": _2 }], "tv": [1, { "dyndns": _3, "better-than": _3, "on-the-web": _3, "worse-than": _3, "from": _3, "sakura": _3 }], "tw": [1, { "edu": _2, "gov": _2, "mil": _2, "com": [1, { "mymailer": _3 }], "net": _2, "org": _2, "idv": _2, "game": _2, "ebiz": _2, "club": _2, "xn--zf0ao64a": _2, "網路": _2, "xn--uc0atv": _2, "組織": _2, "xn--czrw28b": _2, "商業": _2, "url": _3, "blogspot": _3 }], "tz": [1, { "ac": _2, "co": _2, "go": _2, "hotel": _2, "info": _2, "me": _2, "mil": _2, "mobi": _2, "ne": _2, "or": _2, "sc": _2, "tv": _2 }], "ua": [1, { "com": _2, "edu": _2, "gov": _2, "in": _2, "net": _2, "org": _2, "cherkassy": _2, "cherkasy": _2, "chernigov": _2, "chernihiv": _2, "chernivtsi": _2, "chernovtsy": _2, "ck": _2, "cn": _2, "cr": _2, "crimea": _2, "cv": _2, "dn": _2, "dnepropetrovsk": _2, "dnipropetrovsk": _2, "donetsk": _2, "dp": _2, "if": _2, "ivano-frankivsk": _2, "kh": _2, "kharkiv": _2, "kharkov": _2, "kherson": _2, "khmelnitskiy": _2, "khmelnytskyi": _2, "kiev": _2, "kirovograd": _2, "km": _2, "kr": _2, "kropyvnytskyi": _2, "krym": _2, "ks": _2, "kv": _2, "kyiv": _2, "lg": _2, "lt": _2, "lugansk": _2, "luhansk": _2, "lutsk": _2, "lv": _2, "lviv": _2, "mk": _2, "mykolaiv": _2, "nikolaev": _2, "od": _2, "odesa": _2, "odessa": _2, "pl": _2, "poltava": _2, "rivne": _2, "rovno": _2, "rv": _2, "sb": _2, "sebastopol": _2, "sevastopol": _2, "sm": _2, "sumy": _2, "te": _2, "ternopil": _2, "uz": _2, "uzhgorod": _2, "uzhhorod": _2, "vinnica": _2, "vinnytsia": _2, "vn": _2, "volyn": _2, "yalta": _2, "zakarpattia": _2, "zaporizhzhe": _2, "zaporizhzhia": _2, "zhitomir": _2, "zhytomyr": _2, "zp": _2, "zt": _2, "cc": _3, "inf": _3, "ltd": _3, "cx": _3, "ie": _3, "biz": _3, "co": _3, "pp": _3, "v": _3 }], "ug": [1, { "co": _2, "or": _2, "ac": _2, "sc": _2, "go": _2, "ne": _2, "com": _2, "org": _2, "blogspot": _3 }], "uk": [1, { "ac": _2, "co": [1, { "bytemark": [0, { "dh": _3, "vm": _3 }], "blogspot": _3, "layershift": _28, "barsy": _3, "barsyonline": _3, "retrosnub": _33, "nh-serv": _3, "no-ip": _3, "wellbeingzone": _3, "adimo": _3, "myspreadshop": _3 }], "gov": [1, { "campaign": _3, "service": _3, "api": _3, "homeoffice": _3 }], "ltd": _2, "me": _2, "net": _2, "nhs": _2, "org": [1, { "glug": _3, "lug": _3, "lugs": _3, "affinitylottery": _3, "raffleentry": _3, "weeklylottery": _3 }], "plc": _2, "police": _2, "sch": _8, "conn": _3, "copro": _3, "hosp": _3, "independent-commission": _3, "independent-inquest": _3, "independent-inquiry": _3, "independent-panel": _3, "independent-review": _3, "public-inquiry": _3, "royal-commission": _3, "pymnt": _3, "barsy": _3 }], "us": [1, { "dni": _2, "fed": _2, "isa": _2, "kids": _2, "nsn": _2, "ak": _42, "al": _42, "ar": _42, "as": _42, "az": _42, "ca": _42, "co": _42, "ct": _42, "dc": _42, "de": [1, { "cc": _2, "lib": _3 }], "fl": _42, "ga": _42, "gu": _42, "hi": _43, "ia": _42, "id": _42, "il": _42, "in": _42, "ks": _42, "ky": _42, "la": _42, "ma": [1, { "k12": [1, { "pvt": _2, "chtr": _2, "paroch": _2 }], "cc": _2, "lib": _2 }], "md": _42, "me": _42, "mi": [1, { "k12": _2, "cc": _2, "lib": _2, "ann-arbor": _2, "cog": _2, "dst": _2, "eaton": _2, "gen": _2, "mus": _2, "tec": _2, "washtenaw": _2 }], "mn": _42, "mo": _42, "ms": _42, "mt": _42, "nc": _42, "nd": _43, "ne": _42, "nh": _42, "nj": _42, "nm": _42, "nv": _42, "ny": _42, "oh": _42, "ok": _42, "or": _42, "pa": _42, "pr": _42, "ri": _43, "sc": _42, "sd": _43, "tn": _42, "tx": _42, "ut": _42, "vi": _42, "vt": _42, "va": _42, "wa": _42, "wi": _42, "wv": [1, { "cc": _2 }], "wy": _42, "graphox": _3, "cloudns": _3, "drud": _3, "is-by": _3, "land-4-sale": _3, "stuff-4-sale": _3, "enscaled": [0, { "phx": _3 }], "mircloud": _3, "freeddns": _3, "golffan": _3, "noip": _3, "pointto": _3, "platterp": _3 }], "uy": [1, { "com": _6, "edu": _2, "gub": _2, "mil": _2, "net": _2, "org": _2 }], "uz": [1, { "co": _2, "com": _2, "net": _2, "org": _2 }], "va": _2, "vc": [1, { "com": _2, "net": _2, "org": _2, "gov": _2, "mil": _2, "edu": _2, "gv": [2, { "d": _3 }], "0e": _3 }], "ve": [1, { "arts": _2, "bib": _2, "co": _2, "com": _2, "e12": _2, "edu": _2, "firm": _2, "gob": _2, "gov": _2, "info": _2, "int": _2, "mil": _2, "net": _2, "nom": _2, "org": _2, "rar": _2, "rec": _2, "store": _2, "tec": _2, "web": _2 }], "vg": [1, { "at": _3 }], "vi": [1, { "co": _2, "com": _2, "k12": _2, "net": _2, "org": _2 }], "vn": [1, { "ac": _2, "ai": _2, "biz": _2, "com": _2, "edu": _2, "gov": _2, "health": _2, "id": _2, "info": _2, "int": _2, "io": _2, "name": _2, "net": _2, "org": _2, "pro": _2, "angiang": _2, "bacgiang": _2, "backan": _2, "baclieu": _2, "bacninh": _2, "baria-vungtau": _2, "bentre": _2, "binhdinh": _2, "binhduong": _2, "binhphuoc": _2, "binhthuan": _2, "camau": _2, "cantho": _2, "caobang": _2, "daklak": _2, "daknong": _2, "danang": _2, "dienbien": _2, "dongnai": _2, "dongthap": _2, "gialai": _2, "hagiang": _2, "haiduong": _2, "haiphong": _2, "hanam": _2, "hanoi": _2, "hatinh": _2, "haugiang": _2, "hoabinh": _2, "hungyen": _2, "khanhhoa": _2, "kiengiang": _2, "kontum": _2, "laichau": _2, "lamdong": _2, "langson": _2, "laocai": _2, "longan": _2, "namdinh": _2, "nghean": _2, "ninhbinh": _2, "ninhthuan": _2, "phutho": _2, "phuyen": _2, "quangbinh": _2, "quangnam": _2, "quangngai": _2, "quangninh": _2, "quangtri": _2, "soctrang": _2, "sonla": _2, "tayninh": _2, "thaibinh": _2, "thainguyen": _2, "thanhhoa": _2, "thanhphohochiminh": _2, "thuathienhue": _2, "tiengiang": _2, "travinh": _2, "tuyenquang": _2, "vinhlong": _2, "vinhphuc": _2, "yenbai": _2, "blogspot": _3 }], "vu": [1, { "com": _2, "edu": _2, "net": _2, "org": _2, "cn": _3, "blog": _3, "dev": _3, "me": _3 }], "wf": [1, { "biz": _3, "sch": _3 }], "ws": [1, { "com": _2, "net": _2, "org": _2, "gov": _2, "edu": _2, "advisor": _5, "cloud66": _3, "dyndns": _3, "mypets": _3 }], "yt": [1, { "org": _3 }], "xn--mgbaam7a8h": _2, "امارات": _2, "xn--y9a3aq": _2, "հայ": _2, "xn--54b7fta0cc": _2, "বাংলা": _2, "xn--90ae": _2, "бг": _2, "xn--mgbcpq6gpa1a": _2, "البحرين": _2, "xn--90ais": _2, "бел": _2, "xn--fiqs8s": _2, "中国": _2, "xn--fiqz9s": _2, "中國": _2, "xn--lgbbat1ad8j": _2, "الجزائر": _2, "xn--wgbh1c": _2, "مصر": _2, "xn--e1a4c": _2, "ею": _2, "xn--qxa6a": _2, "ευ": _2, "xn--mgbah1a3hjkrd": _2, "موريتانيا": _2, "xn--node": _2, "გე": _2, "xn--qxam": _2, "ελ": _2, "xn--j6w193g": [1, { "xn--55qx5d": _2, "xn--wcvs22d": _2, "xn--mxtq1m": _2, "xn--gmqw5a": _2, "xn--od0alg": _2, "xn--uc0atv": _2 }], "香港": [1, { "公司": _2, "教育": _2, "政府": _2, "個人": _2, "網絡": _2, "組織": _2 }], "xn--2scrj9c": _2, "ಭಾರತ": _2, "xn--3hcrj9c": _2, "ଭାରତ": _2, "xn--45br5cyl": _2, "ভাৰত": _2, "xn--h2breg3eve": _2, "भारतम्": _2, "xn--h2brj9c8c": _2, "भारोत": _2, "xn--mgbgu82a": _2, "ڀارت": _2, "xn--rvc1e0am3e": _2, "ഭാരതം": _2, "xn--h2brj9c": _2, "भारत": _2, "xn--mgbbh1a": _2, "بارت": _2, "xn--mgbbh1a71e": _2, "بھارت": _2, "xn--fpcrj9c3d": _2, "భారత్": _2, "xn--gecrj9c": _2, "ભારત": _2, "xn--s9brj9c": _2, "ਭਾਰਤ": _2, "xn--45brj9c": _2, "ভারত": _2, "xn--xkc2dl3a5ee0h": _2, "இந்தியா": _2, "xn--mgba3a4f16a": _2, "ایران": _2, "xn--mgba3a4fra": _2, "ايران": _2, "xn--mgbtx2b": _2, "عراق": _2, "xn--mgbayh7gpa": _2, "الاردن": _2, "xn--3e0b707e": _2, "한국": _2, "xn--80ao21a": _2, "қаз": _2, "xn--q7ce6a": _2, "ລາວ": _2, "xn--fzc2c9e2c": _2, "ලංකා": _2, "xn--xkc2al3hye2a": _2, "இலங்கை": _2, "xn--mgbc0a9azcg": _2, "المغرب": _2, "xn--d1alf": _2, "мкд": _2, "xn--l1acc": _2, "мон": _2, "xn--mix891f": _2, "澳門": _2, "xn--mix082f": _2, "澳门": _2, "xn--mgbx4cd0ab": _2, "مليسيا": _2, "xn--mgb9awbf": _2, "عمان": _2, "xn--mgbai9azgqp6j": _2, "پاکستان": _2, "xn--mgbai9a5eva00b": _2, "پاكستان": _2, "xn--ygbi2ammx": _2, "فلسطين": _2, "xn--90a3ac": [1, { "xn--o1ac": _2, "xn--c1avg": _2, "xn--90azh": _2, "xn--d1at": _2, "xn--o1ach": _2, "xn--80au": _2 }], "срб": [1, { "пр": _2, "орг": _2, "обр": _2, "од": _2, "упр": _2, "ак": _2 }], "xn--p1ai": _2, "рф": _2, "xn--wgbl6a": _2, "قطر": _2, "xn--mgberp4a5d4ar": _2, "السعودية": _2, "xn--mgberp4a5d4a87g": _2, "السعودیة": _2, "xn--mgbqly7c0a67fbc": _2, "السعودیۃ": _2, "xn--mgbqly7cvafr": _2, "السعوديه": _2, "xn--mgbpl2fh": _2, "سودان": _2, "xn--yfro4i67o": _2, "新加坡": _2, "xn--clchc0ea0b2g2a9gcd": _2, "சிங்கப்பூர்": _2, "xn--ogbpf8fl": _2, "سورية": _2, "xn--mgbtf8fl": _2, "سوريا": _2, "xn--o3cw4h": [1, { "xn--12c1fe0br": _2, "xn--12co0c3b4eva": _2, "xn--h3cuzk1di": _2, "xn--o3cyx2a": _2, "xn--m3ch0j3a": _2, "xn--12cfi8ixb8l": _2 }], "ไทย": [1, { "ศึกษา": _2, "ธุรกิจ": _2, "รัฐบาล": _2, "ทหาร": _2, "เน็ต": _2, "องค์กร": _2 }], "xn--pgbs0dh": _2, "تونس": _2, "xn--kpry57d": _2, "台灣": _2, "xn--kprw13d": _2, "台湾": _2, "xn--nnx388a": _2, "臺灣": _2, "xn--j1amh": _2, "укр": _2, "xn--mgb2ddes": _2, "اليمن": _2, "xxx": _2, "ye": _34, "za": [0, { "ac": _2, "agric": _2, "alt": _2, "co": _6, "edu": _2, "gov": _2, "grondar": _2, "law": _2, "mil": _2, "net": _2, "ngo": _2, "nic": _2, "nis": _2, "nom": _2, "org": _2, "school": _2, "tm": _2, "web": _2 }], "zm": [1, { "ac": _2, "biz": _2, "co": _2, "com": _2, "edu": _2, "gov": _2, "info": _2, "mil": _2, "net": _2, "org": _2, "sch": _2 }], "zw": [1, { "ac": _2, "co": _2, "gov": _2, "mil": _2, "org": _2 }], "aaa": _2, "aarp": _2, "abb": _2, "abbott": _2, "abbvie": _2, "abc": _2, "able": _2, "abogado": _2, "abudhabi": _2, "academy": [1, { "official": _3 }], "accenture": _2, "accountant": _2, "accountants": _2, "aco": _2, "actor": _2, "ads": _2, "adult": _2, "aeg": _2, "aetna": _2, "afl": _2, "africa": _2, "agakhan": _2, "agency": _2, "aig": _2, "airbus": _2, "airforce": _2, "airtel": _2, "akdn": _2, "alibaba": _2, "alipay": _2, "allfinanz": _2, "allstate": _2, "ally": _2, "alsace": _2, "alstom": _2, "amazon": _2, "americanexpress": _2, "americanfamily": _2, "amex": _2, "amfam": _2, "amica": _2, "amsterdam": _2, "analytics": _2, "android": _2, "anquan": _2, "anz": _2, "aol": _2, "apartments": _2, "app": [1, { "beget": _5, "clerk": _3, "clerkstage": _3, "wnext": _3, "platform0": _3, "deta": _3, "ondigitalocean": _3, "easypanel": _3, "encr": _3, "edgecompute": _3, "fireweb": _3, "onflashdrive": _3, "framer": _3, "run": [2, { "a": _3 }], "web": _3, "hasura": _3, "loginline": _3, "messerli": _3, "netlify": _3, "ngrok": _3, "ngrok-free": _3, "developer": _5, "noop": _3, "northflank": _5, "snowflake": [2, { "privatelink": _3 }], "streamlit": _3, "storipress": _3, "telebit": _3, "typedream": _3, "vercel": _3, "bookonline": _3 }], "apple": _2, "aquarelle": _2, "arab": _2, "aramco": _2, "archi": _2, "army": _2, "art": _2, "arte": _2, "asda": _2, "associates": _2, "athleta": _2, "attorney": _2, "auction": _2, "audi": _2, "audible": _2, "audio": _2, "auspost": _2, "author": _2, "auto": _2, "autos": _2, "avianca": _2, "aws": _2, "axa": _2, "azure": _2, "baby": _2, "baidu": _2, "banamex": _2, "bananarepublic": _2, "band": _2, "bank": _2, "bar": _2, "barcelona": _2, "barclaycard": _2, "barclays": _2, "barefoot": _2, "bargains": _2, "baseball": _2, "basketball": [1, { "aus": _3, "nz": _3 }], "bauhaus": _2, "bayern": _2, "bbc": _2, "bbt": _2, "bbva": _2, "bcg": _2, "bcn": _2, "beats": _2, "beauty": _2, "beer": _2, "bentley": _2, "berlin": _2, "best": _2, "bestbuy": _2, "bet": _2, "bharti": _2, "bible": _2, "bid": _2, "bike": _2, "bing": _2, "bingo": _2, "bio": _2, "black": _2, "blackfriday": _2, "blockbuster": _2, "blog": _2, "bloomberg": _2, "blue": _2, "bms": _2, "bmw": _2, "bnpparibas": _2, "boats": _2, "boehringer": _2, "bofa": _2, "bom": _2, "bond": _2, "boo": _2, "book": _2, "booking": _2, "bosch": _2, "bostik": _2, "boston": _2, "bot": _2, "boutique": _2, "box": _2, "bradesco": _2, "bridgestone": _2, "broadway": _2, "broker": _2, "brother": _2, "brussels": _2, "build": _2, "builders": [1, { "cloudsite": _3 }], "business": _10, "buy": _2, "buzz": _2, "bzh": _2, "cab": _2, "cafe": _2, "cal": _2, "call": _2, "calvinklein": _2, "cam": _2, "camera": _2, "camp": _2, "canon": _2, "capetown": _2, "capital": _2, "capitalone": _2, "car": _2, "caravan": _2, "cards": _2, "care": _2, "career": _2, "careers": _2, "cars": _2, "casa": [1, { "nabu": [0, { "ui": _3 }] }], "case": _2, "cash": _2, "casino": _2, "catering": _2, "catholic": _2, "cba": _2, "cbn": _2, "cbre": _2, "cbs": _2, "center": _2, "ceo": _2, "cern": _2, "cfa": _2, "cfd": _2, "chanel": _2, "channel": _2, "charity": _2, "chase": _2, "chat": _2, "cheap": _2, "chintai": _2, "christmas": _2, "chrome": _2, "church": _2, "cipriani": _2, "circle": _2, "cisco": _2, "citadel": _2, "citi": _2, "citic": _2, "city": _2, "cityeats": _2, "claims": _2, "cleaning": _2, "click": _2, "clinic": _2, "clinique": _2, "clothing": _2, "cloud": [1, { "banzai": _5, "elementor": _3, "encoway": [0, { "eu": _3 }], "statics": _5, "ravendb": _3, "axarnet": [0, { "es-1": _3 }], "diadem": _3, "jelastic": [0, { "vip": _3 }], "jele": _3, "jenv-aruba": [0, { "aruba": [0, { "eur": [0, { "it1": _3 }] }], "it1": _3 }], "keliweb": [2, { "cs": _3 }], "oxa": [2, { "tn": _3, "uk": _3 }], "primetel": [2, { "uk": _3 }], "reclaim": [0, { "ca": _3, "uk": _3, "us": _3 }], "trendhosting": [0, { "ch": _3, "de": _3 }], "jotelulu": _3, "kuleuven": _3, "linkyard": _3, "magentosite": _5, "perspecta": _3, "vapor": _3, "on-rancher": _5, "scw": [0, { "baremetal": [0, { "fr-par-1": _3, "fr-par-2": _3, "nl-ams-1": _3 }], "fr-par": [0, { "fnc": [2, { "functions": _3 }], "k8s": _11, "s3": _3, "s3-website": _3, "whm": _3 }], "instances": [0, { "priv": _3, "pub": _3 }], "k8s": _3, "nl-ams": [0, { "k8s": _11, "s3": _3, "s3-website": _3, "whm": _3 }], "pl-waw": [0, { "k8s": _11, "s3": _3, "s3-website": _3 }], "scalebook": _3, "smartlabeling": _3 }], "sensiosite": _5, "trafficplex": _3, "urown": _3, "voorloper": _3 }], "club": [1, { "cloudns": _3, "jele": _3, "barsy": _3 }], "clubmed": _2, "coach": _2, "codes": [1, { "owo": _5 }], "coffee": _2, "college": _2, "cologne": _2, "comcast": _2, "commbank": _2, "community": [1, { "nog": _3, "ravendb": _3, "myforum": _3 }], "company": _2, "compare": _2, "computer": _2, "comsec": _2, "condos": _2, "construction": _2, "consulting": _2, "contact": _2, "contractors": _2, "cooking": _2, "cool": [1, { "elementor": _3, "de": _3 }], "corsica": _2, "country": _2, "coupon": _2, "coupons": _2, "courses": _2, "cpa": _2, "credit": _2, "creditcard": _2, "creditunion": _2, "cricket": _2, "crown": _2, "crs": _2, "cruise": _2, "cruises": _2, "cuisinella": _2, "cymru": _2, "cyou": _2, "dabur": _2, "dad": _2, "dance": _2, "data": _2, "date": _2, "dating": _2, "datsun": _2, "day": _2, "dclk": _2, "dds": _2, "deal": _2, "dealer": _2, "deals": _2, "degree": _2, "delivery": _2, "dell": _2, "deloitte": _2, "delta": _2, "democrat": _2, "dental": _2, "dentist": _2, "desi": _2, "design": [1, { "bss": _3 }], "dev": [1, { "autocode": _3, "lcl": _5, "lclstage": _5, "stg": _5, "stgstage": _5, "pages": _3, "r2": _3, "workers": _3, "curv": _3, "deno": _3, "deno-staging": _3, "deta": _3, "fly": _3, "githubpreview": _3, "gateway": _5, "iserv": _3, "localcert": [0, { "user": _5 }], "loginline": _3, "mediatech": _3, "ngrok": _3, "ngrok-free": _3, "platter-app": _3, "shiftcrypto": _3, "vercel": _3, "webhare": _5 }], "dhl": _2, "diamonds": _2, "diet": _2, "digital": [1, { "cloudapps": [2, { "london": _3 }] }], "direct": _2, "directory": _2, "discount": _2, "discover": _2, "dish": _2, "diy": _2, "dnp": _2, "docs": _2, "doctor": _2, "dog": _2, "domains": _2, "dot": _2, "download": _2, "drive": _2, "dtv": _2, "dubai": _2, "dunlop": _2, "dupont": _2, "durban": _2, "dvag": _2, "dvr": _2, "earth": [1, { "dapps": [0, { "*": _3, "bzz": _5 }] }], "eat": _2, "eco": _2, "edeka": _2, "education": _10, "email": _2, "emerck": _2, "energy": _2, "engineer": _2, "engineering": _2, "enterprises": _2, "epson": _2, "equipment": _2, "ericsson": _2, "erni": _2, "esq": _2, "estate": [1, { "compute": _5 }], "etisalat": _2, "eurovision": _2, "eus": [1, { "party": _30 }], "events": [1, { "koobin": _3, "co": _3 }], "exchange": _2, "expert": _2, "exposed": _2, "express": _2, "extraspace": _2, "fage": _2, "fail": _2, "fairwinds": _2, "faith": _31, "family": _2, "fan": _2, "fans": _2, "farm": [1, { "storj": _3 }], "farmers": _2, "fashion": _2, "fast": _2, "fedex": _2, "feedback": _2, "ferrari": _2, "ferrero": _2, "fidelity": _2, "fido": _2, "film": _2, "final": _2, "finance": _2, "financial": _10, "fire": _2, "firestone": _2, "firmdale": _2, "fish": _2, "fishing": _2, "fit": _2, "fitness": _2, "flickr": _2, "flights": _2, "flir": _2, "florist": _2, "flowers": _2, "fly": _2, "foo": _2, "food": _2, "football": _2, "ford": _2, "forex": _2, "forsale": _2, "forum": _2, "foundation": _2, "fox": _2, "free": _2, "fresenius": _2, "frl": _2, "frogans": _2, "frontdoor": _2, "frontier": _2, "ftr": _2, "fujitsu": _2, "fun": _2, "fund": _2, "furniture": _2, "futbol": _2, "fyi": _2, "gal": _2, "gallery": _2, "gallo": _2, "gallup": _2, "game": _2, "games": _2, "gap": _2, "garden": _2, "gay": _2, "gbiz": _2, "gdn": [1, { "cnpy": _3 }], "gea": _2, "gent": _2, "genting": _2, "george": _2, "ggee": _2, "gift": _2, "gifts": _2, "gives": _2, "giving": _2, "glass": _2, "gle": _2, "global": _2, "globo": _2, "gmail": _2, "gmbh": _2, "gmo": _2, "gmx": _2, "godaddy": _2, "gold": _2, "goldpoint": _2, "golf": _2, "goo": _2, "goodyear": _2, "goog": [1, { "cloud": _3, "translate": _3, "usercontent": _5 }], "google": _2, "gop": _2, "got": _2, "grainger": _2, "graphics": _2, "gratis": _2, "green": _2, "gripe": _2, "grocery": _2, "group": [1, { "discourse": _3 }], "guardian": _2, "gucci": _2, "guge": _2, "guide": _2, "guitars": _2, "guru": _2, "hair": _2, "hamburg": _2, "hangout": _2, "haus": _2, "hbo": _2, "hdfc": _2, "hdfcbank": _2, "health": [1, { "hra": _3 }], "healthcare": _2, "help": _2, "helsinki": _2, "here": _2, "hermes": _2, "hiphop": _2, "hisamitsu": _2, "hitachi": _2, "hiv": _2, "hkt": _2, "hockey": _2, "holdings": _2, "holiday": _2, "homedepot": _2, "homegoods": _2, "homes": _2, "homesense": _2, "honda": _2, "horse": _2, "hospital": _2, "host": [1, { "cloudaccess": _3, "freesite": _3, "easypanel": _3, "fastvps": _3, "myfast": _3, "tempurl": _3, "wpmudev": _3, "jele": _3, "mircloud": _3, "pcloud": _3, "half": _3 }], "hosting": [1, { "opencraft": _3 }], "hot": _2, "hotels": _2, "hotmail": _2, "house": _2, "how": _2, "hsbc": _2, "hughes": _2, "hyatt": _2, "hyundai": _2, "ibm": _2, "icbc": _2, "ice": _2, "icu": _2, "ieee": _2, "ifm": _2, "ikano": _2, "imamat": _2, "imdb": _2, "immo": _2, "immobilien": _2, "inc": _2, "industries": _2, "infiniti": _2, "ing": _2, "ink": _2, "institute": _2, "insurance": _2, "insure": _2, "international": _2, "intuit": _2, "investments": _2, "ipiranga": _2, "irish": _2, "ismaili": _2, "ist": _2, "istanbul": _2, "itau": _2, "itv": _2, "jaguar": _2, "java": _2, "jcb": _2, "jeep": _2, "jetzt": _2, "jewelry": _2, "jio": _2, "jll": _2, "jmp": _2, "jnj": _2, "joburg": _2, "jot": _2, "joy": _2, "jpmorgan": _2, "jprs": _2, "juegos": _2, "juniper": _2, "kaufen": _2, "kddi": _2, "kerryhotels": _2, "kerrylogistics": _2, "kerryproperties": _2, "kfh": _2, "kia": _2, "kids": _2, "kim": _2, "kinder": _2, "kindle": _2, "kitchen": _2, "kiwi": _2, "koeln": _2, "komatsu": _2, "kosher": _2, "kpmg": _2, "kpn": _2, "krd": [1, { "co": _3, "edu": _3 }], "kred": _2, "kuokgroup": _2, "kyoto": _2, "lacaixa": _2, "lamborghini": _2, "lamer": _2, "lancaster": _2, "land": [1, { "static": [2, { "dev": _3, "sites": _3 }] }], "landrover": _2, "lanxess": _2, "lasalle": _2, "lat": _2, "latino": _2, "latrobe": _2, "law": _2, "lawyer": _2, "lds": _2, "lease": _2, "leclerc": _2, "lefrak": _2, "legal": _2, "lego": _2, "lexus": _2, "lgbt": _2, "lidl": _2, "life": _2, "lifeinsurance": _2, "lifestyle": _2, "lighting": _2, "like": _2, "lilly": _2, "limited": _2, "limo": _2, "lincoln": _2, "link": [1, { "cyon": _3, "mypep": _3, "dweb": _5 }], "lipsy": _2, "live": [1, { "hlx": _3 }], "living": _2, "llc": _2, "llp": _2, "loan": _2, "loans": _2, "locker": _2, "locus": _2, "lol": [1, { "omg": _3 }], "london": _2, "lotte": _2, "lotto": _2, "love": _2, "lpl": _2, "lplfinancial": _2, "ltd": _2, "ltda": _2, "lundbeck": _2, "luxe": _2, "luxury": _2, "madrid": _2, "maif": _2, "maison": _2, "makeup": _2, "man": _2, "management": [1, { "router": _3 }], "mango": _2, "map": _2, "market": _2, "marketing": _2, "markets": _2, "marriott": _2, "marshalls": _2, "mattel": _2, "mba": _2, "mckinsey": _2, "med": _2, "media": _37, "meet": _2, "melbourne": _2, "meme": _2, "memorial": _2, "men": _2, "menu": _38, "merckmsd": _2, "miami": _2, "microsoft": _2, "mini": _2, "mint": _2, "mit": _2, "mitsubishi": _2, "mlb": _2, "mls": _2, "mma": _2, "mobile": _2, "moda": _2, "moe": _2, "moi": _2, "mom": _2, "monash": _2, "money": _2, "monster": _2, "mormon": _2, "mortgage": _2, "moscow": _2, "moto": _2, "motorcycles": _2, "mov": _2, "movie": _2, "msd": _2, "mtn": _2, "mtr": _2, "music": _2, "nab": _2, "nagoya": _2, "natura": _2, "navy": _2, "nba": _2, "nec": _2, "netbank": _2, "netflix": _2, "network": [1, { "alces": _5, "co": _3, "arvo": _3, "azimuth": _3, "tlon": _3 }], "neustar": _2, "new": _2, "news": [1, { "noticeable": _3 }], "next": _2, "nextdirect": _2, "nexus": _2, "nfl": _2, "ngo": _2, "nhk": _2, "nico": _2, "nike": _2, "nikon": _2, "ninja": _2, "nissan": _2, "nissay": _2, "nokia": _2, "norton": _2, "now": _2, "nowruz": _2, "nowtv": _2, "nra": _2, "nrw": _2, "ntt": _2, "nyc": _2, "obi": _2, "observer": _2, "office": _2, "okinawa": _2, "olayan": _2, "olayangroup": _2, "oldnavy": _2, "ollo": _2, "omega": _2, "one": [1, { "onred": [2, { "staging": _3 }], "service": _3, "homelink": _3 }], "ong": _2, "onl": _2, "online": [1, { "eero": _3, "eero-stage": _3, "barsy": _3 }], "ooo": _2, "open": _2, "oracle": _2, "orange": [1, { "tech": _3 }], "organic": _2, "origins": _2, "osaka": _2, "otsuka": _2, "ott": _2, "ovh": [1, { "nerdpol": _3 }], "page": [1, { "hlx": _3, "hlx3": _3, "translated": _3, "codeberg": _3, "pdns": _3, "plesk": _3, "prvcy": _3, "rocky": _3, "magnet": _3 }], "panasonic": _2, "paris": _2, "pars": _2, "partners": _2, "parts": _2, "party": _31, "pay": _2, "pccw": _2, "pet": _2, "pfizer": _2, "pharmacy": _2, "phd": _2, "philips": _2, "phone": _2, "photo": _2, "photography": _2, "photos": _37, "physio": _2, "pics": _2, "pictet": _2, "pictures": [1, { "1337": _3 }], "pid": _2, "pin": _2, "ping": _2, "pink": _2, "pioneer": _2, "pizza": [1, { "ngrok": _3 }], "place": _10, "play": _2, "playstation": _2, "plumbing": _2, "plus": _2, "pnc": _2, "pohl": _2, "poker": _2, "politie": _2, "porn": [1, { "indie": _3 }], "pramerica": _2, "praxi": _2, "press": _2, "prime": _2, "prod": _2, "productions": _2, "prof": _2, "progressive": _2, "promo": _2, "properties": _2, "property": _2, "protection": _2, "pru": _2, "prudential": _2, "pub": _38, "pwc": _2, "qpon": _2, "quebec": _2, "quest": _2, "racing": _2, "radio": _2, "read": _2, "realestate": _2, "realtor": _2, "realty": _2, "recipes": _2, "red": _2, "redstone": _2, "redumbrella": _2, "rehab": _2, "reise": _2, "reisen": _2, "reit": _2, "reliance": _2, "ren": _2, "rent": _2, "rentals": _2, "repair": _2, "report": _2, "republican": _2, "rest": _2, "restaurant": _2, "review": _31, "reviews": _2, "rexroth": _2, "rich": _2, "richardli": _2, "ricoh": _2, "ril": _2, "rio": _2, "rip": [1, { "clan": _3 }], "rocher": _2, "rocks": [1, { "myddns": _3, "lima-city": _3, "webspace": _3 }], "rodeo": _2, "rogers": _2, "room": _2, "rsvp": _2, "rugby": _2, "ruhr": _2, "run": [1, { "hs": _3, "development": _3, "ravendb": _3, "servers": _3, "build": _5, "code": _5, "database": _5, "migration": _5, "onporter": _3, "repl": _3, "wix": _3 }], "rwe": _2, "ryukyu": _2, "saarland": _2, "safe": _2, "safety": _2, "sakura": _2, "sale": _2, "salon": _2, "samsclub": _2, "samsung": _2, "sandvik": _2, "sandvikcoromant": _2, "sanofi": _2, "sap": _2, "sarl": _2, "sas": _2, "save": _2, "saxo": _2, "sbi": _2, "sbs": _2, "sca": _2, "scb": _2, "schaeffler": _2, "schmidt": _2, "scholarships": _2, "school": _2, "schule": _2, "schwarz": _2, "science": _31, "scot": [1, { "edu": _3, "gov": [2, { "service": _3 }] }], "search": _2, "seat": _2, "secure": _2, "security": _2, "seek": _2, "select": _2, "sener": _2, "services": [1, { "loginline": _3 }], "seven": _2, "sew": _2, "sex": _2, "sexy": _2, "sfr": _2, "shangrila": _2, "sharp": _2, "shaw": _2, "shell": _2, "shia": _2, "shiksha": _2, "shoes": _2, "shop": [1, { "base": _3, "hoplix": _3, "barsy": _3 }], "shopping": _2, "shouji": _2, "show": _2, "showtime": _2, "silk": _2, "sina": _2, "singles": _2, "site": [1, { "cloudera": _5, "cyon": _3, "fnwk": _3, "folionetwork": _3, "fastvps": _3, "jele": _3, "lelux": _3, "loginline": _3, "barsy": _3, "mintere": _3, "omniwe": _3, "opensocial": _3, "platformsh": _5, "tst": _5, "byen": _3, "srht": _3, "novecore": _3 }], "ski": _2, "skin": _2, "sky": _2, "skype": _2, "sling": _2, "smart": _2, "smile": _2, "sncf": _2, "soccer": _2, "social": _2, "softbank": _2, "software": _2, "sohu": _2, "solar": _2, "solutions": [1, { "diher": _5 }], "song": _2, "sony": _2, "soy": _2, "spa": _2, "space": [1, { "myfast": _3, "uber": _3, "xs4all": _3 }], "sport": _2, "spot": _2, "srl": _2, "stada": _2, "staples": _2, "star": _2, "statebank": _2, "statefarm": _2, "stc": _2, "stcgroup": _2, "stockholm": _2, "storage": _2, "store": [1, { "sellfy": _3, "shopware": _3, "storebase": _3 }], "stream": _2, "studio": _2, "study": _2, "style": _2, "sucks": _2, "supplies": _2, "supply": _2, "support": _38, "surf": _2, "surgery": _2, "suzuki": _2, "swatch": _2, "swiss": _2, "sydney": _2, "systems": [1, { "knightpoint": _3 }], "tab": _2, "taipei": _2, "talk": _2, "taobao": _2, "target": _2, "tatamotors": _2, "tatar": _2, "tattoo": _2, "tax": _2, "taxi": _2, "tci": _2, "tdk": _2, "team": [1, { "discourse": _3, "jelastic": _3 }], "tech": _2, "technology": _10, "temasek": _2, "tennis": _2, "teva": _2, "thd": _2, "theater": _2, "theatre": _2, "tiaa": _2, "tickets": _2, "tienda": _2, "tips": _2, "tires": _2, "tirol": _2, "tjmaxx": _2, "tjx": _2, "tkmaxx": _2, "tmall": _2, "today": [1, { "prequalifyme": _3 }], "tokyo": _2, "tools": _2, "top": [1, { "now-dns": _3, "ntdll": _3 }], "toray": _2, "toshiba": _2, "total": _2, "tours": _2, "town": _2, "toyota": _2, "toys": _2, "trade": _31, "trading": _2, "training": _2, "travel": _2, "travelers": _2, "travelersinsurance": _2, "trust": _2, "trv": _2, "tube": _2, "tui": _2, "tunes": _2, "tushu": _2, "tvs": _2, "ubank": _2, "ubs": _2, "unicom": _2, "university": _2, "uno": _2, "uol": _2, "ups": _2, "vacations": _2, "vana": _2, "vanguard": _2, "vegas": _2, "ventures": _2, "verisign": _2, "versicherung": _2, "vet": _2, "viajes": _2, "video": _2, "vig": _2, "viking": _2, "villas": _2, "vin": _2, "vip": _2, "virgin": _2, "visa": _2, "vision": _2, "viva": _2, "vivo": _2, "vlaanderen": _2, "vodka": _2, "volkswagen": _2, "volvo": _2, "vote": _2, "voting": _2, "voto": _2, "voyage": _2, "wales": _2, "walmart": _2, "walter": _2, "wang": _2, "wanggou": _2, "watch": _2, "watches": _2, "weather": _2, "weatherchannel": _2, "webcam": _2, "weber": _2, "website": _37, "wedding": _2, "weibo": _2, "weir": _2, "whoswho": _2, "wien": _2, "wiki": _37, "williamhill": _2, "win": _2, "windows": _2, "wine": _2, "winners": _2, "wme": _2, "wolterskluwer": _2, "woodside": _2, "work": _2, "works": _2, "world": _2, "wow": _2, "wtc": _2, "wtf": _2, "xbox": _2, "xerox": _2, "xfinity": _2, "xihuan": _2, "xin": _2, "xn--11b4c3d": _2, "कॉम": _2, "xn--1ck2e1b": _2, "セール": _2, "xn--1qqw23a": _2, "佛山": _2, "xn--30rr7y": _2, "慈善": _2, "xn--3bst00m": _2, "集团": _2, "xn--3ds443g": _2, "在线": _2, "xn--3pxu8k": _2, "点看": _2, "xn--42c2d9a": _2, "คอม": _2, "xn--45q11c": _2, "八卦": _2, "xn--4gbrim": _2, "موقع": _2, "xn--55qw42g": _2, "公益": _2, "xn--55qx5d": _2, "公司": _2, "xn--5su34j936bgsg": _2, "香格里拉": _2, "xn--5tzm5g": _2, "网站": _2, "xn--6frz82g": _2, "移动": _2, "xn--6qq986b3xl": _2, "我爱你": _2, "xn--80adxhks": _2, "москва": _2, "xn--80aqecdr1a": _2, "католик": _2, "xn--80asehdb": _2, "онлайн": _2, "xn--80aswg": _2, "сайт": _2, "xn--8y0a063a": _2, "联通": _2, "xn--9dbq2a": _2, "קום": _2, "xn--9et52u": _2, "时尚": _2, "xn--9krt00a": _2, "微博": _2, "xn--b4w605ferd": _2, "淡马锡": _2, "xn--bck1b9a5dre4c": _2, "ファッション": _2, "xn--c1avg": _2, "орг": _2, "xn--c2br7g": _2, "नेट": _2, "xn--cck2b3b": _2, "ストア": _2, "xn--cckwcxetd": _2, "アマゾン": _2, "xn--cg4bki": _2, "삼성": _2, "xn--czr694b": _2, "商标": _2, "xn--czrs0t": _2, "商店": _2, "xn--czru2d": _2, "商城": _2, "xn--d1acj3b": _2, "дети": _2, "xn--eckvdtc9d": _2, "ポイント": _2, "xn--efvy88h": _2, "新闻": _2, "xn--fct429k": _2, "家電": _2, "xn--fhbei": _2, "كوم": _2, "xn--fiq228c5hs": _2, "中文网": _2, "xn--fiq64b": _2, "中信": _2, "xn--fjq720a": _2, "娱乐": _2, "xn--flw351e": _2, "谷歌": _2, "xn--fzys8d69uvgm": _2, "電訊盈科": _2, "xn--g2xx48c": _2, "购物": _2, "xn--gckr3f0f": _2, "クラウド": _2, "xn--gk3at1e": _2, "通販": _2, "xn--hxt814e": _2, "网店": _2, "xn--i1b6b1a6a2e": _2, "संगठन": _2, "xn--imr513n": _2, "餐厅": _2, "xn--io0a7i": _2, "网络": _2, "xn--j1aef": _2, "ком": _2, "xn--jlq480n2rg": _2, "亚马逊": _2, "xn--jvr189m": _2, "食品": _2, "xn--kcrx77d1x4a": _2, "飞利浦": _2, "xn--kput3i": _2, "手机": _2, "xn--mgba3a3ejt": _2, "ارامكو": _2, "xn--mgba7c0bbn0a": _2, "العليان": _2, "xn--mgbaakc7dvf": _2, "اتصالات": _2, "xn--mgbab2bd": _2, "بازار": _2, "xn--mgbca7dzdo": _2, "ابوظبي": _2, "xn--mgbi4ecexp": _2, "كاثوليك": _2, "xn--mgbt3dhd": _2, "همراه": _2, "xn--mk1bu44c": _2, "닷컴": _2, "xn--mxtq1m": _2, "政府": _2, "xn--ngbc5azd": _2, "شبكة": _2, "xn--ngbe9e0a": _2, "بيتك": _2, "xn--ngbrx": _2, "عرب": _2, "xn--nqv7f": _2, "机构": _2, "xn--nqv7fs00ema": _2, "组织机构": _2, "xn--nyqy26a": _2, "健康": _2, "xn--otu796d": _2, "招聘": _2, "xn--p1acf": [1, { "xn--90amc": _3, "xn--j1aef": _3, "xn--j1ael8b": _3, "xn--h1ahn": _3, "xn--j1adp": _3, "xn--c1avg": _3, "xn--80aaa0cvac": _3, "xn--h1aliz": _3, "xn--90a1af": _3, "xn--41a": _3 }], "рус": [1, { "биз": _3, "ком": _3, "крым": _3, "мир": _3, "мск": _3, "орг": _3, "самара": _3, "сочи": _3, "спб": _3, "я": _3 }], "xn--pssy2u": _2, "大拿": _2, "xn--q9jyb4c": _2, "みんな": _2, "xn--qcka1pmc": _2, "グーグル": _2, "xn--rhqv96g": _2, "世界": _2, "xn--rovu88b": _2, "書籍": _2, "xn--ses554g": _2, "网址": _2, "xn--t60b56a": _2, "닷넷": _2, "xn--tckwe": _2, "コム": _2, "xn--tiq49xqyj": _2, "天主教": _2, "xn--unup4y": _2, "游戏": _2, "xn--vermgensberater-ctb": _2, "vermögensberater": _2, "xn--vermgensberatung-pwb": _2, "vermögensberatung": _2, "xn--vhquv": _2, "企业": _2, "xn--vuq861b": _2, "信息": _2, "xn--w4r85el8fhu5dnra": _2, "嘉里大酒店": _2, "xn--w4rs40l": _2, "嘉里": _2, "xn--xhq521b": _2, "广东": _2, "xn--zfr164b": _2, "政务": _2, "xyz": [1, { "blogsite": _3, "localzone": _3, "crafting": _3, "zapto": _3, "telebit": _5 }], "yachts": _2, "yahoo": _2, "yamaxun": _2, "yandex": _2, "yodobashi": _2, "yoga": _2, "yokohama": _2, "you": _2, "youtube": _2, "yun": _2, "zappos": _2, "zara": _2, "zero": _2, "zip": _2, "zone": [1, { "cloud66": _3, "hs": _3, "triton": _5, "lima": _3 }], "zuerich": _2 }]; | |
| return rules2; | |
| }(); | |
| function lookupInTrie(parts2, trie, index2, allowedMask) { | |
| let result = null; | |
| let node = trie; | |
| while (node !== void 0) { | |
| if ((node[0] & allowedMask) !== 0) { | |
| result = { | |
| index: index2 + 1, | |
| isIcann: node[0] === 1, | |
| isPrivate: node[0] === 2 | |
| }; | |
| } | |
| if (index2 === -1) { | |
| break; | |
| } | |
| const succ = node[1]; | |
| node = Object.prototype.hasOwnProperty.call(succ, parts2[index2]) ? succ[parts2[index2]] : succ["*"]; | |
| index2 -= 1; | |
| } | |
| return result; | |
| } | |
| function suffixLookup(hostname, options, out) { | |
| var _a2; | |
| if (fastPathLookup(hostname, options, out)) { | |
| return; | |
| } | |
| const hostnameParts = hostname.split("."); | |
| const allowedMask = (options.allowPrivateDomains ? 2 : 0) | (options.allowIcannDomains ? 1 : 0); | |
| const exceptionMatch = lookupInTrie(hostnameParts, exceptions, hostnameParts.length - 1, allowedMask); | |
| if (exceptionMatch !== null) { | |
| out.isIcann = exceptionMatch.isIcann; | |
| out.isPrivate = exceptionMatch.isPrivate; | |
| out.publicSuffix = hostnameParts.slice(exceptionMatch.index + 1).join("."); | |
| return; | |
| } | |
| const rulesMatch = lookupInTrie(hostnameParts, rules, hostnameParts.length - 1, allowedMask); | |
| if (rulesMatch !== null) { | |
| out.isIcann = rulesMatch.isIcann; | |
| out.isPrivate = rulesMatch.isPrivate; | |
| out.publicSuffix = hostnameParts.slice(rulesMatch.index).join("."); | |
| return; | |
| } | |
| out.isIcann = false; | |
| out.isPrivate = false; | |
| out.publicSuffix = (_a2 = hostnameParts[hostnameParts.length - 1]) !== null && _a2 !== void 0 ? _a2 : null; | |
| } | |
| function parse$1(url2, options = {}) { | |
| return parseImpl(url2, 5, suffixLookup, options, getEmptyResult()); | |
| } | |
| const createBrowserPlatformService = (window2) => ({ | |
| getDisplayOrigin: () => window2.location.origin, | |
| getHost: () => window2.location.host, | |
| getHostname: () => window2.location.hostname, | |
| getOrigin: () => window2.location.origin, | |
| getTLD: () => { | |
| const data2 = parse$1(window2.location.hostname, { | |
| allowPrivateDomains: true | |
| }); | |
| return data2.domain || void 0; | |
| }, | |
| getUrl: () => new URL(window2.location.href), | |
| isNativeMobile: false, | |
| openURL: (url_1, ...args_1) => __awaiter$c(void 0, [url_1, ...args_1], void 0, function* (url2, target = "self", features = "") { | |
| if (target === "blank") { | |
| window2.open(url2, "_blank", features); | |
| } else { | |
| window2.location.assign(url2); | |
| } | |
| }) | |
| }); | |
| var _a$6, _PlatformService_implementation; | |
| class PlatformService { | |
| static get implementation() { | |
| if (!__classPrivateFieldGet$4(_a$6, _a$6, "f", _PlatformService_implementation)) { | |
| return createBrowserPlatformService(window); | |
| } | |
| return __classPrivateFieldGet$4(_a$6, _a$6, "f", _PlatformService_implementation); | |
| } | |
| static set implementation(implementation) { | |
| __classPrivateFieldSet$3(_a$6, _a$6, implementation, "f", _PlatformService_implementation); | |
| } | |
| /** | |
| * Indicates if the current platform is a native mobile app | |
| * like react-native or flutter. | |
| */ | |
| static get isNativeMobile() { | |
| return _a$6.implementation.isNativeMobile; | |
| } | |
| /** | |
| * Gets the origin of the current location. | |
| * | |
| * @example window.location.origin | |
| */ | |
| static get getOrigin() { | |
| return _a$6.implementation.getOrigin; | |
| } | |
| /** | |
| * Gets the origin to be displayed in the UI. | |
| * | |
| * @example window.location.origin | |
| */ | |
| static get getDisplayOrigin() { | |
| return _a$6.implementation.getDisplayOrigin; | |
| } | |
| /** | |
| * Gets the host of the current location. | |
| * | |
| * @example window.location.host | |
| */ | |
| static get getHost() { | |
| return _a$6.implementation.getHost; | |
| } | |
| /** | |
| * Gets the hostname of the current location. | |
| * | |
| * @example window.location.hostname | |
| */ | |
| static get getHostname() { | |
| return _a$6.implementation.getHostname; | |
| } | |
| /** | |
| * Gets the current URL. | |
| * | |
| * @example new URL(window.location.href) | |
| */ | |
| static get getUrl() { | |
| return _a$6.implementation.getUrl; | |
| } | |
| static get getTLD() { | |
| return _a$6.implementation.getTLD; | |
| } | |
| /** | |
| * Opens a URL. If possible, should avoid new windows. | |
| */ | |
| static get openURL() { | |
| return _a$6.implementation.openURL; | |
| } | |
| } | |
| _a$6 = PlatformService; | |
| _PlatformService_implementation = { value: void 0 }; | |
| const getTLD = () => PlatformService.getTLD(); | |
| const userAgentRegex1 = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i; | |
| const userAgentRegex2 = /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i; | |
| const isMobile$1 = (maxTouchPointsOverride) => { | |
| if (typeof window === "undefined" || typeof navigator === "undefined") { | |
| return false; | |
| } | |
| return userAgentRegex1.test(navigator.userAgent) || userAgentRegex2.test(navigator.userAgent.substring(0, 4)) || isIPad() || isIPhone(); | |
| }; | |
| const isIPhone = () => typeof window === "undefined" || typeof navigator === "undefined" ? false : /iPhone/.test(navigator.userAgent); | |
| const isIPhone8OrEarlier = () => typeof window === "undefined" || typeof navigator === "undefined" ? false : iPhoneLegacyRegex.some(({ regex: regex2 }) => regex2.test(navigator.userAgent)); | |
| const isIPad = (maxTouchPointsOverride) => { | |
| if (typeof window === "undefined" || typeof navigator === "undefined") { | |
| return false; | |
| } | |
| const maxTouchPoints = navigator.maxTouchPoints; | |
| return /iPad/.test(navigator.userAgent) || /Mac/.test(navigator.userAgent) && maxTouchPoints === 5; | |
| }; | |
| const isIOS = (maxTouchPointsOverride) => { | |
| if (typeof window === "undefined" || typeof navigator === "undefined") { | |
| return false; | |
| } | |
| return isIPhone() || isIPad(); | |
| }; | |
| const isAndroid = () => isMobile$1() && !isIOS(); | |
| const isLegacySafari = () => { | |
| if (typeof window === "undefined" || !window.CSS || typeof window.CSS.supports !== "function") { | |
| return false; | |
| } | |
| const cssValue = "aspect-ratio: 1 / 1"; | |
| return !CSS.supports(cssValue); | |
| }; | |
| const isSamsungBrowser = () => { | |
| if (typeof window === "undefined" || typeof navigator === "undefined") { | |
| return false; | |
| } | |
| return navigator.userAgent.includes("SamsungBrowser"); | |
| }; | |
| const isSafariBrowser = () => { | |
| if (typeof window === "undefined" || typeof navigator === "undefined") { | |
| return false; | |
| } | |
| const { userAgent } = navigator; | |
| const isSafari = userAgent.includes("Safari") && !userAgent.includes("Chrome") && !userAgent.includes("Chromium"); | |
| return isSafari; | |
| }; | |
| const iPhoneLegacyRegex = [ | |
| { | |
| model: "iPhone 5", | |
| regex: /(?:MDCR_|ICRU_|Apple-)?(?:iPh(?:one)?5[C,_]12|5)$/ | |
| }, | |
| { | |
| model: "iPhone 5C", | |
| regex: /(?:MDCR_|ICRU_|Apple-)?(?:iPh(?:one)?5[C,_]34)$/ | |
| }, | |
| { | |
| model: "iPhone 5S", | |
| regex: /(?:MDCR_|ICRU_|Apple-)?(?:iPh(?:one)?6[C,_]12|5S)$/ | |
| }, | |
| { | |
| model: "iPhone 6 Plus", | |
| regex: /(?:MDCR_|ICRU_|Apple-)?(?:iPh(?:one)?7[C,_]1|1C2%257enohPi|6PLUS)$/ | |
| }, | |
| { | |
| model: "iPhone 6", | |
| regex: /(?:MDCR_|ICRU_|Apple-)?(?:iPh(?:one)?7[C,_]2|6)$/ | |
| }, | |
| { | |
| model: "iPhone 6s Plus", | |
| regex: /(?:MDCR_|ICRU_|Apple-)?(?:iPh(?:one)?8[C,_]2|6SPLUS)$/ | |
| }, | |
| { | |
| model: "iPhone 6s", | |
| regex: /(?:MDCR_|ICRU_|Apple-)?(?:iPh(?:one)?8[C,_]1|iPhone[ /]6s|6S)$/ | |
| }, | |
| { | |
| model: "iPhone SE", | |
| regex: /(?:MDCR_|ICRU_|Apple-)?(?:iPh(?:one)?8[C,_]4|SE)$/ | |
| }, | |
| { | |
| model: "iPhone 7", | |
| regex: /(?:MDCR_|ICRU_|Apple-)?(?:iPh(?:one)?9[C,_]13|iphone7|7)$/ | |
| }, | |
| { | |
| model: "iPhone 7 Plus", | |
| regex: /(?:MDCR_|ICRU_|Apple-)?(?:iPh(?:one)?9[C,_]24|7PLUS)$/ | |
| }, | |
| { | |
| model: "iPhone 8", | |
| regex: /(?:MDCR_|ICRU_|Apple-)?(?:iPh(?:one)?10[C,_]14|8)$/ | |
| }, | |
| { | |
| model: "iPhone 8 Plus", | |
| regex: /(?:MDCR_|ICRU_|Apple-)?(?:iPh(?:one)?10[C,_]25|8PLUS)$/ | |
| } | |
| ]; | |
| const getAndroidVersion = () => { | |
| if (typeof navigator === "undefined") { | |
| return; | |
| } | |
| const androidVersionMatch = navigator.userAgent.match(/Android (\d+(\.\d+)?)/); | |
| if (!androidVersionMatch) { | |
| return; | |
| } | |
| const androidVersion = parseFloat(androidVersionMatch[1]); | |
| return androidVersion; | |
| }; | |
| const handleMobileWalletRedirect = ({ nativeLink, universalLink }) => { | |
| const url2 = encodeURIComponent(PlatformService.getUrl().href); | |
| const ref = encodeURIComponent(PlatformService.getOrigin()); | |
| if (isSamsungBrowser()) { | |
| PlatformService.openURL(`${nativeLink}/${url2}?ref=${ref}`); | |
| } else { | |
| PlatformService.openURL(`${universalLink}/${url2}?ref=${ref}`); | |
| } | |
| }; | |
| const isString$2 = (value2) => typeof value2 === "string"; | |
| const parseChainId = (chainId) => parseInt(chainId.toString()); | |
| const parseIntSafe = (value2, radix = 10) => { | |
| try { | |
| const int = parseInt(String(value2), radix); | |
| if (isNaN(int)) { | |
| logger$8.error(`Error parsing ${value2}`); | |
| return void 0; | |
| } | |
| return int; | |
| } catch (e2) { | |
| logger$8.error(`Error parsing ${value2} to int: ${e2}`); | |
| } | |
| return void 0; | |
| }; | |
| const parseEvmNetworks = (networks) => { | |
| const clone2 = networks.slice(); | |
| return clone2.map((network) => { | |
| network.chainId = parseChainId(network.chainId); | |
| network.networkId = parseChainId(network.networkId); | |
| return network; | |
| }); | |
| }; | |
| const pipe = (initialFunc) => { | |
| const funcs = [initialFunc]; | |
| const executeFn = (input) => funcs.reduce((acc, func) => func(acc), input); | |
| const pipe2 = (newFunc) => { | |
| funcs.push(newFunc); | |
| return Object.assign((input) => executeFn(input), { | |
| pipe: pipe2 | |
| }); | |
| }; | |
| return Object.assign(executeFn, { pipe: pipe2 }); | |
| }; | |
| function sleep(timeoutMs, valueToResolve) { | |
| return new Promise((resolve) => { | |
| setTimeout(() => resolve(valueToResolve), timeoutMs); | |
| }); | |
| } | |
| const FALLBACK_UNDEFINED = "FALLBACK_UNDEFINED"; | |
| const retryableFn = (fn_1, ...args_1) => __awaiter$c(void 0, [fn_1, ...args_1], void 0, function* (fn2, options = {}) { | |
| const { maxRetries = 3, currentRetry = 0, timeoutMs = 100, fallbackValue = new Error("Max retries reached"), retryStrategy = "timeout-only", retryIntervalMs = 0 } = options; | |
| const timeoutPromise = new Promise((_2, reject) => { | |
| setTimeout(() => { | |
| reject(new Error("Timeout")); | |
| }, timeoutMs); | |
| }); | |
| try { | |
| const result = yield Promise.race([fn2(), timeoutPromise]); | |
| return result; | |
| } catch (err) { | |
| if (currentRetry >= maxRetries) { | |
| if (fallbackValue instanceof Error) { | |
| throw fallbackValue; | |
| } else if (fallbackValue === FALLBACK_UNDEFINED) { | |
| return void 0; | |
| } | |
| return fallbackValue; | |
| } | |
| const isTimeout = (err === null || err === void 0 ? void 0 : err.message) === "Timeout"; | |
| const shouldRetry2 = retryStrategy === "timeout-and-rejection" || retryStrategy === "timeout-only" && isTimeout || retryStrategy === "rejection-only" && !isTimeout; | |
| if (!shouldRetry2) { | |
| if (fallbackValue instanceof Error) { | |
| throw err; | |
| } else if (fallbackValue === FALLBACK_UNDEFINED) { | |
| return void 0; | |
| } | |
| return fallbackValue; | |
| } | |
| if (retryIntervalMs) | |
| yield sleep(retryIntervalMs); | |
| return retryableFn(fn2, { | |
| currentRetry: currentRetry + 1, | |
| fallbackValue, | |
| maxRetries, | |
| retryIntervalMs, | |
| retryStrategy, | |
| timeoutMs | |
| }); | |
| } | |
| }); | |
| const sanitizeName = (name) => name.replace(/[^a-zA-Z0-9]/g, "").toLowerCase(); | |
| function assertDefined(value2, message) { | |
| if (!value2) { | |
| throw new Error(message); | |
| } | |
| } | |
| const hexToString = (hexString) => { | |
| const normalizedHexString = hexString.startsWith("0x") ? hexString.substring(2) : hexString; | |
| let text = ""; | |
| const length = normalizedHexString.length - normalizedHexString.length % 2; | |
| for (let i2 = 0; i2 < length; i2 += 2) { | |
| const hexCode = normalizedHexString.substring(i2, i2 + 2); | |
| const decimal = parseInt(hexCode, 16); | |
| text += String.fromCharCode(decimal); | |
| } | |
| return text; | |
| }; | |
| const isHex$3 = (str) => { | |
| if (typeof str !== "string") { | |
| throw new Error("Input must be a string"); | |
| } | |
| const normalizedStr = str.startsWith("0x") ? str.substring(2) : str; | |
| const regex2 = /^[0-9a-fA-F]+$/; | |
| return regex2.test(normalizedStr); | |
| }; | |
| const runSafe = (callback) => __awaiter$c(void 0, void 0, void 0, function* () { | |
| try { | |
| const resolved = yield callback(); | |
| return [resolved, void 0]; | |
| } catch (error) { | |
| return [void 0, error]; | |
| } | |
| }); | |
| const PHANTOM_REDIRECT_CONNECTION_TYPE_KEY = "phantom-redirect-connection-type"; | |
| const createBrowserPlatformEventsService = (window2) => { | |
| const emitter = new EventEmitter$1(); | |
| const mapPlatformEventsToRequestChannel = { | |
| appFocused: () => { | |
| window2.addEventListener("focus", () => { | |
| emitter.emit("appFocused"); | |
| }); | |
| } | |
| }; | |
| Object.values(mapPlatformEventsToRequestChannel).forEach((handler) => handler()); | |
| return emitter; | |
| }; | |
| var _a$5, _PlatformEventsService_implementation; | |
| class PlatformEventsService { | |
| static get implementation() { | |
| if (!__classPrivateFieldGet$4(_a$5, _a$5, "f", _PlatformEventsService_implementation)) { | |
| __classPrivateFieldSet$3(_a$5, _a$5, createBrowserPlatformEventsService(window), "f", _PlatformEventsService_implementation); | |
| } | |
| return __classPrivateFieldGet$4(_a$5, _a$5, "f", _PlatformEventsService_implementation); | |
| } | |
| static set implementation(implementation) { | |
| __classPrivateFieldSet$3(_a$5, _a$5, implementation, "f", _PlatformEventsService_implementation); | |
| } | |
| static get on() { | |
| return _a$5.implementation.on.bind(_a$5.implementation); | |
| } | |
| static get off() { | |
| return _a$5.implementation.off.bind(_a$5.implementation); | |
| } | |
| static get once() { | |
| return _a$5.implementation.once.bind(_a$5.implementation); | |
| } | |
| } | |
| _a$5 = PlatformEventsService; | |
| _PlatformEventsService_implementation = { value: void 0 }; | |
| var _a$4, _FetchService_implementation; | |
| class FetchService { | |
| static get implementation() { | |
| if (!__classPrivateFieldGet$4(_a$4, _a$4, "f", _FetchService_implementation)) { | |
| return { fetch: window.fetch.bind(window) }; | |
| } | |
| return __classPrivateFieldGet$4(_a$4, _a$4, "f", _FetchService_implementation); | |
| } | |
| static set implementation(implementation) { | |
| __classPrivateFieldSet$3(_a$4, _a$4, implementation, "f", _FetchService_implementation); | |
| } | |
| static get fetch() { | |
| return _a$4.implementation.fetch; | |
| } | |
| } | |
| _a$4 = FetchService; | |
| _FetchService_implementation = { value: void 0 }; | |
| var version$g = "4.9.3"; | |
| function __awaiter$b(thisArg, _arguments, P2, generator) { | |
| function adopt(value2) { | |
| return value2 instanceof P2 ? value2 : new P2(function(resolve) { | |
| resolve(value2); | |
| }); | |
| } | |
| return new (P2 || (P2 = Promise))(function(resolve, reject) { | |
| function fulfilled(value2) { | |
| try { | |
| step2(generator.next(value2)); | |
| } catch (e2) { | |
| reject(e2); | |
| } | |
| } | |
| function rejected(value2) { | |
| try { | |
| step2(generator["throw"](value2)); | |
| } catch (e2) { | |
| reject(e2); | |
| } | |
| } | |
| function step2(result) { | |
| result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); | |
| } | |
| step2((generator = generator.apply(thisArg, [])).next()); | |
| }); | |
| } | |
| typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) { | |
| var e2 = new Error(message); | |
| return e2.name = "SuppressedError", e2.error = error, e2.suppressed = suppressed, e2; | |
| }; | |
| const BASE_PATH = "https://app.dynamicauth.com/api/v0".replace(/\/+$/, ""); | |
| const isBlob = (value2) => typeof Blob !== "undefined" && value2 instanceof Blob; | |
| class BaseAPI { | |
| constructor(configuration = new Configuration()) { | |
| this.configuration = configuration; | |
| this.fetchApi = (url2, init) => __awaiter$b(this, void 0, void 0, function* () { | |
| let fetchParams = { url: url2, init }; | |
| for (const middleware of this.middleware) { | |
| if (middleware.pre) { | |
| fetchParams = (yield middleware.pre(Object.assign({ fetch: this.fetchApi }, fetchParams))) || fetchParams; | |
| } | |
| } | |
| let response = yield (this.configuration.fetchApi || fetch)(fetchParams.url, fetchParams.init); | |
| for (const middleware of this.middleware) { | |
| if (middleware.post) { | |
| response = (yield middleware.post({ | |
| fetch: this.fetchApi, | |
| url: fetchParams.url, | |
| init: fetchParams.init, | |
| response: response.clone() | |
| })) || response; | |
| } | |
| } | |
| return response; | |
| }); | |
| this.middleware = configuration.middleware; | |
| } | |
| withMiddleware(...middlewares) { | |
| const next = this.clone(); | |
| next.middleware = next.middleware.concat(...middlewares); | |
| return next; | |
| } | |
| withPreMiddleware(...preMiddlewares) { | |
| const middlewares = preMiddlewares.map((pre) => ({ pre })); | |
| return this.withMiddleware(...middlewares); | |
| } | |
| withPostMiddleware(...postMiddlewares) { | |
| const middlewares = postMiddlewares.map((post) => ({ post })); | |
| return this.withMiddleware(...middlewares); | |
| } | |
| request(context, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const { url: url2, init } = this.createFetchParams(context, initOverrides); | |
| const response = yield this.fetchApi(url2, init); | |
| if (response.status >= 200 && response.status < 300) { | |
| return response; | |
| } | |
| throw response; | |
| }); | |
| } | |
| createFetchParams(context, initOverrides) { | |
| let url2 = this.configuration.basePath + context.path; | |
| if (context.query !== void 0 && Object.keys(context.query).length !== 0) { | |
| url2 += "?" + this.configuration.queryParamsStringify(context.query); | |
| } | |
| const body = typeof FormData !== "undefined" && context.body instanceof FormData || context.body instanceof URLSearchParams || isBlob(context.body) ? context.body : JSON.stringify(context.body); | |
| const headers = Object.assign({}, this.configuration.headers, context.headers); | |
| const init = Object.assign({ method: context.method, headers, body, credentials: this.configuration.credentials }, initOverrides); | |
| return { url: url2, init }; | |
| } | |
| /** | |
| * Create a shallow clone of `this` by constructing a new instance | |
| * and then shallow cloning data members. | |
| */ | |
| clone() { | |
| const constructor = this.constructor; | |
| const next = new constructor(this.configuration); | |
| next.middleware = this.middleware.slice(); | |
| return next; | |
| } | |
| } | |
| class RequiredError extends Error { | |
| constructor(field, msg) { | |
| super(msg); | |
| this.field = field; | |
| this.name = "RequiredError"; | |
| } | |
| } | |
| class Configuration { | |
| constructor(configuration = {}) { | |
| this.configuration = configuration; | |
| } | |
| get basePath() { | |
| return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH; | |
| } | |
| get fetchApi() { | |
| return this.configuration.fetchApi; | |
| } | |
| get middleware() { | |
| return this.configuration.middleware || []; | |
| } | |
| get queryParamsStringify() { | |
| return this.configuration.queryParamsStringify || querystring; | |
| } | |
| get username() { | |
| return this.configuration.username; | |
| } | |
| get password() { | |
| return this.configuration.password; | |
| } | |
| get apiKey() { | |
| const apiKey = this.configuration.apiKey; | |
| if (apiKey) { | |
| return typeof apiKey === "function" ? apiKey : () => apiKey; | |
| } | |
| return void 0; | |
| } | |
| get accessToken() { | |
| const accessToken = this.configuration.accessToken; | |
| if (accessToken) { | |
| return typeof accessToken === "function" ? accessToken : () => __awaiter$b(this, void 0, void 0, function* () { | |
| return accessToken; | |
| }); | |
| } | |
| return void 0; | |
| } | |
| get headers() { | |
| return this.configuration.headers; | |
| } | |
| get credentials() { | |
| return this.configuration.credentials; | |
| } | |
| } | |
| function exists(json, key2) { | |
| const value2 = json[key2]; | |
| return value2 !== null && value2 !== void 0; | |
| } | |
| function querystring(params, prefix = "") { | |
| return Object.keys(params).map((key2) => { | |
| const fullKey = prefix + (prefix.length ? `[${key2}]` : key2); | |
| const value2 = params[key2]; | |
| if (value2 instanceof Array) { | |
| const multiValue = value2.map((singleValue) => encodeURIComponent(String(singleValue))).join(`&${encodeURIComponent(fullKey)}=`); | |
| return `${encodeURIComponent(fullKey)}=${multiValue}`; | |
| } | |
| if (value2 instanceof Date) { | |
| return `${encodeURIComponent(fullKey)}=${encodeURIComponent(value2.toISOString())}`; | |
| } | |
| if (value2 instanceof Object) { | |
| return querystring(value2, fullKey); | |
| } | |
| return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value2))}`; | |
| }).filter((part) => part.length > 0).join("&"); | |
| } | |
| function mapValues$1(data2, fn2) { | |
| return Object.keys(data2).reduce((acc, key2) => Object.assign(Object.assign({}, acc), { [key2]: fn2(data2[key2]) }), {}); | |
| } | |
| function canConsumeForm(consumes) { | |
| for (const consume of consumes) { | |
| if ("multipart/form-data" === consume.contentType) { | |
| return true; | |
| } | |
| } | |
| return false; | |
| } | |
| class JSONApiResponse { | |
| constructor(raw, transformer = (jsonValue) => jsonValue) { | |
| this.raw = raw; | |
| this.transformer = transformer; | |
| } | |
| value() { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| return this.transformer(yield this.raw.json()); | |
| }); | |
| } | |
| } | |
| class VoidApiResponse { | |
| constructor(raw) { | |
| this.raw = raw; | |
| } | |
| value() { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| return void 0; | |
| }); | |
| } | |
| } | |
| class TextApiResponse { | |
| constructor(raw) { | |
| this.raw = raw; | |
| } | |
| value() { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| return yield this.raw.text(); | |
| }); | |
| } | |
| } | |
| var AttestationConveyancePreference; | |
| (function(AttestationConveyancePreference2) { | |
| AttestationConveyancePreference2["Direct"] = "direct"; | |
| AttestationConveyancePreference2["Enterprise"] = "enterprise"; | |
| AttestationConveyancePreference2["Indirect"] = "indirect"; | |
| AttestationConveyancePreference2["None"] = "none"; | |
| })(AttestationConveyancePreference || (AttestationConveyancePreference = {})); | |
| function AttestationConveyancePreferenceFromJSON(json) { | |
| return AttestationConveyancePreferenceFromJSONTyped(json); | |
| } | |
| function AttestationConveyancePreferenceFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| var AuthModeEnum; | |
| (function(AuthModeEnum2) { | |
| AuthModeEnum2["Only"] = "connect-only"; | |
| AuthModeEnum2["AndSign"] = "connect-and-sign"; | |
| })(AuthModeEnum || (AuthModeEnum = {})); | |
| function AuthModeEnumToJSON(value2) { | |
| return value2; | |
| } | |
| var AuthStorageEnum; | |
| (function(AuthStorageEnum2) { | |
| AuthStorageEnum2["Localstorage"] = "localstorage"; | |
| AuthStorageEnum2["Cookie"] = "cookie"; | |
| })(AuthStorageEnum || (AuthStorageEnum = {})); | |
| function AuthStorageEnumFromJSON(json) { | |
| return AuthStorageEnumFromJSONTyped(json); | |
| } | |
| function AuthStorageEnumFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| var AuthenticatorAttachment; | |
| (function(AuthenticatorAttachment2) { | |
| AuthenticatorAttachment2["CrossPlatform"] = "cross-platform"; | |
| AuthenticatorAttachment2["Platform"] = "platform"; | |
| })(AuthenticatorAttachment || (AuthenticatorAttachment = {})); | |
| function AuthenticatorAttachmentFromJSON(json) { | |
| return AuthenticatorAttachmentFromJSONTyped(json); | |
| } | |
| function AuthenticatorAttachmentFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function AuthenticatorAttachmentToJSON(value2) { | |
| return value2; | |
| } | |
| var ResidentKeyRequirement; | |
| (function(ResidentKeyRequirement2) { | |
| ResidentKeyRequirement2["Discouraged"] = "discouraged"; | |
| ResidentKeyRequirement2["Preferred"] = "preferred"; | |
| ResidentKeyRequirement2["Required"] = "required"; | |
| })(ResidentKeyRequirement || (ResidentKeyRequirement = {})); | |
| function ResidentKeyRequirementFromJSON(json) { | |
| return ResidentKeyRequirementFromJSONTyped(json); | |
| } | |
| function ResidentKeyRequirementFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| var UserVerificationRequirement; | |
| (function(UserVerificationRequirement2) { | |
| UserVerificationRequirement2["Discouraged"] = "discouraged"; | |
| UserVerificationRequirement2["Preferred"] = "preferred"; | |
| UserVerificationRequirement2["Required"] = "required"; | |
| })(UserVerificationRequirement || (UserVerificationRequirement = {})); | |
| function UserVerificationRequirementFromJSON(json) { | |
| return UserVerificationRequirementFromJSONTyped(json); | |
| } | |
| function UserVerificationRequirementFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| var AuthenticatorTransportProtocol; | |
| (function(AuthenticatorTransportProtocol2) { | |
| AuthenticatorTransportProtocol2["Internal"] = "AUTHENTICATOR_TRANSPORT_INTERNAL"; | |
| AuthenticatorTransportProtocol2["Usb"] = "AUTHENTICATOR_TRANSPORT_USB"; | |
| AuthenticatorTransportProtocol2["Nfc"] = "AUTHENTICATOR_TRANSPORT_NFC"; | |
| AuthenticatorTransportProtocol2["Ble"] = "AUTHENTICATOR_TRANSPORT_BLE"; | |
| AuthenticatorTransportProtocol2["Hybrid"] = "AUTHENTICATOR_TRANSPORT_HYBRID"; | |
| })(AuthenticatorTransportProtocol || (AuthenticatorTransportProtocol = {})); | |
| function AuthenticatorTransportProtocolToJSON(value2) { | |
| return value2; | |
| } | |
| function BackupMultipleClientKeySharesRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "encryptedAccountCredentials": value2.encryptedAccountCredentials, | |
| "passwordEncrypted": value2.passwordEncrypted | |
| }; | |
| } | |
| function WalletKeyShareInfoFromJSON(json) { | |
| return WalletKeyShareInfoFromJSONTyped(json); | |
| } | |
| function WalletKeyShareInfoFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "id": json["id"], | |
| "backupLocation": json["backupLocation"], | |
| "passwordEncrypted": json["passwordEncrypted"] | |
| }; | |
| } | |
| function BackupMultipleClientKeySharesResponseFromJSON(json) { | |
| return BackupMultipleClientKeySharesResponseFromJSONTyped(json); | |
| } | |
| function BackupMultipleClientKeySharesResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "keyShares": json["keyShares"].map(WalletKeyShareInfoFromJSON) | |
| }; | |
| } | |
| var JwtVerifiedCredentialFormatEnum; | |
| (function(JwtVerifiedCredentialFormatEnum2) { | |
| JwtVerifiedCredentialFormatEnum2["Blockchain"] = "blockchain"; | |
| JwtVerifiedCredentialFormatEnum2["Email"] = "email"; | |
| JwtVerifiedCredentialFormatEnum2["Oauth"] = "oauth"; | |
| JwtVerifiedCredentialFormatEnum2["Passkey"] = "passkey"; | |
| JwtVerifiedCredentialFormatEnum2["PhoneNumber"] = "phoneNumber"; | |
| JwtVerifiedCredentialFormatEnum2["ExternalUser"] = "externalUser"; | |
| })(JwtVerifiedCredentialFormatEnum || (JwtVerifiedCredentialFormatEnum = {})); | |
| function JwtVerifiedCredentialFormatEnumFromJSON(json) { | |
| return JwtVerifiedCredentialFormatEnumFromJSONTyped(json); | |
| } | |
| function JwtVerifiedCredentialFormatEnumFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| var ProviderEnum; | |
| (function(ProviderEnum2) { | |
| ProviderEnum2["EmailOnly"] = "emailOnly"; | |
| ProviderEnum2["MagicLink"] = "magicLink"; | |
| ProviderEnum2["Apple"] = "apple"; | |
| ProviderEnum2["Bitbucket"] = "bitbucket"; | |
| ProviderEnum2["Coinbasesocial"] = "coinbasesocial"; | |
| ProviderEnum2["Discord"] = "discord"; | |
| ProviderEnum2["Epicgames"] = "epicgames"; | |
| ProviderEnum2["Facebook"] = "facebook"; | |
| ProviderEnum2["Farcaster"] = "farcaster"; | |
| ProviderEnum2["Github"] = "github"; | |
| ProviderEnum2["Gitlab"] = "gitlab"; | |
| ProviderEnum2["Google"] = "google"; | |
| ProviderEnum2["Instagram"] = "instagram"; | |
| ProviderEnum2["Linkedin"] = "linkedin"; | |
| ProviderEnum2["Microsoft"] = "microsoft"; | |
| ProviderEnum2["Twitch"] = "twitch"; | |
| ProviderEnum2["Twitter"] = "twitter"; | |
| ProviderEnum2["Blocto"] = "blocto"; | |
| ProviderEnum2["Banxa"] = "banxa"; | |
| ProviderEnum2["CoinbaseOnramp"] = "coinbaseOnramp"; | |
| ProviderEnum2["Dynamic"] = "dynamic"; | |
| ProviderEnum2["Alchemy"] = "alchemy"; | |
| ProviderEnum2["Zerodev"] = "zerodev"; | |
| ProviderEnum2["Telegram"] = "telegram"; | |
| ProviderEnum2["Turnkey"] = "turnkey"; | |
| ProviderEnum2["CoinbaseWaas"] = "coinbaseWaas"; | |
| ProviderEnum2["Sms"] = "sms"; | |
| ProviderEnum2["Spotify"] = "spotify"; | |
| ProviderEnum2["Tiktok"] = "tiktok"; | |
| ProviderEnum2["Line"] = "line"; | |
| ProviderEnum2["Steam"] = "steam"; | |
| ProviderEnum2["Shopify"] = "shopify"; | |
| })(ProviderEnum || (ProviderEnum = {})); | |
| function ProviderEnumFromJSON(json) { | |
| return ProviderEnumFromJSONTyped(json); | |
| } | |
| function ProviderEnumFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function ProviderEnumToJSON(value2) { | |
| return value2; | |
| } | |
| var WalletAddressType; | |
| (function(WalletAddressType2) { | |
| WalletAddressType2["Ordinals"] = "ordinals"; | |
| WalletAddressType2["Payment"] = "payment"; | |
| WalletAddressType2["Cosmos"] = "cosmos"; | |
| WalletAddressType2["Evm"] = "evm"; | |
| })(WalletAddressType || (WalletAddressType = {})); | |
| function WalletAddressTypeFromJSON(json) { | |
| return WalletAddressTypeFromJSONTyped(json); | |
| } | |
| function WalletAddressTypeFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function WalletAddressTypeToJSON(value2) { | |
| return value2; | |
| } | |
| var EcdsaValidatorOptions; | |
| (function(EcdsaValidatorOptions2) { | |
| EcdsaValidatorOptions2["SignerToEcdsa"] = "zerodev_signer_to_ecdsa"; | |
| EcdsaValidatorOptions2["MultiChain"] = "zerodev_multi_chain"; | |
| })(EcdsaValidatorOptions || (EcdsaValidatorOptions = {})); | |
| function EcdsaValidatorOptionsFromJSON(json) { | |
| return EcdsaValidatorOptionsFromJSONTyped(json); | |
| } | |
| function EcdsaValidatorOptionsFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| var EmbeddedWalletVersionEnum; | |
| (function(EmbeddedWalletVersionEnum2) { | |
| EmbeddedWalletVersionEnum2["V1"] = "V1"; | |
| EmbeddedWalletVersionEnum2["V2"] = "V2"; | |
| EmbeddedWalletVersionEnum2["V3"] = "V3"; | |
| })(EmbeddedWalletVersionEnum || (EmbeddedWalletVersionEnum = {})); | |
| function EmbeddedWalletVersionEnumFromJSON(json) { | |
| return EmbeddedWalletVersionEnumFromJSONTyped(json); | |
| } | |
| function EmbeddedWalletVersionEnumFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| var HardwareWalletEnum; | |
| (function(HardwareWalletEnum2) { | |
| HardwareWalletEnum2["Ledger"] = "ledger"; | |
| })(HardwareWalletEnum || (HardwareWalletEnum = {})); | |
| function HardwareWalletEnumFromJSON(json) { | |
| return HardwareWalletEnumFromJSONTyped(json); | |
| } | |
| function HardwareWalletEnumFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| var PasswordSourceTypeEnum; | |
| (function(PasswordSourceTypeEnum2) { | |
| PasswordSourceTypeEnum2["Dynamic"] = "dynamic"; | |
| PasswordSourceTypeEnum2["User"] = "user"; | |
| })(PasswordSourceTypeEnum || (PasswordSourceTypeEnum = {})); | |
| function PasswordSourceTypeEnumFromJSON(json) { | |
| return PasswordSourceTypeEnumFromJSONTyped(json); | |
| } | |
| function PasswordSourceTypeEnumFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function PasswordSourceTypeEnumToJSON(value2) { | |
| return value2; | |
| } | |
| var ProviderEntryPointVersionEnum; | |
| (function(ProviderEntryPointVersionEnum2) { | |
| ProviderEntryPointVersionEnum2["V6"] = "v6"; | |
| ProviderEntryPointVersionEnum2["V7"] = "v7"; | |
| })(ProviderEntryPointVersionEnum || (ProviderEntryPointVersionEnum = {})); | |
| function ProviderEntryPointVersionEnumFromJSON(json) { | |
| return ProviderEntryPointVersionEnumFromJSONTyped(json); | |
| } | |
| function ProviderEntryPointVersionEnumFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| var ProviderKernelVersionEnum; | |
| (function(ProviderKernelVersionEnum2) { | |
| ProviderKernelVersionEnum2["V24"] = "v2_4"; | |
| ProviderKernelVersionEnum2["V30"] = "v3_0"; | |
| ProviderKernelVersionEnum2["V31"] = "v3_1"; | |
| })(ProviderKernelVersionEnum || (ProviderKernelVersionEnum = {})); | |
| function ProviderKernelVersionEnumFromJSON(json) { | |
| return ProviderKernelVersionEnumFromJSONTyped(json); | |
| } | |
| function ProviderKernelVersionEnumFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| var ThresholdSignatureScheme; | |
| (function(ThresholdSignatureScheme2) { | |
| ThresholdSignatureScheme2["TwoOfTwo"] = "TWO_OF_TWO"; | |
| ThresholdSignatureScheme2["TwoOfThree"] = "TWO_OF_THREE"; | |
| ThresholdSignatureScheme2["ThreeOfFive"] = "THREE_OF_FIVE"; | |
| })(ThresholdSignatureScheme || (ThresholdSignatureScheme = {})); | |
| function ThresholdSignatureSchemeFromJSON(json) { | |
| return ThresholdSignatureSchemeFromJSONTyped(json); | |
| } | |
| function ThresholdSignatureSchemeFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function ThresholdSignatureSchemeToJSON(value2) { | |
| return value2; | |
| } | |
| var WalletProviderEnum; | |
| (function(WalletProviderEnum2) { | |
| WalletProviderEnum2["BrowserExtension"] = "browserExtension"; | |
| WalletProviderEnum2["CustodialService"] = "custodialService"; | |
| WalletProviderEnum2["WalletConnect"] = "walletConnect"; | |
| WalletProviderEnum2["QrCode"] = "qrCode"; | |
| WalletProviderEnum2["DeepLink"] = "deepLink"; | |
| WalletProviderEnum2["EmbeddedWallet"] = "embeddedWallet"; | |
| WalletProviderEnum2["SmartContractWallet"] = "smartContractWallet"; | |
| })(WalletProviderEnum || (WalletProviderEnum = {})); | |
| function WalletProviderEnumFromJSON(json) { | |
| return WalletProviderEnumFromJSONTyped(json); | |
| } | |
| function WalletProviderEnumFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function WalletProviderEnumToJSON(value2) { | |
| return value2; | |
| } | |
| var MfaBackupCodeAcknowledgement; | |
| (function(MfaBackupCodeAcknowledgement2) { | |
| MfaBackupCodeAcknowledgement2["Pending"] = "pending"; | |
| MfaBackupCodeAcknowledgement2["Complete"] = "complete"; | |
| })(MfaBackupCodeAcknowledgement || (MfaBackupCodeAcknowledgement = {})); | |
| function MfaBackupCodeAcknowledgementFromJSON(json) { | |
| return MfaBackupCodeAcknowledgementFromJSONTyped(json); | |
| } | |
| function MfaBackupCodeAcknowledgementFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function MfaBackupCodeAcknowledgementToJSON(value2) { | |
| return value2; | |
| } | |
| var CustomFieldType; | |
| (function(CustomFieldType2) { | |
| CustomFieldType2["Text"] = "text"; | |
| CustomFieldType2["Checkbox"] = "checkbox"; | |
| CustomFieldType2["Select"] = "select"; | |
| })(CustomFieldType || (CustomFieldType = {})); | |
| function CustomFieldTypeFromJSON(json) { | |
| return CustomFieldTypeFromJSONTyped(json); | |
| } | |
| function CustomFieldTypeFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| var KycFieldType; | |
| (function(KycFieldType2) { | |
| KycFieldType2["Standard"] = "standard"; | |
| KycFieldType2["Custom"] = "custom"; | |
| })(KycFieldType || (KycFieldType = {})); | |
| function KycFieldTypeFromJSON(json) { | |
| return KycFieldTypeFromJSONTyped(json); | |
| } | |
| function KycFieldTypeFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function KycFieldTypeToJSON(value2) { | |
| return value2; | |
| } | |
| var ChainEnum; | |
| (function(ChainEnum2) { | |
| ChainEnum2["Eth"] = "ETH"; | |
| ChainEnum2["Evm"] = "EVM"; | |
| ChainEnum2["Flow"] = "FLOW"; | |
| ChainEnum2["Sol"] = "SOL"; | |
| ChainEnum2["Algo"] = "ALGO"; | |
| ChainEnum2["Stark"] = "STARK"; | |
| ChainEnum2["Cosmos"] = "COSMOS"; | |
| ChainEnum2["Btc"] = "BTC"; | |
| ChainEnum2["Eclipse"] = "ECLIPSE"; | |
| ChainEnum2["Sui"] = "SUI"; | |
| })(ChainEnum || (ChainEnum = {})); | |
| function ChainEnumFromJSON(json) { | |
| return ChainEnumFromJSONTyped(json); | |
| } | |
| function ChainEnumFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function ChainEnumToJSON(value2) { | |
| return value2; | |
| } | |
| function PasskeyRegistrationCredentialToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "attestationObject": value2.attestationObject, | |
| "clientDataJson": value2.clientDataJson, | |
| "credentialId": value2.credentialId, | |
| "transports": value2.transports.map(AuthenticatorTransportProtocolToJSON) | |
| }; | |
| } | |
| function CompletePasskeyRecoveryRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "walletId": value2.walletId, | |
| "attestation": PasskeyRegistrationCredentialToJSON(value2.attestation), | |
| "challenge": value2.challenge | |
| }; | |
| } | |
| function ConnectRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "address": value2.address, | |
| "chain": ChainEnumToJSON(value2.chain), | |
| "provider": WalletProviderEnumToJSON(value2.provider), | |
| "walletName": value2.walletName, | |
| "authMode": AuthModeEnumToJSON(value2.authMode) | |
| }; | |
| } | |
| var EmbeddedWalletChainEnum; | |
| (function(EmbeddedWalletChainEnum2) { | |
| EmbeddedWalletChainEnum2["Evm"] = "EVM"; | |
| EmbeddedWalletChainEnum2["Sol"] = "SOL"; | |
| })(EmbeddedWalletChainEnum || (EmbeddedWalletChainEnum = {})); | |
| function EmbeddedWalletChainEnumToJSON(value2) { | |
| return value2; | |
| } | |
| var EmbeddedWalletProviderEnum; | |
| (function(EmbeddedWalletProviderEnum2) { | |
| EmbeddedWalletProviderEnum2["Turnkey"] = "turnkey"; | |
| EmbeddedWalletProviderEnum2["Turnkeyhd"] = "turnkeyhd"; | |
| EmbeddedWalletProviderEnum2["DynamicWaas"] = "dynamicWaas"; | |
| })(EmbeddedWalletProviderEnum || (EmbeddedWalletProviderEnum = {})); | |
| function EmbeddedWalletProviderEnumToJSON(value2) { | |
| return value2; | |
| } | |
| function CreateTurnkeyEmbeddedWalletSpecificOptsToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "attestation": PasskeyRegistrationCredentialToJSON(value2.attestation), | |
| "challenge": value2.challenge | |
| }; | |
| } | |
| function CreateEmbeddedWalletSpecificOptsToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return Object.assign({}, CreateTurnkeyEmbeddedWalletSpecificOptsToJSON(value2)); | |
| } | |
| function CreateEmbeddedWalletParamsToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "chains": value2.chains === void 0 ? void 0 : value2.chains.map(EmbeddedWalletChainEnumToJSON), | |
| "chain": EmbeddedWalletChainEnumToJSON(value2.chain), | |
| "embeddedWalletProvider": EmbeddedWalletProviderEnumToJSON(value2.embeddedWalletProvider), | |
| "embeddedWalletSpecificOpts": CreateEmbeddedWalletSpecificOptsToJSON(value2.embeddedWalletSpecificOpts), | |
| "isAuthenticatorAttached": value2.isAuthenticatorAttached, | |
| "passkeyAlias": value2.passkeyAlias, | |
| "sessionPublicKey": value2.sessionPublicKey | |
| }; | |
| } | |
| function CreateEmbeddedWalletsRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "embeddedWallets": value2.embeddedWallets.map(CreateEmbeddedWalletParamsToJSON) | |
| }; | |
| } | |
| var UserIdentifierTypeEnum; | |
| (function(UserIdentifierTypeEnum2) { | |
| UserIdentifierTypeEnum2["Email"] = "email"; | |
| UserIdentifierTypeEnum2["Id"] = "id"; | |
| UserIdentifierTypeEnum2["ExternalUserId"] = "externalUserId"; | |
| UserIdentifierTypeEnum2["PhoneNumber"] = "phoneNumber"; | |
| UserIdentifierTypeEnum2["SocialUsername"] = "socialUsername"; | |
| })(UserIdentifierTypeEnum || (UserIdentifierTypeEnum = {})); | |
| function CreateWaasAccountRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "chain": ChainEnumToJSON(value2.chain), | |
| "clientKeygenIds": value2.clientKeygenIds, | |
| "thresholdSignatureScheme": ThresholdSignatureSchemeToJSON(value2.thresholdSignatureScheme) | |
| }; | |
| } | |
| function TurnkeyStampToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "stampHeaderName": value2.stampHeaderName, | |
| "stampHeaderValue": value2.stampHeaderValue | |
| }; | |
| } | |
| function TurnkeySignedRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "body": value2.body, | |
| "stamp": TurnkeyStampToJSON(value2.stamp), | |
| "url": value2.url | |
| }; | |
| } | |
| function CreateWalletAccountRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "turnkeySignedRequest": TurnkeySignedRequestToJSON(value2.turnkeySignedRequest) | |
| }; | |
| } | |
| var CurrencyType; | |
| (function(CurrencyType2) { | |
| CurrencyType2["Fiat"] = "fiat"; | |
| CurrencyType2["Crypto"] = "crypto"; | |
| })(CurrencyType || (CurrencyType = {})); | |
| function CurrencyTypeFromJSON(json) { | |
| return CurrencyTypeFromJSONTyped(json); | |
| } | |
| function CurrencyTypeFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function CurrencyFromJSON(json) { | |
| return CurrencyFromJSONTyped(json); | |
| } | |
| function CurrencyFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "name": json["name"], | |
| "symbol": json["symbol"], | |
| "type": CurrencyTypeFromJSON(json["type"]), | |
| "code": json["code"], | |
| "value": json["value"] | |
| }; | |
| } | |
| function DeleteEmbeddedWalletsRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "turnkeySignedRequest": TurnkeySignedRequestToJSON(value2.turnkeySignedRequest) | |
| }; | |
| } | |
| var TimeUnitEnum; | |
| (function(TimeUnitEnum2) { | |
| TimeUnitEnum2["Days"] = "days"; | |
| TimeUnitEnum2["Hours"] = "hours"; | |
| TimeUnitEnum2["Minutes"] = "minutes"; | |
| })(TimeUnitEnum || (TimeUnitEnum = {})); | |
| function TimeUnitEnumFromJSON(json) { | |
| return TimeUnitEnumFromJSONTyped(json); | |
| } | |
| function TimeUnitEnumFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function EmailProviderResponseFromJSON(json) { | |
| return EmailProviderResponseFromJSONTyped(json); | |
| } | |
| function EmailProviderResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "emailProvider": ProviderEnumFromJSON(json["emailProvider"]) | |
| }; | |
| } | |
| function EmailVerificationCreateRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "email": value2.email, | |
| "captchaToken": value2.captchaToken | |
| }; | |
| } | |
| function EmailVerificationCreateResponseFromJSON(json) { | |
| return EmailVerificationCreateResponseFromJSONTyped(json); | |
| } | |
| function EmailVerificationCreateResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "verificationUUID": json["verificationUUID"], | |
| "email": json["email"] | |
| }; | |
| } | |
| function EmailVerificationRetryRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "verificationUUID": value2.verificationUUID, | |
| "email": value2.email, | |
| "captchaToken": value2.captchaToken | |
| }; | |
| } | |
| function EmailVerificationVerifyRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "verificationUUID": value2.verificationUUID, | |
| "verificationToken": value2.verificationToken, | |
| "captchaToken": value2.captchaToken, | |
| "sessionPublicKey": value2.sessionPublicKey | |
| }; | |
| } | |
| function EmbeddedWalletAuthTokenFromJSON(json) { | |
| return EmbeddedWalletAuthTokenFromJSONTyped(json); | |
| } | |
| function EmbeddedWalletAuthTokenFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "token": json["token"] | |
| }; | |
| } | |
| var EmbeddedWalletAuthType; | |
| (function(EmbeddedWalletAuthType2) { | |
| EmbeddedWalletAuthType2["Mpc"] = "mpc"; | |
| })(EmbeddedWalletAuthType || (EmbeddedWalletAuthType = {})); | |
| function EmbeddedWalletPasscodeClaimRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "walletId": value2.walletId | |
| }; | |
| } | |
| function EmbeddedWalletSecretFromJSON(json) { | |
| return EmbeddedWalletSecretFromJSONTyped(json); | |
| } | |
| function EmbeddedWalletSecretFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "walletId": json["walletId"], | |
| "secret": json["secret"], | |
| "source": !exists(json, "source") ? void 0 : PasswordSourceTypeEnumFromJSON(json["source"]) | |
| }; | |
| } | |
| function NameServiceDataFromJSON(json) { | |
| return NameServiceDataFromJSONTyped(json); | |
| } | |
| function NameServiceDataFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "avatar": !exists(json, "avatar") ? void 0 : json["avatar"], | |
| "name": !exists(json, "name") ? void 0 : json["name"] | |
| }; | |
| } | |
| function WalletAdditionalAddressFromJSON(json) { | |
| return WalletAdditionalAddressFromJSONTyped(json); | |
| } | |
| function WalletAdditionalAddressFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "address": json["address"], | |
| "publicKey": !exists(json, "publicKey") ? void 0 : json["publicKey"], | |
| "type": WalletAddressTypeFromJSON(json["type"]) | |
| }; | |
| } | |
| function WalletAdditionalAddressToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "address": value2.address, | |
| "publicKey": value2.publicKey, | |
| "type": WalletAddressTypeToJSON(value2.type) | |
| }; | |
| } | |
| function WalletPropertiesFromJSON(json) { | |
| return WalletPropertiesFromJSONTyped(json); | |
| } | |
| function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "turnkeySubOrganizationId": !exists(json, "turnkeySubOrganizationId") ? void 0 : json["turnkeySubOrganizationId"], | |
| "turnkeyPrivateKeyId": !exists(json, "turnkeyPrivateKeyId") ? void 0 : json["turnkeyPrivateKeyId"], | |
| "turnkeyHDWalletId": !exists(json, "turnkeyHDWalletId") ? void 0 : json["turnkeyHDWalletId"], | |
| "isAuthenticatorAttached": !exists(json, "isAuthenticatorAttached") ? void 0 : json["isAuthenticatorAttached"], | |
| "turnkeyUserId": !exists(json, "turnkeyUserId") ? void 0 : json["turnkeyUserId"], | |
| "isSessionKeyCompatible": !exists(json, "isSessionKeyCompatible") ? void 0 : json["isSessionKeyCompatible"], | |
| "version": !exists(json, "version") ? void 0 : EmbeddedWalletVersionEnumFromJSON(json["version"]), | |
| "ecdsaProviderType": !exists(json, "ecdsaProviderType") ? void 0 : EcdsaValidatorOptionsFromJSON(json["ecdsaProviderType"]), | |
| "entryPointVersion": !exists(json, "entryPointVersion") ? void 0 : ProviderEntryPointVersionEnumFromJSON(json["entryPointVersion"]), | |
| "kernelVersion": !exists(json, "kernelVersion") ? void 0 : ProviderKernelVersionEnumFromJSON(json["kernelVersion"]), | |
| "hardwareWallet": !exists(json, "hardwareWallet") ? void 0 : HardwareWalletEnumFromJSON(json["hardwareWallet"]), | |
| "claimed": !exists(json, "claimed") ? void 0 : json["claimed"], | |
| "source": !exists(json, "source") ? void 0 : PasswordSourceTypeEnumFromJSON(json["source"]), | |
| "keyShares": !exists(json, "keyShares") ? void 0 : json["keyShares"].map(WalletKeyShareInfoFromJSON), | |
| "thresholdSignatureScheme": !exists(json, "thresholdSignatureScheme") ? void 0 : ThresholdSignatureSchemeFromJSON(json["thresholdSignatureScheme"]), | |
| "derivationPath": !exists(json, "derivationPath") ? void 0 : json["derivationPath"] | |
| }; | |
| } | |
| function JwtVerifiedCredentialFromJSON(json) { | |
| return JwtVerifiedCredentialFromJSONTyped(json); | |
| } | |
| function JwtVerifiedCredentialFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "address": !exists(json, "address") ? void 0 : json["address"], | |
| "chain": !exists(json, "chain") ? void 0 : json["chain"], | |
| "refId": !exists(json, "refId") ? void 0 : json["refId"], | |
| "signerRefId": !exists(json, "signerRefId") ? void 0 : json["signerRefId"], | |
| "email": !exists(json, "email") ? void 0 : json["email"], | |
| "id": json["id"], | |
| "nameService": !exists(json, "name_service") ? void 0 : NameServiceDataFromJSON(json["name_service"]), | |
| "publicIdentifier": !exists(json, "public_identifier") ? void 0 : json["public_identifier"], | |
| "walletName": !exists(json, "wallet_name") ? void 0 : json["wallet_name"], | |
| "walletProvider": !exists(json, "wallet_provider") ? void 0 : WalletProviderEnumFromJSON(json["wallet_provider"]), | |
| "walletProperties": !exists(json, "wallet_properties") ? void 0 : WalletPropertiesFromJSON(json["wallet_properties"]), | |
| "format": JwtVerifiedCredentialFormatEnumFromJSON(json["format"]), | |
| "oauthProvider": !exists(json, "oauth_provider") ? void 0 : ProviderEnumFromJSON(json["oauth_provider"]), | |
| "oauthUsername": !exists(json, "oauth_username") ? void 0 : json["oauth_username"], | |
| "oauthDisplayName": !exists(json, "oauth_display_name") ? void 0 : json["oauth_display_name"], | |
| "oauthAccountId": !exists(json, "oauth_account_id") ? void 0 : json["oauth_account_id"], | |
| "phoneNumber": !exists(json, "phoneNumber") ? void 0 : json["phoneNumber"], | |
| "phoneCountryCode": !exists(json, "phoneCountryCode") ? void 0 : json["phoneCountryCode"], | |
| "isoCountryCode": !exists(json, "isoCountryCode") ? void 0 : json["isoCountryCode"], | |
| "oauthAccountPhotos": !exists(json, "oauth_account_photos") ? void 0 : json["oauth_account_photos"], | |
| "oauthEmails": !exists(json, "oauth_emails") ? void 0 : json["oauth_emails"], | |
| "oauthMetadata": !exists(json, "oauth_metadata") ? void 0 : json["oauth_metadata"], | |
| "previousUsers": !exists(json, "previous_users") ? void 0 : json["previous_users"], | |
| "embeddedWalletId": !exists(json, "embedded_wallet_id") ? void 0 : json["embedded_wallet_id"], | |
| "walletAdditionalAddresses": !exists(json, "wallet_additional_addresses") ? void 0 : json["wallet_additional_addresses"].map(WalletAdditionalAddressFromJSON), | |
| "lastSelectedAt": !exists(json, "lastSelectedAt") ? void 0 : new Date(json["lastSelectedAt"]), | |
| "signInEnabled": json["signInEnabled"] | |
| }; | |
| } | |
| function CustomFieldValidValueFromJSON(json) { | |
| return CustomFieldValidValueFromJSONTyped(json); | |
| } | |
| function CustomFieldValidValueFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "label": json["label"], | |
| "key": !exists(json, "key") ? void 0 : json["key"] | |
| }; | |
| } | |
| function CustomFieldValidationRulesFromJSON(json) { | |
| return CustomFieldValidationRulesFromJSONTyped(json); | |
| } | |
| function CustomFieldValidationRulesFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "unique": !exists(json, "unique") ? void 0 : json["unique"], | |
| "regex": !exists(json, "regex") ? void 0 : json["regex"], | |
| "validOptions": !exists(json, "validOptions") ? void 0 : json["validOptions"].map(CustomFieldValidValueFromJSON), | |
| "checkboxText": !exists(json, "checkboxText") ? void 0 : json["checkboxText"] | |
| }; | |
| } | |
| function ProjectSettingsKycFromJSON(json) { | |
| return ProjectSettingsKycFromJSONTyped(json); | |
| } | |
| function ProjectSettingsKycFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "name": json["name"], | |
| "required": json["required"], | |
| "enabled": json["enabled"], | |
| "unique": json["unique"], | |
| "verify": json["verify"], | |
| "type": !exists(json, "type") ? void 0 : KycFieldTypeFromJSON(json["type"]), | |
| "validationRules": !exists(json, "validationRules") ? void 0 : CustomFieldValidationRulesFromJSON(json["validationRules"]), | |
| "validationType": !exists(json, "validationType") ? void 0 : CustomFieldTypeFromJSON(json["validationType"]), | |
| "label": !exists(json, "label") ? void 0 : json["label"], | |
| "position": !exists(json, "position") ? void 0 : json["position"] | |
| }; | |
| } | |
| function SdkUserFromJSON(json) { | |
| return SdkUserFromJSONTyped(json); | |
| } | |
| function SdkUserFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "id": json["id"], | |
| "projectEnvironmentId": json["projectEnvironmentId"], | |
| "verifiedCredentials": json["verifiedCredentials"].map(JwtVerifiedCredentialFromJSON), | |
| "lastVerifiedCredentialId": !exists(json, "lastVerifiedCredentialId") ? void 0 : json["lastVerifiedCredentialId"], | |
| "sessionId": !exists(json, "sessionId") ? void 0 : json["sessionId"], | |
| "alias": !exists(json, "alias") ? void 0 : json["alias"], | |
| "country": !exists(json, "country") ? void 0 : json["country"], | |
| "email": !exists(json, "email") ? void 0 : json["email"], | |
| "firstName": !exists(json, "firstName") ? void 0 : json["firstName"], | |
| "jobTitle": !exists(json, "jobTitle") ? void 0 : json["jobTitle"], | |
| "lastName": !exists(json, "lastName") ? void 0 : json["lastName"], | |
| "phoneNumber": !exists(json, "phoneNumber") ? void 0 : json["phoneNumber"], | |
| "policiesConsent": !exists(json, "policiesConsent") ? void 0 : json["policiesConsent"], | |
| "tShirtSize": !exists(json, "tShirtSize") ? void 0 : json["tShirtSize"], | |
| "team": !exists(json, "team") ? void 0 : json["team"], | |
| "username": !exists(json, "username") ? void 0 : json["username"], | |
| "firstVisit": !exists(json, "firstVisit") ? void 0 : new Date(json["firstVisit"]), | |
| "lastVisit": !exists(json, "lastVisit") ? void 0 : new Date(json["lastVisit"]), | |
| "newUser": !exists(json, "newUser") ? void 0 : json["newUser"], | |
| "metadata": !exists(json, "metadata") ? void 0 : json["metadata"], | |
| "mfaBackupCodeAcknowledgement": !exists(json, "mfaBackupCodeAcknowledgement") ? void 0 : MfaBackupCodeAcknowledgementFromJSON(json["mfaBackupCodeAcknowledgement"]), | |
| "btcWallet": !exists(json, "btcWallet") ? void 0 : json["btcWallet"], | |
| "kdaWallet": !exists(json, "kdaWallet") ? void 0 : json["kdaWallet"], | |
| "ltcWallet": !exists(json, "ltcWallet") ? void 0 : json["ltcWallet"], | |
| "ckbWallet": !exists(json, "ckbWallet") ? void 0 : json["ckbWallet"], | |
| "kasWallet": !exists(json, "kasWallet") ? void 0 : json["kasWallet"], | |
| "dogeWallet": !exists(json, "dogeWallet") ? void 0 : json["dogeWallet"], | |
| "emailNotification": !exists(json, "emailNotification") ? void 0 : json["emailNotification"], | |
| "discordNotification": !exists(json, "discordNotification") ? void 0 : json["discordNotification"], | |
| "newsletterNotification": !exists(json, "newsletterNotification") ? void 0 : json["newsletterNotification"], | |
| "lists": !exists(json, "lists") ? void 0 : json["lists"], | |
| "scope": !exists(json, "scope") ? void 0 : json["scope"], | |
| "missingFields": !exists(json, "missingFields") ? void 0 : json["missingFields"].map(ProjectSettingsKycFromJSON) | |
| }; | |
| } | |
| var EmbeddedWalletSecurityMethod; | |
| (function(EmbeddedWalletSecurityMethod2) { | |
| EmbeddedWalletSecurityMethod2["Passkey"] = "passkey"; | |
| EmbeddedWalletSecurityMethod2["Passphrase"] = "passphrase"; | |
| })(EmbeddedWalletSecurityMethod || (EmbeddedWalletSecurityMethod = {})); | |
| function EmbeddedWalletSecurityMethodFromJSON(json) { | |
| return EmbeddedWalletSecurityMethodFromJSONTyped(json); | |
| } | |
| function EmbeddedWalletSecurityMethodFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| var EnvironmentEnum; | |
| (function(EnvironmentEnum2) { | |
| EnvironmentEnum2["Sandbox"] = "sandbox"; | |
| EnvironmentEnum2["Live"] = "live"; | |
| })(EnvironmentEnum || (EnvironmentEnum = {})); | |
| function EnvironmentEnumFromJSON(json) { | |
| return EnvironmentEnumFromJSONTyped(json); | |
| } | |
| function EnvironmentEnumFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function ExportEmbeddedWalletResponseFromJSON(json) { | |
| return ExportEmbeddedWalletResponseFromJSONTyped(json); | |
| } | |
| function ExportEmbeddedWalletResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "exportBundle": json["exportBundle"] | |
| }; | |
| } | |
| function ExportWaasWalletPrivateKeyRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "exportId": value2.exportId | |
| }; | |
| } | |
| function ExternalAuthSigninRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "jwt": value2.jwt, | |
| "sessionPublicKey": value2.sessionPublicKey | |
| }; | |
| } | |
| var ExternalWalletFundingDefaultChain; | |
| (function(ExternalWalletFundingDefaultChain2) { | |
| ExternalWalletFundingDefaultChain2["Ethereum"] = "ethereum"; | |
| ExternalWalletFundingDefaultChain2["Solana"] = "solana"; | |
| })(ExternalWalletFundingDefaultChain || (ExternalWalletFundingDefaultChain = {})); | |
| var ExternalWalletFundingTokenRule; | |
| (function(ExternalWalletFundingTokenRule2) { | |
| ExternalWalletFundingTokenRule2["Recommended"] = "recommended"; | |
| ExternalWalletFundingTokenRule2["Exact"] = "exact"; | |
| })(ExternalWalletFundingTokenRule || (ExternalWalletFundingTokenRule = {})); | |
| function ExternalWalletFundingTokenRuleFromJSON(json) { | |
| return ExternalWalletFundingTokenRuleFromJSONTyped(json); | |
| } | |
| function ExternalWalletFundingTokenRuleFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function FarcasterSignInRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "address": value2.address, | |
| "domain": value2.domain, | |
| "nonce": value2.nonce, | |
| "message": value2.message, | |
| "signature": value2.signature, | |
| "captchaToken": value2.captchaToken, | |
| "sessionPublicKey": value2.sessionPublicKey | |
| }; | |
| } | |
| var OnrampProviders; | |
| (function(OnrampProviders2) { | |
| OnrampProviders2["Banxa"] = "banxa"; | |
| OnrampProviders2["CoinbaseOnramp"] = "coinbaseOnramp"; | |
| })(OnrampProviders || (OnrampProviders = {})); | |
| function OnrampProvidersFromJSON(json) { | |
| return OnrampProvidersFromJSONTyped(json); | |
| } | |
| function OnrampProvidersFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function PasskeyStorageFromJSON(json) { | |
| return PasskeyStorageFromJSONTyped(json); | |
| } | |
| function PasskeyStorageFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "name": json["name"], | |
| "icon": json["icon"], | |
| "updatedAt": !exists(json, "updatedAt") ? void 0 : new Date(json["updatedAt"]) | |
| }; | |
| } | |
| function UserPasskeyFromJSON(json) { | |
| return UserPasskeyFromJSONTyped(json); | |
| } | |
| function UserPasskeyFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "id": json["id"], | |
| "alias": !exists(json, "alias") ? void 0 : json["alias"], | |
| "userAgent": !exists(json, "userAgent") ? void 0 : json["userAgent"], | |
| "origin": !exists(json, "origin") ? void 0 : json["origin"], | |
| "credentialId": json["credentialId"], | |
| "createdAt": new Date(json["createdAt"]), | |
| "updatedAt": !exists(json, "updatedAt") ? void 0 : new Date(json["updatedAt"]), | |
| "storage": !exists(json, "storage") ? void 0 : PasskeyStorageFromJSON(json["storage"]) | |
| }; | |
| } | |
| function GetUserPasskeysResponseFromJSON(json) { | |
| return GetUserPasskeysResponseFromJSONTyped(json); | |
| } | |
| function GetUserPasskeysResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "passkeys": json["passkeys"].map(UserPasskeyFromJSON), | |
| "count": json["count"] | |
| }; | |
| } | |
| function GlobalWalletSettingsFromJSON(json) { | |
| return GlobalWalletSettingsFromJSONTyped(json); | |
| } | |
| function GlobalWalletSettingsFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "id": json["id"], | |
| "walletName": json["walletName"], | |
| "popupPageTitle": !exists(json, "popupPageTitle") ? void 0 : json["popupPageTitle"], | |
| "walletIconUrl": !exists(json, "walletIconUrl") ? void 0 : json["walletIconUrl"], | |
| "customCssUrl": !exists(json, "customCssUrl") ? void 0 : json["customCssUrl"], | |
| "termsOfServiceUrl": !exists(json, "termsOfServiceUrl") ? void 0 : json["termsOfServiceUrl"], | |
| "privacyPolicyUrl": !exists(json, "privacyPolicyUrl") ? void 0 : json["privacyPolicyUrl"], | |
| "enabledAt": !exists(json, "enabledAt") ? void 0 : json["enabledAt"] === null ? null : new Date(json["enabledAt"]) | |
| }; | |
| } | |
| var HealthcheckStatus; | |
| (function(HealthcheckStatus2) { | |
| HealthcheckStatus2["Healthy"] = "healthy"; | |
| HealthcheckStatus2["Unhealthy"] = "unhealthy"; | |
| })(HealthcheckStatus || (HealthcheckStatus = {})); | |
| function HealthcheckStatusFromJSON(json) { | |
| return HealthcheckStatusFromJSONTyped(json); | |
| } | |
| function HealthcheckStatusFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function HealthcheckResponseFromJSON(json) { | |
| return HealthcheckResponseFromJSONTyped(json); | |
| } | |
| function HealthcheckResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "status": HealthcheckStatusFromJSON(json["status"]) | |
| }; | |
| } | |
| function ImportWaasPrivateKeyRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "chain": ChainEnumToJSON(value2.chain), | |
| "clientKeygenIds": value2.clientKeygenIds, | |
| "thresholdSignatureScheme": ThresholdSignatureSchemeToJSON(value2.thresholdSignatureScheme) | |
| }; | |
| } | |
| function InitEmailAuthRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "walletId": value2.walletId, | |
| "turnkeyEmailAuthTargetPublicKey": value2.turnkeyEmailAuthTargetPublicKey | |
| }; | |
| } | |
| function InitEmailAuthResponseFromJSON(json) { | |
| return InitEmailAuthResponseFromJSONTyped(json); | |
| } | |
| function InitEmailAuthResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "turnkeyUserId": json["turnkeyUserId"], | |
| "turnkeyApiKeyId": json["turnkeyApiKeyId"] | |
| }; | |
| } | |
| function InitPasskeyRecoveryRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "walletId": value2.walletId, | |
| "turnkeyRecoveryTargetPublicKey": value2.turnkeyRecoveryTargetPublicKey | |
| }; | |
| } | |
| function InitPasskeyRecoveryResponseFromJSON(json) { | |
| return InitPasskeyRecoveryResponseFromJSONTyped(json); | |
| } | |
| function InitPasskeyRecoveryResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "turnkeyRecoveryUserId": json["turnkeyRecoveryUserId"] | |
| }; | |
| } | |
| function JwksKeyFromJSON(json) { | |
| return JwksKeyFromJSONTyped(json); | |
| } | |
| function JwksKeyFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "kid": !exists(json, "kid") ? void 0 : json["kid"], | |
| "alg": !exists(json, "alg") ? void 0 : json["alg"], | |
| "kty": !exists(json, "kty") ? void 0 : json["kty"], | |
| "use": !exists(json, "use") ? void 0 : json["use"], | |
| "e": !exists(json, "e") ? void 0 : json["e"], | |
| "n": !exists(json, "n") ? void 0 : json["n"] | |
| }; | |
| } | |
| function JwksResponseFromJSON(json) { | |
| return JwksResponseFromJSONTyped(json); | |
| } | |
| function JwksResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "keys": json["keys"].map(JwksKeyFromJSON) | |
| }; | |
| } | |
| function AuthenticationExtensionsClientInputsFromJSON(json) { | |
| return AuthenticationExtensionsClientInputsFromJSONTyped(json); | |
| } | |
| function AuthenticationExtensionsClientInputsFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "appid": !exists(json, "appid") ? void 0 : json["appid"], | |
| "credProps": !exists(json, "credProps") ? void 0 : json["credProps"], | |
| "hmacCreateSecret": !exists(json, "hmacCreateSecret") ? void 0 : json["hmacCreateSecret"] | |
| }; | |
| } | |
| var PublicKeyCredentialType; | |
| (function(PublicKeyCredentialType2) { | |
| PublicKeyCredentialType2["PublicKey"] = "public-key"; | |
| })(PublicKeyCredentialType || (PublicKeyCredentialType = {})); | |
| function PublicKeyCredentialTypeFromJSON(json) { | |
| return PublicKeyCredentialTypeFromJSONTyped(json); | |
| } | |
| function PublicKeyCredentialTypeFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function PublicKeyCredentialTypeToJSON(value2) { | |
| return value2; | |
| } | |
| function PublicKeyCredentialDescriptorFromJSON(json) { | |
| return PublicKeyCredentialDescriptorFromJSONTyped(json); | |
| } | |
| function PublicKeyCredentialDescriptorFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "id": json["id"], | |
| "type": PublicKeyCredentialTypeFromJSON(json["type"]) | |
| }; | |
| } | |
| function MFAAuthPasskeyDeviceGetResponseAssertionFromJSON(json) { | |
| return MFAAuthPasskeyDeviceGetResponseAssertionFromJSONTyped(json); | |
| } | |
| function MFAAuthPasskeyDeviceGetResponseAssertionFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "rpId": !exists(json, "rpId") ? void 0 : json["rpId"], | |
| "challenge": json["challenge"], | |
| "timeout": !exists(json, "timeout") ? void 0 : json["timeout"], | |
| "userVerification": !exists(json, "userVerification") ? void 0 : UserVerificationRequirementFromJSON(json["userVerification"]), | |
| "allowCredentials": !exists(json, "allowCredentials") ? void 0 : json["allowCredentials"].map(PublicKeyCredentialDescriptorFromJSON), | |
| "extensions": !exists(json, "extensions") ? void 0 : AuthenticationExtensionsClientInputsFromJSON(json["extensions"]) | |
| }; | |
| } | |
| var MFADeviceType; | |
| (function(MFADeviceType2) { | |
| MFADeviceType2["Totp"] = "totp"; | |
| MFADeviceType2["Passkey"] = "passkey"; | |
| })(MFADeviceType || (MFADeviceType = {})); | |
| function MFADeviceTypeFromJSON(json) { | |
| return MFADeviceTypeFromJSONTyped(json); | |
| } | |
| function MFADeviceTypeFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function MFADeviceTypeToJSON(value2) { | |
| return value2; | |
| } | |
| function MFAAuthPasskeyDeviceGetResponseFromJSON(json) { | |
| return MFAAuthPasskeyDeviceGetResponseFromJSONTyped(json); | |
| } | |
| function MFAAuthPasskeyDeviceGetResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "id": json["id"], | |
| "type": MFADeviceTypeFromJSON(json["type"]), | |
| "assertion": MFAAuthPasskeyDeviceGetResponseAssertionFromJSON(json["assertion"]) | |
| }; | |
| } | |
| function AuthenticationExtensionsClientOutputsToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "appid": value2.appid, | |
| "credProps": value2.credProps, | |
| "hmacCreateSecret": value2.hmacCreateSecret | |
| }; | |
| } | |
| function AuthenticatorAssertionResponseToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "clientDataJSON": value2.clientDataJSON, | |
| "authenticatorData": value2.authenticatorData, | |
| "signature": value2.signature, | |
| "userHandle": value2.userHandle | |
| }; | |
| } | |
| function PasskeyAuthRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "id": value2.id, | |
| "rawId": value2.rawId, | |
| "response": AuthenticatorAssertionResponseToJSON(value2.response), | |
| "authenticatorAttachment": AuthenticatorAttachmentToJSON(value2.authenticatorAttachment), | |
| "clientExtensionResults": AuthenticationExtensionsClientOutputsToJSON(value2.clientExtensionResults), | |
| "type": PublicKeyCredentialTypeToJSON(value2.type) | |
| }; | |
| } | |
| function MFAAuthPasskeyDevicePostRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "id": value2.id, | |
| "assertion": PasskeyAuthRequestToJSON(value2.assertion) | |
| }; | |
| } | |
| function CreateMfaTokenToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "singleUse": value2.singleUse | |
| }; | |
| } | |
| function MFAAuthRecoveryDevicePostRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "createMfaToken": CreateMfaTokenToJSON(value2.createMfaToken), | |
| "code": value2.code | |
| }; | |
| } | |
| function MFAAuthTotpDevicePostRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "id": value2.id, | |
| "createMfaToken": CreateMfaTokenToJSON(value2.createMfaToken), | |
| "code": value2.code | |
| }; | |
| } | |
| function MFADeviceFromJSON(json) { | |
| return MFADeviceFromJSONTyped(json); | |
| } | |
| function MFADeviceFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "type": !exists(json, "type") ? void 0 : MFADeviceTypeFromJSON(json["type"]), | |
| "verified": !exists(json, "verified") ? void 0 : json["verified"], | |
| "id": !exists(json, "id") ? void 0 : json["id"], | |
| "createdAt": !exists(json, "createdAt") ? void 0 : new Date(json["createdAt"]), | |
| "verifiedAt": !exists(json, "verifiedAt") ? void 0 : json["verifiedAt"] === null ? null : new Date(json["verifiedAt"]), | |
| "_default": !exists(json, "default") ? void 0 : json["default"], | |
| "alias": !exists(json, "alias") ? void 0 : json["alias"] | |
| }; | |
| } | |
| function MFAGetRecoveryCodesResponseFromJSON(json) { | |
| return MFAGetRecoveryCodesResponseFromJSONTyped(json); | |
| } | |
| function MFAGetRecoveryCodesResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "count": json["count"], | |
| "recoveryCodes": json["recoveryCodes"] | |
| }; | |
| } | |
| function MFAListDevicesResponseFromJSON(json) { | |
| return MFAListDevicesResponseFromJSONTyped(json); | |
| } | |
| function MFAListDevicesResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "count": json["count"], | |
| "devices": json["devices"].map(MFADeviceFromJSON) | |
| }; | |
| } | |
| function MFARegenRecoveryCodesResponseFromJSON(json) { | |
| return MFARegenRecoveryCodesResponseFromJSONTyped(json); | |
| } | |
| function MFARegenRecoveryCodesResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "count": json["count"], | |
| "recoveryCodes": json["recoveryCodes"] | |
| }; | |
| } | |
| function AuthenticatorSelectionCriteriaFromJSON(json) { | |
| return AuthenticatorSelectionCriteriaFromJSONTyped(json); | |
| } | |
| function AuthenticatorSelectionCriteriaFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "authenticatorAttachment": !exists(json, "authenticatorAttachment") ? void 0 : AuthenticatorAttachmentFromJSON(json["authenticatorAttachment"]), | |
| "requireResidentKey": !exists(json, "requireResidentKey") ? void 0 : json["requireResidentKey"], | |
| "residentKey": !exists(json, "residentKey") ? void 0 : ResidentKeyRequirementFromJSON(json["residentKey"]), | |
| "userVerification": !exists(json, "userVerification") ? void 0 : UserVerificationRequirementFromJSON(json["userVerification"]) | |
| }; | |
| } | |
| function PublicKeyCredentialParametersFromJSON(json) { | |
| return PublicKeyCredentialParametersFromJSONTyped(json); | |
| } | |
| function PublicKeyCredentialParametersFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "alg": json["alg"], | |
| "type": PublicKeyCredentialTypeFromJSON(json["type"]) | |
| }; | |
| } | |
| function PublicKeyCredentialRpEntityFromJSON(json) { | |
| return PublicKeyCredentialRpEntityFromJSONTyped(json); | |
| } | |
| function PublicKeyCredentialRpEntityFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "id": !exists(json, "id") ? void 0 : json["id"], | |
| "name": json["name"] | |
| }; | |
| } | |
| function PublicKeyCredentialUserEntityFromJSON(json) { | |
| return PublicKeyCredentialUserEntityFromJSONTyped(json); | |
| } | |
| function PublicKeyCredentialUserEntityFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "id": json["id"], | |
| "name": json["name"], | |
| "displayName": json["displayName"] | |
| }; | |
| } | |
| function MFARegisterPasskeyDeviceGetResponseRegistrationFromJSON(json) { | |
| return MFARegisterPasskeyDeviceGetResponseRegistrationFromJSONTyped(json); | |
| } | |
| function MFARegisterPasskeyDeviceGetResponseRegistrationFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "attestation": !exists(json, "attestation") ? void 0 : AttestationConveyancePreferenceFromJSON(json["attestation"]), | |
| "rp": PublicKeyCredentialRpEntityFromJSON(json["rp"]), | |
| "user": PublicKeyCredentialUserEntityFromJSON(json["user"]), | |
| "challenge": json["challenge"], | |
| "pubKeyCredParams": json["pubKeyCredParams"].map(PublicKeyCredentialParametersFromJSON), | |
| "timeout": !exists(json, "timeout") ? void 0 : json["timeout"], | |
| "authenticatorSelection": !exists(json, "authenticatorSelection") ? void 0 : AuthenticatorSelectionCriteriaFromJSON(json["authenticatorSelection"]), | |
| "excludeCredentials": !exists(json, "excludeCredentials") ? void 0 : json["excludeCredentials"].map(PublicKeyCredentialDescriptorFromJSON), | |
| "extensions": !exists(json, "extensions") ? void 0 : AuthenticationExtensionsClientInputsFromJSON(json["extensions"]) | |
| }; | |
| } | |
| function MFARegisterPasskeyDeviceGetResponseFromJSON(json) { | |
| return MFARegisterPasskeyDeviceGetResponseFromJSONTyped(json); | |
| } | |
| function MFARegisterPasskeyDeviceGetResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "id": json["id"], | |
| "type": MFADeviceTypeFromJSON(json["type"]), | |
| "registration": MFARegisterPasskeyDeviceGetResponseRegistrationFromJSON(json["registration"]) | |
| }; | |
| } | |
| function AuthenticatorAttestationResponseToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "clientDataJSON": value2.clientDataJSON, | |
| "attestationObject": value2.attestationObject, | |
| "authenticatorData": value2.authenticatorData, | |
| "publicKeyAlgorithm": value2.publicKeyAlgorithm, | |
| "publicKey": value2.publicKey | |
| }; | |
| } | |
| function PasskeyRegisterVerifyRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "id": value2.id, | |
| "rawId": value2.rawId, | |
| "response": AuthenticatorAttestationResponseToJSON(value2.response), | |
| "authenticatorAttachment": AuthenticatorAttachmentToJSON(value2.authenticatorAttachment), | |
| "clientExtensionResults": AuthenticationExtensionsClientOutputsToJSON(value2.clientExtensionResults), | |
| "type": PublicKeyCredentialTypeToJSON(value2.type) | |
| }; | |
| } | |
| function MFARegisterPasskeyDevicePostRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "id": value2.id, | |
| "attestation": PasskeyRegisterVerifyRequestToJSON(value2.attestation) | |
| }; | |
| } | |
| function MFARegisterTotpDeviceGetResponseFromJSON(json) { | |
| return MFARegisterTotpDeviceGetResponseFromJSONTyped(json); | |
| } | |
| function MFARegisterTotpDeviceGetResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "id": json["id"], | |
| "type": MFADeviceTypeFromJSON(json["type"]), | |
| "secret": json["secret"], | |
| "uri": json["uri"] | |
| }; | |
| } | |
| function MFARegisterTotpDevicePostRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "type": MFADeviceTypeToJSON(value2.type), | |
| "code": value2.code | |
| }; | |
| } | |
| function MFAUpdateDeviceRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "default": value2._default | |
| }; | |
| } | |
| function MergeUserConflictResolutionToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "userId": value2.userId, | |
| "fieldKey": value2.fieldKey, | |
| "type": KycFieldTypeToJSON(value2.type) | |
| }; | |
| } | |
| function MergeUserConflictResolutionsToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "mergeUserResolutions": value2.mergeUserResolutions === void 0 ? void 0 : value2.mergeUserResolutions.map(MergeUserConflictResolutionToJSON) | |
| }; | |
| } | |
| var NetworkTypeEnum; | |
| (function(NetworkTypeEnum2) { | |
| NetworkTypeEnum2["Custom"] = "custom"; | |
| NetworkTypeEnum2["Default"] = "default"; | |
| })(NetworkTypeEnum || (NetworkTypeEnum = {})); | |
| function NetworkFromJSON(json) { | |
| return NetworkFromJSONTyped(json); | |
| } | |
| function NetworkFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "networkId": json["networkId"], | |
| "chainName": json["chainName"], | |
| "enabled": json["enabled"], | |
| "rpcUrl": !exists(json, "rpcUrl") ? void 0 : json["rpcUrl"], | |
| "iconUrl": !exists(json, "iconUrl") ? void 0 : json["iconUrl"], | |
| "type": !exists(json, "type") ? void 0 : json["type"] | |
| }; | |
| } | |
| function NameServiceFromJSON(json) { | |
| return NameServiceFromJSONTyped(json); | |
| } | |
| function NameServiceFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "registry": !exists(json, "registry") ? void 0 : json["registry"] | |
| }; | |
| } | |
| function NativeCurrencyFromJSON(json) { | |
| return NativeCurrencyFromJSONTyped(json); | |
| } | |
| function NativeCurrencyFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "decimals": json["decimals"], | |
| "name": json["name"], | |
| "symbol": json["symbol"], | |
| "denom": !exists(json, "denom") ? void 0 : json["denom"], | |
| "iconUrl": !exists(json, "iconUrl") ? void 0 : json["iconUrl"], | |
| "pricingProviderTokenId": !exists(json, "pricingProviderTokenId") ? void 0 : json["pricingProviderTokenId"] | |
| }; | |
| } | |
| function NetworkConfigurationFromJSON(json) { | |
| return NetworkConfigurationFromJSONTyped(json); | |
| } | |
| function NetworkConfigurationFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "lcdUrl": !exists(json, "lcdUrl") ? void 0 : json["lcdUrl"], | |
| "chainName": !exists(json, "chainName") ? void 0 : json["chainName"], | |
| "key": !exists(json, "key") ? void 0 : json["key"], | |
| "name": json["name"], | |
| "shortName": json["shortName"], | |
| "isTestnet": !exists(json, "isTestnet") ? void 0 : json["isTestnet"], | |
| "chain": json["chain"], | |
| "chainId": json["chainId"], | |
| "nameService": !exists(json, "nameService") ? void 0 : NameServiceFromJSON(json["nameService"]), | |
| "networkId": json["networkId"], | |
| "iconUrls": json["iconUrls"], | |
| "nativeCurrency": NativeCurrencyFromJSON(json["nativeCurrency"]), | |
| "rpcUrls": json["rpcUrls"], | |
| "privateCustomerRpcUrls": !exists(json, "privateCustomerRpcUrls") ? void 0 : json["privateCustomerRpcUrls"], | |
| "blockExplorerUrls": json["blockExplorerUrls"], | |
| "vanityName": !exists(json, "vanityName") ? void 0 : json["vanityName"], | |
| "bech32Prefix": !exists(json, "bech32Prefix") ? void 0 : json["bech32Prefix"], | |
| "genesisHash": !exists(json, "genesisHash") ? void 0 : json["genesisHash"], | |
| "cluster": !exists(json, "cluster") ? void 0 : json["cluster"] | |
| }; | |
| } | |
| function NetworkConfigurationResponseFromJSON(json) { | |
| return NetworkConfigurationResponseFromJSONTyped(json); | |
| } | |
| function NetworkConfigurationResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "chainName": !exists(json, "chainName") ? void 0 : json["chainName"], | |
| "networks": !exists(json, "networks") ? void 0 : json["networks"].map(NetworkConfigurationFromJSON) | |
| }; | |
| } | |
| var NextViewEnum; | |
| (function(NextViewEnum2) { | |
| NextViewEnum2["Done"] = "done"; | |
| NextViewEnum2["VerifyEmail"] = "verify-email"; | |
| NextViewEnum2["VerifiedAndTransferred"] = "verified-and-transferred"; | |
| NextViewEnum2["VerifySms"] = "verify-sms"; | |
| })(NextViewEnum || (NextViewEnum = {})); | |
| function NextViewEnumFromJSON(json) { | |
| return NextViewEnumFromJSONTyped(json); | |
| } | |
| function NextViewEnumFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function NonceResponseFromJSON(json) { | |
| return NonceResponseFromJSONTyped(json); | |
| } | |
| function NonceResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "nonce": !exists(json, "nonce") ? void 0 : json["nonce"] | |
| }; | |
| } | |
| function OauthInitAuthRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "state": value2.state, | |
| "redirectUrl": value2.redirectUrl | |
| }; | |
| } | |
| function OauthProviderLoginUrlFromJSON(json) { | |
| return OauthProviderLoginUrlFromJSONTyped(json); | |
| } | |
| function OauthProviderLoginUrlFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "url": json["url"] | |
| }; | |
| } | |
| function OauthRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "code": value2.code, | |
| "codeVerifier": value2.codeVerifier, | |
| "state": value2.state, | |
| "captchaToken": value2.captchaToken, | |
| "sessionPublicKey": value2.sessionPublicKey | |
| }; | |
| } | |
| function OauthResultRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "state": value2.state, | |
| "telegramAuthToken": value2.telegramAuthToken, | |
| "forceCreateUser": value2.forceCreateUser, | |
| "code": value2.code, | |
| "sessionPublicKey": value2.sessionPublicKey | |
| }; | |
| } | |
| var OauthResultStatus; | |
| (function(OauthResultStatus2) { | |
| OauthResultStatus2["Pending"] = "pending"; | |
| OauthResultStatus2["Completed"] = "completed"; | |
| })(OauthResultStatus || (OauthResultStatus = {})); | |
| function OauthResultStatusFromJSON(json) { | |
| return OauthResultStatusFromJSONTyped(json); | |
| } | |
| function OauthResultStatusFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function OauthResultResponseFromJSON(json) { | |
| return OauthResultResponseFromJSONTyped(json); | |
| } | |
| function OauthResultResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "code": !exists(json, "code") ? void 0 : json["code"], | |
| "error": !exists(json, "error") ? void 0 : json["error"], | |
| "status": OauthResultStatusFromJSON(json["status"]) | |
| }; | |
| } | |
| function OpenRoomResponseFromJSON(json) { | |
| return OpenRoomResponseFromJSONTyped(json); | |
| } | |
| function OpenRoomResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "roomId": json["roomId"], | |
| "serverKeygenIds": !exists(json, "serverKeygenIds") ? void 0 : json["serverKeygenIds"], | |
| "newServerKeygenIds": !exists(json, "newServerKeygenIds") ? void 0 : json["newServerKeygenIds"], | |
| "walletId": !exists(json, "walletId") ? void 0 : json["walletId"] | |
| }; | |
| } | |
| function OpenRoomResponseForReshareFromJSON(json) { | |
| return OpenRoomResponseForReshareFromJSONTyped(json); | |
| } | |
| function OpenRoomResponseForReshareFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "roomId": json["roomId"], | |
| "serverKeygenIds": json["serverKeygenIds"], | |
| "newServerKeygenIds": json["newServerKeygenIds"], | |
| "walletId": !exists(json, "walletId") ? void 0 : json["walletId"] | |
| }; | |
| } | |
| function OpenRoomResponseWithServerKeygenIdsFromJSON(json) { | |
| return OpenRoomResponseWithServerKeygenIdsFromJSONTyped(json); | |
| } | |
| function OpenRoomResponseWithServerKeygenIdsFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "roomId": json["roomId"], | |
| "serverKeygenIds": json["serverKeygenIds"], | |
| "newServerKeygenIds": !exists(json, "newServerKeygenIds") ? void 0 : json["newServerKeygenIds"], | |
| "walletId": !exists(json, "walletId") ? void 0 : json["walletId"] | |
| }; | |
| } | |
| function PrefetchRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "chain": ChainEnumToJSON(value2.chain), | |
| "publicWalletAddress": value2.publicWalletAddress | |
| }; | |
| } | |
| function ProjectSettingsChainsFromJSON(json) { | |
| return ProjectSettingsChainsFromJSONTyped(json); | |
| } | |
| function ProjectSettingsChainsFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "name": json["name"], | |
| "enabled": json["enabled"], | |
| "networks": !exists(json, "networks") ? void 0 : json["networks"].map(NetworkFromJSON) | |
| }; | |
| } | |
| function ProjectSettingsDesignButtonFromJSON(json) { | |
| return ProjectSettingsDesignButtonFromJSONTyped(json); | |
| } | |
| function ProjectSettingsDesignButtonFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "background": !exists(json, "background") ? void 0 : json["background"], | |
| "fontColor": !exists(json, "fontColor") ? void 0 : json["fontColor"], | |
| "paddingHeight": !exists(json, "paddingHeight") ? void 0 : json["paddingHeight"], | |
| "paddingWidth": !exists(json, "paddingWidth") ? void 0 : json["paddingWidth"], | |
| "radius": !exists(json, "radius") ? void 0 : json["radius"] | |
| }; | |
| } | |
| function ProjectSettingsDesignModalFromJSON(json) { | |
| return ProjectSettingsDesignModalFromJSONTyped(json); | |
| } | |
| function ProjectSettingsDesignModalFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "border": !exists(json, "border") ? void 0 : json["border"], | |
| "brand": !exists(json, "brand") ? void 0 : json["brand"], | |
| "primaryColor": !exists(json, "primaryColor") ? void 0 : json["primaryColor"], | |
| "radius": !exists(json, "radius") ? void 0 : json["radius"], | |
| "theme": !exists(json, "theme") ? void 0 : json["theme"], | |
| "view": !exists(json, "view") ? void 0 : json["view"], | |
| "template": !exists(json, "template") ? void 0 : json["template"], | |
| "displayOrder": !exists(json, "displayOrder") ? void 0 : json["displayOrder"], | |
| "emailOnly": !exists(json, "emailOnly") ? void 0 : json["emailOnly"], | |
| "showWalletsButton": !exists(json, "showWalletsButton") ? void 0 : json["showWalletsButton"], | |
| "emailSubmitButtonInsideInput": !exists(json, "emailSubmitButtonInsideInput") ? void 0 : json["emailSubmitButtonInsideInput"], | |
| "splitEmailAndSocial": !exists(json, "splitEmailAndSocial") ? void 0 : json["splitEmailAndSocial"], | |
| "socialAboveEmail": !exists(json, "socialAboveEmail") ? void 0 : json["socialAboveEmail"] | |
| }; | |
| } | |
| function ProjectSettingsDesignWidgetFromJSON(json) { | |
| return ProjectSettingsDesignWidgetFromJSONTyped(json); | |
| } | |
| function ProjectSettingsDesignWidgetFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "backgroundColor": !exists(json, "backgroundColor") ? void 0 : json["backgroundColor"], | |
| "border": !exists(json, "border") ? void 0 : json["border"], | |
| "radius": !exists(json, "radius") ? void 0 : json["radius"], | |
| "textColor": !exists(json, "textColor") ? void 0 : json["textColor"], | |
| "theme": !exists(json, "theme") ? void 0 : json["theme"] | |
| }; | |
| } | |
| function ProjectSettingsDesignFromJSON(json) { | |
| return ProjectSettingsDesignFromJSONTyped(json); | |
| } | |
| function ProjectSettingsDesignFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "modal": !exists(json, "modal") ? void 0 : ProjectSettingsDesignModalFromJSON(json["modal"]), | |
| "button": !exists(json, "button") ? void 0 : ProjectSettingsDesignButtonFromJSON(json["button"]), | |
| "widget": !exists(json, "widget") ? void 0 : ProjectSettingsDesignWidgetFromJSON(json["widget"]) | |
| }; | |
| } | |
| function ProjectSettingsGeneralFromJSON(json) { | |
| return ProjectSettingsGeneralFromJSONTyped(json); | |
| } | |
| function ProjectSettingsGeneralFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "displayName": !exists(json, "displayName") ? void 0 : json["displayName"], | |
| "supportEmail": !exists(json, "supportEmail") ? void 0 : json["supportEmail"], | |
| "supportText": !exists(json, "supportText") ? void 0 : json["supportText"], | |
| "appLogo": !exists(json, "appLogo") ? void 0 : json["appLogo"], | |
| "imageUserNotInAccessList": !exists(json, "imageUserNotInAccessList") ? void 0 : json["imageUserNotInAccessList"], | |
| "imageUserInAccessList": !exists(json, "imageUserInAccessList") ? void 0 : json["imageUserInAccessList"], | |
| "supportUrls": !exists(json, "supportUrls") ? void 0 : json["supportUrls"], | |
| "collectUserDataWelcomeHeader": !exists(json, "collectUserDataWelcomeHeader") ? void 0 : json["collectUserDataWelcomeHeader"], | |
| "collectUserDataWelcomeMessage": !exists(json, "collectUserDataWelcomeMessage") ? void 0 : json["collectUserDataWelcomeMessage"], | |
| "skipOptionalKYCFieldDuringOnboarding": !exists(json, "skipOptionalKYCFieldDuringOnboarding") ? void 0 : json["skipOptionalKYCFieldDuringOnboarding"], | |
| "emailCompanyName": !exists(json, "emailCompanyName") ? void 0 : json["emailCompanyName"] | |
| }; | |
| } | |
| function ProjectSettingsPrivacyFromJSON(json) { | |
| return ProjectSettingsPrivacyFromJSONTyped(json); | |
| } | |
| function ProjectSettingsPrivacyFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "collectIp": !exists(json, "collectIp") ? void 0 : json["collectIp"] | |
| }; | |
| } | |
| function FeatureFlagsFromJSON(json) { | |
| return FeatureFlagsFromJSONTyped(json); | |
| } | |
| function FeatureFlagsFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "connectOnlyMultiAsset": json["connectOnlyMultiAsset"] | |
| }; | |
| } | |
| function ExternalWalletFundingDefaultSettingsTokenFromJSON(json) { | |
| return ExternalWalletFundingDefaultSettingsTokenFromJSONTyped(json); | |
| } | |
| function ExternalWalletFundingDefaultSettingsTokenFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "value": !exists(json, "value") ? void 0 : json["value"], | |
| "rule": !exists(json, "rule") ? void 0 : ExternalWalletFundingTokenRuleFromJSON(json["rule"]) | |
| }; | |
| } | |
| function ExternalWalletFundingDefaultSettingsFromJSON(json) { | |
| return ExternalWalletFundingDefaultSettingsFromJSONTyped(json); | |
| } | |
| function ExternalWalletFundingDefaultSettingsFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "chain": !exists(json, "chain") ? void 0 : ChainEnumFromJSON(json["chain"]), | |
| "token": !exists(json, "token") ? void 0 : ExternalWalletFundingDefaultSettingsTokenFromJSON(json["token"]) | |
| }; | |
| } | |
| function FundingExternalWalletsDefaultSettingsFromJSON(json) { | |
| return FundingExternalWalletsDefaultSettingsFromJSONTyped(json); | |
| } | |
| function FundingExternalWalletsDefaultSettingsFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "chainSettings": !exists(json, "chainSettings") ? void 0 : json["chainSettings"].map(ExternalWalletFundingDefaultSettingsFromJSON) | |
| }; | |
| } | |
| function FundingExternalWalletsMinAmountFromJSON(json) { | |
| return FundingExternalWalletsMinAmountFromJSONTyped(json); | |
| } | |
| function FundingExternalWalletsMinAmountFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "amount": !exists(json, "amount") ? void 0 : json["amount"], | |
| "currency": !exists(json, "currency") ? void 0 : json["currency"] | |
| }; | |
| } | |
| function FundingExternalWalletsFromJSON(json) { | |
| return FundingExternalWalletsFromJSONTyped(json); | |
| } | |
| function FundingExternalWalletsFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "enabled": json["enabled"], | |
| "minAmount": !exists(json, "minAmount") ? void 0 : FundingExternalWalletsMinAmountFromJSON(json["minAmount"]), | |
| "defaultSettings": !exists(json, "defaultSettings") ? void 0 : FundingExternalWalletsDefaultSettingsFromJSON(json["defaultSettings"]) | |
| }; | |
| } | |
| function FundingFromJSON(json) { | |
| return FundingFromJSONTyped(json); | |
| } | |
| function FundingFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "onramps": json["onramps"].map(OnrampProvidersFromJSON), | |
| "externalWallets": !exists(json, "externalWallets") ? void 0 : FundingExternalWalletsFromJSON(json["externalWallets"]) | |
| }; | |
| } | |
| function MobileSettingsFromJSON(json) { | |
| return MobileSettingsFromJSONTyped(json); | |
| } | |
| function MobileSettingsFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "deeplinkUrlsEnabled": !exists(json, "deeplinkUrlsEnabled") ? void 0 : json["deeplinkUrlsEnabled"] | |
| }; | |
| } | |
| function NameServiceSdkSettingsEvmFromJSON(json) { | |
| return NameServiceSdkSettingsEvmFromJSONTyped(json); | |
| } | |
| function NameServiceSdkSettingsEvmFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "domain": !exists(json, "domain") ? void 0 : json["domain"] | |
| }; | |
| } | |
| function NameServiceSdkSettingsFromJSON(json) { | |
| return NameServiceSdkSettingsFromJSONTyped(json); | |
| } | |
| function NameServiceSdkSettingsFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "evm": NameServiceSdkSettingsEvmFromJSON(json["evm"]) | |
| }; | |
| } | |
| function ProjectSettingsSdkAccountAbstractionFromJSON(json) { | |
| return ProjectSettingsSdkAccountAbstractionFromJSONTyped(json); | |
| } | |
| function ProjectSettingsSdkAccountAbstractionFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "allWallets": !exists(json, "allWallets") ? void 0 : json["allWallets"], | |
| "allUsers": !exists(json, "allUsers") ? void 0 : json["allUsers"], | |
| "separateSmartWalletAndSigner": !exists(json, "separateSmartWalletAndSigner") ? void 0 : json["separateSmartWalletAndSigner"] | |
| }; | |
| } | |
| var SignInProviderEnum; | |
| (function(SignInProviderEnum2) { | |
| SignInProviderEnum2["Dynamic"] = "dynamic"; | |
| SignInProviderEnum2["MagicLink"] = "magicLink"; | |
| SignInProviderEnum2["Blocto"] = "blocto"; | |
| SignInProviderEnum2["Turnkey"] = "turnkey"; | |
| SignInProviderEnum2["CoinbaseWaas"] = "coinbaseWaas"; | |
| })(SignInProviderEnum || (SignInProviderEnum = {})); | |
| function SignInProviderEnumFromJSON(json) { | |
| return SignInProviderEnumFromJSONTyped(json); | |
| } | |
| function SignInProviderEnumFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function ProjectSettingsSdkEmailSignInFromJSON(json) { | |
| return ProjectSettingsSdkEmailSignInFromJSONTyped(json); | |
| } | |
| function ProjectSettingsSdkEmailSignInFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "signInProvider": !exists(json, "signInProvider") ? void 0 : SignInProviderEnumFromJSON(json["signInProvider"]) | |
| }; | |
| } | |
| function ChainConfigurationFromJSON(json) { | |
| return ChainConfigurationFromJSONTyped(json); | |
| } | |
| function ChainConfigurationFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "name": json["name"], | |
| "enabled": json["enabled"], | |
| "primary": json["primary"] | |
| }; | |
| } | |
| function DurationFromJSON(json) { | |
| return DurationFromJSONTyped(json); | |
| } | |
| function DurationFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "amount": json["amount"], | |
| "unit": TimeUnitEnumFromJSON(json["unit"]) | |
| }; | |
| } | |
| function SupportedSecurityMethodFromJSON(json) { | |
| return SupportedSecurityMethodFromJSONTyped(json); | |
| } | |
| function SupportedSecurityMethodFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "isDefault": json["isDefault"], | |
| "isEnabled": json["isEnabled"], | |
| "isPermanentAuthenticator": json["isPermanentAuthenticator"], | |
| "listPosition": json["listPosition"] | |
| }; | |
| } | |
| function SupportedSecurityMethodsFromJSON(json) { | |
| return SupportedSecurityMethodsFromJSONTyped(json); | |
| } | |
| function SupportedSecurityMethodsFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "passkey": !exists(json, "passkey") ? void 0 : SupportedSecurityMethodFromJSON(json["passkey"]), | |
| "email": !exists(json, "email") ? void 0 : SupportedSecurityMethodFromJSON(json["email"]), | |
| "password": !exists(json, "password") ? void 0 : SupportedSecurityMethodFromJSON(json["password"]) | |
| }; | |
| } | |
| function ProjectSettingsSdkEmbeddedWalletsFromJSON(json) { | |
| return ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json); | |
| } | |
| function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "automaticEmbeddedWalletCreation": !exists(json, "automaticEmbeddedWalletCreation") ? void 0 : json["automaticEmbeddedWalletCreation"], | |
| "automaticEmbeddedWalletCreationForExternal": !exists(json, "automaticEmbeddedWalletCreationForExternal") ? void 0 : json["automaticEmbeddedWalletCreationForExternal"], | |
| "showEmbeddedWalletActionsUI": !exists(json, "showEmbeddedWalletActionsUI") ? void 0 : json["showEmbeddedWalletActionsUI"], | |
| "emailRecoveryEnabled": !exists(json, "emailRecoveryEnabled") ? void 0 : json["emailRecoveryEnabled"], | |
| "forceAuthenticatorAtSignup": !exists(json, "forceAuthenticatorAtSignup") ? void 0 : json["forceAuthenticatorAtSignup"], | |
| "allowSkippingAuthenticatorAtSignup": !exists(json, "allowSkippingAuthenticatorAtSignup") ? void 0 : json["allowSkippingAuthenticatorAtSignup"], | |
| "sessionKeyDuration": !exists(json, "sessionKeyDuration") ? void 0 : DurationFromJSON(json["sessionKeyDuration"]), | |
| "supportedSecurityMethods": !exists(json, "supportedSecurityMethods") ? void 0 : SupportedSecurityMethodsFromJSON(json["supportedSecurityMethods"]), | |
| "chainConfigurations": !exists(json, "chainConfigurations") ? void 0 : json["chainConfigurations"].map(ChainConfigurationFromJSON), | |
| "domainEnabledByProvider": !exists(json, "domainEnabledByProvider") ? void 0 : json["domainEnabledByProvider"], | |
| "defaultWalletVersion": !exists(json, "defaultWalletVersion") ? void 0 : EmbeddedWalletVersionEnumFromJSON(json["defaultWalletVersion"]), | |
| "promptForKeyExport": !exists(json, "promptForKeyExport") ? void 0 : json["promptForKeyExport"], | |
| "transactionSimulation": !exists(json, "transactionSimulation") ? void 0 : json["transactionSimulation"] | |
| }; | |
| } | |
| var SocialSignInProviderEnum; | |
| (function(SocialSignInProviderEnum2) { | |
| SocialSignInProviderEnum2["Apple"] = "apple"; | |
| SocialSignInProviderEnum2["Bitbucket"] = "bitbucket"; | |
| SocialSignInProviderEnum2["Coinbasesocial"] = "coinbasesocial"; | |
| SocialSignInProviderEnum2["Discord"] = "discord"; | |
| SocialSignInProviderEnum2["Epicgames"] = "epicgames"; | |
| SocialSignInProviderEnum2["Facebook"] = "facebook"; | |
| SocialSignInProviderEnum2["Farcaster"] = "farcaster"; | |
| SocialSignInProviderEnum2["Github"] = "github"; | |
| SocialSignInProviderEnum2["Gitlab"] = "gitlab"; | |
| SocialSignInProviderEnum2["Google"] = "google"; | |
| SocialSignInProviderEnum2["Instagram"] = "instagram"; | |
| SocialSignInProviderEnum2["Linkedin"] = "linkedin"; | |
| SocialSignInProviderEnum2["Microsoft"] = "microsoft"; | |
| SocialSignInProviderEnum2["Twitch"] = "twitch"; | |
| SocialSignInProviderEnum2["Twitter"] = "twitter"; | |
| SocialSignInProviderEnum2["Telegram"] = "telegram"; | |
| SocialSignInProviderEnum2["Spotify"] = "spotify"; | |
| SocialSignInProviderEnum2["Tiktok"] = "tiktok"; | |
| SocialSignInProviderEnum2["Line"] = "line"; | |
| SocialSignInProviderEnum2["Steam"] = "steam"; | |
| SocialSignInProviderEnum2["Shopify"] = "shopify"; | |
| })(SocialSignInProviderEnum || (SocialSignInProviderEnum = {})); | |
| function SocialSignInProviderEnumFromJSON(json) { | |
| return SocialSignInProviderEnumFromJSONTyped(json); | |
| } | |
| function SocialSignInProviderEnumFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function SocialSignInProviderFromJSON(json) { | |
| return SocialSignInProviderFromJSONTyped(json); | |
| } | |
| function SocialSignInProviderFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "provider": SocialSignInProviderEnumFromJSON(json["provider"]), | |
| "enabled": !exists(json, "enabled") ? void 0 : json["enabled"] | |
| }; | |
| } | |
| function ProjectSettingsSdkSocialSignInFromJSON(json) { | |
| return ProjectSettingsSdkSocialSignInFromJSONTyped(json); | |
| } | |
| function ProjectSettingsSdkSocialSignInFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "signInProvider": !exists(json, "signInProvider") ? void 0 : SignInProviderEnumFromJSON(json["signInProvider"]), | |
| "providers": !exists(json, "providers") ? void 0 : json["providers"].map(SocialSignInProviderFromJSON) | |
| }; | |
| } | |
| function ProjectSettingsSdkWaasOnSignUpFromJSON(json) { | |
| return ProjectSettingsSdkWaasOnSignUpFromJSONTyped(json); | |
| } | |
| function ProjectSettingsSdkWaasOnSignUpFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "promptBackupOptions": json["promptBackupOptions"], | |
| "promptClientShareExport": json["promptClientShareExport"] | |
| }; | |
| } | |
| var WaasBackupOptionsEnum; | |
| (function(WaasBackupOptionsEnum2) { | |
| WaasBackupOptionsEnum2["GoogleDrive"] = "googleDrive"; | |
| WaasBackupOptionsEnum2["Icloud"] = "icloud"; | |
| })(WaasBackupOptionsEnum || (WaasBackupOptionsEnum = {})); | |
| function WaasBackupOptionsEnumFromJSON(json) { | |
| return WaasBackupOptionsEnumFromJSONTyped(json); | |
| } | |
| function WaasBackupOptionsEnumFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function ProjectSettingsSdkWaasFromJSON(json) { | |
| return ProjectSettingsSdkWaasFromJSONTyped(json); | |
| } | |
| function ProjectSettingsSdkWaasFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "passcodeRequired": json["passcodeRequired"], | |
| "onSignUp": ProjectSettingsSdkWaasOnSignUpFromJSON(json["onSignUp"]), | |
| "backupOptions": json["backupOptions"].map(WaasBackupOptionsEnumFromJSON), | |
| "relayUrl": json["relayUrl"] | |
| }; | |
| } | |
| function ProjectSettingsSdkWalletConnectFromJSON(json) { | |
| return ProjectSettingsSdkWalletConnectFromJSONTyped(json); | |
| } | |
| function ProjectSettingsSdkWalletConnectFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "projectId": !exists(json, "projectId") ? void 0 : json["projectId"], | |
| "v2Enabled": !exists(json, "v2Enabled") ? void 0 : json["v2Enabled"], | |
| "walletProjectId": !exists(json, "walletProjectId") ? void 0 : json["walletProjectId"] | |
| }; | |
| } | |
| var SdkViewSectionAlignment; | |
| (function(SdkViewSectionAlignment2) { | |
| SdkViewSectionAlignment2["Center"] = "center"; | |
| SdkViewSectionAlignment2["Left"] = "left"; | |
| SdkViewSectionAlignment2["Right"] = "right"; | |
| })(SdkViewSectionAlignment || (SdkViewSectionAlignment = {})); | |
| function SdkViewSectionAlignmentFromJSON(json) { | |
| return SdkViewSectionAlignmentFromJSONTyped(json); | |
| } | |
| function SdkViewSectionAlignmentFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| var SdkViewSectionType; | |
| (function(SdkViewSectionType2) { | |
| SdkViewSectionType2["Email"] = "email"; | |
| SdkViewSectionType2["EmailAndPhone"] = "emailAndPhone"; | |
| SdkViewSectionType2["Phone"] = "phone"; | |
| SdkViewSectionType2["Separator"] = "separator"; | |
| SdkViewSectionType2["Social"] = "social"; | |
| SdkViewSectionType2["Text"] = "text"; | |
| SdkViewSectionType2["Wallet"] = "wallet"; | |
| })(SdkViewSectionType || (SdkViewSectionType = {})); | |
| function SdkViewSectionTypeFromJSON(json) { | |
| return SdkViewSectionTypeFromJSONTyped(json); | |
| } | |
| function SdkViewSectionTypeFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function SdkViewSectionFromJSON(json) { | |
| return SdkViewSectionFromJSONTyped(json); | |
| } | |
| function SdkViewSectionFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "type": SdkViewSectionTypeFromJSON(json["type"]), | |
| "label": !exists(json, "label") ? void 0 : json["label"], | |
| "numOfItemsToDisplay": !exists(json, "numOfItemsToDisplay") ? void 0 : json["numOfItemsToDisplay"], | |
| "defaultItem": !exists(json, "defaultItem") ? void 0 : json["defaultItem"], | |
| "alignment": !exists(json, "alignment") ? void 0 : SdkViewSectionAlignmentFromJSON(json["alignment"]) | |
| }; | |
| } | |
| var SdkViewType; | |
| (function(SdkViewType2) { | |
| SdkViewType2["Login"] = "login"; | |
| })(SdkViewType || (SdkViewType = {})); | |
| function SdkViewTypeFromJSON(json) { | |
| return SdkViewTypeFromJSONTyped(json); | |
| } | |
| function SdkViewTypeFromJSONTyped(json, ignoreDiscriminator) { | |
| return json; | |
| } | |
| function SdkViewFromJSON(json) { | |
| return SdkViewFromJSONTyped(json); | |
| } | |
| function SdkViewFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "type": SdkViewTypeFromJSON(json["type"]), | |
| "sections": !exists(json, "sections") ? void 0 : json["sections"].map(SdkViewSectionFromJSON) | |
| }; | |
| } | |
| function ProjectSettingsSdkFromJSON(json) { | |
| return ProjectSettingsSdkFromJSONTyped(json); | |
| } | |
| function ProjectSettingsSdkFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "nameService": !exists(json, "nameService") ? void 0 : NameServiceSdkSettingsFromJSON(json["nameService"]), | |
| "featureFlags": !exists(json, "featureFlags") ? void 0 : FeatureFlagsFromJSON(json["featureFlags"]), | |
| "emailSignIn": !exists(json, "emailSignIn") ? void 0 : ProjectSettingsSdkEmailSignInFromJSON(json["emailSignIn"]), | |
| "socialSignIn": !exists(json, "socialSignIn") ? void 0 : ProjectSettingsSdkSocialSignInFromJSON(json["socialSignIn"]), | |
| "multiWallet": !exists(json, "multiWallet") ? void 0 : json["multiWallet"], | |
| "multiWalletUnlinkDisabled": !exists(json, "multiWalletUnlinkDisabled") ? void 0 : json["multiWalletUnlinkDisabled"], | |
| "mobile": !exists(json, "mobile") ? void 0 : MobileSettingsFromJSON(json["mobile"]), | |
| "confirmWalletTransfers": !exists(json, "confirmWalletTransfers") ? void 0 : json["confirmWalletTransfers"], | |
| "onrampFunding": !exists(json, "onrampFunding") ? void 0 : json["onrampFunding"], | |
| "passkeyEmbeddedWalletEnabled": !exists(json, "passkeyEmbeddedWalletEnabled") ? void 0 : json["passkeyEmbeddedWalletEnabled"], | |
| "automaticEmbeddedWalletCreation": !exists(json, "automaticEmbeddedWalletCreation") ? void 0 : json["automaticEmbeddedWalletCreation"], | |
| "passkeyEmbeddedWalletRecoveryEnabled": !exists(json, "passkeyEmbeddedWalletRecoveryEnabled") ? void 0 : json["passkeyEmbeddedWalletRecoveryEnabled"], | |
| "embeddedWalletSecurityMethods": !exists(json, "embeddedWalletSecurityMethods") ? void 0 : json["embeddedWalletSecurityMethods"].map(EmbeddedWalletSecurityMethodFromJSON), | |
| "embeddedWallets": !exists(json, "embeddedWallets") ? void 0 : ProjectSettingsSdkEmbeddedWalletsFromJSON(json["embeddedWallets"]), | |
| "waas": !exists(json, "waas") ? void 0 : ProjectSettingsSdkWaasFromJSON(json["waas"]), | |
| "walletConnect": !exists(json, "walletConnect") ? void 0 : ProjectSettingsSdkWalletConnectFromJSON(json["walletConnect"]), | |
| "confirmEmailProviderForVerify": !exists(json, "confirmEmailProviderForVerify") ? void 0 : json["confirmEmailProviderForVerify"], | |
| "displayDynamicMessaging": !exists(json, "displayDynamicMessaging") ? void 0 : json["displayDynamicMessaging"], | |
| "hideNetworkInDynamicWidget": !exists(json, "hideNetworkInDynamicWidget") ? void 0 : json["hideNetworkInDynamicWidget"], | |
| "preventOrphanedAccounts": !exists(json, "preventOrphanedAccounts") ? void 0 : json["preventOrphanedAccounts"], | |
| "views": !exists(json, "views") ? void 0 : json["views"].map(SdkViewFromJSON), | |
| "accountAbstraction": !exists(json, "accountAbstraction") ? void 0 : ProjectSettingsSdkAccountAbstractionFromJSON(json["accountAbstraction"]), | |
| "blockEmailSubaddresses": !exists(json, "blockEmailSubaddresses") ? void 0 : json["blockEmailSubaddresses"], | |
| "enableMultiAsset": !exists(json, "enableMultiAsset") ? void 0 : json["enableMultiAsset"], | |
| "showFiat": !exists(json, "showFiat") ? void 0 : json["showFiat"], | |
| "disabledWalletConnectors": !exists(json, "disabledWalletConnectors") ? void 0 : json["disabledWalletConnectors"], | |
| "funding": !exists(json, "funding") ? void 0 : FundingFromJSON(json["funding"]) | |
| }; | |
| } | |
| function AuthSettingsFromJSON(json) { | |
| return AuthSettingsFromJSONTyped(json); | |
| } | |
| function AuthSettingsFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "storage": json["storage"].map(AuthStorageEnumFromJSON) | |
| }; | |
| } | |
| function ExternalAuthFromJSON(json) { | |
| return ExternalAuthFromJSONTyped(json); | |
| } | |
| function ExternalAuthFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "enabled": !exists(json, "enabled") ? void 0 : json["enabled"], | |
| "iss": !exists(json, "iss") ? void 0 : json["iss"], | |
| "aud": !exists(json, "aud") ? void 0 : json["aud"], | |
| "jwksUrl": !exists(json, "jwksUrl") ? void 0 : json["jwksUrl"], | |
| "cookieName": !exists(json, "cookieName") ? void 0 : json["cookieName"] | |
| }; | |
| } | |
| function HCaptchaSettingsFromJSON(json) { | |
| return HCaptchaSettingsFromJSONTyped(json); | |
| } | |
| function HCaptchaSettingsFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "enabled": !exists(json, "enabled") ? void 0 : json["enabled"], | |
| "secretKey": !exists(json, "secretKey") ? void 0 : json["secretKey"], | |
| "siteKey": !exists(json, "siteKey") ? void 0 : json["siteKey"] | |
| }; | |
| } | |
| function MFASettingsFromJSON(json) { | |
| return MFASettingsFromJSONTyped(json); | |
| } | |
| function MFASettingsFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "enabled": !exists(json, "enabled") ? void 0 : json["enabled"], | |
| "required": !exists(json, "required") ? void 0 : json["required"], | |
| "availableMethods": !exists(json, "availableMethods") ? void 0 : json["availableMethods"].map(MFADeviceTypeFromJSON) | |
| }; | |
| } | |
| function ProjectSettingsSecurityFromJSON(json) { | |
| return ProjectSettingsSecurityFromJSONTyped(json); | |
| } | |
| function ProjectSettingsSecurityFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "jwtDuration": !exists(json, "jwtDuration") ? void 0 : DurationFromJSON(json["jwtDuration"]), | |
| "hCaptcha": !exists(json, "hCaptcha") ? void 0 : HCaptchaSettingsFromJSON(json["hCaptcha"]), | |
| "mfa": !exists(json, "mfa") ? void 0 : MFASettingsFromJSON(json["mfa"]), | |
| "auth": !exists(json, "auth") ? void 0 : AuthSettingsFromJSON(json["auth"]), | |
| "externalAuth": !exists(json, "externalAuth") ? void 0 : ExternalAuthFromJSON(json["externalAuth"]) | |
| }; | |
| } | |
| function ProviderAgreementFromJSON(json) { | |
| return ProviderAgreementFromJSONTyped(json); | |
| } | |
| function ProviderAgreementFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "termsUrl": json["termsUrl"], | |
| "email": json["email"], | |
| "userId": json["userId"], | |
| "createdAt": new Date(json["createdAt"]) | |
| }; | |
| } | |
| function ProviderMultichainAccountAbstractionProvidersFromJSON(json) { | |
| return ProviderMultichainAccountAbstractionProvidersFromJSONTyped(json); | |
| } | |
| function ProviderMultichainAccountAbstractionProvidersFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "clientId": json["clientId"], | |
| "chain": json["chain"], | |
| "_default": !exists(json, "default") ? void 0 : json["default"] | |
| }; | |
| } | |
| function SmsCountryCodeFromJSON(json) { | |
| return SmsCountryCodeFromJSONTyped(json); | |
| } | |
| function SmsCountryCodeFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "isoCountryCode": json["isoCountryCode"], | |
| "phoneCountryCode": json["phoneCountryCode"] | |
| }; | |
| } | |
| function ProviderFromJSON(json) { | |
| return ProviderFromJSONTyped(json); | |
| } | |
| function ProviderFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "id": !exists(json, "id") ? void 0 : json["id"], | |
| "provider": ProviderEnumFromJSON(json["provider"]), | |
| "enabledAt": !exists(json, "enabledAt") ? void 0 : json["enabledAt"] === null ? null : new Date(json["enabledAt"]), | |
| "clientId": !exists(json, "clientId") ? void 0 : json["clientId"], | |
| "clientSecret": !exists(json, "clientSecret") ? void 0 : json["clientSecret"], | |
| "providerProjectId": !exists(json, "providerProjectId") ? void 0 : json["providerProjectId"], | |
| "authorizationUrl": !exists(json, "authorizationUrl") ? void 0 : json["authorizationUrl"], | |
| "redirectUrl": !exists(json, "redirectUrl") ? void 0 : json["redirectUrl"], | |
| "defaultChainId": !exists(json, "defaultChainId") ? void 0 : json["defaultChainId"], | |
| "defaultChain": !exists(json, "defaultChain") ? void 0 : json["defaultChain"], | |
| "keyExportUrl": !exists(json, "keyExportUrl") ? void 0 : json["keyExportUrl"], | |
| "termsAcceptedByUser": !exists(json, "termsAcceptedByUser") ? void 0 : ProviderAgreementFromJSON(json["termsAcceptedByUser"]), | |
| "scopes": !exists(json, "scopes") ? void 0 : json["scopes"], | |
| "baseAuthUrl": !exists(json, "baseAuthUrl") ? void 0 : json["baseAuthUrl"], | |
| "appleKeyId": !exists(json, "appleKeyId") ? void 0 : json["appleKeyId"], | |
| "appleTeamId": !exists(json, "appleTeamId") ? void 0 : json["appleTeamId"], | |
| "shopifyStore": !exists(json, "shopifyStore") ? void 0 : json["shopifyStore"], | |
| "accountSid": !exists(json, "accountSid") ? void 0 : json["accountSid"], | |
| "twilioNumber": !exists(json, "twilioNumber") ? void 0 : json["twilioNumber"], | |
| "enabledCountries": !exists(json, "enabledCountries") ? void 0 : json["enabledCountries"].map(SmsCountryCodeFromJSON), | |
| "entryPointVersion": !exists(json, "entryPointVersion") ? void 0 : ProviderEntryPointVersionEnumFromJSON(json["entryPointVersion"]), | |
| "kernelVersion": !exists(json, "kernelVersion") ? void 0 : ProviderKernelVersionEnumFromJSON(json["kernelVersion"]), | |
| "multichainAccountAbstractionProviders": !exists(json, "multichainAccountAbstractionProviders") ? void 0 : json["multichainAccountAbstractionProviders"].map(ProviderMultichainAccountAbstractionProvidersFromJSON), | |
| "ecdsaProviderType": !exists(json, "ecdsaProviderType") ? void 0 : EcdsaValidatorOptionsFromJSON(json["ecdsaProviderType"]), | |
| "createNewAccounts": !exists(json, "createNewAccounts") ? void 0 : json["createNewAccounts"], | |
| "enableKernelV3Migration": !exists(json, "enableKernelV3Migration") ? void 0 : json["enableKernelV3Migration"], | |
| "enableEIP7702": !exists(json, "enableEIP7702") ? void 0 : json["enableEIP7702"] | |
| }; | |
| } | |
| function ProjectSettingsFromJSON(json) { | |
| return ProjectSettingsFromJSONTyped(json); | |
| } | |
| function ProjectSettingsFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "environmentName": !exists(json, "environmentName") ? void 0 : EnvironmentEnumFromJSON(json["environmentName"]), | |
| "chains": json["chains"].map(ProjectSettingsChainsFromJSON), | |
| "customFields": !exists(json, "customFields") ? void 0 : json["customFields"].map(ProjectSettingsKycFromJSON), | |
| "kyc": json["kyc"].map(ProjectSettingsKycFromJSON), | |
| "design": ProjectSettingsDesignFromJSON(json["design"]), | |
| "general": ProjectSettingsGeneralFromJSON(json["general"]), | |
| "privacy": ProjectSettingsPrivacyFromJSON(json["privacy"]), | |
| "providers": !exists(json, "providers") ? void 0 : json["providers"].map(ProviderFromJSON), | |
| "sdk": ProjectSettingsSdkFromJSON(json["sdk"]), | |
| "security": ProjectSettingsSecurityFromJSON(json["security"]), | |
| "networks": !exists(json, "networks") ? void 0 : json["networks"].map(NetworkConfigurationResponseFromJSON) | |
| }; | |
| } | |
| var PublishEventsEventsTypeEnum; | |
| (function(PublishEventsEventsTypeEnum2) { | |
| PublishEventsEventsTypeEnum2["Track"] = "track"; | |
| })(PublishEventsEventsTypeEnum || (PublishEventsEventsTypeEnum = {})); | |
| function PublishEventsEventsToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "anonymousId": value2.anonymousId, | |
| "event": value2.event, | |
| "properties": value2.properties, | |
| "type": value2.type | |
| }; | |
| } | |
| function PublishEventsToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "events": value2.events.map(PublishEventsEventsToJSON) | |
| }; | |
| } | |
| function RecoverMultipleClientKeySharesRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "keyShareIds": value2.keyShareIds | |
| }; | |
| } | |
| function WalletKeyShareInfoWithEncryptedAccountCredentialFromJSON(json) { | |
| return WalletKeyShareInfoWithEncryptedAccountCredentialFromJSONTyped(json); | |
| } | |
| function WalletKeyShareInfoWithEncryptedAccountCredentialFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "id": json["id"], | |
| "backupLocation": json["backupLocation"], | |
| "passwordEncrypted": json["passwordEncrypted"], | |
| "encryptedAccountCredential": !exists(json, "encryptedAccountCredential") ? void 0 : json["encryptedAccountCredential"] | |
| }; | |
| } | |
| function RecoverMultipleClientKeySharesResponseFromJSON(json) { | |
| return RecoverMultipleClientKeySharesResponseFromJSONTyped(json); | |
| } | |
| function RecoverMultipleClientKeySharesResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "keyShares": json["keyShares"].map(WalletKeyShareInfoWithEncryptedAccountCredentialFromJSON) | |
| }; | |
| } | |
| function RegisterEmbeddedWalletSessionKeyResponseFromJSON(json) { | |
| return RegisterEmbeddedWalletSessionKeyResponseFromJSONTyped(json); | |
| } | |
| function RegisterEmbeddedWalletSessionKeyResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "publicKey": json["publicKey"], | |
| "expiresAt": json["expiresAt"] | |
| }; | |
| } | |
| function RegisterSessionKeyRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "publicKey": value2.publicKey, | |
| "prevSessionKeySignature": value2.prevSessionKeySignature | |
| }; | |
| } | |
| function ReshareRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "clientKeygenIds": value2.clientKeygenIds, | |
| "oldThresholdSignatureScheme": ThresholdSignatureSchemeToJSON(value2.oldThresholdSignatureScheme), | |
| "newThresholdSignatureScheme": ThresholdSignatureSchemeToJSON(value2.newThresholdSignatureScheme) | |
| }; | |
| } | |
| function ScanWebsiteUrlRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "url": value2.url | |
| }; | |
| } | |
| function ScanWebsiteUrlResponseFromJSON(json) { | |
| return ScanWebsiteUrlResponseFromJSONTyped(json); | |
| } | |
| function ScanWebsiteUrlResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "isMalicious": json["isMalicious"] | |
| }; | |
| } | |
| function NextJsSettingsToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "version": value2.version | |
| }; | |
| } | |
| function ReactSettingsToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "version": value2.version | |
| }; | |
| } | |
| function FrameworkSettingsToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "react": ReactSettingsToJSON(value2.react), | |
| "nextjs": NextJsSettingsToJSON(value2.nextjs) | |
| }; | |
| } | |
| function SdkSettingsRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "dynamicContextProps": value2.dynamicContextProps, | |
| "dynamicWagmiSettings": value2.dynamicWagmiSettings, | |
| "frameworkSettings": FrameworkSettingsToJSON(value2.frameworkSettings) | |
| }; | |
| } | |
| function SignMessageWithWaasRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "message": value2.message | |
| }; | |
| } | |
| function SimulateEVMTransactionRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "chainId": value2.chainId, | |
| "data": value2.data, | |
| "from": value2.from, | |
| "to": value2.to, | |
| "value": value2.value, | |
| "domain": value2.domain | |
| }; | |
| } | |
| function SimulateSVMTransactionRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "chain": value2.chain, | |
| "transactions": value2.transactions, | |
| "accountAddress": value2.accountAddress, | |
| "domain": value2.domain, | |
| "method": value2.method | |
| }; | |
| } | |
| function AssetFromJSON(json) { | |
| return AssetFromJSONTyped(json); | |
| } | |
| function AssetFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "address": json["address"], | |
| "chainId": !exists(json, "chainId") ? void 0 : json["chainId"], | |
| "chainName": json["chainName"], | |
| "decimals": json["decimals"], | |
| "logoUrl": json["logoUrl"], | |
| "name": json["name"], | |
| "symbol": json["symbol"], | |
| "type": json["type"] | |
| }; | |
| } | |
| function AssetTransferFromJSON(json) { | |
| return AssetTransferFromJSONTyped(json); | |
| } | |
| function AssetTransferFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "rawValue": !exists(json, "rawValue") ? void 0 : json["rawValue"], | |
| "summary": !exists(json, "summary") ? void 0 : json["summary"], | |
| "usdPrice": !exists(json, "usdPrice") ? void 0 : json["usdPrice"], | |
| "value": !exists(json, "value") ? void 0 : json["value"] | |
| }; | |
| } | |
| function AssetDiffFromJSON(json) { | |
| return AssetDiffFromJSONTyped(json); | |
| } | |
| function AssetDiffFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "asset": AssetFromJSON(json["asset"]), | |
| "transferIn": json["transferIn"].map(AssetTransferFromJSON), | |
| "transferOut": json["transferOut"].map(AssetTransferFromJSON) | |
| }; | |
| } | |
| function AssetExposureSpenderToInfoFromJSON(json) { | |
| return AssetExposureSpenderToInfoFromJSONTyped(json); | |
| } | |
| function AssetExposureSpenderToInfoFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "amount": json["amount"], | |
| "spenderAlias": !exists(json, "spenderAlias") ? void 0 : json["spenderAlias"], | |
| "usdValue": !exists(json, "usdValue") ? void 0 : json["usdValue"] | |
| }; | |
| } | |
| function AssetExposureFromJSON(json) { | |
| return AssetExposureFromJSONTyped(json); | |
| } | |
| function AssetExposureFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "asset": AssetFromJSON(json["asset"]), | |
| "spenderToInfo": mapValues$1(json["spenderToInfo"], AssetExposureSpenderToInfoFromJSON) | |
| }; | |
| } | |
| function BlockaidValidationFromJSON(json) { | |
| return BlockaidValidationFromJSONTyped(json); | |
| } | |
| function BlockaidValidationFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "result": json["result"], | |
| "description": !exists(json, "description") ? void 0 : json["description"], | |
| "reason": json["reason"], | |
| "classification": !exists(json, "classification") ? void 0 : json["classification"] | |
| }; | |
| } | |
| function PriceDataFromJSON(json) { | |
| return PriceDataFromJSONTyped(json); | |
| } | |
| function PriceDataFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "nativeTokenUsdPrice": !exists(json, "nativeTokenUsdPrice") ? void 0 : json["nativeTokenUsdPrice"] | |
| }; | |
| } | |
| function SimulateTransactionResponseFromJSON(json) { | |
| return SimulateTransactionResponseFromJSONTyped(json); | |
| } | |
| function SimulateTransactionResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "inAssets": json["inAssets"].map(AssetDiffFromJSON), | |
| "outAssets": json["outAssets"].map(AssetDiffFromJSON), | |
| "counterparties": !exists(json, "counterparties") ? void 0 : json["counterparties"], | |
| "priceData": PriceDataFromJSON(json["priceData"]), | |
| "showTotalFiat": json["showTotalFiat"], | |
| "validation": !exists(json, "validation") ? void 0 : BlockaidValidationFromJSON(json["validation"]), | |
| "assetExposures": !exists(json, "assetExposures") ? void 0 : json["assetExposures"].map(AssetExposureFromJSON) | |
| }; | |
| } | |
| function SimulateUserOpRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "chainId": value2.chainId, | |
| "operation": value2.operation, | |
| "entryPoint": value2.entryPoint, | |
| "domain": value2.domain, | |
| "value": value2.value | |
| }; | |
| } | |
| function SmsVerificationCreateRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "phoneCountryCode": value2.phoneCountryCode, | |
| "phoneNumber": value2.phoneNumber, | |
| "isoCountryCode": value2.isoCountryCode, | |
| "captchaToken": value2.captchaToken | |
| }; | |
| } | |
| function SmsVerificationCreateResponseFromJSON(json) { | |
| return SmsVerificationCreateResponseFromJSONTyped(json); | |
| } | |
| function SmsVerificationCreateResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "verificationUUID": json["verificationUUID"], | |
| "phoneNumber": json["phoneNumber"], | |
| "phoneCountryCode": json["phoneCountryCode"], | |
| "isoCountryCode": json["isoCountryCode"] | |
| }; | |
| } | |
| function SmsVerificationRetryRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "verificationUUID": value2.verificationUUID, | |
| "phoneCountryCode": value2.phoneCountryCode, | |
| "phoneNumber": value2.phoneNumber, | |
| "isoCountryCode": value2.isoCountryCode, | |
| "captchaToken": value2.captchaToken | |
| }; | |
| } | |
| function SmsVerificationVerifyRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "verificationUUID": value2.verificationUUID, | |
| "verificationToken": value2.verificationToken, | |
| "captchaToken": value2.captchaToken, | |
| "sessionPublicKey": value2.sessionPublicKey | |
| }; | |
| } | |
| function SolanaTransactionOptimizationRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "transaction": value2.transaction, | |
| "address": value2.address | |
| }; | |
| } | |
| function SolanaTransactionOptimizationResponseFromJSON(json) { | |
| return SolanaTransactionOptimizationResponseFromJSONTyped(json); | |
| } | |
| function SolanaTransactionOptimizationResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "transaction": json["transaction"] | |
| }; | |
| } | |
| function OnrampConfigurationFromJSON(json) { | |
| return OnrampConfigurationFromJSONTyped(json); | |
| } | |
| function OnrampConfigurationFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "provider": !exists(json, "provider") ? void 0 : ProviderEnumFromJSON(json["provider"]), | |
| "name": !exists(json, "name") ? void 0 : json["name"], | |
| "iconUrl": !exists(json, "iconUrl") ? void 0 : json["iconUrl"], | |
| "url": !exists(json, "url") ? void 0 : json["url"] | |
| }; | |
| } | |
| function SupportedOnrampsResponseFromJSON(json) { | |
| return SupportedOnrampsResponseFromJSONTyped(json); | |
| } | |
| function SupportedOnrampsResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "onramps": !exists(json, "onramps") ? void 0 : json["onramps"].map(OnrampConfigurationFromJSON) | |
| }; | |
| } | |
| function TelegramUserToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "id": value2.id, | |
| "firstName": value2.firstName, | |
| "lastName": value2.lastName, | |
| "hash": value2.hash, | |
| "photoURL": value2.photoURL, | |
| "username": value2.username, | |
| "authDate": value2.authDate | |
| }; | |
| } | |
| function TelegramPostRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "state": value2.state, | |
| "telegramUser": TelegramUserToJSON(value2.telegramUser) | |
| }; | |
| } | |
| function TokenBalanceFromJSON(json) { | |
| return TokenBalanceFromJSONTyped(json); | |
| } | |
| function TokenBalanceFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "networkId": !exists(json, "networkId") ? void 0 : json["networkId"], | |
| "address": json["address"], | |
| "name": json["name"], | |
| "symbol": json["symbol"], | |
| "decimals": json["decimals"], | |
| "logoURI": json["logoURI"], | |
| "balance": json["balance"], | |
| "rawBalance": json["rawBalance"], | |
| "price": !exists(json, "price") ? void 0 : json["price"], | |
| "marketValue": !exists(json, "marketValue") ? void 0 : json["marketValue"] | |
| }; | |
| } | |
| function TurnkeyWalletAccountFromJSON(json) { | |
| return TurnkeyWalletAccountFromJSONTyped(json); | |
| } | |
| function TurnkeyWalletAccountFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "curve": json["curve"], | |
| "pathFormat": json["pathFormat"], | |
| "path": json["path"], | |
| "addressFormat": json["addressFormat"] | |
| }; | |
| } | |
| function TurnkeyCreateWalletAccountsRequestBodyParametersFromJSON(json) { | |
| return TurnkeyCreateWalletAccountsRequestBodyParametersFromJSONTyped(json); | |
| } | |
| function TurnkeyCreateWalletAccountsRequestBodyParametersFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "walletId": json["walletId"], | |
| "accounts": json["accounts"].map(TurnkeyWalletAccountFromJSON) | |
| }; | |
| } | |
| function TurnkeyCreateWalletAccountsRequestBodyFromJSON(json) { | |
| return TurnkeyCreateWalletAccountsRequestBodyFromJSONTyped(json); | |
| } | |
| function TurnkeyCreateWalletAccountsRequestBodyFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "organizationId": json["organizationId"], | |
| "parameters": TurnkeyCreateWalletAccountsRequestBodyParametersFromJSON(json["parameters"]), | |
| "timestampMs": json["timestampMs"], | |
| "type": json["type"] | |
| }; | |
| } | |
| function TurnkeyDeleteEmbeddedWalletsRequestBodyParametersFromJSON(json) { | |
| return TurnkeyDeleteEmbeddedWalletsRequestBodyParametersFromJSONTyped(json); | |
| } | |
| function TurnkeyDeleteEmbeddedWalletsRequestBodyParametersFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "walletIds": json["walletIds"], | |
| "deleteWithoutExport": !exists(json, "deleteWithoutExport") ? void 0 : json["deleteWithoutExport"] | |
| }; | |
| } | |
| function TurnkeyDeleteEmbeddedWalletsRequestBodyFromJSON(json) { | |
| return TurnkeyDeleteEmbeddedWalletsRequestBodyFromJSONTyped(json); | |
| } | |
| function TurnkeyDeleteEmbeddedWalletsRequestBodyFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "organizationId": json["organizationId"], | |
| "parameters": TurnkeyDeleteEmbeddedWalletsRequestBodyParametersFromJSON(json["parameters"]), | |
| "timestampMs": json["timestampMs"], | |
| "type": json["type"] | |
| }; | |
| } | |
| var UnprocessableEntityErrorCode; | |
| (function(UnprocessableEntityErrorCode2) { | |
| UnprocessableEntityErrorCode2["EmailAlreadyExists"] = "email_already_exists"; | |
| UnprocessableEntityErrorCode2["AllowlistAlreadyExists"] = "allowlist_already_exists"; | |
| UnprocessableEntityErrorCode2["AllowlistEntryAlreadyExists"] = "allowlist_entry_already_exists"; | |
| UnprocessableEntityErrorCode2["ReassignWalletError"] = "reassign_wallet_error"; | |
| UnprocessableEntityErrorCode2["ReassignWalletConfirm"] = "reassign_wallet_confirm"; | |
| UnprocessableEntityErrorCode2["MembersCannotDeleteThemself"] = "members_cannot_delete_themself"; | |
| UnprocessableEntityErrorCode2["UsernameAlreadyExists"] = "username_already_exists"; | |
| UnprocessableEntityErrorCode2["WrongEmailVerificationToken"] = "wrong_email_verification_token"; | |
| UnprocessableEntityErrorCode2["WrongSmsVerificationToken"] = "wrong_sms_verification_token"; | |
| UnprocessableEntityErrorCode2["InvalidEmailVerification"] = "invalid_email_verification"; | |
| UnprocessableEntityErrorCode2["InvalidSmsVerification"] = "invalid_sms_verification"; | |
| UnprocessableEntityErrorCode2["InvalidVerification"] = "invalid_verification"; | |
| UnprocessableEntityErrorCode2["InvalidPosition"] = "invalid_position"; | |
| UnprocessableEntityErrorCode2["TooManySmsVerificationAttempts"] = "too_many_sms_verification_attempts"; | |
| UnprocessableEntityErrorCode2["TooManyEmailVerificationAttempts"] = "too_many_email_verification_attempts"; | |
| UnprocessableEntityErrorCode2["TooManyVerificationAttempts"] = "too_many_verification_attempts"; | |
| UnprocessableEntityErrorCode2["OrganizationNameAlreadyExists"] = "organization_name_already_exists"; | |
| UnprocessableEntityErrorCode2["ProjectNameAlreadyExists"] = "project_name_already_exists"; | |
| UnprocessableEntityErrorCode2["WalletNotDeployed"] = "wallet_not_deployed"; | |
| UnprocessableEntityErrorCode2["EmailVerificationRequired"] = "email_verification_required"; | |
| UnprocessableEntityErrorCode2["PhoneVerificationRequired"] = "phone_verification_required"; | |
| UnprocessableEntityErrorCode2["InviteAddressRequired"] = "invite_address_required"; | |
| UnprocessableEntityErrorCode2["ProviderNotAvailable"] = "provider_not_available"; | |
| UnprocessableEntityErrorCode2["ForbiddenUnlinkRequest"] = "forbidden_unlink_request"; | |
| UnprocessableEntityErrorCode2["InvalidUnlinkRequest"] = "invalid_unlink_request"; | |
| UnprocessableEntityErrorCode2["TooManyApiTokens"] = "too_many_api_tokens"; | |
| UnprocessableEntityErrorCode2["LockTimeout"] = "lock_timeout"; | |
| UnprocessableEntityErrorCode2["LockTooManyAttempts"] = "lock_too_many_attempts"; | |
| UnprocessableEntityErrorCode2["NftTokenGatingNotSupportedForChain"] = "nft_token_gating_not_supported_for_chain"; | |
| UnprocessableEntityErrorCode2["EmptyChainName"] = "empty_chain_name"; | |
| UnprocessableEntityErrorCode2["NoEnabledEmailProvider"] = "no_enabled_email_provider"; | |
| UnprocessableEntityErrorCode2["NoEnabledSmsProvider"] = "no_enabled_sms_provider"; | |
| UnprocessableEntityErrorCode2["InvalidKeyExportUrl"] = "invalid_key_export_url"; | |
| UnprocessableEntityErrorCode2["InvalidDynamicProps"] = "invalid_dynamic_props"; | |
| UnprocessableEntityErrorCode2["TooManyRequests"] = "too_many_requests"; | |
| UnprocessableEntityErrorCode2["TooManyOrganizationsForUser"] = "too_many_organizations_for_user"; | |
| UnprocessableEntityErrorCode2["TooManyProjectsForOrganization"] = "too_many_projects_for_organization"; | |
| UnprocessableEntityErrorCode2["EmailAssociatedWithDifferentProvider"] = "email_associated_with_different_provider"; | |
| UnprocessableEntityErrorCode2["UserHasAlreadyAccountWithEmail"] = "user_has_already_account_with_email"; | |
| UnprocessableEntityErrorCode2["UserHasAlreadyAccountWithPhoneNumber"] = "user_has_already_account_with_phone_number"; | |
| UnprocessableEntityErrorCode2["OtherVerifyFailure"] = "other_verify_failure"; | |
| UnprocessableEntityErrorCode2["EmailTiedToEmbeddedWallet"] = "email_tied_to_embedded_wallet"; | |
| UnprocessableEntityErrorCode2["InvalidInvite"] = "invalid_invite"; | |
| UnprocessableEntityErrorCode2["SocialAccountAlreadyExists"] = "social_account_already_exists"; | |
| UnprocessableEntityErrorCode2["InvalidEmailAddress"] = "invalid_email_address"; | |
| UnprocessableEntityErrorCode2["InvalidGate"] = "invalid_gate"; | |
| UnprocessableEntityErrorCode2["ConflictingEmbeddedWalletProviders"] = "conflicting_embedded_wallet_providers"; | |
| UnprocessableEntityErrorCode2["InvalidUser"] = "invalid_user"; | |
| UnprocessableEntityErrorCode2["InvalidCorsOrigins"] = "invalid_cors_origins"; | |
| UnprocessableEntityErrorCode2["InvalidMobileDeeplinkUrls"] = "invalid_mobile_deeplink_urls"; | |
| UnprocessableEntityErrorCode2["UnauthorizedMobileDeeplinkUrl"] = "unauthorized_mobile_deeplink_url"; | |
| UnprocessableEntityErrorCode2["InvalidPrivateKeyFormat"] = "invalid_private_key_format"; | |
| UnprocessableEntityErrorCode2["InvalidEmbeddedWalletSettings"] = "invalid_embedded_wallet_settings"; | |
| UnprocessableEntityErrorCode2["WalletNotSupportPasskey"] = "wallet_not_support_passkey"; | |
| UnprocessableEntityErrorCode2["RecoveryEmailUnavailableOrInvalid"] = "recovery_email_unavailable_or_invalid"; | |
| UnprocessableEntityErrorCode2["ConnectError"] = "connect_error"; | |
| UnprocessableEntityErrorCode2["InvalidWalletName"] = "invalid_wallet_name"; | |
| UnprocessableEntityErrorCode2["InvalidWalletAddress"] = "invalid_wallet_address"; | |
| UnprocessableEntityErrorCode2["EmailRecoveryDisabled"] = "email_recovery_disabled"; | |
| UnprocessableEntityErrorCode2["NoCompatibleWalletServiceEnabled"] = "no_compatible_wallet_service_enabled"; | |
| UnprocessableEntityErrorCode2["MissingAaProjectId"] = "missing_aa_project_id"; | |
| UnprocessableEntityErrorCode2["LinkedEmbeddedWallet"] = "linked_embedded_wallet"; | |
| UnprocessableEntityErrorCode2["InvalidMpcEnvironment"] = "invalid_mpc_environment"; | |
| UnprocessableEntityErrorCode2["InvalidRegex"] = "invalid_regex"; | |
| UnprocessableEntityErrorCode2["RepeatedOptions"] = "repeated_options"; | |
| UnprocessableEntityErrorCode2["MissingPhoneNumberOrEmail"] = "missing_phone_number_or_email"; | |
| UnprocessableEntityErrorCode2["DuplicateExists"] = "duplicate_exists"; | |
| UnprocessableEntityErrorCode2["MfaDeviceNotFound"] = "mfa_device_not_found"; | |
| UnprocessableEntityErrorCode2["MfaInvalidCode"] = "mfa_invalid_code"; | |
| UnprocessableEntityErrorCode2["MfaInvalidRequest"] = "mfa_invalid_request"; | |
| UnprocessableEntityErrorCode2["InvalidPhone"] = "invalid_phone"; | |
| UnprocessableEntityErrorCode2["GateExists"] = "gate_exists"; | |
| UnprocessableEntityErrorCode2["InvalidEmbeddedWalletChainsConfiguration"] = "invalid_embedded_wallet_chains_configuration"; | |
| UnprocessableEntityErrorCode2["MergeAccountsConfirmation"] = "merge_accounts_confirmation"; | |
| UnprocessableEntityErrorCode2["MergeAccountsInvalid"] = "merge_accounts_invalid"; | |
| UnprocessableEntityErrorCode2["InvalidWalletId"] = "invalid_wallet_id"; | |
| UnprocessableEntityErrorCode2["UnableToFetchBalances"] = "unable_to_fetch_balances"; | |
| UnprocessableEntityErrorCode2["CannotSwitchToUnique"] = "cannot_switch_to_unique"; | |
| UnprocessableEntityErrorCode2["CustomFieldDataNotUnique"] = "custom_field_data_not_unique"; | |
| UnprocessableEntityErrorCode2["MetadataSizeExceeded"] = "metadata_size_exceeded"; | |
| UnprocessableEntityErrorCode2["InvalidCustomHostname"] = "invalid_custom_hostname"; | |
| UnprocessableEntityErrorCode2["BlockedUserCannotTransferWallet"] = "blocked_user_cannot_transfer_wallet"; | |
| UnprocessableEntityErrorCode2["FeatureNotEnabledInSuborg"] = "feature_not_enabled_in_suborg"; | |
| UnprocessableEntityErrorCode2["InvalidUsername"] = "invalid_username"; | |
| UnprocessableEntityErrorCode2["InvalidExternalAuth"] = "invalid_external_auth"; | |
| UnprocessableEntityErrorCode2["InvalidChainAddressMatch"] = "invalid_chain_address_match"; | |
| UnprocessableEntityErrorCode2["InvalidUpdate"] = "invalid_update"; | |
| UnprocessableEntityErrorCode2["CannotDeleteLastProject"] = "cannot_delete_last_project"; | |
| UnprocessableEntityErrorCode2["NoHdWalletFound"] = "no_hd_wallet_found"; | |
| UnprocessableEntityErrorCode2["WalletAccountExistsForChain"] = "wallet_account_exists_for_chain"; | |
| UnprocessableEntityErrorCode2["TooManyEmbeddedWalletsForUser"] = "too_many_embedded_wallets_for_user"; | |
| UnprocessableEntityErrorCode2["TooManyEmbeddedWalletsPerChainForUser"] = "too_many_embedded_wallets_per_chain_for_user"; | |
| UnprocessableEntityErrorCode2["InvalidSessionPublicKey"] = "invalid_session_public_key"; | |
| UnprocessableEntityErrorCode2["CustomFieldNotUnique"] = "custom_field_not_unique"; | |
| UnprocessableEntityErrorCode2["InvalidAaProjectConfiguration"] = "invalid_aa_project_configuration"; | |
| UnprocessableEntityErrorCode2["NoV1EmbeddedWalletFound"] = "no_v1_embedded_wallet_found"; | |
| UnprocessableEntityErrorCode2["EmbeddedWalletAddressAlreadyLinked"] = "embedded_wallet_address_already_linked"; | |
| UnprocessableEntityErrorCode2["KeyShareAlreadyBackedUp"] = "key_share_already_backed_up"; | |
| UnprocessableEntityErrorCode2["InvalidKeySharesLength"] = "invalid_key_shares_length"; | |
| })(UnprocessableEntityErrorCode || (UnprocessableEntityErrorCode = {})); | |
| function UpdateRecoveryEmailRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "turnkeySignedRequest": TurnkeySignedRequestToJSON(value2.turnkeySignedRequest) | |
| }; | |
| } | |
| function UpdateSelfResponseFromJSON(json) { | |
| return UpdateSelfResponseFromJSONTyped(json); | |
| } | |
| function UpdateSelfResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "mfaToken": !exists(json, "mfaToken") ? void 0 : json["mfaToken"], | |
| "jwt": !exists(json, "jwt") ? void 0 : json["jwt"], | |
| "user": SdkUserFromJSON(json["user"]), | |
| "minifiedJwt": !exists(json, "minifiedJwt") ? void 0 : json["minifiedJwt"], | |
| "expiresAt": json["expiresAt"], | |
| "nextView": NextViewEnumFromJSON(json["nextView"]), | |
| "emailVerification": !exists(json, "emailVerification") ? void 0 : EmailVerificationCreateResponseFromJSON(json["emailVerification"]), | |
| "smsVerification": !exists(json, "smsVerification") ? void 0 : SmsVerificationCreateResponseFromJSON(json["smsVerification"]) | |
| }; | |
| } | |
| function UpdateUserPasskeyRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "id": value2.id, | |
| "alias": value2.alias | |
| }; | |
| } | |
| function UpgradeEmbeddedWalletToV2RequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "sessionPublicKey": value2.sessionPublicKey | |
| }; | |
| } | |
| function UserFieldsToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "email": value2.email, | |
| "alias": value2.alias, | |
| "firstName": value2.firstName, | |
| "lastName": value2.lastName, | |
| "jobTitle": value2.jobTitle, | |
| "phoneNumber": value2.phoneNumber, | |
| "tShirtSize": value2.tShirtSize, | |
| "team": value2.team, | |
| "policiesConsent": value2.policiesConsent, | |
| "country": value2.country, | |
| "username": value2.username, | |
| "captchaToken": value2.captchaToken, | |
| "metadata": value2.metadata, | |
| "mfaBackupCodeAcknowledgement": MfaBackupCodeAcknowledgementToJSON(value2.mfaBackupCodeAcknowledgement), | |
| "btcWallet": value2.btcWallet, | |
| "kdaWallet": value2.kdaWallet, | |
| "ltcWallet": value2.ltcWallet, | |
| "ckbWallet": value2.ckbWallet, | |
| "kasWallet": value2.kasWallet, | |
| "dogeWallet": value2.dogeWallet, | |
| "emailNotification": value2.emailNotification, | |
| "discordNotification": value2.discordNotification, | |
| "newsletterNotification": value2.newsletterNotification | |
| }; | |
| } | |
| var UserFieldsCheckEnum; | |
| (function(UserFieldsCheckEnum2) { | |
| UserFieldsCheckEnum2["Email"] = "email"; | |
| UserFieldsCheckEnum2["Username"] = "username"; | |
| UserFieldsCheckEnum2["NameServiceSubdomainHandle"] = "name-service-subdomain-handle"; | |
| })(UserFieldsCheckEnum || (UserFieldsCheckEnum = {})); | |
| function UserFieldsCheckResponseFromJSON(json) { | |
| return UserFieldsCheckResponseFromJSONTyped(json); | |
| } | |
| function UserFieldsCheckResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "field": json["field"], | |
| "value": json["value"], | |
| "available": json["available"] | |
| }; | |
| } | |
| function UserWalletSelectionRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "walletId": value2.walletId | |
| }; | |
| } | |
| function OauthProviderRequestFromJSON(json) { | |
| return OauthProviderRequestFromJSONTyped(json); | |
| } | |
| function OauthProviderRequestFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "provider": !exists(json, "provider") ? void 0 : ProviderEnumFromJSON(json["provider"]), | |
| "accessToken": !exists(json, "accessToken") ? void 0 : json["accessToken"], | |
| "didToken": !exists(json, "didToken") ? void 0 : json["didToken"] | |
| }; | |
| } | |
| function OauthProviderRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "provider": ProviderEnumToJSON(value2.provider), | |
| "accessToken": value2.accessToken, | |
| "didToken": value2.didToken | |
| }; | |
| } | |
| function VerifyRequestFromJSON(json) { | |
| return VerifyRequestFromJSONTyped(json); | |
| } | |
| function VerifyRequestFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "oauth": !exists(json, "oauth") ? void 0 : OauthProviderRequestFromJSON(json["oauth"]), | |
| "signedMessage": json["signedMessage"], | |
| "messageToSign": json["messageToSign"], | |
| "publicWalletAddress": json["publicWalletAddress"], | |
| "chain": ChainEnumFromJSON(json["chain"]), | |
| "walletName": json["walletName"], | |
| "walletProvider": WalletProviderEnumFromJSON(json["walletProvider"]), | |
| "skipEmptyAccountCheck": !exists(json, "skipEmptyAccountCheck") ? void 0 : json["skipEmptyAccountCheck"], | |
| "captchaToken": !exists(json, "captchaToken") ? void 0 : json["captchaToken"], | |
| "network": !exists(json, "network") ? void 0 : json["network"], | |
| "additionalWalletAddresses": !exists(json, "additionalWalletAddresses") ? void 0 : json["additionalWalletAddresses"].map(WalletAdditionalAddressFromJSON), | |
| "backup": !exists(json, "backup") ? void 0 : json["backup"], | |
| "password": !exists(json, "password") ? void 0 : json["password"], | |
| "passwordSource": !exists(json, "passwordSource") ? void 0 : PasswordSourceTypeEnumFromJSON(json["passwordSource"]), | |
| "sessionPublicKey": !exists(json, "sessionPublicKey") ? void 0 : json["sessionPublicKey"] | |
| }; | |
| } | |
| function VerifyRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "oauth": OauthProviderRequestToJSON(value2.oauth), | |
| "signedMessage": value2.signedMessage, | |
| "messageToSign": value2.messageToSign, | |
| "publicWalletAddress": value2.publicWalletAddress, | |
| "chain": ChainEnumToJSON(value2.chain), | |
| "walletName": value2.walletName, | |
| "walletProvider": WalletProviderEnumToJSON(value2.walletProvider), | |
| "skipEmptyAccountCheck": value2.skipEmptyAccountCheck, | |
| "captchaToken": value2.captchaToken, | |
| "network": value2.network, | |
| "additionalWalletAddresses": value2.additionalWalletAddresses === void 0 ? void 0 : value2.additionalWalletAddresses.map(WalletAdditionalAddressToJSON), | |
| "backup": value2.backup, | |
| "password": value2.password, | |
| "passwordSource": PasswordSourceTypeEnumToJSON(value2.passwordSource), | |
| "sessionPublicKey": value2.sessionPublicKey | |
| }; | |
| } | |
| function VerifyResponseFromJSON(json) { | |
| return VerifyResponseFromJSONTyped(json); | |
| } | |
| function VerifyResponseFromJSONTyped(json, ignoreDiscriminator) { | |
| if (json === void 0 || json === null) { | |
| return json; | |
| } | |
| return { | |
| "mfaToken": !exists(json, "mfaToken") ? void 0 : json["mfaToken"], | |
| "jwt": !exists(json, "jwt") ? void 0 : json["jwt"], | |
| "user": SdkUserFromJSON(json["user"]), | |
| "minifiedJwt": !exists(json, "minifiedJwt") ? void 0 : json["minifiedJwt"], | |
| "expiresAt": json["expiresAt"] | |
| }; | |
| } | |
| function VerifyUnlinkRequestToJSON(value2) { | |
| if (value2 === void 0) { | |
| return void 0; | |
| } | |
| if (value2 === null) { | |
| return null; | |
| } | |
| return { | |
| "walletId": value2.walletId, | |
| "verifiedCrentialId": value2.verifiedCrentialId, | |
| "primaryWalletId": value2.primaryWalletId | |
| }; | |
| } | |
| class SDKApi extends BaseAPI { | |
| /** | |
| * Upgrade JWT scope with valid MFA session | |
| */ | |
| authMfaPasskeyDeviceRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling authMfaPasskeyDevice."); | |
| } | |
| if (requestParameters.mFAAuthPasskeyDevicePostRequest === null || requestParameters.mFAAuthPasskeyDevicePostRequest === void 0) { | |
| throw new RequiredError("mFAAuthPasskeyDevicePostRequest", "Required parameter requestParameters.mFAAuthPasskeyDevicePostRequest was null or undefined when calling authMfaPasskeyDevice."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/mfa/auth/passkey`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: MFAAuthPasskeyDevicePostRequestToJSON(requestParameters.mFAAuthPasskeyDevicePostRequest) | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => VerifyResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Upgrade JWT scope with valid MFA session | |
| */ | |
| authMfaPasskeyDevice(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.authMfaPasskeyDeviceRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Auth Passkey MFA device | |
| */ | |
| authMfaPasskeyDeviceChallengeRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling authMfaPasskeyDeviceChallenge."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/mfa/auth/passkey`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => MFAAuthPasskeyDeviceGetResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Auth Passkey MFA device | |
| */ | |
| authMfaPasskeyDeviceChallenge(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.authMfaPasskeyDeviceChallengeRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| authMfaPasskeyDeviceOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling authMfaPasskeyDeviceOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/mfa/auth/passkey`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| authMfaPasskeyDeviceOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.authMfaPasskeyDeviceOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Upgrade JWT scope with valid MFA session | |
| */ | |
| authMfaRecoveryRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling authMfaRecovery."); | |
| } | |
| if (requestParameters.mFAAuthRecoveryDevicePostRequest === null || requestParameters.mFAAuthRecoveryDevicePostRequest === void 0) { | |
| throw new RequiredError("mFAAuthRecoveryDevicePostRequest", "Required parameter requestParameters.mFAAuthRecoveryDevicePostRequest was null or undefined when calling authMfaRecovery."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/mfa/auth/recovery`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: MFAAuthRecoveryDevicePostRequestToJSON(requestParameters.mFAAuthRecoveryDevicePostRequest) | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => VerifyResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Upgrade JWT scope with valid MFA session | |
| */ | |
| authMfaRecovery(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.authMfaRecoveryRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| authMfaRecoveryOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling authMfaRecoveryOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/mfa/auth/recovery`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| authMfaRecoveryOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.authMfaRecoveryOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Upgrade JWT scope with valid MFA session | |
| */ | |
| authMfaTotpDeviceRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling authMfaTotpDevice."); | |
| } | |
| if (requestParameters.mFAAuthTotpDevicePostRequest === null || requestParameters.mFAAuthTotpDevicePostRequest === void 0) { | |
| throw new RequiredError("mFAAuthTotpDevicePostRequest", "Required parameter requestParameters.mFAAuthTotpDevicePostRequest was null or undefined when calling authMfaTotpDevice."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/mfa/auth/totp`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: MFAAuthTotpDevicePostRequestToJSON(requestParameters.mFAAuthTotpDevicePostRequest) | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => VerifyResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Upgrade JWT scope with valid MFA session | |
| */ | |
| authMfaTotpDevice(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.authMfaTotpDeviceRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| authMfaTotpDeviceOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling authMfaTotpDeviceOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/mfa/auth/totp`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| authMfaTotpDeviceOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.authMfaTotpDeviceOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Backup multiple keyShares for a waaS wallet | |
| */ | |
| backupKeySharesRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling backupKeyShares."); | |
| } | |
| if (requestParameters.walletId === null || requestParameters.walletId === void 0) { | |
| throw new RequiredError("walletId", "Required parameter requestParameters.walletId was null or undefined when calling backupKeyShares."); | |
| } | |
| if (requestParameters.backupMultipleClientKeySharesRequest === null || requestParameters.backupMultipleClientKeySharesRequest === void 0) { | |
| throw new RequiredError("backupMultipleClientKeySharesRequest", "Required parameter requestParameters.backupMultipleClientKeySharesRequest was null or undefined when calling backupKeyShares."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/waas/{walletId}/keyShares/backup`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: BackupMultipleClientKeySharesRequestToJSON(requestParameters.backupMultipleClientKeySharesRequest) | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => BackupMultipleClientKeySharesResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Backup multiple keyShares for a waaS wallet | |
| */ | |
| backupKeyShares(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.backupKeySharesRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| backupKeySharesOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling backupKeySharesOptions."); | |
| } | |
| if (requestParameters.walletId === null || requestParameters.walletId === void 0) { | |
| throw new RequiredError("walletId", "Required parameter requestParameters.walletId was null or undefined when calling backupKeySharesOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/waas/{walletId}/keyShares/backup`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| backupKeySharesOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.backupKeySharesOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Backup multiple keyShares for a waaS wallet to Google Drive | |
| */ | |
| backupKeySharesToGoogleDriveRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling backupKeySharesToGoogleDrive."); | |
| } | |
| if (requestParameters.walletId === null || requestParameters.walletId === void 0) { | |
| throw new RequiredError("walletId", "Required parameter requestParameters.walletId was null or undefined when calling backupKeySharesToGoogleDrive."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/waas/{walletId}/keyShares/backup/googleDrive`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => BackupMultipleClientKeySharesResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Backup multiple keyShares for a waaS wallet to Google Drive | |
| */ | |
| backupKeySharesToGoogleDrive(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.backupKeySharesToGoogleDriveRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| backupKeySharesToGoogleDriveOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling backupKeySharesToGoogleDriveOptions."); | |
| } | |
| if (requestParameters.walletId === null || requestParameters.walletId === void 0) { | |
| throw new RequiredError("walletId", "Required parameter requestParameters.walletId was null or undefined when calling backupKeySharesToGoogleDriveOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/waas/{walletId}/keyShares/backup/googleDrive`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| backupKeySharesToGoogleDriveOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.backupKeySharesToGoogleDriveOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * This endpoint proxies requests to `/sdk/{environmentId}/providers/coinbasesocial/redirect` because Coinbase does not allow the string `coinbase` on the redirect URL path | |
| * Redirect URL for sign-in with coinbase | |
| */ | |
| cbOauthRedirectRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling cbOauthRedirect."); | |
| } | |
| const queryParameters = {}; | |
| if (requestParameters.code !== void 0) { | |
| queryParameters["code"] = requestParameters.code; | |
| } | |
| if (requestParameters.scope !== void 0) { | |
| queryParameters["scope"] = requestParameters.scope; | |
| } | |
| if (requestParameters.state !== void 0) { | |
| queryParameters["state"] = requestParameters.state; | |
| } | |
| if (requestParameters.authuser !== void 0) { | |
| queryParameters["authuser"] = requestParameters.authuser; | |
| } | |
| if (requestParameters.prompt !== void 0) { | |
| queryParameters["prompt"] = requestParameters.prompt; | |
| } | |
| if (requestParameters.error !== void 0) { | |
| queryParameters["error"] = requestParameters.error; | |
| } | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/providers/cbOauthRedirectUrl`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new TextApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * This endpoint proxies requests to `/sdk/{environmentId}/providers/coinbasesocial/redirect` because Coinbase does not allow the string `coinbase` on the redirect URL path | |
| * Redirect URL for sign-in with coinbase | |
| */ | |
| cbOauthRedirect(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.cbOauthRedirectRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| cbOauthRedirectOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling cbOauthRedirectOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/providers/cbOauthRedirectUrl`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| cbOauthRedirectOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.cbOauthRedirectOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Claim a pregenerated embedded wallet | |
| */ | |
| claimEmbeddedWalletRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling claimEmbeddedWallet."); | |
| } | |
| if (requestParameters.embeddedWalletPasscodeClaimRequest === null || requestParameters.embeddedWalletPasscodeClaimRequest === void 0) { | |
| throw new RequiredError("embeddedWalletPasscodeClaimRequest", "Required parameter requestParameters.embeddedWalletPasscodeClaimRequest was null or undefined when calling claimEmbeddedWallet."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/embeddedWallets/passcode/claim`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "PUT", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: EmbeddedWalletPasscodeClaimRequestToJSON(requestParameters.embeddedWalletPasscodeClaimRequest) | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => VerifyResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Claim a pregenerated embedded wallet | |
| */ | |
| claimEmbeddedWallet(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.claimEmbeddedWalletRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| claimEmbeddedWalletOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling claimEmbeddedWalletOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/embeddedWallets/passcode/claim`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| claimEmbeddedWalletOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.claimEmbeddedWalletOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| coinbaseNetworksOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling coinbaseNetworksOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/onramps/coinbase/networks`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| coinbaseNetworksOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.coinbaseNetworksOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Completes the passkey recovery process for a user\'s passkey embedded wallet | |
| * Completes the passkey recovery process for a user\'s passkey embedded wallet | |
| */ | |
| completePasskeyRecoveryRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling completePasskeyRecovery."); | |
| } | |
| if (requestParameters.completePasskeyRecoveryRequest === null || requestParameters.completePasskeyRecoveryRequest === void 0) { | |
| throw new RequiredError("completePasskeyRecoveryRequest", "Required parameter requestParameters.completePasskeyRecoveryRequest was null or undefined when calling completePasskeyRecovery."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/embeddedWallets/passkeyRecovery`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "PUT", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: CompletePasskeyRecoveryRequestToJSON(requestParameters.completePasskeyRecoveryRequest) | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => VerifyResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Completes the passkey recovery process for a user\'s passkey embedded wallet | |
| * Completes the passkey recovery process for a user\'s passkey embedded wallet | |
| */ | |
| completePasskeyRecovery(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.completePasskeyRecoveryRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Initialize email verification process | |
| */ | |
| createEmailVerificationRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling createEmailVerification."); | |
| } | |
| if (requestParameters.emailVerificationCreateRequest === null || requestParameters.emailVerificationCreateRequest === void 0) { | |
| throw new RequiredError("emailVerificationCreateRequest", "Required parameter requestParameters.emailVerificationCreateRequest was null or undefined when calling createEmailVerification."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/emailVerifications/create`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: EmailVerificationCreateRequestToJSON(requestParameters.emailVerificationCreateRequest) | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => EmailVerificationCreateResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Initialize email verification process | |
| */ | |
| createEmailVerification(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.createEmailVerificationRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| createEmailVerificationOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling createEmailVerificationOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/emailVerifications/create`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| createEmailVerificationOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.createEmailVerificationOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Create one or more embedded wallets for a user | |
| * Create one or more new embedded wallets for a user | |
| */ | |
| createEmbeddedWalletsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling createEmbeddedWallets."); | |
| } | |
| if (requestParameters.createEmbeddedWalletsRequest === null || requestParameters.createEmbeddedWalletsRequest === void 0) { | |
| throw new RequiredError("createEmbeddedWalletsRequest", "Required parameter requestParameters.createEmbeddedWalletsRequest was null or undefined when calling createEmbeddedWallets."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/embeddedWallets`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: CreateEmbeddedWalletsRequestToJSON(requestParameters.createEmbeddedWalletsRequest) | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => VerifyResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Create one or more embedded wallets for a user | |
| * Create one or more new embedded wallets for a user | |
| */ | |
| createEmbeddedWallets(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.createEmbeddedWalletsRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| createEmbeddedWalletsOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling createEmbeddedWalletsOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/embeddedWallets`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| createEmbeddedWalletsOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.createEmbeddedWalletsOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Generate new recovery codes for user | |
| */ | |
| createNewRecoveryCodesRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling createNewRecoveryCodes."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/mfa/recovery`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => MFARegenRecoveryCodesResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Generate new recovery codes for user | |
| */ | |
| createNewRecoveryCodes(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.createNewRecoveryCodesRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Initialize sms verification process | |
| */ | |
| createSmsVerificationRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling createSmsVerification."); | |
| } | |
| if (requestParameters.smsVerificationCreateRequest === null || requestParameters.smsVerificationCreateRequest === void 0) { | |
| throw new RequiredError("smsVerificationCreateRequest", "Required parameter requestParameters.smsVerificationCreateRequest was null or undefined when calling createSmsVerification."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/smsVerifications/create`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: SmsVerificationCreateRequestToJSON(requestParameters.smsVerificationCreateRequest) | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => SmsVerificationCreateResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Initialize sms verification process | |
| */ | |
| createSmsVerification(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.createSmsVerificationRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| createSmsVerificationOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling createSmsVerificationOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/smsVerifications/create`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| createSmsVerificationOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.createSmsVerificationOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Endpoint to send minimal wallet information for a connect-only or connect-first visitor. | |
| * Create a visit | |
| */ | |
| createVisitRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling createVisit."); | |
| } | |
| if (requestParameters.connectRequest === null || requestParameters.connectRequest === void 0) { | |
| throw new RequiredError("connectRequest", "Required parameter requestParameters.connectRequest was null or undefined when calling createVisit."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/connect`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: ConnectRequestToJSON(requestParameters.connectRequest) | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Endpoint to send minimal wallet information for a connect-only or connect-first visitor. | |
| * Create a visit | |
| */ | |
| createVisit(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.createVisitRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Create a new waas account | |
| * Create a new waas account | |
| */ | |
| createWaasAccountRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling createWaasAccount."); | |
| } | |
| if (requestParameters.createWaasAccountRequest === null || requestParameters.createWaasAccountRequest === void 0) { | |
| throw new RequiredError("createWaasAccountRequest", "Required parameter requestParameters.createWaasAccountRequest was null or undefined when calling createWaasAccount."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/waas/create`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: CreateWaasAccountRequestToJSON(requestParameters.createWaasAccountRequest) | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => OpenRoomResponseWithServerKeygenIdsFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Create a new waas account | |
| * Create a new waas account | |
| */ | |
| createWaasAccount(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.createWaasAccountRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| createWaasAccountOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling createWaasAccountOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/waas/create`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| createWaasAccountOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.createWaasAccountOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Add a wallet account to a user\'s existing Turnkey HD wallet | |
| * Add a wallet account to a user\'s existing Turnkey HD wallet | |
| */ | |
| createWalletAccountRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling createWalletAccount."); | |
| } | |
| if (requestParameters.createWalletAccountRequest === null || requestParameters.createWalletAccountRequest === void 0) { | |
| throw new RequiredError("createWalletAccountRequest", "Required parameter requestParameters.createWalletAccountRequest was null or undefined when calling createWalletAccount."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/embeddedWallets/walletAccounts`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: CreateWalletAccountRequestToJSON(requestParameters.createWalletAccountRequest) | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => VerifyResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Add a wallet account to a user\'s existing Turnkey HD wallet | |
| * Add a wallet account to a user\'s existing Turnkey HD wallet | |
| */ | |
| createWalletAccount(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.createWalletAccountRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Deletes the embedded wallets for a user | |
| * Deletes the embedded wallets for a user | |
| */ | |
| deleteEmbeddedWalletsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling deleteEmbeddedWallets."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/embeddedWallets`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "DELETE", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: DeleteEmbeddedWalletsRequestToJSON(requestParameters.deleteEmbeddedWalletsRequest) | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Deletes the embedded wallets for a user | |
| * Deletes the embedded wallets for a user | |
| */ | |
| deleteEmbeddedWallets(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.deleteEmbeddedWalletsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Delete a device (if not default device) | |
| */ | |
| deleteMfaDeviceRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling deleteMfaDevice."); | |
| } | |
| if (requestParameters.mfaDeviceId === null || requestParameters.mfaDeviceId === void 0) { | |
| throw new RequiredError("mfaDeviceId", "Required parameter requestParameters.mfaDeviceId was null or undefined when calling deleteMfaDevice."); | |
| } | |
| if (requestParameters.xMfaAuthToken === null || requestParameters.xMfaAuthToken === void 0) { | |
| throw new RequiredError("xMfaAuthToken", "Required parameter requestParameters.xMfaAuthToken was null or undefined when calling deleteMfaDevice."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| if (requestParameters.xMfaAuthToken !== void 0 && requestParameters.xMfaAuthToken !== null) { | |
| headerParameters["x-mfa-auth-token"] = String(requestParameters.xMfaAuthToken); | |
| } | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/mfa/{mfaDeviceId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"mfaDeviceId"}}`, encodeURIComponent(String(requestParameters.mfaDeviceId))), | |
| method: "DELETE", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Delete a device (if not default device) | |
| */ | |
| deleteMfaDevice(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.deleteMfaDeviceRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| emailAuthOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling emailAuthOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/embeddedWallets/emailAuth`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| emailAuthOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.emailAuthOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| emailProviderOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling emailProviderOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/emailProvider`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| emailProviderOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.emailProviderOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| embeddedWalletDeleteRequestOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling embeddedWalletDeleteRequestOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/embeddedWallets/deleteRequest`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| embeddedWalletDeleteRequestOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.embeddedWalletDeleteRequestOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Requests an export of an embedded wallet | |
| * Requests an export of an embedded wallet | |
| */ | |
| embeddedWalletExportRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling embeddedWalletExport."); | |
| } | |
| if (requestParameters.walletId === null || requestParameters.walletId === void 0) { | |
| throw new RequiredError("walletId", "Required parameter requestParameters.walletId was null or undefined when calling embeddedWalletExport."); | |
| } | |
| if (requestParameters.activityId === null || requestParameters.activityId === void 0) { | |
| throw new RequiredError("activityId", "Required parameter requestParameters.activityId was null or undefined when calling embeddedWalletExport."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/embeddedWallets/{walletId}/activities/{activityId}/export`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))).replace(`{${"activityId"}}`, encodeURIComponent(String(requestParameters.activityId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => ExportEmbeddedWalletResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Requests an export of an embedded wallet | |
| * Requests an export of an embedded wallet | |
| */ | |
| embeddedWalletExport(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.embeddedWalletExportRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| embeddedWalletExportOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling embeddedWalletExportOptions."); | |
| } | |
| if (requestParameters.walletId === null || requestParameters.walletId === void 0) { | |
| throw new RequiredError("walletId", "Required parameter requestParameters.walletId was null or undefined when calling embeddedWalletExportOptions."); | |
| } | |
| if (requestParameters.activityId === null || requestParameters.activityId === void 0) { | |
| throw new RequiredError("activityId", "Required parameter requestParameters.activityId was null or undefined when calling embeddedWalletExportOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/embeddedWallets/{walletId}/activities/{activityId}/export`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))).replace(`{${"activityId"}}`, encodeURIComponent(String(requestParameters.activityId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| embeddedWalletExportOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.embeddedWalletExportOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| */ | |
| eventsOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling eventsOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/events`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| */ | |
| eventsOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.eventsOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Export private Key of a waas account | |
| */ | |
| exportPrivateKeyRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling exportPrivateKey."); | |
| } | |
| if (requestParameters.walletId === null || requestParameters.walletId === void 0) { | |
| throw new RequiredError("walletId", "Required parameter requestParameters.walletId was null or undefined when calling exportPrivateKey."); | |
| } | |
| if (requestParameters.exportWaasWalletPrivateKeyRequest === null || requestParameters.exportWaasWalletPrivateKeyRequest === void 0) { | |
| throw new RequiredError("exportWaasWalletPrivateKeyRequest", "Required parameter requestParameters.exportWaasWalletPrivateKeyRequest was null or undefined when calling exportPrivateKey."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/waas/{walletId}/privateKey/export`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: ExportWaasWalletPrivateKeyRequestToJSON(requestParameters.exportWaasWalletPrivateKeyRequest) | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => OpenRoomResponseWithServerKeygenIdsFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Export private Key of a waas account | |
| */ | |
| exportPrivateKey(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.exportPrivateKeyRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| exportPrivateKeyOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling exportPrivateKeyOptions."); | |
| } | |
| if (requestParameters.walletId === null || requestParameters.walletId === void 0) { | |
| throw new RequiredError("walletId", "Required parameter requestParameters.walletId was null or undefined when calling exportPrivateKeyOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/waas/{walletId}/privateKey/export`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| exportPrivateKeyOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.exportPrivateKeyOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Endpoint to sign-in using a token issued by an external auth provider | |
| */ | |
| externalAuthSigninRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling externalAuthSignin."); | |
| } | |
| if (requestParameters.externalAuthSigninRequest === null || requestParameters.externalAuthSigninRequest === void 0) { | |
| throw new RequiredError("externalAuthSigninRequest", "Required parameter requestParameters.externalAuthSigninRequest was null or undefined when calling externalAuthSignin."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/externalAuth/signin`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: ExternalAuthSigninRequestToJSON(requestParameters.externalAuthSigninRequest) | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => VerifyResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Endpoint to sign-in using a token issued by an external auth provider | |
| */ | |
| externalAuthSignin(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.externalAuthSigninRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| externalAuthSigninOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling externalAuthSigninOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/externalAuth/signin`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| externalAuthSigninOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.externalAuthSigninOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * [DEPRECATED] Please use /externalAuth/signin instead | |
| */ | |
| externalAuthVerifyRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling externalAuthVerify."); | |
| } | |
| if (requestParameters.externalAuthSigninRequest === null || requestParameters.externalAuthSigninRequest === void 0) { | |
| throw new RequiredError("externalAuthSigninRequest", "Required parameter requestParameters.externalAuthSigninRequest was null or undefined when calling externalAuthVerify."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/externalAuth/verify`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: ExternalAuthSigninRequestToJSON(requestParameters.externalAuthSigninRequest) | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * [DEPRECATED] Please use /externalAuth/signin instead | |
| */ | |
| externalAuthVerify(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.externalAuthVerifyRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * [DEPRECATED] Options call for this endpoint | |
| */ | |
| externalAuthVerifyOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling externalAuthVerifyOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/externalAuth/verify`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * [DEPRECATED] Options call for this endpoint | |
| */ | |
| externalAuthVerifyOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.externalAuthVerifyOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Farcaster SignIn endpoint to exchange SIWF data | |
| * Farcaster provider SignIn endpoint | |
| */ | |
| farcasterSignInRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling farcasterSignIn."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/farcaster/signin`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: FarcasterSignInRequestToJSON(requestParameters.farcasterSignInRequest) | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => VerifyResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Farcaster SignIn endpoint to exchange SIWF data | |
| * Farcaster provider SignIn endpoint | |
| */ | |
| farcasterSignIn(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.farcasterSignInRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| farcasterSignInOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling farcasterSignInOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/farcaster/signin`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| farcasterSignInOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.farcasterSignInOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Farcaster Verify endpoint to exchange SIWF data | |
| * Farcaster provider Verify endpoint | |
| */ | |
| farcasterVerifyRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling farcasterVerify."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/farcaster/verify`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: FarcasterSignInRequestToJSON(requestParameters.farcasterSignInRequest) | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => VerifyResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Farcaster Verify endpoint to exchange SIWF data | |
| * Farcaster provider Verify endpoint | |
| */ | |
| farcasterVerify(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.farcasterVerifyRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| farcasterVerifyOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling farcasterVerifyOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/farcaster/verify`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| farcasterVerifyOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.farcasterVerifyOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Get the token balances for an account | |
| */ | |
| getAccountBalancesRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getAccountBalances."); | |
| } | |
| if (requestParameters.chainName === null || requestParameters.chainName === void 0) { | |
| throw new RequiredError("chainName", "Required parameter requestParameters.chainName was null or undefined when calling getAccountBalances."); | |
| } | |
| if (requestParameters.accountAddress === null || requestParameters.accountAddress === void 0) { | |
| throw new RequiredError("accountAddress", "Required parameter requestParameters.accountAddress was null or undefined when calling getAccountBalances."); | |
| } | |
| const queryParameters = {}; | |
| if (requestParameters.networkId !== void 0) { | |
| queryParameters["networkId"] = requestParameters.networkId; | |
| } | |
| if (requestParameters.accountAddress !== void 0) { | |
| queryParameters["accountAddress"] = requestParameters.accountAddress; | |
| } | |
| if (requestParameters.includePrices !== void 0) { | |
| queryParameters["includePrices"] = requestParameters.includePrices; | |
| } | |
| if (requestParameters.includeNative !== void 0) { | |
| queryParameters["includeNative"] = requestParameters.includeNative; | |
| } | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/chains/{chainName}/balances`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"chainName"}}`, encodeURIComponent(String(requestParameters.chainName))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => jsonValue.map(TokenBalanceFromJSON)); | |
| }); | |
| } | |
| /** | |
| * Get the token balances for an account | |
| */ | |
| getAccountBalances(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.getAccountBalancesRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| getAccountBalancesOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getAccountBalancesOptions."); | |
| } | |
| if (requestParameters.chainName === null || requestParameters.chainName === void 0) { | |
| throw new RequiredError("chainName", "Required parameter requestParameters.chainName was null or undefined when calling getAccountBalancesOptions."); | |
| } | |
| if (requestParameters.networkId === null || requestParameters.networkId === void 0) { | |
| throw new RequiredError("networkId", "Required parameter requestParameters.networkId was null or undefined when calling getAccountBalancesOptions."); | |
| } | |
| if (requestParameters.accountAddress === null || requestParameters.accountAddress === void 0) { | |
| throw new RequiredError("accountAddress", "Required parameter requestParameters.accountAddress was null or undefined when calling getAccountBalancesOptions."); | |
| } | |
| const queryParameters = {}; | |
| if (requestParameters.networkId !== void 0) { | |
| queryParameters["networkId"] = requestParameters.networkId; | |
| } | |
| if (requestParameters.accountAddress !== void 0) { | |
| queryParameters["accountAddress"] = requestParameters.accountAddress; | |
| } | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/chains/{chainName}/balances`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"chainName"}}`, encodeURIComponent(String(requestParameters.chainName))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| getAccountBalancesOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.getAccountBalancesOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Get auth token for given embedded wallet type | |
| */ | |
| getAuthTokenRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getAuthToken."); | |
| } | |
| const queryParameters = {}; | |
| if (requestParameters.type !== void 0) { | |
| queryParameters["type"] = requestParameters.type; | |
| } | |
| const headerParameters = {}; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/embeddedWallets/authToken`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => EmbeddedWalletAuthTokenFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Get auth token for given embedded wallet type | |
| */ | |
| getAuthToken(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.getAuthTokenRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| getAuthTokenOptsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getAuthTokenOpts."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/embeddedWallets/authToken`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| getAuthTokenOpts(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.getAuthTokenOptsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Fetch user profile for the current authenticated user | |
| */ | |
| getAuthenticatedUserRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getAuthenticatedUser."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => SdkUserFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Fetch user profile for the current authenticated user | |
| */ | |
| getAuthenticatedUser(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.getAuthenticatedUserRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Get a list of all networks supported by Coinbase onramp | |
| * Get Coinbase supported networks | |
| */ | |
| getCoinbaseSupportedNetworksRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getCoinbaseSupportedNetworks."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/onramps/coinbase/networks`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Get a list of all networks supported by Coinbase onramp | |
| * Get Coinbase supported networks | |
| */ | |
| getCoinbaseSupportedNetworks(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.getCoinbaseSupportedNetworksRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Generates the turnkey request body for a user\'s create wallet account request | |
| * Generates the turnkey request body for a user\'s create wallet account request | |
| */ | |
| getCreateWalletAccountRequestRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getCreateWalletAccountRequest."); | |
| } | |
| if (requestParameters.chain === null || requestParameters.chain === void 0) { | |
| throw new RequiredError("chain", "Required parameter requestParameters.chain was null or undefined when calling getCreateWalletAccountRequest."); | |
| } | |
| const queryParameters = {}; | |
| if (requestParameters.chain !== void 0) { | |
| queryParameters["chain"] = requestParameters.chain; | |
| } | |
| const headerParameters = {}; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/embeddedWallets/walletAccounts/createRequest`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => TurnkeyCreateWalletAccountsRequestBodyFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Generates the turnkey request body for a user\'s create wallet account request | |
| * Generates the turnkey request body for a user\'s create wallet account request | |
| */ | |
| getCreateWalletAccountRequest(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.getCreateWalletAccountRequestRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Exchange rates for the given currency | |
| */ | |
| getCurrencyExchangeRatesRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getCurrencyExchangeRates."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/exchangeRates`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => jsonValue.map(CurrencyFromJSON)); | |
| }); | |
| } | |
| /** | |
| * Exchange rates for the given currency | |
| */ | |
| getCurrencyExchangeRates(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.getCurrencyExchangeRatesRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| getCurrencyExchangeRatesOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getCurrencyExchangeRatesOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/exchangeRates`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| getCurrencyExchangeRatesOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.getCurrencyExchangeRatesOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Return the email provider to be used for signing in with a given email. If an external provider such as magicLink is disabled, this endpoint would return emailOnly. If an external provider such as magicLink is enabled, it will return emailOnly when the email already exists in Dynamic and it is associated with a wallet, otherwise it will return magicLink. | |
| * Get signin email provider | |
| */ | |
| getEmailProviderRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getEmailProvider."); | |
| } | |
| if (requestParameters.email === null || requestParameters.email === void 0) { | |
| throw new RequiredError("email", "Required parameter requestParameters.email was null or undefined when calling getEmailProvider."); | |
| } | |
| const queryParameters = {}; | |
| if (requestParameters.email !== void 0) { | |
| queryParameters["email"] = requestParameters.email; | |
| } | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/emailProvider`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => EmailProviderResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Return the email provider to be used for signing in with a given email. If an external provider such as magicLink is disabled, this endpoint would return emailOnly. If an external provider such as magicLink is enabled, it will return emailOnly when the email already exists in Dynamic and it is associated with a wallet, otherwise it will return magicLink. | |
| * Get signin email provider | |
| */ | |
| getEmailProvider(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.getEmailProviderRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| getEmbeddedWalletBackupOptionRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getEmbeddedWalletBackupOption."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/embeddedWallets/backup`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| getEmbeddedWalletBackupOption(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.getEmbeddedWalletBackupOptionRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Return the backup key for the embedded wallet of the authenticated user | |
| */ | |
| getEmbeddedWalletBackupsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getEmbeddedWalletBackups."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/embeddedWallets/backup`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => EmbeddedWalletSecretFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Return the backup key for the embedded wallet of the authenticated user | |
| */ | |
| getEmbeddedWalletBackups(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.getEmbeddedWalletBackupsRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Return the passcode for the pregenerated embedded wallet of the authenticated user | |
| */ | |
| getEmbeddedWalletPasscodeRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getEmbeddedWalletPasscode."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/embeddedWallets/passcode`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => EmbeddedWalletSecretFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Return the passcode for the pregenerated embedded wallet of the authenticated user | |
| */ | |
| getEmbeddedWalletPasscode(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.getEmbeddedWalletPasscodeRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| getEmbeddedWalletPasscodeOptionRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getEmbeddedWalletPasscodeOption."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/embeddedWallets/passcode`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| getEmbeddedWalletPasscodeOption(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.getEmbeddedWalletPasscodeOptionRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Generates the turnkey request body for a user\'s delete wallets request | |
| * Generates the turnkey request body for a user\'s delete wallets request | |
| */ | |
| getEmbeddedWalletsDeleteRequestRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getEmbeddedWalletsDeleteRequest."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/embeddedWallets/deleteRequest`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => TurnkeyDeleteEmbeddedWalletsRequestBodyFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Generates the turnkey request body for a user\'s delete wallets request | |
| * Generates the turnkey request body for a user\'s delete wallets request | |
| */ | |
| getEmbeddedWalletsDeleteRequest(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.getEmbeddedWalletsDeleteRequestRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Get the access token for a user OAuth account | |
| */ | |
| getEndUserOauthAccessTokenRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getEndUserOauthAccessToken."); | |
| } | |
| if (requestParameters.oauthAccountId === null || requestParameters.oauthAccountId === void 0) { | |
| throw new RequiredError("oauthAccountId", "Required parameter requestParameters.oauthAccountId was null or undefined when calling getEndUserOauthAccessToken."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/oauthAccounts/{oauthAccountId}/accessToken`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"oauthAccountId"}}`, encodeURIComponent(String(requestParameters.oauthAccountId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Get the access token for a user OAuth account | |
| */ | |
| getEndUserOauthAccessToken(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.getEndUserOauthAccessTokenRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| getEndUserOauthAccessTokenOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getEndUserOauthAccessTokenOptions."); | |
| } | |
| if (requestParameters.oauthAccountId === null || requestParameters.oauthAccountId === void 0) { | |
| throw new RequiredError("oauthAccountId", "Required parameter requestParameters.oauthAccountId was null or undefined when calling getEndUserOauthAccessTokenOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/oauthAccounts/{oauthAccountId}/accessToken`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"oauthAccountId"}}`, encodeURIComponent(String(requestParameters.oauthAccountId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| getEndUserOauthAccessTokenOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.getEndUserOauthAccessTokenOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Get the environment\'s settings | |
| */ | |
| getEnvironmentSettingsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getEnvironmentSettings."); | |
| } | |
| const queryParameters = {}; | |
| if (requestParameters.sdkVersion !== void 0) { | |
| queryParameters["sdkVersion"] = requestParameters.sdkVersion; | |
| } | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/settings`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => ProjectSettingsFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Get the environment\'s settings | |
| */ | |
| getEnvironmentSettings(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.getEnvironmentSettingsRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Get the global wallet settings for the environment | |
| */ | |
| getGlobalWalletsSettingsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getGlobalWalletsSettings."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/globalWallets/settings`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => GlobalWalletSettingsFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Get the global wallet settings for the environment | |
| */ | |
| getGlobalWalletsSettings(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.getGlobalWalletsSettingsRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Health check endpoint to check for uptime of API. | |
| */ | |
| getHealthcheckRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getHealthcheck."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/healthcheck`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => HealthcheckResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Health check endpoint to check for uptime of API. | |
| */ | |
| getHealthcheck(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.getHealthcheckRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| getHealthcheckOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getHealthcheckOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/healthcheck`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| getHealthcheckOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.getHealthcheckOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Find jwks for public key | |
| */ | |
| getJwksByEnvironmentIdRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getJwksByEnvironmentId."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/.well-known/jwks`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => JwksResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Find jwks for public key | |
| */ | |
| getJwksByEnvironmentId(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.getJwksByEnvironmentIdRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Get the current user\'s MFA by device id | |
| */ | |
| getMfaDeviceRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getMfaDevice."); | |
| } | |
| if (requestParameters.mfaDeviceId === null || requestParameters.mfaDeviceId === void 0) { | |
| throw new RequiredError("mfaDeviceId", "Required parameter requestParameters.mfaDeviceId was null or undefined when calling getMfaDevice."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/mfa/{mfaDeviceId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"mfaDeviceId"}}`, encodeURIComponent(String(requestParameters.mfaDeviceId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => MFADeviceFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Get the current user\'s MFA by device id | |
| */ | |
| getMfaDevice(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.getMfaDeviceRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| getMfaDeviceOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getMfaDeviceOptions."); | |
| } | |
| if (requestParameters.mfaDeviceId === null || requestParameters.mfaDeviceId === void 0) { | |
| throw new RequiredError("mfaDeviceId", "Required parameter requestParameters.mfaDeviceId was null or undefined when calling getMfaDeviceOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/mfa/{mfaDeviceId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"mfaDeviceId"}}`, encodeURIComponent(String(requestParameters.mfaDeviceId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| getMfaDeviceOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.getMfaDeviceOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Find the configuration for the enabled networks associated to an environment | |
| */ | |
| getNetworksConfigurationByEnvIdRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getNetworksConfigurationByEnvId."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/networks`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => jsonValue.map(NetworkConfigurationResponseFromJSON)); | |
| }); | |
| } | |
| /** | |
| * Find the configuration for the enabled networks associated to an environment | |
| */ | |
| getNetworksConfigurationByEnvId(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.getNetworksConfigurationByEnvIdRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Create nonce for authentication flow | |
| */ | |
| getNonceRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getNonce."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/nonce`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => NonceResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Create nonce for authentication flow | |
| */ | |
| getNonce(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.getNonceRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Get recovery codes | |
| */ | |
| getRecoveryCodesRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getRecoveryCodes."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/mfa/recovery`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => MFAGetRecoveryCodesResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Get recovery codes | |
| */ | |
| getRecoveryCodes(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.getRecoveryCodesRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Find the configuration for the enabled onramps associated to an environment | |
| * Configuration for enabled onramps | |
| */ | |
| getSupportedOnrampsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getSupportedOnramps."); | |
| } | |
| if (requestParameters.walletAddress === null || requestParameters.walletAddress === void 0) { | |
| throw new RequiredError("walletAddress", "Required parameter requestParameters.walletAddress was null or undefined when calling getSupportedOnramps."); | |
| } | |
| if (requestParameters.chain === null || requestParameters.chain === void 0) { | |
| throw new RequiredError("chain", "Required parameter requestParameters.chain was null or undefined when calling getSupportedOnramps."); | |
| } | |
| const queryParameters = {}; | |
| if (requestParameters.walletAddress !== void 0) { | |
| queryParameters["walletAddress"] = requestParameters.walletAddress; | |
| } | |
| if (requestParameters.chain !== void 0) { | |
| queryParameters["chain"] = requestParameters.chain; | |
| } | |
| if (requestParameters.networkId !== void 0) { | |
| queryParameters["networkId"] = requestParameters.networkId; | |
| } | |
| if (requestParameters.token !== void 0) { | |
| queryParameters["token"] = requestParameters.token; | |
| } | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/onramps`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => SupportedOnrampsResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Find the configuration for the enabled onramps associated to an environment | |
| * Configuration for enabled onramps | |
| */ | |
| getSupportedOnramps(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.getSupportedOnrampsRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Get HTML with rendered Telegram login widget | |
| */ | |
| getTelegramAuthRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getTelegramAuth."); | |
| } | |
| if (requestParameters.state === null || requestParameters.state === void 0) { | |
| throw new RequiredError("state", "Required parameter requestParameters.state was null or undefined when calling getTelegramAuth."); | |
| } | |
| const queryParameters = {}; | |
| if (requestParameters.state !== void 0) { | |
| queryParameters["state"] = requestParameters.state; | |
| } | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/telegram/auth`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new TextApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Get HTML with rendered Telegram login widget | |
| */ | |
| getTelegramAuth(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.getTelegramAuthRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Check if the unique field value is already taken. For example, an enabled unique username or unique email. This also works with enabled unique custom fields. | |
| * Check user field uniqueness | |
| */ | |
| getUserFieldsCheckRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getUserFieldsCheck."); | |
| } | |
| const queryParameters = {}; | |
| if (requestParameters.filter !== void 0) { | |
| queryParameters["filter"] = requestParameters.filter; | |
| } | |
| const headerParameters = {}; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/check`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => UserFieldsCheckResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Check if the unique field value is already taken. For example, an enabled unique username or unique email. This also works with enabled unique custom fields. | |
| * Check user field uniqueness | |
| */ | |
| getUserFieldsCheck(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.getUserFieldsCheckRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| getUserFieldsCheckOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getUserFieldsCheckOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/check`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| getUserFieldsCheckOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.getUserFieldsCheckOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Get the current user\'s MFA Devices | |
| */ | |
| getUserMfaDevicesRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getUserMfaDevices."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/mfa`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => MFAListDevicesResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Get the current user\'s MFA Devices | |
| */ | |
| getUserMfaDevices(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.getUserMfaDevicesRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Gets passkey data associated with a user | |
| */ | |
| getUserPasskeysRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling getUserPasskeys."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/passkeys`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => GetUserPasskeysResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Gets passkey data associated with a user | |
| */ | |
| getUserPasskeys(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.getUserPasskeysRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| globalWalletsSettingsOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling globalWalletsSettingsOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/globalWallets/settings`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| globalWalletsSettingsOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.globalWalletsSettingsOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Hard delete the authenticated user | |
| * Hard delete a user | |
| */ | |
| hardDeleteUserRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling hardDeleteUser."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "DELETE", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Hard delete the authenticated user | |
| * Hard delete a user | |
| */ | |
| hardDeleteUser(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.hardDeleteUserRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Import a private key to create a waas account | |
| * Import an existing private key to create a waas account | |
| */ | |
| importPrivateKeyRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling importPrivateKey."); | |
| } | |
| if (requestParameters.importWaasPrivateKeyRequest === null || requestParameters.importWaasPrivateKeyRequest === void 0) { | |
| throw new RequiredError("importWaasPrivateKeyRequest", "Required parameter requestParameters.importWaasPrivateKeyRequest was null or undefined when calling importPrivateKey."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/waas/privateKey/import`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: ImportWaasPrivateKeyRequestToJSON(requestParameters.importWaasPrivateKeyRequest) | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => OpenRoomResponseWithServerKeygenIdsFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Import a private key to create a waas account | |
| * Import an existing private key to create a waas account | |
| */ | |
| importPrivateKey(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.importPrivateKeyRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| importPrivateKeyOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling importPrivateKeyOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/waas/privateKey/import`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| importPrivateKeyOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.importPrivateKeyOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * This endpoint initializes a secure oauth authentication sequence by providing the state and current url path to the API. | |
| * Initialize oauth auth sequence | |
| */ | |
| initAuthRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling initAuth."); | |
| } | |
| if (requestParameters.providerType === null || requestParameters.providerType === void 0) { | |
| throw new RequiredError("providerType", "Required parameter requestParameters.providerType was null or undefined when calling initAuth."); | |
| } | |
| if (requestParameters.oauthInitAuthRequest === null || requestParameters.oauthInitAuthRequest === void 0) { | |
| throw new RequiredError("oauthInitAuthRequest", "Required parameter requestParameters.oauthInitAuthRequest was null or undefined when calling initAuth."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/providers/{providerType}/initAuth`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"providerType"}}`, encodeURIComponent(String(requestParameters.providerType))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: OauthInitAuthRequestToJSON(requestParameters.oauthInitAuthRequest) | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * This endpoint initializes a secure oauth authentication sequence by providing the state and current url path to the API. | |
| * Initialize oauth auth sequence | |
| */ | |
| initAuth(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.initAuthRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| initAuthOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling initAuthOptions."); | |
| } | |
| if (requestParameters.providerType === null || requestParameters.providerType === void 0) { | |
| throw new RequiredError("providerType", "Required parameter requestParameters.providerType was null or undefined when calling initAuthOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/providers/{providerType}/initAuth`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"providerType"}}`, encodeURIComponent(String(requestParameters.providerType))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| initAuthOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.initAuthOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Initialize the email authentication process for a user\'s embedded wallet | |
| * Initialize the email authentication process for a user\'s embedded wallet | |
| */ | |
| initEmailAuthRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling initEmailAuth."); | |
| } | |
| if (requestParameters.initEmailAuthRequest === null || requestParameters.initEmailAuthRequest === void 0) { | |
| throw new RequiredError("initEmailAuthRequest", "Required parameter requestParameters.initEmailAuthRequest was null or undefined when calling initEmailAuth."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/embeddedWallets/emailAuth`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: InitEmailAuthRequestToJSON(requestParameters.initEmailAuthRequest) | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => InitEmailAuthResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Initialize the email authentication process for a user\'s embedded wallet | |
| * Initialize the email authentication process for a user\'s embedded wallet | |
| */ | |
| initEmailAuth(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.initEmailAuthRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Initialize the passkey recovery process for a user\'s passkey embedded wallet | |
| * Initialize the passkey recovery process for a user\'s passkey embedded wallet | |
| */ | |
| initPasskeyRecoveryRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling initPasskeyRecovery."); | |
| } | |
| if (requestParameters.initPasskeyRecoveryRequest === null || requestParameters.initPasskeyRecoveryRequest === void 0) { | |
| throw new RequiredError("initPasskeyRecoveryRequest", "Required parameter requestParameters.initPasskeyRecoveryRequest was null or undefined when calling initPasskeyRecovery."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/embeddedWallets/passkeyRecovery`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: InitPasskeyRecoveryRequestToJSON(requestParameters.initPasskeyRecoveryRequest) | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => InitPasskeyRecoveryResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Initialize the passkey recovery process for a user\'s passkey embedded wallet | |
| * Initialize the passkey recovery process for a user\'s passkey embedded wallet | |
| */ | |
| initPasskeyRecovery(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.initPasskeyRecoveryRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| jwksOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling jwksOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/.well-known/jwks`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| jwksOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.jwksOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| listMfaDevicesOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling listMfaDevicesOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/mfa`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| listMfaDevicesOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.listMfaDevicesOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Update SDK settings for a specific environment | |
| */ | |
| logDynamicSdkSettingsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling logDynamicSdkSettings."); | |
| } | |
| if (requestParameters.sdkSettingsRequest === null || requestParameters.sdkSettingsRequest === void 0) { | |
| throw new RequiredError("sdkSettingsRequest", "Required parameter requestParameters.sdkSettingsRequest was null or undefined when calling logDynamicSdkSettings."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/sdkSettings`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: SdkSettingsRequestToJSON(requestParameters.sdkSettingsRequest) | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Update SDK settings for a specific environment | |
| */ | |
| logDynamicSdkSettings(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.logDynamicSdkSettingsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Used to merge two owned accounts connected by email address | |
| * After successful verification allow to merge two owned accounts | |
| */ | |
| mergeUsersRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling mergeUsers."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/merge`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => VerifyResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Used to merge two owned accounts connected by email address | |
| * After successful verification allow to merge two owned accounts | |
| */ | |
| mergeUsers(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.mergeUsersRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| mergeUsersOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling mergeUsersOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/merge`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| mergeUsersOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.mergeUsersOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| networksOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling networksOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/networks`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| networksOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.networksOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| nonceOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling nonceOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/nonce`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| nonceOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.nonceOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Endpoint where an oauth provider would return authorization HTML used for mobile-friendly login, such as Apple ID with Touch ID on enabled devices. | |
| * Oauth provider authorization endpoint | |
| */ | |
| oauthAuthorizeHtmlRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling oauthAuthorizeHtml."); | |
| } | |
| if (requestParameters.providerType === null || requestParameters.providerType === void 0) { | |
| throw new RequiredError("providerType", "Required parameter requestParameters.providerType was null or undefined when calling oauthAuthorizeHtml."); | |
| } | |
| const queryParameters = {}; | |
| if (requestParameters.scope !== void 0) { | |
| queryParameters["scope"] = requestParameters.scope; | |
| } | |
| if (requestParameters.state !== void 0) { | |
| queryParameters["state"] = requestParameters.state; | |
| } | |
| if (requestParameters.redirectUri !== void 0) { | |
| queryParameters["redirect_uri"] = requestParameters.redirectUri; | |
| } | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/providers/{providerType}/authorizeHtml`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"providerType"}}`, encodeURIComponent(String(requestParameters.providerType))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new TextApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Endpoint where an oauth provider would return authorization HTML used for mobile-friendly login, such as Apple ID with Touch ID on enabled devices. | |
| * Oauth provider authorization endpoint | |
| */ | |
| oauthAuthorizeHtml(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.oauthAuthorizeHtmlRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| oauthAuthorizeHtmlOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling oauthAuthorizeHtmlOptions."); | |
| } | |
| if (requestParameters.providerType === null || requestParameters.providerType === void 0) { | |
| throw new RequiredError("providerType", "Required parameter requestParameters.providerType was null or undefined when calling oauthAuthorizeHtmlOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/providers/{providerType}/authorizeHtml`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"providerType"}}`, encodeURIComponent(String(requestParameters.providerType))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| oauthAuthorizeHtmlOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.oauthAuthorizeHtmlOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Get redirect URL for Oauth provider login | |
| */ | |
| oauthLoginRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling oauthLogin."); | |
| } | |
| if (requestParameters.providerType === null || requestParameters.providerType === void 0) { | |
| throw new RequiredError("providerType", "Required parameter requestParameters.providerType was null or undefined when calling oauthLogin."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/providers/{providerType}/login`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"providerType"}}`, encodeURIComponent(String(requestParameters.providerType))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Get redirect URL for Oauth provider login | |
| */ | |
| oauthLogin(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.oauthLoginRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| oauthLoginOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling oauthLoginOptions."); | |
| } | |
| if (requestParameters.providerType === null || requestParameters.providerType === void 0) { | |
| throw new RequiredError("providerType", "Required parameter requestParameters.providerType was null or undefined when calling oauthLoginOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/providers/{providerType}/login`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"providerType"}}`, encodeURIComponent(String(requestParameters.providerType))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| oauthLoginOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.oauthLoginOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Get redirect URL for Oauth provider login. This will return a string that the SDK can manipulate before redirecting the browser to. | |
| */ | |
| oauthLoginUrlRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling oauthLoginUrl."); | |
| } | |
| if (requestParameters.providerType === null || requestParameters.providerType === void 0) { | |
| throw new RequiredError("providerType", "Required parameter requestParameters.providerType was null or undefined when calling oauthLoginUrl."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/providers/{providerType}/loginUrl`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"providerType"}}`, encodeURIComponent(String(requestParameters.providerType))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => OauthProviderLoginUrlFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Get redirect URL for Oauth provider login. This will return a string that the SDK can manipulate before redirecting the browser to. | |
| */ | |
| oauthLoginUrl(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.oauthLoginUrlRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| oauthLoginUrlOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling oauthLoginUrlOptions."); | |
| } | |
| if (requestParameters.providerType === null || requestParameters.providerType === void 0) { | |
| throw new RequiredError("providerType", "Required parameter requestParameters.providerType was null or undefined when calling oauthLoginUrlOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/providers/{providerType}/loginUrl`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"providerType"}}`, encodeURIComponent(String(requestParameters.providerType))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| oauthLoginUrlOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.oauthLoginUrlOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Endpoint where an oauth provider would redirect after a successful user authorizing the oauth application. | |
| * Oauth provider redirect endpoint for apple ID | |
| */ | |
| oauthRedirectAppleRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling oauthRedirectApple."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const consumes = [ | |
| { contentType: "application/x-www-form-urlencoded" } | |
| ]; | |
| canConsumeForm(consumes); | |
| let formParams; | |
| { | |
| formParams = new URLSearchParams(); | |
| } | |
| if (requestParameters.code !== void 0) { | |
| formParams.append("code", requestParameters.code); | |
| } | |
| if (requestParameters.state !== void 0) { | |
| formParams.append("state", requestParameters.state); | |
| } | |
| if (requestParameters.idToken !== void 0) { | |
| formParams.append("id_token", requestParameters.idToken); | |
| } | |
| if (requestParameters.error !== void 0) { | |
| formParams.append("error", requestParameters.error); | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/providers/apple/redirect`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: formParams | |
| }, initOverrides); | |
| return new TextApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Endpoint where an oauth provider would redirect after a successful user authorizing the oauth application. | |
| * Oauth provider redirect endpoint for apple ID | |
| */ | |
| oauthRedirectApple(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.oauthRedirectAppleRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| oauthRedirectAppleOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling oauthRedirectAppleOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/providers/apple/redirect`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| oauthRedirectAppleOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.oauthRedirectAppleOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Endpoint where an oauth provider would redirect after a successful user authorizing the oauth application. | |
| * Oauth provider redirect endpoint | |
| */ | |
| oauthRedirectCodeRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling oauthRedirectCode."); | |
| } | |
| if (requestParameters.providerType === null || requestParameters.providerType === void 0) { | |
| throw new RequiredError("providerType", "Required parameter requestParameters.providerType was null or undefined when calling oauthRedirectCode."); | |
| } | |
| const queryParameters = {}; | |
| if (requestParameters.code !== void 0) { | |
| queryParameters["code"] = requestParameters.code; | |
| } | |
| if (requestParameters.scope !== void 0) { | |
| queryParameters["scope"] = requestParameters.scope; | |
| } | |
| if (requestParameters.state !== void 0) { | |
| queryParameters["state"] = requestParameters.state; | |
| } | |
| if (requestParameters.authuser !== void 0) { | |
| queryParameters["authuser"] = requestParameters.authuser; | |
| } | |
| if (requestParameters.prompt !== void 0) { | |
| queryParameters["prompt"] = requestParameters.prompt; | |
| } | |
| if (requestParameters.error !== void 0) { | |
| queryParameters["error"] = requestParameters.error; | |
| } | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/providers/{providerType}/redirect`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"providerType"}}`, encodeURIComponent(String(requestParameters.providerType))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new TextApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Endpoint where an oauth provider would redirect after a successful user authorizing the oauth application. | |
| * Oauth provider redirect endpoint | |
| */ | |
| oauthRedirectCode(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.oauthRedirectCodeRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| oauthRedirectOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling oauthRedirectOptions."); | |
| } | |
| if (requestParameters.providerType === null || requestParameters.providerType === void 0) { | |
| throw new RequiredError("providerType", "Required parameter requestParameters.providerType was null or undefined when calling oauthRedirectOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/providers/{providerType}/redirect`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"providerType"}}`, encodeURIComponent(String(requestParameters.providerType))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| oauthRedirectOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.oauthRedirectOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Returns the authorization code or error retuned by oauth provider | |
| */ | |
| oauthResultRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling oauthResult."); | |
| } | |
| if (requestParameters.providerType === null || requestParameters.providerType === void 0) { | |
| throw new RequiredError("providerType", "Required parameter requestParameters.providerType was null or undefined when calling oauthResult."); | |
| } | |
| if (requestParameters.oauthResultRequest === null || requestParameters.oauthResultRequest === void 0) { | |
| throw new RequiredError("oauthResultRequest", "Required parameter requestParameters.oauthResultRequest was null or undefined when calling oauthResult."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/providers/{providerType}/oauthResult`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"providerType"}}`, encodeURIComponent(String(requestParameters.providerType))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: OauthResultRequestToJSON(requestParameters.oauthResultRequest) | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => OauthResultResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Returns the authorization code or error retuned by oauth provider | |
| */ | |
| oauthResult(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.oauthResultRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| oauthResultOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling oauthResultOptions."); | |
| } | |
| if (requestParameters.providerType === null || requestParameters.providerType === void 0) { | |
| throw new RequiredError("providerType", "Required parameter requestParameters.providerType was null or undefined when calling oauthResultOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/providers/{providerType}/oauthResult`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"providerType"}}`, encodeURIComponent(String(requestParameters.providerType))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| oauthResultOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.oauthResultOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Standard OAuth SignIn callback to exchange temproary code for oauth access and return a valid Dynamic JWT and user | |
| * Oauth provider SignIn endpoint | |
| */ | |
| oauthSignInRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling oauthSignIn."); | |
| } | |
| if (requestParameters.providerType === null || requestParameters.providerType === void 0) { | |
| throw new RequiredError("providerType", "Required parameter requestParameters.providerType was null or undefined when calling oauthSignIn."); | |
| } | |
| if (requestParameters.oauthRequest === null || requestParameters.oauthRequest === void 0) { | |
| throw new RequiredError("oauthRequest", "Required parameter requestParameters.oauthRequest was null or undefined when calling oauthSignIn."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/providers/{providerType}/signIn`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"providerType"}}`, encodeURIComponent(String(requestParameters.providerType))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: OauthRequestToJSON(requestParameters.oauthRequest) | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => VerifyResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Standard OAuth SignIn callback to exchange temproary code for oauth access and return a valid Dynamic JWT and user | |
| * Oauth provider SignIn endpoint | |
| */ | |
| oauthSignIn(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.oauthSignInRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| oauthSignInOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling oauthSignInOptions."); | |
| } | |
| if (requestParameters.providerType === null || requestParameters.providerType === void 0) { | |
| throw new RequiredError("providerType", "Required parameter requestParameters.providerType was null or undefined when calling oauthSignInOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/providers/{providerType}/signIn`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"providerType"}}`, encodeURIComponent(String(requestParameters.providerType))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| oauthSignInOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.oauthSignInOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Standard OAuth verify callback to exchange temproary code for oauth access | |
| * Oauth provider verify endpoint | |
| */ | |
| oauthVerifyRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling oauthVerify."); | |
| } | |
| if (requestParameters.providerType === null || requestParameters.providerType === void 0) { | |
| throw new RequiredError("providerType", "Required parameter requestParameters.providerType was null or undefined when calling oauthVerify."); | |
| } | |
| if (requestParameters.oauthRequest === null || requestParameters.oauthRequest === void 0) { | |
| throw new RequiredError("oauthRequest", "Required parameter requestParameters.oauthRequest was null or undefined when calling oauthVerify."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/providers/{providerType}/verify`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"providerType"}}`, encodeURIComponent(String(requestParameters.providerType))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: OauthRequestToJSON(requestParameters.oauthRequest) | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => VerifyResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Standard OAuth verify callback to exchange temproary code for oauth access | |
| * Oauth provider verify endpoint | |
| */ | |
| oauthVerify(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.oauthVerifyRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| oauthVerifyOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling oauthVerifyOptions."); | |
| } | |
| if (requestParameters.providerType === null || requestParameters.providerType === void 0) { | |
| throw new RequiredError("providerType", "Required parameter requestParameters.providerType was null or undefined when calling oauthVerifyOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/providers/{providerType}/verify`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"providerType"}}`, encodeURIComponent(String(requestParameters.providerType))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| oauthVerifyOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.oauthVerifyOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| onrampsOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling onrampsOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/onramps`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| onrampsOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.onrampsOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Add fees to a Solana transaction | |
| */ | |
| optimizeTransactionRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling optimizeTransaction."); | |
| } | |
| if (requestParameters.solanaTransactionOptimizationRequest === null || requestParameters.solanaTransactionOptimizationRequest === void 0) { | |
| throw new RequiredError("solanaTransactionOptimizationRequest", "Required parameter requestParameters.solanaTransactionOptimizationRequest was null or undefined when calling optimizeTransaction."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/solana/optimizeTransaction`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: SolanaTransactionOptimizationRequestToJSON(requestParameters.solanaTransactionOptimizationRequest) | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => SolanaTransactionOptimizationResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Add fees to a Solana transaction | |
| */ | |
| optimizeTransaction(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.optimizeTransactionRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| optimizeTransactionOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling optimizeTransactionOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/solana/optimizeTransaction`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| optimizeTransactionOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.optimizeTransactionOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| optionsConnectRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling optionsConnect."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/connect`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| optionsConnect(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.optionsConnectRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| passkeyRecoveryOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling passkeyRecoveryOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/embeddedWallets/passkeyRecovery`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| passkeyRecoveryOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.passkeyRecoveryOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Handle Telegram authentication | |
| */ | |
| postTelegramAuthRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling postTelegramAuth."); | |
| } | |
| if (requestParameters.telegramPostRequest === null || requestParameters.telegramPostRequest === void 0) { | |
| throw new RequiredError("telegramPostRequest", "Required parameter requestParameters.telegramPostRequest was null or undefined when calling postTelegramAuth."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/telegram/auth`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: TelegramPostRequestToJSON(requestParameters.telegramPostRequest) | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Handle Telegram authentication | |
| */ | |
| postTelegramAuth(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.postTelegramAuthRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Endpoint to send minimal wallet information to the API to prefetch name service information for an address. | |
| * prefetch information for wallet address | |
| */ | |
| prefetchRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling prefetch."); | |
| } | |
| if (requestParameters.prefetchRequest === null || requestParameters.prefetchRequest === void 0) { | |
| throw new RequiredError("prefetchRequest", "Required parameter requestParameters.prefetchRequest was null or undefined when calling prefetch."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/prefetch`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: PrefetchRequestToJSON(requestParameters.prefetchRequest) | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Endpoint to send minimal wallet information to the API to prefetch name service information for an address. | |
| * prefetch information for wallet address | |
| */ | |
| prefetch(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.prefetchRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Publish events for SDK | |
| */ | |
| publishEventRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling publishEvent."); | |
| } | |
| if (requestParameters.publishEvents === null || requestParameters.publishEvents === void 0) { | |
| throw new RequiredError("publishEvents", "Required parameter requestParameters.publishEvents was null or undefined when calling publishEvent."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/events`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: PublishEventsToJSON(requestParameters.publishEvents) | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Publish events for SDK | |
| */ | |
| publishEvent(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.publishEventRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Recover multiple keyShares | |
| */ | |
| recoverKeySharesRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling recoverKeyShares."); | |
| } | |
| if (requestParameters.walletId === null || requestParameters.walletId === void 0) { | |
| throw new RequiredError("walletId", "Required parameter requestParameters.walletId was null or undefined when calling recoverKeyShares."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| headerParameters["Content-Type"] = "application/json"; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/waas/{walletId}/keyShares/recover`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters, | |
| body: RecoverMultipleClientKeySharesRequestToJSON(requestParameters.recoverMultipleClientKeySharesRequest) | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => RecoverMultipleClientKeySharesResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Recover multiple keyShares | |
| */ | |
| recoverKeyShares(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.recoverKeySharesRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| recoverKeySharesOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling recoverKeySharesOptions."); | |
| } | |
| if (requestParameters.walletId === null || requestParameters.walletId === void 0) { | |
| throw new RequiredError("walletId", "Required parameter requestParameters.walletId was null or undefined when calling recoverKeySharesOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/waas/{walletId}/keyShares/recover`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| recoverKeySharesOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.recoverKeySharesOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| recoveryCodesOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling recoveryCodesOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/mfa/recovery`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| recoveryCodesOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.recoveryCodesOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| recoveryEmailOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling recoveryEmailOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/embeddedWallets/recoveryEmail`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| recoveryEmailOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.recoveryEmailOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Endpoint to refresh the JWT auth token using the current valid JWT auth token in the authorization header | |
| */ | |
| refreshAuthRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling refreshAuth."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/refresh`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => VerifyResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Endpoint to refresh the JWT auth token using the current valid JWT auth token in the authorization header | |
| */ | |
| refreshAuth(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.refreshAuthRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Refresh keyshares | |
| */ | |
| refreshKeySharesRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling refreshKeyShares."); | |
| } | |
| if (requestParameters.walletId === null || requestParameters.walletId === void 0) { | |
| throw new RequiredError("walletId", "Required parameter requestParameters.walletId was null or undefined when calling refreshKeyShares."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/waas/{walletId}/refresh`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))), | |
| method: "POST", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => OpenRoomResponseWithServerKeygenIdsFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Refresh keyshares | |
| */ | |
| refreshKeyShares(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.refreshKeySharesRaw(requestParameters, initOverrides); | |
| return yield response.value(); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| refreshKeySharesOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling refreshKeySharesOptions."); | |
| } | |
| if (requestParameters.walletId === null || requestParameters.walletId === void 0) { | |
| throw new RequiredError("walletId", "Required parameter requestParameters.walletId was null or undefined when calling refreshKeySharesOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/waas/{walletId}/refresh`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| refreshKeySharesOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.refreshKeySharesOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| refreshOptionsRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling refreshOptions."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/refresh`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "OPTIONS", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new VoidApiResponse(response); | |
| }); | |
| } | |
| /** | |
| * Options call for this endpoint | |
| */ | |
| refreshOptions(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| yield this.refreshOptionsRaw(requestParameters, initOverrides); | |
| }); | |
| } | |
| /** | |
| * Register a new Passkey MFA device | |
| */ | |
| registerPasskeyMfaDeviceRaw(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| if (requestParameters.environmentId === null || requestParameters.environmentId === void 0) { | |
| throw new RequiredError("environmentId", "Required parameter requestParameters.environmentId was null or undefined when calling registerPasskeyMfaDevice."); | |
| } | |
| const queryParameters = {}; | |
| const headerParameters = {}; | |
| if (this.configuration && this.configuration.accessToken) { | |
| const token = this.configuration.accessToken; | |
| const tokenString = yield token("bearerAuth", []); | |
| if (tokenString) { | |
| headerParameters["Authorization"] = `Bearer ${tokenString}`; | |
| } | |
| } | |
| const response = yield this.request({ | |
| path: `/sdk/{environmentId}/users/mfa/register/passkey`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))), | |
| method: "GET", | |
| headers: headerParameters, | |
| query: queryParameters | |
| }, initOverrides); | |
| return new JSONApiResponse(response, (jsonValue) => MFARegisterPasskeyDeviceGetResponseFromJSON(jsonValue)); | |
| }); | |
| } | |
| /** | |
| * Register a new Passkey MFA device | |
| */ | |
| registerPasskeyMfaDevice(requestParameters, initOverrides) { | |
| return __awaiter$b(this, void 0, void 0, function* () { | |
| const response = yield this.registerPasskeyMfaDeviceRaw(requestParameters, ini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment