ChatGPT 问题导航侧边栏

为ChatGPT官网提供了一个便捷的问题侧边栏目录。它能够自动搜集当前会话页面的用户提的问题,并展示在侧边栏上,提供快速导航到历史问题的位置的能力。

目前为 2023-05-30 提交的版本。查看 最新版本

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