From 684a72c5f96b30e9bfb1faa68b9bf1bc40af3b34 Mon Sep 17 00:00:00 2001 From: Andy Brown Date: Mon, 11 Mar 2019 15:29:01 -0700 Subject: [PATCH] typecheck before building app/main (#1368) * typecheck before building app/main * update changelog --- CHANGELOG.md | 5 + packages/app/main/package.json | 5 +- packages/app/main/src/main.ts | 2 +- packages/app/shared/tsconfig.json | 3 +- packages/emulator/cli/package.json | 2 +- packages/emulator/cli/tsconfig.json | 3 +- packages/emulator/core/tsconfig.json | 39 +- .../extensions/debug/client/public/qna.js | 5843 ----------------- packages/sdk/client/tsconfig.json | 3 +- packages/sdk/main/tsconfig.json | 3 +- packages/sdk/ui-react/tsconfig.json | 3 +- 11 files changed, 24 insertions(+), 5887 deletions(-) delete mode 100644 packages/extensions/debug/client/public/qna.js diff --git a/CHANGELOG.md b/CHANGELOG.md index ff19f5ed5..46b6b643e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Unreleased +## Added +- [main] Typecheck during build process [#1368](https://github.com/Microsoft/BotFramework-Emulator/pull/1368) + +## Fixed +- [main] Fix missing constant reference [#1368](https://github.com/Microsoft/BotFramework-Emulator/pull/1368) ## v4.3.1 - 2019 - 03 - 11 ## Fixed diff --git a/packages/app/main/package.json b/packages/app/main/package.json index 5122ea0c0..6ac795315 100644 --- a/packages/app/main/package.json +++ b/packages/app/main/package.json @@ -7,7 +7,7 @@ "main": "./app/server/main.js", "homepage": "https://github.com/Microsoft/BotFramework-Emulator", "scripts": { - "build": "run-s lint build:electron", + "build": "run-s typecheck lint build:electron", "build:electron": "babel ./src --out-dir app/server --extensions \".ts,.tsx\" --ignore \"**/*.spec.ts\" && npm run copy:extension:stubs", "copy:extension:stubs": "ncp src/extensions app/extensions", "dist": "electron-builder", @@ -18,7 +18,8 @@ "start:electron": "./node_modules/.bin/electron --inspect=7777 --remote-debugging-port=7778 .", "start:electron:dev": "cross-env ELECTRON_TARGET_URL=http://localhost:3000/ npm run start:electron", "start:react-app": "cd ../client && npm start", - "test": "jest" + "test": "jest", + "typecheck": "tsc --noEmit" }, "keywords": [ "microsoft", diff --git a/packages/app/main/src/main.ts b/packages/app/main/src/main.ts index 4995df0d4..6435318fd 100644 --- a/packages/app/main/src/main.ts +++ b/packages/app/main/src/main.ts @@ -408,7 +408,7 @@ const createMainWindow = async () => { await mainWindow.commandService.remoteCall(SharedConstants.Commands.UI.ArmTokenReceivedOnStartup, result); } else if (!result) { settingsStore.dispatch(azureLoggedInUserChanged('')); - await mainWindow.commandService.call(SharedConstants.Commands.UpdateFileMenu); + await mainWindow.commandService.call(SharedConstants.Commands.Electron.UpdateFileMenu); } } diff --git a/packages/app/shared/tsconfig.json b/packages/app/shared/tsconfig.json index 60aafaad0..28da8ff5f 100644 --- a/packages/app/shared/tsconfig.json +++ b/packages/app/shared/tsconfig.json @@ -1,7 +1,8 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "outDir": "build/dist" + "outDir": "build/dist", + "declarationDir": "built" }, "include": ["./src"] } diff --git a/packages/emulator/cli/package.json b/packages/emulator/cli/package.json index e627246c3..33583fcc2 100644 --- a/packages/emulator/cli/package.json +++ b/packages/emulator/cli/package.json @@ -11,7 +11,7 @@ "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { - "build": "babel ./src --out-dir lib --extensions \".ts,.tsx\" --ignore \"**/*.spec.ts\"", + "build": "babel ./src --out-dir lib --extensions \".ts,.tsx\" --ignore \"**/*.spec.ts\" && tsc --emitDeclarationOnly", "clean": "rimraf lib", "lint": "eslint --color --quiet --ext .js,.jsx,.ts,.tsx ./src", "lint:fix": "npm run lint -- --fix", diff --git a/packages/emulator/cli/tsconfig.json b/packages/emulator/cli/tsconfig.json index 60aafaad0..85653a72a 100644 --- a/packages/emulator/cli/tsconfig.json +++ b/packages/emulator/cli/tsconfig.json @@ -1,7 +1,8 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "outDir": "build/dist" + "outDir": "build/dist", + "declarationDir": "lib" }, "include": ["./src"] } diff --git a/packages/emulator/core/tsconfig.json b/packages/emulator/core/tsconfig.json index 5bc2f0662..7e0689c1c 100644 --- a/packages/emulator/core/tsconfig.json +++ b/packages/emulator/core/tsconfig.json @@ -1,38 +1,7 @@ { "extends": "../../../tsconfig.json", - "include": ["./src"] - // "compilerOptions": { - // "declaration": true, - // "declarationDir": "lib", - // // Emit declaration only when we are building with Babel - // // "emitDeclarationOnly": true, - // "lib": [ - // "es2016", - // "dom" - // ], - // "module": "commonjs", - // "moduleResolution": "node", - // "pretty": true, - // "skipLibCheck": true, - // "target": "es2017", - // "types": [ - // "node" - // ], - // "sourceMap": true, - // // "paths": { - // // "@bfemulator/sdk-shared": ["../../sdk/shared/build/dist"], - // // "@bfemulator/sdk-main": ["../../sdk/main/build/dist"] - // // }, - // }, - // "exclude": [ - // "src/**/*.spec.js", - // "src/**/*.spec.ts", - // "src/**/*.test.js", - // "src/**/*.test.ts", - // "src/__tests__/**/*.js", - // "src/__tests__/**/*.ts" - // ], - // "include": [ - // "src/**/*" - // ] + "include": ["./src"], + "compilerOptions": { + "declarationDir": "lib" + } } diff --git a/packages/extensions/debug/client/public/qna.js b/packages/extensions/debug/client/public/qna.js deleted file mode 100644 index 75b856b66..000000000 --- a/packages/extensions/debug/client/public/qna.js +++ /dev/null @@ -1,5843 +0,0 @@ -!(function(e) { - var t = {}; - function n(r) { - if (t[r]) return t[r].exports; - var o = (t[r] = { i: r, l: !1, exports: {} }); - return e[r].call(o.exports, o, o.exports, n), (o.l = !0), o.exports; - } - (n.m = e), - (n.c = t), - (n.d = function(e, t, r) { - n.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: r }); - }), - (n.r = function(e) { - 'undefined' != typeof Symbol && - Symbol.toStringTag && - Object.defineProperty(e, Symbol.toStringTag, { value: 'Module' }), - Object.defineProperty(e, '__esModule', { value: !0 }); - }), - (n.t = function(e, t) { - if ((1 & t && (e = n(e)), 8 & t)) return e; - if (4 & t && 'object' == typeof e && e && e.__esModule) return e; - var r = Object.create(null); - if ((n.r(r), Object.defineProperty(r, 'default', { enumerable: !0, value: e }), 2 & t && 'string' != typeof e)) - for (var o in e) - n.d( - r, - o, - function(t) { - return e[t]; - }.bind(null, o) - ); - return r; - }), - (n.n = function(e) { - var t = - e && e.__esModule - ? function() { - return e.default; - } - : function() { - return e; - }; - return n.d(t, 'a', t), t; - }), - (n.o = function(e, t) { - return Object.prototype.hasOwnProperty.call(e, t); - }), - (n.p = 'http://localhost:8080'), - n((n.s = 22)); -})([ - function(e, t, n) { - 'use strict'; - e.exports = n(9); - }, - function(e, t, n) { - 'use strict'; - /* -object-assign -(c) Sindre Sorhus -@license MIT -*/ var r = Object.getOwnPropertySymbols, - o = Object.prototype.hasOwnProperty, - a = Object.prototype.propertyIsEnumerable; - e.exports = (function() { - try { - if (!Object.assign) return !1; - var e = new String('abc'); - if (((e[5] = 'de'), '5' === Object.getOwnPropertyNames(e)[0])) return !1; - for (var t = {}, n = 0; n < 10; n++) t['_' + String.fromCharCode(n)] = n; - if ( - '0123456789' !== - Object.getOwnPropertyNames(t) - .map(function(e) { - return t[e]; - }) - .join('') - ) - return !1; - var r = {}; - return ( - 'abcdefghijklmnopqrst'.split('').forEach(function(e) { - r[e] = e; - }), - 'abcdefghijklmnopqrst' === Object.keys(Object.assign({}, r)).join('') - ); - } catch (e) { - return !1; - } - })() - ? Object.assign - : function(e, t) { - for ( - var n, - i, - l = (function(e) { - if (null === e || void 0 === e) - throw new TypeError('Object.assign cannot be called with null or undefined'); - return Object(e); - })(e), - u = 1; - u < arguments.length; - u++ - ) { - for (var c in (n = Object(arguments[u]))) o.call(n, c) && (l[c] = n[c]); - if (r) { - i = r(n); - for (var s = 0; s < i.length; s++) a.call(n, i[s]) && (l[i[s]] = n[i[s]]); - } - } - return l; - }; - }, - function(e, t, n) { - 'use strict'; - var r = function(e) {}; - e.exports = function(e, t, n, o, a, i, l, u) { - if ((r(t), !e)) { - var c; - if (void 0 === t) - c = new Error( - 'Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.' - ); - else { - var s = [n, o, a, i, l, u], - f = 0; - (c = new Error( - t.replace(/%s/g, function() { - return s[f++]; - }) - )).name = 'Invariant Violation'; - } - throw ((c.framesToPop = 1), c); - } - }; - }, - function(e, t, n) { - 'use strict'; - e.exports = {}; - }, - function(e, t, n) { - 'use strict'; - function r(e) { - return function() { - return e; - }; - } - var o = function() {}; - (o.thatReturns = r), - (o.thatReturnsFalse = r(!1)), - (o.thatReturnsTrue = r(!0)), - (o.thatReturnsNull = r(null)), - (o.thatReturnsThis = function() { - return this; - }), - (o.thatReturnsArgument = function(e) { - return e; - }), - (e.exports = o); - }, - function(e, t) { - e.exports = function(e) { - var t = []; - return ( - (t.toString = function() { - return this.map(function(t) { - var n = (function(e, t) { - var n = e[1] || '', - r = e[3]; - if (!r) return n; - if (t && 'function' == typeof btoa) { - var o = (function(e) { - return ( - '/*# sourceMappingURL=data:application/json;charset=utf-8;base64,' + - btoa(unescape(encodeURIComponent(JSON.stringify(e)))) + - ' */' - ); - })(r), - a = r.sources.map(function(e) { - return '/*# sourceURL=' + r.sourceRoot + e + ' */'; - }); - return [n] - .concat(a) - .concat([o]) - .join('\n'); - } - return [n].join('\n'); - })(t, e); - return t[2] ? '@media ' + t[2] + '{' + n + '}' : n; - }).join(''); - }), - (t.i = function(e, n) { - 'string' == typeof e && (e = [[null, e, '']]); - for (var r = {}, o = 0; o < this.length; o++) { - var a = this[o][0]; - 'number' == typeof a && (r[a] = !0); - } - for (o = 0; o < e.length; o++) { - var i = e[o]; - ('number' == typeof i[0] && r[i[0]]) || - (n && !i[2] ? (i[2] = n) : n && (i[2] = '(' + i[2] + ') and (' + n + ')'), t.push(i)); - } - }), - t - ); - }; - }, - function(e, t, n) { - var r = {}, - o = (function(e) { - var t; - return function() { - return void 0 === t && (t = e.apply(this, arguments)), t; - }; - })(function() { - return window && document && document.all && !window.atob; - }), - a = (function(e) { - var t = {}; - return function(e) { - if ('function' == typeof e) return e(); - if (void 0 === t[e]) { - var n = function(e) { - return document.querySelector(e); - }.call(this, e); - if (window.HTMLIFrameElement && n instanceof window.HTMLIFrameElement) - try { - n = n.contentDocument.head; - } catch (e) { - n = null; - } - t[e] = n; - } - return t[e]; - }; - })(), - i = null, - l = 0, - u = [], - c = n(19); - function s(e, t) { - for (var n = 0; n < e.length; n++) { - var o = e[n], - a = r[o.id]; - if (a) { - a.refs++; - for (var i = 0; i < a.parts.length; i++) a.parts[i](o.parts[i]); - for (; i < o.parts.length; i++) a.parts.push(g(o.parts[i], t)); - } else { - var l = []; - for (i = 0; i < o.parts.length; i++) l.push(g(o.parts[i], t)); - r[o.id] = { id: o.id, refs: 1, parts: l }; - } - } - } - function f(e, t) { - for (var n = [], r = {}, o = 0; o < e.length; o++) { - var a = e[o], - i = t.base ? a[0] + t.base : a[0], - l = { css: a[1], media: a[2], sourceMap: a[3] }; - r[i] ? r[i].parts.push(l) : n.push((r[i] = { id: i, parts: [l] })); - } - return n; - } - function p(e, t) { - var n = a(e.insertInto); - if (!n) - throw new Error( - "Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid." - ); - var r = u[u.length - 1]; - if ('top' === e.insertAt) - r ? (r.nextSibling ? n.insertBefore(t, r.nextSibling) : n.appendChild(t)) : n.insertBefore(t, n.firstChild), - u.push(t); - else if ('bottom' === e.insertAt) n.appendChild(t); - else { - if ('object' != typeof e.insertAt || !e.insertAt.before) - throw new Error( - "[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n" - ); - var o = a(e.insertInto + ' ' + e.insertAt.before); - n.insertBefore(t, o); - } - } - function d(e) { - if (null === e.parentNode) return !1; - e.parentNode.removeChild(e); - var t = u.indexOf(e); - t >= 0 && u.splice(t, 1); - } - function h(e) { - var t = document.createElement('style'); - return void 0 === e.attrs.type && (e.attrs.type = 'text/css'), m(t, e.attrs), p(e, t), t; - } - function m(e, t) { - Object.keys(t).forEach(function(n) { - e.setAttribute(n, t[n]); - }); - } - function g(e, t) { - var n, r, o, a; - if (t.transform && e.css) { - if (!(a = t.transform(e.css))) return function() {}; - e.css = a; - } - if (t.singleton) { - var u = l++; - (n = i || (i = h(t))), (r = v.bind(null, n, u, !1)), (o = v.bind(null, n, u, !0)); - } else - e.sourceMap && - 'function' == typeof URL && - 'function' == typeof URL.createObjectURL && - 'function' == typeof URL.revokeObjectURL && - 'function' == typeof Blob && - 'function' == typeof btoa - ? ((n = (function(e) { - var t = document.createElement('link'); - return ( - void 0 === e.attrs.type && (e.attrs.type = 'text/css'), - (e.attrs.rel = 'stylesheet'), - m(t, e.attrs), - p(e, t), - t - ); - })(t)), - (r = function(e, t, n) { - var r = n.css, - o = n.sourceMap, - a = void 0 === t.convertToAbsoluteUrls && o; - (t.convertToAbsoluteUrls || a) && (r = c(r)); - o && - (r += - '\n/*# sourceMappingURL=data:application/json;base64,' + - btoa(unescape(encodeURIComponent(JSON.stringify(o)))) + - ' */'); - var i = new Blob([r], { type: 'text/css' }), - l = e.href; - (e.href = URL.createObjectURL(i)), l && URL.revokeObjectURL(l); - }.bind(null, n, t)), - (o = function() { - d(n), n.href && URL.revokeObjectURL(n.href); - })) - : ((n = h(t)), - (r = function(e, t) { - var n = t.css, - r = t.media; - r && e.setAttribute('media', r); - if (e.styleSheet) e.styleSheet.cssText = n; - else { - for (; e.firstChild; ) e.removeChild(e.firstChild); - e.appendChild(document.createTextNode(n)); - } - }.bind(null, n)), - (o = function() { - d(n); - })); - return ( - r(e), - function(t) { - if (t) { - if (t.css === e.css && t.media === e.media && t.sourceMap === e.sourceMap) return; - r((e = t)); - } else o(); - } - ); - } - e.exports = function(e, t) { - if ('undefined' != typeof DEBUG && DEBUG && 'object' != typeof document) - throw new Error('The style-loader cannot be used in a non-browser environment'); - ((t = t || {}).attrs = 'object' == typeof t.attrs ? t.attrs : {}), - t.singleton || 'boolean' == typeof t.singleton || (t.singleton = o()), - t.insertInto || (t.insertInto = 'head'), - t.insertAt || (t.insertAt = 'bottom'); - var n = f(e, t); - return ( - s(n, t), - function(e) { - for (var o = [], a = 0; a < n.length; a++) { - var i = n[a]; - (l = r[i.id]).refs--, o.push(l); - } - e && s(f(e, t), t); - for (a = 0; a < o.length; a++) { - var l; - if (0 === (l = o[a]).refs) { - for (var u = 0; u < l.parts.length; u++) l.parts[u](); - delete r[l.id]; - } - } - } - ); - }; - var y = (function() { - var e = []; - return function(t, n) { - return (e[t] = n), e.filter(Boolean).join('\n'); - }; - })(); - function v(e, t, n, r) { - var o = n ? '' : r.css; - if (e.styleSheet) e.styleSheet.cssText = y(t, o); - else { - var a = document.createTextNode(o), - i = e.childNodes; - i[t] && e.removeChild(i[t]), i.length ? e.insertBefore(a, i[t]) : e.appendChild(a); - } - } - }, - function(e, t, n) { - 'use strict'; - !(function e() { - if ( - 'undefined' != typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && - 'function' == typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE - ) - try { - __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e); - } catch (e) { - console.error(e); - } - })(), - (e.exports = n(10)); - }, - function(e, t) { - e.exports = - 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA4NDEuOSA1OTUuMyI+CiAgICA8ZyBmaWxsPSIjNjFEQUZCIj4KICAgICAgICA8cGF0aCBkPSJNNjY2LjMgMjk2LjVjMC0zMi41LTQwLjctNjMuMy0xMDMuMS04Mi40IDE0LjQtNjMuNiA4LTExNC4yLTIwLjItMTMwLjQtNi41LTMuOC0xNC4xLTUuNi0yMi40LTUuNnYyMi4zYzQuNiAwIDguMy45IDExLjQgMi42IDEzLjYgNy44IDE5LjUgMzcuNSAxNC45IDc1LjctMS4xIDkuNC0yLjkgMTkuMy01LjEgMjkuNC0xOS42LTQuOC00MS04LjUtNjMuNS0xMC45LTEzLjUtMTguNS0yNy41LTM1LjMtNDEuNi01MCAzMi42LTMwLjMgNjMuMi00Ni45IDg0LTQ2LjlWNzhjLTI3LjUgMC02My41IDE5LjYtOTkuOSA1My42LTM2LjQtMzMuOC03Mi40LTUzLjItOTkuOS01My4ydjIyLjNjMjAuNyAwIDUxLjQgMTYuNSA4NCA0Ni42LTE0IDE0LjctMjggMzEuNC00MS4zIDQ5LjktMjIuNiAyLjQtNDQgNi4xLTYzLjYgMTEtMi4zLTEwLTQtMTkuNy01LjItMjktNC43LTM4LjIgMS4xLTY3LjkgMTQuNi03NS44IDMtMS44IDYuOS0yLjYgMTEuNS0yLjZWNzguNWMtOC40IDAtMTYgMS44LTIyLjYgNS42LTI4LjEgMTYuMi0zNC40IDY2LjctMTkuOSAxMzAuMS02Mi4yIDE5LjItMTAyLjcgNDkuOS0xMDIuNyA4Mi4zIDAgMzIuNSA0MC43IDYzLjMgMTAzLjEgODIuNC0xNC40IDYzLjYtOCAxMTQuMiAyMC4yIDEzMC40IDYuNSAzLjggMTQuMSA1LjYgMjIuNSA1LjYgMjcuNSAwIDYzLjUtMTkuNiA5OS45LTUzLjYgMzYuNCAzMy44IDcyLjQgNTMuMiA5OS45IDUzLjIgOC40IDAgMTYtMS44IDIyLjYtNS42IDI4LjEtMTYuMiAzNC40LTY2LjcgMTkuOS0xMzAuMSA2Mi0xOS4xIDEwMi41LTQ5LjkgMTAyLjUtODIuM3ptLTEzMC4yLTY2LjdjLTMuNyAxMi45LTguMyAyNi4yLTEzLjUgMzkuNS00LjEtOC04LjQtMTYtMTMuMS0yNC00LjYtOC05LjUtMTUuOC0xNC40LTIzLjQgMTQuMiAyLjEgMjcuOSA0LjcgNDEgNy45em0tNDUuOCAxMDYuNWMtNy44IDEzLjUtMTUuOCAyNi4zLTI0LjEgMzguMi0xNC45IDEuMy0zMCAyLTQ1LjIgMi0xNS4xIDAtMzAuMi0uNy00NS0xLjktOC4zLTExLjktMTYuNC0yNC42LTI0LjItMzgtNy42LTEzLjEtMTQuNS0yNi40LTIwLjgtMzkuOCA2LjItMTMuNCAxMy4yLTI2LjggMjAuNy0zOS45IDcuOC0xMy41IDE1LjgtMjYuMyAyNC4xLTM4LjIgMTQuOS0xLjMgMzAtMiA0NS4yLTIgMTUuMSAwIDMwLjIuNyA0NSAxLjkgOC4zIDExLjkgMTYuNCAyNC42IDI0LjIgMzggNy42IDEzLjEgMTQuNSAyNi40IDIwLjggMzkuOC02LjMgMTMuNC0xMy4yIDI2LjgtMjAuNyAzOS45em0zMi4zLTEzYzUuNCAxMy40IDEwIDI2LjggMTMuOCAzOS44LTEzLjEgMy4yLTI2LjkgNS45LTQxLjIgOCA0LjktNy43IDkuOC0xNS42IDE0LjQtMjMuNyA0LjYtOCA4LjktMTYuMSAxMy0yNC4xek00MjEuMiA0MzBjLTkuMy05LjYtMTguNi0yMC4zLTI3LjgtMzIgOSAuNCAxOC4yLjcgMjcuNS43IDkuNCAwIDE4LjctLjIgMjcuOC0uNy05IDExLjctMTguMyAyMi40LTI3LjUgMzJ6bS03NC40LTU4LjljLTE0LjItMi4xLTI3LjktNC43LTQxLTcuOSAzLjctMTIuOSA4LjMtMjYuMiAxMy41LTM5LjUgNC4xIDggOC40IDE2IDEzLjEgMjQgNC43IDggOS41IDE1LjggMTQuNCAyMy40ek00MjAuNyAxNjNjOS4zIDkuNiAxOC42IDIwLjMgMjcuOCAzMi05LS40LTE4LjItLjctMjcuNS0uNy05LjQgMC0xOC43LjItMjcuOC43IDktMTEuNyAxOC4zLTIyLjQgMjcuNS0zMnptLTc0IDU4LjljLTQuOSA3LjctOS44IDE1LjYtMTQuNCAyMy43LTQuNiA4LTguOSAxNi0xMyAyNC01LjQtMTMuNC0xMC0yNi44LTEzLjgtMzkuOCAxMy4xLTMuMSAyNi45LTUuOCA0MS4yLTcuOXptLTkwLjUgMTI1LjJjLTM1LjQtMTUuMS01OC4zLTM0LjktNTguMy01MC42IDAtMTUuNyAyMi45LTM1LjYgNTguMy01MC42IDguNi0zLjcgMTgtNyAyNy43LTEwLjEgNS43IDE5LjYgMTMuMiA0MCAyMi41IDYwLjktOS4yIDIwLjgtMTYuNiA0MS4xLTIyLjIgNjAuNi05LjktMy4xLTE5LjMtNi41LTI4LTEwLjJ6TTMxMCA0OTBjLTEzLjYtNy44LTE5LjUtMzcuNS0xNC45LTc1LjcgMS4xLTkuNCAyLjktMTkuMyA1LjEtMjkuNCAxOS42IDQuOCA0MSA4LjUgNjMuNSAxMC45IDEzLjUgMTguNSAyNy41IDM1LjMgNDEuNiA1MC0zMi42IDMwLjMtNjMuMiA0Ni45LTg0IDQ2LjktNC41LS4xLTguMy0xLTExLjMtMi43em0yMzcuMi03Ni4yYzQuNyAzOC4yLTEuMSA2Ny45LTE0LjYgNzUuOC0zIDEuOC02LjkgMi42LTExLjUgMi42LTIwLjcgMC01MS40LTE2LjUtODQtNDYuNiAxNC0xNC43IDI4LTMxLjQgNDEuMy00OS45IDIyLjYtMi40IDQ0LTYuMSA2My42LTExIDIuMyAxMC4xIDQuMSAxOS44IDUuMiAyOS4xem0zOC41LTY2LjdjLTguNiAzLjctMTggNy0yNy43IDEwLjEtNS43LTE5LjYtMTMuMi00MC0yMi41LTYwLjkgOS4yLTIwLjggMTYuNi00MS4xIDIyLjItNjAuNiA5LjkgMy4xIDE5LjMgNi41IDI4LjEgMTAuMiAzNS40IDE1LjEgNTguMyAzNC45IDU4LjMgNTAuNi0uMSAxNS43LTIzIDM1LjYtNTguNCA1MC42ek0zMjAuOCA3OC40eiIvPgogICAgICAgIDxjaXJjbGUgY3g9IjQyMC45IiBjeT0iMjk2LjUiIHI9IjQ1LjciLz4KICAgICAgICA8cGF0aCBkPSJNNTIwLjUgNzguMXoiLz4KICAgIDwvZz4KPC9zdmc+Cg=='; - }, - function(e, t, n) { - 'use strict'; - /** @license React v16.3.2 - * react.production.min.js - * - * Copyright (c) 2013-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ var r = n(1), - o = n(2), - a = n(3), - i = n(4), - l = 'function' == typeof Symbol && Symbol.for, - u = l ? Symbol.for('react.element') : 60103, - c = l ? Symbol.for('react.portal') : 60106, - s = l ? Symbol.for('react.fragment') : 60107, - f = l ? Symbol.for('react.strict_mode') : 60108, - p = l ? Symbol.for('react.provider') : 60109, - d = l ? Symbol.for('react.context') : 60110, - h = l ? Symbol.for('react.async_mode') : 60111, - m = l ? Symbol.for('react.forward_ref') : 60112, - g = 'function' == typeof Symbol && Symbol.iterator; - function y(e) { - for ( - var t = arguments.length - 1, n = 'http://reactjs.org/docs/error-decoder.html?invariant=' + e, r = 0; - r < t; - r++ - ) - n += '&args[]=' + encodeURIComponent(arguments[r + 1]); - o( - !1, - 'Minified React error #' + - e + - '; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ', - n - ); - } - var v = { - isMounted: function() { - return !1; - }, - enqueueForceUpdate: function() {}, - enqueueReplaceState: function() {}, - enqueueSetState: function() {}, - }; - function b(e, t, n) { - (this.props = e), (this.context = t), (this.refs = a), (this.updater = n || v); - } - function C() {} - function x(e, t, n) { - (this.props = e), (this.context = t), (this.refs = a), (this.updater = n || v); - } - (b.prototype.isReactComponent = {}), - (b.prototype.setState = function(e, t) { - 'object' != typeof e && 'function' != typeof e && null != e && y('85'), - this.updater.enqueueSetState(this, e, t, 'setState'); - }), - (b.prototype.forceUpdate = function(e) { - this.updater.enqueueForceUpdate(this, e, 'forceUpdate'); - }), - (C.prototype = b.prototype); - var T = (x.prototype = new C()); - (T.constructor = x), r(T, b.prototype), (T.isPureReactComponent = !0); - var k = { current: null }, - w = Object.prototype.hasOwnProperty, - M = { key: !0, ref: !0, __self: !0, __source: !0 }; - function E(e, t, n) { - var r = void 0, - o = {}, - a = null, - i = null; - if (null != t) - for (r in (void 0 !== t.ref && (i = t.ref), void 0 !== t.key && (a = '' + t.key), t)) - w.call(t, r) && !M.hasOwnProperty(r) && (o[r] = t[r]); - var l = arguments.length - 2; - if (1 === l) o.children = n; - else if (1 < l) { - for (var c = Array(l), s = 0; s < l; s++) c[s] = arguments[s + 2]; - o.children = c; - } - if (e && e.defaultProps) for (r in (l = e.defaultProps)) void 0 === o[r] && (o[r] = l[r]); - return { $$typeof: u, type: e, key: a, ref: i, props: o, _owner: k.current }; - } - function S(e) { - return 'object' == typeof e && null !== e && e.$$typeof === u; - } - var N = /\/+/g, - L = []; - function I(e, t, n, r) { - if (L.length) { - var o = L.pop(); - return (o.result = e), (o.keyPrefix = t), (o.func = n), (o.context = r), (o.count = 0), o; - } - return { result: e, keyPrefix: t, func: n, context: r, count: 0 }; - } - function j(e) { - (e.result = null), - (e.keyPrefix = null), - (e.func = null), - (e.context = null), - (e.count = 0), - 10 > L.length && L.push(e); - } - function _(e, t, n, r) { - var o = typeof e; - ('undefined' !== o && 'boolean' !== o) || (e = null); - var a = !1; - if (null === e) a = !0; - else - switch (o) { - case 'string': - case 'number': - a = !0; - break; - case 'object': - switch (e.$$typeof) { - case u: - case c: - a = !0; - } - } - if (a) return n(r, e, '' === t ? '.' + P(e, 0) : t), 1; - if (((a = 0), (t = '' === t ? '.' : t + ':'), Array.isArray(e))) - for (var i = 0; i < e.length; i++) { - var l = t + P((o = e[i]), i); - a += _(o, l, n, r); - } - else if ( - (null === e || void 0 === e - ? (l = null) - : (l = 'function' == typeof (l = (g && e[g]) || e['@@iterator']) ? l : null), - 'function' == typeof l) - ) - for (e = l.call(e), i = 0; !(o = e.next()).done; ) a += _((o = o.value), (l = t + P(o, i++)), n, r); - else - 'object' === o && - y('31', '[object Object]' === (n = '' + e) ? 'object with keys {' + Object.keys(e).join(', ') + '}' : n, ''); - return a; - } - function P(e, t) { - return 'object' == typeof e && null !== e && null != e.key - ? (function(e) { - var t = { '=': '=0', ':': '=2' }; - return ( - '$' + - ('' + e).replace(/[=:]/g, function(e) { - return t[e]; - }) - ); - })(e.key) - : t.toString(36); - } - function O(e, t) { - e.func.call(e.context, t, e.count++); - } - function D(e, t, n) { - var r = e.result, - o = e.keyPrefix; - (e = e.func.call(e.context, t, e.count++)), - Array.isArray(e) - ? A(e, r, n, i.thatReturnsArgument) - : null != e && - (S(e) && - ((t = o + (!e.key || (t && t.key === e.key) ? '' : ('' + e.key).replace(N, '$&/') + '/') + n), - (e = { $$typeof: u, type: e.type, key: t, ref: e.ref, props: e.props, _owner: e._owner })), - r.push(e)); - } - function A(e, t, n, r, o) { - var a = ''; - null != n && (a = ('' + n).replace(N, '$&/') + '/'), (t = I(t, a, r, o)), null == e || _(e, '', D, t), j(t); - } - var U = { - Children: { - map: function(e, t, n) { - if (null == e) return e; - var r = []; - return A(e, r, null, t, n), r; - }, - forEach: function(e, t, n) { - if (null == e) return e; - (t = I(null, null, t, n)), null == e || _(e, '', O, t), j(t); - }, - count: function(e) { - return null == e ? 0 : _(e, '', i.thatReturnsNull, null); - }, - toArray: function(e) { - var t = []; - return A(e, t, null, i.thatReturnsArgument), t; - }, - only: function(e) { - return S(e) || y('143'), e; - }, - }, - createRef: function() { - return { current: null }; - }, - Component: b, - PureComponent: x, - createContext: function(e, t) { - return ( - void 0 === t && (t = null), - ((e = { - $$typeof: d, - _calculateChangedBits: t, - _defaultValue: e, - _currentValue: e, - _changedBits: 0, - Provider: null, - Consumer: null, - }).Provider = { $$typeof: p, _context: e }), - (e.Consumer = e) - ); - }, - forwardRef: function(e) { - return { $$typeof: m, render: e }; - }, - Fragment: s, - StrictMode: f, - unstable_AsyncMode: h, - createElement: E, - cloneElement: function(e, t, n) { - (null === e || void 0 === e) && y('267', e); - var o = void 0, - a = r({}, e.props), - i = e.key, - l = e.ref, - c = e._owner; - if (null != t) { - void 0 !== t.ref && ((l = t.ref), (c = k.current)), void 0 !== t.key && (i = '' + t.key); - var s = void 0; - for (o in (e.type && e.type.defaultProps && (s = e.type.defaultProps), t)) - w.call(t, o) && !M.hasOwnProperty(o) && (a[o] = void 0 === t[o] && void 0 !== s ? s[o] : t[o]); - } - if (1 === (o = arguments.length - 2)) a.children = n; - else if (1 < o) { - s = Array(o); - for (var f = 0; f < o; f++) s[f] = arguments[f + 2]; - a.children = s; - } - return { $$typeof: u, type: e.type, key: i, ref: l, props: a, _owner: c }; - }, - createFactory: function(e) { - var t = E.bind(null, e); - return (t.type = e), t; - }, - isValidElement: S, - version: '16.3.2', - __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: { ReactCurrentOwner: k, assign: r }, - }, - z = Object.freeze({ default: U }), - R = (z && U) || z; - e.exports = R.default ? R.default : R; - }, - function(e, t, n) { - 'use strict'; - /** @license React v16.3.3 - * react-dom.production.min.js - * - * Copyright (c) 2013-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ var r = n(2), - o = n(0), - a = n(11), - i = n(1), - l = n(4), - u = n(12), - c = n(13), - s = n(14), - f = n(3); - function p(e) { - for ( - var t = arguments.length - 1, n = 'http://reactjs.org/docs/error-decoder.html?invariant=' + e, o = 0; - o < t; - o++ - ) - n += '&args[]=' + encodeURIComponent(arguments[o + 1]); - r( - !1, - 'Minified React error #' + - e + - '; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ', - n - ); - } - o || p('227'); - var d = { - _caughtError: null, - _hasCaughtError: !1, - _rethrowError: null, - _hasRethrowError: !1, - invokeGuardedCallback: function(e, t, n, r, o, a, i, l, u) { - (function(e, t, n, r, o, a, i, l, u) { - (this._hasCaughtError = !1), (this._caughtError = null); - var c = Array.prototype.slice.call(arguments, 3); - try { - t.apply(n, c); - } catch (e) { - (this._caughtError = e), (this._hasCaughtError = !0); - } - }.apply(d, arguments)); - }, - invokeGuardedCallbackAndCatchFirstError: function(e, t, n, r, o, a, i, l, u) { - if ((d.invokeGuardedCallback.apply(this, arguments), d.hasCaughtError())) { - var c = d.clearCaughtError(); - d._hasRethrowError || ((d._hasRethrowError = !0), (d._rethrowError = c)); - } - }, - rethrowCaughtError: function() { - return function() { - if (d._hasRethrowError) { - var e = d._rethrowError; - throw ((d._rethrowError = null), (d._hasRethrowError = !1), e); - } - }.apply(d, arguments); - }, - hasCaughtError: function() { - return d._hasCaughtError; - }, - clearCaughtError: function() { - if (d._hasCaughtError) { - var e = d._caughtError; - return (d._caughtError = null), (d._hasCaughtError = !1), e; - } - p('198'); - }, - }; - var h = null, - m = {}; - function g() { - if (h) - for (var e in m) { - var t = m[e], - n = h.indexOf(e); - if ((-1 < n || p('96', e), !v[n])) - for (var r in (t.extractEvents || p('97', e), (v[n] = t), (n = t.eventTypes))) { - var o = void 0, - a = n[r], - i = t, - l = r; - b.hasOwnProperty(l) && p('99', l), (b[l] = a); - var u = a.phasedRegistrationNames; - if (u) { - for (o in u) u.hasOwnProperty(o) && y(u[o], i, l); - o = !0; - } else a.registrationName ? (y(a.registrationName, i, l), (o = !0)) : (o = !1); - o || p('98', r, e); - } - } - } - function y(e, t, n) { - C[e] && p('100', e), (C[e] = t), (x[e] = t.eventTypes[n].dependencies); - } - var v = [], - b = {}, - C = {}, - x = {}; - function T(e) { - h && p('101'), (h = Array.prototype.slice.call(e)), g(); - } - function k(e) { - var t, - n = !1; - for (t in e) - if (e.hasOwnProperty(t)) { - var r = e[t]; - (m.hasOwnProperty(t) && m[t] === r) || (m[t] && p('102', t), (m[t] = r), (n = !0)); - } - n && g(); - } - var w = Object.freeze({ - plugins: v, - eventNameDispatchConfigs: b, - registrationNameModules: C, - registrationNameDependencies: x, - possibleRegistrationNames: null, - injectEventPluginOrder: T, - injectEventPluginsByName: k, - }), - M = null, - E = null, - S = null; - function N(e, t, n, r) { - (t = e.type || 'unknown-event'), - (e.currentTarget = S(r)), - d.invokeGuardedCallbackAndCatchFirstError(t, n, void 0, e), - (e.currentTarget = null); - } - function L(e, t) { - return ( - null == t && p('30'), - null == e - ? t - : Array.isArray(e) - ? Array.isArray(t) - ? (e.push.apply(e, t), e) - : (e.push(t), e) - : Array.isArray(t) - ? [e].concat(t) - : [e, t] - ); - } - function I(e, t, n) { - Array.isArray(e) ? e.forEach(t, n) : e && t.call(n, e); - } - var j = null; - function _(e, t) { - if (e) { - var n = e._dispatchListeners, - r = e._dispatchInstances; - if (Array.isArray(n)) for (var o = 0; o < n.length && !e.isPropagationStopped(); o++) N(e, t, n[o], r[o]); - else n && N(e, t, n, r); - (e._dispatchListeners = null), (e._dispatchInstances = null), e.isPersistent() || e.constructor.release(e); - } - } - function P(e) { - return _(e, !0); - } - function O(e) { - return _(e, !1); - } - var D = { injectEventPluginOrder: T, injectEventPluginsByName: k }; - function A(e, t) { - var n = e.stateNode; - if (!n) return null; - var r = M(n); - if (!r) return null; - n = r[t]; - e: switch (t) { - case 'onClick': - case 'onClickCapture': - case 'onDoubleClick': - case 'onDoubleClickCapture': - case 'onMouseDown': - case 'onMouseDownCapture': - case 'onMouseMove': - case 'onMouseMoveCapture': - case 'onMouseUp': - case 'onMouseUpCapture': - (r = !r.disabled) || - (r = !('button' === (e = e.type) || 'input' === e || 'select' === e || 'textarea' === e)), - (e = !r); - break e; - default: - e = !1; - } - return e ? null : (n && 'function' != typeof n && p('231', t, typeof n), n); - } - function U(e, t) { - null !== e && (j = L(j, e)), (e = j), (j = null), e && (I(e, t ? P : O), j && p('95'), d.rethrowCaughtError()); - } - function z(e, t, n, r) { - for (var o = null, a = 0; a < v.length; a++) { - var i = v[a]; - i && (i = i.extractEvents(e, t, n, r)) && (o = L(o, i)); - } - U(o, !1); - } - var R = Object.freeze({ injection: D, getListener: A, runEventsInBatch: U, runExtractedEventsInBatch: z }), - F = Math.random() - .toString(36) - .slice(2), - H = '__reactInternalInstance$' + F, - B = '__reactEventHandlers$' + F; - function V(e) { - if (e[H]) return e[H]; - for (; !e[H]; ) { - if (!e.parentNode) return null; - e = e.parentNode; - } - return 5 === (e = e[H]).tag || 6 === e.tag ? e : null; - } - function Q(e) { - if (5 === e.tag || 6 === e.tag) return e.stateNode; - p('33'); - } - function W(e) { - return e[B] || null; - } - var Y = Object.freeze({ - precacheFiberNode: function(e, t) { - t[H] = e; - }, - getClosestInstanceFromNode: V, - getInstanceFromNode: function(e) { - return !(e = e[H]) || (5 !== e.tag && 6 !== e.tag) ? null : e; - }, - getNodeFromInstance: Q, - getFiberCurrentPropsFromNode: W, - updateFiberProps: function(e, t) { - e[B] = t; - }, - }); - function K(e) { - do { - e = e.return; - } while (e && 5 !== e.tag); - return e || null; - } - function $(e, t, n) { - for (var r = []; e; ) r.push(e), (e = K(e)); - for (e = r.length; 0 < e--; ) t(r[e], 'captured', n); - for (e = 0; e < r.length; e++) t(r[e], 'bubbled', n); - } - function q(e, t, n) { - (t = A(e, n.dispatchConfig.phasedRegistrationNames[t])) && - ((n._dispatchListeners = L(n._dispatchListeners, t)), (n._dispatchInstances = L(n._dispatchInstances, e))); - } - function G(e) { - e && e.dispatchConfig.phasedRegistrationNames && $(e._targetInst, q, e); - } - function X(e) { - if (e && e.dispatchConfig.phasedRegistrationNames) { - var t = e._targetInst; - $((t = t ? K(t) : null), q, e); - } - } - function J(e, t, n) { - e && - n && - n.dispatchConfig.registrationName && - (t = A(e, n.dispatchConfig.registrationName)) && - ((n._dispatchListeners = L(n._dispatchListeners, t)), (n._dispatchInstances = L(n._dispatchInstances, e))); - } - function Z(e) { - e && e.dispatchConfig.registrationName && J(e._targetInst, null, e); - } - function ee(e) { - I(e, G); - } - function te(e, t, n, r) { - if (n && r) - e: { - for (var o = n, a = r, i = 0, l = o; l; l = K(l)) i++; - l = 0; - for (var u = a; u; u = K(u)) l++; - for (; 0 < i - l; ) (o = K(o)), i--; - for (; 0 < l - i; ) (a = K(a)), l--; - for (; i--; ) { - if (o === a || o === a.alternate) break e; - (o = K(o)), (a = K(a)); - } - o = null; - } - else o = null; - for (a = o, o = []; n && n !== a && (null === (i = n.alternate) || i !== a); ) o.push(n), (n = K(n)); - for (n = []; r && r !== a && (null === (i = r.alternate) || i !== a); ) n.push(r), (r = K(r)); - for (r = 0; r < o.length; r++) J(o[r], 'bubbled', e); - for (e = n.length; 0 < e--; ) J(n[e], 'captured', t); - } - var ne = Object.freeze({ - accumulateTwoPhaseDispatches: ee, - accumulateTwoPhaseDispatchesSkipTarget: function(e) { - I(e, X); - }, - accumulateEnterLeaveDispatches: te, - accumulateDirectDispatches: function(e) { - I(e, Z); - }, - }), - re = null; - function oe() { - return !re && a.canUseDOM && (re = 'textContent' in document.documentElement ? 'textContent' : 'innerText'), re; - } - var ae = { _root: null, _startText: null, _fallbackText: null }; - function ie() { - if (ae._fallbackText) return ae._fallbackText; - var e, - t, - n = ae._startText, - r = n.length, - o = le(), - a = o.length; - for (e = 0; e < r && n[e] === o[e]; e++); - var i = r - e; - for (t = 1; t <= i && n[r - t] === o[a - t]; t++); - return (ae._fallbackText = o.slice(e, 1 < t ? 1 - t : void 0)), ae._fallbackText; - } - function le() { - return 'value' in ae._root ? ae._root.value : ae._root[oe()]; - } - var ue = 'dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances'.split( - ' ' - ), - ce = { - type: null, - target: null, - currentTarget: l.thatReturnsNull, - eventPhase: null, - bubbles: null, - cancelable: null, - timeStamp: function(e) { - return e.timeStamp || Date.now(); - }, - defaultPrevented: null, - isTrusted: null, - }; - function se(e, t, n, r) { - for (var o in ((this.dispatchConfig = e), - (this._targetInst = t), - (this.nativeEvent = n), - (e = this.constructor.Interface))) - e.hasOwnProperty(o) && ((t = e[o]) ? (this[o] = t(n)) : 'target' === o ? (this.target = r) : (this[o] = n[o])); - return ( - (this.isDefaultPrevented = (null != n.defaultPrevented - ? n.defaultPrevented - : !1 === n.returnValue) - ? l.thatReturnsTrue - : l.thatReturnsFalse), - (this.isPropagationStopped = l.thatReturnsFalse), - this - ); - } - function fe(e, t, n, r) { - if (this.eventPool.length) { - var o = this.eventPool.pop(); - return this.call(o, e, t, n, r), o; - } - return new this(e, t, n, r); - } - function pe(e) { - e instanceof this || p('223'), e.destructor(), 10 > this.eventPool.length && this.eventPool.push(e); - } - function de(e) { - (e.eventPool = []), (e.getPooled = fe), (e.release = pe); - } - i(se.prototype, { - preventDefault: function() { - this.defaultPrevented = !0; - var e = this.nativeEvent; - e && - (e.preventDefault ? e.preventDefault() : 'unknown' != typeof e.returnValue && (e.returnValue = !1), - (this.isDefaultPrevented = l.thatReturnsTrue)); - }, - stopPropagation: function() { - var e = this.nativeEvent; - e && - (e.stopPropagation ? e.stopPropagation() : 'unknown' != typeof e.cancelBubble && (e.cancelBubble = !0), - (this.isPropagationStopped = l.thatReturnsTrue)); - }, - persist: function() { - this.isPersistent = l.thatReturnsTrue; - }, - isPersistent: l.thatReturnsFalse, - destructor: function() { - var e, - t = this.constructor.Interface; - for (e in t) this[e] = null; - for (t = 0; t < ue.length; t++) this[ue[t]] = null; - }, - }), - (se.Interface = ce), - (se.extend = function(e) { - function t() {} - function n() { - return r.apply(this, arguments); - } - var r = this; - t.prototype = r.prototype; - var o = new t(); - return ( - i(o, n.prototype), - (n.prototype = o), - (n.prototype.constructor = n), - (n.Interface = i({}, r.Interface, e)), - (n.extend = r.extend), - de(n), - n - ); - }), - de(se); - var he = se.extend({ data: null }), - me = se.extend({ data: null }), - ge = [9, 13, 27, 32], - ye = a.canUseDOM && 'CompositionEvent' in window, - ve = null; - a.canUseDOM && 'documentMode' in document && (ve = document.documentMode); - var be = a.canUseDOM && 'TextEvent' in window && !ve, - Ce = a.canUseDOM && (!ye || (ve && 8 < ve && 11 >= ve)), - xe = String.fromCharCode(32), - Te = { - beforeInput: { - phasedRegistrationNames: { bubbled: 'onBeforeInput', captured: 'onBeforeInputCapture' }, - dependencies: ['topCompositionEnd', 'topKeyPress', 'topTextInput', 'topPaste'], - }, - compositionEnd: { - phasedRegistrationNames: { bubbled: 'onCompositionEnd', captured: 'onCompositionEndCapture' }, - dependencies: 'topBlur topCompositionEnd topKeyDown topKeyPress topKeyUp topMouseDown'.split(' '), - }, - compositionStart: { - phasedRegistrationNames: { bubbled: 'onCompositionStart', captured: 'onCompositionStartCapture' }, - dependencies: 'topBlur topCompositionStart topKeyDown topKeyPress topKeyUp topMouseDown'.split(' '), - }, - compositionUpdate: { - phasedRegistrationNames: { bubbled: 'onCompositionUpdate', captured: 'onCompositionUpdateCapture' }, - dependencies: 'topBlur topCompositionUpdate topKeyDown topKeyPress topKeyUp topMouseDown'.split(' '), - }, - }, - ke = !1; - function we(e, t) { - switch (e) { - case 'topKeyUp': - return -1 !== ge.indexOf(t.keyCode); - case 'topKeyDown': - return 229 !== t.keyCode; - case 'topKeyPress': - case 'topMouseDown': - case 'topBlur': - return !0; - default: - return !1; - } - } - function Me(e) { - return 'object' == typeof (e = e.detail) && 'data' in e ? e.data : null; - } - var Ee = !1; - var Se = { - eventTypes: Te, - extractEvents: function(e, t, n, r) { - var o = void 0, - a = void 0; - if (ye) - e: { - switch (e) { - case 'topCompositionStart': - o = Te.compositionStart; - break e; - case 'topCompositionEnd': - o = Te.compositionEnd; - break e; - case 'topCompositionUpdate': - o = Te.compositionUpdate; - break e; - } - o = void 0; - } - else - Ee - ? we(e, n) && (o = Te.compositionEnd) - : 'topKeyDown' === e && 229 === n.keyCode && (o = Te.compositionStart); - return ( - o - ? (Ce && - (Ee || o !== Te.compositionStart - ? o === Te.compositionEnd && Ee && (a = ie()) - : ((ae._root = r), (ae._startText = le()), (Ee = !0))), - (o = he.getPooled(o, t, n, r)), - a ? (o.data = a) : null !== (a = Me(n)) && (o.data = a), - ee(o), - (a = o)) - : (a = null), - (e = be - ? (function(e, t) { - switch (e) { - case 'topCompositionEnd': - return Me(t); - case 'topKeyPress': - return 32 !== t.which ? null : ((ke = !0), xe); - case 'topTextInput': - return (e = t.data) === xe && ke ? null : e; - default: - return null; - } - })(e, n) - : (function(e, t) { - if (Ee) - return 'topCompositionEnd' === e || (!ye && we(e, t)) - ? ((e = ie()), (ae._root = null), (ae._startText = null), (ae._fallbackText = null), (Ee = !1), e) - : null; - switch (e) { - case 'topPaste': - return null; - case 'topKeyPress': - if (!(t.ctrlKey || t.altKey || t.metaKey) || (t.ctrlKey && t.altKey)) { - if (t.char && 1 < t.char.length) return t.char; - if (t.which) return String.fromCharCode(t.which); - } - return null; - case 'topCompositionEnd': - return Ce ? null : t.data; - default: - return null; - } - })(e, n)) - ? (((t = me.getPooled(Te.beforeInput, t, n, r)).data = e), ee(t)) - : (t = null), - null === a ? t : null === t ? a : [a, t] - ); - }, - }, - Ne = null, - Le = { - injectFiberControlledHostComponent: function(e) { - Ne = e; - }, - }, - Ie = null, - je = null; - function _e(e) { - if ((e = E(e))) { - (Ne && 'function' == typeof Ne.restoreControlledState) || p('194'); - var t = M(e.stateNode); - Ne.restoreControlledState(e.stateNode, e.type, t); - } - } - function Pe(e) { - Ie ? (je ? je.push(e) : (je = [e])) : (Ie = e); - } - function Oe() { - return null !== Ie || null !== je; - } - function De() { - if (Ie) { - var e = Ie, - t = je; - if (((je = Ie = null), _e(e), t)) for (e = 0; e < t.length; e++) _e(t[e]); - } - } - var Ae = Object.freeze({ injection: Le, enqueueStateRestore: Pe, needsStateRestore: Oe, restoreStateIfNeeded: De }); - function Ue(e, t) { - return e(t); - } - function ze(e, t, n) { - return e(t, n); - } - function Re() {} - var Fe = !1; - function He(e, t) { - if (Fe) return e(t); - Fe = !0; - try { - return Ue(e, t); - } finally { - (Fe = !1), Oe() && (Re(), De()); - } - } - var Be = { - color: !0, - date: !0, - datetime: !0, - 'datetime-local': !0, - email: !0, - month: !0, - number: !0, - password: !0, - range: !0, - search: !0, - tel: !0, - text: !0, - time: !0, - url: !0, - week: !0, - }; - function Ve(e) { - var t = e && e.nodeName && e.nodeName.toLowerCase(); - return 'input' === t ? !!Be[e.type] : 'textarea' === t; - } - function Qe(e) { - return ( - (e = e.target || window).correspondingUseElement && (e = e.correspondingUseElement), - 3 === e.nodeType ? e.parentNode : e - ); - } - function We(e, t) { - return ( - !(!a.canUseDOM || (t && !('addEventListener' in document))) && - ((t = (e = 'on' + e) in document) || - ((t = document.createElement('div')).setAttribute(e, 'return;'), (t = 'function' == typeof t[e])), - t) - ); - } - function Ye(e) { - var t = e.type; - return (e = e.nodeName) && 'input' === e.toLowerCase() && ('checkbox' === t || 'radio' === t); - } - function Ke(e) { - e._valueTracker || - (e._valueTracker = (function(e) { - var t = Ye(e) ? 'checked' : 'value', - n = Object.getOwnPropertyDescriptor(e.constructor.prototype, t), - r = '' + e[t]; - if (!e.hasOwnProperty(t) && 'function' == typeof n.get && 'function' == typeof n.set) - return ( - Object.defineProperty(e, t, { - configurable: !0, - get: function() { - return n.get.call(this); - }, - set: function(e) { - (r = '' + e), n.set.call(this, e); - }, - }), - Object.defineProperty(e, t, { enumerable: n.enumerable }), - { - getValue: function() { - return r; - }, - setValue: function(e) { - r = '' + e; - }, - stopTracking: function() { - (e._valueTracker = null), delete e[t]; - }, - } - ); - })(e)); - } - function $e(e) { - if (!e) return !1; - var t = e._valueTracker; - if (!t) return !0; - var n = t.getValue(), - r = ''; - return e && (r = Ye(e) ? (e.checked ? 'true' : 'false') : e.value), (e = r) !== n && (t.setValue(e), !0); - } - var qe = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, - Ge = 'function' == typeof Symbol && Symbol.for, - Xe = Ge ? Symbol.for('react.element') : 60103, - Je = Ge ? Symbol.for('react.call') : 60104, - Ze = Ge ? Symbol.for('react.return') : 60105, - et = Ge ? Symbol.for('react.portal') : 60106, - tt = Ge ? Symbol.for('react.fragment') : 60107, - nt = Ge ? Symbol.for('react.strict_mode') : 60108, - rt = Ge ? Symbol.for('react.provider') : 60109, - ot = Ge ? Symbol.for('react.context') : 60110, - at = Ge ? Symbol.for('react.async_mode') : 60111, - it = Ge ? Symbol.for('react.forward_ref') : 60112, - lt = 'function' == typeof Symbol && Symbol.iterator; - function ut(e) { - return null === e || void 0 === e ? null : 'function' == typeof (e = (lt && e[lt]) || e['@@iterator']) ? e : null; - } - function ct(e) { - if ('function' == typeof (e = e.type)) return e.displayName || e.name; - if ('string' == typeof e) return e; - switch (e) { - case tt: - return 'ReactFragment'; - case et: - return 'ReactPortal'; - case Je: - return 'ReactCall'; - case Ze: - return 'ReactReturn'; - } - if ('object' == typeof e && null !== e) - switch (e.$$typeof) { - case it: - return '' !== (e = e.render.displayName || e.render.name || '') ? 'ForwardRef(' + e + ')' : 'ForwardRef'; - } - return null; - } - function st(e) { - var t = ''; - do { - e: switch (e.tag) { - case 0: - case 1: - case 2: - case 5: - var n = e._debugOwner, - r = e._debugSource, - o = ct(e), - a = null; - n && (a = ct(n)), - (n = r), - (o = - '\n in ' + - (o || 'Unknown') + - (n - ? ' (at ' + n.fileName.replace(/^.*[\\\/]/, '') + ':' + n.lineNumber + ')' - : a - ? ' (created by ' + a + ')' - : '')); - break e; - default: - o = ''; - } - (t += o), (e = e.return); - } while (e); - return t; - } - var ft = /^[: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]*$/, - pt = {}, - dt = {}; - function ht(e, t, n, r, o) { - (this.acceptsBooleans = 2 === t || 3 === t || 4 === t), - (this.attributeName = r), - (this.attributeNamespace = o), - (this.mustUseProperty = n), - (this.propertyName = e), - (this.type = t); - } - var mt = {}; - 'children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style' - .split(' ') - .forEach(function(e) { - mt[e] = new ht(e, 0, !1, e, null); - }), - [ - ['acceptCharset', 'accept-charset'], - ['className', 'class'], - ['htmlFor', 'for'], - ['httpEquiv', 'http-equiv'], - ].forEach(function(e) { - var t = e[0]; - mt[t] = new ht(t, 1, !1, e[1], null); - }), - ['contentEditable', 'draggable', 'spellCheck', 'value'].forEach(function(e) { - mt[e] = new ht(e, 2, !1, e.toLowerCase(), null); - }), - ['autoReverse', 'externalResourcesRequired', 'preserveAlpha'].forEach(function(e) { - mt[e] = new ht(e, 2, !1, e, null); - }), - 'allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope' - .split(' ') - .forEach(function(e) { - mt[e] = new ht(e, 3, !1, e.toLowerCase(), null); - }), - ['checked', 'multiple', 'muted', 'selected'].forEach(function(e) { - mt[e] = new ht(e, 3, !0, e.toLowerCase(), null); - }), - ['capture', 'download'].forEach(function(e) { - mt[e] = new ht(e, 4, !1, e.toLowerCase(), null); - }), - ['cols', 'rows', 'size', 'span'].forEach(function(e) { - mt[e] = new ht(e, 6, !1, e.toLowerCase(), null); - }), - ['rowSpan', 'start'].forEach(function(e) { - mt[e] = new ht(e, 5, !1, e.toLowerCase(), null); - }); - var gt = /[\-:]([a-z])/g; - function yt(e) { - return e[1].toUpperCase(); - } - function vt(e, t, n, r) { - var o = mt.hasOwnProperty(t) ? mt[t] : null; - (null !== o - ? 0 === o.type - : !r && (2 < t.length && ('o' === t[0] || 'O' === t[0]) && ('n' === t[1] || 'N' === t[1]))) || - ((function(e, t, n, r) { - if ( - null === t || - void 0 === t || - (function(e, t, n, r) { - if (null !== n && 0 === n.type) return !1; - switch (typeof t) { - case 'function': - case 'symbol': - return !0; - case 'boolean': - return ( - !r && - (null !== n ? !n.acceptsBooleans : 'data-' !== (e = e.toLowerCase().slice(0, 5)) && 'aria-' !== e) - ); - default: - return !1; - } - })(e, t, n, r) - ) - return !0; - if (null !== n) - switch (n.type) { - case 3: - return !t; - case 4: - return !1 === t; - case 5: - return isNaN(t); - case 6: - return isNaN(t) || 1 > t; - } - return !1; - })(t, n, o, r) && (n = null), - r || null === o - ? (function(e) { - return ( - !!dt.hasOwnProperty(e) || (!pt.hasOwnProperty(e) && (ft.test(e) ? (dt[e] = !0) : ((pt[e] = !0), !1))) - ); - })(t) && (null === n ? e.removeAttribute(t) : e.setAttribute(t, '' + n)) - : o.mustUseProperty - ? (e[o.propertyName] = null === n ? 3 !== o.type && '' : n) - : ((t = o.attributeName), - (r = o.attributeNamespace), - null === n - ? e.removeAttribute(t) - : ((n = 3 === (o = o.type) || (4 === o && !0 === n) ? '' : '' + n), - r ? e.setAttributeNS(r, t, n) : e.setAttribute(t, n)))); - } - function bt(e, t) { - var n = t.checked; - return i({}, t, { - defaultChecked: void 0, - defaultValue: void 0, - value: void 0, - checked: null != n ? n : e._wrapperState.initialChecked, - }); - } - function Ct(e, t) { - var n = null == t.defaultValue ? '' : t.defaultValue, - r = null != t.checked ? t.checked : t.defaultChecked; - (n = Mt(null != t.value ? t.value : n)), - (e._wrapperState = { - initialChecked: r, - initialValue: n, - controlled: 'checkbox' === t.type || 'radio' === t.type ? null != t.checked : null != t.value, - }); - } - function xt(e, t) { - null != (t = t.checked) && vt(e, 'checked', t, !1); - } - function Tt(e, t) { - xt(e, t); - var n = Mt(t.value); - null != n && - ('number' === t.type - ? ((0 === n && '' === e.value) || e.value != n) && (e.value = '' + n) - : e.value !== '' + n && (e.value = '' + n)), - t.hasOwnProperty('value') - ? wt(e, t.type, n) - : t.hasOwnProperty('defaultValue') && wt(e, t.type, Mt(t.defaultValue)), - null == t.checked && null != t.defaultChecked && (e.defaultChecked = !!t.defaultChecked); - } - function kt(e, t) { - (t.hasOwnProperty('value') || t.hasOwnProperty('defaultValue')) && - ('' === e.value && (e.value = '' + e._wrapperState.initialValue), - (e.defaultValue = '' + e._wrapperState.initialValue)), - '' !== (t = e.name) && (e.name = ''), - (e.defaultChecked = !e.defaultChecked), - (e.defaultChecked = !e.defaultChecked), - '' !== t && (e.name = t); - } - function wt(e, t, n) { - ('number' === t && e.ownerDocument.activeElement === e) || - (null == n - ? (e.defaultValue = '' + e._wrapperState.initialValue) - : e.defaultValue !== '' + n && (e.defaultValue = '' + n)); - } - function Mt(e) { - switch (typeof e) { - case 'boolean': - case 'number': - case 'object': - case 'string': - case 'undefined': - return e; - default: - return ''; - } - } - '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(e) { - var t = e.replace(gt, yt); - mt[t] = new ht(t, 1, !1, e, null); - }), - 'xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type' - .split(' ') - .forEach(function(e) { - var t = e.replace(gt, yt); - mt[t] = new ht(t, 1, !1, e, 'http://www.w3.org/1999/xlink'); - }), - ['xml:base', 'xml:lang', 'xml:space'].forEach(function(e) { - var t = e.replace(gt, yt); - mt[t] = new ht(t, 1, !1, e, 'http://www.w3.org/XML/1998/namespace'); - }), - (mt.tabIndex = new ht('tabIndex', 1, !1, 'tabindex', null)); - var Et = { - change: { - phasedRegistrationNames: { bubbled: 'onChange', captured: 'onChangeCapture' }, - dependencies: 'topBlur topChange topClick topFocus topInput topKeyDown topKeyUp topSelectionChange'.split(' '), - }, - }; - function St(e, t, n) { - return ((e = se.getPooled(Et.change, e, t, n)).type = 'change'), Pe(n), ee(e), e; - } - var Nt = null, - Lt = null; - function It(e) { - U(e, !1); - } - function jt(e) { - if ($e(Q(e))) return e; - } - function _t(e, t) { - if ('topChange' === e) return t; - } - var Pt = !1; - function Ot() { - Nt && (Nt.detachEvent('onpropertychange', Dt), (Lt = Nt = null)); - } - function Dt(e) { - 'value' === e.propertyName && jt(Lt) && He(It, (e = St(Lt, e, Qe(e)))); - } - function At(e, t, n) { - 'topFocus' === e ? (Ot(), (Lt = n), (Nt = t).attachEvent('onpropertychange', Dt)) : 'topBlur' === e && Ot(); - } - function Ut(e) { - if ('topSelectionChange' === e || 'topKeyUp' === e || 'topKeyDown' === e) return jt(Lt); - } - function zt(e, t) { - if ('topClick' === e) return jt(t); - } - function Rt(e, t) { - if ('topInput' === e || 'topChange' === e) return jt(t); - } - a.canUseDOM && (Pt = We('input') && (!document.documentMode || 9 < document.documentMode)); - var Ft = { - eventTypes: Et, - _isInputEventSupported: Pt, - extractEvents: function(e, t, n, r) { - var o = t ? Q(t) : window, - a = void 0, - i = void 0, - l = o.nodeName && o.nodeName.toLowerCase(); - if ( - ('select' === l || ('input' === l && 'file' === o.type) - ? (a = _t) - : Ve(o) - ? Pt - ? (a = Rt) - : ((a = Ut), (i = At)) - : (l = o.nodeName) && - 'input' === l.toLowerCase() && - ('checkbox' === o.type || 'radio' === o.type) && - (a = zt), - a && (a = a(e, t))) - ) - return St(a, n, r); - i && i(e, o, t), - 'topBlur' === e && - null != t && - (e = t._wrapperState || o._wrapperState) && - e.controlled && - 'number' === o.type && - wt(o, 'number', o.value); - }, - }, - Ht = se.extend({ view: null, detail: null }), - Bt = { Alt: 'altKey', Control: 'ctrlKey', Meta: 'metaKey', Shift: 'shiftKey' }; - function Vt(e) { - var t = this.nativeEvent; - return t.getModifierState ? t.getModifierState(e) : !!(e = Bt[e]) && !!t[e]; - } - function Qt() { - return Vt; - } - var Wt = Ht.extend({ - screenX: null, - screenY: null, - clientX: null, - clientY: null, - pageX: null, - pageY: null, - ctrlKey: null, - shiftKey: null, - altKey: null, - metaKey: null, - getModifierState: Qt, - button: null, - buttons: null, - relatedTarget: function(e) { - return e.relatedTarget || (e.fromElement === e.srcElement ? e.toElement : e.fromElement); - }, - }), - Yt = { - mouseEnter: { registrationName: 'onMouseEnter', dependencies: ['topMouseOut', 'topMouseOver'] }, - mouseLeave: { registrationName: 'onMouseLeave', dependencies: ['topMouseOut', 'topMouseOver'] }, - }, - Kt = { - eventTypes: Yt, - extractEvents: function(e, t, n, r) { - if ( - ('topMouseOver' === e && (n.relatedTarget || n.fromElement)) || - ('topMouseOut' !== e && 'topMouseOver' !== e) - ) - return null; - var o = r.window === r ? r : (o = r.ownerDocument) ? o.defaultView || o.parentWindow : window; - if ( - ('topMouseOut' === e ? ((e = t), (t = (t = n.relatedTarget || n.toElement) ? V(t) : null)) : (e = null), - e === t) - ) - return null; - var a = null == e ? o : Q(e); - o = null == t ? o : Q(t); - var i = Wt.getPooled(Yt.mouseLeave, e, n, r); - return ( - (i.type = 'mouseleave'), - (i.target = a), - (i.relatedTarget = o), - ((n = Wt.getPooled(Yt.mouseEnter, t, n, r)).type = 'mouseenter'), - (n.target = o), - (n.relatedTarget = a), - te(i, n, e, t), - [i, n] - ); - }, - }; - function $t(e) { - var t = e; - if (e.alternate) for (; t.return; ) t = t.return; - else { - if (0 != (2 & t.effectTag)) return 1; - for (; t.return; ) if (0 != (2 & (t = t.return).effectTag)) return 1; - } - return 3 === t.tag ? 2 : 3; - } - function qt(e) { - return !!(e = e._reactInternalFiber) && 2 === $t(e); - } - function Gt(e) { - 2 !== $t(e) && p('188'); - } - function Xt(e) { - var t = e.alternate; - if (!t) return 3 === (t = $t(e)) && p('188'), 1 === t ? null : e; - for (var n = e, r = t; ; ) { - var o = n.return, - a = o ? o.alternate : null; - if (!o || !a) break; - if (o.child === a.child) { - for (var i = o.child; i; ) { - if (i === n) return Gt(o), e; - if (i === r) return Gt(o), t; - i = i.sibling; - } - p('188'); - } - if (n.return !== r.return) (n = o), (r = a); - else { - i = !1; - for (var l = o.child; l; ) { - if (l === n) { - (i = !0), (n = o), (r = a); - break; - } - if (l === r) { - (i = !0), (r = o), (n = a); - break; - } - l = l.sibling; - } - if (!i) { - for (l = a.child; l; ) { - if (l === n) { - (i = !0), (n = a), (r = o); - break; - } - if (l === r) { - (i = !0), (r = a), (n = o); - break; - } - l = l.sibling; - } - i || p('189'); - } - } - n.alternate !== r && p('190'); - } - return 3 !== n.tag && p('188'), n.stateNode.current === n ? e : t; - } - function Jt(e) { - if (!(e = Xt(e))) return null; - for (var t = e; ; ) { - if (5 === t.tag || 6 === t.tag) return t; - if (t.child) (t.child.return = t), (t = t.child); - else { - if (t === e) break; - for (; !t.sibling; ) { - if (!t.return || t.return === e) return null; - t = t.return; - } - (t.sibling.return = t.return), (t = t.sibling); - } - } - return null; - } - var Zt = se.extend({ animationName: null, elapsedTime: null, pseudoElement: null }), - en = se.extend({ - clipboardData: function(e) { - return 'clipboardData' in e ? e.clipboardData : window.clipboardData; - }, - }), - tn = Ht.extend({ relatedTarget: null }); - function nn(e) { - var t = e.keyCode; - return ( - 'charCode' in e ? 0 === (e = e.charCode) && 13 === t && (e = 13) : (e = t), - 10 === e && (e = 13), - 32 <= e || 13 === e ? e : 0 - ); - } - var rn = { - Esc: 'Escape', - Spacebar: ' ', - Left: 'ArrowLeft', - Up: 'ArrowUp', - Right: 'ArrowRight', - Down: 'ArrowDown', - Del: 'Delete', - Win: 'OS', - Menu: 'ContextMenu', - Apps: 'ContextMenu', - Scroll: 'ScrollLock', - MozPrintableKey: 'Unidentified', - }, - on = { - 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', - }, - an = Ht.extend({ - key: function(e) { - if (e.key) { - var t = rn[e.key] || e.key; - if ('Unidentified' !== t) return t; - } - return 'keypress' === e.type - ? 13 === (e = nn(e)) - ? 'Enter' - : String.fromCharCode(e) - : 'keydown' === e.type || 'keyup' === e.type - ? on[e.keyCode] || 'Unidentified' - : ''; - }, - location: null, - ctrlKey: null, - shiftKey: null, - altKey: null, - metaKey: null, - repeat: null, - locale: null, - getModifierState: Qt, - charCode: function(e) { - return 'keypress' === e.type ? nn(e) : 0; - }, - keyCode: function(e) { - return 'keydown' === e.type || 'keyup' === e.type ? e.keyCode : 0; - }, - which: function(e) { - return 'keypress' === e.type ? nn(e) : 'keydown' === e.type || 'keyup' === e.type ? e.keyCode : 0; - }, - }), - ln = Wt.extend({ dataTransfer: null }), - un = Ht.extend({ - touches: null, - targetTouches: null, - changedTouches: null, - altKey: null, - metaKey: null, - ctrlKey: null, - shiftKey: null, - getModifierState: Qt, - }), - cn = se.extend({ propertyName: null, elapsedTime: null, pseudoElement: null }), - sn = Wt.extend({ - deltaX: function(e) { - return 'deltaX' in e ? e.deltaX : 'wheelDeltaX' in e ? -e.wheelDeltaX : 0; - }, - deltaY: function(e) { - return 'deltaY' in e ? e.deltaY : 'wheelDeltaY' in e ? -e.wheelDeltaY : 'wheelDelta' in e ? -e.wheelDelta : 0; - }, - deltaZ: null, - deltaMode: null, - }), - fn = {}, - pn = {}; - function dn(e, t) { - var n = e[0].toUpperCase() + e.slice(1), - r = 'on' + n; - (t = { - phasedRegistrationNames: { bubbled: r, captured: r + 'Capture' }, - dependencies: [(n = 'top' + n)], - isInteractive: t, - }), - (fn[e] = t), - (pn[n] = t); - } - 'blur cancel click close contextMenu copy cut doubleClick dragEnd dragStart drop focus input invalid keyDown keyPress keyUp mouseDown mouseUp paste pause play rateChange reset seeked submit touchCancel touchEnd touchStart volumeChange' - .split(' ') - .forEach(function(e) { - dn(e, !0); - }), - 'abort animationEnd animationIteration animationStart canPlay canPlayThrough drag dragEnter dragExit dragLeave dragOver durationChange emptied encrypted ended error load loadedData loadedMetadata loadStart mouseMove mouseOut mouseOver playing progress scroll seeking stalled suspend timeUpdate toggle touchMove transitionEnd waiting wheel' - .split(' ') - .forEach(function(e) { - dn(e, !1); - }); - var hn = { - eventTypes: fn, - isInteractiveTopLevelEventType: function(e) { - return void 0 !== (e = pn[e]) && !0 === e.isInteractive; - }, - extractEvents: function(e, t, n, r) { - var o = pn[e]; - if (!o) return null; - switch (e) { - case 'topKeyPress': - if (0 === nn(n)) return null; - case 'topKeyDown': - case 'topKeyUp': - e = an; - break; - case 'topBlur': - case 'topFocus': - e = tn; - break; - case 'topClick': - if (2 === n.button) return null; - case 'topDoubleClick': - case 'topMouseDown': - case 'topMouseMove': - case 'topMouseUp': - case 'topMouseOut': - case 'topMouseOver': - case 'topContextMenu': - e = Wt; - break; - case 'topDrag': - case 'topDragEnd': - case 'topDragEnter': - case 'topDragExit': - case 'topDragLeave': - case 'topDragOver': - case 'topDragStart': - case 'topDrop': - e = ln; - break; - case 'topTouchCancel': - case 'topTouchEnd': - case 'topTouchMove': - case 'topTouchStart': - e = un; - break; - case 'topAnimationEnd': - case 'topAnimationIteration': - case 'topAnimationStart': - e = Zt; - break; - case 'topTransitionEnd': - e = cn; - break; - case 'topScroll': - e = Ht; - break; - case 'topWheel': - e = sn; - break; - case 'topCopy': - case 'topCut': - case 'topPaste': - e = en; - break; - default: - e = se; - } - return ee((t = e.getPooled(o, t, n, r))), t; - }, - }, - mn = hn.isInteractiveTopLevelEventType, - gn = []; - function yn(e) { - var t = e.targetInst; - do { - if (!t) { - e.ancestors.push(t); - break; - } - var n; - for (n = t; n.return; ) n = n.return; - if (!(n = 3 !== n.tag ? null : n.stateNode.containerInfo)) break; - e.ancestors.push(t), (t = V(n)); - } while (t); - for (n = 0; n < e.ancestors.length; n++) - (t = e.ancestors[n]), z(e.topLevelType, t, e.nativeEvent, Qe(e.nativeEvent)); - } - var vn = !0; - function bn(e) { - vn = !!e; - } - function Cn(e, t, n) { - if (!n) return null; - (e = (mn(e) ? Tn : kn).bind(null, e)), n.addEventListener(t, e, !1); - } - function xn(e, t, n) { - if (!n) return null; - (e = (mn(e) ? Tn : kn).bind(null, e)), n.addEventListener(t, e, !0); - } - function Tn(e, t) { - ze(kn, e, t); - } - function kn(e, t) { - if (vn) { - var n = Qe(t); - if ((null !== (n = V(n)) && 'number' == typeof n.tag && 2 !== $t(n) && (n = null), gn.length)) { - var r = gn.pop(); - (r.topLevelType = e), (r.nativeEvent = t), (r.targetInst = n), (e = r); - } else e = { topLevelType: e, nativeEvent: t, targetInst: n, ancestors: [] }; - try { - He(yn, e); - } finally { - (e.topLevelType = null), - (e.nativeEvent = null), - (e.targetInst = null), - (e.ancestors.length = 0), - 10 > gn.length && gn.push(e); - } - } - } - var wn = Object.freeze({ - get _enabled() { - return vn; - }, - setEnabled: bn, - isEnabled: function() { - return vn; - }, - trapBubbledEvent: Cn, - trapCapturedEvent: xn, - dispatchEvent: kn, - }); - function Mn(e, t) { - var n = {}; - return ( - (n[e.toLowerCase()] = t.toLowerCase()), - (n['Webkit' + e] = 'webkit' + t), - (n['Moz' + e] = 'moz' + t), - (n['ms' + e] = 'MS' + t), - (n['O' + e] = 'o' + t.toLowerCase()), - n - ); - } - var En = { - animationend: Mn('Animation', 'AnimationEnd'), - animationiteration: Mn('Animation', 'AnimationIteration'), - animationstart: Mn('Animation', 'AnimationStart'), - transitionend: Mn('Transition', 'TransitionEnd'), - }, - Sn = {}, - Nn = {}; - function Ln(e) { - if (Sn[e]) return Sn[e]; - if (!En[e]) return e; - var t, - n = En[e]; - for (t in n) if (n.hasOwnProperty(t) && t in Nn) return (Sn[e] = n[t]); - return e; - } - a.canUseDOM && - ((Nn = document.createElement('div').style), - 'AnimationEvent' in window || - (delete En.animationend.animation, delete En.animationiteration.animation, delete En.animationstart.animation), - 'TransitionEvent' in window || delete En.transitionend.transition); - var In = { - topAnimationEnd: Ln('animationend'), - topAnimationIteration: Ln('animationiteration'), - topAnimationStart: Ln('animationstart'), - topBlur: 'blur', - topCancel: 'cancel', - topChange: 'change', - topClick: 'click', - topClose: 'close', - topCompositionEnd: 'compositionend', - topCompositionStart: 'compositionstart', - topCompositionUpdate: 'compositionupdate', - topContextMenu: 'contextmenu', - topCopy: 'copy', - topCut: 'cut', - topDoubleClick: 'dblclick', - topDrag: 'drag', - topDragEnd: 'dragend', - topDragEnter: 'dragenter', - topDragExit: 'dragexit', - topDragLeave: 'dragleave', - topDragOver: 'dragover', - topDragStart: 'dragstart', - topDrop: 'drop', - topFocus: 'focus', - topInput: 'input', - topKeyDown: 'keydown', - topKeyPress: 'keypress', - topKeyUp: 'keyup', - topLoad: 'load', - topLoadStart: 'loadstart', - topMouseDown: 'mousedown', - topMouseMove: 'mousemove', - topMouseOut: 'mouseout', - topMouseOver: 'mouseover', - topMouseUp: 'mouseup', - topPaste: 'paste', - topScroll: 'scroll', - topSelectionChange: 'selectionchange', - topTextInput: 'textInput', - topToggle: 'toggle', - topTouchCancel: 'touchcancel', - topTouchEnd: 'touchend', - topTouchMove: 'touchmove', - topTouchStart: 'touchstart', - topTransitionEnd: Ln('transitionend'), - topWheel: 'wheel', - }, - jn = { - topAbort: 'abort', - topCanPlay: 'canplay', - topCanPlayThrough: 'canplaythrough', - topDurationChange: 'durationchange', - topEmptied: 'emptied', - topEncrypted: 'encrypted', - topEnded: 'ended', - topError: 'error', - topLoadedData: 'loadeddata', - topLoadedMetadata: 'loadedmetadata', - topLoadStart: 'loadstart', - topPause: 'pause', - topPlay: 'play', - topPlaying: 'playing', - topProgress: 'progress', - topRateChange: 'ratechange', - topSeeked: 'seeked', - topSeeking: 'seeking', - topStalled: 'stalled', - topSuspend: 'suspend', - topTimeUpdate: 'timeupdate', - topVolumeChange: 'volumechange', - topWaiting: 'waiting', - }, - _n = {}, - Pn = 0, - On = '_reactListenersID' + ('' + Math.random()).slice(2); - function Dn(e) { - return Object.prototype.hasOwnProperty.call(e, On) || ((e[On] = Pn++), (_n[e[On]] = {})), _n[e[On]]; - } - function An(e) { - for (; e && e.firstChild; ) e = e.firstChild; - return e; - } - function Un(e, t) { - var n, - r = An(e); - for (e = 0; r; ) { - if (3 === r.nodeType) { - if (((n = e + r.textContent.length), e <= t && n >= t)) return { node: r, offset: t - e }; - e = n; - } - e: { - for (; r; ) { - if (r.nextSibling) { - r = r.nextSibling; - break e; - } - r = r.parentNode; - } - r = void 0; - } - r = An(r); - } - } - function zn(e) { - var t = e && e.nodeName && e.nodeName.toLowerCase(); - return t && (('input' === t && 'text' === e.type) || 'textarea' === t || 'true' === e.contentEditable); - } - var Rn = a.canUseDOM && 'documentMode' in document && 11 >= document.documentMode, - Fn = { - select: { - phasedRegistrationNames: { bubbled: 'onSelect', captured: 'onSelectCapture' }, - dependencies: 'topBlur topContextMenu topFocus topKeyDown topKeyUp topMouseDown topMouseUp topSelectionChange'.split( - ' ' - ), - }, - }, - Hn = null, - Bn = null, - Vn = null, - Qn = !1; - function Wn(e, t) { - if (Qn || null == Hn || Hn !== u()) return null; - var n = Hn; - return ( - 'selectionStart' in n && zn(n) - ? (n = { start: n.selectionStart, end: n.selectionEnd }) - : window.getSelection - ? (n = { - anchorNode: (n = window.getSelection()).anchorNode, - anchorOffset: n.anchorOffset, - focusNode: n.focusNode, - focusOffset: n.focusOffset, - }) - : (n = void 0), - Vn && c(Vn, n) - ? null - : ((Vn = n), ((e = se.getPooled(Fn.select, Bn, e, t)).type = 'select'), (e.target = Hn), ee(e), e) - ); - } - var Yn = { - eventTypes: Fn, - extractEvents: function(e, t, n, r) { - var o, - a = r.window === r ? r.document : 9 === r.nodeType ? r : r.ownerDocument; - if (!(o = !a)) { - e: { - (a = Dn(a)), (o = x.onSelect); - for (var i = 0; i < o.length; i++) { - var l = o[i]; - if (!a.hasOwnProperty(l) || !a[l]) { - a = !1; - break e; - } - } - a = !0; - } - o = !a; - } - if (o) return null; - switch (((a = t ? Q(t) : window), e)) { - case 'topFocus': - (Ve(a) || 'true' === a.contentEditable) && ((Hn = a), (Bn = t), (Vn = null)); - break; - case 'topBlur': - Vn = Bn = Hn = null; - break; - case 'topMouseDown': - Qn = !0; - break; - case 'topContextMenu': - case 'topMouseUp': - return (Qn = !1), Wn(n, r); - case 'topSelectionChange': - if (Rn) break; - case 'topKeyDown': - case 'topKeyUp': - return Wn(n, r); - } - return null; - }, - }; - function Kn(e, t, n, r) { - (this.tag = e), - (this.key = n), - (this.stateNode = this.type = null), - (this.sibling = this.child = this.return = null), - (this.index = 0), - (this.ref = null), - (this.pendingProps = t), - (this.memoizedState = this.updateQueue = this.memoizedProps = null), - (this.mode = r), - (this.effectTag = 0), - (this.lastEffect = this.firstEffect = this.nextEffect = null), - (this.expirationTime = 0), - (this.alternate = null); - } - function $n(e, t, n) { - var r = e.alternate; - return ( - null === r - ? (((r = new Kn(e.tag, t, e.key, e.mode)).type = e.type), - (r.stateNode = e.stateNode), - (r.alternate = e), - (e.alternate = r)) - : ((r.pendingProps = t), - (r.effectTag = 0), - (r.nextEffect = null), - (r.firstEffect = null), - (r.lastEffect = null)), - (r.expirationTime = n), - (r.child = e.child), - (r.memoizedProps = e.memoizedProps), - (r.memoizedState = e.memoizedState), - (r.updateQueue = e.updateQueue), - (r.sibling = e.sibling), - (r.index = e.index), - (r.ref = e.ref), - r - ); - } - function qn(e, t, n) { - var r = e.type, - o = e.key; - e = e.props; - var a = void 0; - if ('function' == typeof r) a = r.prototype && r.prototype.isReactComponent ? 2 : 0; - else if ('string' == typeof r) a = 5; - else - switch (r) { - case tt: - return Gn(e.children, t, n, o); - case at: - (a = 11), (t |= 3); - break; - case nt: - (a = 11), (t |= 2); - break; - case Je: - a = 7; - break; - case Ze: - a = 9; - break; - default: - if ('object' == typeof r && null !== r) - switch (r.$$typeof) { - case rt: - a = 13; - break; - case ot: - a = 12; - break; - case it: - a = 14; - break; - default: - if ('number' == typeof r.tag) return ((t = r).pendingProps = e), (t.expirationTime = n), t; - p('130', null == r ? r : typeof r, ''); - } - else p('130', null == r ? r : typeof r, ''); - } - return ((t = new Kn(a, e, o, t)).type = r), (t.expirationTime = n), t; - } - function Gn(e, t, n, r) { - return ((e = new Kn(10, e, r, t)).expirationTime = n), e; - } - function Xn(e, t, n) { - return ((e = new Kn(6, e, null, t)).expirationTime = n), e; - } - function Jn(e, t, n) { - return ( - ((t = new Kn(4, null !== e.children ? e.children : [], e.key, t)).expirationTime = n), - (t.stateNode = { containerInfo: e.containerInfo, pendingChildren: null, implementation: e.implementation }), - t - ); - } - D.injectEventPluginOrder( - 'ResponderEventPlugin SimpleEventPlugin TapEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin'.split( - ' ' - ) - ), - (M = Y.getFiberCurrentPropsFromNode), - (E = Y.getInstanceFromNode), - (S = Y.getNodeFromInstance), - D.injectEventPluginsByName({ - SimpleEventPlugin: hn, - EnterLeaveEventPlugin: Kt, - ChangeEventPlugin: Ft, - SelectEventPlugin: Yn, - BeforeInputEventPlugin: Se, - }); - var Zn = null, - er = null; - function tr(e) { - return function(t) { - try { - return e(t); - } catch (e) {} - }; - } - function nr(e) { - 'function' == typeof Zn && Zn(e); - } - function rr(e) { - 'function' == typeof er && er(e); - } - function or(e) { - return { - baseState: e, - expirationTime: 0, - first: null, - last: null, - callbackList: null, - hasForceUpdate: !1, - isInitialized: !1, - capturedValues: null, - }; - } - function ar(e, t) { - null === e.last ? (e.first = e.last = t) : ((e.last.next = t), (e.last = t)), - (0 === e.expirationTime || e.expirationTime > t.expirationTime) && (e.expirationTime = t.expirationTime); - } - new Set(); - var ir = void 0, - lr = void 0; - function ur(e) { - ir = lr = null; - var t = e.alternate, - n = e.updateQueue; - null === n && (n = e.updateQueue = or(null)), - null !== t ? null === (e = t.updateQueue) && (e = t.updateQueue = or(null)) : (e = null), - (ir = n), - (lr = e !== n ? e : null); - } - function cr(e, t) { - ur(e), (e = ir); - var n = lr; - null === n ? ar(e, t) : null === e.last || null === n.last ? (ar(e, t), ar(n, t)) : (ar(e, t), (n.last = t)); - } - function sr(e, t, n, r) { - return 'function' == typeof (e = e.partialState) ? e.call(t, n, r) : e; - } - function fr(e, t, n, r, o, a) { - null !== e && - e.updateQueue === n && - (n = t.updateQueue = { - baseState: n.baseState, - expirationTime: n.expirationTime, - first: n.first, - last: n.last, - isInitialized: n.isInitialized, - capturedValues: n.capturedValues, - callbackList: null, - hasForceUpdate: !1, - }), - (n.expirationTime = 0), - n.isInitialized ? (e = n.baseState) : ((e = n.baseState = t.memoizedState), (n.isInitialized = !0)); - for (var l = !0, u = n.first, c = !1; null !== u; ) { - var s = u.expirationTime; - if (s > a) { - var f = n.expirationTime; - (0 === f || f > s) && (n.expirationTime = s), c || ((c = !0), (n.baseState = e)); - } else - c || ((n.first = u.next), null === n.first && (n.last = null)), - u.isReplace - ? ((e = sr(u, r, e, o)), (l = !0)) - : (s = sr(u, r, e, o)) && ((e = l ? i({}, e, s) : i(e, s)), (l = !1)), - u.isForced && (n.hasForceUpdate = !0), - null !== u.callback && (null === (s = n.callbackList) && (s = n.callbackList = []), s.push(u)), - null !== u.capturedValue && - (null === (s = n.capturedValues) ? (n.capturedValues = [u.capturedValue]) : s.push(u.capturedValue)); - u = u.next; - } - return ( - null !== n.callbackList - ? (t.effectTag |= 32) - : null !== n.first || n.hasForceUpdate || null !== n.capturedValues || (t.updateQueue = null), - c || (n.baseState = e), - e - ); - } - function pr(e, t) { - var n = e.callbackList; - if (null !== n) - for (e.callbackList = null, e = 0; e < n.length; e++) { - var r = n[e], - o = r.callback; - (r.callback = null), 'function' != typeof o && p('191', o), o.call(t); - } - } - var dr = Array.isArray; - function hr(e, t, n) { - if (null !== (e = n.ref) && 'function' != typeof e && 'object' != typeof e) { - if (n._owner) { - var r = void 0; - (n = n._owner) && (2 !== n.tag && p('110'), (r = n.stateNode)), r || p('147', e); - var o = '' + e; - return null !== t && null !== t.ref && t.ref._stringRef === o - ? t.ref - : (((t = function(e) { - var t = r.refs === f ? (r.refs = {}) : r.refs; - null === e ? delete t[o] : (t[o] = e); - })._stringRef = o), - t); - } - 'string' != typeof e && p('148'), n._owner || p('254', e); - } - return e; - } - function mr(e, t) { - 'textarea' !== e.type && - p( - '31', - '[object Object]' === Object.prototype.toString.call(t) - ? 'object with keys {' + Object.keys(t).join(', ') + '}' - : t, - '' - ); - } - function gr(e) { - function t(t, n) { - if (e) { - var r = t.lastEffect; - null !== r ? ((r.nextEffect = n), (t.lastEffect = n)) : (t.firstEffect = t.lastEffect = n), - (n.nextEffect = null), - (n.effectTag = 8); - } - } - function n(n, r) { - if (!e) return null; - for (; null !== r; ) t(n, r), (r = r.sibling); - return null; - } - function r(e, t) { - for (e = new Map(); null !== t; ) null !== t.key ? e.set(t.key, t) : e.set(t.index, t), (t = t.sibling); - return e; - } - function o(e, t, n) { - return ((e = $n(e, t, n)).index = 0), (e.sibling = null), e; - } - function a(t, n, r) { - return ( - (t.index = r), - e - ? null !== (r = t.alternate) - ? (r = r.index) < n - ? ((t.effectTag = 2), n) - : r - : ((t.effectTag = 2), n) - : n - ); - } - function i(t) { - return e && null === t.alternate && (t.effectTag = 2), t; - } - function l(e, t, n, r) { - return null === t || 6 !== t.tag - ? (((t = Xn(n, e.mode, r)).return = e), t) - : (((t = o(t, n, r)).return = e), t); - } - function u(e, t, n, r) { - return null !== t && t.type === n.type - ? (((r = o(t, n.props, r)).ref = hr(e, t, n)), (r.return = e), r) - : (((r = qn(n, e.mode, r)).ref = hr(e, t, n)), (r.return = e), r); - } - function c(e, t, n, r) { - return null === t || - 4 !== t.tag || - t.stateNode.containerInfo !== n.containerInfo || - t.stateNode.implementation !== n.implementation - ? (((t = Jn(n, e.mode, r)).return = e), t) - : (((t = o(t, n.children || [], r)).return = e), t); - } - function s(e, t, n, r, a) { - return null === t || 10 !== t.tag - ? (((t = Gn(n, e.mode, r, a)).return = e), t) - : (((t = o(t, n, r)).return = e), t); - } - function f(e, t, n) { - if ('string' == typeof t || 'number' == typeof t) return ((t = Xn('' + t, e.mode, n)).return = e), t; - if ('object' == typeof t && null !== t) { - switch (t.$$typeof) { - case Xe: - return ((n = qn(t, e.mode, n)).ref = hr(e, null, t)), (n.return = e), n; - case et: - return ((t = Jn(t, e.mode, n)).return = e), t; - } - if (dr(t) || ut(t)) return ((t = Gn(t, e.mode, n, null)).return = e), t; - mr(e, t); - } - return null; - } - function d(e, t, n, r) { - var o = null !== t ? t.key : null; - if ('string' == typeof n || 'number' == typeof n) return null !== o ? null : l(e, t, '' + n, r); - if ('object' == typeof n && null !== n) { - switch (n.$$typeof) { - case Xe: - return n.key === o ? (n.type === tt ? s(e, t, n.props.children, r, o) : u(e, t, n, r)) : null; - case et: - return n.key === o ? c(e, t, n, r) : null; - } - if (dr(n) || ut(n)) return null !== o ? null : s(e, t, n, r, null); - mr(e, n); - } - return null; - } - function h(e, t, n, r, o) { - if ('string' == typeof r || 'number' == typeof r) return l(t, (e = e.get(n) || null), '' + r, o); - if ('object' == typeof r && null !== r) { - switch (r.$$typeof) { - case Xe: - return ( - (e = e.get(null === r.key ? n : r.key) || null), - r.type === tt ? s(t, e, r.props.children, o, r.key) : u(t, e, r, o) - ); - case et: - return c(t, (e = e.get(null === r.key ? n : r.key) || null), r, o); - } - if (dr(r) || ut(r)) return s(t, (e = e.get(n) || null), r, o, null); - mr(t, r); - } - return null; - } - function m(o, i, l, u) { - for (var c = null, s = null, p = i, m = (i = 0), g = null; null !== p && m < l.length; m++) { - p.index > m ? ((g = p), (p = null)) : (g = p.sibling); - var y = d(o, p, l[m], u); - if (null === y) { - null === p && (p = g); - break; - } - e && p && null === y.alternate && t(o, p), - (i = a(y, i, m)), - null === s ? (c = y) : (s.sibling = y), - (s = y), - (p = g); - } - if (m === l.length) return n(o, p), c; - if (null === p) { - for (; m < l.length; m++) - (p = f(o, l[m], u)) && ((i = a(p, i, m)), null === s ? (c = p) : (s.sibling = p), (s = p)); - return c; - } - for (p = r(o, p); m < l.length; m++) - (g = h(p, o, m, l[m], u)) && - (e && null !== g.alternate && p.delete(null === g.key ? m : g.key), - (i = a(g, i, m)), - null === s ? (c = g) : (s.sibling = g), - (s = g)); - return ( - e && - p.forEach(function(e) { - return t(o, e); - }), - c - ); - } - function g(o, i, l, u) { - var c = ut(l); - 'function' != typeof c && p('150'), null == (l = c.call(l)) && p('151'); - for (var s = (c = null), m = i, g = (i = 0), y = null, v = l.next(); null !== m && !v.done; g++, v = l.next()) { - m.index > g ? ((y = m), (m = null)) : (y = m.sibling); - var b = d(o, m, v.value, u); - if (null === b) { - m || (m = y); - break; - } - e && m && null === b.alternate && t(o, m), - (i = a(b, i, g)), - null === s ? (c = b) : (s.sibling = b), - (s = b), - (m = y); - } - if (v.done) return n(o, m), c; - if (null === m) { - for (; !v.done; g++, v = l.next()) - null !== (v = f(o, v.value, u)) && ((i = a(v, i, g)), null === s ? (c = v) : (s.sibling = v), (s = v)); - return c; - } - for (m = r(o, m); !v.done; g++, v = l.next()) - null !== (v = h(m, o, g, v.value, u)) && - (e && null !== v.alternate && m.delete(null === v.key ? g : v.key), - (i = a(v, i, g)), - null === s ? (c = v) : (s.sibling = v), - (s = v)); - return ( - e && - m.forEach(function(e) { - return t(o, e); - }), - c - ); - } - return function(e, r, a, l) { - 'object' == typeof a && null !== a && a.type === tt && null === a.key && (a = a.props.children); - var u = 'object' == typeof a && null !== a; - if (u) - switch (a.$$typeof) { - case Xe: - e: { - var c = a.key; - for (u = r; null !== u; ) { - if (u.key === c) { - if (10 === u.tag ? a.type === tt : u.type === a.type) { - n(e, u.sibling), - ((r = o(u, a.type === tt ? a.props.children : a.props, l)).ref = hr(e, u, a)), - (r.return = e), - (e = r); - break e; - } - n(e, u); - break; - } - t(e, u), (u = u.sibling); - } - a.type === tt - ? (((r = Gn(a.props.children, e.mode, l, a.key)).return = e), (e = r)) - : (((l = qn(a, e.mode, l)).ref = hr(e, r, a)), (l.return = e), (e = l)); - } - return i(e); - case et: - e: { - for (u = a.key; null !== r; ) { - if (r.key === u) { - if ( - 4 === r.tag && - r.stateNode.containerInfo === a.containerInfo && - r.stateNode.implementation === a.implementation - ) { - n(e, r.sibling), ((r = o(r, a.children || [], l)).return = e), (e = r); - break e; - } - n(e, r); - break; - } - t(e, r), (r = r.sibling); - } - ((r = Jn(a, e.mode, l)).return = e), (e = r); - } - return i(e); - } - if ('string' == typeof a || 'number' == typeof a) - return ( - (a = '' + a), - null !== r && 6 === r.tag - ? (n(e, r.sibling), ((r = o(r, a, l)).return = e), (e = r)) - : (n(e, r), ((r = Xn(a, e.mode, l)).return = e), (e = r)), - i(e) - ); - if (dr(a)) return m(e, r, a, l); - if (ut(a)) return g(e, r, a, l); - if ((u && mr(e, a), void 0 === a)) - switch (e.tag) { - case 2: - case 1: - p('152', (l = e.type).displayName || l.name || 'Component'); - } - return n(e, r); - }; - } - var yr = gr(!0), - vr = gr(!1); - function br(e, t, n, r, o, a, l) { - function u(e, t, n) { - s(e, t, n, t.expirationTime); - } - function s(e, t, n, r) { - t.child = null === e ? vr(t, null, n, r) : yr(t, e.child, n, r); - } - function d(e, t) { - var n = t.ref; - ((null === e && null !== n) || (null !== e && e.ref !== n)) && (t.effectTag |= 128); - } - function h(e, t, n, r, o, a) { - if ((d(e, t), !n && !o)) return r && N(t, !1), y(e, t); - (n = t.stateNode), (qe.current = t); - var i = o ? null : n.render(); - return ( - (t.effectTag |= 1), - o && (s(e, t, null, a), (t.child = null)), - s(e, t, i, a), - (t.memoizedState = n.state), - (t.memoizedProps = n.props), - r && N(t, !0), - t.child - ); - } - function m(e) { - var t = e.stateNode; - t.pendingContext ? S(e, t.pendingContext, t.pendingContext !== t.context) : t.context && S(e, t.context, !1), - x(e, t.containerInfo); - } - function g(e, t, n, r) { - var o = e.child; - for (null !== o && (o.return = e); null !== o; ) { - switch (o.tag) { - case 12: - var a = 0 | o.stateNode; - if (o.type === t && 0 != (a & n)) { - for (a = o; null !== a; ) { - var i = a.alternate; - if (0 === a.expirationTime || a.expirationTime > r) - (a.expirationTime = r), - null !== i && (0 === i.expirationTime || i.expirationTime > r) && (i.expirationTime = r); - else { - if (null === i || !(0 === i.expirationTime || i.expirationTime > r)) break; - i.expirationTime = r; - } - a = a.return; - } - a = null; - } else a = o.child; - break; - case 13: - a = o.type === e.type ? null : o.child; - break; - default: - a = o.child; - } - if (null !== a) a.return = o; - else - for (a = o; null !== a; ) { - if (a === e) { - a = null; - break; - } - if (null !== (o = a.sibling)) { - a = o; - break; - } - a = a.return; - } - o = a; - } - } - function y(e, t) { - if ((null !== e && t.child !== e.child && p('153'), null !== t.child)) { - var n = $n((e = t.child), e.pendingProps, e.expirationTime); - for (t.child = n, n.return = t; null !== e.sibling; ) - (e = e.sibling), ((n = n.sibling = $n(e, e.pendingProps, e.expirationTime)).return = t); - n.sibling = null; - } - return t.child; - } - var v = e.shouldSetTextContent, - b = e.shouldDeprioritizeSubtree, - C = t.pushHostContext, - x = t.pushHostContainer, - T = r.pushProvider, - k = n.getMaskedContext, - w = n.getUnmaskedContext, - M = n.hasContextChanged, - E = n.pushContextProvider, - S = n.pushTopLevelContextObject, - N = n.invalidateContextProvider, - L = o.enterHydrationState, - I = o.resetHydrationState, - j = o.tryToClaimNextHydratableInstance, - _ = (e = (function(e, t, n, r, o) { - function a(e, t, n, r, o, a) { - if (null === t || (null !== e.updateQueue && e.updateQueue.hasForceUpdate)) return !0; - var i = e.stateNode; - return ( - (e = e.type), - 'function' == typeof i.shouldComponentUpdate - ? i.shouldComponentUpdate(n, o, a) - : !(e.prototype && e.prototype.isPureReactComponent && c(t, n) && c(r, o)) - ); - } - function l(e, t) { - (t.updater = y), (e.stateNode = t), (t._reactInternalFiber = e); - } - function u(e, t, n, r) { - (e = t.state), - 'function' == typeof t.componentWillReceiveProps && t.componentWillReceiveProps(n, r), - 'function' == typeof t.UNSAFE_componentWillReceiveProps && t.UNSAFE_componentWillReceiveProps(n, r), - t.state !== e && y.enqueueReplaceState(t, t.state, null); - } - function s(e, t, n, r) { - if ('function' == typeof (e = e.type).getDerivedStateFromProps) - return e.getDerivedStateFromProps.call(null, n, r); - } - var p = e.cacheContext, - d = e.getMaskedContext, - h = e.getUnmaskedContext, - m = e.isContextConsumer, - g = e.hasContextChanged, - y = { - isMounted: qt, - enqueueSetState: function(e, r, o) { - (e = e._reactInternalFiber), (o = void 0 === o ? null : o); - var a = n(e); - cr(e, { - expirationTime: a, - partialState: r, - callback: o, - isReplace: !1, - isForced: !1, - capturedValue: null, - next: null, - }), - t(e, a); - }, - enqueueReplaceState: function(e, r, o) { - (e = e._reactInternalFiber), (o = void 0 === o ? null : o); - var a = n(e); - cr(e, { - expirationTime: a, - partialState: r, - callback: o, - isReplace: !0, - isForced: !1, - capturedValue: null, - next: null, - }), - t(e, a); - }, - enqueueForceUpdate: function(e, r) { - (e = e._reactInternalFiber), (r = void 0 === r ? null : r); - var o = n(e); - cr(e, { - expirationTime: o, - partialState: null, - callback: r, - isReplace: !1, - isForced: !0, - capturedValue: null, - next: null, - }), - t(e, o); - }, - }; - return { - adoptClassInstance: l, - callGetDerivedStateFromProps: s, - constructClassInstance: function(e, t) { - var n = e.type, - r = h(e), - o = m(e), - a = o ? d(e, r) : f, - u = null !== (n = new n(t, a)).state && void 0 !== n.state ? n.state : null; - return ( - l(e, n), - (e.memoizedState = u), - null !== (t = s(e, 0, t, u)) && void 0 !== t && (e.memoizedState = i({}, e.memoizedState, t)), - o && p(e, r, a), - n - ); - }, - mountClassInstance: function(e, t) { - var n = e.type, - r = e.alternate, - o = e.stateNode, - a = e.pendingProps, - i = h(e); - (o.props = a), - (o.state = e.memoizedState), - (o.refs = f), - (o.context = d(e, i)), - 'function' == typeof n.getDerivedStateFromProps || - 'function' == typeof o.getSnapshotBeforeUpdate || - ('function' != typeof o.UNSAFE_componentWillMount && 'function' != typeof o.componentWillMount) || - ((n = o.state), - 'function' == typeof o.componentWillMount && o.componentWillMount(), - 'function' == typeof o.UNSAFE_componentWillMount && o.UNSAFE_componentWillMount(), - n !== o.state && y.enqueueReplaceState(o, o.state, null), - null !== (n = e.updateQueue) && (o.state = fr(r, e, n, o, a, t))), - 'function' == typeof o.componentDidMount && (e.effectTag |= 4); - }, - resumeMountClassInstance: function(e, t) { - var n = e.type, - l = e.stateNode; - (l.props = e.memoizedProps), (l.state = e.memoizedState); - var c = e.memoizedProps, - f = e.pendingProps, - p = l.context, - m = h(e); - (m = d(e, m)), - (n = - 'function' == typeof n.getDerivedStateFromProps || 'function' == typeof l.getSnapshotBeforeUpdate) || - ('function' != typeof l.UNSAFE_componentWillReceiveProps && - 'function' != typeof l.componentWillReceiveProps) || - ((c !== f || p !== m) && u(e, l, f, m)), - (p = e.memoizedState), - (t = null !== e.updateQueue ? fr(null, e, e.updateQueue, l, f, t) : p); - var y = void 0; - if ((c !== f && (y = s(e, 0, f, t)), null !== y && void 0 !== y)) { - t = null === t || void 0 === t ? y : i({}, t, y); - var v = e.updateQueue; - null !== v && (v.baseState = i({}, v.baseState, y)); - } - return c !== f || p !== t || g() || (null !== e.updateQueue && e.updateQueue.hasForceUpdate) - ? ((c = a(e, c, f, p, t, m)) - ? (n || - ('function' != typeof l.UNSAFE_componentWillMount && - 'function' != typeof l.componentWillMount) || - ('function' == typeof l.componentWillMount && l.componentWillMount(), - 'function' == typeof l.UNSAFE_componentWillMount && l.UNSAFE_componentWillMount()), - 'function' == typeof l.componentDidMount && (e.effectTag |= 4)) - : ('function' == typeof l.componentDidMount && (e.effectTag |= 4), r(e, f), o(e, t)), - (l.props = f), - (l.state = t), - (l.context = m), - c) - : ('function' == typeof l.componentDidMount && (e.effectTag |= 4), !1); - }, - updateClassInstance: function(e, t, n) { - var l = t.type, - c = t.stateNode; - (c.props = t.memoizedProps), (c.state = t.memoizedState); - var f = t.memoizedProps, - p = t.pendingProps, - m = c.context, - y = h(t); - (y = d(t, y)), - (l = - 'function' == typeof l.getDerivedStateFromProps || 'function' == typeof c.getSnapshotBeforeUpdate) || - ('function' != typeof c.UNSAFE_componentWillReceiveProps && - 'function' != typeof c.componentWillReceiveProps) || - ((f !== p || m !== y) && u(t, c, p, y)), - (m = t.memoizedState), - (n = null !== t.updateQueue ? fr(e, t, t.updateQueue, c, p, n) : m); - var v = void 0; - if ((f !== p && (v = s(t, 0, p, n)), null !== v && void 0 !== v)) { - n = null === n || void 0 === n ? v : i({}, n, v); - var b = t.updateQueue; - null !== b && (b.baseState = i({}, b.baseState, v)); - } - return f !== p || m !== n || g() || (null !== t.updateQueue && t.updateQueue.hasForceUpdate) - ? ((v = a(t, f, p, m, n, y)) - ? (l || - ('function' != typeof c.UNSAFE_componentWillUpdate && - 'function' != typeof c.componentWillUpdate) || - ('function' == typeof c.componentWillUpdate && c.componentWillUpdate(p, n, y), - 'function' == typeof c.UNSAFE_componentWillUpdate && c.UNSAFE_componentWillUpdate(p, n, y)), - 'function' == typeof c.componentDidUpdate && (t.effectTag |= 4), - 'function' == typeof c.getSnapshotBeforeUpdate && (t.effectTag |= 2048)) - : ('function' != typeof c.componentDidUpdate || - (f === e.memoizedProps && m === e.memoizedState) || - (t.effectTag |= 4), - 'function' != typeof c.getSnapshotBeforeUpdate || - (f === e.memoizedProps && m === e.memoizedState) || - (t.effectTag |= 2048), - r(t, p), - o(t, n)), - (c.props = p), - (c.state = n), - (c.context = y), - v) - : ('function' != typeof c.componentDidUpdate || - (f === e.memoizedProps && m === e.memoizedState) || - (t.effectTag |= 4), - 'function' != typeof c.getSnapshotBeforeUpdate || - (f === e.memoizedProps && m === e.memoizedState) || - (t.effectTag |= 2048), - !1); - }, - }; - })( - n, - a, - l, - function(e, t) { - e.memoizedProps = t; - }, - function(e, t) { - e.memoizedState = t; - } - )).adoptClassInstance, - P = e.callGetDerivedStateFromProps, - O = e.constructClassInstance, - D = e.mountClassInstance, - A = e.resumeMountClassInstance, - U = e.updateClassInstance; - return { - beginWork: function(e, t, n) { - if (0 === t.expirationTime || t.expirationTime > n) { - switch (t.tag) { - case 3: - m(t); - break; - case 2: - E(t); - break; - case 4: - x(t, t.stateNode.containerInfo); - break; - case 13: - T(t); - } - return null; - } - switch (t.tag) { - case 0: - null !== e && p('155'); - var r = t.type, - o = t.pendingProps, - a = w(t); - return ( - (r = r(o, (a = k(t, a)))), - (t.effectTag |= 1), - 'object' == typeof r && null !== r && 'function' == typeof r.render && void 0 === r.$$typeof - ? ((a = t.type), - (t.tag = 2), - (t.memoizedState = null !== r.state && void 0 !== r.state ? r.state : null), - 'function' == typeof a.getDerivedStateFromProps && - (null !== (o = P(t, r, o, t.memoizedState)) && - void 0 !== o && - (t.memoizedState = i({}, t.memoizedState, o))), - (o = E(t)), - _(t, r), - D(t, n), - (e = h(e, t, !0, o, !1, n))) - : ((t.tag = 1), u(e, t, r), (t.memoizedProps = o), (e = t.child)), - e - ); - case 1: - return ( - (o = t.type), - (n = t.pendingProps), - M() || t.memoizedProps !== n - ? ((r = w(t)), - (o = o(n, (r = k(t, r)))), - (t.effectTag |= 1), - u(e, t, o), - (t.memoizedProps = n), - (e = t.child)) - : (e = y(e, t)), - e - ); - case 2: - (o = E(t)), - null === e - ? null === t.stateNode - ? (O(t, t.pendingProps), D(t, n), (r = !0)) - : (r = A(t, n)) - : (r = U(e, t, n)), - (a = !1); - var l = t.updateQueue; - return null !== l && null !== l.capturedValues && (a = r = !0), h(e, t, r, o, a, n); - case 3: - e: if ((m(t), (r = t.updateQueue), null !== r)) { - if ( - ((a = t.memoizedState), - (o = fr(e, t, r, null, null, n)), - (t.memoizedState = o), - null !== (r = t.updateQueue) && null !== r.capturedValues) - ) - r = null; - else { - if (a === o) { - I(), (e = y(e, t)); - break e; - } - r = o.element; - } - (a = t.stateNode), - (null === e || null === e.child) && a.hydrate && L(t) - ? ((t.effectTag |= 2), (t.child = vr(t, null, r, n))) - : (I(), u(e, t, r)), - (t.memoizedState = o), - (e = t.child); - } else I(), (e = y(e, t)); - return e; - case 5: - return ( - C(t), - null === e && j(t), - (o = t.type), - (l = t.memoizedProps), - (r = t.pendingProps), - (a = null !== e ? e.memoizedProps : null), - M() || - l !== r || - ((l = 1 & t.mode && b(o, r)) && (t.expirationTime = 1073741823), l && 1073741823 === n) - ? ((l = r.children), - v(o, r) ? (l = null) : a && v(o, a) && (t.effectTag |= 16), - d(e, t), - 1073741823 !== n && 1 & t.mode && b(o, r) - ? ((t.expirationTime = 1073741823), (t.memoizedProps = r), (e = null)) - : (u(e, t, l), (t.memoizedProps = r), (e = t.child))) - : (e = y(e, t)), - e - ); - case 6: - return null === e && j(t), (t.memoizedProps = t.pendingProps), null; - case 8: - t.tag = 7; - case 7: - return ( - (o = t.pendingProps), - M() || t.memoizedProps !== o || (o = t.memoizedProps), - (r = o.children), - (t.stateNode = null === e ? vr(t, t.stateNode, r, n) : yr(t, e.stateNode, r, n)), - (t.memoizedProps = o), - t.stateNode - ); - case 9: - return null; - case 4: - return ( - x(t, t.stateNode.containerInfo), - (o = t.pendingProps), - M() || t.memoizedProps !== o - ? (null === e ? (t.child = yr(t, null, o, n)) : u(e, t, o), (t.memoizedProps = o), (e = t.child)) - : (e = y(e, t)), - e - ); - case 14: - return u(e, t, (n = (n = t.type.render)(t.pendingProps, t.ref))), (t.memoizedProps = n), t.child; - case 10: - return ( - (n = t.pendingProps), - M() || t.memoizedProps !== n ? (u(e, t, n), (t.memoizedProps = n), (e = t.child)) : (e = y(e, t)), - e - ); - case 11: - return ( - (n = t.pendingProps.children), - M() || (null !== n && t.memoizedProps !== n) - ? (u(e, t, n), (t.memoizedProps = n), (e = t.child)) - : (e = y(e, t)), - e - ); - case 13: - return (function(e, t, n) { - var r = t.type._context, - o = t.pendingProps, - a = t.memoizedProps; - if (!M() && a === o) return (t.stateNode = 0), T(t), y(e, t); - var i = o.value; - if (((t.memoizedProps = o), null === a)) i = 1073741823; - else if (a.value === o.value) { - if (a.children === o.children) return (t.stateNode = 0), T(t), y(e, t); - i = 0; - } else { - var l = a.value; - if ((l === i && (0 !== l || 1 / l == 1 / i)) || (l != l && i != i)) { - if (a.children === o.children) return (t.stateNode = 0), T(t), y(e, t); - i = 0; - } else if ( - ((i = 'function' == typeof r._calculateChangedBits ? r._calculateChangedBits(l, i) : 1073741823), - 0 == (i |= 0)) - ) { - if (a.children === o.children) return (t.stateNode = 0), T(t), y(e, t); - } else g(t, r, i, n); - } - return (t.stateNode = i), T(t), u(e, t, o.children), t.child; - })(e, t, n); - case 12: - e: { - (r = t.type), (a = t.pendingProps), (l = t.memoizedProps), (o = r._currentValue); - var c = r._changedBits; - if (M() || 0 !== c || l !== a) { - t.memoizedProps = a; - var s = a.unstable_observedBits; - if (((void 0 !== s && null !== s) || (s = 1073741823), (t.stateNode = s), 0 != (c & s))) - g(t, r, c, n); - else if (l === a) { - e = y(e, t); - break e; - } - u(e, t, (n = (n = a.children)(o))), (e = t.child); - } else e = y(e, t); - } - return e; - default: - p('156'); - } - }, - }; - } - function Cr(e, t) { - var n = t.source; - null === t.stack && st(n), null !== n && ct(n), (t = t.value), null !== e && 2 === e.tag && ct(e); - try { - (t && t.suppressReactErrorLogging) || console.error(t); - } catch (e) { - (e && e.suppressReactErrorLogging) || console.error(e); - } - } - var xr = {}; - function Tr(e) { - function t() { - if (null !== ee) for (var e = ee.return; null !== e; ) O(e), (e = e.return); - (te = null), (ne = 0), (ee = null), (ae = !1); - } - function n(e) { - return null !== ie && ie.has(e); - } - function r(e) { - for (;;) { - var t = e.alternate, - n = e.return, - r = e.sibling; - if (0 == (512 & e.effectTag)) { - t = j(t, e, ne); - var o = e; - if (1073741823 === ne || 1073741823 !== o.expirationTime) { - e: switch (o.tag) { - case 3: - case 2: - var a = o.updateQueue; - a = null === a ? 0 : a.expirationTime; - break e; - default: - a = 0; - } - for (var i = o.child; null !== i; ) - 0 !== i.expirationTime && (0 === a || a > i.expirationTime) && (a = i.expirationTime), (i = i.sibling); - o.expirationTime = a; - } - if (null !== t) return t; - if ( - (null !== n && - 0 == (512 & n.effectTag) && - (null === n.firstEffect && (n.firstEffect = e.firstEffect), - null !== e.lastEffect && - (null !== n.lastEffect && (n.lastEffect.nextEffect = e.firstEffect), (n.lastEffect = e.lastEffect)), - 1 < e.effectTag && - (null !== n.lastEffect ? (n.lastEffect.nextEffect = e) : (n.firstEffect = e), (n.lastEffect = e))), - null !== r) - ) - return r; - if (null === n) { - ae = !0; - break; - } - e = n; - } else { - if (null !== (e = P(e))) return (e.effectTag &= 2559), e; - if ((null !== n && ((n.firstEffect = n.lastEffect = null), (n.effectTag |= 512)), null !== r)) return r; - if (null === n) break; - e = n; - } - } - return null; - } - function o(e) { - var t = I(e.alternate, e, ne); - return null === t && (t = r(e)), (qe.current = null), t; - } - function a(e, n, a) { - Z && p('243'), - (Z = !0), - (n === ne && e === te && null !== ee) || - (t(), (ne = n), (ee = $n((te = e).current, null, ne)), (e.pendingCommitExpirationTime = 0)); - for (var i = !1; ; ) { - try { - if (a) for (; null !== ee && !w(); ) ee = o(ee); - else for (; null !== ee; ) ee = o(ee); - } catch (e) { - if (null === ee) { - (i = !0), M(e); - break; - } - var l = (a = ee).return; - if (null === l) { - (i = !0), M(e); - break; - } - _(l, a, e), (ee = r(a)); - } - break; - } - return ( - (Z = !1), - i || null !== ee ? null : ae ? ((e.pendingCommitExpirationTime = n), e.current.alternate) : void p('262') - ); - } - function l(e, t, n, r) { - cr(t, { - expirationTime: r, - partialState: null, - callback: null, - isReplace: !1, - isForced: !1, - capturedValue: e = { value: n, source: e, stack: st(e) }, - next: null, - }), - s(t, r); - } - function u(e, t) { - e: { - Z && !oe && p('263'); - for (var r = e.return; null !== r; ) { - switch (r.tag) { - case 2: - var o = r.stateNode; - if ( - 'function' == typeof r.type.getDerivedStateFromCatch || - ('function' == typeof o.componentDidCatch && !n(o)) - ) { - l(e, r, t, 1), (e = void 0); - break e; - } - break; - case 3: - l(e, r, t, 1), (e = void 0); - break e; - } - r = r.return; - } - 3 === e.tag && l(e, e, t, 1), (e = void 0); - } - return e; - } - function c(e) { - return ( - (e = - 0 !== J - ? J - : Z - ? oe - ? 1 - : ne - : 1 & e.mode - ? xe - ? 10 * (1 + (((d() + 15) / 10) | 0)) - : 25 * (1 + (((d() + 500) / 25) | 0)) - : 1), - xe && (0 === he || e > he) && (he = e), - e - ); - } - function s(e, n) { - e: { - for (; null !== e; ) { - if ( - ((0 === e.expirationTime || e.expirationTime > n) && (e.expirationTime = n), - null !== e.alternate && - (0 === e.alternate.expirationTime || e.alternate.expirationTime > n) && - (e.alternate.expirationTime = n), - null === e.return) - ) { - if (3 !== e.tag) { - n = void 0; - break e; - } - var r = e.stateNode; - !Z && 0 !== ne && n < ne && t(), (Z && !oe && te === r) || g(r, n), we > ke && p('185'); - } - e = e.return; - } - n = void 0; - } - return n; - } - function d() { - return (G = Q() - q), 2 + ((G / 10) | 0); - } - function h(e, t, n, r, o) { - var a = J; - J = 1; - try { - return e(t, n, r, o); - } finally { - J = a; - } - } - function m(e) { - if (0 !== ce) { - if (e > ce) return; - Y(se); - } - var t = Q() - q; - (ce = e), (se = W(v, { timeout: 10 * (e - 2) - t })); - } - function g(e, t) { - if (null === e.nextScheduledRoot) - (e.remainingExpirationTime = t), - null === ue - ? ((le = ue = e), (e.nextScheduledRoot = e)) - : ((ue = ue.nextScheduledRoot = e).nextScheduledRoot = le); - else { - var n = e.remainingExpirationTime; - (0 === n || t < n) && (e.remainingExpirationTime = t); - } - fe || (be ? Ce && ((pe = e), (de = 1), T(e, 1, !1)) : 1 === t ? b() : m(t)); - } - function y() { - var e = 0, - t = null; - if (null !== ue) - for (var n = ue, r = le; null !== r; ) { - var o = r.remainingExpirationTime; - if (0 === o) { - if (((null === n || null === ue) && p('244'), r === r.nextScheduledRoot)) { - le = ue = r.nextScheduledRoot = null; - break; - } - if (r === le) (le = o = r.nextScheduledRoot), (ue.nextScheduledRoot = o), (r.nextScheduledRoot = null); - else { - if (r === ue) { - ((ue = n).nextScheduledRoot = le), (r.nextScheduledRoot = null); - break; - } - (n.nextScheduledRoot = r.nextScheduledRoot), (r.nextScheduledRoot = null); - } - r = n.nextScheduledRoot; - } else { - if (((0 === e || o < e) && ((e = o), (t = r)), r === ue)) break; - (n = r), (r = r.nextScheduledRoot); - } - } - null !== (n = pe) && n === t && 1 === e ? we++ : (we = 0), (pe = t), (de = e); - } - function v(e) { - C(0, !0, e); - } - function b() { - C(1, !1, null); - } - function C(e, t, n) { - if (((ve = n), y(), t)) - for (; null !== pe && 0 !== de && (0 === e || e >= de) && (!me || d() >= de); ) T(pe, de, !me), y(); - else for (; null !== pe && 0 !== de && (0 === e || e >= de); ) T(pe, de, !1), y(); - null !== ve && ((ce = 0), (se = -1)), 0 !== de && m(de), (ve = null), (me = !1), x(); - } - function x() { - if (((we = 0), null !== Te)) { - var e = Te; - Te = null; - for (var t = 0; t < e.length; t++) { - var n = e[t]; - try { - n._onComplete(); - } catch (e) { - ge || ((ge = !0), (ye = e)); - } - } - } - if (ge) throw ((e = ye), (ye = null), (ge = !1), e); - } - function T(e, t, n) { - fe && p('245'), - (fe = !0), - n - ? null !== (n = e.finishedWork) - ? k(e, n, t) - : ((e.finishedWork = null), null !== (n = a(e, t, !0)) && (w() ? (e.finishedWork = n) : k(e, n, t))) - : null !== (n = e.finishedWork) - ? k(e, n, t) - : ((e.finishedWork = null), null !== (n = a(e, t, !1)) && k(e, n, t)), - (fe = !1); - } - function k(e, t, n) { - var r = e.firstBatch; - if (null !== r && r._expirationTime <= n && (null === Te ? (Te = [r]) : Te.push(r), r._defer)) - return (e.finishedWork = t), void (e.remainingExpirationTime = 0); - (e.finishedWork = null), - (oe = Z = !0), - (n = t.stateNode).current === t && p('177'), - 0 === (r = n.pendingCommitExpirationTime) && p('261'), - (n.pendingCommitExpirationTime = 0); - var o = d(); - if (((qe.current = null), 1 < t.effectTag)) - if (null !== t.lastEffect) { - t.lastEffect.nextEffect = t; - var a = t.firstEffect; - } else a = t; - else a = t.firstEffect; - for (K(n.containerInfo), re = a; null !== re; ) { - var i = !1, - l = void 0; - try { - for (; null !== re; ) 2048 & re.effectTag && D(re.alternate, re), (re = re.nextEffect); - } catch (e) { - (i = !0), (l = e); - } - i && (null === re && p('178'), u(re, l), null !== re && (re = re.nextEffect)); - } - for (re = a; null !== re; ) { - (i = !1), (l = void 0); - try { - for (; null !== re; ) { - var c = re.effectTag; - if ((16 & c && A(re), 128 & c)) { - var s = re.alternate; - null !== s && V(s); - } - switch (14 & c) { - case 2: - U(re), (re.effectTag &= -3); - break; - case 6: - U(re), (re.effectTag &= -3), R(re.alternate, re); - break; - case 4: - R(re.alternate, re); - break; - case 8: - z(re); - } - re = re.nextEffect; - } - } catch (e) { - (i = !0), (l = e); - } - i && (null === re && p('178'), u(re, l), null !== re && (re = re.nextEffect)); - } - for ($(n.containerInfo), n.current = t, re = a; null !== re; ) { - (c = !1), (s = void 0); - try { - for (a = n, i = o, l = r; null !== re; ) { - var f = re.effectTag; - 36 & f && F(a, re.alternate, re, i, l), 256 & f && H(re, M), 128 & f && B(re); - var h = re.nextEffect; - (re.nextEffect = null), (re = h); - } - } catch (e) { - (c = !0), (s = e); - } - c && (null === re && p('178'), u(re, s), null !== re && (re = re.nextEffect)); - } - (Z = oe = !1), - nr(t.stateNode), - 0 === (t = n.current.expirationTime) && (ie = null), - (e.remainingExpirationTime = t); - } - function w() { - return !(null === ve || ve.timeRemaining() > Me) && (me = !0); - } - function M(e) { - null === pe && p('246'), (pe.remainingExpirationTime = 0), ge || ((ge = !0), (ye = e)); - } - var E = (function() { - var e = [], - t = -1; - return { - createCursor: function(e) { - return { current: e }; - }, - isEmpty: function() { - return -1 === t; - }, - pop: function(n) { - 0 > t || ((n.current = e[t]), (e[t] = null), t--); - }, - push: function(n, r) { - (e[++t] = n.current), (n.current = r); - }, - checkThatStackIsEmpty: function() {}, - resetStackAfterFatalErrorInDev: function() {}, - }; - })(), - S = (function(e, t) { - function n(e) { - return e === xr && p('174'), e; - } - var r = e.getChildHostContext, - o = e.getRootHostContext; - e = t.createCursor; - var a = t.push, - i = t.pop, - l = e(xr), - u = e(xr), - c = e(xr); - return { - getHostContext: function() { - return n(l.current); - }, - getRootHostContainer: function() { - return n(c.current); - }, - popHostContainer: function(e) { - i(l, e), i(u, e), i(c, e); - }, - popHostContext: function(e) { - u.current === e && (i(l, e), i(u, e)); - }, - pushHostContainer: function(e, t) { - a(c, t, e), a(u, e, e), a(l, xr, e), (t = o(t)), i(l, e), a(l, t, e); - }, - pushHostContext: function(e) { - var t = n(c.current), - o = n(l.current); - o !== (t = r(o, e.type, t)) && (a(u, e, e), a(l, t, e)); - }, - }; - })(e, E), - N = (function(e) { - function t(e, t, n) { - ((e = e.stateNode).__reactInternalMemoizedUnmaskedChildContext = t), - (e.__reactInternalMemoizedMaskedChildContext = n); - } - function n(e) { - return 2 === e.tag && null != e.type.childContextTypes; - } - function r(e, t) { - var n = e.stateNode, - r = e.type.childContextTypes; - if ('function' != typeof n.getChildContext) return t; - for (var o in (n = n.getChildContext())) o in r || p('108', ct(e) || 'Unknown', o); - return i({}, t, n); - } - var o = e.createCursor, - a = e.push, - l = e.pop, - u = o(f), - c = o(!1), - s = f; - return { - getUnmaskedContext: function(e) { - return n(e) ? s : u.current; - }, - cacheContext: t, - getMaskedContext: function(e, n) { - var r = e.type.contextTypes; - if (!r) return f; - var o = e.stateNode; - if (o && o.__reactInternalMemoizedUnmaskedChildContext === n) - return o.__reactInternalMemoizedMaskedChildContext; - var a, - i = {}; - for (a in r) i[a] = n[a]; - return o && t(e, n, i), i; - }, - hasContextChanged: function() { - return c.current; - }, - isContextConsumer: function(e) { - return 2 === e.tag && null != e.type.contextTypes; - }, - isContextProvider: n, - popContextProvider: function(e) { - n(e) && (l(c, e), l(u, e)); - }, - popTopLevelContextObject: function(e) { - l(c, e), l(u, e); - }, - pushTopLevelContextObject: function(e, t, n) { - null != u.cursor && p('168'), a(u, t, e), a(c, n, e); - }, - processChildContext: r, - pushContextProvider: function(e) { - if (!n(e)) return !1; - var t = e.stateNode; - return ( - (t = (t && t.__reactInternalMemoizedMergedChildContext) || f), - (s = u.current), - a(u, t, e), - a(c, c.current, e), - !0 - ); - }, - invalidateContextProvider: function(e, t) { - var n = e.stateNode; - if ((n || p('169'), t)) { - var o = r(e, s); - (n.__reactInternalMemoizedMergedChildContext = o), l(c, e), l(u, e), a(u, o, e); - } else l(c, e); - a(c, t, e); - }, - findCurrentUnmaskedContext: function(e) { - for ((2 !== $t(e) || 2 !== e.tag) && p('170'); 3 !== e.tag; ) { - if (n(e)) return e.stateNode.__reactInternalMemoizedMergedChildContext; - (e = e.return) || p('171'); - } - return e.stateNode.context; - }, - }; - })(E); - E = (function(e) { - var t = e.createCursor, - n = e.push, - r = e.pop, - o = t(null), - a = t(null), - i = t(0); - return { - pushProvider: function(e) { - var t = e.type._context; - n(i, t._changedBits, e), - n(a, t._currentValue, e), - n(o, e, e), - (t._currentValue = e.pendingProps.value), - (t._changedBits = e.stateNode); - }, - popProvider: function(e) { - var t = i.current, - n = a.current; - r(o, e), r(a, e), r(i, e), ((e = e.type._context)._currentValue = n), (e._changedBits = t); - }, - }; - })(E); - var L = (function(e) { - function t(e, t) { - var n = new Kn(5, null, null, 0); - (n.type = 'DELETED'), - (n.stateNode = t), - (n.return = e), - (n.effectTag = 8), - null !== e.lastEffect - ? ((e.lastEffect.nextEffect = n), (e.lastEffect = n)) - : (e.firstEffect = e.lastEffect = n); - } - function n(e, t) { - switch (e.tag) { - case 5: - return null !== (t = a(t, e.type, e.pendingProps)) && ((e.stateNode = t), !0); - case 6: - return null !== (t = i(t, e.pendingProps)) && ((e.stateNode = t), !0); - default: - return !1; - } - } - function r(e) { - for (e = e.return; null !== e && 5 !== e.tag && 3 !== e.tag; ) e = e.return; - f = e; - } - var o = e.shouldSetTextContent; - if (!(e = e.hydration)) - return { - enterHydrationState: function() { - return !1; - }, - resetHydrationState: function() {}, - tryToClaimNextHydratableInstance: function() {}, - prepareToHydrateHostInstance: function() { - p('175'); - }, - prepareToHydrateHostTextInstance: function() { - p('176'); - }, - popHydrationState: function() { - return !1; - }, - }; - var a = e.canHydrateInstance, - i = e.canHydrateTextInstance, - l = e.getNextHydratableSibling, - u = e.getFirstHydratableChild, - c = e.hydrateInstance, - s = e.hydrateTextInstance, - f = null, - d = null, - h = !1; - return { - enterHydrationState: function(e) { - return (d = u(e.stateNode.containerInfo)), (f = e), (h = !0); - }, - resetHydrationState: function() { - (d = f = null), (h = !1); - }, - tryToClaimNextHydratableInstance: function(e) { - if (h) { - var r = d; - if (r) { - if (!n(e, r)) { - if (!(r = l(r)) || !n(e, r)) return (e.effectTag |= 2), (h = !1), void (f = e); - t(f, d); - } - (f = e), (d = u(r)); - } else (e.effectTag |= 2), (h = !1), (f = e); - } - }, - prepareToHydrateHostInstance: function(e, t, n) { - return (t = c(e.stateNode, e.type, e.memoizedProps, t, n, e)), (e.updateQueue = t), null !== t; - }, - prepareToHydrateHostTextInstance: function(e) { - return s(e.stateNode, e.memoizedProps, e); - }, - popHydrationState: function(e) { - if (e !== f) return !1; - if (!h) return r(e), (h = !0), !1; - var n = e.type; - if (5 !== e.tag || ('head' !== n && 'body' !== n && !o(n, e.memoizedProps))) - for (n = d; n; ) t(e, n), (n = l(n)); - return r(e), (d = f ? l(e.stateNode) : null), !0; - }, - }; - })(e), - I = br(e, S, N, E, L, s, c).beginWork, - j = (function(e, t, n, r, o) { - function a(e) { - e.effectTag |= 4; - } - var i = e.createInstance, - l = e.createTextInstance, - u = e.appendInitialChild, - c = e.finalizeInitialChildren, - s = e.prepareUpdate, - f = e.persistence, - d = t.getRootHostContainer, - h = t.popHostContext, - m = t.getHostContext, - g = t.popHostContainer, - y = n.popContextProvider, - v = n.popTopLevelContextObject, - b = r.popProvider, - C = o.prepareToHydrateHostInstance, - x = o.prepareToHydrateHostTextInstance, - T = o.popHydrationState, - k = void 0, - w = void 0, - M = void 0; - return ( - e.mutation - ? ((k = function() {}), - (w = function(e, t, n) { - (t.updateQueue = n) && a(t); - }), - (M = function(e, t, n, r) { - n !== r && a(t); - })) - : p(f ? '235' : '236'), - { - completeWork: function(e, t, n) { - var r = t.pendingProps; - switch (t.tag) { - case 1: - return null; - case 2: - return ( - y(t), - (e = t.stateNode), - null !== (r = t.updateQueue) && - null !== r.capturedValues && - ((t.effectTag &= -65), - 'function' == typeof e.componentDidCatch ? (t.effectTag |= 256) : (r.capturedValues = null)), - null - ); - case 3: - return ( - g(t), - v(t), - (r = t.stateNode).pendingContext && ((r.context = r.pendingContext), (r.pendingContext = null)), - (null !== e && null !== e.child) || (T(t), (t.effectTag &= -3)), - k(t), - null !== (e = t.updateQueue) && null !== e.capturedValues && (t.effectTag |= 256), - null - ); - case 5: - h(t), (n = d()); - var o = t.type; - if (null !== e && null != t.stateNode) { - var f = e.memoizedProps, - E = t.stateNode, - S = m(); - (E = s(E, o, f, r, n, S)), w(e, t, E, o, f, r, n, S), e.ref !== t.ref && (t.effectTag |= 128); - } else { - if (!r) return null === t.stateNode && p('166'), null; - if (((e = m()), T(t))) C(t, n, e) && a(t); - else { - f = i(o, r, n, e, t); - e: for (S = t.child; null !== S; ) { - if (5 === S.tag || 6 === S.tag) u(f, S.stateNode); - else if (4 !== S.tag && null !== S.child) { - (S.child.return = S), (S = S.child); - continue; - } - if (S === t) break; - for (; null === S.sibling; ) { - if (null === S.return || S.return === t) break e; - S = S.return; - } - (S.sibling.return = S.return), (S = S.sibling); - } - c(f, o, r, n, e) && a(t), (t.stateNode = f); - } - null !== t.ref && (t.effectTag |= 128); - } - return null; - case 6: - if (e && null != t.stateNode) M(e, t, e.memoizedProps, r); - else { - if ('string' != typeof r) return null === t.stateNode && p('166'), null; - (e = d()), (n = m()), T(t) ? x(t) && a(t) : (t.stateNode = l(r, e, n, t)); - } - return null; - case 7: - (r = t.memoizedProps) || p('165'), (t.tag = 8), (o = []); - e: for ((f = t.stateNode) && (f.return = t); null !== f; ) { - if (5 === f.tag || 6 === f.tag || 4 === f.tag) p('247'); - else if (9 === f.tag) o.push(f.pendingProps.value); - else if (null !== f.child) { - (f.child.return = f), (f = f.child); - continue; - } - for (; null === f.sibling; ) { - if (null === f.return || f.return === t) break e; - f = f.return; - } - (f.sibling.return = f.return), (f = f.sibling); - } - return ( - (r = (f = r.handler)(r.props, o)), (t.child = yr(t, null !== e ? e.child : null, r, n)), t.child - ); - case 8: - return (t.tag = 7), null; - case 9: - case 14: - case 10: - case 11: - return null; - case 4: - return g(t), k(t), null; - case 13: - return b(t), null; - case 12: - return null; - case 0: - p('167'); - default: - p('156'); - } - }, - } - ); - })(e, S, N, E, L).completeWork, - _ = (S = (function(e, t, n, r, o) { - var a = e.popHostContainer, - i = e.popHostContext, - l = t.popContextProvider, - u = t.popTopLevelContextObject, - c = n.popProvider; - return { - throwException: function(e, t, n) { - (t.effectTag |= 512), (t.firstEffect = t.lastEffect = null), (t = { value: n, source: t, stack: st(t) }); - do { - switch (e.tag) { - case 3: - return ur(e), (e.updateQueue.capturedValues = [t]), void (e.effectTag |= 1024); - case 2: - if ( - ((n = e.stateNode), - 0 == (64 & e.effectTag) && null !== n && 'function' == typeof n.componentDidCatch && !o(n)) - ) { - ur(e); - var r = (n = e.updateQueue).capturedValues; - return null === r ? (n.capturedValues = [t]) : r.push(t), void (e.effectTag |= 1024); - } - } - e = e.return; - } while (null !== e); - }, - unwindWork: function(e) { - switch (e.tag) { - case 2: - l(e); - var t = e.effectTag; - return 1024 & t ? ((e.effectTag = (-1025 & t) | 64), e) : null; - case 3: - return a(e), u(e), 1024 & (t = e.effectTag) ? ((e.effectTag = (-1025 & t) | 64), e) : null; - case 5: - return i(e), null; - case 4: - return a(e), null; - case 13: - return c(e), null; - default: - return null; - } - }, - unwindInterruptedWork: function(e) { - switch (e.tag) { - case 2: - l(e); - break; - case 3: - a(e), u(e); - break; - case 5: - i(e); - break; - case 4: - a(e); - break; - case 13: - c(e); - } - }, - }; - })(S, N, E, 0, n)).throwException, - P = S.unwindWork, - O = S.unwindInterruptedWork, - D = (S = (function(e, t, n, r, o) { - function a(e) { - var n = e.ref; - if (null !== n) - if ('function' == typeof n) - try { - n(null); - } catch (n) { - t(e, n); - } - else n.current = null; - } - function i(e) { - switch ((rr(e), e.tag)) { - case 2: - a(e); - var n = e.stateNode; - if ('function' == typeof n.componentWillUnmount) - try { - (n.props = e.memoizedProps), (n.state = e.memoizedState), n.componentWillUnmount(); - } catch (n) { - t(e, n); - } - break; - case 5: - a(e); - break; - case 7: - l(e.stateNode); - break; - case 4: - f && c(e); - } - } - function l(e) { - for (var t = e; ; ) - if ((i(t), null === t.child || (f && 4 === t.tag))) { - if (t === e) break; - for (; null === t.sibling; ) { - if (null === t.return || t.return === e) return; - t = t.return; - } - (t.sibling.return = t.return), (t = t.sibling); - } else (t.child.return = t), (t = t.child); - } - function u(e) { - return 5 === e.tag || 3 === e.tag || 4 === e.tag; - } - function c(e) { - for (var t = e, n = !1, r = void 0, o = void 0; ; ) { - if (!n) { - n = t.return; - e: for (;;) { - switch ((null === n && p('160'), n.tag)) { - case 5: - (r = n.stateNode), (o = !1); - break e; - case 3: - case 4: - (r = n.stateNode.containerInfo), (o = !0); - break e; - } - n = n.return; - } - n = !0; - } - if (5 === t.tag || 6 === t.tag) l(t), o ? T(r, t.stateNode) : x(r, t.stateNode); - else if ((4 === t.tag ? (r = t.stateNode.containerInfo) : i(t), null !== t.child)) { - (t.child.return = t), (t = t.child); - continue; - } - if (t === e) break; - for (; null === t.sibling; ) { - if (null === t.return || t.return === e) return; - 4 === (t = t.return).tag && (n = !1); - } - (t.sibling.return = t.return), (t = t.sibling); - } - } - var s = e.getPublicInstance, - f = e.mutation; - (e = e.persistence), f || p(e ? '235' : '236'); - var d = f.commitMount, - h = f.commitUpdate, - m = f.resetTextContent, - g = f.commitTextUpdate, - y = f.appendChild, - v = f.appendChildToContainer, - b = f.insertBefore, - C = f.insertInContainerBefore, - x = f.removeChild, - T = f.removeChildFromContainer; - return { - commitBeforeMutationLifeCycles: function(e, t) { - switch (t.tag) { - case 2: - if (2048 & t.effectTag && null !== e) { - var n = e.memoizedProps, - r = e.memoizedState; - ((e = t.stateNode).props = t.memoizedProps), - (e.state = t.memoizedState), - (t = e.getSnapshotBeforeUpdate(n, r)), - (e.__reactInternalSnapshotBeforeUpdate = t); - } - break; - case 3: - case 5: - case 6: - case 4: - break; - default: - p('163'); - } - }, - commitResetTextContent: function(e) { - m(e.stateNode); - }, - commitPlacement: function(e) { - e: { - for (var t = e.return; null !== t; ) { - if (u(t)) { - var n = t; - break e; - } - t = t.return; - } - p('160'), (n = void 0); - } - var r = (t = void 0); - switch (n.tag) { - case 5: - (t = n.stateNode), (r = !1); - break; - case 3: - case 4: - (t = n.stateNode.containerInfo), (r = !0); - break; - default: - p('161'); - } - 16 & n.effectTag && (m(t), (n.effectTag &= -17)); - e: t: for (n = e; ; ) { - for (; null === n.sibling; ) { - if (null === n.return || u(n.return)) { - n = null; - break e; - } - n = n.return; - } - for (n.sibling.return = n.return, n = n.sibling; 5 !== n.tag && 6 !== n.tag; ) { - if (2 & n.effectTag) continue t; - if (null === n.child || 4 === n.tag) continue t; - (n.child.return = n), (n = n.child); - } - if (!(2 & n.effectTag)) { - n = n.stateNode; - break e; - } - } - for (var o = e; ; ) { - if (5 === o.tag || 6 === o.tag) - n ? (r ? C(t, o.stateNode, n) : b(t, o.stateNode, n)) : r ? v(t, o.stateNode) : y(t, o.stateNode); - else if (4 !== o.tag && null !== o.child) { - (o.child.return = o), (o = o.child); - continue; - } - if (o === e) break; - for (; null === o.sibling; ) { - if (null === o.return || o.return === e) return; - o = o.return; - } - (o.sibling.return = o.return), (o = o.sibling); - } - }, - commitDeletion: function(e) { - c(e), - (e.return = null), - (e.child = null), - e.alternate && ((e.alternate.child = null), (e.alternate.return = null)); - }, - commitWork: function(e, t) { - switch (t.tag) { - case 2: - break; - case 5: - var n = t.stateNode; - if (null != n) { - var r = t.memoizedProps; - e = null !== e ? e.memoizedProps : r; - var o = t.type, - a = t.updateQueue; - (t.updateQueue = null), null !== a && h(n, a, o, e, r, t); - } - break; - case 6: - null === t.stateNode && p('162'), - (n = t.memoizedProps), - g(t.stateNode, null !== e ? e.memoizedProps : n, n); - break; - case 3: - break; - default: - p('163'); - } - }, - commitLifeCycles: function(e, t, n) { - switch (n.tag) { - case 2: - if (((e = n.stateNode), 4 & n.effectTag)) - if (null === t) (e.props = n.memoizedProps), (e.state = n.memoizedState), e.componentDidMount(); - else { - var r = t.memoizedProps; - (t = t.memoizedState), - (e.props = n.memoizedProps), - (e.state = n.memoizedState), - e.componentDidUpdate(r, t, e.__reactInternalSnapshotBeforeUpdate); - } - null !== (n = n.updateQueue) && pr(n, e); - break; - case 3: - if (null !== (t = n.updateQueue)) { - if (((e = null), null !== n.child)) - switch (n.child.tag) { - case 5: - e = s(n.child.stateNode); - break; - case 2: - e = n.child.stateNode; - } - pr(t, e); - } - break; - case 5: - (e = n.stateNode), null === t && 4 & n.effectTag && d(e, n.type, n.memoizedProps, n); - break; - case 6: - case 4: - break; - default: - p('163'); - } - }, - commitErrorLogging: function(e, t) { - switch (e.tag) { - case 2: - var n = e.type; - t = e.stateNode; - var r = e.updateQueue; - (null === r || null === r.capturedValues) && p('264'); - var a = r.capturedValues; - for ( - r.capturedValues = null, - 'function' != typeof n.getDerivedStateFromCatch && o(t), - t.props = e.memoizedProps, - t.state = e.memoizedState, - n = 0; - n < a.length; - n++ - ) { - var i = (r = a[n]).value, - l = r.stack; - Cr(e, r), t.componentDidCatch(i, { componentStack: null !== l ? l : '' }); - } - break; - case 3: - for ( - (null === (n = e.updateQueue) || null === n.capturedValues) && p('264'), - a = n.capturedValues, - n.capturedValues = null, - n = 0; - n < a.length; - n++ - ) - Cr(e, (r = a[n])), t(r.value); - break; - default: - p('265'); - } - }, - commitAttachRef: function(e) { - var t = e.ref; - if (null !== t) { - var n = e.stateNode; - switch (e.tag) { - case 5: - e = s(n); - break; - default: - e = n; - } - 'function' == typeof t ? t(e) : (t.current = e); - } - }, - commitDetachRef: function(e) { - null !== (e = e.ref) && ('function' == typeof e ? e(null) : (e.current = null)); - }, - }; - })(e, u, 0, 0, function(e) { - null === ie ? (ie = new Set([e])) : ie.add(e); - })).commitBeforeMutationLifeCycles, - A = S.commitResetTextContent, - U = S.commitPlacement, - z = S.commitDeletion, - R = S.commitWork, - F = S.commitLifeCycles, - H = S.commitErrorLogging, - B = S.commitAttachRef, - V = S.commitDetachRef, - Q = e.now, - W = e.scheduleDeferredCallback, - Y = e.cancelDeferredCallback, - K = e.prepareForCommit, - $ = e.resetAfterCommit, - q = Q(), - G = q, - X = 0, - J = 0, - Z = !1, - ee = null, - te = null, - ne = 0, - re = null, - oe = !1, - ae = !1, - ie = null, - le = null, - ue = null, - ce = 0, - se = -1, - fe = !1, - pe = null, - de = 0, - he = 0, - me = !1, - ge = !1, - ye = null, - ve = null, - be = !1, - Ce = !1, - xe = !1, - Te = null, - ke = 1e3, - we = 0, - Me = 1; - return { - recalculateCurrentTime: d, - computeExpirationForFiber: c, - scheduleWork: s, - requestWork: g, - flushRoot: function(e, t) { - fe && p('253'), (pe = e), (de = t), T(e, t, !1), b(), x(); - }, - batchedUpdates: function(e, t) { - var n = be; - be = !0; - try { - return e(t); - } finally { - (be = n) || fe || b(); - } - }, - unbatchedUpdates: function(e, t) { - if (be && !Ce) { - Ce = !0; - try { - return e(t); - } finally { - Ce = !1; - } - } - return e(t); - }, - flushSync: function(e, t) { - fe && p('187'); - var n = be; - be = !0; - try { - return h(e, t); - } finally { - (be = n), b(); - } - }, - flushControlled: function(e) { - var t = be; - be = !0; - try { - h(e); - } finally { - (be = t) || fe || C(1, !1, null); - } - }, - deferredUpdates: function(e) { - var t = J; - J = 25 * (1 + (((d() + 500) / 25) | 0)); - try { - return e(); - } finally { - J = t; - } - }, - syncUpdates: h, - interactiveUpdates: function(e, t, n) { - if (xe) return e(t, n); - be || fe || 0 === he || (C(he, !1, null), (he = 0)); - var r = xe, - o = be; - be = xe = !0; - try { - return e(t, n); - } finally { - (xe = r), (be = o) || fe || b(); - } - }, - flushInteractiveUpdates: function() { - fe || 0 === he || (C(he, !1, null), (he = 0)); - }, - computeUniqueAsyncExpiration: function() { - var e = 25 * (1 + (((d() + 500) / 25) | 0)); - return e <= X && (e = X + 1), (X = e); - }, - legacyContext: N, - }; - } - function kr(e) { - function t(e, t, n, r, o, i) { - if (((r = t.current), n)) { - n = n._reactInternalFiber; - var l = u(n); - n = c(n) ? s(n, l) : l; - } else n = f; - return ( - null === t.context ? (t.context = n) : (t.pendingContext = n), - cr(r, { - expirationTime: o, - partialState: { element: e }, - callback: void 0 === (t = i) ? null : t, - isReplace: !1, - isForced: !1, - capturedValue: null, - next: null, - }), - a(r, o), - o - ); - } - var n = e.getPublicInstance, - r = (e = Tr(e)).recalculateCurrentTime, - o = e.computeExpirationForFiber, - a = e.scheduleWork, - l = e.legacyContext, - u = l.findCurrentUnmaskedContext, - c = l.isContextProvider, - s = l.processChildContext; - return { - createContainer: function(e, t, n) { - return ( - (e = { - current: t = new Kn(3, null, null, t ? 3 : 0), - containerInfo: e, - pendingChildren: null, - pendingCommitExpirationTime: 0, - finishedWork: null, - context: null, - pendingContext: null, - hydrate: n, - remainingExpirationTime: 0, - firstBatch: null, - nextScheduledRoot: null, - }), - (t.stateNode = e) - ); - }, - updateContainer: function(e, n, a, i) { - var l = n.current; - return t(e, n, a, r(), (l = o(l)), i); - }, - updateContainerAtExpirationTime: function(e, n, o, a, i) { - return t(e, n, o, r(), a, i); - }, - flushRoot: e.flushRoot, - requestWork: e.requestWork, - computeUniqueAsyncExpiration: e.computeUniqueAsyncExpiration, - batchedUpdates: e.batchedUpdates, - unbatchedUpdates: e.unbatchedUpdates, - deferredUpdates: e.deferredUpdates, - syncUpdates: e.syncUpdates, - interactiveUpdates: e.interactiveUpdates, - flushInteractiveUpdates: e.flushInteractiveUpdates, - flushControlled: e.flushControlled, - flushSync: e.flushSync, - getPublicRootInstance: function(e) { - if (!(e = e.current).child) return null; - switch (e.child.tag) { - case 5: - return n(e.child.stateNode); - default: - return e.child.stateNode; - } - }, - findHostInstance: function(e) { - var t = e._reactInternalFiber; - return ( - void 0 === t && ('function' == typeof e.render ? p('188') : p('268', Object.keys(e))), - null === (e = Jt(t)) ? null : e.stateNode - ); - }, - findHostInstanceWithNoPortals: function(e) { - return null === - (e = (function(e) { - if (!(e = Xt(e))) return null; - for (var t = e; ; ) { - if (5 === t.tag || 6 === t.tag) return t; - if (t.child && 4 !== t.tag) (t.child.return = t), (t = t.child); - else { - if (t === e) break; - for (; !t.sibling; ) { - if (!t.return || t.return === e) return null; - t = t.return; - } - (t.sibling.return = t.return), (t = t.sibling); - } - } - return null; - })(e)) - ? null - : e.stateNode; - }, - injectIntoDevTools: function(e) { - var t = e.findFiberByHostInstance; - return (function(e) { - if ('undefined' == typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1; - var t = __REACT_DEVTOOLS_GLOBAL_HOOK__; - if (t.isDisabled || !t.supportsFiber) return !0; - try { - var n = t.inject(e); - (Zn = tr(function(e) { - return t.onCommitFiberRoot(n, e); - })), - (er = tr(function(e) { - return t.onCommitFiberUnmount(n, e); - })); - } catch (e) {} - return !0; - })( - i({}, e, { - findHostInstanceByFiber: function(e) { - return null === (e = Jt(e)) ? null : e.stateNode; - }, - findFiberByHostInstance: function(e) { - return t ? t(e) : null; - }, - }) - ); - }, - }; - } - var wr = Object.freeze({ default: kr }), - Mr = (wr && kr) || wr, - Er = Mr.default ? Mr.default : Mr; - var Sr = 'object' == typeof performance && 'function' == typeof performance.now, - Nr = void 0; - Nr = Sr - ? function() { - return performance.now(); - } - : function() { - return Date.now(); - }; - var Lr = void 0, - Ir = void 0; - if (a.canUseDOM) - if ('function' != typeof requestIdleCallback || 'function' != typeof cancelIdleCallback) { - var jr = null, - _r = !1, - Pr = -1, - Or = !1, - Dr = 0, - Ar = 33, - Ur = 33, - zr = void 0; - zr = Sr - ? { - didTimeout: !1, - timeRemaining: function() { - var e = Dr - performance.now(); - return 0 < e ? e : 0; - }, - } - : { - didTimeout: !1, - timeRemaining: function() { - var e = Dr - Date.now(); - return 0 < e ? e : 0; - }, - }; - var Rr = - '__reactIdleCallback$' + - Math.random() - .toString(36) - .slice(2); - window.addEventListener( - 'message', - function(e) { - if (e.source === window && e.data === Rr) { - if (((_r = !1), (e = Nr()), 0 >= Dr - e)) { - if (!(-1 !== Pr && Pr <= e)) return void (Or || ((Or = !0), requestAnimationFrame(Fr))); - zr.didTimeout = !0; - } else zr.didTimeout = !1; - (Pr = -1), (e = jr), (jr = null), null !== e && e(zr); - } - }, - !1 - ); - var Fr = function(e) { - Or = !1; - var t = e - Dr + Ur; - t < Ur && Ar < Ur ? (8 > t && (t = 8), (Ur = t < Ar ? Ar : t)) : (Ar = t), - (Dr = e + Ur), - _r || ((_r = !0), window.postMessage(Rr, '*')); - }; - (Lr = function(e, t) { - return ( - (jr = e), - null != t && 'number' == typeof t.timeout && (Pr = Nr() + t.timeout), - Or || ((Or = !0), requestAnimationFrame(Fr)), - 0 - ); - }), - (Ir = function() { - (jr = null), (_r = !1), (Pr = -1); - }); - } else (Lr = window.requestIdleCallback), (Ir = window.cancelIdleCallback); - else - (Lr = function(e) { - return setTimeout(function() { - e({ - timeRemaining: function() { - return 1 / 0; - }, - didTimeout: !1, - }); - }); - }), - (Ir = function(e) { - clearTimeout(e); - }); - function Hr(e, t) { - return ( - (e = i({ children: void 0 }, t)), - (t = (function(e) { - var t = ''; - return ( - o.Children.forEach(e, function(e) { - null == e || ('string' != typeof e && 'number' != typeof e) || (t += e); - }), - t - ); - })(t.children)) && (e.children = t), - e - ); - } - function Br(e, t, n, r) { - if (((e = e.options), t)) { - t = {}; - for (var o = 0; o < n.length; o++) t['$' + n[o]] = !0; - for (n = 0; n < e.length; n++) - (o = t.hasOwnProperty('$' + e[n].value)), - e[n].selected !== o && (e[n].selected = o), - o && r && (e[n].defaultSelected = !0); - } else { - for (n = '' + n, t = null, o = 0; o < e.length; o++) { - if (e[o].value === n) return (e[o].selected = !0), void (r && (e[o].defaultSelected = !0)); - null !== t || e[o].disabled || (t = e[o]); - } - null !== t && (t.selected = !0); - } - } - function Vr(e, t) { - var n = t.value; - e._wrapperState = { initialValue: null != n ? n : t.defaultValue, wasMultiple: !!t.multiple }; - } - function Qr(e, t) { - return ( - null != t.dangerouslySetInnerHTML && p('91'), - i({}, t, { value: void 0, defaultValue: void 0, children: '' + e._wrapperState.initialValue }) - ); - } - function Wr(e, t) { - var n = t.value; - null == n && - ((n = t.defaultValue), - null != (t = t.children) && - (null != n && p('92'), Array.isArray(t) && (1 >= t.length || p('93'), (t = t[0])), (n = '' + t)), - null == n && (n = '')), - (e._wrapperState = { initialValue: '' + n }); - } - function Yr(e, t) { - var n = t.value; - null != n && ((n = '' + n) !== e.value && (e.value = n), null == t.defaultValue && (e.defaultValue = n)), - null != t.defaultValue && (e.defaultValue = t.defaultValue); - } - function Kr(e) { - var t = e.textContent; - t === e._wrapperState.initialValue && (e.value = t); - } - var $r = { - html: 'http://www.w3.org/1999/xhtml', - mathml: 'http://www.w3.org/1998/Math/MathML', - svg: 'http://www.w3.org/2000/svg', - }; - function qr(e) { - switch (e) { - 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 Gr(e, t) { - return null == e || 'http://www.w3.org/1999/xhtml' === e - ? qr(t) - : 'http://www.w3.org/2000/svg' === e && 'foreignObject' === t - ? 'http://www.w3.org/1999/xhtml' - : e; - } - var Xr = void 0, - Jr = (function(e) { - return 'undefined' != typeof MSApp && MSApp.execUnsafeLocalFunction - ? function(t, n, r, o) { - MSApp.execUnsafeLocalFunction(function() { - return e(t, n); - }); - } - : e; - })(function(e, t) { - if (e.namespaceURI !== $r.svg || 'innerHTML' in e) e.innerHTML = t; - else { - for ( - (Xr = Xr || document.createElement('div')).innerHTML = '' + t + '', t = Xr.firstChild; - e.firstChild; - - ) - e.removeChild(e.firstChild); - for (; t.firstChild; ) e.appendChild(t.firstChild); - } - }); - function Zr(e, t) { - if (t) { - var n = e.firstChild; - if (n && n === e.lastChild && 3 === n.nodeType) return void (n.nodeValue = t); - } - e.textContent = t; - } - var eo = { - animationIterationCount: !0, - borderImageOutset: !0, - borderImageSlice: !0, - borderImageWidth: !0, - boxFlex: !0, - boxFlexGroup: !0, - boxOrdinalGroup: !0, - columnCount: !0, - columns: !0, - flex: !0, - flexGrow: !0, - flexPositive: !0, - flexShrink: !0, - flexNegative: !0, - flexOrder: !0, - gridRow: !0, - gridRowEnd: !0, - gridRowSpan: !0, - gridRowStart: !0, - gridColumn: !0, - gridColumnEnd: !0, - gridColumnSpan: !0, - gridColumnStart: !0, - fontWeight: !0, - lineClamp: !0, - lineHeight: !0, - opacity: !0, - order: !0, - orphans: !0, - tabSize: !0, - widows: !0, - zIndex: !0, - zoom: !0, - fillOpacity: !0, - floodOpacity: !0, - stopOpacity: !0, - strokeDasharray: !0, - strokeDashoffset: !0, - strokeMiterlimit: !0, - strokeOpacity: !0, - strokeWidth: !0, - }, - to = ['Webkit', 'ms', 'Moz', 'O']; - function no(e, t) { - for (var n in ((e = e.style), t)) - if (t.hasOwnProperty(n)) { - var r = 0 === n.indexOf('--'), - o = n, - a = t[n]; - (o = - null == a || 'boolean' == typeof a || '' === a - ? '' - : r || 'number' != typeof a || 0 === a || (eo.hasOwnProperty(o) && eo[o]) - ? ('' + a).trim() - : a + 'px'), - 'float' === n && (n = 'cssFloat'), - r ? e.setProperty(n, o) : (e[n] = o); - } - } - Object.keys(eo).forEach(function(e) { - to.forEach(function(t) { - (t = t + e.charAt(0).toUpperCase() + e.substring(1)), (eo[t] = eo[e]); - }); - }); - var ro = i( - { menuitem: !0 }, - { - area: !0, - base: !0, - br: !0, - col: !0, - embed: !0, - hr: !0, - img: !0, - input: !0, - keygen: !0, - link: !0, - meta: !0, - param: !0, - source: !0, - track: !0, - wbr: !0, - } - ); - function oo(e, t, n) { - t && - (ro[e] && (null != t.children || null != t.dangerouslySetInnerHTML) && p('137', e, n()), - null != t.dangerouslySetInnerHTML && - (null != t.children && p('60'), - ('object' == typeof t.dangerouslySetInnerHTML && '__html' in t.dangerouslySetInnerHTML) || p('61')), - null != t.style && 'object' != typeof t.style && p('62', n())); - } - function ao(e, t) { - if (-1 === e.indexOf('-')) return 'string' == typeof t.is; - switch (e) { - 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 !1; - default: - return !0; - } - } - var io = l.thatReturns(''); - function lo(e, t) { - var n = Dn((e = 9 === e.nodeType || 11 === e.nodeType ? e : e.ownerDocument)); - t = x[t]; - for (var r = 0; r < t.length; r++) { - var o = t[r]; - (n.hasOwnProperty(o) && n[o]) || - ('topScroll' === o - ? xn('topScroll', 'scroll', e) - : 'topFocus' === o || 'topBlur' === o - ? (xn('topFocus', 'focus', e), xn('topBlur', 'blur', e), (n.topBlur = !0), (n.topFocus = !0)) - : 'topCancel' === o - ? (We('cancel', !0) && xn('topCancel', 'cancel', e), (n.topCancel = !0)) - : 'topClose' === o - ? (We('close', !0) && xn('topClose', 'close', e), (n.topClose = !0)) - : In.hasOwnProperty(o) && Cn(o, In[o], e), - (n[o] = !0)); - } - } - function uo(e, t, n, r) { - return ( - (n = 9 === n.nodeType ? n : n.ownerDocument), - r === $r.html && (r = qr(e)), - r === $r.html - ? 'script' === e - ? (((e = n.createElement('div')).innerHTML = ''), (e = e.removeChild(e.firstChild))) - : (e = 'string' == typeof t.is ? n.createElement(e, { is: t.is }) : n.createElement(e)) - : (e = n.createElementNS(r, e)), - e - ); - } - function co(e, t) { - return (9 === t.nodeType ? t : t.ownerDocument).createTextNode(e); - } - function so(e, t, n, r) { - var o = ao(t, n); - switch (t) { - case 'iframe': - case 'object': - Cn('topLoad', 'load', e); - var a = n; - break; - case 'video': - case 'audio': - for (a in jn) jn.hasOwnProperty(a) && Cn(a, jn[a], e); - a = n; - break; - case 'source': - Cn('topError', 'error', e), (a = n); - break; - case 'img': - case 'image': - case 'link': - Cn('topError', 'error', e), Cn('topLoad', 'load', e), (a = n); - break; - case 'form': - Cn('topReset', 'reset', e), Cn('topSubmit', 'submit', e), (a = n); - break; - case 'details': - Cn('topToggle', 'toggle', e), (a = n); - break; - case 'input': - Ct(e, n), (a = bt(e, n)), Cn('topInvalid', 'invalid', e), lo(r, 'onChange'); - break; - case 'option': - a = Hr(e, n); - break; - case 'select': - Vr(e, n), (a = i({}, n, { value: void 0 })), Cn('topInvalid', 'invalid', e), lo(r, 'onChange'); - break; - case 'textarea': - Wr(e, n), (a = Qr(e, n)), Cn('topInvalid', 'invalid', e), lo(r, 'onChange'); - break; - default: - a = n; - } - oo(t, a, io); - var u, - c = a; - for (u in c) - if (c.hasOwnProperty(u)) { - var s = c[u]; - 'style' === u - ? no(e, s) - : 'dangerouslySetInnerHTML' === u - ? null != (s = s ? s.__html : void 0) && Jr(e, s) - : 'children' === u - ? 'string' == typeof s - ? ('textarea' !== t || '' !== s) && Zr(e, s) - : 'number' == typeof s && Zr(e, '' + s) - : 'suppressContentEditableWarning' !== u && - 'suppressHydrationWarning' !== u && - 'autoFocus' !== u && - (C.hasOwnProperty(u) ? null != s && lo(r, u) : null != s && vt(e, u, s, o)); - } - switch (t) { - case 'input': - Ke(e), kt(e, n); - break; - case 'textarea': - Ke(e), Kr(e); - break; - case 'option': - null != n.value && e.setAttribute('value', n.value); - break; - case 'select': - (e.multiple = !!n.multiple), - null != (t = n.value) - ? Br(e, !!n.multiple, t, !1) - : null != n.defaultValue && Br(e, !!n.multiple, n.defaultValue, !0); - break; - default: - 'function' == typeof a.onClick && (e.onclick = l); - } - } - function fo(e, t, n, r, o) { - var a = null; - switch (t) { - case 'input': - (n = bt(e, n)), (r = bt(e, r)), (a = []); - break; - case 'option': - (n = Hr(e, n)), (r = Hr(e, r)), (a = []); - break; - case 'select': - (n = i({}, n, { value: void 0 })), (r = i({}, r, { value: void 0 })), (a = []); - break; - case 'textarea': - (n = Qr(e, n)), (r = Qr(e, r)), (a = []); - break; - default: - 'function' != typeof n.onClick && 'function' == typeof r.onClick && (e.onclick = l); - } - oo(t, r, io), (t = e = void 0); - var u = null; - for (e in n) - if (!r.hasOwnProperty(e) && n.hasOwnProperty(e) && null != n[e]) - if ('style' === e) { - var c = n[e]; - for (t in c) c.hasOwnProperty(t) && (u || (u = {}), (u[t] = '')); - } else - 'dangerouslySetInnerHTML' !== e && - 'children' !== e && - 'suppressContentEditableWarning' !== e && - 'suppressHydrationWarning' !== e && - 'autoFocus' !== e && - (C.hasOwnProperty(e) ? a || (a = []) : (a = a || []).push(e, null)); - for (e in r) { - var s = r[e]; - if (((c = null != n ? n[e] : void 0), r.hasOwnProperty(e) && s !== c && (null != s || null != c))) - if ('style' === e) - if (c) { - for (t in c) !c.hasOwnProperty(t) || (s && s.hasOwnProperty(t)) || (u || (u = {}), (u[t] = '')); - for (t in s) s.hasOwnProperty(t) && c[t] !== s[t] && (u || (u = {}), (u[t] = s[t])); - } else u || (a || (a = []), a.push(e, u)), (u = s); - else - 'dangerouslySetInnerHTML' === e - ? ((s = s ? s.__html : void 0), - (c = c ? c.__html : void 0), - null != s && c !== s && (a = a || []).push(e, '' + s)) - : 'children' === e - ? c === s || ('string' != typeof s && 'number' != typeof s) || (a = a || []).push(e, '' + s) - : 'suppressContentEditableWarning' !== e && - 'suppressHydrationWarning' !== e && - (C.hasOwnProperty(e) ? (null != s && lo(o, e), a || c === s || (a = [])) : (a = a || []).push(e, s)); - } - return u && (a = a || []).push('style', u), a; - } - function po(e, t, n, r, o) { - 'input' === n && 'radio' === o.type && null != o.name && xt(e, o), ao(n, r), (r = ao(n, o)); - for (var a = 0; a < t.length; a += 2) { - var i = t[a], - l = t[a + 1]; - 'style' === i - ? no(e, l) - : 'dangerouslySetInnerHTML' === i - ? Jr(e, l) - : 'children' === i - ? Zr(e, l) - : vt(e, i, l, r); - } - switch (n) { - case 'input': - Tt(e, o); - break; - case 'textarea': - Yr(e, o); - break; - case 'select': - (e._wrapperState.initialValue = void 0), - (t = e._wrapperState.wasMultiple), - (e._wrapperState.wasMultiple = !!o.multiple), - null != (n = o.value) - ? Br(e, !!o.multiple, n, !1) - : t !== !!o.multiple && - (null != o.defaultValue - ? Br(e, !!o.multiple, o.defaultValue, !0) - : Br(e, !!o.multiple, o.multiple ? [] : '', !1)); - } - } - function ho(e, t, n, r, o) { - switch (t) { - case 'iframe': - case 'object': - Cn('topLoad', 'load', e); - break; - case 'video': - case 'audio': - for (var a in jn) jn.hasOwnProperty(a) && Cn(a, jn[a], e); - break; - case 'source': - Cn('topError', 'error', e); - break; - case 'img': - case 'image': - case 'link': - Cn('topError', 'error', e), Cn('topLoad', 'load', e); - break; - case 'form': - Cn('topReset', 'reset', e), Cn('topSubmit', 'submit', e); - break; - case 'details': - Cn('topToggle', 'toggle', e); - break; - case 'input': - Ct(e, n), Cn('topInvalid', 'invalid', e), lo(o, 'onChange'); - break; - case 'select': - Vr(e, n), Cn('topInvalid', 'invalid', e), lo(o, 'onChange'); - break; - case 'textarea': - Wr(e, n), Cn('topInvalid', 'invalid', e), lo(o, 'onChange'); - } - for (var i in (oo(t, n, io), (r = null), n)) - n.hasOwnProperty(i) && - ((a = n[i]), - 'children' === i - ? 'string' == typeof a - ? e.textContent !== a && (r = ['children', a]) - : 'number' == typeof a && e.textContent !== '' + a && (r = ['children', '' + a]) - : C.hasOwnProperty(i) && null != a && lo(o, i)); - switch (t) { - case 'input': - Ke(e), kt(e, n); - break; - case 'textarea': - Ke(e), Kr(e); - break; - case 'select': - case 'option': - break; - default: - 'function' == typeof n.onClick && (e.onclick = l); - } - return r; - } - function mo(e, t) { - return e.nodeValue !== t; - } - var go = Object.freeze({ - createElement: uo, - createTextNode: co, - setInitialProperties: so, - diffProperties: fo, - updateProperties: po, - diffHydratedProperties: ho, - diffHydratedText: mo, - warnForUnmatchedText: function() {}, - warnForDeletedHydratableElement: function() {}, - warnForDeletedHydratableText: function() {}, - warnForInsertedHydratedElement: function() {}, - warnForInsertedHydratedText: function() {}, - restoreControlledState: function(e, t, n) { - switch (t) { - case 'input': - if ((Tt(e, n), (t = n.name), 'radio' === n.type && null != t)) { - for (n = e; n.parentNode; ) n = n.parentNode; - for ( - n = n.querySelectorAll('input[name=' + JSON.stringify('' + t) + '][type="radio"]'), t = 0; - t < n.length; - t++ - ) { - var r = n[t]; - if (r !== e && r.form === e.form) { - var o = W(r); - o || p('90'), $e(r), Tt(r, o); - } - } - } - break; - case 'textarea': - Yr(e, n); - break; - case 'select': - null != (t = n.value) && Br(e, !!n.multiple, t, !1); - } - }, - }); - Le.injectFiberControlledHostComponent(go); - var yo = null, - vo = null; - function bo(e) { - (this._expirationTime = wo.computeUniqueAsyncExpiration()), - (this._root = e), - (this._callbacks = this._next = null), - (this._hasChildren = this._didComplete = !1), - (this._children = null), - (this._defer = !0); - } - function Co() { - (this._callbacks = null), (this._didCommit = !1), (this._onCommit = this._onCommit.bind(this)); - } - function xo(e, t, n) { - this._internalRoot = wo.createContainer(e, t, n); - } - function To(e) { - return !( - !e || - (1 !== e.nodeType && - 9 !== e.nodeType && - 11 !== e.nodeType && - (8 !== e.nodeType || ' react-mount-point-unstable ' !== e.nodeValue)) - ); - } - function ko(e, t) { - switch (e) { - case 'button': - case 'input': - case 'select': - case 'textarea': - return !!t.autoFocus; - } - return !1; - } - (bo.prototype.render = function(e) { - this._defer || p('250'), (this._hasChildren = !0), (this._children = e); - var t = this._root._internalRoot, - n = this._expirationTime, - r = new Co(); - return wo.updateContainerAtExpirationTime(e, t, null, n, r._onCommit), r; - }), - (bo.prototype.then = function(e) { - if (this._didComplete) e(); - else { - var t = this._callbacks; - null === t && (t = this._callbacks = []), t.push(e); - } - }), - (bo.prototype.commit = function() { - var e = this._root._internalRoot, - t = e.firstBatch; - if (((this._defer && null !== t) || p('251'), this._hasChildren)) { - var n = this._expirationTime; - if (t !== this) { - this._hasChildren && ((n = this._expirationTime = t._expirationTime), this.render(this._children)); - for (var r = null, o = t; o !== this; ) (r = o), (o = o._next); - null === r && p('251'), (r._next = o._next), (this._next = t), (e.firstBatch = this); - } - (this._defer = !1), - wo.flushRoot(e, n), - (t = this._next), - (this._next = null), - null !== (t = e.firstBatch = t) && t._hasChildren && t.render(t._children); - } else (this._next = null), (this._defer = !1); - }), - (bo.prototype._onComplete = function() { - if (!this._didComplete) { - this._didComplete = !0; - var e = this._callbacks; - if (null !== e) for (var t = 0; t < e.length; t++) (0, e[t])(); - } - }), - (Co.prototype.then = function(e) { - if (this._didCommit) e(); - else { - var t = this._callbacks; - null === t && (t = this._callbacks = []), t.push(e); - } - }), - (Co.prototype._onCommit = function() { - if (!this._didCommit) { - this._didCommit = !0; - var e = this._callbacks; - if (null !== e) - for (var t = 0; t < e.length; t++) { - var n = e[t]; - 'function' != typeof n && p('191', n), n(); - } - } - }), - (xo.prototype.render = function(e, t) { - var n = this._internalRoot, - r = new Co(); - return null !== (t = void 0 === t ? null : t) && r.then(t), wo.updateContainer(e, n, null, r._onCommit), r; - }), - (xo.prototype.unmount = function(e) { - var t = this._internalRoot, - n = new Co(); - return null !== (e = void 0 === e ? null : e) && n.then(e), wo.updateContainer(null, t, null, n._onCommit), n; - }), - (xo.prototype.legacy_renderSubtreeIntoContainer = function(e, t, n) { - var r = this._internalRoot, - o = new Co(); - return null !== (n = void 0 === n ? null : n) && o.then(n), wo.updateContainer(t, r, e, o._onCommit), o; - }), - (xo.prototype.createBatch = function() { - var e = new bo(this), - t = e._expirationTime, - n = this._internalRoot, - r = n.firstBatch; - if (null === r) (n.firstBatch = e), (e._next = null); - else { - for (n = null; null !== r && r._expirationTime <= t; ) (n = r), (r = r._next); - (e._next = r), null !== n && (n._next = e); - } - return e; - }); - var wo = Er({ - getRootHostContext: function(e) { - var t = e.nodeType; - switch (t) { - case 9: - case 11: - e = (e = e.documentElement) ? e.namespaceURI : Gr(null, ''); - break; - default: - e = Gr((e = (t = 8 === t ? e.parentNode : e).namespaceURI || null), (t = t.tagName)); - } - return e; - }, - getChildHostContext: function(e, t) { - return Gr(e, t); - }, - getPublicInstance: function(e) { - return e; - }, - prepareForCommit: function() { - yo = vn; - var e = u(); - if (zn(e)) { - if ('selectionStart' in e) var t = { start: e.selectionStart, end: e.selectionEnd }; - else - e: { - var n = window.getSelection && window.getSelection(); - if (n && 0 !== n.rangeCount) { - t = n.anchorNode; - var r = n.anchorOffset, - o = n.focusNode; - n = n.focusOffset; - try { - t.nodeType, o.nodeType; - } catch (e) { - t = null; - break e; - } - var a = 0, - i = -1, - l = -1, - c = 0, - s = 0, - f = e, - p = null; - t: for (;;) { - for ( - var d; - f !== t || (0 !== r && 3 !== f.nodeType) || (i = a + r), - f !== o || (0 !== n && 3 !== f.nodeType) || (l = a + n), - 3 === f.nodeType && (a += f.nodeValue.length), - null !== (d = f.firstChild); - - ) - (p = f), (f = d); - for (;;) { - if (f === e) break t; - if ( - (p === t && ++c === r && (i = a), p === o && ++s === n && (l = a), null !== (d = f.nextSibling)) - ) - break; - p = (f = p).parentNode; - } - f = d; - } - t = -1 === i || -1 === l ? null : { start: i, end: l }; - } else t = null; - } - t = t || { start: 0, end: 0 }; - } else t = null; - (vo = { focusedElem: e, selectionRange: t }), bn(!1); - }, - resetAfterCommit: function() { - var e = vo, - t = u(), - n = e.focusedElem, - r = e.selectionRange; - if (t !== n && s(document.documentElement, n)) { - if (zn(n)) - if (((t = r.start), void 0 === (e = r.end) && (e = t), 'selectionStart' in n)) - (n.selectionStart = t), (n.selectionEnd = Math.min(e, n.value.length)); - else if (window.getSelection) { - t = window.getSelection(); - var o = n[oe()].length; - (e = Math.min(r.start, o)), - (r = void 0 === r.end ? e : Math.min(r.end, o)), - !t.extend && e > r && ((o = r), (r = e), (e = o)), - (o = Un(n, e)); - var a = Un(n, r); - if ( - o && - a && - (1 !== t.rangeCount || - t.anchorNode !== o.node || - t.anchorOffset !== o.offset || - t.focusNode !== a.node || - t.focusOffset !== a.offset) - ) { - var i = document.createRange(); - i.setStart(o.node, o.offset), - t.removeAllRanges(), - e > r ? (t.addRange(i), t.extend(a.node, a.offset)) : (i.setEnd(a.node, a.offset), t.addRange(i)); - } - } - for (t = [], e = n; (e = e.parentNode); ) - 1 === e.nodeType && t.push({ element: e, left: e.scrollLeft, top: e.scrollTop }); - for (n.focus(), n = 0; n < t.length; n++) - ((e = t[n]).element.scrollLeft = e.left), (e.element.scrollTop = e.top); - } - (vo = null), bn(yo), (yo = null); - }, - createInstance: function(e, t, n, r, o) { - return ((e = uo(e, t, n, r))[H] = o), (e[B] = t), e; - }, - appendInitialChild: function(e, t) { - e.appendChild(t); - }, - finalizeInitialChildren: function(e, t, n, r) { - return so(e, t, n, r), ko(t, n); - }, - prepareUpdate: function(e, t, n, r, o) { - return fo(e, t, n, r, o); - }, - shouldSetTextContent: function(e, t) { - return ( - 'textarea' === e || - 'string' == typeof t.children || - 'number' == typeof t.children || - ('object' == typeof t.dangerouslySetInnerHTML && - null !== t.dangerouslySetInnerHTML && - 'string' == typeof t.dangerouslySetInnerHTML.__html) - ); - }, - shouldDeprioritizeSubtree: function(e, t) { - return !!t.hidden; - }, - createTextInstance: function(e, t, n, r) { - return ((e = co(e, t))[H] = r), e; - }, - now: Nr, - mutation: { - commitMount: function(e, t, n) { - ko(t, n) && e.focus(); - }, - commitUpdate: function(e, t, n, r, o) { - (e[B] = o), po(e, t, n, r, o); - }, - resetTextContent: function(e) { - Zr(e, ''); - }, - commitTextUpdate: function(e, t, n) { - e.nodeValue = n; - }, - appendChild: function(e, t) { - e.appendChild(t); - }, - appendChildToContainer: function(e, t) { - 8 === e.nodeType ? e.parentNode.insertBefore(t, e) : e.appendChild(t); - }, - insertBefore: function(e, t, n) { - e.insertBefore(t, n); - }, - insertInContainerBefore: function(e, t, n) { - 8 === e.nodeType ? e.parentNode.insertBefore(t, n) : e.insertBefore(t, n); - }, - removeChild: function(e, t) { - e.removeChild(t); - }, - removeChildFromContainer: function(e, t) { - 8 === e.nodeType ? e.parentNode.removeChild(t) : e.removeChild(t); - }, - }, - hydration: { - canHydrateInstance: function(e, t) { - return 1 !== e.nodeType || t.toLowerCase() !== e.nodeName.toLowerCase() ? null : e; - }, - canHydrateTextInstance: function(e, t) { - return '' === t || 3 !== e.nodeType ? null : e; - }, - getNextHydratableSibling: function(e) { - for (e = e.nextSibling; e && 1 !== e.nodeType && 3 !== e.nodeType; ) e = e.nextSibling; - return e; - }, - getFirstHydratableChild: function(e) { - for (e = e.firstChild; e && 1 !== e.nodeType && 3 !== e.nodeType; ) e = e.nextSibling; - return e; - }, - hydrateInstance: function(e, t, n, r, o, a) { - return (e[H] = a), (e[B] = n), ho(e, t, n, o, r); - }, - hydrateTextInstance: function(e, t, n) { - return (e[H] = n), mo(e, t); - }, - didNotMatchHydratedContainerTextInstance: function() {}, - didNotMatchHydratedTextInstance: function() {}, - didNotHydrateContainerInstance: function() {}, - didNotHydrateInstance: function() {}, - didNotFindHydratableContainerInstance: function() {}, - didNotFindHydratableContainerTextInstance: function() {}, - didNotFindHydratableInstance: function() {}, - didNotFindHydratableTextInstance: function() {}, - }, - scheduleDeferredCallback: Lr, - cancelDeferredCallback: Ir, - }), - Mo = wo; - function Eo(e, t, n, r, o) { - To(n) || p('200'); - var a = n._reactRootContainer; - if (a) { - if ('function' == typeof o) { - var i = o; - o = function() { - var e = wo.getPublicRootInstance(a._internalRoot); - i.call(e); - }; - } - null != e ? a.legacy_renderSubtreeIntoContainer(e, t, o) : a.render(t, o); - } else { - if ( - ((a = n._reactRootContainer = (function(e, t) { - if ( - (t || - (t = !( - !(t = e ? (9 === e.nodeType ? e.documentElement : e.firstChild) : null) || - 1 !== t.nodeType || - !t.hasAttribute('data-reactroot') - )), - !t) - ) - for (var n; (n = e.lastChild); ) e.removeChild(n); - return new xo(e, !1, t); - })(n, r)), - 'function' == typeof o) - ) { - var l = o; - o = function() { - var e = wo.getPublicRootInstance(a._internalRoot); - l.call(e); - }; - } - wo.unbatchedUpdates(function() { - null != e ? a.legacy_renderSubtreeIntoContainer(e, t, o) : a.render(t, o); - }); - } - return wo.getPublicRootInstance(a._internalRoot); - } - function So(e, t) { - var n = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null; - return ( - To(t) || p('200'), - (function(e, t, n) { - var r = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null; - return { $$typeof: et, key: null == r ? null : '' + r, children: e, containerInfo: t, implementation: n }; - })(e, t, null, n) - ); - } - (Ue = Mo.batchedUpdates), (ze = Mo.interactiveUpdates), (Re = Mo.flushInteractiveUpdates); - var No = { - createPortal: So, - findDOMNode: function(e) { - return null == e ? null : 1 === e.nodeType ? e : wo.findHostInstance(e); - }, - hydrate: function(e, t, n) { - return Eo(null, e, t, !0, n); - }, - render: function(e, t, n) { - return Eo(null, e, t, !1, n); - }, - unstable_renderSubtreeIntoContainer: function(e, t, n, r) { - return (null == e || void 0 === e._reactInternalFiber) && p('38'), Eo(e, t, n, !1, r); - }, - unmountComponentAtNode: function(e) { - return ( - To(e) || p('40'), - !!e._reactRootContainer && - (wo.unbatchedUpdates(function() { - Eo(null, null, e, !1, function() { - e._reactRootContainer = null; - }); - }), - !0) - ); - }, - unstable_createPortal: function() { - return So.apply(void 0, arguments); - }, - unstable_batchedUpdates: wo.batchedUpdates, - unstable_deferredUpdates: wo.deferredUpdates, - flushSync: wo.flushSync, - unstable_flushControlled: wo.flushControlled, - __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: { - EventPluginHub: R, - EventPluginRegistry: w, - EventPropagators: ne, - ReactControlledComponent: Ae, - ReactDOMComponentTree: Y, - ReactDOMEventListener: wn, - }, - unstable_createRoot: function(e, t) { - return new xo(e, !0, null != t && !0 === t.hydrate); - }, - }; - wo.injectIntoDevTools({ - findFiberByHostInstance: V, - bundleType: 0, - version: '16.3.3', - rendererPackageName: 'react-dom', - }); - var Lo = Object.freeze({ default: No }), - Io = (Lo && No) || Lo; - e.exports = Io.default ? Io.default : Io; - }, - function(e, t, n) { - 'use strict'; - var r = !('undefined' == typeof window || !window.document || !window.document.createElement), - o = { - canUseDOM: r, - canUseWorkers: 'undefined' != typeof Worker, - canUseEventListeners: r && !(!window.addEventListener && !window.attachEvent), - canUseViewport: r && !!window.screen, - isInWorker: !r, - }; - e.exports = o; - }, - function(e, t, n) { - 'use strict'; - e.exports = function(e) { - if (void 0 === (e = e || ('undefined' != typeof document ? document : void 0))) return null; - try { - return e.activeElement || e.body; - } catch (t) { - return e.body; - } - }; - }, - function(e, t, n) { - 'use strict'; - var r = Object.prototype.hasOwnProperty; - function o(e, t) { - return e === t ? 0 !== e || 0 !== t || 1 / e == 1 / t : e != e && t != t; - } - e.exports = function(e, t) { - if (o(e, t)) return !0; - if ('object' != typeof e || null === e || 'object' != typeof t || null === t) return !1; - var n = Object.keys(e), - a = Object.keys(t); - if (n.length !== a.length) return !1; - for (var i = 0; i < n.length; i++) if (!r.call(t, n[i]) || !o(e[n[i]], t[n[i]])) return !1; - return !0; - }; - }, - function(e, t, n) { - 'use strict'; - var r = n(15); - e.exports = function e(t, n) { - return ( - !(!t || !n) && - (t === n || - (!r(t) && - (r(n) - ? e(t, n.parentNode) - : 'contains' in t - ? t.contains(n) - : !!t.compareDocumentPosition && !!(16 & t.compareDocumentPosition(n))))) - ); - }; - }, - function(e, t, n) { - 'use strict'; - var r = n(16); - e.exports = function(e) { - return r(e) && 3 == e.nodeType; - }; - }, - function(e, t, n) { - 'use strict'; - e.exports = function(e) { - var t = (e ? e.ownerDocument || e : document).defaultView || window; - return !( - !e || - !('function' == typeof t.Node - ? e instanceof t.Node - : 'object' == typeof e && 'number' == typeof e.nodeType && 'string' == typeof e.nodeName) - ); - }; - }, - function(e, t, n) { - var r = n(18); - 'string' == typeof r && (r = [[e.i, r, '']]); - var o = { hmr: !0, transform: void 0, insertInto: void 0 }; - n(6)(r, o); - r.locals && (e.exports = r.locals); - }, - function(e, t, n) { - (e.exports = n(5)(!1)).push([e.i, 'body {\n margin: 0;\n padding: 0;\n font-family: sans-serif;\n}\n', '']); - }, - function(e, t) { - e.exports = function(e) { - var t = 'undefined' != typeof window && window.location; - if (!t) throw new Error('fixUrls requires window.location'); - if (!e || 'string' != typeof e) return e; - var n = t.protocol + '//' + t.host, - r = n + t.pathname.replace(/\/[^\/]*$/, '/'); - return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi, function(e, t) { - var o, - a = t - .trim() - .replace(/^"(.*)"$/, function(e, t) { - return t; - }) - .replace(/^'(.*)'$/, function(e, t) { - return t; - }); - return /^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(a) - ? e - : ((o = 0 === a.indexOf('//') ? a : 0 === a.indexOf('/') ? n + a : r + a.replace(/^\.\//, '')), - 'url(' + JSON.stringify(o) + ')'); - }); - }; - }, - function(e, t, n) { - var r = n(21); - 'string' == typeof r && (r = [[e.i, r, '']]); - var o = { hmr: !0, transform: void 0, insertInto: void 0 }; - n(6)(r, o); - r.locals && (e.exports = r.locals); - }, - function(e, t, n) { - (e.exports = n(5)(!1)).push([ - e.i, - '.App {\n text-align: center;\n}\n\n.App-logo {\n animation: App-logo-spin infinite 20s linear;\n height: 80px;\n}\n\n.App-header {\n background-color: #222;\n height: 150px;\n padding: 20px;\n color: white;\n}\n\n.App-title {\n font-size: 1.5em;\n}\n\n.App-intro {\n font-size: large;\n}\n\n@keyframes App-logo-spin {\n from { transform: rotate(0deg); }\n to { transform: rotate(360deg); }\n}\n', - '', - ]); - }, - function(e, t, n) { - 'use strict'; - n.r(t); - var r = n(0), - o = n.n(r), - a = n(7), - i = n.n(a), - l = (n(17), n(8)), - u = n.n(l); - n(20); - var c = class extends r.Component { - render() { - return o.a.createElement( - 'div', - { className: 'App' }, - o.a.createElement( - 'header', - { className: 'App-header' }, - o.a.createElement('img', { src: u.a, className: 'App-logo', alt: 'logo' }), - o.a.createElement('h1', { className: 'App-title' }, 'Welcome to React') - ), - o.a.createElement( - 'p', - { className: 'App-intro' }, - 'To get started, edit ', - o.a.createElement('code', null, 'src/App.js'), - ' and save to reload.' - ) - ); - } - }; - i.a.render(o.a.createElement(c, null), document.getElementById('root')); - }, -]); diff --git a/packages/sdk/client/tsconfig.json b/packages/sdk/client/tsconfig.json index 774eef6b7..ff035dd83 100644 --- a/packages/sdk/client/tsconfig.json +++ b/packages/sdk/client/tsconfig.json @@ -1,7 +1,8 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "outDir": "build/dist" + "outDir": "build/dist", + "declarationDir": "built" }, "include": [ "./src" diff --git a/packages/sdk/main/tsconfig.json b/packages/sdk/main/tsconfig.json index 774eef6b7..ff035dd83 100644 --- a/packages/sdk/main/tsconfig.json +++ b/packages/sdk/main/tsconfig.json @@ -1,7 +1,8 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "outDir": "build/dist" + "outDir": "build/dist", + "declarationDir": "built" }, "include": [ "./src" diff --git a/packages/sdk/ui-react/tsconfig.json b/packages/sdk/ui-react/tsconfig.json index 774eef6b7..ff035dd83 100644 --- a/packages/sdk/ui-react/tsconfig.json +++ b/packages/sdk/ui-react/tsconfig.json @@ -1,7 +1,8 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "outDir": "build/dist" + "outDir": "build/dist", + "declarationDir": "built" }, "include": [ "./src"