AI Question Navigation sidebar

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

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

QingJ © 2025

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