Greasy Fork镜像 支持简体中文。

ChatGPT Question Navigation sidebar - MOD by Noushad

It provides a convenient question sidebar directory for the ChatGPT official website. It automatically collects the questions asked by users on the current session page and displays them on the sidebar, enabling quick navigation to the location of historical questions.

  1. // ==UserScript==
  2. // @name ChatGPT Question Navigation sidebar - MOD by Noushad
  3. // @name:zh-CN ChatGPT 问题导航侧边栏
  4. // @namespace fiverr.com/web_coder_nsd
  5. // @version 2.0.1
  6. // @author okokdi
  7. // @description It provides a convenient question sidebar directory for the ChatGPT official website. It automatically collects the questions asked by users on the current session page and displays them on the sidebar, enabling quick navigation to the location of historical questions.
  8. // @description:zh-CN 为ChatGPT官网提供了一个便捷的问题侧边栏目录。它能够自动搜集当前会话页面的用户提的问题,并展示在侧边栏上,提供快速导航到历史问题的位置的能力。
  9. // @license GPL-3.0-or-later
  10. // @source https://github.com/JianJroh/chatgpt-question-navigator.git
  11. // @supportURL https://github.com/JianJroh/chatgpt-question-navigator/issues
  12. // @match https://chat.openai.com/**
  13. // @match https://chatgpt.com/**
  14. // @icon https://raw.githubusercontent.com/adamlui/userscripts/master/chatgpt/media/icons/openai-favicon48.png
  15. // @icon64 https://raw.githubusercontent.com/adamlui/userscripts/master/chatgpt/media/icons/openai-favicon64.png
  16. // ==/UserScript==
  17.  
  18. (function () {
  19. 'use strict';
  20.  
  21. function getDefaultExportFromCjs(x2) {
  22. return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
  23. }
  24. var jsxRuntimeExports = {};
  25. var jsxRuntime = {
  26. get exports() {
  27. return jsxRuntimeExports;
  28. },
  29. set exports(v2) {
  30. jsxRuntimeExports = v2;
  31. }
  32. };
  33. var reactJsxRuntime_production_min = {};
  34. var reactExports = {};
  35. var react = {
  36. get exports() {
  37. return reactExports;
  38. },
  39. set exports(v2) {
  40. reactExports = v2;
  41. }
  42. };
  43. var react_production_min = {};
  44. /**
  45. * @license React
  46. * react.production.min.js
  47. *
  48. * Copyright (c) Facebook, Inc. and its affiliates.
  49. *
  50. * This source code is licensed under the MIT license found in the
  51. * LICENSE file in the root directory of this source tree.
  52. */
  53. var l$1 = Symbol.for("react.element"), n$1 = Symbol.for("react.portal"), p$2 = Symbol.for("react.fragment"), q$1 = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"), t = Symbol.for("react.provider"), u = Symbol.for("react.context"), v$1 = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), x = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), z$1 = Symbol.iterator;
  54. function A$1(a) {
  55. if (null === a || "object" !== typeof a)
  56. return null;
  57. a = z$1 && a[z$1] || a["@@iterator"];
  58. return "function" === typeof a ? a : null;
  59. }
  60. var B$1 = { isMounted: function() {
  61. return false;
  62. }, enqueueForceUpdate: function() {
  63. }, enqueueReplaceState: function() {
  64. }, enqueueSetState: function() {
  65. } }, C$1 = Object.assign, D$1 = {};
  66. function E$1(a, b, e) {
  67. this.props = a;
  68. this.context = b;
  69. this.refs = D$1;
  70. this.updater = e || B$1;
  71. }
  72. E$1.prototype.isReactComponent = {};
  73. E$1.prototype.setState = function(a, b) {
  74. if ("object" !== typeof a && "function" !== typeof a && null != a)
  75. throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
  76. this.updater.enqueueSetState(this, a, b, "setState");
  77. };
  78. E$1.prototype.forceUpdate = function(a) {
  79. this.updater.enqueueForceUpdate(this, a, "forceUpdate");
  80. };
  81. function F() {
  82. }
  83. F.prototype = E$1.prototype;
  84. function G$1(a, b, e) {
  85. this.props = a;
  86. this.context = b;
  87. this.refs = D$1;
  88. this.updater = e || B$1;
  89. }
  90. var H$1 = G$1.prototype = new F();
  91. H$1.constructor = G$1;
  92. C$1(H$1, E$1.prototype);
  93. H$1.isPureReactComponent = true;
  94. var I$1 = Array.isArray, J = Object.prototype.hasOwnProperty, K$1 = { current: null }, L$1 = { key: true, ref: true, __self: true, __source: true };
  95. function M$1(a, b, e) {
  96. var d, c = {}, k2 = null, h = null;
  97. if (null != b)
  98. for (d in void 0 !== b.ref && (h = b.ref), void 0 !== b.key && (k2 = "" + b.key), b)
  99. J.call(b, d) && !L$1.hasOwnProperty(d) && (c[d] = b[d]);
  100. var g = arguments.length - 2;
  101. if (1 === g)
  102. c.children = e;
  103. else if (1 < g) {
  104. for (var f2 = Array(g), m2 = 0; m2 < g; m2++)
  105. f2[m2] = arguments[m2 + 2];
  106. c.children = f2;
  107. }
  108. if (a && a.defaultProps)
  109. for (d in g = a.defaultProps, g)
  110. void 0 === c[d] && (c[d] = g[d]);
  111. return { $$typeof: l$1, type: a, key: k2, ref: h, props: c, _owner: K$1.current };
  112. }
  113. function N$1(a, b) {
  114. return { $$typeof: l$1, type: a.type, key: b, ref: a.ref, props: a.props, _owner: a._owner };
  115. }
  116. function O$1(a) {
  117. return "object" === typeof a && null !== a && a.$$typeof === l$1;
  118. }
  119. function escape(a) {
  120. var b = { "=": "=0", ":": "=2" };
  121. return "$" + a.replace(/[=:]/g, function(a2) {
  122. return b[a2];
  123. });
  124. }
  125. var P$1 = /\/+/g;
  126. function Q$1(a, b) {
  127. return "object" === typeof a && null !== a && null != a.key ? escape("" + a.key) : b.toString(36);
  128. }
  129. function R$1(a, b, e, d, c) {
  130. var k2 = typeof a;
  131. if ("undefined" === k2 || "boolean" === k2)
  132. a = null;
  133. var h = false;
  134. if (null === a)
  135. h = true;
  136. else
  137. switch (k2) {
  138. case "string":
  139. case "number":
  140. h = true;
  141. break;
  142. case "object":
  143. switch (a.$$typeof) {
  144. case l$1:
  145. case n$1:
  146. h = true;
  147. }
  148. }
  149. if (h)
  150. return h = a, c = c(h), a = "" === d ? "." + Q$1(h, 0) : d, I$1(c) ? (e = "", null != a && (e = a.replace(P$1, "$&/") + "/"), R$1(c, b, e, "", function(a2) {
  151. return a2;
  152. })) : null != c && (O$1(c) && (c = N$1(c, e + (!c.key || h && h.key === c.key ? "" : ("" + c.key).replace(P$1, "$&/") + "/") + a)), b.push(c)), 1;
  153. h = 0;
  154. d = "" === d ? "." : d + ":";
  155. if (I$1(a))
  156. for (var g = 0; g < a.length; g++) {
  157. k2 = a[g];
  158. var f2 = d + Q$1(k2, g);
  159. h += R$1(k2, b, e, f2, c);
  160. }
  161. else if (f2 = A$1(a), "function" === typeof f2)
  162. for (a = f2.call(a), g = 0; !(k2 = a.next()).done; )
  163. k2 = k2.value, f2 = d + Q$1(k2, g++), h += R$1(k2, b, e, f2, c);
  164. else if ("object" === k2)
  165. throw b = String(a), Error("Objects are not valid as a React child (found: " + ("[object Object]" === b ? "object with keys {" + Object.keys(a).join(", ") + "}" : b) + "). If you meant to render a collection of children, use an array instead.");
  166. return h;
  167. }
  168. function S$1(a, b, e) {
  169. if (null == a)
  170. return a;
  171. var d = [], c = 0;
  172. R$1(a, d, "", "", function(a2) {
  173. return b.call(e, a2, c++);
  174. });
  175. return d;
  176. }
  177. function T$1(a) {
  178. if (-1 === a._status) {
  179. var b = a._result;
  180. b = b();
  181. b.then(function(b2) {
  182. if (0 === a._status || -1 === a._status)
  183. a._status = 1, a._result = b2;
  184. }, function(b2) {
  185. if (0 === a._status || -1 === a._status)
  186. a._status = 2, a._result = b2;
  187. });
  188. -1 === a._status && (a._status = 0, a._result = b);
  189. }
  190. if (1 === a._status)
  191. return a._result.default;
  192. throw a._result;
  193. }
  194. var U$1 = { current: null }, V$1 = { transition: null }, W$1 = { ReactCurrentDispatcher: U$1, ReactCurrentBatchConfig: V$1, ReactCurrentOwner: K$1 };
  195. react_production_min.Children = { map: S$1, forEach: function(a, b, e) {
  196. S$1(a, function() {
  197. b.apply(this, arguments);
  198. }, e);
  199. }, count: function(a) {
  200. var b = 0;
  201. S$1(a, function() {
  202. b++;
  203. });
  204. return b;
  205. }, toArray: function(a) {
  206. return S$1(a, function(a2) {
  207. return a2;
  208. }) || [];
  209. }, only: function(a) {
  210. if (!O$1(a))
  211. throw Error("React.Children.only expected to receive a single React element child.");
  212. return a;
  213. } };
  214. react_production_min.Component = E$1;
  215. react_production_min.Fragment = p$2;
  216. react_production_min.Profiler = r;
  217. react_production_min.PureComponent = G$1;
  218. react_production_min.StrictMode = q$1;
  219. react_production_min.Suspense = w;
  220. react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W$1;
  221. react_production_min.cloneElement = function(a, b, e) {
  222. if (null === a || void 0 === a)
  223. throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a + ".");
  224. var d = C$1({}, a.props), c = a.key, k2 = a.ref, h = a._owner;
  225. if (null != b) {
  226. void 0 !== b.ref && (k2 = b.ref, h = K$1.current);
  227. void 0 !== b.key && (c = "" + b.key);
  228. if (a.type && a.type.defaultProps)
  229. var g = a.type.defaultProps;
  230. for (f2 in b)
  231. J.call(b, f2) && !L$1.hasOwnProperty(f2) && (d[f2] = void 0 === b[f2] && void 0 !== g ? g[f2] : b[f2]);
  232. }
  233. var f2 = arguments.length - 2;
  234. if (1 === f2)
  235. d.children = e;
  236. else if (1 < f2) {
  237. g = Array(f2);
  238. for (var m2 = 0; m2 < f2; m2++)
  239. g[m2] = arguments[m2 + 2];
  240. d.children = g;
  241. }
  242. return { $$typeof: l$1, type: a.type, key: c, ref: k2, props: d, _owner: h };
  243. };
  244. react_production_min.createContext = function(a) {
  245. a = { $$typeof: u, _currentValue: a, _currentValue2: a, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null };
  246. a.Provider = { $$typeof: t, _context: a };
  247. return a.Consumer = a;
  248. };
  249. react_production_min.createElement = M$1;
  250. react_production_min.createFactory = function(a) {
  251. var b = M$1.bind(null, a);
  252. b.type = a;
  253. return b;
  254. };
  255. react_production_min.createRef = function() {
  256. return { current: null };
  257. };
  258. react_production_min.forwardRef = function(a) {
  259. return { $$typeof: v$1, render: a };
  260. };
  261. react_production_min.isValidElement = O$1;
  262. react_production_min.lazy = function(a) {
  263. return { $$typeof: y, _payload: { _status: -1, _result: a }, _init: T$1 };
  264. };
  265. react_production_min.memo = function(a, b) {
  266. return { $$typeof: x, type: a, compare: void 0 === b ? null : b };
  267. };
  268. react_production_min.startTransition = function(a) {
  269. var b = V$1.transition;
  270. V$1.transition = {};
  271. try {
  272. a();
  273. } finally {
  274. V$1.transition = b;
  275. }
  276. };
  277. react_production_min.unstable_act = function() {
  278. throw Error("act(...) is not supported in production builds of React.");
  279. };
  280. react_production_min.useCallback = function(a, b) {
  281. return U$1.current.useCallback(a, b);
  282. };
  283. react_production_min.useContext = function(a) {
  284. return U$1.current.useContext(a);
  285. };
  286. react_production_min.useDebugValue = function() {
  287. };
  288. react_production_min.useDeferredValue = function(a) {
  289. return U$1.current.useDeferredValue(a);
  290. };
  291. react_production_min.useEffect = function(a, b) {
  292. return U$1.current.useEffect(a, b);
  293. };
  294. react_production_min.useId = function() {
  295. return U$1.current.useId();
  296. };
  297. react_production_min.useImperativeHandle = function(a, b, e) {
  298. return U$1.current.useImperativeHandle(a, b, e);
  299. };
  300. react_production_min.useInsertionEffect = function(a, b) {
  301. return U$1.current.useInsertionEffect(a, b);
  302. };
  303. react_production_min.useLayoutEffect = function(a, b) {
  304. return U$1.current.useLayoutEffect(a, b);
  305. };
  306. react_production_min.useMemo = function(a, b) {
  307. return U$1.current.useMemo(a, b);
  308. };
  309. react_production_min.useReducer = function(a, b, e) {
  310. return U$1.current.useReducer(a, b, e);
  311. };
  312. react_production_min.useRef = function(a) {
  313. return U$1.current.useRef(a);
  314. };
  315. react_production_min.useState = function(a) {
  316. return U$1.current.useState(a);
  317. };
  318. react_production_min.useSyncExternalStore = function(a, b, e) {
  319. return U$1.current.useSyncExternalStore(a, b, e);
  320. };
  321. react_production_min.useTransition = function() {
  322. return U$1.current.useTransition();
  323. };
  324. react_production_min.version = "18.2.0";
  325. (function(module) {
  326. {
  327. module.exports = react_production_min;
  328. }
  329. })(react);
  330. const React = /* @__PURE__ */ getDefaultExportFromCjs(reactExports);
  331. /**
  332. * @license React
  333. * react-jsx-runtime.production.min.js
  334. *
  335. * Copyright (c) Facebook, Inc. and its affiliates.
  336. *
  337. * This source code is licensed under the MIT license found in the
  338. * LICENSE file in the root directory of this source tree.
  339. */
  340. var f = reactExports, k = Symbol.for("react.element"), l = Symbol.for("react.fragment"), m$1 = Object.prototype.hasOwnProperty, n = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p$1 = { key: true, ref: true, __self: true, __source: true };
  341. function q(c, a, g) {
  342. var b, d = {}, e = null, h = null;
  343. void 0 !== g && (e = "" + g);
  344. void 0 !== a.key && (e = "" + a.key);
  345. void 0 !== a.ref && (h = a.ref);
  346. for (b in a)
  347. m$1.call(a, b) && !p$1.hasOwnProperty(b) && (d[b] = a[b]);
  348. if (c && c.defaultProps)
  349. for (b in a = c.defaultProps, a)
  350. void 0 === d[b] && (d[b] = a[b]);
  351. return { $$typeof: k, type: c, key: e, ref: h, props: d, _owner: n.current };
  352. }
  353. reactJsxRuntime_production_min.Fragment = l;
  354. reactJsxRuntime_production_min.jsx = q;
  355. reactJsxRuntime_production_min.jsxs = q;
  356. (function(module) {
  357. {
  358. module.exports = reactJsxRuntime_production_min;
  359. }
  360. })(jsxRuntime);
  361. var client = {};
  362. var reactDomExports = {};
  363. var reactDom = {
  364. get exports() {
  365. return reactDomExports;
  366. },
  367. set exports(v2) {
  368. reactDomExports = v2;
  369. }
  370. };
  371. var reactDom_production_min = {};
  372. var schedulerExports = {};
  373. var scheduler = {
  374. get exports() {
  375. return schedulerExports;
  376. },
  377. set exports(v2) {
  378. schedulerExports = v2;
  379. }
  380. };
  381. var scheduler_production_min = {};
  382. /**
  383. * @license React
  384. * scheduler.production.min.js
  385. *
  386. * Copyright (c) Facebook, Inc. and its affiliates.
  387. *
  388. * This source code is licensed under the MIT license found in the
  389. * LICENSE file in the root directory of this source tree.
  390. */
  391. (function(exports) {
  392. function f2(a, b) {
  393. var c = a.length;
  394. a.push(b);
  395. a:
  396. for (; 0 < c; ) {
  397. var d = c - 1 >>> 1, e = a[d];
  398. if (0 < g(e, b))
  399. a[d] = b, a[c] = e, c = d;
  400. else
  401. break a;
  402. }
  403. }
  404. function h(a) {
  405. return 0 === a.length ? null : a[0];
  406. }
  407. function k2(a) {
  408. if (0 === a.length)
  409. return null;
  410. var b = a[0], c = a.pop();
  411. if (c !== b) {
  412. a[0] = c;
  413. a:
  414. for (var d = 0, e = a.length, w2 = e >>> 1; d < w2; ) {
  415. var m2 = 2 * (d + 1) - 1, C2 = a[m2], n2 = m2 + 1, x2 = a[n2];
  416. if (0 > g(C2, c))
  417. n2 < e && 0 > g(x2, C2) ? (a[d] = x2, a[n2] = c, d = n2) : (a[d] = C2, a[m2] = c, d = m2);
  418. else if (n2 < e && 0 > g(x2, c))
  419. a[d] = x2, a[n2] = c, d = n2;
  420. else
  421. break a;
  422. }
  423. }
  424. return b;
  425. }
  426. function g(a, b) {
  427. var c = a.sortIndex - b.sortIndex;
  428. return 0 !== c ? c : a.id - b.id;
  429. }
  430. if ("object" === typeof performance && "function" === typeof performance.now) {
  431. var l2 = performance;
  432. exports.unstable_now = function() {
  433. return l2.now();
  434. };
  435. } else {
  436. var p2 = Date, q2 = p2.now();
  437. exports.unstable_now = function() {
  438. return p2.now() - q2;
  439. };
  440. }
  441. var r2 = [], t2 = [], u2 = 1, v2 = null, y2 = 3, z2 = false, A2 = false, B2 = false, D2 = "function" === typeof setTimeout ? setTimeout : null, E2 = "function" === typeof clearTimeout ? clearTimeout : null, F2 = "undefined" !== typeof setImmediate ? setImmediate : null;
  442. "undefined" !== typeof navigator && void 0 !== navigator.scheduling && void 0 !== navigator.scheduling.isInputPending && navigator.scheduling.isInputPending.bind(navigator.scheduling);
  443. function G2(a) {
  444. for (var b = h(t2); null !== b; ) {
  445. if (null === b.callback)
  446. k2(t2);
  447. else if (b.startTime <= a)
  448. k2(t2), b.sortIndex = b.expirationTime, f2(r2, b);
  449. else
  450. break;
  451. b = h(t2);
  452. }
  453. }
  454. function H2(a) {
  455. B2 = false;
  456. G2(a);
  457. if (!A2)
  458. if (null !== h(r2))
  459. A2 = true, I2(J2);
  460. else {
  461. var b = h(t2);
  462. null !== b && K2(H2, b.startTime - a);
  463. }
  464. }
  465. function J2(a, b) {
  466. A2 = false;
  467. B2 && (B2 = false, E2(L2), L2 = -1);
  468. z2 = true;
  469. var c = y2;
  470. try {
  471. G2(b);
  472. for (v2 = h(r2); null !== v2 && (!(v2.expirationTime > b) || a && !M2()); ) {
  473. var d = v2.callback;
  474. if ("function" === typeof d) {
  475. v2.callback = null;
  476. y2 = v2.priorityLevel;
  477. var e = d(v2.expirationTime <= b);
  478. b = exports.unstable_now();
  479. "function" === typeof e ? v2.callback = e : v2 === h(r2) && k2(r2);
  480. G2(b);
  481. } else
  482. k2(r2);
  483. v2 = h(r2);
  484. }
  485. if (null !== v2)
  486. var w2 = true;
  487. else {
  488. var m2 = h(t2);
  489. null !== m2 && K2(H2, m2.startTime - b);
  490. w2 = false;
  491. }
  492. return w2;
  493. } finally {
  494. v2 = null, y2 = c, z2 = false;
  495. }
  496. }
  497. var N2 = false, O2 = null, L2 = -1, P2 = 5, Q2 = -1;
  498. function M2() {
  499. return exports.unstable_now() - Q2 < P2 ? false : true;
  500. }
  501. function R2() {
  502. if (null !== O2) {
  503. var a = exports.unstable_now();
  504. Q2 = a;
  505. var b = true;
  506. try {
  507. b = O2(true, a);
  508. } finally {
  509. b ? S2() : (N2 = false, O2 = null);
  510. }
  511. } else
  512. N2 = false;
  513. }
  514. var S2;
  515. if ("function" === typeof F2)
  516. S2 = function() {
  517. F2(R2);
  518. };
  519. else if ("undefined" !== typeof MessageChannel) {
  520. var T2 = new MessageChannel(), U2 = T2.port2;
  521. T2.port1.onmessage = R2;
  522. S2 = function() {
  523. U2.postMessage(null);
  524. };
  525. } else
  526. S2 = function() {
  527. D2(R2, 0);
  528. };
  529. function I2(a) {
  530. O2 = a;
  531. N2 || (N2 = true, S2());
  532. }
  533. function K2(a, b) {
  534. L2 = D2(function() {
  535. a(exports.unstable_now());
  536. }, b);
  537. }
  538. exports.unstable_IdlePriority = 5;
  539. exports.unstable_ImmediatePriority = 1;
  540. exports.unstable_LowPriority = 4;
  541. exports.unstable_NormalPriority = 3;
  542. exports.unstable_Profiling = null;
  543. exports.unstable_UserBlockingPriority = 2;
  544. exports.unstable_cancelCallback = function(a) {
  545. a.callback = null;
  546. };
  547. exports.unstable_continueExecution = function() {
  548. A2 || z2 || (A2 = true, I2(J2));
  549. };
  550. exports.unstable_forceFrameRate = function(a) {
  551. 0 > a || 125 < a ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : P2 = 0 < a ? Math.floor(1e3 / a) : 5;
  552. };
  553. exports.unstable_getCurrentPriorityLevel = function() {
  554. return y2;
  555. };
  556. exports.unstable_getFirstCallbackNode = function() {
  557. return h(r2);
  558. };
  559. exports.unstable_next = function(a) {
  560. switch (y2) {
  561. case 1:
  562. case 2:
  563. case 3:
  564. var b = 3;
  565. break;
  566. default:
  567. b = y2;
  568. }
  569. var c = y2;
  570. y2 = b;
  571. try {
  572. return a();
  573. } finally {
  574. y2 = c;
  575. }
  576. };
  577. exports.unstable_pauseExecution = function() {
  578. };
  579. exports.unstable_requestPaint = function() {
  580. };
  581. exports.unstable_runWithPriority = function(a, b) {
  582. switch (a) {
  583. case 1:
  584. case 2:
  585. case 3:
  586. case 4:
  587. case 5:
  588. break;
  589. default:
  590. a = 3;
  591. }
  592. var c = y2;
  593. y2 = a;
  594. try {
  595. return b();
  596. } finally {
  597. y2 = c;
  598. }
  599. };
  600. exports.unstable_scheduleCallback = function(a, b, c) {
  601. var d = exports.unstable_now();
  602. "object" === typeof c && null !== c ? (c = c.delay, c = "number" === typeof c && 0 < c ? d + c : d) : c = d;
  603. switch (a) {
  604. case 1:
  605. var e = -1;
  606. break;
  607. case 2:
  608. e = 250;
  609. break;
  610. case 5:
  611. e = 1073741823;
  612. break;
  613. case 4:
  614. e = 1e4;
  615. break;
  616. default:
  617. e = 5e3;
  618. }
  619. e = c + e;
  620. a = { id: u2++, callback: b, priorityLevel: a, startTime: c, expirationTime: e, sortIndex: -1 };
  621. c > d ? (a.sortIndex = c, f2(t2, a), null === h(r2) && a === h(t2) && (B2 ? (E2(L2), L2 = -1) : B2 = true, K2(H2, c - d))) : (a.sortIndex = e, f2(r2, a), A2 || z2 || (A2 = true, I2(J2)));
  622. return a;
  623. };
  624. exports.unstable_shouldYield = M2;
  625. exports.unstable_wrapCallback = function(a) {
  626. var b = y2;
  627. return function() {
  628. var c = y2;
  629. y2 = b;
  630. try {
  631. return a.apply(this, arguments);
  632. } finally {
  633. y2 = c;
  634. }
  635. };
  636. };
  637. })(scheduler_production_min);
  638. (function(module) {
  639. {
  640. module.exports = scheduler_production_min;
  641. }
  642. })(scheduler);
  643. /**
  644. * @license React
  645. * react-dom.production.min.js
  646. *
  647. * Copyright (c) Facebook, Inc. and its affiliates.
  648. *
  649. * This source code is licensed under the MIT license found in the
  650. * LICENSE file in the root directory of this source tree.
  651. */
  652. var aa = reactExports, ca = schedulerExports;
  653. function p(a) {
  654. for (var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 1; c < arguments.length; c++)
  655. b += "&args[]=" + encodeURIComponent(arguments[c]);
  656. return "Minified React error #" + a + "; visit " + b + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
  657. }
  658. var da = /* @__PURE__ */ new Set(), ea = {};
  659. function fa(a, b) {
  660. ha(a, b);
  661. ha(a + "Capture", b);
  662. }
  663. function ha(a, b) {
  664. ea[a] = b;
  665. for (a = 0; a < b.length; a++)
  666. da.add(b[a]);
  667. }
  668. var ia = !("undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement), ja = Object.prototype.hasOwnProperty, ka = /^[: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]*$/, la = {}, ma = {};
  669. function oa(a) {
  670. if (ja.call(ma, a))
  671. return true;
  672. if (ja.call(la, a))
  673. return false;
  674. if (ka.test(a))
  675. return ma[a] = true;
  676. la[a] = true;
  677. return false;
  678. }
  679. function pa(a, b, c, d) {
  680. if (null !== c && 0 === c.type)
  681. return false;
  682. switch (typeof b) {
  683. case "function":
  684. case "symbol":
  685. return true;
  686. case "boolean":
  687. if (d)
  688. return false;
  689. if (null !== c)
  690. return !c.acceptsBooleans;
  691. a = a.toLowerCase().slice(0, 5);
  692. return "data-" !== a && "aria-" !== a;
  693. default:
  694. return false;
  695. }
  696. }
  697. function qa(a, b, c, d) {
  698. if (null === b || "undefined" === typeof b || pa(a, b, c, d))
  699. return true;
  700. if (d)
  701. return false;
  702. if (null !== c)
  703. switch (c.type) {
  704. case 3:
  705. return !b;
  706. case 4:
  707. return false === b;
  708. case 5:
  709. return isNaN(b);
  710. case 6:
  711. return isNaN(b) || 1 > b;
  712. }
  713. return false;
  714. }
  715. function v(a, b, c, d, e, f2, g) {
  716. this.acceptsBooleans = 2 === b || 3 === b || 4 === b;
  717. this.attributeName = d;
  718. this.attributeNamespace = e;
  719. this.mustUseProperty = c;
  720. this.propertyName = a;
  721. this.type = b;
  722. this.sanitizeURL = f2;
  723. this.removeEmptyString = g;
  724. }
  725. var z = {};
  726. "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a) {
  727. z[a] = new v(a, 0, false, a, null, false, false);
  728. });
  729. [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(a) {
  730. var b = a[0];
  731. z[b] = new v(b, 1, false, a[1], null, false, false);
  732. });
  733. ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(a) {
  734. z[a] = new v(a, 2, false, a.toLowerCase(), null, false, false);
  735. });
  736. ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(a) {
  737. z[a] = new v(a, 2, false, a, null, false, false);
  738. });
  739. "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a) {
  740. z[a] = new v(a, 3, false, a.toLowerCase(), null, false, false);
  741. });
  742. ["checked", "multiple", "muted", "selected"].forEach(function(a) {
  743. z[a] = new v(a, 3, true, a, null, false, false);
  744. });
  745. ["capture", "download"].forEach(function(a) {
  746. z[a] = new v(a, 4, false, a, null, false, false);
  747. });
  748. ["cols", "rows", "size", "span"].forEach(function(a) {
  749. z[a] = new v(a, 6, false, a, null, false, false);
  750. });
  751. ["rowSpan", "start"].forEach(function(a) {
  752. z[a] = new v(a, 5, false, a.toLowerCase(), null, false, false);
  753. });
  754. var ra = /[\-:]([a-z])/g;
  755. function sa(a) {
  756. return a[1].toUpperCase();
  757. }
  758. "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(a) {
  759. var b = a.replace(
  760. ra,
  761. sa
  762. );
  763. z[b] = new v(b, 1, false, a, null, false, false);
  764. });
  765. "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a) {
  766. var b = a.replace(ra, sa);
  767. z[b] = new v(b, 1, false, a, "http://www.w3.org/1999/xlink", false, false);
  768. });
  769. ["xml:base", "xml:lang", "xml:space"].forEach(function(a) {
  770. var b = a.replace(ra, sa);
  771. z[b] = new v(b, 1, false, a, "http://www.w3.org/XML/1998/namespace", false, false);
  772. });
  773. ["tabIndex", "crossOrigin"].forEach(function(a) {
  774. z[a] = new v(a, 1, false, a.toLowerCase(), null, false, false);
  775. });
  776. z.xlinkHref = new v("xlinkHref", 1, false, "xlink:href", "http://www.w3.org/1999/xlink", true, false);
  777. ["src", "href", "action", "formAction"].forEach(function(a) {
  778. z[a] = new v(a, 1, false, a.toLowerCase(), null, true, true);
  779. });
  780. function ta(a, b, c, d) {
  781. var e = z.hasOwnProperty(b) ? z[b] : null;
  782. if (null !== e ? 0 !== e.type : d || !(2 < b.length) || "o" !== b[0] && "O" !== b[0] || "n" !== b[1] && "N" !== b[1])
  783. qa(b, c, e, d) && (c = null), d || null === e ? oa(b) && (null === c ? a.removeAttribute(b) : a.setAttribute(b, "" + c)) : e.mustUseProperty ? a[e.propertyName] = null === c ? 3 === e.type ? false : "" : c : (b = e.attributeName, d = e.attributeNamespace, null === c ? a.removeAttribute(b) : (e = e.type, c = 3 === e || 4 === e && true === c ? "" : "" + c, d ? a.setAttributeNS(d, b, c) : a.setAttribute(b, c)));
  784. }
  785. var ua = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, va = Symbol.for("react.element"), wa = Symbol.for("react.portal"), ya = Symbol.for("react.fragment"), za = Symbol.for("react.strict_mode"), Aa = Symbol.for("react.profiler"), Ba = Symbol.for("react.provider"), Ca = Symbol.for("react.context"), Da = Symbol.for("react.forward_ref"), Ea = Symbol.for("react.suspense"), Fa = Symbol.for("react.suspense_list"), Ga = Symbol.for("react.memo"), Ha = Symbol.for("react.lazy");
  786. var Ia = Symbol.for("react.offscreen");
  787. var Ja = Symbol.iterator;
  788. function Ka(a) {
  789. if (null === a || "object" !== typeof a)
  790. return null;
  791. a = Ja && a[Ja] || a["@@iterator"];
  792. return "function" === typeof a ? a : null;
  793. }
  794. var A = Object.assign, La;
  795. function Ma(a) {
  796. if (void 0 === La)
  797. try {
  798. throw Error();
  799. } catch (c) {
  800. var b = c.stack.trim().match(/\n( *(at )?)/);
  801. La = b && b[1] || "";
  802. }
  803. return "\n" + La + a;
  804. }
  805. var Na = false;
  806. function Oa(a, b) {
  807. if (!a || Na)
  808. return "";
  809. Na = true;
  810. var c = Error.prepareStackTrace;
  811. Error.prepareStackTrace = void 0;
  812. try {
  813. if (b)
  814. if (b = function() {
  815. throw Error();
  816. }, Object.defineProperty(b.prototype, "props", { set: function() {
  817. throw Error();
  818. } }), "object" === typeof Reflect && Reflect.construct) {
  819. try {
  820. Reflect.construct(b, []);
  821. } catch (l2) {
  822. var d = l2;
  823. }
  824. Reflect.construct(a, [], b);
  825. } else {
  826. try {
  827. b.call();
  828. } catch (l2) {
  829. d = l2;
  830. }
  831. a.call(b.prototype);
  832. }
  833. else {
  834. try {
  835. throw Error();
  836. } catch (l2) {
  837. d = l2;
  838. }
  839. a();
  840. }
  841. } catch (l2) {
  842. if (l2 && d && "string" === typeof l2.stack) {
  843. for (var e = l2.stack.split("\n"), f2 = d.stack.split("\n"), g = e.length - 1, h = f2.length - 1; 1 <= g && 0 <= h && e[g] !== f2[h]; )
  844. h--;
  845. for (; 1 <= g && 0 <= h; g--, h--)
  846. if (e[g] !== f2[h]) {
  847. if (1 !== g || 1 !== h) {
  848. do
  849. if (g--, h--, 0 > h || e[g] !== f2[h]) {
  850. var k2 = "\n" + e[g].replace(" at new ", " at ");
  851. a.displayName && k2.includes("<anonymous>") && (k2 = k2.replace("<anonymous>", a.displayName));
  852. return k2;
  853. }
  854. while (1 <= g && 0 <= h);
  855. }
  856. break;
  857. }
  858. }
  859. } finally {
  860. Na = false, Error.prepareStackTrace = c;
  861. }
  862. return (a = a ? a.displayName || a.name : "") ? Ma(a) : "";
  863. }
  864. function Pa(a) {
  865. switch (a.tag) {
  866. case 5:
  867. return Ma(a.type);
  868. case 16:
  869. return Ma("Lazy");
  870. case 13:
  871. return Ma("Suspense");
  872. case 19:
  873. return Ma("SuspenseList");
  874. case 0:
  875. case 2:
  876. case 15:
  877. return a = Oa(a.type, false), a;
  878. case 11:
  879. return a = Oa(a.type.render, false), a;
  880. case 1:
  881. return a = Oa(a.type, true), a;
  882. default:
  883. return "";
  884. }
  885. }
  886. function Qa(a) {
  887. if (null == a)
  888. return null;
  889. if ("function" === typeof a)
  890. return a.displayName || a.name || null;
  891. if ("string" === typeof a)
  892. return a;
  893. switch (a) {
  894. case ya:
  895. return "Fragment";
  896. case wa:
  897. return "Portal";
  898. case Aa:
  899. return "Profiler";
  900. case za:
  901. return "StrictMode";
  902. case Ea:
  903. return "Suspense";
  904. case Fa:
  905. return "SuspenseList";
  906. }
  907. if ("object" === typeof a)
  908. switch (a.$$typeof) {
  909. case Ca:
  910. return (a.displayName || "Context") + ".Consumer";
  911. case Ba:
  912. return (a._context.displayName || "Context") + ".Provider";
  913. case Da:
  914. var b = a.render;
  915. a = a.displayName;
  916. a || (a = b.displayName || b.name || "", a = "" !== a ? "ForwardRef(" + a + ")" : "ForwardRef");
  917. return a;
  918. case Ga:
  919. return b = a.displayName || null, null !== b ? b : Qa(a.type) || "Memo";
  920. case Ha:
  921. b = a._payload;
  922. a = a._init;
  923. try {
  924. return Qa(a(b));
  925. } catch (c) {
  926. }
  927. }
  928. return null;
  929. }
  930. function Ra(a) {
  931. var b = a.type;
  932. switch (a.tag) {
  933. case 24:
  934. return "Cache";
  935. case 9:
  936. return (b.displayName || "Context") + ".Consumer";
  937. case 10:
  938. return (b._context.displayName || "Context") + ".Provider";
  939. case 18:
  940. return "DehydratedFragment";
  941. case 11:
  942. return a = b.render, a = a.displayName || a.name || "", b.displayName || ("" !== a ? "ForwardRef(" + a + ")" : "ForwardRef");
  943. case 7:
  944. return "Fragment";
  945. case 5:
  946. return b;
  947. case 4:
  948. return "Portal";
  949. case 3:
  950. return "Root";
  951. case 6:
  952. return "Text";
  953. case 16:
  954. return Qa(b);
  955. case 8:
  956. return b === za ? "StrictMode" : "Mode";
  957. case 22:
  958. return "Offscreen";
  959. case 12:
  960. return "Profiler";
  961. case 21:
  962. return "Scope";
  963. case 13:
  964. return "Suspense";
  965. case 19:
  966. return "SuspenseList";
  967. case 25:
  968. return "TracingMarker";
  969. case 1:
  970. case 0:
  971. case 17:
  972. case 2:
  973. case 14:
  974. case 15:
  975. if ("function" === typeof b)
  976. return b.displayName || b.name || null;
  977. if ("string" === typeof b)
  978. return b;
  979. }
  980. return null;
  981. }
  982. function Sa(a) {
  983. switch (typeof a) {
  984. case "boolean":
  985. case "number":
  986. case "string":
  987. case "undefined":
  988. return a;
  989. case "object":
  990. return a;
  991. default:
  992. return "";
  993. }
  994. }
  995. function Ta(a) {
  996. var b = a.type;
  997. return (a = a.nodeName) && "input" === a.toLowerCase() && ("checkbox" === b || "radio" === b);
  998. }
  999. function Ua(a) {
  1000. var b = Ta(a) ? "checked" : "value", c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b), d = "" + a[b];
  1001. if (!a.hasOwnProperty(b) && "undefined" !== typeof c && "function" === typeof c.get && "function" === typeof c.set) {
  1002. var e = c.get, f2 = c.set;
  1003. Object.defineProperty(a, b, { configurable: true, get: function() {
  1004. return e.call(this);
  1005. }, set: function(a2) {
  1006. d = "" + a2;
  1007. f2.call(this, a2);
  1008. } });
  1009. Object.defineProperty(a, b, { enumerable: c.enumerable });
  1010. return { getValue: function() {
  1011. return d;
  1012. }, setValue: function(a2) {
  1013. d = "" + a2;
  1014. }, stopTracking: function() {
  1015. a._valueTracker = null;
  1016. delete a[b];
  1017. } };
  1018. }
  1019. }
  1020. function Va(a) {
  1021. a._valueTracker || (a._valueTracker = Ua(a));
  1022. }
  1023. function Wa(a) {
  1024. if (!a)
  1025. return false;
  1026. var b = a._valueTracker;
  1027. if (!b)
  1028. return true;
  1029. var c = b.getValue();
  1030. var d = "";
  1031. a && (d = Ta(a) ? a.checked ? "true" : "false" : a.value);
  1032. a = d;
  1033. return a !== c ? (b.setValue(a), true) : false;
  1034. }
  1035. function Xa(a) {
  1036. a = a || ("undefined" !== typeof document ? document : void 0);
  1037. if ("undefined" === typeof a)
  1038. return null;
  1039. try {
  1040. return a.activeElement || a.body;
  1041. } catch (b) {
  1042. return a.body;
  1043. }
  1044. }
  1045. function Ya(a, b) {
  1046. var c = b.checked;
  1047. return A({}, b, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: null != c ? c : a._wrapperState.initialChecked });
  1048. }
  1049. function Za(a, b) {
  1050. var c = null == b.defaultValue ? "" : b.defaultValue, d = null != b.checked ? b.checked : b.defaultChecked;
  1051. c = Sa(null != b.value ? b.value : c);
  1052. a._wrapperState = { initialChecked: d, initialValue: c, controlled: "checkbox" === b.type || "radio" === b.type ? null != b.checked : null != b.value };
  1053. }
  1054. function ab(a, b) {
  1055. b = b.checked;
  1056. null != b && ta(a, "checked", b, false);
  1057. }
  1058. function bb(a, b) {
  1059. ab(a, b);
  1060. var c = Sa(b.value), d = b.type;
  1061. if (null != c)
  1062. if ("number" === d) {
  1063. if (0 === c && "" === a.value || a.value != c)
  1064. a.value = "" + c;
  1065. } else
  1066. a.value !== "" + c && (a.value = "" + c);
  1067. else if ("submit" === d || "reset" === d) {
  1068. a.removeAttribute("value");
  1069. return;
  1070. }
  1071. b.hasOwnProperty("value") ? cb(a, b.type, c) : b.hasOwnProperty("defaultValue") && cb(a, b.type, Sa(b.defaultValue));
  1072. null == b.checked && null != b.defaultChecked && (a.defaultChecked = !!b.defaultChecked);
  1073. }
  1074. function db(a, b, c) {
  1075. if (b.hasOwnProperty("value") || b.hasOwnProperty("defaultValue")) {
  1076. var d = b.type;
  1077. if (!("submit" !== d && "reset" !== d || void 0 !== b.value && null !== b.value))
  1078. return;
  1079. b = "" + a._wrapperState.initialValue;
  1080. c || b === a.value || (a.value = b);
  1081. a.defaultValue = b;
  1082. }
  1083. c = a.name;
  1084. "" !== c && (a.name = "");
  1085. a.defaultChecked = !!a._wrapperState.initialChecked;
  1086. "" !== c && (a.name = c);
  1087. }
  1088. function cb(a, b, c) {
  1089. if ("number" !== b || Xa(a.ownerDocument) !== a)
  1090. null == c ? a.defaultValue = "" + a._wrapperState.initialValue : a.defaultValue !== "" + c && (a.defaultValue = "" + c);
  1091. }
  1092. var eb = Array.isArray;
  1093. function fb(a, b, c, d) {
  1094. a = a.options;
  1095. if (b) {
  1096. b = {};
  1097. for (var e = 0; e < c.length; e++)
  1098. b["$" + c[e]] = true;
  1099. for (c = 0; c < a.length; c++)
  1100. e = b.hasOwnProperty("$" + a[c].value), a[c].selected !== e && (a[c].selected = e), e && d && (a[c].defaultSelected = true);
  1101. } else {
  1102. c = "" + Sa(c);
  1103. b = null;
  1104. for (e = 0; e < a.length; e++) {
  1105. if (a[e].value === c) {
  1106. a[e].selected = true;
  1107. d && (a[e].defaultSelected = true);
  1108. return;
  1109. }
  1110. null !== b || a[e].disabled || (b = a[e]);
  1111. }
  1112. null !== b && (b.selected = true);
  1113. }
  1114. }
  1115. function gb(a, b) {
  1116. if (null != b.dangerouslySetInnerHTML)
  1117. throw Error(p(91));
  1118. return A({}, b, { value: void 0, defaultValue: void 0, children: "" + a._wrapperState.initialValue });
  1119. }
  1120. function hb(a, b) {
  1121. var c = b.value;
  1122. if (null == c) {
  1123. c = b.children;
  1124. b = b.defaultValue;
  1125. if (null != c) {
  1126. if (null != b)
  1127. throw Error(p(92));
  1128. if (eb(c)) {
  1129. if (1 < c.length)
  1130. throw Error(p(93));
  1131. c = c[0];
  1132. }
  1133. b = c;
  1134. }
  1135. null == b && (b = "");
  1136. c = b;
  1137. }
  1138. a._wrapperState = { initialValue: Sa(c) };
  1139. }
  1140. function ib(a, b) {
  1141. var c = Sa(b.value), d = Sa(b.defaultValue);
  1142. null != c && (c = "" + c, c !== a.value && (a.value = c), null == b.defaultValue && a.defaultValue !== c && (a.defaultValue = c));
  1143. null != d && (a.defaultValue = "" + d);
  1144. }
  1145. function jb(a) {
  1146. var b = a.textContent;
  1147. b === a._wrapperState.initialValue && "" !== b && null !== b && (a.value = b);
  1148. }
  1149. function kb(a) {
  1150. switch (a) {
  1151. case "svg":
  1152. return "http://www.w3.org/2000/svg";
  1153. case "math":
  1154. return "http://www.w3.org/1998/Math/MathML";
  1155. default:
  1156. return "http://www.w3.org/1999/xhtml";
  1157. }
  1158. }
  1159. function lb(a, b) {
  1160. return null == a || "http://www.w3.org/1999/xhtml" === a ? kb(b) : "http://www.w3.org/2000/svg" === a && "foreignObject" === b ? "http://www.w3.org/1999/xhtml" : a;
  1161. }
  1162. var mb, nb = function(a) {
  1163. return "undefined" !== typeof MSApp && MSApp.execUnsafeLocalFunction ? function(b, c, d, e) {
  1164. MSApp.execUnsafeLocalFunction(function() {
  1165. return a(b, c, d, e);
  1166. });
  1167. } : a;
  1168. }(function(a, b) {
  1169. if ("http://www.w3.org/2000/svg" !== a.namespaceURI || "innerHTML" in a)
  1170. a.innerHTML = b;
  1171. else {
  1172. mb = mb || document.createElement("div");
  1173. mb.innerHTML = "<svg>" + b.valueOf().toString() + "</svg>";
  1174. for (b = mb.firstChild; a.firstChild; )
  1175. a.removeChild(a.firstChild);
  1176. for (; b.firstChild; )
  1177. a.appendChild(b.firstChild);
  1178. }
  1179. });
  1180. function ob(a, b) {
  1181. if (b) {
  1182. var c = a.firstChild;
  1183. if (c && c === a.lastChild && 3 === c.nodeType) {
  1184. c.nodeValue = b;
  1185. return;
  1186. }
  1187. }
  1188. a.textContent = b;
  1189. }
  1190. var pb = {
  1191. animationIterationCount: true,
  1192. aspectRatio: true,
  1193. borderImageOutset: true,
  1194. borderImageSlice: true,
  1195. borderImageWidth: true,
  1196. boxFlex: true,
  1197. boxFlexGroup: true,
  1198. boxOrdinalGroup: true,
  1199. columnCount: true,
  1200. columns: true,
  1201. flex: true,
  1202. flexGrow: true,
  1203. flexPositive: true,
  1204. flexShrink: true,
  1205. flexNegative: true,
  1206. flexOrder: true,
  1207. gridArea: true,
  1208. gridRow: true,
  1209. gridRowEnd: true,
  1210. gridRowSpan: true,
  1211. gridRowStart: true,
  1212. gridColumn: true,
  1213. gridColumnEnd: true,
  1214. gridColumnSpan: true,
  1215. gridColumnStart: true,
  1216. fontWeight: true,
  1217. lineClamp: true,
  1218. lineHeight: true,
  1219. opacity: true,
  1220. order: true,
  1221. orphans: true,
  1222. tabSize: true,
  1223. widows: true,
  1224. zIndex: true,
  1225. zoom: true,
  1226. fillOpacity: true,
  1227. floodOpacity: true,
  1228. stopOpacity: true,
  1229. strokeDasharray: true,
  1230. strokeDashoffset: true,
  1231. strokeMiterlimit: true,
  1232. strokeOpacity: true,
  1233. strokeWidth: true
  1234. }, qb = ["Webkit", "ms", "Moz", "O"];
  1235. Object.keys(pb).forEach(function(a) {
  1236. qb.forEach(function(b) {
  1237. b = b + a.charAt(0).toUpperCase() + a.substring(1);
  1238. pb[b] = pb[a];
  1239. });
  1240. });
  1241. function rb(a, b, c) {
  1242. return null == b || "boolean" === typeof b || "" === b ? "" : c || "number" !== typeof b || 0 === b || pb.hasOwnProperty(a) && pb[a] ? ("" + b).trim() : b + "px";
  1243. }
  1244. function sb(a, b) {
  1245. a = a.style;
  1246. for (var c in b)
  1247. if (b.hasOwnProperty(c)) {
  1248. var d = 0 === c.indexOf("--"), e = rb(c, b[c], d);
  1249. "float" === c && (c = "cssFloat");
  1250. d ? a.setProperty(c, e) : a[c] = e;
  1251. }
  1252. }
  1253. var tb = A({ menuitem: true }, { area: true, base: true, br: true, col: true, embed: true, hr: true, img: true, input: true, keygen: true, link: true, meta: true, param: true, source: true, track: true, wbr: true });
  1254. function ub(a, b) {
  1255. if (b) {
  1256. if (tb[a] && (null != b.children || null != b.dangerouslySetInnerHTML))
  1257. throw Error(p(137, a));
  1258. if (null != b.dangerouslySetInnerHTML) {
  1259. if (null != b.children)
  1260. throw Error(p(60));
  1261. if ("object" !== typeof b.dangerouslySetInnerHTML || !("__html" in b.dangerouslySetInnerHTML))
  1262. throw Error(p(61));
  1263. }
  1264. if (null != b.style && "object" !== typeof b.style)
  1265. throw Error(p(62));
  1266. }
  1267. }
  1268. function vb(a, b) {
  1269. if (-1 === a.indexOf("-"))
  1270. return "string" === typeof b.is;
  1271. switch (a) {
  1272. case "annotation-xml":
  1273. case "color-profile":
  1274. case "font-face":
  1275. case "font-face-src":
  1276. case "font-face-uri":
  1277. case "font-face-format":
  1278. case "font-face-name":
  1279. case "missing-glyph":
  1280. return false;
  1281. default:
  1282. return true;
  1283. }
  1284. }
  1285. var wb = null;
  1286. function xb(a) {
  1287. a = a.target || a.srcElement || window;
  1288. a.correspondingUseElement && (a = a.correspondingUseElement);
  1289. return 3 === a.nodeType ? a.parentNode : a;
  1290. }
  1291. var yb = null, zb = null, Ab = null;
  1292. function Bb(a) {
  1293. if (a = Cb(a)) {
  1294. if ("function" !== typeof yb)
  1295. throw Error(p(280));
  1296. var b = a.stateNode;
  1297. b && (b = Db(b), yb(a.stateNode, a.type, b));
  1298. }
  1299. }
  1300. function Eb(a) {
  1301. zb ? Ab ? Ab.push(a) : Ab = [a] : zb = a;
  1302. }
  1303. function Fb() {
  1304. if (zb) {
  1305. var a = zb, b = Ab;
  1306. Ab = zb = null;
  1307. Bb(a);
  1308. if (b)
  1309. for (a = 0; a < b.length; a++)
  1310. Bb(b[a]);
  1311. }
  1312. }
  1313. function Gb(a, b) {
  1314. return a(b);
  1315. }
  1316. function Hb() {
  1317. }
  1318. var Ib = false;
  1319. function Jb(a, b, c) {
  1320. if (Ib)
  1321. return a(b, c);
  1322. Ib = true;
  1323. try {
  1324. return Gb(a, b, c);
  1325. } finally {
  1326. if (Ib = false, null !== zb || null !== Ab)
  1327. Hb(), Fb();
  1328. }
  1329. }
  1330. function Kb(a, b) {
  1331. var c = a.stateNode;
  1332. if (null === c)
  1333. return null;
  1334. var d = Db(c);
  1335. if (null === d)
  1336. return null;
  1337. c = d[b];
  1338. a:
  1339. switch (b) {
  1340. case "onClick":
  1341. case "onClickCapture":
  1342. case "onDoubleClick":
  1343. case "onDoubleClickCapture":
  1344. case "onMouseDown":
  1345. case "onMouseDownCapture":
  1346. case "onMouseMove":
  1347. case "onMouseMoveCapture":
  1348. case "onMouseUp":
  1349. case "onMouseUpCapture":
  1350. case "onMouseEnter":
  1351. (d = !d.disabled) || (a = a.type, d = !("button" === a || "input" === a || "select" === a || "textarea" === a));
  1352. a = !d;
  1353. break a;
  1354. default:
  1355. a = false;
  1356. }
  1357. if (a)
  1358. return null;
  1359. if (c && "function" !== typeof c)
  1360. throw Error(p(231, b, typeof c));
  1361. return c;
  1362. }
  1363. var Lb = false;
  1364. if (ia)
  1365. try {
  1366. var Mb = {};
  1367. Object.defineProperty(Mb, "passive", { get: function() {
  1368. Lb = true;
  1369. } });
  1370. window.addEventListener("test", Mb, Mb);
  1371. window.removeEventListener("test", Mb, Mb);
  1372. } catch (a) {
  1373. Lb = false;
  1374. }
  1375. function Nb(a, b, c, d, e, f2, g, h, k2) {
  1376. var l2 = Array.prototype.slice.call(arguments, 3);
  1377. try {
  1378. b.apply(c, l2);
  1379. } catch (m2) {
  1380. this.onError(m2);
  1381. }
  1382. }
  1383. var Ob = false, Pb = null, Qb = false, Rb = null, Sb = { onError: function(a) {
  1384. Ob = true;
  1385. Pb = a;
  1386. } };
  1387. function Tb(a, b, c, d, e, f2, g, h, k2) {
  1388. Ob = false;
  1389. Pb = null;
  1390. Nb.apply(Sb, arguments);
  1391. }
  1392. function Ub(a, b, c, d, e, f2, g, h, k2) {
  1393. Tb.apply(this, arguments);
  1394. if (Ob) {
  1395. if (Ob) {
  1396. var l2 = Pb;
  1397. Ob = false;
  1398. Pb = null;
  1399. } else
  1400. throw Error(p(198));
  1401. Qb || (Qb = true, Rb = l2);
  1402. }
  1403. }
  1404. function Vb(a) {
  1405. var b = a, c = a;
  1406. if (a.alternate)
  1407. for (; b.return; )
  1408. b = b.return;
  1409. else {
  1410. a = b;
  1411. do
  1412. b = a, 0 !== (b.flags & 4098) && (c = b.return), a = b.return;
  1413. while (a);
  1414. }
  1415. return 3 === b.tag ? c : null;
  1416. }
  1417. function Wb(a) {
  1418. if (13 === a.tag) {
  1419. var b = a.memoizedState;
  1420. null === b && (a = a.alternate, null !== a && (b = a.memoizedState));
  1421. if (null !== b)
  1422. return b.dehydrated;
  1423. }
  1424. return null;
  1425. }
  1426. function Xb(a) {
  1427. if (Vb(a) !== a)
  1428. throw Error(p(188));
  1429. }
  1430. function Yb(a) {
  1431. var b = a.alternate;
  1432. if (!b) {
  1433. b = Vb(a);
  1434. if (null === b)
  1435. throw Error(p(188));
  1436. return b !== a ? null : a;
  1437. }
  1438. for (var c = a, d = b; ; ) {
  1439. var e = c.return;
  1440. if (null === e)
  1441. break;
  1442. var f2 = e.alternate;
  1443. if (null === f2) {
  1444. d = e.return;
  1445. if (null !== d) {
  1446. c = d;
  1447. continue;
  1448. }
  1449. break;
  1450. }
  1451. if (e.child === f2.child) {
  1452. for (f2 = e.child; f2; ) {
  1453. if (f2 === c)
  1454. return Xb(e), a;
  1455. if (f2 === d)
  1456. return Xb(e), b;
  1457. f2 = f2.sibling;
  1458. }
  1459. throw Error(p(188));
  1460. }
  1461. if (c.return !== d.return)
  1462. c = e, d = f2;
  1463. else {
  1464. for (var g = false, h = e.child; h; ) {
  1465. if (h === c) {
  1466. g = true;
  1467. c = e;
  1468. d = f2;
  1469. break;
  1470. }
  1471. if (h === d) {
  1472. g = true;
  1473. d = e;
  1474. c = f2;
  1475. break;
  1476. }
  1477. h = h.sibling;
  1478. }
  1479. if (!g) {
  1480. for (h = f2.child; h; ) {
  1481. if (h === c) {
  1482. g = true;
  1483. c = f2;
  1484. d = e;
  1485. break;
  1486. }
  1487. if (h === d) {
  1488. g = true;
  1489. d = f2;
  1490. c = e;
  1491. break;
  1492. }
  1493. h = h.sibling;
  1494. }
  1495. if (!g)
  1496. throw Error(p(189));
  1497. }
  1498. }
  1499. if (c.alternate !== d)
  1500. throw Error(p(190));
  1501. }
  1502. if (3 !== c.tag)
  1503. throw Error(p(188));
  1504. return c.stateNode.current === c ? a : b;
  1505. }
  1506. function Zb(a) {
  1507. a = Yb(a);
  1508. return null !== a ? $b(a) : null;
  1509. }
  1510. function $b(a) {
  1511. if (5 === a.tag || 6 === a.tag)
  1512. return a;
  1513. for (a = a.child; null !== a; ) {
  1514. var b = $b(a);
  1515. if (null !== b)
  1516. return b;
  1517. a = a.sibling;
  1518. }
  1519. return null;
  1520. }
  1521. var ac = ca.unstable_scheduleCallback, bc = ca.unstable_cancelCallback, cc = ca.unstable_shouldYield, dc = ca.unstable_requestPaint, B = ca.unstable_now, ec = ca.unstable_getCurrentPriorityLevel, fc = ca.unstable_ImmediatePriority, gc = ca.unstable_UserBlockingPriority, hc = ca.unstable_NormalPriority, ic = ca.unstable_LowPriority, jc = ca.unstable_IdlePriority, kc = null, lc = null;
  1522. function mc(a) {
  1523. if (lc && "function" === typeof lc.onCommitFiberRoot)
  1524. try {
  1525. lc.onCommitFiberRoot(kc, a, void 0, 128 === (a.current.flags & 128));
  1526. } catch (b) {
  1527. }
  1528. }
  1529. var oc = Math.clz32 ? Math.clz32 : nc, pc = Math.log, qc = Math.LN2;
  1530. function nc(a) {
  1531. a >>>= 0;
  1532. return 0 === a ? 32 : 31 - (pc(a) / qc | 0) | 0;
  1533. }
  1534. var rc = 64, sc = 4194304;
  1535. function tc(a) {
  1536. switch (a & -a) {
  1537. case 1:
  1538. return 1;
  1539. case 2:
  1540. return 2;
  1541. case 4:
  1542. return 4;
  1543. case 8:
  1544. return 8;
  1545. case 16:
  1546. return 16;
  1547. case 32:
  1548. return 32;
  1549. case 64:
  1550. case 128:
  1551. case 256:
  1552. case 512:
  1553. case 1024:
  1554. case 2048:
  1555. case 4096:
  1556. case 8192:
  1557. case 16384:
  1558. case 32768:
  1559. case 65536:
  1560. case 131072:
  1561. case 262144:
  1562. case 524288:
  1563. case 1048576:
  1564. case 2097152:
  1565. return a & 4194240;
  1566. case 4194304:
  1567. case 8388608:
  1568. case 16777216:
  1569. case 33554432:
  1570. case 67108864:
  1571. return a & 130023424;
  1572. case 134217728:
  1573. return 134217728;
  1574. case 268435456:
  1575. return 268435456;
  1576. case 536870912:
  1577. return 536870912;
  1578. case 1073741824:
  1579. return 1073741824;
  1580. default:
  1581. return a;
  1582. }
  1583. }
  1584. function uc(a, b) {
  1585. var c = a.pendingLanes;
  1586. if (0 === c)
  1587. return 0;
  1588. var d = 0, e = a.suspendedLanes, f2 = a.pingedLanes, g = c & 268435455;
  1589. if (0 !== g) {
  1590. var h = g & ~e;
  1591. 0 !== h ? d = tc(h) : (f2 &= g, 0 !== f2 && (d = tc(f2)));
  1592. } else
  1593. g = c & ~e, 0 !== g ? d = tc(g) : 0 !== f2 && (d = tc(f2));
  1594. if (0 === d)
  1595. return 0;
  1596. if (0 !== b && b !== d && 0 === (b & e) && (e = d & -d, f2 = b & -b, e >= f2 || 16 === e && 0 !== (f2 & 4194240)))
  1597. return b;
  1598. 0 !== (d & 4) && (d |= c & 16);
  1599. b = a.entangledLanes;
  1600. if (0 !== b)
  1601. for (a = a.entanglements, b &= d; 0 < b; )
  1602. c = 31 - oc(b), e = 1 << c, d |= a[c], b &= ~e;
  1603. return d;
  1604. }
  1605. function vc(a, b) {
  1606. switch (a) {
  1607. case 1:
  1608. case 2:
  1609. case 4:
  1610. return b + 250;
  1611. case 8:
  1612. case 16:
  1613. case 32:
  1614. case 64:
  1615. case 128:
  1616. case 256:
  1617. case 512:
  1618. case 1024:
  1619. case 2048:
  1620. case 4096:
  1621. case 8192:
  1622. case 16384:
  1623. case 32768:
  1624. case 65536:
  1625. case 131072:
  1626. case 262144:
  1627. case 524288:
  1628. case 1048576:
  1629. case 2097152:
  1630. return b + 5e3;
  1631. case 4194304:
  1632. case 8388608:
  1633. case 16777216:
  1634. case 33554432:
  1635. case 67108864:
  1636. return -1;
  1637. case 134217728:
  1638. case 268435456:
  1639. case 536870912:
  1640. case 1073741824:
  1641. return -1;
  1642. default:
  1643. return -1;
  1644. }
  1645. }
  1646. function wc(a, b) {
  1647. for (var c = a.suspendedLanes, d = a.pingedLanes, e = a.expirationTimes, f2 = a.pendingLanes; 0 < f2; ) {
  1648. var g = 31 - oc(f2), h = 1 << g, k2 = e[g];
  1649. if (-1 === k2) {
  1650. if (0 === (h & c) || 0 !== (h & d))
  1651. e[g] = vc(h, b);
  1652. } else
  1653. k2 <= b && (a.expiredLanes |= h);
  1654. f2 &= ~h;
  1655. }
  1656. }
  1657. function xc(a) {
  1658. a = a.pendingLanes & -1073741825;
  1659. return 0 !== a ? a : a & 1073741824 ? 1073741824 : 0;
  1660. }
  1661. function yc() {
  1662. var a = rc;
  1663. rc <<= 1;
  1664. 0 === (rc & 4194240) && (rc = 64);
  1665. return a;
  1666. }
  1667. function zc(a) {
  1668. for (var b = [], c = 0; 31 > c; c++)
  1669. b.push(a);
  1670. return b;
  1671. }
  1672. function Ac(a, b, c) {
  1673. a.pendingLanes |= b;
  1674. 536870912 !== b && (a.suspendedLanes = 0, a.pingedLanes = 0);
  1675. a = a.eventTimes;
  1676. b = 31 - oc(b);
  1677. a[b] = c;
  1678. }
  1679. function Bc(a, b) {
  1680. var c = a.pendingLanes & ~b;
  1681. a.pendingLanes = b;
  1682. a.suspendedLanes = 0;
  1683. a.pingedLanes = 0;
  1684. a.expiredLanes &= b;
  1685. a.mutableReadLanes &= b;
  1686. a.entangledLanes &= b;
  1687. b = a.entanglements;
  1688. var d = a.eventTimes;
  1689. for (a = a.expirationTimes; 0 < c; ) {
  1690. var e = 31 - oc(c), f2 = 1 << e;
  1691. b[e] = 0;
  1692. d[e] = -1;
  1693. a[e] = -1;
  1694. c &= ~f2;
  1695. }
  1696. }
  1697. function Cc(a, b) {
  1698. var c = a.entangledLanes |= b;
  1699. for (a = a.entanglements; c; ) {
  1700. var d = 31 - oc(c), e = 1 << d;
  1701. e & b | a[d] & b && (a[d] |= b);
  1702. c &= ~e;
  1703. }
  1704. }
  1705. var C = 0;
  1706. function Dc(a) {
  1707. a &= -a;
  1708. return 1 < a ? 4 < a ? 0 !== (a & 268435455) ? 16 : 536870912 : 4 : 1;
  1709. }
  1710. var Ec, Fc, Gc, Hc, Ic, Jc = false, Kc = [], Lc = null, Mc = null, Nc = null, Oc = /* @__PURE__ */ new Map(), Pc = /* @__PURE__ */ new Map(), Qc = [], Rc = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
  1711. function Sc(a, b) {
  1712. switch (a) {
  1713. case "focusin":
  1714. case "focusout":
  1715. Lc = null;
  1716. break;
  1717. case "dragenter":
  1718. case "dragleave":
  1719. Mc = null;
  1720. break;
  1721. case "mouseover":
  1722. case "mouseout":
  1723. Nc = null;
  1724. break;
  1725. case "pointerover":
  1726. case "pointerout":
  1727. Oc.delete(b.pointerId);
  1728. break;
  1729. case "gotpointercapture":
  1730. case "lostpointercapture":
  1731. Pc.delete(b.pointerId);
  1732. }
  1733. }
  1734. function Tc(a, b, c, d, e, f2) {
  1735. if (null === a || a.nativeEvent !== f2)
  1736. return a = { blockedOn: b, domEventName: c, eventSystemFlags: d, nativeEvent: f2, targetContainers: [e] }, null !== b && (b = Cb(b), null !== b && Fc(b)), a;
  1737. a.eventSystemFlags |= d;
  1738. b = a.targetContainers;
  1739. null !== e && -1 === b.indexOf(e) && b.push(e);
  1740. return a;
  1741. }
  1742. function Uc(a, b, c, d, e) {
  1743. switch (b) {
  1744. case "focusin":
  1745. return Lc = Tc(Lc, a, b, c, d, e), true;
  1746. case "dragenter":
  1747. return Mc = Tc(Mc, a, b, c, d, e), true;
  1748. case "mouseover":
  1749. return Nc = Tc(Nc, a, b, c, d, e), true;
  1750. case "pointerover":
  1751. var f2 = e.pointerId;
  1752. Oc.set(f2, Tc(Oc.get(f2) || null, a, b, c, d, e));
  1753. return true;
  1754. case "gotpointercapture":
  1755. return f2 = e.pointerId, Pc.set(f2, Tc(Pc.get(f2) || null, a, b, c, d, e)), true;
  1756. }
  1757. return false;
  1758. }
  1759. function Vc(a) {
  1760. var b = Wc(a.target);
  1761. if (null !== b) {
  1762. var c = Vb(b);
  1763. if (null !== c) {
  1764. if (b = c.tag, 13 === b) {
  1765. if (b = Wb(c), null !== b) {
  1766. a.blockedOn = b;
  1767. Ic(a.priority, function() {
  1768. Gc(c);
  1769. });
  1770. return;
  1771. }
  1772. } else if (3 === b && c.stateNode.current.memoizedState.isDehydrated) {
  1773. a.blockedOn = 3 === c.tag ? c.stateNode.containerInfo : null;
  1774. return;
  1775. }
  1776. }
  1777. }
  1778. a.blockedOn = null;
  1779. }
  1780. function Xc(a) {
  1781. if (null !== a.blockedOn)
  1782. return false;
  1783. for (var b = a.targetContainers; 0 < b.length; ) {
  1784. var c = Yc(a.domEventName, a.eventSystemFlags, b[0], a.nativeEvent);
  1785. if (null === c) {
  1786. c = a.nativeEvent;
  1787. var d = new c.constructor(c.type, c);
  1788. wb = d;
  1789. c.target.dispatchEvent(d);
  1790. wb = null;
  1791. } else
  1792. return b = Cb(c), null !== b && Fc(b), a.blockedOn = c, false;
  1793. b.shift();
  1794. }
  1795. return true;
  1796. }
  1797. function Zc(a, b, c) {
  1798. Xc(a) && c.delete(b);
  1799. }
  1800. function $c() {
  1801. Jc = false;
  1802. null !== Lc && Xc(Lc) && (Lc = null);
  1803. null !== Mc && Xc(Mc) && (Mc = null);
  1804. null !== Nc && Xc(Nc) && (Nc = null);
  1805. Oc.forEach(Zc);
  1806. Pc.forEach(Zc);
  1807. }
  1808. function ad(a, b) {
  1809. a.blockedOn === b && (a.blockedOn = null, Jc || (Jc = true, ca.unstable_scheduleCallback(ca.unstable_NormalPriority, $c)));
  1810. }
  1811. function bd(a) {
  1812. function b(b2) {
  1813. return ad(b2, a);
  1814. }
  1815. if (0 < Kc.length) {
  1816. ad(Kc[0], a);
  1817. for (var c = 1; c < Kc.length; c++) {
  1818. var d = Kc[c];
  1819. d.blockedOn === a && (d.blockedOn = null);
  1820. }
  1821. }
  1822. null !== Lc && ad(Lc, a);
  1823. null !== Mc && ad(Mc, a);
  1824. null !== Nc && ad(Nc, a);
  1825. Oc.forEach(b);
  1826. Pc.forEach(b);
  1827. for (c = 0; c < Qc.length; c++)
  1828. d = Qc[c], d.blockedOn === a && (d.blockedOn = null);
  1829. for (; 0 < Qc.length && (c = Qc[0], null === c.blockedOn); )
  1830. Vc(c), null === c.blockedOn && Qc.shift();
  1831. }
  1832. var cd = ua.ReactCurrentBatchConfig, dd = true;
  1833. function ed(a, b, c, d) {
  1834. var e = C, f2 = cd.transition;
  1835. cd.transition = null;
  1836. try {
  1837. C = 1, fd(a, b, c, d);
  1838. } finally {
  1839. C = e, cd.transition = f2;
  1840. }
  1841. }
  1842. function gd(a, b, c, d) {
  1843. var e = C, f2 = cd.transition;
  1844. cd.transition = null;
  1845. try {
  1846. C = 4, fd(a, b, c, d);
  1847. } finally {
  1848. C = e, cd.transition = f2;
  1849. }
  1850. }
  1851. function fd(a, b, c, d) {
  1852. if (dd) {
  1853. var e = Yc(a, b, c, d);
  1854. if (null === e)
  1855. hd(a, b, d, id, c), Sc(a, d);
  1856. else if (Uc(e, a, b, c, d))
  1857. d.stopPropagation();
  1858. else if (Sc(a, d), b & 4 && -1 < Rc.indexOf(a)) {
  1859. for (; null !== e; ) {
  1860. var f2 = Cb(e);
  1861. null !== f2 && Ec(f2);
  1862. f2 = Yc(a, b, c, d);
  1863. null === f2 && hd(a, b, d, id, c);
  1864. if (f2 === e)
  1865. break;
  1866. e = f2;
  1867. }
  1868. null !== e && d.stopPropagation();
  1869. } else
  1870. hd(a, b, d, null, c);
  1871. }
  1872. }
  1873. var id = null;
  1874. function Yc(a, b, c, d) {
  1875. id = null;
  1876. a = xb(d);
  1877. a = Wc(a);
  1878. if (null !== a)
  1879. if (b = Vb(a), null === b)
  1880. a = null;
  1881. else if (c = b.tag, 13 === c) {
  1882. a = Wb(b);
  1883. if (null !== a)
  1884. return a;
  1885. a = null;
  1886. } else if (3 === c) {
  1887. if (b.stateNode.current.memoizedState.isDehydrated)
  1888. return 3 === b.tag ? b.stateNode.containerInfo : null;
  1889. a = null;
  1890. } else
  1891. b !== a && (a = null);
  1892. id = a;
  1893. return null;
  1894. }
  1895. function jd(a) {
  1896. switch (a) {
  1897. case "cancel":
  1898. case "click":
  1899. case "close":
  1900. case "contextmenu":
  1901. case "copy":
  1902. case "cut":
  1903. case "auxclick":
  1904. case "dblclick":
  1905. case "dragend":
  1906. case "dragstart":
  1907. case "drop":
  1908. case "focusin":
  1909. case "focusout":
  1910. case "input":
  1911. case "invalid":
  1912. case "keydown":
  1913. case "keypress":
  1914. case "keyup":
  1915. case "mousedown":
  1916. case "mouseup":
  1917. case "paste":
  1918. case "pause":
  1919. case "play":
  1920. case "pointercancel":
  1921. case "pointerdown":
  1922. case "pointerup":
  1923. case "ratechange":
  1924. case "reset":
  1925. case "resize":
  1926. case "seeked":
  1927. case "submit":
  1928. case "touchcancel":
  1929. case "touchend":
  1930. case "touchstart":
  1931. case "volumechange":
  1932. case "change":
  1933. case "selectionchange":
  1934. case "textInput":
  1935. case "compositionstart":
  1936. case "compositionend":
  1937. case "compositionupdate":
  1938. case "beforeblur":
  1939. case "afterblur":
  1940. case "beforeinput":
  1941. case "blur":
  1942. case "fullscreenchange":
  1943. case "focus":
  1944. case "hashchange":
  1945. case "popstate":
  1946. case "select":
  1947. case "selectstart":
  1948. return 1;
  1949. case "drag":
  1950. case "dragenter":
  1951. case "dragexit":
  1952. case "dragleave":
  1953. case "dragover":
  1954. case "mousemove":
  1955. case "mouseout":
  1956. case "mouseover":
  1957. case "pointermove":
  1958. case "pointerout":
  1959. case "pointerover":
  1960. case "scroll":
  1961. case "toggle":
  1962. case "touchmove":
  1963. case "wheel":
  1964. case "mouseenter":
  1965. case "mouseleave":
  1966. case "pointerenter":
  1967. case "pointerleave":
  1968. return 4;
  1969. case "message":
  1970. switch (ec()) {
  1971. case fc:
  1972. return 1;
  1973. case gc:
  1974. return 4;
  1975. case hc:
  1976. case ic:
  1977. return 16;
  1978. case jc:
  1979. return 536870912;
  1980. default:
  1981. return 16;
  1982. }
  1983. default:
  1984. return 16;
  1985. }
  1986. }
  1987. var kd = null, ld = null, md = null;
  1988. function nd() {
  1989. if (md)
  1990. return md;
  1991. var a, b = ld, c = b.length, d, e = "value" in kd ? kd.value : kd.textContent, f2 = e.length;
  1992. for (a = 0; a < c && b[a] === e[a]; a++)
  1993. ;
  1994. var g = c - a;
  1995. for (d = 1; d <= g && b[c - d] === e[f2 - d]; d++)
  1996. ;
  1997. return md = e.slice(a, 1 < d ? 1 - d : void 0);
  1998. }
  1999. function od(a) {
  2000. var b = a.keyCode;
  2001. "charCode" in a ? (a = a.charCode, 0 === a && 13 === b && (a = 13)) : a = b;
  2002. 10 === a && (a = 13);
  2003. return 32 <= a || 13 === a ? a : 0;
  2004. }
  2005. function pd() {
  2006. return true;
  2007. }
  2008. function qd() {
  2009. return false;
  2010. }
  2011. function rd(a) {
  2012. function b(b2, d, e, f2, g) {
  2013. this._reactName = b2;
  2014. this._targetInst = e;
  2015. this.type = d;
  2016. this.nativeEvent = f2;
  2017. this.target = g;
  2018. this.currentTarget = null;
  2019. for (var c in a)
  2020. a.hasOwnProperty(c) && (b2 = a[c], this[c] = b2 ? b2(f2) : f2[c]);
  2021. this.isDefaultPrevented = (null != f2.defaultPrevented ? f2.defaultPrevented : false === f2.returnValue) ? pd : qd;
  2022. this.isPropagationStopped = qd;
  2023. return this;
  2024. }
  2025. A(b.prototype, { preventDefault: function() {
  2026. this.defaultPrevented = true;
  2027. var a2 = this.nativeEvent;
  2028. a2 && (a2.preventDefault ? a2.preventDefault() : "unknown" !== typeof a2.returnValue && (a2.returnValue = false), this.isDefaultPrevented = pd);
  2029. }, stopPropagation: function() {
  2030. var a2 = this.nativeEvent;
  2031. a2 && (a2.stopPropagation ? a2.stopPropagation() : "unknown" !== typeof a2.cancelBubble && (a2.cancelBubble = true), this.isPropagationStopped = pd);
  2032. }, persist: function() {
  2033. }, isPersistent: pd });
  2034. return b;
  2035. }
  2036. var sd = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(a) {
  2037. return a.timeStamp || Date.now();
  2038. }, defaultPrevented: 0, isTrusted: 0 }, td = rd(sd), ud = A({}, sd, { view: 0, detail: 0 }), vd = rd(ud), wd, xd, yd, Ad = A({}, ud, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: zd, button: 0, buttons: 0, relatedTarget: function(a) {
  2039. return void 0 === a.relatedTarget ? a.fromElement === a.srcElement ? a.toElement : a.fromElement : a.relatedTarget;
  2040. }, movementX: function(a) {
  2041. if ("movementX" in a)
  2042. return a.movementX;
  2043. a !== yd && (yd && "mousemove" === a.type ? (wd = a.screenX - yd.screenX, xd = a.screenY - yd.screenY) : xd = wd = 0, yd = a);
  2044. return wd;
  2045. }, movementY: function(a) {
  2046. return "movementY" in a ? a.movementY : xd;
  2047. } }), Bd = rd(Ad), Cd = A({}, Ad, { dataTransfer: 0 }), Dd = rd(Cd), Ed = A({}, ud, { relatedTarget: 0 }), Fd = rd(Ed), Gd = A({}, sd, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), Hd = rd(Gd), Id = A({}, sd, { clipboardData: function(a) {
  2048. return "clipboardData" in a ? a.clipboardData : window.clipboardData;
  2049. } }), Jd = rd(Id), Kd = A({}, sd, { data: 0 }), Ld = rd(Kd), Md = {
  2050. Esc: "Escape",
  2051. Spacebar: " ",
  2052. Left: "ArrowLeft",
  2053. Up: "ArrowUp",
  2054. Right: "ArrowRight",
  2055. Down: "ArrowDown",
  2056. Del: "Delete",
  2057. Win: "OS",
  2058. Menu: "ContextMenu",
  2059. Apps: "ContextMenu",
  2060. Scroll: "ScrollLock",
  2061. MozPrintableKey: "Unidentified"
  2062. }, Nd = {
  2063. 8: "Backspace",
  2064. 9: "Tab",
  2065. 12: "Clear",
  2066. 13: "Enter",
  2067. 16: "Shift",
  2068. 17: "Control",
  2069. 18: "Alt",
  2070. 19: "Pause",
  2071. 20: "CapsLock",
  2072. 27: "Escape",
  2073. 32: " ",
  2074. 33: "PageUp",
  2075. 34: "PageDown",
  2076. 35: "End",
  2077. 36: "Home",
  2078. 37: "ArrowLeft",
  2079. 38: "ArrowUp",
  2080. 39: "ArrowRight",
  2081. 40: "ArrowDown",
  2082. 45: "Insert",
  2083. 46: "Delete",
  2084. 112: "F1",
  2085. 113: "F2",
  2086. 114: "F3",
  2087. 115: "F4",
  2088. 116: "F5",
  2089. 117: "F6",
  2090. 118: "F7",
  2091. 119: "F8",
  2092. 120: "F9",
  2093. 121: "F10",
  2094. 122: "F11",
  2095. 123: "F12",
  2096. 144: "NumLock",
  2097. 145: "ScrollLock",
  2098. 224: "Meta"
  2099. }, Od = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" };
  2100. function Pd(a) {
  2101. var b = this.nativeEvent;
  2102. return b.getModifierState ? b.getModifierState(a) : (a = Od[a]) ? !!b[a] : false;
  2103. }
  2104. function zd() {
  2105. return Pd;
  2106. }
  2107. var Qd = A({}, ud, { key: function(a) {
  2108. if (a.key) {
  2109. var b = Md[a.key] || a.key;
  2110. if ("Unidentified" !== b)
  2111. return b;
  2112. }
  2113. return "keypress" === a.type ? (a = od(a), 13 === a ? "Enter" : String.fromCharCode(a)) : "keydown" === a.type || "keyup" === a.type ? Nd[a.keyCode] || "Unidentified" : "";
  2114. }, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: zd, charCode: function(a) {
  2115. return "keypress" === a.type ? od(a) : 0;
  2116. }, keyCode: function(a) {
  2117. return "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0;
  2118. }, which: function(a) {
  2119. return "keypress" === a.type ? od(a) : "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0;
  2120. } }), Rd = rd(Qd), Sd = A({}, Ad, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), Td = rd(Sd), Ud = A({}, ud, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: zd }), Vd = rd(Ud), Wd = A({}, sd, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), Xd = rd(Wd), Yd = A({}, Ad, {
  2121. deltaX: function(a) {
  2122. return "deltaX" in a ? a.deltaX : "wheelDeltaX" in a ? -a.wheelDeltaX : 0;
  2123. },
  2124. deltaY: function(a) {
  2125. return "deltaY" in a ? a.deltaY : "wheelDeltaY" in a ? -a.wheelDeltaY : "wheelDelta" in a ? -a.wheelDelta : 0;
  2126. },
  2127. deltaZ: 0,
  2128. deltaMode: 0
  2129. }), Zd = rd(Yd), $d = [9, 13, 27, 32], ae = ia && "CompositionEvent" in window, be = null;
  2130. ia && "documentMode" in document && (be = document.documentMode);
  2131. var ce = ia && "TextEvent" in window && !be, de = ia && (!ae || be && 8 < be && 11 >= be), ee = String.fromCharCode(32), fe = false;
  2132. function ge(a, b) {
  2133. switch (a) {
  2134. case "keyup":
  2135. return -1 !== $d.indexOf(b.keyCode);
  2136. case "keydown":
  2137. return 229 !== b.keyCode;
  2138. case "keypress":
  2139. case "mousedown":
  2140. case "focusout":
  2141. return true;
  2142. default:
  2143. return false;
  2144. }
  2145. }
  2146. function he(a) {
  2147. a = a.detail;
  2148. return "object" === typeof a && "data" in a ? a.data : null;
  2149. }
  2150. var ie = false;
  2151. function je(a, b) {
  2152. switch (a) {
  2153. case "compositionend":
  2154. return he(b);
  2155. case "keypress":
  2156. if (32 !== b.which)
  2157. return null;
  2158. fe = true;
  2159. return ee;
  2160. case "textInput":
  2161. return a = b.data, a === ee && fe ? null : a;
  2162. default:
  2163. return null;
  2164. }
  2165. }
  2166. function ke(a, b) {
  2167. if (ie)
  2168. return "compositionend" === a || !ae && ge(a, b) ? (a = nd(), md = ld = kd = null, ie = false, a) : null;
  2169. switch (a) {
  2170. case "paste":
  2171. return null;
  2172. case "keypress":
  2173. if (!(b.ctrlKey || b.altKey || b.metaKey) || b.ctrlKey && b.altKey) {
  2174. if (b.char && 1 < b.char.length)
  2175. return b.char;
  2176. if (b.which)
  2177. return String.fromCharCode(b.which);
  2178. }
  2179. return null;
  2180. case "compositionend":
  2181. return de && "ko" !== b.locale ? null : b.data;
  2182. default:
  2183. return null;
  2184. }
  2185. }
  2186. var le = { color: true, date: true, datetime: true, "datetime-local": true, email: true, month: true, number: true, password: true, range: true, search: true, tel: true, text: true, time: true, url: true, week: true };
  2187. function me(a) {
  2188. var b = a && a.nodeName && a.nodeName.toLowerCase();
  2189. return "input" === b ? !!le[a.type] : "textarea" === b ? true : false;
  2190. }
  2191. function ne(a, b, c, d) {
  2192. Eb(d);
  2193. b = oe(b, "onChange");
  2194. 0 < b.length && (c = new td("onChange", "change", null, c, d), a.push({ event: c, listeners: b }));
  2195. }
  2196. var pe = null, qe = null;
  2197. function re(a) {
  2198. se(a, 0);
  2199. }
  2200. function te(a) {
  2201. var b = ue(a);
  2202. if (Wa(b))
  2203. return a;
  2204. }
  2205. function ve(a, b) {
  2206. if ("change" === a)
  2207. return b;
  2208. }
  2209. var we = false;
  2210. if (ia) {
  2211. var xe;
  2212. if (ia) {
  2213. var ye = "oninput" in document;
  2214. if (!ye) {
  2215. var ze = document.createElement("div");
  2216. ze.setAttribute("oninput", "return;");
  2217. ye = "function" === typeof ze.oninput;
  2218. }
  2219. xe = ye;
  2220. } else
  2221. xe = false;
  2222. we = xe && (!document.documentMode || 9 < document.documentMode);
  2223. }
  2224. function Ae() {
  2225. pe && (pe.detachEvent("onpropertychange", Be), qe = pe = null);
  2226. }
  2227. function Be(a) {
  2228. if ("value" === a.propertyName && te(qe)) {
  2229. var b = [];
  2230. ne(b, qe, a, xb(a));
  2231. Jb(re, b);
  2232. }
  2233. }
  2234. function Ce(a, b, c) {
  2235. "focusin" === a ? (Ae(), pe = b, qe = c, pe.attachEvent("onpropertychange", Be)) : "focusout" === a && Ae();
  2236. }
  2237. function De(a) {
  2238. if ("selectionchange" === a || "keyup" === a || "keydown" === a)
  2239. return te(qe);
  2240. }
  2241. function Ee(a, b) {
  2242. if ("click" === a)
  2243. return te(b);
  2244. }
  2245. function Fe(a, b) {
  2246. if ("input" === a || "change" === a)
  2247. return te(b);
  2248. }
  2249. function Ge(a, b) {
  2250. return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;
  2251. }
  2252. var He = "function" === typeof Object.is ? Object.is : Ge;
  2253. function Ie(a, b) {
  2254. if (He(a, b))
  2255. return true;
  2256. if ("object" !== typeof a || null === a || "object" !== typeof b || null === b)
  2257. return false;
  2258. var c = Object.keys(a), d = Object.keys(b);
  2259. if (c.length !== d.length)
  2260. return false;
  2261. for (d = 0; d < c.length; d++) {
  2262. var e = c[d];
  2263. if (!ja.call(b, e) || !He(a[e], b[e]))
  2264. return false;
  2265. }
  2266. return true;
  2267. }
  2268. function Je(a) {
  2269. for (; a && a.firstChild; )
  2270. a = a.firstChild;
  2271. return a;
  2272. }
  2273. function Ke(a, b) {
  2274. var c = Je(a);
  2275. a = 0;
  2276. for (var d; c; ) {
  2277. if (3 === c.nodeType) {
  2278. d = a + c.textContent.length;
  2279. if (a <= b && d >= b)
  2280. return { node: c, offset: b - a };
  2281. a = d;
  2282. }
  2283. a: {
  2284. for (; c; ) {
  2285. if (c.nextSibling) {
  2286. c = c.nextSibling;
  2287. break a;
  2288. }
  2289. c = c.parentNode;
  2290. }
  2291. c = void 0;
  2292. }
  2293. c = Je(c);
  2294. }
  2295. }
  2296. function Le(a, b) {
  2297. return a && b ? a === b ? true : a && 3 === a.nodeType ? false : b && 3 === b.nodeType ? Le(a, b.parentNode) : "contains" in a ? a.contains(b) : a.compareDocumentPosition ? !!(a.compareDocumentPosition(b) & 16) : false : false;
  2298. }
  2299. function Me() {
  2300. for (var a = window, b = Xa(); b instanceof a.HTMLIFrameElement; ) {
  2301. try {
  2302. var c = "string" === typeof b.contentWindow.location.href;
  2303. } catch (d) {
  2304. c = false;
  2305. }
  2306. if (c)
  2307. a = b.contentWindow;
  2308. else
  2309. break;
  2310. b = Xa(a.document);
  2311. }
  2312. return b;
  2313. }
  2314. function Ne(a) {
  2315. var b = a && a.nodeName && a.nodeName.toLowerCase();
  2316. return b && ("input" === b && ("text" === a.type || "search" === a.type || "tel" === a.type || "url" === a.type || "password" === a.type) || "textarea" === b || "true" === a.contentEditable);
  2317. }
  2318. function Oe(a) {
  2319. var b = Me(), c = a.focusedElem, d = a.selectionRange;
  2320. if (b !== c && c && c.ownerDocument && Le(c.ownerDocument.documentElement, c)) {
  2321. if (null !== d && Ne(c)) {
  2322. if (b = d.start, a = d.end, void 0 === a && (a = b), "selectionStart" in c)
  2323. c.selectionStart = b, c.selectionEnd = Math.min(a, c.value.length);
  2324. else if (a = (b = c.ownerDocument || document) && b.defaultView || window, a.getSelection) {
  2325. a = a.getSelection();
  2326. var e = c.textContent.length, f2 = Math.min(d.start, e);
  2327. d = void 0 === d.end ? f2 : Math.min(d.end, e);
  2328. !a.extend && f2 > d && (e = d, d = f2, f2 = e);
  2329. e = Ke(c, f2);
  2330. var g = Ke(
  2331. c,
  2332. d
  2333. );
  2334. e && g && (1 !== a.rangeCount || a.anchorNode !== e.node || a.anchorOffset !== e.offset || a.focusNode !== g.node || a.focusOffset !== g.offset) && (b = b.createRange(), b.setStart(e.node, e.offset), a.removeAllRanges(), f2 > d ? (a.addRange(b), a.extend(g.node, g.offset)) : (b.setEnd(g.node, g.offset), a.addRange(b)));
  2335. }
  2336. }
  2337. b = [];
  2338. for (a = c; a = a.parentNode; )
  2339. 1 === a.nodeType && b.push({ element: a, left: a.scrollLeft, top: a.scrollTop });
  2340. "function" === typeof c.focus && c.focus();
  2341. for (c = 0; c < b.length; c++)
  2342. a = b[c], a.element.scrollLeft = a.left, a.element.scrollTop = a.top;
  2343. }
  2344. }
  2345. var Pe = ia && "documentMode" in document && 11 >= document.documentMode, Qe = null, Re = null, Se = null, Te = false;
  2346. function Ue(a, b, c) {
  2347. var d = c.window === c ? c.document : 9 === c.nodeType ? c : c.ownerDocument;
  2348. Te || null == Qe || Qe !== Xa(d) || (d = Qe, "selectionStart" in d && Ne(d) ? d = { start: d.selectionStart, end: d.selectionEnd } : (d = (d.ownerDocument && d.ownerDocument.defaultView || window).getSelection(), d = { anchorNode: d.anchorNode, anchorOffset: d.anchorOffset, focusNode: d.focusNode, focusOffset: d.focusOffset }), Se && Ie(Se, d) || (Se = d, d = oe(Re, "onSelect"), 0 < d.length && (b = new td("onSelect", "select", null, b, c), a.push({ event: b, listeners: d }), b.target = Qe)));
  2349. }
  2350. function Ve(a, b) {
  2351. var c = {};
  2352. c[a.toLowerCase()] = b.toLowerCase();
  2353. c["Webkit" + a] = "webkit" + b;
  2354. c["Moz" + a] = "moz" + b;
  2355. return c;
  2356. }
  2357. var We = { animationend: Ve("Animation", "AnimationEnd"), animationiteration: Ve("Animation", "AnimationIteration"), animationstart: Ve("Animation", "AnimationStart"), transitionend: Ve("Transition", "TransitionEnd") }, Xe = {}, Ye = {};
  2358. ia && (Ye = document.createElement("div").style, "AnimationEvent" in window || (delete We.animationend.animation, delete We.animationiteration.animation, delete We.animationstart.animation), "TransitionEvent" in window || delete We.transitionend.transition);
  2359. function Ze(a) {
  2360. if (Xe[a])
  2361. return Xe[a];
  2362. if (!We[a])
  2363. return a;
  2364. var b = We[a], c;
  2365. for (c in b)
  2366. if (b.hasOwnProperty(c) && c in Ye)
  2367. return Xe[a] = b[c];
  2368. return a;
  2369. }
  2370. var $e = Ze("animationend"), af = Ze("animationiteration"), bf = Ze("animationstart"), cf = Ze("transitionend"), df = /* @__PURE__ */ new Map(), ef = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");
  2371. function ff(a, b) {
  2372. df.set(a, b);
  2373. fa(b, [a]);
  2374. }
  2375. for (var gf = 0; gf < ef.length; gf++) {
  2376. var hf = ef[gf], jf = hf.toLowerCase(), kf = hf[0].toUpperCase() + hf.slice(1);
  2377. ff(jf, "on" + kf);
  2378. }
  2379. ff($e, "onAnimationEnd");
  2380. ff(af, "onAnimationIteration");
  2381. ff(bf, "onAnimationStart");
  2382. ff("dblclick", "onDoubleClick");
  2383. ff("focusin", "onFocus");
  2384. ff("focusout", "onBlur");
  2385. ff(cf, "onTransitionEnd");
  2386. ha("onMouseEnter", ["mouseout", "mouseover"]);
  2387. ha("onMouseLeave", ["mouseout", "mouseover"]);
  2388. ha("onPointerEnter", ["pointerout", "pointerover"]);
  2389. ha("onPointerLeave", ["pointerout", "pointerover"]);
  2390. fa("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" "));
  2391. fa("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));
  2392. fa("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]);
  2393. fa("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" "));
  2394. fa("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" "));
  2395. fa("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
  2396. var lf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), mf = new Set("cancel close invalid load scroll toggle".split(" ").concat(lf));
  2397. function nf(a, b, c) {
  2398. var d = a.type || "unknown-event";
  2399. a.currentTarget = c;
  2400. Ub(d, b, void 0, a);
  2401. a.currentTarget = null;
  2402. }
  2403. function se(a, b) {
  2404. b = 0 !== (b & 4);
  2405. for (var c = 0; c < a.length; c++) {
  2406. var d = a[c], e = d.event;
  2407. d = d.listeners;
  2408. a: {
  2409. var f2 = void 0;
  2410. if (b)
  2411. for (var g = d.length - 1; 0 <= g; g--) {
  2412. var h = d[g], k2 = h.instance, l2 = h.currentTarget;
  2413. h = h.listener;
  2414. if (k2 !== f2 && e.isPropagationStopped())
  2415. break a;
  2416. nf(e, h, l2);
  2417. f2 = k2;
  2418. }
  2419. else
  2420. for (g = 0; g < d.length; g++) {
  2421. h = d[g];
  2422. k2 = h.instance;
  2423. l2 = h.currentTarget;
  2424. h = h.listener;
  2425. if (k2 !== f2 && e.isPropagationStopped())
  2426. break a;
  2427. nf(e, h, l2);
  2428. f2 = k2;
  2429. }
  2430. }
  2431. }
  2432. if (Qb)
  2433. throw a = Rb, Qb = false, Rb = null, a;
  2434. }
  2435. function D(a, b) {
  2436. var c = b[of];
  2437. void 0 === c && (c = b[of] = /* @__PURE__ */ new Set());
  2438. var d = a + "__bubble";
  2439. c.has(d) || (pf(b, a, 2, false), c.add(d));
  2440. }
  2441. function qf(a, b, c) {
  2442. var d = 0;
  2443. b && (d |= 4);
  2444. pf(c, a, d, b);
  2445. }
  2446. var rf = "_reactListening" + Math.random().toString(36).slice(2);
  2447. function sf(a) {
  2448. if (!a[rf]) {
  2449. a[rf] = true;
  2450. da.forEach(function(b2) {
  2451. "selectionchange" !== b2 && (mf.has(b2) || qf(b2, false, a), qf(b2, true, a));
  2452. });
  2453. var b = 9 === a.nodeType ? a : a.ownerDocument;
  2454. null === b || b[rf] || (b[rf] = true, qf("selectionchange", false, b));
  2455. }
  2456. }
  2457. function pf(a, b, c, d) {
  2458. switch (jd(b)) {
  2459. case 1:
  2460. var e = ed;
  2461. break;
  2462. case 4:
  2463. e = gd;
  2464. break;
  2465. default:
  2466. e = fd;
  2467. }
  2468. c = e.bind(null, b, c, a);
  2469. e = void 0;
  2470. !Lb || "touchstart" !== b && "touchmove" !== b && "wheel" !== b || (e = true);
  2471. d ? void 0 !== e ? a.addEventListener(b, c, { capture: true, passive: e }) : a.addEventListener(b, c, true) : void 0 !== e ? a.addEventListener(b, c, { passive: e }) : a.addEventListener(b, c, false);
  2472. }
  2473. function hd(a, b, c, d, e) {
  2474. var f2 = d;
  2475. if (0 === (b & 1) && 0 === (b & 2) && null !== d)
  2476. a:
  2477. for (; ; ) {
  2478. if (null === d)
  2479. return;
  2480. var g = d.tag;
  2481. if (3 === g || 4 === g) {
  2482. var h = d.stateNode.containerInfo;
  2483. if (h === e || 8 === h.nodeType && h.parentNode === e)
  2484. break;
  2485. if (4 === g)
  2486. for (g = d.return; null !== g; ) {
  2487. var k2 = g.tag;
  2488. if (3 === k2 || 4 === k2) {
  2489. if (k2 = g.stateNode.containerInfo, k2 === e || 8 === k2.nodeType && k2.parentNode === e)
  2490. return;
  2491. }
  2492. g = g.return;
  2493. }
  2494. for (; null !== h; ) {
  2495. g = Wc(h);
  2496. if (null === g)
  2497. return;
  2498. k2 = g.tag;
  2499. if (5 === k2 || 6 === k2) {
  2500. d = f2 = g;
  2501. continue a;
  2502. }
  2503. h = h.parentNode;
  2504. }
  2505. }
  2506. d = d.return;
  2507. }
  2508. Jb(function() {
  2509. var d2 = f2, e2 = xb(c), g2 = [];
  2510. a: {
  2511. var h2 = df.get(a);
  2512. if (void 0 !== h2) {
  2513. var k3 = td, n2 = a;
  2514. switch (a) {
  2515. case "keypress":
  2516. if (0 === od(c))
  2517. break a;
  2518. case "keydown":
  2519. case "keyup":
  2520. k3 = Rd;
  2521. break;
  2522. case "focusin":
  2523. n2 = "focus";
  2524. k3 = Fd;
  2525. break;
  2526. case "focusout":
  2527. n2 = "blur";
  2528. k3 = Fd;
  2529. break;
  2530. case "beforeblur":
  2531. case "afterblur":
  2532. k3 = Fd;
  2533. break;
  2534. case "click":
  2535. if (2 === c.button)
  2536. break a;
  2537. case "auxclick":
  2538. case "dblclick":
  2539. case "mousedown":
  2540. case "mousemove":
  2541. case "mouseup":
  2542. case "mouseout":
  2543. case "mouseover":
  2544. case "contextmenu":
  2545. k3 = Bd;
  2546. break;
  2547. case "drag":
  2548. case "dragend":
  2549. case "dragenter":
  2550. case "dragexit":
  2551. case "dragleave":
  2552. case "dragover":
  2553. case "dragstart":
  2554. case "drop":
  2555. k3 = Dd;
  2556. break;
  2557. case "touchcancel":
  2558. case "touchend":
  2559. case "touchmove":
  2560. case "touchstart":
  2561. k3 = Vd;
  2562. break;
  2563. case $e:
  2564. case af:
  2565. case bf:
  2566. k3 = Hd;
  2567. break;
  2568. case cf:
  2569. k3 = Xd;
  2570. break;
  2571. case "scroll":
  2572. k3 = vd;
  2573. break;
  2574. case "wheel":
  2575. k3 = Zd;
  2576. break;
  2577. case "copy":
  2578. case "cut":
  2579. case "paste":
  2580. k3 = Jd;
  2581. break;
  2582. case "gotpointercapture":
  2583. case "lostpointercapture":
  2584. case "pointercancel":
  2585. case "pointerdown":
  2586. case "pointermove":
  2587. case "pointerout":
  2588. case "pointerover":
  2589. case "pointerup":
  2590. k3 = Td;
  2591. }
  2592. var t2 = 0 !== (b & 4), J2 = !t2 && "scroll" === a, x2 = t2 ? null !== h2 ? h2 + "Capture" : null : h2;
  2593. t2 = [];
  2594. for (var w2 = d2, u2; null !== w2; ) {
  2595. u2 = w2;
  2596. var F2 = u2.stateNode;
  2597. 5 === u2.tag && null !== F2 && (u2 = F2, null !== x2 && (F2 = Kb(w2, x2), null != F2 && t2.push(tf(w2, F2, u2))));
  2598. if (J2)
  2599. break;
  2600. w2 = w2.return;
  2601. }
  2602. 0 < t2.length && (h2 = new k3(h2, n2, null, c, e2), g2.push({ event: h2, listeners: t2 }));
  2603. }
  2604. }
  2605. if (0 === (b & 7)) {
  2606. a: {
  2607. h2 = "mouseover" === a || "pointerover" === a;
  2608. k3 = "mouseout" === a || "pointerout" === a;
  2609. if (h2 && c !== wb && (n2 = c.relatedTarget || c.fromElement) && (Wc(n2) || n2[uf]))
  2610. break a;
  2611. if (k3 || h2) {
  2612. h2 = e2.window === e2 ? e2 : (h2 = e2.ownerDocument) ? h2.defaultView || h2.parentWindow : window;
  2613. if (k3) {
  2614. if (n2 = c.relatedTarget || c.toElement, k3 = d2, n2 = n2 ? Wc(n2) : null, null !== n2 && (J2 = Vb(n2), n2 !== J2 || 5 !== n2.tag && 6 !== n2.tag))
  2615. n2 = null;
  2616. } else
  2617. k3 = null, n2 = d2;
  2618. if (k3 !== n2) {
  2619. t2 = Bd;
  2620. F2 = "onMouseLeave";
  2621. x2 = "onMouseEnter";
  2622. w2 = "mouse";
  2623. if ("pointerout" === a || "pointerover" === a)
  2624. t2 = Td, F2 = "onPointerLeave", x2 = "onPointerEnter", w2 = "pointer";
  2625. J2 = null == k3 ? h2 : ue(k3);
  2626. u2 = null == n2 ? h2 : ue(n2);
  2627. h2 = new t2(F2, w2 + "leave", k3, c, e2);
  2628. h2.target = J2;
  2629. h2.relatedTarget = u2;
  2630. F2 = null;
  2631. Wc(e2) === d2 && (t2 = new t2(x2, w2 + "enter", n2, c, e2), t2.target = u2, t2.relatedTarget = J2, F2 = t2);
  2632. J2 = F2;
  2633. if (k3 && n2)
  2634. b: {
  2635. t2 = k3;
  2636. x2 = n2;
  2637. w2 = 0;
  2638. for (u2 = t2; u2; u2 = vf(u2))
  2639. w2++;
  2640. u2 = 0;
  2641. for (F2 = x2; F2; F2 = vf(F2))
  2642. u2++;
  2643. for (; 0 < w2 - u2; )
  2644. t2 = vf(t2), w2--;
  2645. for (; 0 < u2 - w2; )
  2646. x2 = vf(x2), u2--;
  2647. for (; w2--; ) {
  2648. if (t2 === x2 || null !== x2 && t2 === x2.alternate)
  2649. break b;
  2650. t2 = vf(t2);
  2651. x2 = vf(x2);
  2652. }
  2653. t2 = null;
  2654. }
  2655. else
  2656. t2 = null;
  2657. null !== k3 && wf(g2, h2, k3, t2, false);
  2658. null !== n2 && null !== J2 && wf(g2, J2, n2, t2, true);
  2659. }
  2660. }
  2661. }
  2662. a: {
  2663. h2 = d2 ? ue(d2) : window;
  2664. k3 = h2.nodeName && h2.nodeName.toLowerCase();
  2665. if ("select" === k3 || "input" === k3 && "file" === h2.type)
  2666. var na = ve;
  2667. else if (me(h2))
  2668. if (we)
  2669. na = Fe;
  2670. else {
  2671. na = De;
  2672. var xa = Ce;
  2673. }
  2674. else
  2675. (k3 = h2.nodeName) && "input" === k3.toLowerCase() && ("checkbox" === h2.type || "radio" === h2.type) && (na = Ee);
  2676. if (na && (na = na(a, d2))) {
  2677. ne(g2, na, c, e2);
  2678. break a;
  2679. }
  2680. xa && xa(a, h2, d2);
  2681. "focusout" === a && (xa = h2._wrapperState) && xa.controlled && "number" === h2.type && cb(h2, "number", h2.value);
  2682. }
  2683. xa = d2 ? ue(d2) : window;
  2684. switch (a) {
  2685. case "focusin":
  2686. if (me(xa) || "true" === xa.contentEditable)
  2687. Qe = xa, Re = d2, Se = null;
  2688. break;
  2689. case "focusout":
  2690. Se = Re = Qe = null;
  2691. break;
  2692. case "mousedown":
  2693. Te = true;
  2694. break;
  2695. case "contextmenu":
  2696. case "mouseup":
  2697. case "dragend":
  2698. Te = false;
  2699. Ue(g2, c, e2);
  2700. break;
  2701. case "selectionchange":
  2702. if (Pe)
  2703. break;
  2704. case "keydown":
  2705. case "keyup":
  2706. Ue(g2, c, e2);
  2707. }
  2708. var $a;
  2709. if (ae)
  2710. b: {
  2711. switch (a) {
  2712. case "compositionstart":
  2713. var ba = "onCompositionStart";
  2714. break b;
  2715. case "compositionend":
  2716. ba = "onCompositionEnd";
  2717. break b;
  2718. case "compositionupdate":
  2719. ba = "onCompositionUpdate";
  2720. break b;
  2721. }
  2722. ba = void 0;
  2723. }
  2724. else
  2725. ie ? ge(a, c) && (ba = "onCompositionEnd") : "keydown" === a && 229 === c.keyCode && (ba = "onCompositionStart");
  2726. ba && (de && "ko" !== c.locale && (ie || "onCompositionStart" !== ba ? "onCompositionEnd" === ba && ie && ($a = nd()) : (kd = e2, ld = "value" in kd ? kd.value : kd.textContent, ie = true)), xa = oe(d2, ba), 0 < xa.length && (ba = new Ld(ba, a, null, c, e2), g2.push({ event: ba, listeners: xa }), $a ? ba.data = $a : ($a = he(c), null !== $a && (ba.data = $a))));
  2727. if ($a = ce ? je(a, c) : ke(a, c))
  2728. d2 = oe(d2, "onBeforeInput"), 0 < d2.length && (e2 = new Ld("onBeforeInput", "beforeinput", null, c, e2), g2.push({ event: e2, listeners: d2 }), e2.data = $a);
  2729. }
  2730. se(g2, b);
  2731. });
  2732. }
  2733. function tf(a, b, c) {
  2734. return { instance: a, listener: b, currentTarget: c };
  2735. }
  2736. function oe(a, b) {
  2737. for (var c = b + "Capture", d = []; null !== a; ) {
  2738. var e = a, f2 = e.stateNode;
  2739. 5 === e.tag && null !== f2 && (e = f2, f2 = Kb(a, c), null != f2 && d.unshift(tf(a, f2, e)), f2 = Kb(a, b), null != f2 && d.push(tf(a, f2, e)));
  2740. a = a.return;
  2741. }
  2742. return d;
  2743. }
  2744. function vf(a) {
  2745. if (null === a)
  2746. return null;
  2747. do
  2748. a = a.return;
  2749. while (a && 5 !== a.tag);
  2750. return a ? a : null;
  2751. }
  2752. function wf(a, b, c, d, e) {
  2753. for (var f2 = b._reactName, g = []; null !== c && c !== d; ) {
  2754. var h = c, k2 = h.alternate, l2 = h.stateNode;
  2755. if (null !== k2 && k2 === d)
  2756. break;
  2757. 5 === h.tag && null !== l2 && (h = l2, e ? (k2 = Kb(c, f2), null != k2 && g.unshift(tf(c, k2, h))) : e || (k2 = Kb(c, f2), null != k2 && g.push(tf(c, k2, h))));
  2758. c = c.return;
  2759. }
  2760. 0 !== g.length && a.push({ event: b, listeners: g });
  2761. }
  2762. var xf = /\r\n?/g, yf = /\u0000|\uFFFD/g;
  2763. function zf(a) {
  2764. return ("string" === typeof a ? a : "" + a).replace(xf, "\n").replace(yf, "");
  2765. }
  2766. function Af(a, b, c) {
  2767. b = zf(b);
  2768. if (zf(a) !== b && c)
  2769. throw Error(p(425));
  2770. }
  2771. function Bf() {
  2772. }
  2773. var Cf = null, Df = null;
  2774. function Ef(a, b) {
  2775. return "textarea" === a || "noscript" === a || "string" === typeof b.children || "number" === typeof b.children || "object" === typeof b.dangerouslySetInnerHTML && null !== b.dangerouslySetInnerHTML && null != b.dangerouslySetInnerHTML.__html;
  2776. }
  2777. var Ff = "function" === typeof setTimeout ? setTimeout : void 0, Gf = "function" === typeof clearTimeout ? clearTimeout : void 0, Hf = "function" === typeof Promise ? Promise : void 0, Jf = "function" === typeof queueMicrotask ? queueMicrotask : "undefined" !== typeof Hf ? function(a) {
  2778. return Hf.resolve(null).then(a).catch(If);
  2779. } : Ff;
  2780. function If(a) {
  2781. setTimeout(function() {
  2782. throw a;
  2783. });
  2784. }
  2785. function Kf(a, b) {
  2786. var c = b, d = 0;
  2787. do {
  2788. var e = c.nextSibling;
  2789. a.removeChild(c);
  2790. if (e && 8 === e.nodeType)
  2791. if (c = e.data, "/$" === c) {
  2792. if (0 === d) {
  2793. a.removeChild(e);
  2794. bd(b);
  2795. return;
  2796. }
  2797. d--;
  2798. } else
  2799. "$" !== c && "$?" !== c && "$!" !== c || d++;
  2800. c = e;
  2801. } while (c);
  2802. bd(b);
  2803. }
  2804. function Lf(a) {
  2805. for (; null != a; a = a.nextSibling) {
  2806. var b = a.nodeType;
  2807. if (1 === b || 3 === b)
  2808. break;
  2809. if (8 === b) {
  2810. b = a.data;
  2811. if ("$" === b || "$!" === b || "$?" === b)
  2812. break;
  2813. if ("/$" === b)
  2814. return null;
  2815. }
  2816. }
  2817. return a;
  2818. }
  2819. function Mf(a) {
  2820. a = a.previousSibling;
  2821. for (var b = 0; a; ) {
  2822. if (8 === a.nodeType) {
  2823. var c = a.data;
  2824. if ("$" === c || "$!" === c || "$?" === c) {
  2825. if (0 === b)
  2826. return a;
  2827. b--;
  2828. } else
  2829. "/$" === c && b++;
  2830. }
  2831. a = a.previousSibling;
  2832. }
  2833. return null;
  2834. }
  2835. var Nf = Math.random().toString(36).slice(2), Of = "__reactFiber$" + Nf, Pf = "__reactProps$" + Nf, uf = "__reactContainer$" + Nf, of = "__reactEvents$" + Nf, Qf = "__reactListeners$" + Nf, Rf = "__reactHandles$" + Nf;
  2836. function Wc(a) {
  2837. var b = a[Of];
  2838. if (b)
  2839. return b;
  2840. for (var c = a.parentNode; c; ) {
  2841. if (b = c[uf] || c[Of]) {
  2842. c = b.alternate;
  2843. if (null !== b.child || null !== c && null !== c.child)
  2844. for (a = Mf(a); null !== a; ) {
  2845. if (c = a[Of])
  2846. return c;
  2847. a = Mf(a);
  2848. }
  2849. return b;
  2850. }
  2851. a = c;
  2852. c = a.parentNode;
  2853. }
  2854. return null;
  2855. }
  2856. function Cb(a) {
  2857. a = a[Of] || a[uf];
  2858. return !a || 5 !== a.tag && 6 !== a.tag && 13 !== a.tag && 3 !== a.tag ? null : a;
  2859. }
  2860. function ue(a) {
  2861. if (5 === a.tag || 6 === a.tag)
  2862. return a.stateNode;
  2863. throw Error(p(33));
  2864. }
  2865. function Db(a) {
  2866. return a[Pf] || null;
  2867. }
  2868. var Sf = [], Tf = -1;
  2869. function Uf(a) {
  2870. return { current: a };
  2871. }
  2872. function E(a) {
  2873. 0 > Tf || (a.current = Sf[Tf], Sf[Tf] = null, Tf--);
  2874. }
  2875. function G(a, b) {
  2876. Tf++;
  2877. Sf[Tf] = a.current;
  2878. a.current = b;
  2879. }
  2880. var Vf = {}, H = Uf(Vf), Wf = Uf(false), Xf = Vf;
  2881. function Yf(a, b) {
  2882. var c = a.type.contextTypes;
  2883. if (!c)
  2884. return Vf;
  2885. var d = a.stateNode;
  2886. if (d && d.__reactInternalMemoizedUnmaskedChildContext === b)
  2887. return d.__reactInternalMemoizedMaskedChildContext;
  2888. var e = {}, f2;
  2889. for (f2 in c)
  2890. e[f2] = b[f2];
  2891. d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = b, a.__reactInternalMemoizedMaskedChildContext = e);
  2892. return e;
  2893. }
  2894. function Zf(a) {
  2895. a = a.childContextTypes;
  2896. return null !== a && void 0 !== a;
  2897. }
  2898. function $f() {
  2899. E(Wf);
  2900. E(H);
  2901. }
  2902. function ag(a, b, c) {
  2903. if (H.current !== Vf)
  2904. throw Error(p(168));
  2905. G(H, b);
  2906. G(Wf, c);
  2907. }
  2908. function bg(a, b, c) {
  2909. var d = a.stateNode;
  2910. b = b.childContextTypes;
  2911. if ("function" !== typeof d.getChildContext)
  2912. return c;
  2913. d = d.getChildContext();
  2914. for (var e in d)
  2915. if (!(e in b))
  2916. throw Error(p(108, Ra(a) || "Unknown", e));
  2917. return A({}, c, d);
  2918. }
  2919. function cg(a) {
  2920. a = (a = a.stateNode) && a.__reactInternalMemoizedMergedChildContext || Vf;
  2921. Xf = H.current;
  2922. G(H, a);
  2923. G(Wf, Wf.current);
  2924. return true;
  2925. }
  2926. function dg(a, b, c) {
  2927. var d = a.stateNode;
  2928. if (!d)
  2929. throw Error(p(169));
  2930. c ? (a = bg(a, b, Xf), d.__reactInternalMemoizedMergedChildContext = a, E(Wf), E(H), G(H, a)) : E(Wf);
  2931. G(Wf, c);
  2932. }
  2933. var eg = null, fg = false, gg = false;
  2934. function hg(a) {
  2935. null === eg ? eg = [a] : eg.push(a);
  2936. }
  2937. function ig(a) {
  2938. fg = true;
  2939. hg(a);
  2940. }
  2941. function jg() {
  2942. if (!gg && null !== eg) {
  2943. gg = true;
  2944. var a = 0, b = C;
  2945. try {
  2946. var c = eg;
  2947. for (C = 1; a < c.length; a++) {
  2948. var d = c[a];
  2949. do
  2950. d = d(true);
  2951. while (null !== d);
  2952. }
  2953. eg = null;
  2954. fg = false;
  2955. } catch (e) {
  2956. throw null !== eg && (eg = eg.slice(a + 1)), ac(fc, jg), e;
  2957. } finally {
  2958. C = b, gg = false;
  2959. }
  2960. }
  2961. return null;
  2962. }
  2963. var kg = [], lg = 0, mg = null, ng = 0, og = [], pg = 0, qg = null, rg = 1, sg = "";
  2964. function tg(a, b) {
  2965. kg[lg++] = ng;
  2966. kg[lg++] = mg;
  2967. mg = a;
  2968. ng = b;
  2969. }
  2970. function ug(a, b, c) {
  2971. og[pg++] = rg;
  2972. og[pg++] = sg;
  2973. og[pg++] = qg;
  2974. qg = a;
  2975. var d = rg;
  2976. a = sg;
  2977. var e = 32 - oc(d) - 1;
  2978. d &= ~(1 << e);
  2979. c += 1;
  2980. var f2 = 32 - oc(b) + e;
  2981. if (30 < f2) {
  2982. var g = e - e % 5;
  2983. f2 = (d & (1 << g) - 1).toString(32);
  2984. d >>= g;
  2985. e -= g;
  2986. rg = 1 << 32 - oc(b) + e | c << e | d;
  2987. sg = f2 + a;
  2988. } else
  2989. rg = 1 << f2 | c << e | d, sg = a;
  2990. }
  2991. function vg(a) {
  2992. null !== a.return && (tg(a, 1), ug(a, 1, 0));
  2993. }
  2994. function wg(a) {
  2995. for (; a === mg; )
  2996. mg = kg[--lg], kg[lg] = null, ng = kg[--lg], kg[lg] = null;
  2997. for (; a === qg; )
  2998. qg = og[--pg], og[pg] = null, sg = og[--pg], og[pg] = null, rg = og[--pg], og[pg] = null;
  2999. }
  3000. var xg = null, yg = null, I = false, zg = null;
  3001. function Ag(a, b) {
  3002. var c = Bg(5, null, null, 0);
  3003. c.elementType = "DELETED";
  3004. c.stateNode = b;
  3005. c.return = a;
  3006. b = a.deletions;
  3007. null === b ? (a.deletions = [c], a.flags |= 16) : b.push(c);
  3008. }
  3009. function Cg(a, b) {
  3010. switch (a.tag) {
  3011. case 5:
  3012. var c = a.type;
  3013. b = 1 !== b.nodeType || c.toLowerCase() !== b.nodeName.toLowerCase() ? null : b;
  3014. return null !== b ? (a.stateNode = b, xg = a, yg = Lf(b.firstChild), true) : false;
  3015. case 6:
  3016. return b = "" === a.pendingProps || 3 !== b.nodeType ? null : b, null !== b ? (a.stateNode = b, xg = a, yg = null, true) : false;
  3017. case 13:
  3018. return b = 8 !== b.nodeType ? null : b, null !== b ? (c = null !== qg ? { id: rg, overflow: sg } : null, a.memoizedState = { dehydrated: b, treeContext: c, retryLane: 1073741824 }, c = Bg(18, null, null, 0), c.stateNode = b, c.return = a, a.child = c, xg = a, yg = null, true) : false;
  3019. default:
  3020. return false;
  3021. }
  3022. }
  3023. function Dg(a) {
  3024. return 0 !== (a.mode & 1) && 0 === (a.flags & 128);
  3025. }
  3026. function Eg(a) {
  3027. if (I) {
  3028. var b = yg;
  3029. if (b) {
  3030. var c = b;
  3031. if (!Cg(a, b)) {
  3032. if (Dg(a))
  3033. throw Error(p(418));
  3034. b = Lf(c.nextSibling);
  3035. var d = xg;
  3036. b && Cg(a, b) ? Ag(d, c) : (a.flags = a.flags & -4097 | 2, I = false, xg = a);
  3037. }
  3038. } else {
  3039. if (Dg(a))
  3040. throw Error(p(418));
  3041. a.flags = a.flags & -4097 | 2;
  3042. I = false;
  3043. xg = a;
  3044. }
  3045. }
  3046. }
  3047. function Fg(a) {
  3048. for (a = a.return; null !== a && 5 !== a.tag && 3 !== a.tag && 13 !== a.tag; )
  3049. a = a.return;
  3050. xg = a;
  3051. }
  3052. function Gg(a) {
  3053. if (a !== xg)
  3054. return false;
  3055. if (!I)
  3056. return Fg(a), I = true, false;
  3057. var b;
  3058. (b = 3 !== a.tag) && !(b = 5 !== a.tag) && (b = a.type, b = "head" !== b && "body" !== b && !Ef(a.type, a.memoizedProps));
  3059. if (b && (b = yg)) {
  3060. if (Dg(a))
  3061. throw Hg(), Error(p(418));
  3062. for (; b; )
  3063. Ag(a, b), b = Lf(b.nextSibling);
  3064. }
  3065. Fg(a);
  3066. if (13 === a.tag) {
  3067. a = a.memoizedState;
  3068. a = null !== a ? a.dehydrated : null;
  3069. if (!a)
  3070. throw Error(p(317));
  3071. a: {
  3072. a = a.nextSibling;
  3073. for (b = 0; a; ) {
  3074. if (8 === a.nodeType) {
  3075. var c = a.data;
  3076. if ("/$" === c) {
  3077. if (0 === b) {
  3078. yg = Lf(a.nextSibling);
  3079. break a;
  3080. }
  3081. b--;
  3082. } else
  3083. "$" !== c && "$!" !== c && "$?" !== c || b++;
  3084. }
  3085. a = a.nextSibling;
  3086. }
  3087. yg = null;
  3088. }
  3089. } else
  3090. yg = xg ? Lf(a.stateNode.nextSibling) : null;
  3091. return true;
  3092. }
  3093. function Hg() {
  3094. for (var a = yg; a; )
  3095. a = Lf(a.nextSibling);
  3096. }
  3097. function Ig() {
  3098. yg = xg = null;
  3099. I = false;
  3100. }
  3101. function Jg(a) {
  3102. null === zg ? zg = [a] : zg.push(a);
  3103. }
  3104. var Kg = ua.ReactCurrentBatchConfig;
  3105. function Lg(a, b) {
  3106. if (a && a.defaultProps) {
  3107. b = A({}, b);
  3108. a = a.defaultProps;
  3109. for (var c in a)
  3110. void 0 === b[c] && (b[c] = a[c]);
  3111. return b;
  3112. }
  3113. return b;
  3114. }
  3115. var Mg = Uf(null), Ng = null, Og = null, Pg = null;
  3116. function Qg() {
  3117. Pg = Og = Ng = null;
  3118. }
  3119. function Rg(a) {
  3120. var b = Mg.current;
  3121. E(Mg);
  3122. a._currentValue = b;
  3123. }
  3124. function Sg(a, b, c) {
  3125. for (; null !== a; ) {
  3126. var d = a.alternate;
  3127. (a.childLanes & b) !== b ? (a.childLanes |= b, null !== d && (d.childLanes |= b)) : null !== d && (d.childLanes & b) !== b && (d.childLanes |= b);
  3128. if (a === c)
  3129. break;
  3130. a = a.return;
  3131. }
  3132. }
  3133. function Tg(a, b) {
  3134. Ng = a;
  3135. Pg = Og = null;
  3136. a = a.dependencies;
  3137. null !== a && null !== a.firstContext && (0 !== (a.lanes & b) && (Ug = true), a.firstContext = null);
  3138. }
  3139. function Vg(a) {
  3140. var b = a._currentValue;
  3141. if (Pg !== a)
  3142. if (a = { context: a, memoizedValue: b, next: null }, null === Og) {
  3143. if (null === Ng)
  3144. throw Error(p(308));
  3145. Og = a;
  3146. Ng.dependencies = { lanes: 0, firstContext: a };
  3147. } else
  3148. Og = Og.next = a;
  3149. return b;
  3150. }
  3151. var Wg = null;
  3152. function Xg(a) {
  3153. null === Wg ? Wg = [a] : Wg.push(a);
  3154. }
  3155. function Yg(a, b, c, d) {
  3156. var e = b.interleaved;
  3157. null === e ? (c.next = c, Xg(b)) : (c.next = e.next, e.next = c);
  3158. b.interleaved = c;
  3159. return Zg(a, d);
  3160. }
  3161. function Zg(a, b) {
  3162. a.lanes |= b;
  3163. var c = a.alternate;
  3164. null !== c && (c.lanes |= b);
  3165. c = a;
  3166. for (a = a.return; null !== a; )
  3167. a.childLanes |= b, c = a.alternate, null !== c && (c.childLanes |= b), c = a, a = a.return;
  3168. return 3 === c.tag ? c.stateNode : null;
  3169. }
  3170. var $g = false;
  3171. function ah(a) {
  3172. a.updateQueue = { baseState: a.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, effects: null };
  3173. }
  3174. function bh(a, b) {
  3175. a = a.updateQueue;
  3176. b.updateQueue === a && (b.updateQueue = { baseState: a.baseState, firstBaseUpdate: a.firstBaseUpdate, lastBaseUpdate: a.lastBaseUpdate, shared: a.shared, effects: a.effects });
  3177. }
  3178. function ch(a, b) {
  3179. return { eventTime: a, lane: b, tag: 0, payload: null, callback: null, next: null };
  3180. }
  3181. function dh(a, b, c) {
  3182. var d = a.updateQueue;
  3183. if (null === d)
  3184. return null;
  3185. d = d.shared;
  3186. if (0 !== (K & 2)) {
  3187. var e = d.pending;
  3188. null === e ? b.next = b : (b.next = e.next, e.next = b);
  3189. d.pending = b;
  3190. return Zg(a, c);
  3191. }
  3192. e = d.interleaved;
  3193. null === e ? (b.next = b, Xg(d)) : (b.next = e.next, e.next = b);
  3194. d.interleaved = b;
  3195. return Zg(a, c);
  3196. }
  3197. function eh(a, b, c) {
  3198. b = b.updateQueue;
  3199. if (null !== b && (b = b.shared, 0 !== (c & 4194240))) {
  3200. var d = b.lanes;
  3201. d &= a.pendingLanes;
  3202. c |= d;
  3203. b.lanes = c;
  3204. Cc(a, c);
  3205. }
  3206. }
  3207. function fh(a, b) {
  3208. var c = a.updateQueue, d = a.alternate;
  3209. if (null !== d && (d = d.updateQueue, c === d)) {
  3210. var e = null, f2 = null;
  3211. c = c.firstBaseUpdate;
  3212. if (null !== c) {
  3213. do {
  3214. var g = { eventTime: c.eventTime, lane: c.lane, tag: c.tag, payload: c.payload, callback: c.callback, next: null };
  3215. null === f2 ? e = f2 = g : f2 = f2.next = g;
  3216. c = c.next;
  3217. } while (null !== c);
  3218. null === f2 ? e = f2 = b : f2 = f2.next = b;
  3219. } else
  3220. e = f2 = b;
  3221. c = { baseState: d.baseState, firstBaseUpdate: e, lastBaseUpdate: f2, shared: d.shared, effects: d.effects };
  3222. a.updateQueue = c;
  3223. return;
  3224. }
  3225. a = c.lastBaseUpdate;
  3226. null === a ? c.firstBaseUpdate = b : a.next = b;
  3227. c.lastBaseUpdate = b;
  3228. }
  3229. function gh(a, b, c, d) {
  3230. var e = a.updateQueue;
  3231. $g = false;
  3232. var f2 = e.firstBaseUpdate, g = e.lastBaseUpdate, h = e.shared.pending;
  3233. if (null !== h) {
  3234. e.shared.pending = null;
  3235. var k2 = h, l2 = k2.next;
  3236. k2.next = null;
  3237. null === g ? f2 = l2 : g.next = l2;
  3238. g = k2;
  3239. var m2 = a.alternate;
  3240. null !== m2 && (m2 = m2.updateQueue, h = m2.lastBaseUpdate, h !== g && (null === h ? m2.firstBaseUpdate = l2 : h.next = l2, m2.lastBaseUpdate = k2));
  3241. }
  3242. if (null !== f2) {
  3243. var q2 = e.baseState;
  3244. g = 0;
  3245. m2 = l2 = k2 = null;
  3246. h = f2;
  3247. do {
  3248. var r2 = h.lane, y2 = h.eventTime;
  3249. if ((d & r2) === r2) {
  3250. null !== m2 && (m2 = m2.next = {
  3251. eventTime: y2,
  3252. lane: 0,
  3253. tag: h.tag,
  3254. payload: h.payload,
  3255. callback: h.callback,
  3256. next: null
  3257. });
  3258. a: {
  3259. var n2 = a, t2 = h;
  3260. r2 = b;
  3261. y2 = c;
  3262. switch (t2.tag) {
  3263. case 1:
  3264. n2 = t2.payload;
  3265. if ("function" === typeof n2) {
  3266. q2 = n2.call(y2, q2, r2);
  3267. break a;
  3268. }
  3269. q2 = n2;
  3270. break a;
  3271. case 3:
  3272. n2.flags = n2.flags & -65537 | 128;
  3273. case 0:
  3274. n2 = t2.payload;
  3275. r2 = "function" === typeof n2 ? n2.call(y2, q2, r2) : n2;
  3276. if (null === r2 || void 0 === r2)
  3277. break a;
  3278. q2 = A({}, q2, r2);
  3279. break a;
  3280. case 2:
  3281. $g = true;
  3282. }
  3283. }
  3284. null !== h.callback && 0 !== h.lane && (a.flags |= 64, r2 = e.effects, null === r2 ? e.effects = [h] : r2.push(h));
  3285. } else
  3286. y2 = { eventTime: y2, lane: r2, tag: h.tag, payload: h.payload, callback: h.callback, next: null }, null === m2 ? (l2 = m2 = y2, k2 = q2) : m2 = m2.next = y2, g |= r2;
  3287. h = h.next;
  3288. if (null === h)
  3289. if (h = e.shared.pending, null === h)
  3290. break;
  3291. else
  3292. r2 = h, h = r2.next, r2.next = null, e.lastBaseUpdate = r2, e.shared.pending = null;
  3293. } while (1);
  3294. null === m2 && (k2 = q2);
  3295. e.baseState = k2;
  3296. e.firstBaseUpdate = l2;
  3297. e.lastBaseUpdate = m2;
  3298. b = e.shared.interleaved;
  3299. if (null !== b) {
  3300. e = b;
  3301. do
  3302. g |= e.lane, e = e.next;
  3303. while (e !== b);
  3304. } else
  3305. null === f2 && (e.shared.lanes = 0);
  3306. hh |= g;
  3307. a.lanes = g;
  3308. a.memoizedState = q2;
  3309. }
  3310. }
  3311. function ih(a, b, c) {
  3312. a = b.effects;
  3313. b.effects = null;
  3314. if (null !== a)
  3315. for (b = 0; b < a.length; b++) {
  3316. var d = a[b], e = d.callback;
  3317. if (null !== e) {
  3318. d.callback = null;
  3319. d = c;
  3320. if ("function" !== typeof e)
  3321. throw Error(p(191, e));
  3322. e.call(d);
  3323. }
  3324. }
  3325. }
  3326. var jh = new aa.Component().refs;
  3327. function kh(a, b, c, d) {
  3328. b = a.memoizedState;
  3329. c = c(d, b);
  3330. c = null === c || void 0 === c ? b : A({}, b, c);
  3331. a.memoizedState = c;
  3332. 0 === a.lanes && (a.updateQueue.baseState = c);
  3333. }
  3334. var nh = { isMounted: function(a) {
  3335. return (a = a._reactInternals) ? Vb(a) === a : false;
  3336. }, enqueueSetState: function(a, b, c) {
  3337. a = a._reactInternals;
  3338. var d = L(), e = lh(a), f2 = ch(d, e);
  3339. f2.payload = b;
  3340. void 0 !== c && null !== c && (f2.callback = c);
  3341. b = dh(a, f2, e);
  3342. null !== b && (mh(b, a, e, d), eh(b, a, e));
  3343. }, enqueueReplaceState: function(a, b, c) {
  3344. a = a._reactInternals;
  3345. var d = L(), e = lh(a), f2 = ch(d, e);
  3346. f2.tag = 1;
  3347. f2.payload = b;
  3348. void 0 !== c && null !== c && (f2.callback = c);
  3349. b = dh(a, f2, e);
  3350. null !== b && (mh(b, a, e, d), eh(b, a, e));
  3351. }, enqueueForceUpdate: function(a, b) {
  3352. a = a._reactInternals;
  3353. var c = L(), d = lh(a), e = ch(c, d);
  3354. e.tag = 2;
  3355. void 0 !== b && null !== b && (e.callback = b);
  3356. b = dh(a, e, d);
  3357. null !== b && (mh(b, a, d, c), eh(b, a, d));
  3358. } };
  3359. function oh(a, b, c, d, e, f2, g) {
  3360. a = a.stateNode;
  3361. return "function" === typeof a.shouldComponentUpdate ? a.shouldComponentUpdate(d, f2, g) : b.prototype && b.prototype.isPureReactComponent ? !Ie(c, d) || !Ie(e, f2) : true;
  3362. }
  3363. function ph(a, b, c) {
  3364. var d = false, e = Vf;
  3365. var f2 = b.contextType;
  3366. "object" === typeof f2 && null !== f2 ? f2 = Vg(f2) : (e = Zf(b) ? Xf : H.current, d = b.contextTypes, f2 = (d = null !== d && void 0 !== d) ? Yf(a, e) : Vf);
  3367. b = new b(c, f2);
  3368. a.memoizedState = null !== b.state && void 0 !== b.state ? b.state : null;
  3369. b.updater = nh;
  3370. a.stateNode = b;
  3371. b._reactInternals = a;
  3372. d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = e, a.__reactInternalMemoizedMaskedChildContext = f2);
  3373. return b;
  3374. }
  3375. function qh(a, b, c, d) {
  3376. a = b.state;
  3377. "function" === typeof b.componentWillReceiveProps && b.componentWillReceiveProps(c, d);
  3378. "function" === typeof b.UNSAFE_componentWillReceiveProps && b.UNSAFE_componentWillReceiveProps(c, d);
  3379. b.state !== a && nh.enqueueReplaceState(b, b.state, null);
  3380. }
  3381. function rh(a, b, c, d) {
  3382. var e = a.stateNode;
  3383. e.props = c;
  3384. e.state = a.memoizedState;
  3385. e.refs = jh;
  3386. ah(a);
  3387. var f2 = b.contextType;
  3388. "object" === typeof f2 && null !== f2 ? e.context = Vg(f2) : (f2 = Zf(b) ? Xf : H.current, e.context = Yf(a, f2));
  3389. e.state = a.memoizedState;
  3390. f2 = b.getDerivedStateFromProps;
  3391. "function" === typeof f2 && (kh(a, b, f2, c), e.state = a.memoizedState);
  3392. "function" === typeof b.getDerivedStateFromProps || "function" === typeof e.getSnapshotBeforeUpdate || "function" !== typeof e.UNSAFE_componentWillMount && "function" !== typeof e.componentWillMount || (b = e.state, "function" === typeof e.componentWillMount && e.componentWillMount(), "function" === typeof e.UNSAFE_componentWillMount && e.UNSAFE_componentWillMount(), b !== e.state && nh.enqueueReplaceState(e, e.state, null), gh(a, c, e, d), e.state = a.memoizedState);
  3393. "function" === typeof e.componentDidMount && (a.flags |= 4194308);
  3394. }
  3395. function sh(a, b, c) {
  3396. a = c.ref;
  3397. if (null !== a && "function" !== typeof a && "object" !== typeof a) {
  3398. if (c._owner) {
  3399. c = c._owner;
  3400. if (c) {
  3401. if (1 !== c.tag)
  3402. throw Error(p(309));
  3403. var d = c.stateNode;
  3404. }
  3405. if (!d)
  3406. throw Error(p(147, a));
  3407. var e = d, f2 = "" + a;
  3408. if (null !== b && null !== b.ref && "function" === typeof b.ref && b.ref._stringRef === f2)
  3409. return b.ref;
  3410. b = function(a2) {
  3411. var b2 = e.refs;
  3412. b2 === jh && (b2 = e.refs = {});
  3413. null === a2 ? delete b2[f2] : b2[f2] = a2;
  3414. };
  3415. b._stringRef = f2;
  3416. return b;
  3417. }
  3418. if ("string" !== typeof a)
  3419. throw Error(p(284));
  3420. if (!c._owner)
  3421. throw Error(p(290, a));
  3422. }
  3423. return a;
  3424. }
  3425. function th(a, b) {
  3426. a = Object.prototype.toString.call(b);
  3427. throw Error(p(31, "[object Object]" === a ? "object with keys {" + Object.keys(b).join(", ") + "}" : a));
  3428. }
  3429. function uh(a) {
  3430. var b = a._init;
  3431. return b(a._payload);
  3432. }
  3433. function vh(a) {
  3434. function b(b2, c2) {
  3435. if (a) {
  3436. var d2 = b2.deletions;
  3437. null === d2 ? (b2.deletions = [c2], b2.flags |= 16) : d2.push(c2);
  3438. }
  3439. }
  3440. function c(c2, d2) {
  3441. if (!a)
  3442. return null;
  3443. for (; null !== d2; )
  3444. b(c2, d2), d2 = d2.sibling;
  3445. return null;
  3446. }
  3447. function d(a2, b2) {
  3448. for (a2 = /* @__PURE__ */ new Map(); null !== b2; )
  3449. null !== b2.key ? a2.set(b2.key, b2) : a2.set(b2.index, b2), b2 = b2.sibling;
  3450. return a2;
  3451. }
  3452. function e(a2, b2) {
  3453. a2 = wh(a2, b2);
  3454. a2.index = 0;
  3455. a2.sibling = null;
  3456. return a2;
  3457. }
  3458. function f2(b2, c2, d2) {
  3459. b2.index = d2;
  3460. if (!a)
  3461. return b2.flags |= 1048576, c2;
  3462. d2 = b2.alternate;
  3463. if (null !== d2)
  3464. return d2 = d2.index, d2 < c2 ? (b2.flags |= 2, c2) : d2;
  3465. b2.flags |= 2;
  3466. return c2;
  3467. }
  3468. function g(b2) {
  3469. a && null === b2.alternate && (b2.flags |= 2);
  3470. return b2;
  3471. }
  3472. function h(a2, b2, c2, d2) {
  3473. if (null === b2 || 6 !== b2.tag)
  3474. return b2 = xh(c2, a2.mode, d2), b2.return = a2, b2;
  3475. b2 = e(b2, c2);
  3476. b2.return = a2;
  3477. return b2;
  3478. }
  3479. function k2(a2, b2, c2, d2) {
  3480. var f3 = c2.type;
  3481. if (f3 === ya)
  3482. return m2(a2, b2, c2.props.children, d2, c2.key);
  3483. if (null !== b2 && (b2.elementType === f3 || "object" === typeof f3 && null !== f3 && f3.$$typeof === Ha && uh(f3) === b2.type))
  3484. return d2 = e(b2, c2.props), d2.ref = sh(a2, b2, c2), d2.return = a2, d2;
  3485. d2 = yh(c2.type, c2.key, c2.props, null, a2.mode, d2);
  3486. d2.ref = sh(a2, b2, c2);
  3487. d2.return = a2;
  3488. return d2;
  3489. }
  3490. function l2(a2, b2, c2, d2) {
  3491. if (null === b2 || 4 !== b2.tag || b2.stateNode.containerInfo !== c2.containerInfo || b2.stateNode.implementation !== c2.implementation)
  3492. return b2 = zh(c2, a2.mode, d2), b2.return = a2, b2;
  3493. b2 = e(b2, c2.children || []);
  3494. b2.return = a2;
  3495. return b2;
  3496. }
  3497. function m2(a2, b2, c2, d2, f3) {
  3498. if (null === b2 || 7 !== b2.tag)
  3499. return b2 = Ah(c2, a2.mode, d2, f3), b2.return = a2, b2;
  3500. b2 = e(b2, c2);
  3501. b2.return = a2;
  3502. return b2;
  3503. }
  3504. function q2(a2, b2, c2) {
  3505. if ("string" === typeof b2 && "" !== b2 || "number" === typeof b2)
  3506. return b2 = xh("" + b2, a2.mode, c2), b2.return = a2, b2;
  3507. if ("object" === typeof b2 && null !== b2) {
  3508. switch (b2.$$typeof) {
  3509. case va:
  3510. return c2 = yh(b2.type, b2.key, b2.props, null, a2.mode, c2), c2.ref = sh(a2, null, b2), c2.return = a2, c2;
  3511. case wa:
  3512. return b2 = zh(b2, a2.mode, c2), b2.return = a2, b2;
  3513. case Ha:
  3514. var d2 = b2._init;
  3515. return q2(a2, d2(b2._payload), c2);
  3516. }
  3517. if (eb(b2) || Ka(b2))
  3518. return b2 = Ah(b2, a2.mode, c2, null), b2.return = a2, b2;
  3519. th(a2, b2);
  3520. }
  3521. return null;
  3522. }
  3523. function r2(a2, b2, c2, d2) {
  3524. var e2 = null !== b2 ? b2.key : null;
  3525. if ("string" === typeof c2 && "" !== c2 || "number" === typeof c2)
  3526. return null !== e2 ? null : h(a2, b2, "" + c2, d2);
  3527. if ("object" === typeof c2 && null !== c2) {
  3528. switch (c2.$$typeof) {
  3529. case va:
  3530. return c2.key === e2 ? k2(a2, b2, c2, d2) : null;
  3531. case wa:
  3532. return c2.key === e2 ? l2(a2, b2, c2, d2) : null;
  3533. case Ha:
  3534. return e2 = c2._init, r2(
  3535. a2,
  3536. b2,
  3537. e2(c2._payload),
  3538. d2
  3539. );
  3540. }
  3541. if (eb(c2) || Ka(c2))
  3542. return null !== e2 ? null : m2(a2, b2, c2, d2, null);
  3543. th(a2, c2);
  3544. }
  3545. return null;
  3546. }
  3547. function y2(a2, b2, c2, d2, e2) {
  3548. if ("string" === typeof d2 && "" !== d2 || "number" === typeof d2)
  3549. return a2 = a2.get(c2) || null, h(b2, a2, "" + d2, e2);
  3550. if ("object" === typeof d2 && null !== d2) {
  3551. switch (d2.$$typeof) {
  3552. case va:
  3553. return a2 = a2.get(null === d2.key ? c2 : d2.key) || null, k2(b2, a2, d2, e2);
  3554. case wa:
  3555. return a2 = a2.get(null === d2.key ? c2 : d2.key) || null, l2(b2, a2, d2, e2);
  3556. case Ha:
  3557. var f3 = d2._init;
  3558. return y2(a2, b2, c2, f3(d2._payload), e2);
  3559. }
  3560. if (eb(d2) || Ka(d2))
  3561. return a2 = a2.get(c2) || null, m2(b2, a2, d2, e2, null);
  3562. th(b2, d2);
  3563. }
  3564. return null;
  3565. }
  3566. function n2(e2, g2, h2, k3) {
  3567. for (var l3 = null, m3 = null, u2 = g2, w2 = g2 = 0, x2 = null; null !== u2 && w2 < h2.length; w2++) {
  3568. u2.index > w2 ? (x2 = u2, u2 = null) : x2 = u2.sibling;
  3569. var n3 = r2(e2, u2, h2[w2], k3);
  3570. if (null === n3) {
  3571. null === u2 && (u2 = x2);
  3572. break;
  3573. }
  3574. a && u2 && null === n3.alternate && b(e2, u2);
  3575. g2 = f2(n3, g2, w2);
  3576. null === m3 ? l3 = n3 : m3.sibling = n3;
  3577. m3 = n3;
  3578. u2 = x2;
  3579. }
  3580. if (w2 === h2.length)
  3581. return c(e2, u2), I && tg(e2, w2), l3;
  3582. if (null === u2) {
  3583. for (; w2 < h2.length; w2++)
  3584. u2 = q2(e2, h2[w2], k3), null !== u2 && (g2 = f2(u2, g2, w2), null === m3 ? l3 = u2 : m3.sibling = u2, m3 = u2);
  3585. I && tg(e2, w2);
  3586. return l3;
  3587. }
  3588. for (u2 = d(e2, u2); w2 < h2.length; w2++)
  3589. x2 = y2(u2, e2, w2, h2[w2], k3), null !== x2 && (a && null !== x2.alternate && u2.delete(null === x2.key ? w2 : x2.key), g2 = f2(x2, g2, w2), null === m3 ? l3 = x2 : m3.sibling = x2, m3 = x2);
  3590. a && u2.forEach(function(a2) {
  3591. return b(e2, a2);
  3592. });
  3593. I && tg(e2, w2);
  3594. return l3;
  3595. }
  3596. function t2(e2, g2, h2, k3) {
  3597. var l3 = Ka(h2);
  3598. if ("function" !== typeof l3)
  3599. throw Error(p(150));
  3600. h2 = l3.call(h2);
  3601. if (null == h2)
  3602. throw Error(p(151));
  3603. for (var u2 = l3 = null, m3 = g2, w2 = g2 = 0, x2 = null, n3 = h2.next(); null !== m3 && !n3.done; w2++, n3 = h2.next()) {
  3604. m3.index > w2 ? (x2 = m3, m3 = null) : x2 = m3.sibling;
  3605. var t3 = r2(e2, m3, n3.value, k3);
  3606. if (null === t3) {
  3607. null === m3 && (m3 = x2);
  3608. break;
  3609. }
  3610. a && m3 && null === t3.alternate && b(e2, m3);
  3611. g2 = f2(t3, g2, w2);
  3612. null === u2 ? l3 = t3 : u2.sibling = t3;
  3613. u2 = t3;
  3614. m3 = x2;
  3615. }
  3616. if (n3.done)
  3617. return c(
  3618. e2,
  3619. m3
  3620. ), I && tg(e2, w2), l3;
  3621. if (null === m3) {
  3622. for (; !n3.done; w2++, n3 = h2.next())
  3623. n3 = q2(e2, n3.value, k3), null !== n3 && (g2 = f2(n3, g2, w2), null === u2 ? l3 = n3 : u2.sibling = n3, u2 = n3);
  3624. I && tg(e2, w2);
  3625. return l3;
  3626. }
  3627. for (m3 = d(e2, m3); !n3.done; w2++, n3 = h2.next())
  3628. n3 = y2(m3, e2, w2, n3.value, k3), null !== n3 && (a && null !== n3.alternate && m3.delete(null === n3.key ? w2 : n3.key), g2 = f2(n3, g2, w2), null === u2 ? l3 = n3 : u2.sibling = n3, u2 = n3);
  3629. a && m3.forEach(function(a2) {
  3630. return b(e2, a2);
  3631. });
  3632. I && tg(e2, w2);
  3633. return l3;
  3634. }
  3635. function J2(a2, d2, f3, h2) {
  3636. "object" === typeof f3 && null !== f3 && f3.type === ya && null === f3.key && (f3 = f3.props.children);
  3637. if ("object" === typeof f3 && null !== f3) {
  3638. switch (f3.$$typeof) {
  3639. case va:
  3640. a: {
  3641. for (var k3 = f3.key, l3 = d2; null !== l3; ) {
  3642. if (l3.key === k3) {
  3643. k3 = f3.type;
  3644. if (k3 === ya) {
  3645. if (7 === l3.tag) {
  3646. c(a2, l3.sibling);
  3647. d2 = e(l3, f3.props.children);
  3648. d2.return = a2;
  3649. a2 = d2;
  3650. break a;
  3651. }
  3652. } else if (l3.elementType === k3 || "object" === typeof k3 && null !== k3 && k3.$$typeof === Ha && uh(k3) === l3.type) {
  3653. c(a2, l3.sibling);
  3654. d2 = e(l3, f3.props);
  3655. d2.ref = sh(a2, l3, f3);
  3656. d2.return = a2;
  3657. a2 = d2;
  3658. break a;
  3659. }
  3660. c(a2, l3);
  3661. break;
  3662. } else
  3663. b(a2, l3);
  3664. l3 = l3.sibling;
  3665. }
  3666. f3.type === ya ? (d2 = Ah(f3.props.children, a2.mode, h2, f3.key), d2.return = a2, a2 = d2) : (h2 = yh(f3.type, f3.key, f3.props, null, a2.mode, h2), h2.ref = sh(a2, d2, f3), h2.return = a2, a2 = h2);
  3667. }
  3668. return g(a2);
  3669. case wa:
  3670. a: {
  3671. for (l3 = f3.key; null !== d2; ) {
  3672. if (d2.key === l3)
  3673. if (4 === d2.tag && d2.stateNode.containerInfo === f3.containerInfo && d2.stateNode.implementation === f3.implementation) {
  3674. c(a2, d2.sibling);
  3675. d2 = e(d2, f3.children || []);
  3676. d2.return = a2;
  3677. a2 = d2;
  3678. break a;
  3679. } else {
  3680. c(a2, d2);
  3681. break;
  3682. }
  3683. else
  3684. b(a2, d2);
  3685. d2 = d2.sibling;
  3686. }
  3687. d2 = zh(f3, a2.mode, h2);
  3688. d2.return = a2;
  3689. a2 = d2;
  3690. }
  3691. return g(a2);
  3692. case Ha:
  3693. return l3 = f3._init, J2(a2, d2, l3(f3._payload), h2);
  3694. }
  3695. if (eb(f3))
  3696. return n2(a2, d2, f3, h2);
  3697. if (Ka(f3))
  3698. return t2(a2, d2, f3, h2);
  3699. th(a2, f3);
  3700. }
  3701. return "string" === typeof f3 && "" !== f3 || "number" === typeof f3 ? (f3 = "" + f3, null !== d2 && 6 === d2.tag ? (c(a2, d2.sibling), d2 = e(d2, f3), d2.return = a2, a2 = d2) : (c(a2, d2), d2 = xh(f3, a2.mode, h2), d2.return = a2, a2 = d2), g(a2)) : c(a2, d2);
  3702. }
  3703. return J2;
  3704. }
  3705. var Bh = vh(true), Ch = vh(false), Dh = {}, Eh = Uf(Dh), Fh = Uf(Dh), Gh = Uf(Dh);
  3706. function Hh(a) {
  3707. if (a === Dh)
  3708. throw Error(p(174));
  3709. return a;
  3710. }
  3711. function Ih(a, b) {
  3712. G(Gh, b);
  3713. G(Fh, a);
  3714. G(Eh, Dh);
  3715. a = b.nodeType;
  3716. switch (a) {
  3717. case 9:
  3718. case 11:
  3719. b = (b = b.documentElement) ? b.namespaceURI : lb(null, "");
  3720. break;
  3721. default:
  3722. a = 8 === a ? b.parentNode : b, b = a.namespaceURI || null, a = a.tagName, b = lb(b, a);
  3723. }
  3724. E(Eh);
  3725. G(Eh, b);
  3726. }
  3727. function Jh() {
  3728. E(Eh);
  3729. E(Fh);
  3730. E(Gh);
  3731. }
  3732. function Kh(a) {
  3733. Hh(Gh.current);
  3734. var b = Hh(Eh.current);
  3735. var c = lb(b, a.type);
  3736. b !== c && (G(Fh, a), G(Eh, c));
  3737. }
  3738. function Lh(a) {
  3739. Fh.current === a && (E(Eh), E(Fh));
  3740. }
  3741. var M = Uf(0);
  3742. function Mh(a) {
  3743. for (var b = a; null !== b; ) {
  3744. if (13 === b.tag) {
  3745. var c = b.memoizedState;
  3746. if (null !== c && (c = c.dehydrated, null === c || "$?" === c.data || "$!" === c.data))
  3747. return b;
  3748. } else if (19 === b.tag && void 0 !== b.memoizedProps.revealOrder) {
  3749. if (0 !== (b.flags & 128))
  3750. return b;
  3751. } else if (null !== b.child) {
  3752. b.child.return = b;
  3753. b = b.child;
  3754. continue;
  3755. }
  3756. if (b === a)
  3757. break;
  3758. for (; null === b.sibling; ) {
  3759. if (null === b.return || b.return === a)
  3760. return null;
  3761. b = b.return;
  3762. }
  3763. b.sibling.return = b.return;
  3764. b = b.sibling;
  3765. }
  3766. return null;
  3767. }
  3768. var Nh = [];
  3769. function Oh() {
  3770. for (var a = 0; a < Nh.length; a++)
  3771. Nh[a]._workInProgressVersionPrimary = null;
  3772. Nh.length = 0;
  3773. }
  3774. var Ph = ua.ReactCurrentDispatcher, Qh = ua.ReactCurrentBatchConfig, Rh = 0, N = null, O = null, P = null, Sh = false, Th = false, Uh = 0, Vh = 0;
  3775. function Q() {
  3776. throw Error(p(321));
  3777. }
  3778. function Wh(a, b) {
  3779. if (null === b)
  3780. return false;
  3781. for (var c = 0; c < b.length && c < a.length; c++)
  3782. if (!He(a[c], b[c]))
  3783. return false;
  3784. return true;
  3785. }
  3786. function Xh(a, b, c, d, e, f2) {
  3787. Rh = f2;
  3788. N = b;
  3789. b.memoizedState = null;
  3790. b.updateQueue = null;
  3791. b.lanes = 0;
  3792. Ph.current = null === a || null === a.memoizedState ? Yh : Zh;
  3793. a = c(d, e);
  3794. if (Th) {
  3795. f2 = 0;
  3796. do {
  3797. Th = false;
  3798. Uh = 0;
  3799. if (25 <= f2)
  3800. throw Error(p(301));
  3801. f2 += 1;
  3802. P = O = null;
  3803. b.updateQueue = null;
  3804. Ph.current = $h;
  3805. a = c(d, e);
  3806. } while (Th);
  3807. }
  3808. Ph.current = ai;
  3809. b = null !== O && null !== O.next;
  3810. Rh = 0;
  3811. P = O = N = null;
  3812. Sh = false;
  3813. if (b)
  3814. throw Error(p(300));
  3815. return a;
  3816. }
  3817. function bi() {
  3818. var a = 0 !== Uh;
  3819. Uh = 0;
  3820. return a;
  3821. }
  3822. function ci() {
  3823. var a = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null };
  3824. null === P ? N.memoizedState = P = a : P = P.next = a;
  3825. return P;
  3826. }
  3827. function di() {
  3828. if (null === O) {
  3829. var a = N.alternate;
  3830. a = null !== a ? a.memoizedState : null;
  3831. } else
  3832. a = O.next;
  3833. var b = null === P ? N.memoizedState : P.next;
  3834. if (null !== b)
  3835. P = b, O = a;
  3836. else {
  3837. if (null === a)
  3838. throw Error(p(310));
  3839. O = a;
  3840. a = { memoizedState: O.memoizedState, baseState: O.baseState, baseQueue: O.baseQueue, queue: O.queue, next: null };
  3841. null === P ? N.memoizedState = P = a : P = P.next = a;
  3842. }
  3843. return P;
  3844. }
  3845. function ei(a, b) {
  3846. return "function" === typeof b ? b(a) : b;
  3847. }
  3848. function fi(a) {
  3849. var b = di(), c = b.queue;
  3850. if (null === c)
  3851. throw Error(p(311));
  3852. c.lastRenderedReducer = a;
  3853. var d = O, e = d.baseQueue, f2 = c.pending;
  3854. if (null !== f2) {
  3855. if (null !== e) {
  3856. var g = e.next;
  3857. e.next = f2.next;
  3858. f2.next = g;
  3859. }
  3860. d.baseQueue = e = f2;
  3861. c.pending = null;
  3862. }
  3863. if (null !== e) {
  3864. f2 = e.next;
  3865. d = d.baseState;
  3866. var h = g = null, k2 = null, l2 = f2;
  3867. do {
  3868. var m2 = l2.lane;
  3869. if ((Rh & m2) === m2)
  3870. null !== k2 && (k2 = k2.next = { lane: 0, action: l2.action, hasEagerState: l2.hasEagerState, eagerState: l2.eagerState, next: null }), d = l2.hasEagerState ? l2.eagerState : a(d, l2.action);
  3871. else {
  3872. var q2 = {
  3873. lane: m2,
  3874. action: l2.action,
  3875. hasEagerState: l2.hasEagerState,
  3876. eagerState: l2.eagerState,
  3877. next: null
  3878. };
  3879. null === k2 ? (h = k2 = q2, g = d) : k2 = k2.next = q2;
  3880. N.lanes |= m2;
  3881. hh |= m2;
  3882. }
  3883. l2 = l2.next;
  3884. } while (null !== l2 && l2 !== f2);
  3885. null === k2 ? g = d : k2.next = h;
  3886. He(d, b.memoizedState) || (Ug = true);
  3887. b.memoizedState = d;
  3888. b.baseState = g;
  3889. b.baseQueue = k2;
  3890. c.lastRenderedState = d;
  3891. }
  3892. a = c.interleaved;
  3893. if (null !== a) {
  3894. e = a;
  3895. do
  3896. f2 = e.lane, N.lanes |= f2, hh |= f2, e = e.next;
  3897. while (e !== a);
  3898. } else
  3899. null === e && (c.lanes = 0);
  3900. return [b.memoizedState, c.dispatch];
  3901. }
  3902. function gi(a) {
  3903. var b = di(), c = b.queue;
  3904. if (null === c)
  3905. throw Error(p(311));
  3906. c.lastRenderedReducer = a;
  3907. var d = c.dispatch, e = c.pending, f2 = b.memoizedState;
  3908. if (null !== e) {
  3909. c.pending = null;
  3910. var g = e = e.next;
  3911. do
  3912. f2 = a(f2, g.action), g = g.next;
  3913. while (g !== e);
  3914. He(f2, b.memoizedState) || (Ug = true);
  3915. b.memoizedState = f2;
  3916. null === b.baseQueue && (b.baseState = f2);
  3917. c.lastRenderedState = f2;
  3918. }
  3919. return [f2, d];
  3920. }
  3921. function hi() {
  3922. }
  3923. function ii(a, b) {
  3924. var c = N, d = di(), e = b(), f2 = !He(d.memoizedState, e);
  3925. f2 && (d.memoizedState = e, Ug = true);
  3926. d = d.queue;
  3927. ji(ki.bind(null, c, d, a), [a]);
  3928. if (d.getSnapshot !== b || f2 || null !== P && P.memoizedState.tag & 1) {
  3929. c.flags |= 2048;
  3930. li(9, mi.bind(null, c, d, e, b), void 0, null);
  3931. if (null === R)
  3932. throw Error(p(349));
  3933. 0 !== (Rh & 30) || ni(c, b, e);
  3934. }
  3935. return e;
  3936. }
  3937. function ni(a, b, c) {
  3938. a.flags |= 16384;
  3939. a = { getSnapshot: b, value: c };
  3940. b = N.updateQueue;
  3941. null === b ? (b = { lastEffect: null, stores: null }, N.updateQueue = b, b.stores = [a]) : (c = b.stores, null === c ? b.stores = [a] : c.push(a));
  3942. }
  3943. function mi(a, b, c, d) {
  3944. b.value = c;
  3945. b.getSnapshot = d;
  3946. oi(b) && pi(a);
  3947. }
  3948. function ki(a, b, c) {
  3949. return c(function() {
  3950. oi(b) && pi(a);
  3951. });
  3952. }
  3953. function oi(a) {
  3954. var b = a.getSnapshot;
  3955. a = a.value;
  3956. try {
  3957. var c = b();
  3958. return !He(a, c);
  3959. } catch (d) {
  3960. return true;
  3961. }
  3962. }
  3963. function pi(a) {
  3964. var b = Zg(a, 1);
  3965. null !== b && mh(b, a, 1, -1);
  3966. }
  3967. function qi(a) {
  3968. var b = ci();
  3969. "function" === typeof a && (a = a());
  3970. b.memoizedState = b.baseState = a;
  3971. a = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: ei, lastRenderedState: a };
  3972. b.queue = a;
  3973. a = a.dispatch = ri.bind(null, N, a);
  3974. return [b.memoizedState, a];
  3975. }
  3976. function li(a, b, c, d) {
  3977. a = { tag: a, create: b, destroy: c, deps: d, next: null };
  3978. b = N.updateQueue;
  3979. null === b ? (b = { lastEffect: null, stores: null }, N.updateQueue = b, b.lastEffect = a.next = a) : (c = b.lastEffect, null === c ? b.lastEffect = a.next = a : (d = c.next, c.next = a, a.next = d, b.lastEffect = a));
  3980. return a;
  3981. }
  3982. function si() {
  3983. return di().memoizedState;
  3984. }
  3985. function ti(a, b, c, d) {
  3986. var e = ci();
  3987. N.flags |= a;
  3988. e.memoizedState = li(1 | b, c, void 0, void 0 === d ? null : d);
  3989. }
  3990. function ui(a, b, c, d) {
  3991. var e = di();
  3992. d = void 0 === d ? null : d;
  3993. var f2 = void 0;
  3994. if (null !== O) {
  3995. var g = O.memoizedState;
  3996. f2 = g.destroy;
  3997. if (null !== d && Wh(d, g.deps)) {
  3998. e.memoizedState = li(b, c, f2, d);
  3999. return;
  4000. }
  4001. }
  4002. N.flags |= a;
  4003. e.memoizedState = li(1 | b, c, f2, d);
  4004. }
  4005. function vi(a, b) {
  4006. return ti(8390656, 8, a, b);
  4007. }
  4008. function ji(a, b) {
  4009. return ui(2048, 8, a, b);
  4010. }
  4011. function wi(a, b) {
  4012. return ui(4, 2, a, b);
  4013. }
  4014. function xi(a, b) {
  4015. return ui(4, 4, a, b);
  4016. }
  4017. function yi(a, b) {
  4018. if ("function" === typeof b)
  4019. return a = a(), b(a), function() {
  4020. b(null);
  4021. };
  4022. if (null !== b && void 0 !== b)
  4023. return a = a(), b.current = a, function() {
  4024. b.current = null;
  4025. };
  4026. }
  4027. function zi(a, b, c) {
  4028. c = null !== c && void 0 !== c ? c.concat([a]) : null;
  4029. return ui(4, 4, yi.bind(null, b, a), c);
  4030. }
  4031. function Ai() {
  4032. }
  4033. function Bi(a, b) {
  4034. var c = di();
  4035. b = void 0 === b ? null : b;
  4036. var d = c.memoizedState;
  4037. if (null !== d && null !== b && Wh(b, d[1]))
  4038. return d[0];
  4039. c.memoizedState = [a, b];
  4040. return a;
  4041. }
  4042. function Ci(a, b) {
  4043. var c = di();
  4044. b = void 0 === b ? null : b;
  4045. var d = c.memoizedState;
  4046. if (null !== d && null !== b && Wh(b, d[1]))
  4047. return d[0];
  4048. a = a();
  4049. c.memoizedState = [a, b];
  4050. return a;
  4051. }
  4052. function Di(a, b, c) {
  4053. if (0 === (Rh & 21))
  4054. return a.baseState && (a.baseState = false, Ug = true), a.memoizedState = c;
  4055. He(c, b) || (c = yc(), N.lanes |= c, hh |= c, a.baseState = true);
  4056. return b;
  4057. }
  4058. function Ei(a, b) {
  4059. var c = C;
  4060. C = 0 !== c && 4 > c ? c : 4;
  4061. a(true);
  4062. var d = Qh.transition;
  4063. Qh.transition = {};
  4064. try {
  4065. a(false), b();
  4066. } finally {
  4067. C = c, Qh.transition = d;
  4068. }
  4069. }
  4070. function Fi() {
  4071. return di().memoizedState;
  4072. }
  4073. function Gi(a, b, c) {
  4074. var d = lh(a);
  4075. c = { lane: d, action: c, hasEagerState: false, eagerState: null, next: null };
  4076. if (Hi(a))
  4077. Ii(b, c);
  4078. else if (c = Yg(a, b, c, d), null !== c) {
  4079. var e = L();
  4080. mh(c, a, d, e);
  4081. Ji(c, b, d);
  4082. }
  4083. }
  4084. function ri(a, b, c) {
  4085. var d = lh(a), e = { lane: d, action: c, hasEagerState: false, eagerState: null, next: null };
  4086. if (Hi(a))
  4087. Ii(b, e);
  4088. else {
  4089. var f2 = a.alternate;
  4090. if (0 === a.lanes && (null === f2 || 0 === f2.lanes) && (f2 = b.lastRenderedReducer, null !== f2))
  4091. try {
  4092. var g = b.lastRenderedState, h = f2(g, c);
  4093. e.hasEagerState = true;
  4094. e.eagerState = h;
  4095. if (He(h, g)) {
  4096. var k2 = b.interleaved;
  4097. null === k2 ? (e.next = e, Xg(b)) : (e.next = k2.next, k2.next = e);
  4098. b.interleaved = e;
  4099. return;
  4100. }
  4101. } catch (l2) {
  4102. } finally {
  4103. }
  4104. c = Yg(a, b, e, d);
  4105. null !== c && (e = L(), mh(c, a, d, e), Ji(c, b, d));
  4106. }
  4107. }
  4108. function Hi(a) {
  4109. var b = a.alternate;
  4110. return a === N || null !== b && b === N;
  4111. }
  4112. function Ii(a, b) {
  4113. Th = Sh = true;
  4114. var c = a.pending;
  4115. null === c ? b.next = b : (b.next = c.next, c.next = b);
  4116. a.pending = b;
  4117. }
  4118. function Ji(a, b, c) {
  4119. if (0 !== (c & 4194240)) {
  4120. var d = b.lanes;
  4121. d &= a.pendingLanes;
  4122. c |= d;
  4123. b.lanes = c;
  4124. Cc(a, c);
  4125. }
  4126. }
  4127. var ai = { readContext: Vg, useCallback: Q, useContext: Q, useEffect: Q, useImperativeHandle: Q, useInsertionEffect: Q, useLayoutEffect: Q, useMemo: Q, useReducer: Q, useRef: Q, useState: Q, useDebugValue: Q, useDeferredValue: Q, useTransition: Q, useMutableSource: Q, useSyncExternalStore: Q, useId: Q, unstable_isNewReconciler: false }, Yh = { readContext: Vg, useCallback: function(a, b) {
  4128. ci().memoizedState = [a, void 0 === b ? null : b];
  4129. return a;
  4130. }, useContext: Vg, useEffect: vi, useImperativeHandle: function(a, b, c) {
  4131. c = null !== c && void 0 !== c ? c.concat([a]) : null;
  4132. return ti(
  4133. 4194308,
  4134. 4,
  4135. yi.bind(null, b, a),
  4136. c
  4137. );
  4138. }, useLayoutEffect: function(a, b) {
  4139. return ti(4194308, 4, a, b);
  4140. }, useInsertionEffect: function(a, b) {
  4141. return ti(4, 2, a, b);
  4142. }, useMemo: function(a, b) {
  4143. var c = ci();
  4144. b = void 0 === b ? null : b;
  4145. a = a();
  4146. c.memoizedState = [a, b];
  4147. return a;
  4148. }, useReducer: function(a, b, c) {
  4149. var d = ci();
  4150. b = void 0 !== c ? c(b) : b;
  4151. d.memoizedState = d.baseState = b;
  4152. a = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: a, lastRenderedState: b };
  4153. d.queue = a;
  4154. a = a.dispatch = Gi.bind(null, N, a);
  4155. return [d.memoizedState, a];
  4156. }, useRef: function(a) {
  4157. var b = ci();
  4158. a = { current: a };
  4159. return b.memoizedState = a;
  4160. }, useState: qi, useDebugValue: Ai, useDeferredValue: function(a) {
  4161. return ci().memoizedState = a;
  4162. }, useTransition: function() {
  4163. var a = qi(false), b = a[0];
  4164. a = Ei.bind(null, a[1]);
  4165. ci().memoizedState = a;
  4166. return [b, a];
  4167. }, useMutableSource: function() {
  4168. }, useSyncExternalStore: function(a, b, c) {
  4169. var d = N, e = ci();
  4170. if (I) {
  4171. if (void 0 === c)
  4172. throw Error(p(407));
  4173. c = c();
  4174. } else {
  4175. c = b();
  4176. if (null === R)
  4177. throw Error(p(349));
  4178. 0 !== (Rh & 30) || ni(d, b, c);
  4179. }
  4180. e.memoizedState = c;
  4181. var f2 = { value: c, getSnapshot: b };
  4182. e.queue = f2;
  4183. vi(ki.bind(
  4184. null,
  4185. d,
  4186. f2,
  4187. a
  4188. ), [a]);
  4189. d.flags |= 2048;
  4190. li(9, mi.bind(null, d, f2, c, b), void 0, null);
  4191. return c;
  4192. }, useId: function() {
  4193. var a = ci(), b = R.identifierPrefix;
  4194. if (I) {
  4195. var c = sg;
  4196. var d = rg;
  4197. c = (d & ~(1 << 32 - oc(d) - 1)).toString(32) + c;
  4198. b = ":" + b + "R" + c;
  4199. c = Uh++;
  4200. 0 < c && (b += "H" + c.toString(32));
  4201. b += ":";
  4202. } else
  4203. c = Vh++, b = ":" + b + "r" + c.toString(32) + ":";
  4204. return a.memoizedState = b;
  4205. }, unstable_isNewReconciler: false }, Zh = {
  4206. readContext: Vg,
  4207. useCallback: Bi,
  4208. useContext: Vg,
  4209. useEffect: ji,
  4210. useImperativeHandle: zi,
  4211. useInsertionEffect: wi,
  4212. useLayoutEffect: xi,
  4213. useMemo: Ci,
  4214. useReducer: fi,
  4215. useRef: si,
  4216. useState: function() {
  4217. return fi(ei);
  4218. },
  4219. useDebugValue: Ai,
  4220. useDeferredValue: function(a) {
  4221. var b = di();
  4222. return Di(b, O.memoizedState, a);
  4223. },
  4224. useTransition: function() {
  4225. var a = fi(ei)[0], b = di().memoizedState;
  4226. return [a, b];
  4227. },
  4228. useMutableSource: hi,
  4229. useSyncExternalStore: ii,
  4230. useId: Fi,
  4231. unstable_isNewReconciler: false
  4232. }, $h = { readContext: Vg, useCallback: Bi, useContext: Vg, useEffect: ji, useImperativeHandle: zi, useInsertionEffect: wi, useLayoutEffect: xi, useMemo: Ci, useReducer: gi, useRef: si, useState: function() {
  4233. return gi(ei);
  4234. }, useDebugValue: Ai, useDeferredValue: function(a) {
  4235. var b = di();
  4236. return null === O ? b.memoizedState = a : Di(b, O.memoizedState, a);
  4237. }, useTransition: function() {
  4238. var a = gi(ei)[0], b = di().memoizedState;
  4239. return [a, b];
  4240. }, useMutableSource: hi, useSyncExternalStore: ii, useId: Fi, unstable_isNewReconciler: false };
  4241. function Ki(a, b) {
  4242. try {
  4243. var c = "", d = b;
  4244. do
  4245. c += Pa(d), d = d.return;
  4246. while (d);
  4247. var e = c;
  4248. } catch (f2) {
  4249. e = "\nError generating stack: " + f2.message + "\n" + f2.stack;
  4250. }
  4251. return { value: a, source: b, stack: e, digest: null };
  4252. }
  4253. function Li(a, b, c) {
  4254. return { value: a, source: null, stack: null != c ? c : null, digest: null != b ? b : null };
  4255. }
  4256. function Mi(a, b) {
  4257. try {
  4258. console.error(b.value);
  4259. } catch (c) {
  4260. setTimeout(function() {
  4261. throw c;
  4262. });
  4263. }
  4264. }
  4265. var Ni = "function" === typeof WeakMap ? WeakMap : Map;
  4266. function Oi(a, b, c) {
  4267. c = ch(-1, c);
  4268. c.tag = 3;
  4269. c.payload = { element: null };
  4270. var d = b.value;
  4271. c.callback = function() {
  4272. Pi || (Pi = true, Qi = d);
  4273. Mi(a, b);
  4274. };
  4275. return c;
  4276. }
  4277. function Ri(a, b, c) {
  4278. c = ch(-1, c);
  4279. c.tag = 3;
  4280. var d = a.type.getDerivedStateFromError;
  4281. if ("function" === typeof d) {
  4282. var e = b.value;
  4283. c.payload = function() {
  4284. return d(e);
  4285. };
  4286. c.callback = function() {
  4287. Mi(a, b);
  4288. };
  4289. }
  4290. var f2 = a.stateNode;
  4291. null !== f2 && "function" === typeof f2.componentDidCatch && (c.callback = function() {
  4292. Mi(a, b);
  4293. "function" !== typeof d && (null === Si ? Si = /* @__PURE__ */ new Set([this]) : Si.add(this));
  4294. var c2 = b.stack;
  4295. this.componentDidCatch(b.value, { componentStack: null !== c2 ? c2 : "" });
  4296. });
  4297. return c;
  4298. }
  4299. function Ti(a, b, c) {
  4300. var d = a.pingCache;
  4301. if (null === d) {
  4302. d = a.pingCache = new Ni();
  4303. var e = /* @__PURE__ */ new Set();
  4304. d.set(b, e);
  4305. } else
  4306. e = d.get(b), void 0 === e && (e = /* @__PURE__ */ new Set(), d.set(b, e));
  4307. e.has(c) || (e.add(c), a = Ui.bind(null, a, b, c), b.then(a, a));
  4308. }
  4309. function Vi(a) {
  4310. do {
  4311. var b;
  4312. if (b = 13 === a.tag)
  4313. b = a.memoizedState, b = null !== b ? null !== b.dehydrated ? true : false : true;
  4314. if (b)
  4315. return a;
  4316. a = a.return;
  4317. } while (null !== a);
  4318. return null;
  4319. }
  4320. function Wi(a, b, c, d, e) {
  4321. if (0 === (a.mode & 1))
  4322. return a === b ? a.flags |= 65536 : (a.flags |= 128, c.flags |= 131072, c.flags &= -52805, 1 === c.tag && (null === c.alternate ? c.tag = 17 : (b = ch(-1, 1), b.tag = 2, dh(c, b, 1))), c.lanes |= 1), a;
  4323. a.flags |= 65536;
  4324. a.lanes = e;
  4325. return a;
  4326. }
  4327. var Xi = ua.ReactCurrentOwner, Ug = false;
  4328. function Yi(a, b, c, d) {
  4329. b.child = null === a ? Ch(b, null, c, d) : Bh(b, a.child, c, d);
  4330. }
  4331. function Zi(a, b, c, d, e) {
  4332. c = c.render;
  4333. var f2 = b.ref;
  4334. Tg(b, e);
  4335. d = Xh(a, b, c, d, f2, e);
  4336. c = bi();
  4337. if (null !== a && !Ug)
  4338. return b.updateQueue = a.updateQueue, b.flags &= -2053, a.lanes &= ~e, $i(a, b, e);
  4339. I && c && vg(b);
  4340. b.flags |= 1;
  4341. Yi(a, b, d, e);
  4342. return b.child;
  4343. }
  4344. function aj(a, b, c, d, e) {
  4345. if (null === a) {
  4346. var f2 = c.type;
  4347. if ("function" === typeof f2 && !bj(f2) && void 0 === f2.defaultProps && null === c.compare && void 0 === c.defaultProps)
  4348. return b.tag = 15, b.type = f2, cj(a, b, f2, d, e);
  4349. a = yh(c.type, null, d, b, b.mode, e);
  4350. a.ref = b.ref;
  4351. a.return = b;
  4352. return b.child = a;
  4353. }
  4354. f2 = a.child;
  4355. if (0 === (a.lanes & e)) {
  4356. var g = f2.memoizedProps;
  4357. c = c.compare;
  4358. c = null !== c ? c : Ie;
  4359. if (c(g, d) && a.ref === b.ref)
  4360. return $i(a, b, e);
  4361. }
  4362. b.flags |= 1;
  4363. a = wh(f2, d);
  4364. a.ref = b.ref;
  4365. a.return = b;
  4366. return b.child = a;
  4367. }
  4368. function cj(a, b, c, d, e) {
  4369. if (null !== a) {
  4370. var f2 = a.memoizedProps;
  4371. if (Ie(f2, d) && a.ref === b.ref)
  4372. if (Ug = false, b.pendingProps = d = f2, 0 !== (a.lanes & e))
  4373. 0 !== (a.flags & 131072) && (Ug = true);
  4374. else
  4375. return b.lanes = a.lanes, $i(a, b, e);
  4376. }
  4377. return dj(a, b, c, d, e);
  4378. }
  4379. function ej(a, b, c) {
  4380. var d = b.pendingProps, e = d.children, f2 = null !== a ? a.memoizedState : null;
  4381. if ("hidden" === d.mode)
  4382. if (0 === (b.mode & 1))
  4383. b.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, G(fj, gj), gj |= c;
  4384. else {
  4385. if (0 === (c & 1073741824))
  4386. return a = null !== f2 ? f2.baseLanes | c : c, b.lanes = b.childLanes = 1073741824, b.memoizedState = { baseLanes: a, cachePool: null, transitions: null }, b.updateQueue = null, G(fj, gj), gj |= a, null;
  4387. b.memoizedState = { baseLanes: 0, cachePool: null, transitions: null };
  4388. d = null !== f2 ? f2.baseLanes : c;
  4389. G(fj, gj);
  4390. gj |= d;
  4391. }
  4392. else
  4393. null !== f2 ? (d = f2.baseLanes | c, b.memoizedState = null) : d = c, G(fj, gj), gj |= d;
  4394. Yi(a, b, e, c);
  4395. return b.child;
  4396. }
  4397. function hj(a, b) {
  4398. var c = b.ref;
  4399. if (null === a && null !== c || null !== a && a.ref !== c)
  4400. b.flags |= 512, b.flags |= 2097152;
  4401. }
  4402. function dj(a, b, c, d, e) {
  4403. var f2 = Zf(c) ? Xf : H.current;
  4404. f2 = Yf(b, f2);
  4405. Tg(b, e);
  4406. c = Xh(a, b, c, d, f2, e);
  4407. d = bi();
  4408. if (null !== a && !Ug)
  4409. return b.updateQueue = a.updateQueue, b.flags &= -2053, a.lanes &= ~e, $i(a, b, e);
  4410. I && d && vg(b);
  4411. b.flags |= 1;
  4412. Yi(a, b, c, e);
  4413. return b.child;
  4414. }
  4415. function ij(a, b, c, d, e) {
  4416. if (Zf(c)) {
  4417. var f2 = true;
  4418. cg(b);
  4419. } else
  4420. f2 = false;
  4421. Tg(b, e);
  4422. if (null === b.stateNode)
  4423. jj(a, b), ph(b, c, d), rh(b, c, d, e), d = true;
  4424. else if (null === a) {
  4425. var g = b.stateNode, h = b.memoizedProps;
  4426. g.props = h;
  4427. var k2 = g.context, l2 = c.contextType;
  4428. "object" === typeof l2 && null !== l2 ? l2 = Vg(l2) : (l2 = Zf(c) ? Xf : H.current, l2 = Yf(b, l2));
  4429. var m2 = c.getDerivedStateFromProps, q2 = "function" === typeof m2 || "function" === typeof g.getSnapshotBeforeUpdate;
  4430. q2 || "function" !== typeof g.UNSAFE_componentWillReceiveProps && "function" !== typeof g.componentWillReceiveProps || (h !== d || k2 !== l2) && qh(b, g, d, l2);
  4431. $g = false;
  4432. var r2 = b.memoizedState;
  4433. g.state = r2;
  4434. gh(b, d, g, e);
  4435. k2 = b.memoizedState;
  4436. h !== d || r2 !== k2 || Wf.current || $g ? ("function" === typeof m2 && (kh(b, c, m2, d), k2 = b.memoizedState), (h = $g || oh(b, c, h, d, r2, k2, l2)) ? (q2 || "function" !== typeof g.UNSAFE_componentWillMount && "function" !== typeof g.componentWillMount || ("function" === typeof g.componentWillMount && g.componentWillMount(), "function" === typeof g.UNSAFE_componentWillMount && g.UNSAFE_componentWillMount()), "function" === typeof g.componentDidMount && (b.flags |= 4194308)) : ("function" === typeof g.componentDidMount && (b.flags |= 4194308), b.memoizedProps = d, b.memoizedState = k2), g.props = d, g.state = k2, g.context = l2, d = h) : ("function" === typeof g.componentDidMount && (b.flags |= 4194308), d = false);
  4437. } else {
  4438. g = b.stateNode;
  4439. bh(a, b);
  4440. h = b.memoizedProps;
  4441. l2 = b.type === b.elementType ? h : Lg(b.type, h);
  4442. g.props = l2;
  4443. q2 = b.pendingProps;
  4444. r2 = g.context;
  4445. k2 = c.contextType;
  4446. "object" === typeof k2 && null !== k2 ? k2 = Vg(k2) : (k2 = Zf(c) ? Xf : H.current, k2 = Yf(b, k2));
  4447. var y2 = c.getDerivedStateFromProps;
  4448. (m2 = "function" === typeof y2 || "function" === typeof g.getSnapshotBeforeUpdate) || "function" !== typeof g.UNSAFE_componentWillReceiveProps && "function" !== typeof g.componentWillReceiveProps || (h !== q2 || r2 !== k2) && qh(b, g, d, k2);
  4449. $g = false;
  4450. r2 = b.memoizedState;
  4451. g.state = r2;
  4452. gh(b, d, g, e);
  4453. var n2 = b.memoizedState;
  4454. h !== q2 || r2 !== n2 || Wf.current || $g ? ("function" === typeof y2 && (kh(b, c, y2, d), n2 = b.memoizedState), (l2 = $g || oh(b, c, l2, d, r2, n2, k2) || false) ? (m2 || "function" !== typeof g.UNSAFE_componentWillUpdate && "function" !== typeof g.componentWillUpdate || ("function" === typeof g.componentWillUpdate && g.componentWillUpdate(d, n2, k2), "function" === typeof g.UNSAFE_componentWillUpdate && g.UNSAFE_componentWillUpdate(d, n2, k2)), "function" === typeof g.componentDidUpdate && (b.flags |= 4), "function" === typeof g.getSnapshotBeforeUpdate && (b.flags |= 1024)) : ("function" !== typeof g.componentDidUpdate || h === a.memoizedProps && r2 === a.memoizedState || (b.flags |= 4), "function" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && r2 === a.memoizedState || (b.flags |= 1024), b.memoizedProps = d, b.memoizedState = n2), g.props = d, g.state = n2, g.context = k2, d = l2) : ("function" !== typeof g.componentDidUpdate || h === a.memoizedProps && r2 === a.memoizedState || (b.flags |= 4), "function" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && r2 === a.memoizedState || (b.flags |= 1024), d = false);
  4455. }
  4456. return kj(a, b, c, d, f2, e);
  4457. }
  4458. function kj(a, b, c, d, e, f2) {
  4459. hj(a, b);
  4460. var g = 0 !== (b.flags & 128);
  4461. if (!d && !g)
  4462. return e && dg(b, c, false), $i(a, b, f2);
  4463. d = b.stateNode;
  4464. Xi.current = b;
  4465. var h = g && "function" !== typeof c.getDerivedStateFromError ? null : d.render();
  4466. b.flags |= 1;
  4467. null !== a && g ? (b.child = Bh(b, a.child, null, f2), b.child = Bh(b, null, h, f2)) : Yi(a, b, h, f2);
  4468. b.memoizedState = d.state;
  4469. e && dg(b, c, true);
  4470. return b.child;
  4471. }
  4472. function lj(a) {
  4473. var b = a.stateNode;
  4474. b.pendingContext ? ag(a, b.pendingContext, b.pendingContext !== b.context) : b.context && ag(a, b.context, false);
  4475. Ih(a, b.containerInfo);
  4476. }
  4477. function mj(a, b, c, d, e) {
  4478. Ig();
  4479. Jg(e);
  4480. b.flags |= 256;
  4481. Yi(a, b, c, d);
  4482. return b.child;
  4483. }
  4484. var nj = { dehydrated: null, treeContext: null, retryLane: 0 };
  4485. function oj(a) {
  4486. return { baseLanes: a, cachePool: null, transitions: null };
  4487. }
  4488. function pj(a, b, c) {
  4489. var d = b.pendingProps, e = M.current, f2 = false, g = 0 !== (b.flags & 128), h;
  4490. (h = g) || (h = null !== a && null === a.memoizedState ? false : 0 !== (e & 2));
  4491. if (h)
  4492. f2 = true, b.flags &= -129;
  4493. else if (null === a || null !== a.memoizedState)
  4494. e |= 1;
  4495. G(M, e & 1);
  4496. if (null === a) {
  4497. Eg(b);
  4498. a = b.memoizedState;
  4499. if (null !== a && (a = a.dehydrated, null !== a))
  4500. return 0 === (b.mode & 1) ? b.lanes = 1 : "$!" === a.data ? b.lanes = 8 : b.lanes = 1073741824, null;
  4501. g = d.children;
  4502. a = d.fallback;
  4503. return f2 ? (d = b.mode, f2 = b.child, g = { mode: "hidden", children: g }, 0 === (d & 1) && null !== f2 ? (f2.childLanes = 0, f2.pendingProps = g) : f2 = qj(g, d, 0, null), a = Ah(a, d, c, null), f2.return = b, a.return = b, f2.sibling = a, b.child = f2, b.child.memoizedState = oj(c), b.memoizedState = nj, a) : rj(b, g);
  4504. }
  4505. e = a.memoizedState;
  4506. if (null !== e && (h = e.dehydrated, null !== h))
  4507. return sj(a, b, g, d, h, e, c);
  4508. if (f2) {
  4509. f2 = d.fallback;
  4510. g = b.mode;
  4511. e = a.child;
  4512. h = e.sibling;
  4513. var k2 = { mode: "hidden", children: d.children };
  4514. 0 === (g & 1) && b.child !== e ? (d = b.child, d.childLanes = 0, d.pendingProps = k2, b.deletions = null) : (d = wh(e, k2), d.subtreeFlags = e.subtreeFlags & 14680064);
  4515. null !== h ? f2 = wh(h, f2) : (f2 = Ah(f2, g, c, null), f2.flags |= 2);
  4516. f2.return = b;
  4517. d.return = b;
  4518. d.sibling = f2;
  4519. b.child = d;
  4520. d = f2;
  4521. f2 = b.child;
  4522. g = a.child.memoizedState;
  4523. g = null === g ? oj(c) : { baseLanes: g.baseLanes | c, cachePool: null, transitions: g.transitions };
  4524. f2.memoizedState = g;
  4525. f2.childLanes = a.childLanes & ~c;
  4526. b.memoizedState = nj;
  4527. return d;
  4528. }
  4529. f2 = a.child;
  4530. a = f2.sibling;
  4531. d = wh(f2, { mode: "visible", children: d.children });
  4532. 0 === (b.mode & 1) && (d.lanes = c);
  4533. d.return = b;
  4534. d.sibling = null;
  4535. null !== a && (c = b.deletions, null === c ? (b.deletions = [a], b.flags |= 16) : c.push(a));
  4536. b.child = d;
  4537. b.memoizedState = null;
  4538. return d;
  4539. }
  4540. function rj(a, b) {
  4541. b = qj({ mode: "visible", children: b }, a.mode, 0, null);
  4542. b.return = a;
  4543. return a.child = b;
  4544. }
  4545. function tj(a, b, c, d) {
  4546. null !== d && Jg(d);
  4547. Bh(b, a.child, null, c);
  4548. a = rj(b, b.pendingProps.children);
  4549. a.flags |= 2;
  4550. b.memoizedState = null;
  4551. return a;
  4552. }
  4553. function sj(a, b, c, d, e, f2, g) {
  4554. if (c) {
  4555. if (b.flags & 256)
  4556. return b.flags &= -257, d = Li(Error(p(422))), tj(a, b, g, d);
  4557. if (null !== b.memoizedState)
  4558. return b.child = a.child, b.flags |= 128, null;
  4559. f2 = d.fallback;
  4560. e = b.mode;
  4561. d = qj({ mode: "visible", children: d.children }, e, 0, null);
  4562. f2 = Ah(f2, e, g, null);
  4563. f2.flags |= 2;
  4564. d.return = b;
  4565. f2.return = b;
  4566. d.sibling = f2;
  4567. b.child = d;
  4568. 0 !== (b.mode & 1) && Bh(b, a.child, null, g);
  4569. b.child.memoizedState = oj(g);
  4570. b.memoizedState = nj;
  4571. return f2;
  4572. }
  4573. if (0 === (b.mode & 1))
  4574. return tj(a, b, g, null);
  4575. if ("$!" === e.data) {
  4576. d = e.nextSibling && e.nextSibling.dataset;
  4577. if (d)
  4578. var h = d.dgst;
  4579. d = h;
  4580. f2 = Error(p(419));
  4581. d = Li(f2, d, void 0);
  4582. return tj(a, b, g, d);
  4583. }
  4584. h = 0 !== (g & a.childLanes);
  4585. if (Ug || h) {
  4586. d = R;
  4587. if (null !== d) {
  4588. switch (g & -g) {
  4589. case 4:
  4590. e = 2;
  4591. break;
  4592. case 16:
  4593. e = 8;
  4594. break;
  4595. case 64:
  4596. case 128:
  4597. case 256:
  4598. case 512:
  4599. case 1024:
  4600. case 2048:
  4601. case 4096:
  4602. case 8192:
  4603. case 16384:
  4604. case 32768:
  4605. case 65536:
  4606. case 131072:
  4607. case 262144:
  4608. case 524288:
  4609. case 1048576:
  4610. case 2097152:
  4611. case 4194304:
  4612. case 8388608:
  4613. case 16777216:
  4614. case 33554432:
  4615. case 67108864:
  4616. e = 32;
  4617. break;
  4618. case 536870912:
  4619. e = 268435456;
  4620. break;
  4621. default:
  4622. e = 0;
  4623. }
  4624. e = 0 !== (e & (d.suspendedLanes | g)) ? 0 : e;
  4625. 0 !== e && e !== f2.retryLane && (f2.retryLane = e, Zg(a, e), mh(d, a, e, -1));
  4626. }
  4627. uj();
  4628. d = Li(Error(p(421)));
  4629. return tj(a, b, g, d);
  4630. }
  4631. if ("$?" === e.data)
  4632. return b.flags |= 128, b.child = a.child, b = vj.bind(null, a), e._reactRetry = b, null;
  4633. a = f2.treeContext;
  4634. yg = Lf(e.nextSibling);
  4635. xg = b;
  4636. I = true;
  4637. zg = null;
  4638. null !== a && (og[pg++] = rg, og[pg++] = sg, og[pg++] = qg, rg = a.id, sg = a.overflow, qg = b);
  4639. b = rj(b, d.children);
  4640. b.flags |= 4096;
  4641. return b;
  4642. }
  4643. function wj(a, b, c) {
  4644. a.lanes |= b;
  4645. var d = a.alternate;
  4646. null !== d && (d.lanes |= b);
  4647. Sg(a.return, b, c);
  4648. }
  4649. function xj(a, b, c, d, e) {
  4650. var f2 = a.memoizedState;
  4651. null === f2 ? a.memoizedState = { isBackwards: b, rendering: null, renderingStartTime: 0, last: d, tail: c, tailMode: e } : (f2.isBackwards = b, f2.rendering = null, f2.renderingStartTime = 0, f2.last = d, f2.tail = c, f2.tailMode = e);
  4652. }
  4653. function yj(a, b, c) {
  4654. var d = b.pendingProps, e = d.revealOrder, f2 = d.tail;
  4655. Yi(a, b, d.children, c);
  4656. d = M.current;
  4657. if (0 !== (d & 2))
  4658. d = d & 1 | 2, b.flags |= 128;
  4659. else {
  4660. if (null !== a && 0 !== (a.flags & 128))
  4661. a:
  4662. for (a = b.child; null !== a; ) {
  4663. if (13 === a.tag)
  4664. null !== a.memoizedState && wj(a, c, b);
  4665. else if (19 === a.tag)
  4666. wj(a, c, b);
  4667. else if (null !== a.child) {
  4668. a.child.return = a;
  4669. a = a.child;
  4670. continue;
  4671. }
  4672. if (a === b)
  4673. break a;
  4674. for (; null === a.sibling; ) {
  4675. if (null === a.return || a.return === b)
  4676. break a;
  4677. a = a.return;
  4678. }
  4679. a.sibling.return = a.return;
  4680. a = a.sibling;
  4681. }
  4682. d &= 1;
  4683. }
  4684. G(M, d);
  4685. if (0 === (b.mode & 1))
  4686. b.memoizedState = null;
  4687. else
  4688. switch (e) {
  4689. case "forwards":
  4690. c = b.child;
  4691. for (e = null; null !== c; )
  4692. a = c.alternate, null !== a && null === Mh(a) && (e = c), c = c.sibling;
  4693. c = e;
  4694. null === c ? (e = b.child, b.child = null) : (e = c.sibling, c.sibling = null);
  4695. xj(b, false, e, c, f2);
  4696. break;
  4697. case "backwards":
  4698. c = null;
  4699. e = b.child;
  4700. for (b.child = null; null !== e; ) {
  4701. a = e.alternate;
  4702. if (null !== a && null === Mh(a)) {
  4703. b.child = e;
  4704. break;
  4705. }
  4706. a = e.sibling;
  4707. e.sibling = c;
  4708. c = e;
  4709. e = a;
  4710. }
  4711. xj(b, true, c, null, f2);
  4712. break;
  4713. case "together":
  4714. xj(b, false, null, null, void 0);
  4715. break;
  4716. default:
  4717. b.memoizedState = null;
  4718. }
  4719. return b.child;
  4720. }
  4721. function jj(a, b) {
  4722. 0 === (b.mode & 1) && null !== a && (a.alternate = null, b.alternate = null, b.flags |= 2);
  4723. }
  4724. function $i(a, b, c) {
  4725. null !== a && (b.dependencies = a.dependencies);
  4726. hh |= b.lanes;
  4727. if (0 === (c & b.childLanes))
  4728. return null;
  4729. if (null !== a && b.child !== a.child)
  4730. throw Error(p(153));
  4731. if (null !== b.child) {
  4732. a = b.child;
  4733. c = wh(a, a.pendingProps);
  4734. b.child = c;
  4735. for (c.return = b; null !== a.sibling; )
  4736. a = a.sibling, c = c.sibling = wh(a, a.pendingProps), c.return = b;
  4737. c.sibling = null;
  4738. }
  4739. return b.child;
  4740. }
  4741. function zj(a, b, c) {
  4742. switch (b.tag) {
  4743. case 3:
  4744. lj(b);
  4745. Ig();
  4746. break;
  4747. case 5:
  4748. Kh(b);
  4749. break;
  4750. case 1:
  4751. Zf(b.type) && cg(b);
  4752. break;
  4753. case 4:
  4754. Ih(b, b.stateNode.containerInfo);
  4755. break;
  4756. case 10:
  4757. var d = b.type._context, e = b.memoizedProps.value;
  4758. G(Mg, d._currentValue);
  4759. d._currentValue = e;
  4760. break;
  4761. case 13:
  4762. d = b.memoizedState;
  4763. if (null !== d) {
  4764. if (null !== d.dehydrated)
  4765. return G(M, M.current & 1), b.flags |= 128, null;
  4766. if (0 !== (c & b.child.childLanes))
  4767. return pj(a, b, c);
  4768. G(M, M.current & 1);
  4769. a = $i(a, b, c);
  4770. return null !== a ? a.sibling : null;
  4771. }
  4772. G(M, M.current & 1);
  4773. break;
  4774. case 19:
  4775. d = 0 !== (c & b.childLanes);
  4776. if (0 !== (a.flags & 128)) {
  4777. if (d)
  4778. return yj(a, b, c);
  4779. b.flags |= 128;
  4780. }
  4781. e = b.memoizedState;
  4782. null !== e && (e.rendering = null, e.tail = null, e.lastEffect = null);
  4783. G(M, M.current);
  4784. if (d)
  4785. break;
  4786. else
  4787. return null;
  4788. case 22:
  4789. case 23:
  4790. return b.lanes = 0, ej(a, b, c);
  4791. }
  4792. return $i(a, b, c);
  4793. }
  4794. var Aj, Bj, Cj, Dj;
  4795. Aj = function(a, b) {
  4796. for (var c = b.child; null !== c; ) {
  4797. if (5 === c.tag || 6 === c.tag)
  4798. a.appendChild(c.stateNode);
  4799. else if (4 !== c.tag && null !== c.child) {
  4800. c.child.return = c;
  4801. c = c.child;
  4802. continue;
  4803. }
  4804. if (c === b)
  4805. break;
  4806. for (; null === c.sibling; ) {
  4807. if (null === c.return || c.return === b)
  4808. return;
  4809. c = c.return;
  4810. }
  4811. c.sibling.return = c.return;
  4812. c = c.sibling;
  4813. }
  4814. };
  4815. Bj = function() {
  4816. };
  4817. Cj = function(a, b, c, d) {
  4818. var e = a.memoizedProps;
  4819. if (e !== d) {
  4820. a = b.stateNode;
  4821. Hh(Eh.current);
  4822. var f2 = null;
  4823. switch (c) {
  4824. case "input":
  4825. e = Ya(a, e);
  4826. d = Ya(a, d);
  4827. f2 = [];
  4828. break;
  4829. case "select":
  4830. e = A({}, e, { value: void 0 });
  4831. d = A({}, d, { value: void 0 });
  4832. f2 = [];
  4833. break;
  4834. case "textarea":
  4835. e = gb(a, e);
  4836. d = gb(a, d);
  4837. f2 = [];
  4838. break;
  4839. default:
  4840. "function" !== typeof e.onClick && "function" === typeof d.onClick && (a.onclick = Bf);
  4841. }
  4842. ub(c, d);
  4843. var g;
  4844. c = null;
  4845. for (l2 in e)
  4846. if (!d.hasOwnProperty(l2) && e.hasOwnProperty(l2) && null != e[l2])
  4847. if ("style" === l2) {
  4848. var h = e[l2];
  4849. for (g in h)
  4850. h.hasOwnProperty(g) && (c || (c = {}), c[g] = "");
  4851. } else
  4852. "dangerouslySetInnerHTML" !== l2 && "children" !== l2 && "suppressContentEditableWarning" !== l2 && "suppressHydrationWarning" !== l2 && "autoFocus" !== l2 && (ea.hasOwnProperty(l2) ? f2 || (f2 = []) : (f2 = f2 || []).push(l2, null));
  4853. for (l2 in d) {
  4854. var k2 = d[l2];
  4855. h = null != e ? e[l2] : void 0;
  4856. if (d.hasOwnProperty(l2) && k2 !== h && (null != k2 || null != h))
  4857. if ("style" === l2)
  4858. if (h) {
  4859. for (g in h)
  4860. !h.hasOwnProperty(g) || k2 && k2.hasOwnProperty(g) || (c || (c = {}), c[g] = "");
  4861. for (g in k2)
  4862. k2.hasOwnProperty(g) && h[g] !== k2[g] && (c || (c = {}), c[g] = k2[g]);
  4863. } else
  4864. c || (f2 || (f2 = []), f2.push(
  4865. l2,
  4866. c
  4867. )), c = k2;
  4868. else
  4869. "dangerouslySetInnerHTML" === l2 ? (k2 = k2 ? k2.__html : void 0, h = h ? h.__html : void 0, null != k2 && h !== k2 && (f2 = f2 || []).push(l2, k2)) : "children" === l2 ? "string" !== typeof k2 && "number" !== typeof k2 || (f2 = f2 || []).push(l2, "" + k2) : "suppressContentEditableWarning" !== l2 && "suppressHydrationWarning" !== l2 && (ea.hasOwnProperty(l2) ? (null != k2 && "onScroll" === l2 && D("scroll", a), f2 || h === k2 || (f2 = [])) : (f2 = f2 || []).push(l2, k2));
  4870. }
  4871. c && (f2 = f2 || []).push("style", c);
  4872. var l2 = f2;
  4873. if (b.updateQueue = l2)
  4874. b.flags |= 4;
  4875. }
  4876. };
  4877. Dj = function(a, b, c, d) {
  4878. c !== d && (b.flags |= 4);
  4879. };
  4880. function Ej(a, b) {
  4881. if (!I)
  4882. switch (a.tailMode) {
  4883. case "hidden":
  4884. b = a.tail;
  4885. for (var c = null; null !== b; )
  4886. null !== b.alternate && (c = b), b = b.sibling;
  4887. null === c ? a.tail = null : c.sibling = null;
  4888. break;
  4889. case "collapsed":
  4890. c = a.tail;
  4891. for (var d = null; null !== c; )
  4892. null !== c.alternate && (d = c), c = c.sibling;
  4893. null === d ? b || null === a.tail ? a.tail = null : a.tail.sibling = null : d.sibling = null;
  4894. }
  4895. }
  4896. function S(a) {
  4897. var b = null !== a.alternate && a.alternate.child === a.child, c = 0, d = 0;
  4898. if (b)
  4899. for (var e = a.child; null !== e; )
  4900. c |= e.lanes | e.childLanes, d |= e.subtreeFlags & 14680064, d |= e.flags & 14680064, e.return = a, e = e.sibling;
  4901. else
  4902. for (e = a.child; null !== e; )
  4903. c |= e.lanes | e.childLanes, d |= e.subtreeFlags, d |= e.flags, e.return = a, e = e.sibling;
  4904. a.subtreeFlags |= d;
  4905. a.childLanes = c;
  4906. return b;
  4907. }
  4908. function Fj(a, b, c) {
  4909. var d = b.pendingProps;
  4910. wg(b);
  4911. switch (b.tag) {
  4912. case 2:
  4913. case 16:
  4914. case 15:
  4915. case 0:
  4916. case 11:
  4917. case 7:
  4918. case 8:
  4919. case 12:
  4920. case 9:
  4921. case 14:
  4922. return S(b), null;
  4923. case 1:
  4924. return Zf(b.type) && $f(), S(b), null;
  4925. case 3:
  4926. d = b.stateNode;
  4927. Jh();
  4928. E(Wf);
  4929. E(H);
  4930. Oh();
  4931. d.pendingContext && (d.context = d.pendingContext, d.pendingContext = null);
  4932. if (null === a || null === a.child)
  4933. Gg(b) ? b.flags |= 4 : null === a || a.memoizedState.isDehydrated && 0 === (b.flags & 256) || (b.flags |= 1024, null !== zg && (Gj(zg), zg = null));
  4934. Bj(a, b);
  4935. S(b);
  4936. return null;
  4937. case 5:
  4938. Lh(b);
  4939. var e = Hh(Gh.current);
  4940. c = b.type;
  4941. if (null !== a && null != b.stateNode)
  4942. Cj(a, b, c, d, e), a.ref !== b.ref && (b.flags |= 512, b.flags |= 2097152);
  4943. else {
  4944. if (!d) {
  4945. if (null === b.stateNode)
  4946. throw Error(p(166));
  4947. S(b);
  4948. return null;
  4949. }
  4950. a = Hh(Eh.current);
  4951. if (Gg(b)) {
  4952. d = b.stateNode;
  4953. c = b.type;
  4954. var f2 = b.memoizedProps;
  4955. d[Of] = b;
  4956. d[Pf] = f2;
  4957. a = 0 !== (b.mode & 1);
  4958. switch (c) {
  4959. case "dialog":
  4960. D("cancel", d);
  4961. D("close", d);
  4962. break;
  4963. case "iframe":
  4964. case "object":
  4965. case "embed":
  4966. D("load", d);
  4967. break;
  4968. case "video":
  4969. case "audio":
  4970. for (e = 0; e < lf.length; e++)
  4971. D(lf[e], d);
  4972. break;
  4973. case "source":
  4974. D("error", d);
  4975. break;
  4976. case "img":
  4977. case "image":
  4978. case "link":
  4979. D(
  4980. "error",
  4981. d
  4982. );
  4983. D("load", d);
  4984. break;
  4985. case "details":
  4986. D("toggle", d);
  4987. break;
  4988. case "input":
  4989. Za(d, f2);
  4990. D("invalid", d);
  4991. break;
  4992. case "select":
  4993. d._wrapperState = { wasMultiple: !!f2.multiple };
  4994. D("invalid", d);
  4995. break;
  4996. case "textarea":
  4997. hb(d, f2), D("invalid", d);
  4998. }
  4999. ub(c, f2);
  5000. e = null;
  5001. for (var g in f2)
  5002. if (f2.hasOwnProperty(g)) {
  5003. var h = f2[g];
  5004. "children" === g ? "string" === typeof h ? d.textContent !== h && (true !== f2.suppressHydrationWarning && Af(d.textContent, h, a), e = ["children", h]) : "number" === typeof h && d.textContent !== "" + h && (true !== f2.suppressHydrationWarning && Af(
  5005. d.textContent,
  5006. h,
  5007. a
  5008. ), e = ["children", "" + h]) : ea.hasOwnProperty(g) && null != h && "onScroll" === g && D("scroll", d);
  5009. }
  5010. switch (c) {
  5011. case "input":
  5012. Va(d);
  5013. db(d, f2, true);
  5014. break;
  5015. case "textarea":
  5016. Va(d);
  5017. jb(d);
  5018. break;
  5019. case "select":
  5020. case "option":
  5021. break;
  5022. default:
  5023. "function" === typeof f2.onClick && (d.onclick = Bf);
  5024. }
  5025. d = e;
  5026. b.updateQueue = d;
  5027. null !== d && (b.flags |= 4);
  5028. } else {
  5029. g = 9 === e.nodeType ? e : e.ownerDocument;
  5030. "http://www.w3.org/1999/xhtml" === a && (a = kb(c));
  5031. "http://www.w3.org/1999/xhtml" === a ? "script" === c ? (a = g.createElement("div"), a.innerHTML = "<script><\/script>", a = a.removeChild(a.firstChild)) : "string" === typeof d.is ? a = g.createElement(c, { is: d.is }) : (a = g.createElement(c), "select" === c && (g = a, d.multiple ? g.multiple = true : d.size && (g.size = d.size))) : a = g.createElementNS(a, c);
  5032. a[Of] = b;
  5033. a[Pf] = d;
  5034. Aj(a, b, false, false);
  5035. b.stateNode = a;
  5036. a: {
  5037. g = vb(c, d);
  5038. switch (c) {
  5039. case "dialog":
  5040. D("cancel", a);
  5041. D("close", a);
  5042. e = d;
  5043. break;
  5044. case "iframe":
  5045. case "object":
  5046. case "embed":
  5047. D("load", a);
  5048. e = d;
  5049. break;
  5050. case "video":
  5051. case "audio":
  5052. for (e = 0; e < lf.length; e++)
  5053. D(lf[e], a);
  5054. e = d;
  5055. break;
  5056. case "source":
  5057. D("error", a);
  5058. e = d;
  5059. break;
  5060. case "img":
  5061. case "image":
  5062. case "link":
  5063. D(
  5064. "error",
  5065. a
  5066. );
  5067. D("load", a);
  5068. e = d;
  5069. break;
  5070. case "details":
  5071. D("toggle", a);
  5072. e = d;
  5073. break;
  5074. case "input":
  5075. Za(a, d);
  5076. e = Ya(a, d);
  5077. D("invalid", a);
  5078. break;
  5079. case "option":
  5080. e = d;
  5081. break;
  5082. case "select":
  5083. a._wrapperState = { wasMultiple: !!d.multiple };
  5084. e = A({}, d, { value: void 0 });
  5085. D("invalid", a);
  5086. break;
  5087. case "textarea":
  5088. hb(a, d);
  5089. e = gb(a, d);
  5090. D("invalid", a);
  5091. break;
  5092. default:
  5093. e = d;
  5094. }
  5095. ub(c, e);
  5096. h = e;
  5097. for (f2 in h)
  5098. if (h.hasOwnProperty(f2)) {
  5099. var k2 = h[f2];
  5100. "style" === f2 ? sb(a, k2) : "dangerouslySetInnerHTML" === f2 ? (k2 = k2 ? k2.__html : void 0, null != k2 && nb(a, k2)) : "children" === f2 ? "string" === typeof k2 ? ("textarea" !== c || "" !== k2) && ob(a, k2) : "number" === typeof k2 && ob(a, "" + k2) : "suppressContentEditableWarning" !== f2 && "suppressHydrationWarning" !== f2 && "autoFocus" !== f2 && (ea.hasOwnProperty(f2) ? null != k2 && "onScroll" === f2 && D("scroll", a) : null != k2 && ta(a, f2, k2, g));
  5101. }
  5102. switch (c) {
  5103. case "input":
  5104. Va(a);
  5105. db(a, d, false);
  5106. break;
  5107. case "textarea":
  5108. Va(a);
  5109. jb(a);
  5110. break;
  5111. case "option":
  5112. null != d.value && a.setAttribute("value", "" + Sa(d.value));
  5113. break;
  5114. case "select":
  5115. a.multiple = !!d.multiple;
  5116. f2 = d.value;
  5117. null != f2 ? fb(a, !!d.multiple, f2, false) : null != d.defaultValue && fb(
  5118. a,
  5119. !!d.multiple,
  5120. d.defaultValue,
  5121. true
  5122. );
  5123. break;
  5124. default:
  5125. "function" === typeof e.onClick && (a.onclick = Bf);
  5126. }
  5127. switch (c) {
  5128. case "button":
  5129. case "input":
  5130. case "select":
  5131. case "textarea":
  5132. d = !!d.autoFocus;
  5133. break a;
  5134. case "img":
  5135. d = true;
  5136. break a;
  5137. default:
  5138. d = false;
  5139. }
  5140. }
  5141. d && (b.flags |= 4);
  5142. }
  5143. null !== b.ref && (b.flags |= 512, b.flags |= 2097152);
  5144. }
  5145. S(b);
  5146. return null;
  5147. case 6:
  5148. if (a && null != b.stateNode)
  5149. Dj(a, b, a.memoizedProps, d);
  5150. else {
  5151. if ("string" !== typeof d && null === b.stateNode)
  5152. throw Error(p(166));
  5153. c = Hh(Gh.current);
  5154. Hh(Eh.current);
  5155. if (Gg(b)) {
  5156. d = b.stateNode;
  5157. c = b.memoizedProps;
  5158. d[Of] = b;
  5159. if (f2 = d.nodeValue !== c) {
  5160. if (a = xg, null !== a)
  5161. switch (a.tag) {
  5162. case 3:
  5163. Af(d.nodeValue, c, 0 !== (a.mode & 1));
  5164. break;
  5165. case 5:
  5166. true !== a.memoizedProps.suppressHydrationWarning && Af(d.nodeValue, c, 0 !== (a.mode & 1));
  5167. }
  5168. }
  5169. f2 && (b.flags |= 4);
  5170. } else
  5171. d = (9 === c.nodeType ? c : c.ownerDocument).createTextNode(d), d[Of] = b, b.stateNode = d;
  5172. }
  5173. S(b);
  5174. return null;
  5175. case 13:
  5176. E(M);
  5177. d = b.memoizedState;
  5178. if (null === a || null !== a.memoizedState && null !== a.memoizedState.dehydrated) {
  5179. if (I && null !== yg && 0 !== (b.mode & 1) && 0 === (b.flags & 128))
  5180. Hg(), Ig(), b.flags |= 98560, f2 = false;
  5181. else if (f2 = Gg(b), null !== d && null !== d.dehydrated) {
  5182. if (null === a) {
  5183. if (!f2)
  5184. throw Error(p(318));
  5185. f2 = b.memoizedState;
  5186. f2 = null !== f2 ? f2.dehydrated : null;
  5187. if (!f2)
  5188. throw Error(p(317));
  5189. f2[Of] = b;
  5190. } else
  5191. Ig(), 0 === (b.flags & 128) && (b.memoizedState = null), b.flags |= 4;
  5192. S(b);
  5193. f2 = false;
  5194. } else
  5195. null !== zg && (Gj(zg), zg = null), f2 = true;
  5196. if (!f2)
  5197. return b.flags & 65536 ? b : null;
  5198. }
  5199. if (0 !== (b.flags & 128))
  5200. return b.lanes = c, b;
  5201. d = null !== d;
  5202. d !== (null !== a && null !== a.memoizedState) && d && (b.child.flags |= 8192, 0 !== (b.mode & 1) && (null === a || 0 !== (M.current & 1) ? 0 === T && (T = 3) : uj()));
  5203. null !== b.updateQueue && (b.flags |= 4);
  5204. S(b);
  5205. return null;
  5206. case 4:
  5207. return Jh(), Bj(a, b), null === a && sf(b.stateNode.containerInfo), S(b), null;
  5208. case 10:
  5209. return Rg(b.type._context), S(b), null;
  5210. case 17:
  5211. return Zf(b.type) && $f(), S(b), null;
  5212. case 19:
  5213. E(M);
  5214. f2 = b.memoizedState;
  5215. if (null === f2)
  5216. return S(b), null;
  5217. d = 0 !== (b.flags & 128);
  5218. g = f2.rendering;
  5219. if (null === g)
  5220. if (d)
  5221. Ej(f2, false);
  5222. else {
  5223. if (0 !== T || null !== a && 0 !== (a.flags & 128))
  5224. for (a = b.child; null !== a; ) {
  5225. g = Mh(a);
  5226. if (null !== g) {
  5227. b.flags |= 128;
  5228. Ej(f2, false);
  5229. d = g.updateQueue;
  5230. null !== d && (b.updateQueue = d, b.flags |= 4);
  5231. b.subtreeFlags = 0;
  5232. d = c;
  5233. for (c = b.child; null !== c; )
  5234. f2 = c, a = d, f2.flags &= 14680066, g = f2.alternate, null === g ? (f2.childLanes = 0, f2.lanes = a, f2.child = null, f2.subtreeFlags = 0, f2.memoizedProps = null, f2.memoizedState = null, f2.updateQueue = null, f2.dependencies = null, f2.stateNode = null) : (f2.childLanes = g.childLanes, f2.lanes = g.lanes, f2.child = g.child, f2.subtreeFlags = 0, f2.deletions = null, f2.memoizedProps = g.memoizedProps, f2.memoizedState = g.memoizedState, f2.updateQueue = g.updateQueue, f2.type = g.type, a = g.dependencies, f2.dependencies = null === a ? null : { lanes: a.lanes, firstContext: a.firstContext }), c = c.sibling;
  5235. G(M, M.current & 1 | 2);
  5236. return b.child;
  5237. }
  5238. a = a.sibling;
  5239. }
  5240. null !== f2.tail && B() > Hj && (b.flags |= 128, d = true, Ej(f2, false), b.lanes = 4194304);
  5241. }
  5242. else {
  5243. if (!d)
  5244. if (a = Mh(g), null !== a) {
  5245. if (b.flags |= 128, d = true, c = a.updateQueue, null !== c && (b.updateQueue = c, b.flags |= 4), Ej(f2, true), null === f2.tail && "hidden" === f2.tailMode && !g.alternate && !I)
  5246. return S(b), null;
  5247. } else
  5248. 2 * B() - f2.renderingStartTime > Hj && 1073741824 !== c && (b.flags |= 128, d = true, Ej(f2, false), b.lanes = 4194304);
  5249. f2.isBackwards ? (g.sibling = b.child, b.child = g) : (c = f2.last, null !== c ? c.sibling = g : b.child = g, f2.last = g);
  5250. }
  5251. if (null !== f2.tail)
  5252. return b = f2.tail, f2.rendering = b, f2.tail = b.sibling, f2.renderingStartTime = B(), b.sibling = null, c = M.current, G(M, d ? c & 1 | 2 : c & 1), b;
  5253. S(b);
  5254. return null;
  5255. case 22:
  5256. case 23:
  5257. return Ij(), d = null !== b.memoizedState, null !== a && null !== a.memoizedState !== d && (b.flags |= 8192), d && 0 !== (b.mode & 1) ? 0 !== (gj & 1073741824) && (S(b), b.subtreeFlags & 6 && (b.flags |= 8192)) : S(b), null;
  5258. case 24:
  5259. return null;
  5260. case 25:
  5261. return null;
  5262. }
  5263. throw Error(p(156, b.tag));
  5264. }
  5265. function Jj(a, b) {
  5266. wg(b);
  5267. switch (b.tag) {
  5268. case 1:
  5269. return Zf(b.type) && $f(), a = b.flags, a & 65536 ? (b.flags = a & -65537 | 128, b) : null;
  5270. case 3:
  5271. return Jh(), E(Wf), E(H), Oh(), a = b.flags, 0 !== (a & 65536) && 0 === (a & 128) ? (b.flags = a & -65537 | 128, b) : null;
  5272. case 5:
  5273. return Lh(b), null;
  5274. case 13:
  5275. E(M);
  5276. a = b.memoizedState;
  5277. if (null !== a && null !== a.dehydrated) {
  5278. if (null === b.alternate)
  5279. throw Error(p(340));
  5280. Ig();
  5281. }
  5282. a = b.flags;
  5283. return a & 65536 ? (b.flags = a & -65537 | 128, b) : null;
  5284. case 19:
  5285. return E(M), null;
  5286. case 4:
  5287. return Jh(), null;
  5288. case 10:
  5289. return Rg(b.type._context), null;
  5290. case 22:
  5291. case 23:
  5292. return Ij(), null;
  5293. case 24:
  5294. return null;
  5295. default:
  5296. return null;
  5297. }
  5298. }
  5299. var Kj = false, U = false, Lj = "function" === typeof WeakSet ? WeakSet : Set, V = null;
  5300. function Mj(a, b) {
  5301. var c = a.ref;
  5302. if (null !== c)
  5303. if ("function" === typeof c)
  5304. try {
  5305. c(null);
  5306. } catch (d) {
  5307. W(a, b, d);
  5308. }
  5309. else
  5310. c.current = null;
  5311. }
  5312. function Nj(a, b, c) {
  5313. try {
  5314. c();
  5315. } catch (d) {
  5316. W(a, b, d);
  5317. }
  5318. }
  5319. var Oj = false;
  5320. function Pj(a, b) {
  5321. Cf = dd;
  5322. a = Me();
  5323. if (Ne(a)) {
  5324. if ("selectionStart" in a)
  5325. var c = { start: a.selectionStart, end: a.selectionEnd };
  5326. else
  5327. a: {
  5328. c = (c = a.ownerDocument) && c.defaultView || window;
  5329. var d = c.getSelection && c.getSelection();
  5330. if (d && 0 !== d.rangeCount) {
  5331. c = d.anchorNode;
  5332. var e = d.anchorOffset, f2 = d.focusNode;
  5333. d = d.focusOffset;
  5334. try {
  5335. c.nodeType, f2.nodeType;
  5336. } catch (F2) {
  5337. c = null;
  5338. break a;
  5339. }
  5340. var g = 0, h = -1, k2 = -1, l2 = 0, m2 = 0, q2 = a, r2 = null;
  5341. b:
  5342. for (; ; ) {
  5343. for (var y2; ; ) {
  5344. q2 !== c || 0 !== e && 3 !== q2.nodeType || (h = g + e);
  5345. q2 !== f2 || 0 !== d && 3 !== q2.nodeType || (k2 = g + d);
  5346. 3 === q2.nodeType && (g += q2.nodeValue.length);
  5347. if (null === (y2 = q2.firstChild))
  5348. break;
  5349. r2 = q2;
  5350. q2 = y2;
  5351. }
  5352. for (; ; ) {
  5353. if (q2 === a)
  5354. break b;
  5355. r2 === c && ++l2 === e && (h = g);
  5356. r2 === f2 && ++m2 === d && (k2 = g);
  5357. if (null !== (y2 = q2.nextSibling))
  5358. break;
  5359. q2 = r2;
  5360. r2 = q2.parentNode;
  5361. }
  5362. q2 = y2;
  5363. }
  5364. c = -1 === h || -1 === k2 ? null : { start: h, end: k2 };
  5365. } else
  5366. c = null;
  5367. }
  5368. c = c || { start: 0, end: 0 };
  5369. } else
  5370. c = null;
  5371. Df = { focusedElem: a, selectionRange: c };
  5372. dd = false;
  5373. for (V = b; null !== V; )
  5374. if (b = V, a = b.child, 0 !== (b.subtreeFlags & 1028) && null !== a)
  5375. a.return = b, V = a;
  5376. else
  5377. for (; null !== V; ) {
  5378. b = V;
  5379. try {
  5380. var n2 = b.alternate;
  5381. if (0 !== (b.flags & 1024))
  5382. switch (b.tag) {
  5383. case 0:
  5384. case 11:
  5385. case 15:
  5386. break;
  5387. case 1:
  5388. if (null !== n2) {
  5389. var t2 = n2.memoizedProps, J2 = n2.memoizedState, x2 = b.stateNode, w2 = x2.getSnapshotBeforeUpdate(b.elementType === b.type ? t2 : Lg(b.type, t2), J2);
  5390. x2.__reactInternalSnapshotBeforeUpdate = w2;
  5391. }
  5392. break;
  5393. case 3:
  5394. var u2 = b.stateNode.containerInfo;
  5395. 1 === u2.nodeType ? u2.textContent = "" : 9 === u2.nodeType && u2.documentElement && u2.removeChild(u2.documentElement);
  5396. break;
  5397. case 5:
  5398. case 6:
  5399. case 4:
  5400. case 17:
  5401. break;
  5402. default:
  5403. throw Error(p(163));
  5404. }
  5405. } catch (F2) {
  5406. W(b, b.return, F2);
  5407. }
  5408. a = b.sibling;
  5409. if (null !== a) {
  5410. a.return = b.return;
  5411. V = a;
  5412. break;
  5413. }
  5414. V = b.return;
  5415. }
  5416. n2 = Oj;
  5417. Oj = false;
  5418. return n2;
  5419. }
  5420. function Qj(a, b, c) {
  5421. var d = b.updateQueue;
  5422. d = null !== d ? d.lastEffect : null;
  5423. if (null !== d) {
  5424. var e = d = d.next;
  5425. do {
  5426. if ((e.tag & a) === a) {
  5427. var f2 = e.destroy;
  5428. e.destroy = void 0;
  5429. void 0 !== f2 && Nj(b, c, f2);
  5430. }
  5431. e = e.next;
  5432. } while (e !== d);
  5433. }
  5434. }
  5435. function Rj(a, b) {
  5436. b = b.updateQueue;
  5437. b = null !== b ? b.lastEffect : null;
  5438. if (null !== b) {
  5439. var c = b = b.next;
  5440. do {
  5441. if ((c.tag & a) === a) {
  5442. var d = c.create;
  5443. c.destroy = d();
  5444. }
  5445. c = c.next;
  5446. } while (c !== b);
  5447. }
  5448. }
  5449. function Sj(a) {
  5450. var b = a.ref;
  5451. if (null !== b) {
  5452. var c = a.stateNode;
  5453. switch (a.tag) {
  5454. case 5:
  5455. a = c;
  5456. break;
  5457. default:
  5458. a = c;
  5459. }
  5460. "function" === typeof b ? b(a) : b.current = a;
  5461. }
  5462. }
  5463. function Tj(a) {
  5464. var b = a.alternate;
  5465. null !== b && (a.alternate = null, Tj(b));
  5466. a.child = null;
  5467. a.deletions = null;
  5468. a.sibling = null;
  5469. 5 === a.tag && (b = a.stateNode, null !== b && (delete b[Of], delete b[Pf], delete b[of], delete b[Qf], delete b[Rf]));
  5470. a.stateNode = null;
  5471. a.return = null;
  5472. a.dependencies = null;
  5473. a.memoizedProps = null;
  5474. a.memoizedState = null;
  5475. a.pendingProps = null;
  5476. a.stateNode = null;
  5477. a.updateQueue = null;
  5478. }
  5479. function Uj(a) {
  5480. return 5 === a.tag || 3 === a.tag || 4 === a.tag;
  5481. }
  5482. function Vj(a) {
  5483. a:
  5484. for (; ; ) {
  5485. for (; null === a.sibling; ) {
  5486. if (null === a.return || Uj(a.return))
  5487. return null;
  5488. a = a.return;
  5489. }
  5490. a.sibling.return = a.return;
  5491. for (a = a.sibling; 5 !== a.tag && 6 !== a.tag && 18 !== a.tag; ) {
  5492. if (a.flags & 2)
  5493. continue a;
  5494. if (null === a.child || 4 === a.tag)
  5495. continue a;
  5496. else
  5497. a.child.return = a, a = a.child;
  5498. }
  5499. if (!(a.flags & 2))
  5500. return a.stateNode;
  5501. }
  5502. }
  5503. function Wj(a, b, c) {
  5504. var d = a.tag;
  5505. if (5 === d || 6 === d)
  5506. a = a.stateNode, b ? 8 === c.nodeType ? c.parentNode.insertBefore(a, b) : c.insertBefore(a, b) : (8 === c.nodeType ? (b = c.parentNode, b.insertBefore(a, c)) : (b = c, b.appendChild(a)), c = c._reactRootContainer, null !== c && void 0 !== c || null !== b.onclick || (b.onclick = Bf));
  5507. else if (4 !== d && (a = a.child, null !== a))
  5508. for (Wj(a, b, c), a = a.sibling; null !== a; )
  5509. Wj(a, b, c), a = a.sibling;
  5510. }
  5511. function Xj(a, b, c) {
  5512. var d = a.tag;
  5513. if (5 === d || 6 === d)
  5514. a = a.stateNode, b ? c.insertBefore(a, b) : c.appendChild(a);
  5515. else if (4 !== d && (a = a.child, null !== a))
  5516. for (Xj(a, b, c), a = a.sibling; null !== a; )
  5517. Xj(a, b, c), a = a.sibling;
  5518. }
  5519. var X = null, Yj = false;
  5520. function Zj(a, b, c) {
  5521. for (c = c.child; null !== c; )
  5522. ak(a, b, c), c = c.sibling;
  5523. }
  5524. function ak(a, b, c) {
  5525. if (lc && "function" === typeof lc.onCommitFiberUnmount)
  5526. try {
  5527. lc.onCommitFiberUnmount(kc, c);
  5528. } catch (h) {
  5529. }
  5530. switch (c.tag) {
  5531. case 5:
  5532. U || Mj(c, b);
  5533. case 6:
  5534. var d = X, e = Yj;
  5535. X = null;
  5536. Zj(a, b, c);
  5537. X = d;
  5538. Yj = e;
  5539. null !== X && (Yj ? (a = X, c = c.stateNode, 8 === a.nodeType ? a.parentNode.removeChild(c) : a.removeChild(c)) : X.removeChild(c.stateNode));
  5540. break;
  5541. case 18:
  5542. null !== X && (Yj ? (a = X, c = c.stateNode, 8 === a.nodeType ? Kf(a.parentNode, c) : 1 === a.nodeType && Kf(a, c), bd(a)) : Kf(X, c.stateNode));
  5543. break;
  5544. case 4:
  5545. d = X;
  5546. e = Yj;
  5547. X = c.stateNode.containerInfo;
  5548. Yj = true;
  5549. Zj(a, b, c);
  5550. X = d;
  5551. Yj = e;
  5552. break;
  5553. case 0:
  5554. case 11:
  5555. case 14:
  5556. case 15:
  5557. if (!U && (d = c.updateQueue, null !== d && (d = d.lastEffect, null !== d))) {
  5558. e = d = d.next;
  5559. do {
  5560. var f2 = e, g = f2.destroy;
  5561. f2 = f2.tag;
  5562. void 0 !== g && (0 !== (f2 & 2) ? Nj(c, b, g) : 0 !== (f2 & 4) && Nj(c, b, g));
  5563. e = e.next;
  5564. } while (e !== d);
  5565. }
  5566. Zj(a, b, c);
  5567. break;
  5568. case 1:
  5569. if (!U && (Mj(c, b), d = c.stateNode, "function" === typeof d.componentWillUnmount))
  5570. try {
  5571. d.props = c.memoizedProps, d.state = c.memoizedState, d.componentWillUnmount();
  5572. } catch (h) {
  5573. W(c, b, h);
  5574. }
  5575. Zj(a, b, c);
  5576. break;
  5577. case 21:
  5578. Zj(a, b, c);
  5579. break;
  5580. case 22:
  5581. c.mode & 1 ? (U = (d = U) || null !== c.memoizedState, Zj(a, b, c), U = d) : Zj(a, b, c);
  5582. break;
  5583. default:
  5584. Zj(a, b, c);
  5585. }
  5586. }
  5587. function bk(a) {
  5588. var b = a.updateQueue;
  5589. if (null !== b) {
  5590. a.updateQueue = null;
  5591. var c = a.stateNode;
  5592. null === c && (c = a.stateNode = new Lj());
  5593. b.forEach(function(b2) {
  5594. var d = ck.bind(null, a, b2);
  5595. c.has(b2) || (c.add(b2), b2.then(d, d));
  5596. });
  5597. }
  5598. }
  5599. function dk(a, b) {
  5600. var c = b.deletions;
  5601. if (null !== c)
  5602. for (var d = 0; d < c.length; d++) {
  5603. var e = c[d];
  5604. try {
  5605. var f2 = a, g = b, h = g;
  5606. a:
  5607. for (; null !== h; ) {
  5608. switch (h.tag) {
  5609. case 5:
  5610. X = h.stateNode;
  5611. Yj = false;
  5612. break a;
  5613. case 3:
  5614. X = h.stateNode.containerInfo;
  5615. Yj = true;
  5616. break a;
  5617. case 4:
  5618. X = h.stateNode.containerInfo;
  5619. Yj = true;
  5620. break a;
  5621. }
  5622. h = h.return;
  5623. }
  5624. if (null === X)
  5625. throw Error(p(160));
  5626. ak(f2, g, e);
  5627. X = null;
  5628. Yj = false;
  5629. var k2 = e.alternate;
  5630. null !== k2 && (k2.return = null);
  5631. e.return = null;
  5632. } catch (l2) {
  5633. W(e, b, l2);
  5634. }
  5635. }
  5636. if (b.subtreeFlags & 12854)
  5637. for (b = b.child; null !== b; )
  5638. ek(b, a), b = b.sibling;
  5639. }
  5640. function ek(a, b) {
  5641. var c = a.alternate, d = a.flags;
  5642. switch (a.tag) {
  5643. case 0:
  5644. case 11:
  5645. case 14:
  5646. case 15:
  5647. dk(b, a);
  5648. fk(a);
  5649. if (d & 4) {
  5650. try {
  5651. Qj(3, a, a.return), Rj(3, a);
  5652. } catch (t2) {
  5653. W(a, a.return, t2);
  5654. }
  5655. try {
  5656. Qj(5, a, a.return);
  5657. } catch (t2) {
  5658. W(a, a.return, t2);
  5659. }
  5660. }
  5661. break;
  5662. case 1:
  5663. dk(b, a);
  5664. fk(a);
  5665. d & 512 && null !== c && Mj(c, c.return);
  5666. break;
  5667. case 5:
  5668. dk(b, a);
  5669. fk(a);
  5670. d & 512 && null !== c && Mj(c, c.return);
  5671. if (a.flags & 32) {
  5672. var e = a.stateNode;
  5673. try {
  5674. ob(e, "");
  5675. } catch (t2) {
  5676. W(a, a.return, t2);
  5677. }
  5678. }
  5679. if (d & 4 && (e = a.stateNode, null != e)) {
  5680. var f2 = a.memoizedProps, g = null !== c ? c.memoizedProps : f2, h = a.type, k2 = a.updateQueue;
  5681. a.updateQueue = null;
  5682. if (null !== k2)
  5683. try {
  5684. "input" === h && "radio" === f2.type && null != f2.name && ab(e, f2);
  5685. vb(h, g);
  5686. var l2 = vb(h, f2);
  5687. for (g = 0; g < k2.length; g += 2) {
  5688. var m2 = k2[g], q2 = k2[g + 1];
  5689. "style" === m2 ? sb(e, q2) : "dangerouslySetInnerHTML" === m2 ? nb(e, q2) : "children" === m2 ? ob(e, q2) : ta(e, m2, q2, l2);
  5690. }
  5691. switch (h) {
  5692. case "input":
  5693. bb(e, f2);
  5694. break;
  5695. case "textarea":
  5696. ib(e, f2);
  5697. break;
  5698. case "select":
  5699. var r2 = e._wrapperState.wasMultiple;
  5700. e._wrapperState.wasMultiple = !!f2.multiple;
  5701. var y2 = f2.value;
  5702. null != y2 ? fb(e, !!f2.multiple, y2, false) : r2 !== !!f2.multiple && (null != f2.defaultValue ? fb(
  5703. e,
  5704. !!f2.multiple,
  5705. f2.defaultValue,
  5706. true
  5707. ) : fb(e, !!f2.multiple, f2.multiple ? [] : "", false));
  5708. }
  5709. e[Pf] = f2;
  5710. } catch (t2) {
  5711. W(a, a.return, t2);
  5712. }
  5713. }
  5714. break;
  5715. case 6:
  5716. dk(b, a);
  5717. fk(a);
  5718. if (d & 4) {
  5719. if (null === a.stateNode)
  5720. throw Error(p(162));
  5721. e = a.stateNode;
  5722. f2 = a.memoizedProps;
  5723. try {
  5724. e.nodeValue = f2;
  5725. } catch (t2) {
  5726. W(a, a.return, t2);
  5727. }
  5728. }
  5729. break;
  5730. case 3:
  5731. dk(b, a);
  5732. fk(a);
  5733. if (d & 4 && null !== c && c.memoizedState.isDehydrated)
  5734. try {
  5735. bd(b.containerInfo);
  5736. } catch (t2) {
  5737. W(a, a.return, t2);
  5738. }
  5739. break;
  5740. case 4:
  5741. dk(b, a);
  5742. fk(a);
  5743. break;
  5744. case 13:
  5745. dk(b, a);
  5746. fk(a);
  5747. e = a.child;
  5748. e.flags & 8192 && (f2 = null !== e.memoizedState, e.stateNode.isHidden = f2, !f2 || null !== e.alternate && null !== e.alternate.memoizedState || (gk = B()));
  5749. d & 4 && bk(a);
  5750. break;
  5751. case 22:
  5752. m2 = null !== c && null !== c.memoizedState;
  5753. a.mode & 1 ? (U = (l2 = U) || m2, dk(b, a), U = l2) : dk(b, a);
  5754. fk(a);
  5755. if (d & 8192) {
  5756. l2 = null !== a.memoizedState;
  5757. if ((a.stateNode.isHidden = l2) && !m2 && 0 !== (a.mode & 1))
  5758. for (V = a, m2 = a.child; null !== m2; ) {
  5759. for (q2 = V = m2; null !== V; ) {
  5760. r2 = V;
  5761. y2 = r2.child;
  5762. switch (r2.tag) {
  5763. case 0:
  5764. case 11:
  5765. case 14:
  5766. case 15:
  5767. Qj(4, r2, r2.return);
  5768. break;
  5769. case 1:
  5770. Mj(r2, r2.return);
  5771. var n2 = r2.stateNode;
  5772. if ("function" === typeof n2.componentWillUnmount) {
  5773. d = r2;
  5774. c = r2.return;
  5775. try {
  5776. b = d, n2.props = b.memoizedProps, n2.state = b.memoizedState, n2.componentWillUnmount();
  5777. } catch (t2) {
  5778. W(d, c, t2);
  5779. }
  5780. }
  5781. break;
  5782. case 5:
  5783. Mj(r2, r2.return);
  5784. break;
  5785. case 22:
  5786. if (null !== r2.memoizedState) {
  5787. hk(q2);
  5788. continue;
  5789. }
  5790. }
  5791. null !== y2 ? (y2.return = r2, V = y2) : hk(q2);
  5792. }
  5793. m2 = m2.sibling;
  5794. }
  5795. a:
  5796. for (m2 = null, q2 = a; ; ) {
  5797. if (5 === q2.tag) {
  5798. if (null === m2) {
  5799. m2 = q2;
  5800. try {
  5801. e = q2.stateNode, l2 ? (f2 = e.style, "function" === typeof f2.setProperty ? f2.setProperty("display", "none", "important") : f2.display = "none") : (h = q2.stateNode, k2 = q2.memoizedProps.style, g = void 0 !== k2 && null !== k2 && k2.hasOwnProperty("display") ? k2.display : null, h.style.display = rb("display", g));
  5802. } catch (t2) {
  5803. W(a, a.return, t2);
  5804. }
  5805. }
  5806. } else if (6 === q2.tag) {
  5807. if (null === m2)
  5808. try {
  5809. q2.stateNode.nodeValue = l2 ? "" : q2.memoizedProps;
  5810. } catch (t2) {
  5811. W(a, a.return, t2);
  5812. }
  5813. } else if ((22 !== q2.tag && 23 !== q2.tag || null === q2.memoizedState || q2 === a) && null !== q2.child) {
  5814. q2.child.return = q2;
  5815. q2 = q2.child;
  5816. continue;
  5817. }
  5818. if (q2 === a)
  5819. break a;
  5820. for (; null === q2.sibling; ) {
  5821. if (null === q2.return || q2.return === a)
  5822. break a;
  5823. m2 === q2 && (m2 = null);
  5824. q2 = q2.return;
  5825. }
  5826. m2 === q2 && (m2 = null);
  5827. q2.sibling.return = q2.return;
  5828. q2 = q2.sibling;
  5829. }
  5830. }
  5831. break;
  5832. case 19:
  5833. dk(b, a);
  5834. fk(a);
  5835. d & 4 && bk(a);
  5836. break;
  5837. case 21:
  5838. break;
  5839. default:
  5840. dk(
  5841. b,
  5842. a
  5843. ), fk(a);
  5844. }
  5845. }
  5846. function fk(a) {
  5847. var b = a.flags;
  5848. if (b & 2) {
  5849. try {
  5850. a: {
  5851. for (var c = a.return; null !== c; ) {
  5852. if (Uj(c)) {
  5853. var d = c;
  5854. break a;
  5855. }
  5856. c = c.return;
  5857. }
  5858. throw Error(p(160));
  5859. }
  5860. switch (d.tag) {
  5861. case 5:
  5862. var e = d.stateNode;
  5863. d.flags & 32 && (ob(e, ""), d.flags &= -33);
  5864. var f2 = Vj(a);
  5865. Xj(a, f2, e);
  5866. break;
  5867. case 3:
  5868. case 4:
  5869. var g = d.stateNode.containerInfo, h = Vj(a);
  5870. Wj(a, h, g);
  5871. break;
  5872. default:
  5873. throw Error(p(161));
  5874. }
  5875. } catch (k2) {
  5876. W(a, a.return, k2);
  5877. }
  5878. a.flags &= -3;
  5879. }
  5880. b & 4096 && (a.flags &= -4097);
  5881. }
  5882. function ik(a, b, c) {
  5883. V = a;
  5884. jk(a);
  5885. }
  5886. function jk(a, b, c) {
  5887. for (var d = 0 !== (a.mode & 1); null !== V; ) {
  5888. var e = V, f2 = e.child;
  5889. if (22 === e.tag && d) {
  5890. var g = null !== e.memoizedState || Kj;
  5891. if (!g) {
  5892. var h = e.alternate, k2 = null !== h && null !== h.memoizedState || U;
  5893. h = Kj;
  5894. var l2 = U;
  5895. Kj = g;
  5896. if ((U = k2) && !l2)
  5897. for (V = e; null !== V; )
  5898. g = V, k2 = g.child, 22 === g.tag && null !== g.memoizedState ? kk(e) : null !== k2 ? (k2.return = g, V = k2) : kk(e);
  5899. for (; null !== f2; )
  5900. V = f2, jk(f2), f2 = f2.sibling;
  5901. V = e;
  5902. Kj = h;
  5903. U = l2;
  5904. }
  5905. lk(a);
  5906. } else
  5907. 0 !== (e.subtreeFlags & 8772) && null !== f2 ? (f2.return = e, V = f2) : lk(a);
  5908. }
  5909. }
  5910. function lk(a) {
  5911. for (; null !== V; ) {
  5912. var b = V;
  5913. if (0 !== (b.flags & 8772)) {
  5914. var c = b.alternate;
  5915. try {
  5916. if (0 !== (b.flags & 8772))
  5917. switch (b.tag) {
  5918. case 0:
  5919. case 11:
  5920. case 15:
  5921. U || Rj(5, b);
  5922. break;
  5923. case 1:
  5924. var d = b.stateNode;
  5925. if (b.flags & 4 && !U)
  5926. if (null === c)
  5927. d.componentDidMount();
  5928. else {
  5929. var e = b.elementType === b.type ? c.memoizedProps : Lg(b.type, c.memoizedProps);
  5930. d.componentDidUpdate(e, c.memoizedState, d.__reactInternalSnapshotBeforeUpdate);
  5931. }
  5932. var f2 = b.updateQueue;
  5933. null !== f2 && ih(b, f2, d);
  5934. break;
  5935. case 3:
  5936. var g = b.updateQueue;
  5937. if (null !== g) {
  5938. c = null;
  5939. if (null !== b.child)
  5940. switch (b.child.tag) {
  5941. case 5:
  5942. c = b.child.stateNode;
  5943. break;
  5944. case 1:
  5945. c = b.child.stateNode;
  5946. }
  5947. ih(b, g, c);
  5948. }
  5949. break;
  5950. case 5:
  5951. var h = b.stateNode;
  5952. if (null === c && b.flags & 4) {
  5953. c = h;
  5954. var k2 = b.memoizedProps;
  5955. switch (b.type) {
  5956. case "button":
  5957. case "input":
  5958. case "select":
  5959. case "textarea":
  5960. k2.autoFocus && c.focus();
  5961. break;
  5962. case "img":
  5963. k2.src && (c.src = k2.src);
  5964. }
  5965. }
  5966. break;
  5967. case 6:
  5968. break;
  5969. case 4:
  5970. break;
  5971. case 12:
  5972. break;
  5973. case 13:
  5974. if (null === b.memoizedState) {
  5975. var l2 = b.alternate;
  5976. if (null !== l2) {
  5977. var m2 = l2.memoizedState;
  5978. if (null !== m2) {
  5979. var q2 = m2.dehydrated;
  5980. null !== q2 && bd(q2);
  5981. }
  5982. }
  5983. }
  5984. break;
  5985. case 19:
  5986. case 17:
  5987. case 21:
  5988. case 22:
  5989. case 23:
  5990. case 25:
  5991. break;
  5992. default:
  5993. throw Error(p(163));
  5994. }
  5995. U || b.flags & 512 && Sj(b);
  5996. } catch (r2) {
  5997. W(b, b.return, r2);
  5998. }
  5999. }
  6000. if (b === a) {
  6001. V = null;
  6002. break;
  6003. }
  6004. c = b.sibling;
  6005. if (null !== c) {
  6006. c.return = b.return;
  6007. V = c;
  6008. break;
  6009. }
  6010. V = b.return;
  6011. }
  6012. }
  6013. function hk(a) {
  6014. for (; null !== V; ) {
  6015. var b = V;
  6016. if (b === a) {
  6017. V = null;
  6018. break;
  6019. }
  6020. var c = b.sibling;
  6021. if (null !== c) {
  6022. c.return = b.return;
  6023. V = c;
  6024. break;
  6025. }
  6026. V = b.return;
  6027. }
  6028. }
  6029. function kk(a) {
  6030. for (; null !== V; ) {
  6031. var b = V;
  6032. try {
  6033. switch (b.tag) {
  6034. case 0:
  6035. case 11:
  6036. case 15:
  6037. var c = b.return;
  6038. try {
  6039. Rj(4, b);
  6040. } catch (k2) {
  6041. W(b, c, k2);
  6042. }
  6043. break;
  6044. case 1:
  6045. var d = b.stateNode;
  6046. if ("function" === typeof d.componentDidMount) {
  6047. var e = b.return;
  6048. try {
  6049. d.componentDidMount();
  6050. } catch (k2) {
  6051. W(b, e, k2);
  6052. }
  6053. }
  6054. var f2 = b.return;
  6055. try {
  6056. Sj(b);
  6057. } catch (k2) {
  6058. W(b, f2, k2);
  6059. }
  6060. break;
  6061. case 5:
  6062. var g = b.return;
  6063. try {
  6064. Sj(b);
  6065. } catch (k2) {
  6066. W(b, g, k2);
  6067. }
  6068. }
  6069. } catch (k2) {
  6070. W(b, b.return, k2);
  6071. }
  6072. if (b === a) {
  6073. V = null;
  6074. break;
  6075. }
  6076. var h = b.sibling;
  6077. if (null !== h) {
  6078. h.return = b.return;
  6079. V = h;
  6080. break;
  6081. }
  6082. V = b.return;
  6083. }
  6084. }
  6085. var mk = Math.ceil, nk = ua.ReactCurrentDispatcher, ok = ua.ReactCurrentOwner, pk = ua.ReactCurrentBatchConfig, K = 0, R = null, Y = null, Z = 0, gj = 0, fj = Uf(0), T = 0, qk = null, hh = 0, rk = 0, sk = 0, tk = null, uk = null, gk = 0, Hj = Infinity, vk = null, Pi = false, Qi = null, Si = null, wk = false, xk = null, yk = 0, zk = 0, Ak = null, Bk = -1, Ck = 0;
  6086. function L() {
  6087. return 0 !== (K & 6) ? B() : -1 !== Bk ? Bk : Bk = B();
  6088. }
  6089. function lh(a) {
  6090. if (0 === (a.mode & 1))
  6091. return 1;
  6092. if (0 !== (K & 2) && 0 !== Z)
  6093. return Z & -Z;
  6094. if (null !== Kg.transition)
  6095. return 0 === Ck && (Ck = yc()), Ck;
  6096. a = C;
  6097. if (0 !== a)
  6098. return a;
  6099. a = window.event;
  6100. a = void 0 === a ? 16 : jd(a.type);
  6101. return a;
  6102. }
  6103. function mh(a, b, c, d) {
  6104. if (50 < zk)
  6105. throw zk = 0, Ak = null, Error(p(185));
  6106. Ac(a, c, d);
  6107. if (0 === (K & 2) || a !== R)
  6108. a === R && (0 === (K & 2) && (rk |= c), 4 === T && Dk(a, Z)), Ek(a, d), 1 === c && 0 === K && 0 === (b.mode & 1) && (Hj = B() + 500, fg && jg());
  6109. }
  6110. function Ek(a, b) {
  6111. var c = a.callbackNode;
  6112. wc(a, b);
  6113. var d = uc(a, a === R ? Z : 0);
  6114. if (0 === d)
  6115. null !== c && bc(c), a.callbackNode = null, a.callbackPriority = 0;
  6116. else if (b = d & -d, a.callbackPriority !== b) {
  6117. null != c && bc(c);
  6118. if (1 === b)
  6119. 0 === a.tag ? ig(Fk.bind(null, a)) : hg(Fk.bind(null, a)), Jf(function() {
  6120. 0 === (K & 6) && jg();
  6121. }), c = null;
  6122. else {
  6123. switch (Dc(d)) {
  6124. case 1:
  6125. c = fc;
  6126. break;
  6127. case 4:
  6128. c = gc;
  6129. break;
  6130. case 16:
  6131. c = hc;
  6132. break;
  6133. case 536870912:
  6134. c = jc;
  6135. break;
  6136. default:
  6137. c = hc;
  6138. }
  6139. c = Gk(c, Hk.bind(null, a));
  6140. }
  6141. a.callbackPriority = b;
  6142. a.callbackNode = c;
  6143. }
  6144. }
  6145. function Hk(a, b) {
  6146. Bk = -1;
  6147. Ck = 0;
  6148. if (0 !== (K & 6))
  6149. throw Error(p(327));
  6150. var c = a.callbackNode;
  6151. if (Ik() && a.callbackNode !== c)
  6152. return null;
  6153. var d = uc(a, a === R ? Z : 0);
  6154. if (0 === d)
  6155. return null;
  6156. if (0 !== (d & 30) || 0 !== (d & a.expiredLanes) || b)
  6157. b = Jk(a, d);
  6158. else {
  6159. b = d;
  6160. var e = K;
  6161. K |= 2;
  6162. var f2 = Kk();
  6163. if (R !== a || Z !== b)
  6164. vk = null, Hj = B() + 500, Lk(a, b);
  6165. do
  6166. try {
  6167. Mk();
  6168. break;
  6169. } catch (h) {
  6170. Nk(a, h);
  6171. }
  6172. while (1);
  6173. Qg();
  6174. nk.current = f2;
  6175. K = e;
  6176. null !== Y ? b = 0 : (R = null, Z = 0, b = T);
  6177. }
  6178. if (0 !== b) {
  6179. 2 === b && (e = xc(a), 0 !== e && (d = e, b = Ok(a, e)));
  6180. if (1 === b)
  6181. throw c = qk, Lk(a, 0), Dk(a, d), Ek(a, B()), c;
  6182. if (6 === b)
  6183. Dk(a, d);
  6184. else {
  6185. e = a.current.alternate;
  6186. if (0 === (d & 30) && !Pk(e) && (b = Jk(a, d), 2 === b && (f2 = xc(a), 0 !== f2 && (d = f2, b = Ok(a, f2))), 1 === b))
  6187. throw c = qk, Lk(a, 0), Dk(a, d), Ek(a, B()), c;
  6188. a.finishedWork = e;
  6189. a.finishedLanes = d;
  6190. switch (b) {
  6191. case 0:
  6192. case 1:
  6193. throw Error(p(345));
  6194. case 2:
  6195. Qk(a, uk, vk);
  6196. break;
  6197. case 3:
  6198. Dk(a, d);
  6199. if ((d & 130023424) === d && (b = gk + 500 - B(), 10 < b)) {
  6200. if (0 !== uc(a, 0))
  6201. break;
  6202. e = a.suspendedLanes;
  6203. if ((e & d) !== d) {
  6204. L();
  6205. a.pingedLanes |= a.suspendedLanes & e;
  6206. break;
  6207. }
  6208. a.timeoutHandle = Ff(Qk.bind(null, a, uk, vk), b);
  6209. break;
  6210. }
  6211. Qk(a, uk, vk);
  6212. break;
  6213. case 4:
  6214. Dk(a, d);
  6215. if ((d & 4194240) === d)
  6216. break;
  6217. b = a.eventTimes;
  6218. for (e = -1; 0 < d; ) {
  6219. var g = 31 - oc(d);
  6220. f2 = 1 << g;
  6221. g = b[g];
  6222. g > e && (e = g);
  6223. d &= ~f2;
  6224. }
  6225. d = e;
  6226. d = B() - d;
  6227. d = (120 > d ? 120 : 480 > d ? 480 : 1080 > d ? 1080 : 1920 > d ? 1920 : 3e3 > d ? 3e3 : 4320 > d ? 4320 : 1960 * mk(d / 1960)) - d;
  6228. if (10 < d) {
  6229. a.timeoutHandle = Ff(Qk.bind(null, a, uk, vk), d);
  6230. break;
  6231. }
  6232. Qk(a, uk, vk);
  6233. break;
  6234. case 5:
  6235. Qk(a, uk, vk);
  6236. break;
  6237. default:
  6238. throw Error(p(329));
  6239. }
  6240. }
  6241. }
  6242. Ek(a, B());
  6243. return a.callbackNode === c ? Hk.bind(null, a) : null;
  6244. }
  6245. function Ok(a, b) {
  6246. var c = tk;
  6247. a.current.memoizedState.isDehydrated && (Lk(a, b).flags |= 256);
  6248. a = Jk(a, b);
  6249. 2 !== a && (b = uk, uk = c, null !== b && Gj(b));
  6250. return a;
  6251. }
  6252. function Gj(a) {
  6253. null === uk ? uk = a : uk.push.apply(uk, a);
  6254. }
  6255. function Pk(a) {
  6256. for (var b = a; ; ) {
  6257. if (b.flags & 16384) {
  6258. var c = b.updateQueue;
  6259. if (null !== c && (c = c.stores, null !== c))
  6260. for (var d = 0; d < c.length; d++) {
  6261. var e = c[d], f2 = e.getSnapshot;
  6262. e = e.value;
  6263. try {
  6264. if (!He(f2(), e))
  6265. return false;
  6266. } catch (g) {
  6267. return false;
  6268. }
  6269. }
  6270. }
  6271. c = b.child;
  6272. if (b.subtreeFlags & 16384 && null !== c)
  6273. c.return = b, b = c;
  6274. else {
  6275. if (b === a)
  6276. break;
  6277. for (; null === b.sibling; ) {
  6278. if (null === b.return || b.return === a)
  6279. return true;
  6280. b = b.return;
  6281. }
  6282. b.sibling.return = b.return;
  6283. b = b.sibling;
  6284. }
  6285. }
  6286. return true;
  6287. }
  6288. function Dk(a, b) {
  6289. b &= ~sk;
  6290. b &= ~rk;
  6291. a.suspendedLanes |= b;
  6292. a.pingedLanes &= ~b;
  6293. for (a = a.expirationTimes; 0 < b; ) {
  6294. var c = 31 - oc(b), d = 1 << c;
  6295. a[c] = -1;
  6296. b &= ~d;
  6297. }
  6298. }
  6299. function Fk(a) {
  6300. if (0 !== (K & 6))
  6301. throw Error(p(327));
  6302. Ik();
  6303. var b = uc(a, 0);
  6304. if (0 === (b & 1))
  6305. return Ek(a, B()), null;
  6306. var c = Jk(a, b);
  6307. if (0 !== a.tag && 2 === c) {
  6308. var d = xc(a);
  6309. 0 !== d && (b = d, c = Ok(a, d));
  6310. }
  6311. if (1 === c)
  6312. throw c = qk, Lk(a, 0), Dk(a, b), Ek(a, B()), c;
  6313. if (6 === c)
  6314. throw Error(p(345));
  6315. a.finishedWork = a.current.alternate;
  6316. a.finishedLanes = b;
  6317. Qk(a, uk, vk);
  6318. Ek(a, B());
  6319. return null;
  6320. }
  6321. function Rk(a, b) {
  6322. var c = K;
  6323. K |= 1;
  6324. try {
  6325. return a(b);
  6326. } finally {
  6327. K = c, 0 === K && (Hj = B() + 500, fg && jg());
  6328. }
  6329. }
  6330. function Sk(a) {
  6331. null !== xk && 0 === xk.tag && 0 === (K & 6) && Ik();
  6332. var b = K;
  6333. K |= 1;
  6334. var c = pk.transition, d = C;
  6335. try {
  6336. if (pk.transition = null, C = 1, a)
  6337. return a();
  6338. } finally {
  6339. C = d, pk.transition = c, K = b, 0 === (K & 6) && jg();
  6340. }
  6341. }
  6342. function Ij() {
  6343. gj = fj.current;
  6344. E(fj);
  6345. }
  6346. function Lk(a, b) {
  6347. a.finishedWork = null;
  6348. a.finishedLanes = 0;
  6349. var c = a.timeoutHandle;
  6350. -1 !== c && (a.timeoutHandle = -1, Gf(c));
  6351. if (null !== Y)
  6352. for (c = Y.return; null !== c; ) {
  6353. var d = c;
  6354. wg(d);
  6355. switch (d.tag) {
  6356. case 1:
  6357. d = d.type.childContextTypes;
  6358. null !== d && void 0 !== d && $f();
  6359. break;
  6360. case 3:
  6361. Jh();
  6362. E(Wf);
  6363. E(H);
  6364. Oh();
  6365. break;
  6366. case 5:
  6367. Lh(d);
  6368. break;
  6369. case 4:
  6370. Jh();
  6371. break;
  6372. case 13:
  6373. E(M);
  6374. break;
  6375. case 19:
  6376. E(M);
  6377. break;
  6378. case 10:
  6379. Rg(d.type._context);
  6380. break;
  6381. case 22:
  6382. case 23:
  6383. Ij();
  6384. }
  6385. c = c.return;
  6386. }
  6387. R = a;
  6388. Y = a = wh(a.current, null);
  6389. Z = gj = b;
  6390. T = 0;
  6391. qk = null;
  6392. sk = rk = hh = 0;
  6393. uk = tk = null;
  6394. if (null !== Wg) {
  6395. for (b = 0; b < Wg.length; b++)
  6396. if (c = Wg[b], d = c.interleaved, null !== d) {
  6397. c.interleaved = null;
  6398. var e = d.next, f2 = c.pending;
  6399. if (null !== f2) {
  6400. var g = f2.next;
  6401. f2.next = e;
  6402. d.next = g;
  6403. }
  6404. c.pending = d;
  6405. }
  6406. Wg = null;
  6407. }
  6408. return a;
  6409. }
  6410. function Nk(a, b) {
  6411. do {
  6412. var c = Y;
  6413. try {
  6414. Qg();
  6415. Ph.current = ai;
  6416. if (Sh) {
  6417. for (var d = N.memoizedState; null !== d; ) {
  6418. var e = d.queue;
  6419. null !== e && (e.pending = null);
  6420. d = d.next;
  6421. }
  6422. Sh = false;
  6423. }
  6424. Rh = 0;
  6425. P = O = N = null;
  6426. Th = false;
  6427. Uh = 0;
  6428. ok.current = null;
  6429. if (null === c || null === c.return) {
  6430. T = 1;
  6431. qk = b;
  6432. Y = null;
  6433. break;
  6434. }
  6435. a: {
  6436. var f2 = a, g = c.return, h = c, k2 = b;
  6437. b = Z;
  6438. h.flags |= 32768;
  6439. if (null !== k2 && "object" === typeof k2 && "function" === typeof k2.then) {
  6440. var l2 = k2, m2 = h, q2 = m2.tag;
  6441. if (0 === (m2.mode & 1) && (0 === q2 || 11 === q2 || 15 === q2)) {
  6442. var r2 = m2.alternate;
  6443. r2 ? (m2.updateQueue = r2.updateQueue, m2.memoizedState = r2.memoizedState, m2.lanes = r2.lanes) : (m2.updateQueue = null, m2.memoizedState = null);
  6444. }
  6445. var y2 = Vi(g);
  6446. if (null !== y2) {
  6447. y2.flags &= -257;
  6448. Wi(y2, g, h, f2, b);
  6449. y2.mode & 1 && Ti(f2, l2, b);
  6450. b = y2;
  6451. k2 = l2;
  6452. var n2 = b.updateQueue;
  6453. if (null === n2) {
  6454. var t2 = new Set();
  6455. t2.add(k2);
  6456. b.updateQueue = t2;
  6457. } else
  6458. n2.add(k2);
  6459. break a;
  6460. } else {
  6461. if (0 === (b & 1)) {
  6462. Ti(f2, l2, b);
  6463. uj();
  6464. break a;
  6465. }
  6466. k2 = Error(p(426));
  6467. }
  6468. } else if (I && h.mode & 1) {
  6469. var J2 = Vi(g);
  6470. if (null !== J2) {
  6471. 0 === (J2.flags & 65536) && (J2.flags |= 256);
  6472. Wi(J2, g, h, f2, b);
  6473. Jg(Ki(k2, h));
  6474. break a;
  6475. }
  6476. }
  6477. f2 = k2 = Ki(k2, h);
  6478. 4 !== T && (T = 2);
  6479. null === tk ? tk = [f2] : tk.push(f2);
  6480. f2 = g;
  6481. do {
  6482. switch (f2.tag) {
  6483. case 3:
  6484. f2.flags |= 65536;
  6485. b &= -b;
  6486. f2.lanes |= b;
  6487. var x2 = Oi(f2, k2, b);
  6488. fh(f2, x2);
  6489. break a;
  6490. case 1:
  6491. h = k2;
  6492. var w2 = f2.type, u2 = f2.stateNode;
  6493. if (0 === (f2.flags & 128) && ("function" === typeof w2.getDerivedStateFromError || null !== u2 && "function" === typeof u2.componentDidCatch && (null === Si || !Si.has(u2)))) {
  6494. f2.flags |= 65536;
  6495. b &= -b;
  6496. f2.lanes |= b;
  6497. var F2 = Ri(f2, h, b);
  6498. fh(f2, F2);
  6499. break a;
  6500. }
  6501. }
  6502. f2 = f2.return;
  6503. } while (null !== f2);
  6504. }
  6505. Tk(c);
  6506. } catch (na) {
  6507. b = na;
  6508. Y === c && null !== c && (Y = c = c.return);
  6509. continue;
  6510. }
  6511. break;
  6512. } while (1);
  6513. }
  6514. function Kk() {
  6515. var a = nk.current;
  6516. nk.current = ai;
  6517. return null === a ? ai : a;
  6518. }
  6519. function uj() {
  6520. if (0 === T || 3 === T || 2 === T)
  6521. T = 4;
  6522. null === R || 0 === (hh & 268435455) && 0 === (rk & 268435455) || Dk(R, Z);
  6523. }
  6524. function Jk(a, b) {
  6525. var c = K;
  6526. K |= 2;
  6527. var d = Kk();
  6528. if (R !== a || Z !== b)
  6529. vk = null, Lk(a, b);
  6530. do
  6531. try {
  6532. Uk();
  6533. break;
  6534. } catch (e) {
  6535. Nk(a, e);
  6536. }
  6537. while (1);
  6538. Qg();
  6539. K = c;
  6540. nk.current = d;
  6541. if (null !== Y)
  6542. throw Error(p(261));
  6543. R = null;
  6544. Z = 0;
  6545. return T;
  6546. }
  6547. function Uk() {
  6548. for (; null !== Y; )
  6549. Vk(Y);
  6550. }
  6551. function Mk() {
  6552. for (; null !== Y && !cc(); )
  6553. Vk(Y);
  6554. }
  6555. function Vk(a) {
  6556. var b = Wk(a.alternate, a, gj);
  6557. a.memoizedProps = a.pendingProps;
  6558. null === b ? Tk(a) : Y = b;
  6559. ok.current = null;
  6560. }
  6561. function Tk(a) {
  6562. var b = a;
  6563. do {
  6564. var c = b.alternate;
  6565. a = b.return;
  6566. if (0 === (b.flags & 32768)) {
  6567. if (c = Fj(c, b, gj), null !== c) {
  6568. Y = c;
  6569. return;
  6570. }
  6571. } else {
  6572. c = Jj(c, b);
  6573. if (null !== c) {
  6574. c.flags &= 32767;
  6575. Y = c;
  6576. return;
  6577. }
  6578. if (null !== a)
  6579. a.flags |= 32768, a.subtreeFlags = 0, a.deletions = null;
  6580. else {
  6581. T = 6;
  6582. Y = null;
  6583. return;
  6584. }
  6585. }
  6586. b = b.sibling;
  6587. if (null !== b) {
  6588. Y = b;
  6589. return;
  6590. }
  6591. Y = b = a;
  6592. } while (null !== b);
  6593. 0 === T && (T = 5);
  6594. }
  6595. function Qk(a, b, c) {
  6596. var d = C, e = pk.transition;
  6597. try {
  6598. pk.transition = null, C = 1, Xk(a, b, c, d);
  6599. } finally {
  6600. pk.transition = e, C = d;
  6601. }
  6602. return null;
  6603. }
  6604. function Xk(a, b, c, d) {
  6605. do
  6606. Ik();
  6607. while (null !== xk);
  6608. if (0 !== (K & 6))
  6609. throw Error(p(327));
  6610. c = a.finishedWork;
  6611. var e = a.finishedLanes;
  6612. if (null === c)
  6613. return null;
  6614. a.finishedWork = null;
  6615. a.finishedLanes = 0;
  6616. if (c === a.current)
  6617. throw Error(p(177));
  6618. a.callbackNode = null;
  6619. a.callbackPriority = 0;
  6620. var f2 = c.lanes | c.childLanes;
  6621. Bc(a, f2);
  6622. a === R && (Y = R = null, Z = 0);
  6623. 0 === (c.subtreeFlags & 2064) && 0 === (c.flags & 2064) || wk || (wk = true, Gk(hc, function() {
  6624. Ik();
  6625. return null;
  6626. }));
  6627. f2 = 0 !== (c.flags & 15990);
  6628. if (0 !== (c.subtreeFlags & 15990) || f2) {
  6629. f2 = pk.transition;
  6630. pk.transition = null;
  6631. var g = C;
  6632. C = 1;
  6633. var h = K;
  6634. K |= 4;
  6635. ok.current = null;
  6636. Pj(a, c);
  6637. ek(c, a);
  6638. Oe(Df);
  6639. dd = !!Cf;
  6640. Df = Cf = null;
  6641. a.current = c;
  6642. ik(c);
  6643. dc();
  6644. K = h;
  6645. C = g;
  6646. pk.transition = f2;
  6647. } else
  6648. a.current = c;
  6649. wk && (wk = false, xk = a, yk = e);
  6650. f2 = a.pendingLanes;
  6651. 0 === f2 && (Si = null);
  6652. mc(c.stateNode);
  6653. Ek(a, B());
  6654. if (null !== b)
  6655. for (d = a.onRecoverableError, c = 0; c < b.length; c++)
  6656. e = b[c], d(e.value, { componentStack: e.stack, digest: e.digest });
  6657. if (Pi)
  6658. throw Pi = false, a = Qi, Qi = null, a;
  6659. 0 !== (yk & 1) && 0 !== a.tag && Ik();
  6660. f2 = a.pendingLanes;
  6661. 0 !== (f2 & 1) ? a === Ak ? zk++ : (zk = 0, Ak = a) : zk = 0;
  6662. jg();
  6663. return null;
  6664. }
  6665. function Ik() {
  6666. if (null !== xk) {
  6667. var a = Dc(yk), b = pk.transition, c = C;
  6668. try {
  6669. pk.transition = null;
  6670. C = 16 > a ? 16 : a;
  6671. if (null === xk)
  6672. var d = false;
  6673. else {
  6674. a = xk;
  6675. xk = null;
  6676. yk = 0;
  6677. if (0 !== (K & 6))
  6678. throw Error(p(331));
  6679. var e = K;
  6680. K |= 4;
  6681. for (V = a.current; null !== V; ) {
  6682. var f2 = V, g = f2.child;
  6683. if (0 !== (V.flags & 16)) {
  6684. var h = f2.deletions;
  6685. if (null !== h) {
  6686. for (var k2 = 0; k2 < h.length; k2++) {
  6687. var l2 = h[k2];
  6688. for (V = l2; null !== V; ) {
  6689. var m2 = V;
  6690. switch (m2.tag) {
  6691. case 0:
  6692. case 11:
  6693. case 15:
  6694. Qj(8, m2, f2);
  6695. }
  6696. var q2 = m2.child;
  6697. if (null !== q2)
  6698. q2.return = m2, V = q2;
  6699. else
  6700. for (; null !== V; ) {
  6701. m2 = V;
  6702. var r2 = m2.sibling, y2 = m2.return;
  6703. Tj(m2);
  6704. if (m2 === l2) {
  6705. V = null;
  6706. break;
  6707. }
  6708. if (null !== r2) {
  6709. r2.return = y2;
  6710. V = r2;
  6711. break;
  6712. }
  6713. V = y2;
  6714. }
  6715. }
  6716. }
  6717. var n2 = f2.alternate;
  6718. if (null !== n2) {
  6719. var t2 = n2.child;
  6720. if (null !== t2) {
  6721. n2.child = null;
  6722. do {
  6723. var J2 = t2.sibling;
  6724. t2.sibling = null;
  6725. t2 = J2;
  6726. } while (null !== t2);
  6727. }
  6728. }
  6729. V = f2;
  6730. }
  6731. }
  6732. if (0 !== (f2.subtreeFlags & 2064) && null !== g)
  6733. g.return = f2, V = g;
  6734. else
  6735. b:
  6736. for (; null !== V; ) {
  6737. f2 = V;
  6738. if (0 !== (f2.flags & 2048))
  6739. switch (f2.tag) {
  6740. case 0:
  6741. case 11:
  6742. case 15:
  6743. Qj(9, f2, f2.return);
  6744. }
  6745. var x2 = f2.sibling;
  6746. if (null !== x2) {
  6747. x2.return = f2.return;
  6748. V = x2;
  6749. break b;
  6750. }
  6751. V = f2.return;
  6752. }
  6753. }
  6754. var w2 = a.current;
  6755. for (V = w2; null !== V; ) {
  6756. g = V;
  6757. var u2 = g.child;
  6758. if (0 !== (g.subtreeFlags & 2064) && null !== u2)
  6759. u2.return = g, V = u2;
  6760. else
  6761. b:
  6762. for (g = w2; null !== V; ) {
  6763. h = V;
  6764. if (0 !== (h.flags & 2048))
  6765. try {
  6766. switch (h.tag) {
  6767. case 0:
  6768. case 11:
  6769. case 15:
  6770. Rj(9, h);
  6771. }
  6772. } catch (na) {
  6773. W(h, h.return, na);
  6774. }
  6775. if (h === g) {
  6776. V = null;
  6777. break b;
  6778. }
  6779. var F2 = h.sibling;
  6780. if (null !== F2) {
  6781. F2.return = h.return;
  6782. V = F2;
  6783. break b;
  6784. }
  6785. V = h.return;
  6786. }
  6787. }
  6788. K = e;
  6789. jg();
  6790. if (lc && "function" === typeof lc.onPostCommitFiberRoot)
  6791. try {
  6792. lc.onPostCommitFiberRoot(kc, a);
  6793. } catch (na) {
  6794. }
  6795. d = true;
  6796. }
  6797. return d;
  6798. } finally {
  6799. C = c, pk.transition = b;
  6800. }
  6801. }
  6802. return false;
  6803. }
  6804. function Yk(a, b, c) {
  6805. b = Ki(c, b);
  6806. b = Oi(a, b, 1);
  6807. a = dh(a, b, 1);
  6808. b = L();
  6809. null !== a && (Ac(a, 1, b), Ek(a, b));
  6810. }
  6811. function W(a, b, c) {
  6812. if (3 === a.tag)
  6813. Yk(a, a, c);
  6814. else
  6815. for (; null !== b; ) {
  6816. if (3 === b.tag) {
  6817. Yk(b, a, c);
  6818. break;
  6819. } else if (1 === b.tag) {
  6820. var d = b.stateNode;
  6821. if ("function" === typeof b.type.getDerivedStateFromError || "function" === typeof d.componentDidCatch && (null === Si || !Si.has(d))) {
  6822. a = Ki(c, a);
  6823. a = Ri(b, a, 1);
  6824. b = dh(b, a, 1);
  6825. a = L();
  6826. null !== b && (Ac(b, 1, a), Ek(b, a));
  6827. break;
  6828. }
  6829. }
  6830. b = b.return;
  6831. }
  6832. }
  6833. function Ui(a, b, c) {
  6834. var d = a.pingCache;
  6835. null !== d && d.delete(b);
  6836. b = L();
  6837. a.pingedLanes |= a.suspendedLanes & c;
  6838. R === a && (Z & c) === c && (4 === T || 3 === T && (Z & 130023424) === Z && 500 > B() - gk ? Lk(a, 0) : sk |= c);
  6839. Ek(a, b);
  6840. }
  6841. function Zk(a, b) {
  6842. 0 === b && (0 === (a.mode & 1) ? b = 1 : (b = sc, sc <<= 1, 0 === (sc & 130023424) && (sc = 4194304)));
  6843. var c = L();
  6844. a = Zg(a, b);
  6845. null !== a && (Ac(a, b, c), Ek(a, c));
  6846. }
  6847. function vj(a) {
  6848. var b = a.memoizedState, c = 0;
  6849. null !== b && (c = b.retryLane);
  6850. Zk(a, c);
  6851. }
  6852. function ck(a, b) {
  6853. var c = 0;
  6854. switch (a.tag) {
  6855. case 13:
  6856. var d = a.stateNode;
  6857. var e = a.memoizedState;
  6858. null !== e && (c = e.retryLane);
  6859. break;
  6860. case 19:
  6861. d = a.stateNode;
  6862. break;
  6863. default:
  6864. throw Error(p(314));
  6865. }
  6866. null !== d && d.delete(b);
  6867. Zk(a, c);
  6868. }
  6869. var Wk;
  6870. Wk = function(a, b, c) {
  6871. if (null !== a)
  6872. if (a.memoizedProps !== b.pendingProps || Wf.current)
  6873. Ug = true;
  6874. else {
  6875. if (0 === (a.lanes & c) && 0 === (b.flags & 128))
  6876. return Ug = false, zj(a, b, c);
  6877. Ug = 0 !== (a.flags & 131072) ? true : false;
  6878. }
  6879. else
  6880. Ug = false, I && 0 !== (b.flags & 1048576) && ug(b, ng, b.index);
  6881. b.lanes = 0;
  6882. switch (b.tag) {
  6883. case 2:
  6884. var d = b.type;
  6885. jj(a, b);
  6886. a = b.pendingProps;
  6887. var e = Yf(b, H.current);
  6888. Tg(b, c);
  6889. e = Xh(null, b, d, a, e, c);
  6890. var f2 = bi();
  6891. b.flags |= 1;
  6892. "object" === typeof e && null !== e && "function" === typeof e.render && void 0 === e.$$typeof ? (b.tag = 1, b.memoizedState = null, b.updateQueue = null, Zf(d) ? (f2 = true, cg(b)) : f2 = false, b.memoizedState = null !== e.state && void 0 !== e.state ? e.state : null, ah(b), e.updater = nh, b.stateNode = e, e._reactInternals = b, rh(b, d, a, c), b = kj(null, b, d, true, f2, c)) : (b.tag = 0, I && f2 && vg(b), Yi(null, b, e, c), b = b.child);
  6893. return b;
  6894. case 16:
  6895. d = b.elementType;
  6896. a: {
  6897. jj(a, b);
  6898. a = b.pendingProps;
  6899. e = d._init;
  6900. d = e(d._payload);
  6901. b.type = d;
  6902. e = b.tag = $k(d);
  6903. a = Lg(d, a);
  6904. switch (e) {
  6905. case 0:
  6906. b = dj(null, b, d, a, c);
  6907. break a;
  6908. case 1:
  6909. b = ij(null, b, d, a, c);
  6910. break a;
  6911. case 11:
  6912. b = Zi(null, b, d, a, c);
  6913. break a;
  6914. case 14:
  6915. b = aj(null, b, d, Lg(d.type, a), c);
  6916. break a;
  6917. }
  6918. throw Error(p(
  6919. 306,
  6920. d,
  6921. ""
  6922. ));
  6923. }
  6924. return b;
  6925. case 0:
  6926. return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Lg(d, e), dj(a, b, d, e, c);
  6927. case 1:
  6928. return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Lg(d, e), ij(a, b, d, e, c);
  6929. case 3:
  6930. a: {
  6931. lj(b);
  6932. if (null === a)
  6933. throw Error(p(387));
  6934. d = b.pendingProps;
  6935. f2 = b.memoizedState;
  6936. e = f2.element;
  6937. bh(a, b);
  6938. gh(b, d, null, c);
  6939. var g = b.memoizedState;
  6940. d = g.element;
  6941. if (f2.isDehydrated)
  6942. if (f2 = { element: d, isDehydrated: false, cache: g.cache, pendingSuspenseBoundaries: g.pendingSuspenseBoundaries, transitions: g.transitions }, b.updateQueue.baseState = f2, b.memoizedState = f2, b.flags & 256) {
  6943. e = Ki(Error(p(423)), b);
  6944. b = mj(a, b, d, c, e);
  6945. break a;
  6946. } else if (d !== e) {
  6947. e = Ki(Error(p(424)), b);
  6948. b = mj(a, b, d, c, e);
  6949. break a;
  6950. } else
  6951. for (yg = Lf(b.stateNode.containerInfo.firstChild), xg = b, I = true, zg = null, c = Ch(b, null, d, c), b.child = c; c; )
  6952. c.flags = c.flags & -3 | 4096, c = c.sibling;
  6953. else {
  6954. Ig();
  6955. if (d === e) {
  6956. b = $i(a, b, c);
  6957. break a;
  6958. }
  6959. Yi(a, b, d, c);
  6960. }
  6961. b = b.child;
  6962. }
  6963. return b;
  6964. case 5:
  6965. return Kh(b), null === a && Eg(b), d = b.type, e = b.pendingProps, f2 = null !== a ? a.memoizedProps : null, g = e.children, Ef(d, e) ? g = null : null !== f2 && Ef(d, f2) && (b.flags |= 32), hj(a, b), Yi(a, b, g, c), b.child;
  6966. case 6:
  6967. return null === a && Eg(b), null;
  6968. case 13:
  6969. return pj(a, b, c);
  6970. case 4:
  6971. return Ih(b, b.stateNode.containerInfo), d = b.pendingProps, null === a ? b.child = Bh(b, null, d, c) : Yi(a, b, d, c), b.child;
  6972. case 11:
  6973. return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Lg(d, e), Zi(a, b, d, e, c);
  6974. case 7:
  6975. return Yi(a, b, b.pendingProps, c), b.child;
  6976. case 8:
  6977. return Yi(a, b, b.pendingProps.children, c), b.child;
  6978. case 12:
  6979. return Yi(a, b, b.pendingProps.children, c), b.child;
  6980. case 10:
  6981. a: {
  6982. d = b.type._context;
  6983. e = b.pendingProps;
  6984. f2 = b.memoizedProps;
  6985. g = e.value;
  6986. G(Mg, d._currentValue);
  6987. d._currentValue = g;
  6988. if (null !== f2)
  6989. if (He(f2.value, g)) {
  6990. if (f2.children === e.children && !Wf.current) {
  6991. b = $i(a, b, c);
  6992. break a;
  6993. }
  6994. } else
  6995. for (f2 = b.child, null !== f2 && (f2.return = b); null !== f2; ) {
  6996. var h = f2.dependencies;
  6997. if (null !== h) {
  6998. g = f2.child;
  6999. for (var k2 = h.firstContext; null !== k2; ) {
  7000. if (k2.context === d) {
  7001. if (1 === f2.tag) {
  7002. k2 = ch(-1, c & -c);
  7003. k2.tag = 2;
  7004. var l2 = f2.updateQueue;
  7005. if (null !== l2) {
  7006. l2 = l2.shared;
  7007. var m2 = l2.pending;
  7008. null === m2 ? k2.next = k2 : (k2.next = m2.next, m2.next = k2);
  7009. l2.pending = k2;
  7010. }
  7011. }
  7012. f2.lanes |= c;
  7013. k2 = f2.alternate;
  7014. null !== k2 && (k2.lanes |= c);
  7015. Sg(
  7016. f2.return,
  7017. c,
  7018. b
  7019. );
  7020. h.lanes |= c;
  7021. break;
  7022. }
  7023. k2 = k2.next;
  7024. }
  7025. } else if (10 === f2.tag)
  7026. g = f2.type === b.type ? null : f2.child;
  7027. else if (18 === f2.tag) {
  7028. g = f2.return;
  7029. if (null === g)
  7030. throw Error(p(341));
  7031. g.lanes |= c;
  7032. h = g.alternate;
  7033. null !== h && (h.lanes |= c);
  7034. Sg(g, c, b);
  7035. g = f2.sibling;
  7036. } else
  7037. g = f2.child;
  7038. if (null !== g)
  7039. g.return = f2;
  7040. else
  7041. for (g = f2; null !== g; ) {
  7042. if (g === b) {
  7043. g = null;
  7044. break;
  7045. }
  7046. f2 = g.sibling;
  7047. if (null !== f2) {
  7048. f2.return = g.return;
  7049. g = f2;
  7050. break;
  7051. }
  7052. g = g.return;
  7053. }
  7054. f2 = g;
  7055. }
  7056. Yi(a, b, e.children, c);
  7057. b = b.child;
  7058. }
  7059. return b;
  7060. case 9:
  7061. return e = b.type, d = b.pendingProps.children, Tg(b, c), e = Vg(e), d = d(e), b.flags |= 1, Yi(a, b, d, c), b.child;
  7062. case 14:
  7063. return d = b.type, e = Lg(d, b.pendingProps), e = Lg(d.type, e), aj(a, b, d, e, c);
  7064. case 15:
  7065. return cj(a, b, b.type, b.pendingProps, c);
  7066. case 17:
  7067. return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Lg(d, e), jj(a, b), b.tag = 1, Zf(d) ? (a = true, cg(b)) : a = false, Tg(b, c), ph(b, d, e), rh(b, d, e, c), kj(null, b, d, true, a, c);
  7068. case 19:
  7069. return yj(a, b, c);
  7070. case 22:
  7071. return ej(a, b, c);
  7072. }
  7073. throw Error(p(156, b.tag));
  7074. };
  7075. function Gk(a, b) {
  7076. return ac(a, b);
  7077. }
  7078. function al(a, b, c, d) {
  7079. this.tag = a;
  7080. this.key = c;
  7081. this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null;
  7082. this.index = 0;
  7083. this.ref = null;
  7084. this.pendingProps = b;
  7085. this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null;
  7086. this.mode = d;
  7087. this.subtreeFlags = this.flags = 0;
  7088. this.deletions = null;
  7089. this.childLanes = this.lanes = 0;
  7090. this.alternate = null;
  7091. }
  7092. function Bg(a, b, c, d) {
  7093. return new al(a, b, c, d);
  7094. }
  7095. function bj(a) {
  7096. a = a.prototype;
  7097. return !(!a || !a.isReactComponent);
  7098. }
  7099. function $k(a) {
  7100. if ("function" === typeof a)
  7101. return bj(a) ? 1 : 0;
  7102. if (void 0 !== a && null !== a) {
  7103. a = a.$$typeof;
  7104. if (a === Da)
  7105. return 11;
  7106. if (a === Ga)
  7107. return 14;
  7108. }
  7109. return 2;
  7110. }
  7111. function wh(a, b) {
  7112. var c = a.alternate;
  7113. null === c ? (c = Bg(a.tag, b, a.key, a.mode), c.elementType = a.elementType, c.type = a.type, c.stateNode = a.stateNode, c.alternate = a, a.alternate = c) : (c.pendingProps = b, c.type = a.type, c.flags = 0, c.subtreeFlags = 0, c.deletions = null);
  7114. c.flags = a.flags & 14680064;
  7115. c.childLanes = a.childLanes;
  7116. c.lanes = a.lanes;
  7117. c.child = a.child;
  7118. c.memoizedProps = a.memoizedProps;
  7119. c.memoizedState = a.memoizedState;
  7120. c.updateQueue = a.updateQueue;
  7121. b = a.dependencies;
  7122. c.dependencies = null === b ? null : { lanes: b.lanes, firstContext: b.firstContext };
  7123. c.sibling = a.sibling;
  7124. c.index = a.index;
  7125. c.ref = a.ref;
  7126. return c;
  7127. }
  7128. function yh(a, b, c, d, e, f2) {
  7129. var g = 2;
  7130. d = a;
  7131. if ("function" === typeof a)
  7132. bj(a) && (g = 1);
  7133. else if ("string" === typeof a)
  7134. g = 5;
  7135. else
  7136. a:
  7137. switch (a) {
  7138. case ya:
  7139. return Ah(c.children, e, f2, b);
  7140. case za:
  7141. g = 8;
  7142. e |= 8;
  7143. break;
  7144. case Aa:
  7145. return a = Bg(12, c, b, e | 2), a.elementType = Aa, a.lanes = f2, a;
  7146. case Ea:
  7147. return a = Bg(13, c, b, e), a.elementType = Ea, a.lanes = f2, a;
  7148. case Fa:
  7149. return a = Bg(19, c, b, e), a.elementType = Fa, a.lanes = f2, a;
  7150. case Ia:
  7151. return qj(c, e, f2, b);
  7152. default:
  7153. if ("object" === typeof a && null !== a)
  7154. switch (a.$$typeof) {
  7155. case Ba:
  7156. g = 10;
  7157. break a;
  7158. case Ca:
  7159. g = 9;
  7160. break a;
  7161. case Da:
  7162. g = 11;
  7163. break a;
  7164. case Ga:
  7165. g = 14;
  7166. break a;
  7167. case Ha:
  7168. g = 16;
  7169. d = null;
  7170. break a;
  7171. }
  7172. throw Error(p(130, null == a ? a : typeof a, ""));
  7173. }
  7174. b = Bg(g, c, b, e);
  7175. b.elementType = a;
  7176. b.type = d;
  7177. b.lanes = f2;
  7178. return b;
  7179. }
  7180. function Ah(a, b, c, d) {
  7181. a = Bg(7, a, d, b);
  7182. a.lanes = c;
  7183. return a;
  7184. }
  7185. function qj(a, b, c, d) {
  7186. a = Bg(22, a, d, b);
  7187. a.elementType = Ia;
  7188. a.lanes = c;
  7189. a.stateNode = { isHidden: false };
  7190. return a;
  7191. }
  7192. function xh(a, b, c) {
  7193. a = Bg(6, a, null, b);
  7194. a.lanes = c;
  7195. return a;
  7196. }
  7197. function zh(a, b, c) {
  7198. b = Bg(4, null !== a.children ? a.children : [], a.key, b);
  7199. b.lanes = c;
  7200. b.stateNode = { containerInfo: a.containerInfo, pendingChildren: null, implementation: a.implementation };
  7201. return b;
  7202. }
  7203. function bl(a, b, c, d, e) {
  7204. this.tag = b;
  7205. this.containerInfo = a;
  7206. this.finishedWork = this.pingCache = this.current = this.pendingChildren = null;
  7207. this.timeoutHandle = -1;
  7208. this.callbackNode = this.pendingContext = this.context = null;
  7209. this.callbackPriority = 0;
  7210. this.eventTimes = zc(0);
  7211. this.expirationTimes = zc(-1);
  7212. this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0;
  7213. this.entanglements = zc(0);
  7214. this.identifierPrefix = d;
  7215. this.onRecoverableError = e;
  7216. this.mutableSourceEagerHydrationData = null;
  7217. }
  7218. function cl(a, b, c, d, e, f2, g, h, k2) {
  7219. a = new bl(a, b, c, h, k2);
  7220. 1 === b ? (b = 1, true === f2 && (b |= 8)) : b = 0;
  7221. f2 = Bg(3, null, null, b);
  7222. a.current = f2;
  7223. f2.stateNode = a;
  7224. f2.memoizedState = { element: d, isDehydrated: c, cache: null, transitions: null, pendingSuspenseBoundaries: null };
  7225. ah(f2);
  7226. return a;
  7227. }
  7228. function dl(a, b, c) {
  7229. var d = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
  7230. return { $$typeof: wa, key: null == d ? null : "" + d, children: a, containerInfo: b, implementation: c };
  7231. }
  7232. function el(a) {
  7233. if (!a)
  7234. return Vf;
  7235. a = a._reactInternals;
  7236. a: {
  7237. if (Vb(a) !== a || 1 !== a.tag)
  7238. throw Error(p(170));
  7239. var b = a;
  7240. do {
  7241. switch (b.tag) {
  7242. case 3:
  7243. b = b.stateNode.context;
  7244. break a;
  7245. case 1:
  7246. if (Zf(b.type)) {
  7247. b = b.stateNode.__reactInternalMemoizedMergedChildContext;
  7248. break a;
  7249. }
  7250. }
  7251. b = b.return;
  7252. } while (null !== b);
  7253. throw Error(p(171));
  7254. }
  7255. if (1 === a.tag) {
  7256. var c = a.type;
  7257. if (Zf(c))
  7258. return bg(a, c, b);
  7259. }
  7260. return b;
  7261. }
  7262. function fl(a, b, c, d, e, f2, g, h, k2) {
  7263. a = cl(c, d, true, a, e, f2, g, h, k2);
  7264. a.context = el(null);
  7265. c = a.current;
  7266. d = L();
  7267. e = lh(c);
  7268. f2 = ch(d, e);
  7269. f2.callback = void 0 !== b && null !== b ? b : null;
  7270. dh(c, f2, e);
  7271. a.current.lanes = e;
  7272. Ac(a, e, d);
  7273. Ek(a, d);
  7274. return a;
  7275. }
  7276. function gl(a, b, c, d) {
  7277. var e = b.current, f2 = L(), g = lh(e);
  7278. c = el(c);
  7279. null === b.context ? b.context = c : b.pendingContext = c;
  7280. b = ch(f2, g);
  7281. b.payload = { element: a };
  7282. d = void 0 === d ? null : d;
  7283. null !== d && (b.callback = d);
  7284. a = dh(e, b, g);
  7285. null !== a && (mh(a, e, g, f2), eh(a, e, g));
  7286. return g;
  7287. }
  7288. function hl(a) {
  7289. a = a.current;
  7290. if (!a.child)
  7291. return null;
  7292. switch (a.child.tag) {
  7293. case 5:
  7294. return a.child.stateNode;
  7295. default:
  7296. return a.child.stateNode;
  7297. }
  7298. }
  7299. function il(a, b) {
  7300. a = a.memoizedState;
  7301. if (null !== a && null !== a.dehydrated) {
  7302. var c = a.retryLane;
  7303. a.retryLane = 0 !== c && c < b ? c : b;
  7304. }
  7305. }
  7306. function jl(a, b) {
  7307. il(a, b);
  7308. (a = a.alternate) && il(a, b);
  7309. }
  7310. function kl() {
  7311. return null;
  7312. }
  7313. var ll = "function" === typeof reportError ? reportError : function(a) {
  7314. console.error(a);
  7315. };
  7316. function ml(a) {
  7317. this._internalRoot = a;
  7318. }
  7319. nl.prototype.render = ml.prototype.render = function(a) {
  7320. var b = this._internalRoot;
  7321. if (null === b)
  7322. throw Error(p(409));
  7323. gl(a, b, null, null);
  7324. };
  7325. nl.prototype.unmount = ml.prototype.unmount = function() {
  7326. var a = this._internalRoot;
  7327. if (null !== a) {
  7328. this._internalRoot = null;
  7329. var b = a.containerInfo;
  7330. Sk(function() {
  7331. gl(null, a, null, null);
  7332. });
  7333. b[uf] = null;
  7334. }
  7335. };
  7336. function nl(a) {
  7337. this._internalRoot = a;
  7338. }
  7339. nl.prototype.unstable_scheduleHydration = function(a) {
  7340. if (a) {
  7341. var b = Hc();
  7342. a = { blockedOn: null, target: a, priority: b };
  7343. for (var c = 0; c < Qc.length && 0 !== b && b < Qc[c].priority; c++)
  7344. ;
  7345. Qc.splice(c, 0, a);
  7346. 0 === c && Vc(a);
  7347. }
  7348. };
  7349. function ol(a) {
  7350. return !(!a || 1 !== a.nodeType && 9 !== a.nodeType && 11 !== a.nodeType);
  7351. }
  7352. function pl(a) {
  7353. return !(!a || 1 !== a.nodeType && 9 !== a.nodeType && 11 !== a.nodeType && (8 !== a.nodeType || " react-mount-point-unstable " !== a.nodeValue));
  7354. }
  7355. function ql() {
  7356. }
  7357. function rl(a, b, c, d, e) {
  7358. if (e) {
  7359. if ("function" === typeof d) {
  7360. var f2 = d;
  7361. d = function() {
  7362. var a2 = hl(g);
  7363. f2.call(a2);
  7364. };
  7365. }
  7366. var g = fl(b, d, a, 0, null, false, false, "", ql);
  7367. a._reactRootContainer = g;
  7368. a[uf] = g.current;
  7369. sf(8 === a.nodeType ? a.parentNode : a);
  7370. Sk();
  7371. return g;
  7372. }
  7373. for (; e = a.lastChild; )
  7374. a.removeChild(e);
  7375. if ("function" === typeof d) {
  7376. var h = d;
  7377. d = function() {
  7378. var a2 = hl(k2);
  7379. h.call(a2);
  7380. };
  7381. }
  7382. var k2 = cl(a, 0, false, null, null, false, false, "", ql);
  7383. a._reactRootContainer = k2;
  7384. a[uf] = k2.current;
  7385. sf(8 === a.nodeType ? a.parentNode : a);
  7386. Sk(function() {
  7387. gl(b, k2, c, d);
  7388. });
  7389. return k2;
  7390. }
  7391. function sl(a, b, c, d, e) {
  7392. var f2 = c._reactRootContainer;
  7393. if (f2) {
  7394. var g = f2;
  7395. if ("function" === typeof e) {
  7396. var h = e;
  7397. e = function() {
  7398. var a2 = hl(g);
  7399. h.call(a2);
  7400. };
  7401. }
  7402. gl(b, g, a, e);
  7403. } else
  7404. g = rl(c, b, a, e, d);
  7405. return hl(g);
  7406. }
  7407. Ec = function(a) {
  7408. switch (a.tag) {
  7409. case 3:
  7410. var b = a.stateNode;
  7411. if (b.current.memoizedState.isDehydrated) {
  7412. var c = tc(b.pendingLanes);
  7413. 0 !== c && (Cc(b, c | 1), Ek(b, B()), 0 === (K & 6) && (Hj = B() + 500, jg()));
  7414. }
  7415. break;
  7416. case 13:
  7417. Sk(function() {
  7418. var b2 = Zg(a, 1);
  7419. if (null !== b2) {
  7420. var c2 = L();
  7421. mh(b2, a, 1, c2);
  7422. }
  7423. }), jl(a, 1);
  7424. }
  7425. };
  7426. Fc = function(a) {
  7427. if (13 === a.tag) {
  7428. var b = Zg(a, 134217728);
  7429. if (null !== b) {
  7430. var c = L();
  7431. mh(b, a, 134217728, c);
  7432. }
  7433. jl(a, 134217728);
  7434. }
  7435. };
  7436. Gc = function(a) {
  7437. if (13 === a.tag) {
  7438. var b = lh(a), c = Zg(a, b);
  7439. if (null !== c) {
  7440. var d = L();
  7441. mh(c, a, b, d);
  7442. }
  7443. jl(a, b);
  7444. }
  7445. };
  7446. Hc = function() {
  7447. return C;
  7448. };
  7449. Ic = function(a, b) {
  7450. var c = C;
  7451. try {
  7452. return C = a, b();
  7453. } finally {
  7454. C = c;
  7455. }
  7456. };
  7457. yb = function(a, b, c) {
  7458. switch (b) {
  7459. case "input":
  7460. bb(a, c);
  7461. b = c.name;
  7462. if ("radio" === c.type && null != b) {
  7463. for (c = a; c.parentNode; )
  7464. c = c.parentNode;
  7465. c = c.querySelectorAll("input[name=" + JSON.stringify("" + b) + '][type="radio"]');
  7466. for (b = 0; b < c.length; b++) {
  7467. var d = c[b];
  7468. if (d !== a && d.form === a.form) {
  7469. var e = Db(d);
  7470. if (!e)
  7471. throw Error(p(90));
  7472. Wa(d);
  7473. bb(d, e);
  7474. }
  7475. }
  7476. }
  7477. break;
  7478. case "textarea":
  7479. ib(a, c);
  7480. break;
  7481. case "select":
  7482. b = c.value, null != b && fb(a, !!c.multiple, b, false);
  7483. }
  7484. };
  7485. Gb = Rk;
  7486. Hb = Sk;
  7487. var tl = { usingClientEntryPoint: false, Events: [Cb, ue, Db, Eb, Fb, Rk] }, ul = { findFiberByHostInstance: Wc, bundleType: 0, version: "18.2.0", rendererPackageName: "react-dom" };
  7488. var vl = { bundleType: ul.bundleType, version: ul.version, rendererPackageName: ul.rendererPackageName, rendererConfig: ul.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: ua.ReactCurrentDispatcher, findHostInstanceByFiber: function(a) {
  7489. a = Zb(a);
  7490. return null === a ? null : a.stateNode;
  7491. }, findFiberByHostInstance: ul.findFiberByHostInstance || kl, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.2.0-next-9e3b772b8-20220608" };
  7492. if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
  7493. var wl = __REACT_DEVTOOLS_GLOBAL_HOOK__;
  7494. if (!wl.isDisabled && wl.supportsFiber)
  7495. try {
  7496. kc = wl.inject(vl), lc = wl;
  7497. } catch (a) {
  7498. }
  7499. }
  7500. reactDom_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = tl;
  7501. reactDom_production_min.createPortal = function(a, b) {
  7502. var c = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
  7503. if (!ol(b))
  7504. throw Error(p(200));
  7505. return dl(a, b, null, c);
  7506. };
  7507. reactDom_production_min.createRoot = function(a, b) {
  7508. if (!ol(a))
  7509. throw Error(p(299));
  7510. var c = false, d = "", e = ll;
  7511. null !== b && void 0 !== b && (true === b.unstable_strictMode && (c = true), void 0 !== b.identifierPrefix && (d = b.identifierPrefix), void 0 !== b.onRecoverableError && (e = b.onRecoverableError));
  7512. b = cl(a, 1, false, null, null, c, false, d, e);
  7513. a[uf] = b.current;
  7514. sf(8 === a.nodeType ? a.parentNode : a);
  7515. return new ml(b);
  7516. };
  7517. reactDom_production_min.findDOMNode = function(a) {
  7518. if (null == a)
  7519. return null;
  7520. if (1 === a.nodeType)
  7521. return a;
  7522. var b = a._reactInternals;
  7523. if (void 0 === b) {
  7524. if ("function" === typeof a.render)
  7525. throw Error(p(188));
  7526. a = Object.keys(a).join(",");
  7527. throw Error(p(268, a));
  7528. }
  7529. a = Zb(b);
  7530. a = null === a ? null : a.stateNode;
  7531. return a;
  7532. };
  7533. reactDom_production_min.flushSync = function(a) {
  7534. return Sk(a);
  7535. };
  7536. reactDom_production_min.hydrate = function(a, b, c) {
  7537. if (!pl(b))
  7538. throw Error(p(200));
  7539. return sl(null, a, b, true, c);
  7540. };
  7541. reactDom_production_min.hydrateRoot = function(a, b, c) {
  7542. if (!ol(a))
  7543. throw Error(p(405));
  7544. var d = null != c && c.hydratedSources || null, e = false, f2 = "", g = ll;
  7545. null !== c && void 0 !== c && (true === c.unstable_strictMode && (e = true), void 0 !== c.identifierPrefix && (f2 = c.identifierPrefix), void 0 !== c.onRecoverableError && (g = c.onRecoverableError));
  7546. b = fl(b, null, a, 1, null != c ? c : null, e, false, f2, g);
  7547. a[uf] = b.current;
  7548. sf(a);
  7549. if (d)
  7550. for (a = 0; a < d.length; a++)
  7551. c = d[a], e = c._getVersion, e = e(c._source), null == b.mutableSourceEagerHydrationData ? b.mutableSourceEagerHydrationData = [c, e] : b.mutableSourceEagerHydrationData.push(
  7552. c,
  7553. e
  7554. );
  7555. return new nl(b);
  7556. };
  7557. reactDom_production_min.render = function(a, b, c) {
  7558. if (!pl(b))
  7559. throw Error(p(200));
  7560. return sl(null, a, b, false, c);
  7561. };
  7562. reactDom_production_min.unmountComponentAtNode = function(a) {
  7563. if (!pl(a))
  7564. throw Error(p(40));
  7565. return a._reactRootContainer ? (Sk(function() {
  7566. sl(null, null, a, false, function() {
  7567. a._reactRootContainer = null;
  7568. a[uf] = null;
  7569. });
  7570. }), true) : false;
  7571. };
  7572. reactDom_production_min.unstable_batchedUpdates = Rk;
  7573. reactDom_production_min.unstable_renderSubtreeIntoContainer = function(a, b, c, d) {
  7574. if (!pl(c))
  7575. throw Error(p(200));
  7576. if (null == a || void 0 === a._reactInternals)
  7577. throw Error(p(38));
  7578. return sl(a, b, c, false, d);
  7579. };
  7580. reactDom_production_min.version = "18.2.0-next-9e3b772b8-20220608";
  7581. (function(module) {
  7582. function checkDCE() {
  7583. if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === "undefined" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== "function") {
  7584. return;
  7585. }
  7586. try {
  7587. __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
  7588. } catch (err) {
  7589. console.error(err);
  7590. }
  7591. }
  7592. {
  7593. checkDCE();
  7594. module.exports = reactDom_production_min;
  7595. }
  7596. })(reactDom);
  7597. var m = reactDomExports;
  7598. {
  7599. client.createRoot = m.createRoot;
  7600. client.hydrateRoot = m.hydrateRoot;
  7601. }
  7602. function useMutationObserver(target, callback, options) {
  7603. const observer = reactExports.useRef();
  7604. reactExports.useEffect(() => {
  7605. observer.current = new MutationObserver(callback);
  7606. const targetEl = target && ("current" in target ? target.current : target);
  7607. if (targetEl) {
  7608. observer.current.observe(targetEl, options);
  7609. }
  7610. return () => {
  7611. var _a;
  7612. (_a = observer.current) == null ? void 0 : _a.disconnect();
  7613. observer.current = void 0;
  7614. };
  7615. }, [target, callback, options]);
  7616. }
  7617. function queryChatContainer() {
  7618. var _a;
  7619. const CHAT_LIST_EL_CLASS = "flex flex-col text-sm";
  7620. return (_a = document.querySelector("main")) == null ? void 0 : _a.querySelector(className2Selector(CHAT_LIST_EL_CLASS));
  7621. }
  7622. function queryQuestionEls() {
  7623. var _a;
  7624. return Array.from(((_a = queryChatContainer()) == null ? void 0 : _a.children) ?? []).filter((child) => child.hasAttribute("data-testid")).filter((_, index) => index % 2 === 0);
  7625. }
  7626. function className2Selector(className) {
  7627. return className.split(" ").map((cl2) => "." + cl2).join("");
  7628. }
  7629. function useMountedCallbackValue(cb2) {
  7630. const value = reactExports.useRef();
  7631. const callback = reactExports.useCallback(cb2, [cb2]);
  7632. reactExports.useEffect(() => {
  7633. value.current = callback();
  7634. }, [callback]);
  7635. return value;
  7636. }
  7637. function useQuestionEls() {
  7638. const [questionEls, setQuestionEls] = reactExports.useState(queryQuestionEls());
  7639. const questions = reactExports.useMemo(
  7640. () => questionEls.map((q2) => {
  7641. var _a;
  7642. return (_a = q2.querySelector("[data-message-author-role]")) == null ? void 0 : _a.innerText;
  7643. }).filter((s) => !!s),
  7644. [questionEls]
  7645. );
  7646. const chatContainer = useMountedCallbackValue(queryChatContainer);
  7647. useMutationObserver(
  7648. chatContainer,
  7649. (mutationsList) => {
  7650. for (const mutation of mutationsList) {
  7651. if (mutation.type === "childList") {
  7652. setQuestionEls(queryQuestionEls());
  7653. }
  7654. }
  7655. },
  7656. {
  7657. childList: true
  7658. }
  7659. );
  7660. return { questionEls, questions };
  7661. }
  7662. function useEventListener(target, type, listener) {
  7663. const _listener = reactExports.useCallback(
  7664. (e) => {
  7665. requestAnimationFrame(() => {
  7666. listener(e);
  7667. });
  7668. },
  7669. [listener]
  7670. );
  7671. reactExports.useEffect(() => {
  7672. const targetEl = target && ("current" in target ? target.current : target);
  7673. if (!targetEl) {
  7674. return;
  7675. }
  7676. targetEl.addEventListener(type, _listener);
  7677. return () => {
  7678. targetEl.removeEventListener(type, _listener);
  7679. };
  7680. }, [_listener, target, type]);
  7681. }
  7682. const isSharePage = location.pathname.startsWith("/share/");
  7683. const scrollMarginTop = 0;
  7684. const topThreshold = isSharePage ? scrollMarginTop : 0;
  7685. function useActiveQuestionIndex() {
  7686. const [activeIndex, setActiveIndex] = reactExports.useState(null);
  7687. const { questionEls } = useQuestionEls();
  7688. const scrollContainer = useMountedCallbackValue(() => {
  7689. var _a;
  7690. return (_a = queryChatContainer()) == null ? void 0 : _a.parentElement;
  7691. });
  7692. const findActiveIndex = reactExports.useCallback(() => {
  7693. const index = questionEls.findIndex((el2) => el2.getBoundingClientRect().top >= topThreshold);
  7694. if (index > -1) {
  7695. setActiveIndex(index);
  7696. }
  7697. }, [questionEls]);
  7698. useEventListener(scrollContainer, "scroll", findActiveIndex);
  7699. reactExports.useEffect(() => {
  7700. findActiveIndex();
  7701. }, [findActiveIndex]);
  7702. return activeIndex;
  7703. }
  7704. function useHovering() {
  7705. const elRef = reactExports.useRef(null);
  7706. const [hovering, setHovering] = reactExports.useState(false);
  7707. useEventListener(elRef, "mouseenter", () => {
  7708. setHovering(true);
  7709. });
  7710. useEventListener(elRef, "mouseleave", () => {
  7711. setHovering(false);
  7712. });
  7713. return [elRef, hovering];
  7714. }
  7715. function App() {
  7716. const { questions, questionEls } = useQuestionEls();
  7717. const activeQuestionIndex = useActiveQuestionIndex();
  7718. const [elRef, hovering] = useHovering();
  7719. const [open, setOpen] = reactExports.useState(true);
  7720. const show = reactExports.useMemo(() => open || hovering, [hovering, open]);
  7721. const handleClickList = (event) => {
  7722. var _a;
  7723. if (event.target instanceof HTMLLIElement) {
  7724. const targetIndex = Number(event.target.dataset.index);
  7725. if (!isSharePage) {
  7726. questionEls.forEach((q2) => {
  7727. q2.style.scrollMarginTop = "56px";
  7728. });
  7729. }
  7730. (_a = questionEls == null ? void 0 : questionEls[targetIndex]) == null ? void 0 : _a.scrollIntoView({ behavior: "smooth" });
  7731. }
  7732. };
  7733. const handleClickEye = () => {
  7734. setOpen(!open);
  7735. };
  7736. return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
  7737. /* @__PURE__ */ jsxRuntimeExports.jsx("style", { children: `/* layer: preflights */
  7738. *,::before,::after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgba(0,0,0,0);--un-ring-shadow:0 0 rgba(0,0,0,0);--un-shadow-inset: ;--un-shadow:0 0 rgba(0,0,0,0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,0.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: ;}::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgba(0,0,0,0);--un-ring-shadow:0 0 rgba(0,0,0,0);--un-shadow-inset: ;--un-shadow:0 0 rgba(0,0,0,0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,0.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: ;}
  7739. /* layer: shortcuts */
  7740. [scrollbar~="\\~"]::-webkit-scrollbar{width:var(--scrollbar-width);height:var(--scrollbar-height);}
  7741. [scrollbar~="\\~"]{overflow:auto;scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track);--scrollbar-track:#f5f5f5;--scrollbar-thumb:#ddd;--scrollbar-width:8px;--scrollbar-height:8px;--scrollbar-track-radius:4px;--scrollbar-thumb-radius:4px;}
  7742. [scrollbar~="rounded"]::-webkit-scrollbar-thumb{border-radius:var(--scrollbar-thumb-radius);}
  7743. [scrollbar~="rounded"]::-webkit-scrollbar-track{border-radius:var(--scrollbar-track-radius);}
  7744. [scrollbar~="\\~"]::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);}
  7745. [scrollbar~="\\~"]::-webkit-scrollbar-track{background-color:var(--scrollbar-track);}
  7746. /* layer: default */
  7747. .after\\:absolute::after{position:absolute;}
  7748. .relative{position:relative;}
  7749. .after\\:bottom-0::after{bottom:0;}
  7750. .after\\:right-4px::after{right:4px;}
  7751. .box-border{box-sizing:border-box;}
  7752. .after\\:h-\\.7em::after{height:0.7em;}
  7753. .after\\:w-full::after,
  7754. .w-full{width:100%;}
  7755. .max-h-\\[var\\(--app-max-list-height\\)\\]{max-height:var(--app-max-list-height);}
  7756. .w-\\[var\\(--app-width\\)\\]{width:var(--app-width);}
  7757. .w-0{width:0;}
  7758. .w-22px{width:22px;}
  7759. .w-4px{width:4px;}
  7760. .flex{display:flex;}
  7761. .cursor-pointer{cursor:pointer;}
  7762. .select-none{-webkit-user-select:none;user-select:none;}
  7763. .list-disc{list-style-type:disc;}
  7764. .list-inside{list-style-position:inside;}
  7765. .justify-between{justify-content:space-between;}
  7766. .overflow-hidden{overflow:hidden;}
  7767. .overflow-y-auto{overflow-y:auto;}
  7768. .text-ellipsis{text-overflow:ellipsis;}
  7769. .whitespace-nowrap{white-space:nowrap;}
  7770. .rounded{border-radius:0.25rem;}
  7771. .after\\:from-white::after{--un-gradient-from-position:0%;--un-gradient-from:rgba(255,255,255,var(--un-from-opacity, 1)) var(--un-gradient-from-position);--un-gradient-to-position:100%;--un-gradient-to:rgba(255,255,255,0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);}
  7772. .after\\:to-white::after{--un-gradient-to-position:100%;--un-gradient-to:rgba(255,255,255,var(--un-to-opacity, 1)) var(--un-gradient-to-position);}
  7773. .after\\:from-opacity-90::after{--un-from-opacity:0.9;}
  7774. .after\\:to-opacity-20::after{--un-to-opacity:0.2;}
  7775. .after\\:bg-gradient-to-t::after{--un-gradient-shape:to top;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));}
  7776. .py-1{padding-top:0.25rem;padding-bottom:0.25rem;}
  7777. .last-of-type\\:pb-\\.7em:last-of-type{padding-bottom:0.7em;}
  7778. .pb-2{padding-bottom:0.5rem;}
  7779. .pl-8px{padding-left:8px;}
  7780. .pr-1{padding-right:0.25rem;}
  7781. [text~="\\31 2px"]{font-size:12px;}
  7782. .leading-snug{line-height:1.375;}
  7783. .hover\\:text-brand-primary:hover,
  7784. [text~="brand-primary"]{--un-text-opacity:1;color:rgba(25,195,125,var(--un-text-opacity));}
  7785. [text~="\\$\\{activeQuestionIndex"]{color:var(--\\{activeQuestionIndex);}
  7786. [text~="gray-primary"]{--un-text-opacity:1;color:rgba(110,110,128,var(--un-text-opacity));}
  7787. .opacity-50{opacity:0.5;}
  7788. .grayscale{--un-grayscale:grayscale(1);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia);}
  7789. .transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
  7790. .transition-width{transition-property:width;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
  7791. .after\\:content-\\[\\'\\'\\]::after{content:'';}
  7792. [scrollbar~="hover\\:thumb-color-gray-300"]:hover{--un-scrollbar-thumb-opacity:1;--scrollbar-thumb:rgba(209,213,219,var(--un-scrollbar-thumb-opacity));}
  7793. [scrollbar~="thumb-color-transparent"]{--scrollbar-thumb:transparent;}
  7794. [scrollbar~="track-color-transparent"]{--scrollbar-track:transparent;}
  7795. [scrollbar~="w-0"]{--scrollbar-width:0rem;}
  7796. [scrollbar~="w-4px"]{--scrollbar-width:4px;}` }),
  7797. /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `transition-width ${show ? "w-[var(--app-width)]" : "w-22px"} `, children: [
  7798. /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex select-none justify-between pb-2", children: [
  7799. /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "overflow-hidden whitespace-nowrap", children: "📄 Questions" }),
  7800. /* @__PURE__ */ jsxRuntimeExports.jsx(
  7801. "div",
  7802. {
  7803. className: `cursor-pointer ${show ? "" : "opacity-50 grayscale"} `,
  7804. onClick: handleClickEye,
  7805. title: show ? "hide" : "show",
  7806. children: "👁️"
  7807. }
  7808. )
  7809. ] }),
  7810. /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "relative after:content-[''] after:absolute after:bottom-0 after:right-4px after:w-full after:h-.7em after:bg-gradient-to-t after:from-white after:from-opacity-90 after:to-white after:to-opacity-20", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
  7811. "ul",
  7812. {
  7813. ref: elRef,
  7814. className: "max-h-[var(--app-max-list-height)] list-inside list-disc overflow-y-auto ",
  7815. scrollbar: `~ rounded transition-all thumb-color-transparent hover:thumb-color-gray-300 track-color-transparent ${show ? "w-4px" : "w-0"}`,
  7816. onClick: handleClickList,
  7817. children: questions.map((q2, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(
  7818. "li",
  7819. {
  7820. className: `hover:text-brand-primary box-border w-full cursor-pointer overflow-hidden whitespace-nowrap py-1 pr-1 leading-snug last-of-type:pb-.7em ${show ? "text-ellipsis" : "pl-8px"}`,
  7821. text: `12px ${activeQuestionIndex === index ? "brand-primary" : "gray-primary"}`,
  7822. "data-index": index,
  7823. children: q2
  7824. },
  7825. index
  7826. ))
  7827. }
  7828. ) })
  7829. ] })
  7830. ] });
  7831. }
  7832. const baseStyle = "*{margin:0;padding:0}:host{--app-width: 12vw;--app-max-list-height: 50vh;position:fixed;top:20%;right:16px;padding:8px 8px 0;border-radius:6px;background:black}\n";
  7833. const DOM_MARK = "data-chatgpt-question-directory";
  7834. function mount(el2) {
  7835. el2.attachShadow({ mode: "open" });
  7836. const shadowRoot = el2.shadowRoot;
  7837. const sheet = new CSSStyleSheet();
  7838. sheet.replaceSync(baseStyle);
  7839. shadowRoot.adoptedStyleSheets = [sheet];
  7840. client.createRoot(shadowRoot).render(
  7841. /* @__PURE__ */ jsxRuntimeExports.jsx(React.StrictMode, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(App, {}) })
  7842. );
  7843. }
  7844. function load() {
  7845. if (document.querySelector(`[${DOM_MARK}]`)) {
  7846. return;
  7847. }
  7848. const dom = document.createElement("div");
  7849. dom.setAttribute(DOM_MARK, "");
  7850. mount(dom);
  7851. document.body.append(dom);
  7852. }
  7853. function remove() {
  7854. const target = document.querySelector(`[${DOM_MARK}]`);
  7855. if (!target) {
  7856. return;
  7857. }
  7858. target.remove();
  7859. }
  7860. let loaded = false;
  7861. let conversationId = null;
  7862. setInterval(() => {
  7863. const latestConversationId = getConversationIdByUrl();
  7864. const questionEls = (queryChatContainer() && queryQuestionEls()) ?? [];
  7865. const hasQuestion = questionEls.length > 0;
  7866. if (conversationId !== latestConversationId || !hasQuestion) {
  7867. conversationId = latestConversationId;
  7868. remove();
  7869. loaded = false;
  7870. }
  7871. if (!loaded && hasQuestion) {
  7872. load();
  7873. loaded = true;
  7874. if (isSharePage) {
  7875. questionEls.forEach((q2) => {
  7876. q2.style.scrollMarginTop = scrollMarginTop + "px";
  7877. });
  7878. }
  7879. }
  7880. }, 600);
  7881. function getConversationIdByUrl() {
  7882. const res = location.pathname.match(/\/c\/(.*)/);
  7883. return (res == null ? void 0 : res[1]) ?? null;
  7884. }
  7885.  
  7886. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址