From 897f2310578d07b27f32e17971264e985477ccc8 Mon Sep 17 00:00:00 2001 From: alexander-sei Date: Tue, 17 Mar 2026 13:00:43 +0100 Subject: [PATCH 1/3] Add custom AI --- .github/workflows/update-trieve-dataset.yml | 39 - .gitignore | 3 +- app/api/chat/route.ts | 161 + app/api/mcp/route.ts | 131 + lib/search-docs.ts | 112 + package.json | 14 +- public/vendor/bytebellai/index.js | 57526 ---------------- scripts/__tests__/upload-to-trieve.test.js | 373 - scripts/fetch-bytebellai.js | 94 - scripts/upload-to-trieve.js | 335 - src/components/AIAssistant/AIAssistant.tsx | 245 + .../AIAssistant/AIAssistantIcon.tsx | 14 + src/components/AIAssistant/ai-assistant.css | 565 + .../AskAIAssistant/AskAIAssistant.tsx | 30 - src/components/AskAIAssistant/index.ts | 1 - .../ContextualMenu/ContextualMenu.tsx | 275 + .../ContextualMenu/contextual-menu.css | 165 + src/components/index.ts | 3 +- src/providers/DocsProviders.tsx | 10 +- src/vendor/bytebellai/index.d.ts | 2 - src/vendor/bytebellai/index.js | 56745 +++++++++++++++ src/vendor/bytebellai/loader.ts | 4 - types/bytebellai.d.ts | 12 - yarn.lock | 606 +- 24 files changed, 59034 insertions(+), 58431 deletions(-) delete mode 100644 .github/workflows/update-trieve-dataset.yml create mode 100644 app/api/chat/route.ts create mode 100644 app/api/mcp/route.ts create mode 100644 lib/search-docs.ts delete mode 100644 public/vendor/bytebellai/index.js delete mode 100644 scripts/__tests__/upload-to-trieve.test.js delete mode 100644 scripts/fetch-bytebellai.js delete mode 100644 scripts/upload-to-trieve.js create mode 100644 src/components/AIAssistant/AIAssistant.tsx create mode 100644 src/components/AIAssistant/AIAssistantIcon.tsx create mode 100644 src/components/AIAssistant/ai-assistant.css delete mode 100644 src/components/AskAIAssistant/AskAIAssistant.tsx delete mode 100644 src/components/AskAIAssistant/index.ts create mode 100644 src/components/ContextualMenu/ContextualMenu.tsx create mode 100644 src/components/ContextualMenu/contextual-menu.css delete mode 100644 src/vendor/bytebellai/index.d.ts create mode 100644 src/vendor/bytebellai/index.js delete mode 100644 src/vendor/bytebellai/loader.ts delete mode 100644 types/bytebellai.d.ts diff --git a/.github/workflows/update-trieve-dataset.yml b/.github/workflows/update-trieve-dataset.yml deleted file mode 100644 index 575ff4ac..00000000 --- a/.github/workflows/update-trieve-dataset.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Update Trieve Dataset - -on: - # push: - # branches: [main] - # paths: - # - 'content/**' - # - 'app/**' - # - 'scripts/**' - workflow_dispatch: - -jobs: - update-trieve: - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version-file: '.nvmrc' - cache: 'yarn' - - - name: Install dependencies - run: yarn install - - - name: Build Next.js app - run: yarn build - - - name: Run scrape-docs script - run: yarn scrape-docs - - - name: Upload to Trieve - run: yarn upload-to-trieve - env: - TRIEVE_API_KEY: ${{ secrets.TRIEVE_API_KEY }} - TRIEVE_DATASET_ID: ${{ secrets.TRIEVE_DATASET_ID }} diff --git a/.gitignore b/.gitignore index b3cad116..fd6257b8 100644 --- a/.gitignore +++ b/.gitignore @@ -20,6 +20,5 @@ scraped-docs/ # Per-page .md files generated at build time (Solana-style LLM access) /public/**/*.md public/_seo-audit.json -src/vendor/bytebellai/index.js -src/vendor/bytebellai/style.css src/data/ecosystem-cache.json +.env.local diff --git a/app/api/chat/route.ts b/app/api/chat/route.ts new file mode 100644 index 00000000..687638b0 --- /dev/null +++ b/app/api/chat/route.ts @@ -0,0 +1,161 @@ +import { streamText, tool, jsonSchema, stepCountIs } from 'ai'; +import type { CoreMessage } from 'ai'; +import { anthropic } from '@ai-sdk/anthropic'; +import { NextRequest } from 'next/server'; +import { searchDocs } from '@/lib/search-docs'; + +const SYSTEM_PROMPT = `You are the Sei Documentation AI Assistant. You help developers building on Sei, the fastest EVM blockchain with 400ms finality and parallel execution. + +When answering questions: +- Search the documentation to find accurate, up-to-date information before responding. +- Always cite your sources by including the page URL in your response. +- Provide code examples when relevant, using the correct syntax for the language. +- If you cannot find relevant information in the docs, say so honestly. +- Be concise and direct. Developers prefer actionable answers. +- When referring to Sei-specific concepts, use precise terminology (e.g., "Twin Turbo Consensus", "parallel EVM", "SeiDB"). + +Key context: +- Sei mainnet: Chain ID 1329, testnet: Chain ID 1328 +- RPC: https://evm-rpc.sei-apis.com (mainnet), https://evm-rpc-testnet.sei-apis.com (testnet) +- Block time: 400ms finality +- Full EVM compatibility — standard Solidity, Hardhat, Foundry, wagmi, ethers.js work unmodified`; + +async function getPageContent(pagePath: string): Promise { + try { + const baseUrl = process.env.NEXT_PUBLIC_BASE_URL || 'https://docs.sei.io'; + const cleanPath = pagePath.replace(/^\//, '').replace(/\.md$/, ''); + const res = await fetch(`${baseUrl}/${cleanPath}.md`, { next: { revalidate: 3600 } }); + if (!res.ok) return ''; + return await res.text(); + } catch { + return ''; + } +} + +function getTextContent(msg: any): string { + if (typeof msg.content === 'string') return msg.content; + if (Array.isArray(msg.parts)) { + return msg.parts + .filter((p: any) => p.type === 'text') + .map((p: any) => p.text) + .join(''); + } + if (Array.isArray(msg.content)) { + return msg.content + .filter((p: any) => p.type === 'text') + .map((p: any) => p.text) + .join(''); + } + return ''; +} + +function getToolInvocations(msg: any): any[] { + if (Array.isArray(msg.parts)) { + return msg.parts.filter((p: any) => p.type === 'tool-invocation').map((p: any) => p.toolInvocation); + } + if (Array.isArray(msg.toolInvocations)) { + return msg.toolInvocations; + } + return []; +} + +function uiToCoreMessages(uiMessages: any[]): CoreMessage[] { + const result: CoreMessage[] = []; + for (const msg of uiMessages) { + if (msg.role === 'user') { + const text = getTextContent(msg); + if (text) result.push({ role: 'user', content: text }); + } else if (msg.role === 'assistant') { + const text = getTextContent(msg); + const toolInvocations = getToolInvocations(msg); + + if (toolInvocations.length > 0) { + const contentParts: any[] = []; + if (text) contentParts.push({ type: 'text', text }); + for (const ti of toolInvocations) { + contentParts.push({ + type: 'tool-call', + toolCallId: ti.toolCallId, + toolName: ti.toolName, + args: ti.args + }); + } + result.push({ role: 'assistant', content: contentParts }); + + const toolResults = toolInvocations.filter((ti: any) => ti.state === 'result'); + if (toolResults.length > 0) { + result.push({ + role: 'tool', + content: toolResults.map((ti: any) => ({ + type: 'tool-result', + toolCallId: ti.toolCallId, + result: ti.result + })) + }); + } + } else if (text) { + result.push({ role: 'assistant', content: text }); + } + } + } + return result; +} + +export async function POST(req: NextRequest) { + const apiKey = process.env.ANTHROPIC_API_KEY; + if (!apiKey) { + return new Response(JSON.stringify({ error: 'ANTHROPIC_API_KEY not configured' }), { + status: 503, + headers: { 'Content-Type': 'application/json' } + }); + } + + const body = await req.json(); + const { messages, currentPageUrl } = body; + + if (!messages || !Array.isArray(messages)) { + return new Response(JSON.stringify({ error: 'No messages provided' }), { + status: 400, + headers: { 'Content-Type': 'application/json' } + }); + } + + let systemPrompt = SYSTEM_PROMPT; + if (currentPageUrl) { + const pageContent = await getPageContent(currentPageUrl); + if (pageContent) { + systemPrompt += `\n\nThe user is currently viewing: ${currentPageUrl}\nPage content:\n${pageContent.slice(0, 4000)}`; + } + } + + const coreMessages = uiToCoreMessages(messages); + + const result = streamText({ + model: anthropic('claude-haiku-4-5-20251001'), + system: systemPrompt, + messages: coreMessages, + tools: { + search_docs: tool({ + description: + 'Search Sei documentation for relevant content. Use this to find accurate answers to user questions about Sei blockchain, EVM development, smart contracts, node operations, and more.', + inputSchema: jsonSchema<{ query: string }>({ + type: 'object', + properties: { + query: { type: 'string', description: 'The search query to find relevant documentation' } + }, + required: ['query'] + }), + execute: async ({ query }) => { + const results = await searchDocs(query); + if (results.length === 0) { + return 'No results found in the documentation for this query.'; + } + return results.map((r) => `**${r.title}** (${r.url})\nRelevance: ${(r.score * 100).toFixed(0)}%\n${r.content}`).join('\n\n---\n\n'); + } + }) + }, + stopWhen: stepCountIs(5) + }); + + return result.toUIMessageStreamResponse(); +} diff --git a/app/api/mcp/route.ts b/app/api/mcp/route.ts new file mode 100644 index 00000000..f6b9e09d --- /dev/null +++ b/app/api/mcp/route.ts @@ -0,0 +1,131 @@ +import { NextRequest, NextResponse } from 'next/server'; +import { searchDocs } from '@/lib/search-docs'; + +const DOCS_BASE_URL = 'https://docs.sei.io'; + +// MCP HTTP Streamable transport — handles the MCP protocol over HTTP +// See: https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http +export async function GET() { + // Server metadata endpoint + return NextResponse.json({ + name: 'sei-docs', + version: '1.0.0', + protocolVersion: '2025-03-26', + capabilities: { + tools: { listChanged: false } + }, + serverInfo: { + name: 'Sei Documentation', + version: '1.0.0' + } + }); +} + +export async function POST(req: NextRequest) { + const body = await req.json(); + const { method, id, params } = body; + + if (method === 'initialize') { + return NextResponse.json({ + jsonrpc: '2.0', + id, + result: { + protocolVersion: '2025-03-26', + capabilities: { + tools: { listChanged: false } + }, + serverInfo: { + name: 'Sei Documentation', + version: '1.0.0' + } + } + }); + } + + if (method === 'tools/list') { + return NextResponse.json({ + jsonrpc: '2.0', + id, + result: { + tools: [ + { + name: 'search_sei_docs', + description: + 'Search Sei blockchain documentation. Returns relevant documentation pages about Sei EVM development, smart contracts, node operations, AI tooling, and more.', + inputSchema: { + type: 'object', + properties: { + query: { + type: 'string', + description: 'The search query to find relevant Sei documentation' + } + }, + required: ['query'] + } + } + ] + } + }); + } + + if (method === 'tools/call') { + const toolName = params?.name; + const toolArgs = params?.arguments; + + if (toolName === 'search_sei_docs') { + const query = toolArgs?.query; + if (!query) { + return NextResponse.json({ + jsonrpc: '2.0', + id, + result: { + content: [{ type: 'text', text: 'Error: query parameter is required' }], + isError: true + } + }); + } + + const results = await searchDocs(query, 8); + + if (results.length === 0) { + return NextResponse.json({ + jsonrpc: '2.0', + id, + result: { + content: [ + { + type: 'text', + text: `No results found for "${query}". You can browse docs at ${DOCS_BASE_URL}` + } + ] + } + }); + } + + const text = results + .map((r: any, i: number) => `## ${i + 1}. ${r.title}\nURL: ${r.url}\nRelevance: ${(r.score * 100).toFixed(0)}%\n\n${r.content}`) + .join('\n\n---\n\n'); + + return NextResponse.json({ + jsonrpc: '2.0', + id, + result: { + content: [{ type: 'text', text }] + } + }); + } + + return NextResponse.json({ + jsonrpc: '2.0', + id, + error: { code: -32601, message: `Unknown tool: ${toolName}` } + }); + } + + // Unsupported method + return NextResponse.json({ + jsonrpc: '2.0', + id, + error: { code: -32601, message: `Method not found: ${method}` } + }); +} diff --git a/lib/search-docs.ts b/lib/search-docs.ts new file mode 100644 index 00000000..3fcb9a9c --- /dev/null +++ b/lib/search-docs.ts @@ -0,0 +1,112 @@ +import { readdir, readFile } from 'fs/promises'; +import { join } from 'path'; + +interface DocEntry { + id: string; + title: string; + url: string; + description: string; + keywords: string[]; + content: string; +} + +interface SearchResult { + title: string; + url: string; + description: string; + content: string; + score: number; +} + +const SCRAPED_DOCS_DIR = join(process.cwd(), 'public', '_scraped-docs'); + +let docsCache: DocEntry[] | null = null; + +async function loadDocs(): Promise { + if (docsCache) return docsCache; + + const files = await readdir(SCRAPED_DOCS_DIR); + const mdxFiles = files.filter((f) => f.endsWith('.mdx')); + + const docs: DocEntry[] = []; + for (const fileName of mdxFiles) { + const raw = await readFile(join(SCRAPED_DOCS_DIR, fileName), 'utf8'); + + const titleMatch = raw.match(/^title:\s*"(.+?)"/m); + const urlMatch = raw.match(/^url:\s*"(.+?)"/m); + const descMatch = raw.match(/^description:\s*"(.+?)"/m); + const keywordsMatch = raw.match(/^keywords:\n((?:\s+-\s*".+?"\n?)+)/m); + + const keywords: string[] = []; + if (keywordsMatch) { + for (const m of keywordsMatch[1].matchAll(/"(.+?)"/g)) { + keywords.push(m[1].toLowerCase()); + } + } + + const body = raw.replace(/^---[\s\S]*?---\s*/, '').trim(); + + docs.push({ + id: fileName.replace('.mdx', ''), + title: titleMatch?.[1] ?? fileName.replace('.mdx', ''), + url: urlMatch?.[1] ?? `https://docs.sei.io/${fileName.replace('.mdx', '')}`, + description: descMatch?.[1] ?? '', + keywords, + content: body + }); + } + + docsCache = docs; + return docs; +} + +function tokenize(text: string): string[] { + return text + .toLowerCase() + .replace(/[^\w\s]/g, ' ') + .split(/\s+/) + .filter((w) => w.length > 1); +} + +export async function searchDocs(query: string, topK = 5): Promise { + const docs = await loadDocs(); + const queryTokens = tokenize(query); + + if (queryTokens.length === 0) return []; + + const scored = docs.map((doc) => { + const titleLower = doc.title.toLowerCase(); + const contentLower = doc.content.toLowerCase(); + const descLower = doc.description.toLowerCase(); + + let score = 0; + + for (const token of queryTokens) { + if (titleLower.includes(token)) score += 10; + if (doc.keywords.includes(token)) score += 5; + if (descLower.includes(token)) score += 3; + + const contentMatches = contentLower.split(token).length - 1; + score += Math.min(contentMatches, 10); + } + + // Bonus for exact multi-word phrase match in title or description + const phraseLC = query.toLowerCase(); + if (titleLower.includes(phraseLC)) score += 20; + if (descLower.includes(phraseLC)) score += 10; + + return { doc, score }; + }); + + return scored + .filter((s) => s.score > 0) + .sort((a, b) => b.score - a.score) + .slice(0, topK) + .map(({ doc, score }) => ({ + title: doc.title, + url: doc.url, + description: doc.description, + content: doc.content.slice(0, 500), + score: Math.min(score / (queryTokens.length * 15), 1) + })); +} diff --git a/package.json b/package.json index 4727b6c8..dd046065 100644 --- a/package.json +++ b/package.json @@ -4,15 +4,14 @@ "description": "Sei docs", "private": true, "scripts": { - "dev": "node scripts/fetch-bytebellai.js && node scripts/fetch-ecosystem-data.js && next dev --turbopack", - "build": "node scripts/fetch-bytebellai.js && node scripts/fetch-ecosystem-data.js && NODE_OPTIONS= next build", + "dev": "node scripts/fetch-ecosystem-data.js && next dev --turbopack", + "build": "node scripts/fetch-ecosystem-data.js && NODE_OPTIONS= next build", "postbuild": "concurrently \"pagefind --site .next/server/app --output-path public/_pagefind --verbose\" \"next-sitemap\" \"node scripts/scrape-docs-html.js\"", "start": "next start", "format:pages": "prettier --write 'app/**/*.{js,ts,tsx,mdx}'", "generate-seid-docs": "./generate-seid-docs.sh", "check-links": "node scripts/check-links.mjs", "scrape-docs": "node scripts/scrape-docs-html.js", - "upload-to-trieve": "node scripts/upload-to-trieve.js", "seo:audit": "node scripts/audit-content-seo.mjs", "test": "jest", "test:watch": "jest --watch", @@ -26,12 +25,16 @@ "node": ">=22" }, "dependencies": { + "@ai-sdk/anthropic": "^3.0.58", + "@ai-sdk/react": "^3.0.118", "@hcaptcha/react-hcaptcha": "^2.0.2", + "@modelcontextprotocol/sdk": "^1.27.1", "@next/third-parties": "^16.1.6", "@radix-ui/themes": "^3.3.0", "@sei-js/evm": "^2.0.5", "@tabler/icons-react": "3.38.0", "@tailwindcss/postcss": "^4.2.1", + "ai": "^6.0.116", "katex": "^0.16.33", "next": "16.1.6", "nextra": "^4.6.1", @@ -39,9 +42,12 @@ "react": "^19.2.4", "react-confetti": "^6.4.0", "react-dom": "^19.2.4", + "react-markdown": "^10.1.0", "react-snowfall": "^2.4.0", + "remark-gfm": "^4.0.1", "sonner": "^2.0.7", - "viem": "^2.46.3" + "viem": "^2.46.3", + "zod": "^4.3.6" }, "devDependencies": { "@playwright/test": "^1.58.2", diff --git a/public/vendor/bytebellai/index.js b/public/vendor/bytebellai/index.js deleted file mode 100644 index 6141f652..00000000 --- a/public/vendor/bytebellai/index.js +++ /dev/null @@ -1,57526 +0,0 @@ -var kF = Object.defineProperty; -var mk = (e) => { - throw TypeError(e); -}; -var TF = (e, t, r) => (t in e ? kF(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : (e[t] = r)); -var _a = (e, t, r) => TF(e, typeof t != 'symbol' ? t + '' : t, r), - bh = (e, t, r) => t.has(e) || mk('Cannot ' + r); -var Q = (e, t, r) => (bh(e, t, 'read from private field'), r ? r.call(e) : t.get(e)), - Ye = (e, t, r) => (t.has(e) ? mk('Cannot add the same private member more than once') : t instanceof WeakSet ? t.add(e) : t.set(e, r)), - Le = (e, t, r, n) => (bh(e, t, 'write to private field'), n ? n.call(e, r) : t.set(e, r), r), - dt = (e, t, r) => (bh(e, t, 'access private method'), r); -var wd = (e, t, r, n) => ({ - set _(a) { - Le(e, t, a, r); - }, - get _() { - return Q(e, t, n); - } -}); -function AF(e, t) { - for (var r = 0; r < t.length; r++) { - const n = t[r]; - if (typeof n != 'string' && !Array.isArray(n)) { - for (const a in n) - if (a !== 'default' && !(a in e)) { - const i = Object.getOwnPropertyDescriptor(n, a); - i && Object.defineProperty(e, a, i.get ? i : { enumerable: !0, get: () => n[a] }); - } - } - } - return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: 'Module' })); -} -(function () { - const t = document.createElement('link').relList; - if (t && t.supports && t.supports('modulepreload')) return; - for (const a of document.querySelectorAll('link[rel="modulepreload"]')) n(a); - new MutationObserver((a) => { - for (const i of a) if (i.type === 'childList') for (const s of i.addedNodes) s.tagName === 'LINK' && s.rel === 'modulepreload' && n(s); - }).observe(document, { childList: !0, subtree: !0 }); - function r(a) { - const i = {}; - return ( - a.integrity && (i.integrity = a.integrity), - a.referrerPolicy && (i.referrerPolicy = a.referrerPolicy), - a.crossOrigin === 'use-credentials' - ? (i.credentials = 'include') - : a.crossOrigin === 'anonymous' - ? (i.credentials = 'omit') - : (i.credentials = 'same-origin'), - i - ); - } - function n(a) { - if (a.ep) return; - a.ep = !0; - const i = r(a); - fetch(a.href, i); - } -})(); -const CF = 'modulepreload', - RF = function (e) { - return '/' + e; - }, - gk = {}, - NF = function (t, r, n) { - let a = Promise.resolve(); - if (r && r.length > 0) { - let s = function (d) { - return Promise.all( - d.map((p) => - Promise.resolve(p).then( - (h) => ({ status: 'fulfilled', value: h }), - (h) => ({ status: 'rejected', reason: h }) - ) - ) - ); - }; - document.getElementsByTagName('link'); - const l = document.querySelector('meta[property=csp-nonce]'), - c = (l == null ? void 0 : l.nonce) || (l == null ? void 0 : l.getAttribute('nonce')); - a = s( - r.map((d) => { - if (((d = RF(d)), d in gk)) return; - gk[d] = !0; - const p = d.endsWith('.css'), - h = p ? '[rel="stylesheet"]' : ''; - if (document.querySelector(`link[href="${d}"]${h}`)) return; - const m = document.createElement('link'); - if ( - ((m.rel = p ? 'stylesheet' : CF), - p || (m.as = 'script'), - (m.crossOrigin = ''), - (m.href = d), - c && m.setAttribute('nonce', c), - document.head.appendChild(m), - p) - ) - return new Promise((g, y) => { - m.addEventListener('load', g), m.addEventListener('error', () => y(new Error(`Unable to preload CSS for ${d}`))); - }); - }) - ); - } - function i(s) { - const l = new Event('vite:preloadError', { cancelable: !0 }); - if (((l.payload = s), window.dispatchEvent(l), !l.defaultPrevented)) throw s; - } - return a.then((s) => { - for (const l of s || []) l.status === 'rejected' && i(l.reason); - return t().catch(i); - }); - }; -NF(() => Promise.resolve().then(() => Zpe), void 0).catch((e) => console.error('Error loading widget script:', e)); -var up = typeof globalThis < 'u' ? globalThis : typeof window < 'u' ? window : typeof global < 'u' ? global : typeof self < 'u' ? self : {}; -function Ya(e) { - return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, 'default') ? e.default : e; -} -var vh = { exports: {} }, - nu = {}, - yh = { exports: {} }, - st = {}; -/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ var bk; -function IF() { - if (bk) return st; - bk = 1; - var e = Symbol.for('react.element'), - t = Symbol.for('react.portal'), - r = Symbol.for('react.fragment'), - n = Symbol.for('react.strict_mode'), - a = Symbol.for('react.profiler'), - i = Symbol.for('react.provider'), - s = Symbol.for('react.context'), - l = Symbol.for('react.forward_ref'), - c = Symbol.for('react.suspense'), - d = Symbol.for('react.memo'), - p = Symbol.for('react.lazy'), - h = Symbol.iterator; - function m(q) { - return q === null || typeof q != 'object' ? null : ((q = (h && q[h]) || q['@@iterator']), typeof q == 'function' ? q : null); - } - var g = { - isMounted: function () { - return !1; - }, - enqueueForceUpdate: function () {}, - enqueueReplaceState: function () {}, - enqueueSetState: function () {} - }, - y = Object.assign, - v = {}; - function x(q, j, O) { - (this.props = q), (this.context = j), (this.refs = v), (this.updater = O || g); - } - (x.prototype.isReactComponent = {}), - (x.prototype.setState = function (q, j) { - if (typeof q != 'object' && typeof q != 'function' && q != null) - throw Error('setState(...): takes an object of state variables to update or a function which returns an object of state variables.'); - this.updater.enqueueSetState(this, q, j, 'setState'); - }), - (x.prototype.forceUpdate = function (q) { - this.updater.enqueueForceUpdate(this, q, 'forceUpdate'); - }); - function k() {} - k.prototype = x.prototype; - function A(q, j, O) { - (this.props = q), (this.context = j), (this.refs = v), (this.updater = O || g); - } - var R = (A.prototype = new k()); - (R.constructor = A), y(R, x.prototype), (R.isPureReactComponent = !0); - var _ = Array.isArray, - L = Object.prototype.hasOwnProperty, - I = { current: null }, - P = { key: !0, ref: !0, __self: !0, __source: !0 }; - function U(q, j, O) { - var re, - ne = {}, - le = null, - ce = null; - if (j != null) - for (re in (j.ref !== void 0 && (ce = j.ref), j.key !== void 0 && (le = '' + j.key), j)) L.call(j, re) && !P.hasOwnProperty(re) && (ne[re] = j[re]); - var me = arguments.length - 2; - if (me === 1) ne.children = O; - else if (1 < me) { - for (var Ae = Array(me), Me = 0; Me < me; Me++) Ae[Me] = arguments[Me + 2]; - ne.children = Ae; - } - if (q && q.defaultProps) for (re in ((me = q.defaultProps), me)) ne[re] === void 0 && (ne[re] = me[re]); - return { $$typeof: e, type: q, key: le, ref: ce, props: ne, _owner: I.current }; - } - function $(q, j) { - return { $$typeof: e, type: q.type, key: j, ref: q.ref, props: q.props, _owner: q._owner }; - } - function B(q) { - return typeof q == 'object' && q !== null && q.$$typeof === e; - } - function V(q) { - var j = { '=': '=0', ':': '=2' }; - return ( - '$' + - q.replace(/[=:]/g, function (O) { - return j[O]; - }) - ); - } - var Y = /\/+/g; - function te(q, j) { - return typeof q == 'object' && q !== null && q.key != null ? V('' + q.key) : j.toString(36); - } - function Z(q, j, O, re, ne) { - var le = typeof q; - (le === 'undefined' || le === 'boolean') && (q = null); - var ce = !1; - if (q === null) ce = !0; - else - switch (le) { - case 'string': - case 'number': - ce = !0; - break; - case 'object': - switch (q.$$typeof) { - case e: - case t: - ce = !0; - } - } - if (ce) - return ( - (ce = q), - (ne = ne(ce)), - (q = re === '' ? '.' + te(ce, 0) : re), - _(ne) - ? ((O = ''), - q != null && (O = q.replace(Y, '$&/') + '/'), - Z(ne, j, O, '', function (Me) { - return Me; - })) - : ne != null && (B(ne) && (ne = $(ne, O + (!ne.key || (ce && ce.key === ne.key) ? '' : ('' + ne.key).replace(Y, '$&/') + '/') + q)), j.push(ne)), - 1 - ); - if (((ce = 0), (re = re === '' ? '.' : re + ':'), _(q))) - for (var me = 0; me < q.length; me++) { - le = q[me]; - var Ae = re + te(le, me); - ce += Z(le, j, O, Ae, ne); - } - else if (((Ae = m(q)), typeof Ae == 'function')) - for (q = Ae.call(q), me = 0; !(le = q.next()).done; ) (le = le.value), (Ae = re + te(le, me++)), (ce += Z(le, j, O, Ae, ne)); - else if (le === 'object') - throw ( - ((j = String(q)), - Error( - 'Objects are not valid as a React child (found: ' + - (j === '[object Object]' ? 'object with keys {' + Object.keys(q).join(', ') + '}' : j) + - '). If you meant to render a collection of children, use an array instead.' - )) - ); - return ce; - } - function oe(q, j, O) { - if (q == null) return q; - var re = [], - ne = 0; - return ( - Z(q, re, '', '', function (le) { - return j.call(O, le, ne++); - }), - re - ); - } - function pe(q) { - if (q._status === -1) { - var j = q._result; - (j = j()), - j.then( - function (O) { - (q._status === 0 || q._status === -1) && ((q._status = 1), (q._result = O)); - }, - function (O) { - (q._status === 0 || q._status === -1) && ((q._status = 2), (q._result = O)); - } - ), - q._status === -1 && ((q._status = 0), (q._result = j)); - } - if (q._status === 1) return q._result.default; - throw q._result; - } - var ge = { current: null }, - X = { transition: null }, - fe = { ReactCurrentDispatcher: ge, ReactCurrentBatchConfig: X, ReactCurrentOwner: I }; - function z() { - throw Error('act(...) is not supported in production builds of React.'); - } - return ( - (st.Children = { - map: oe, - forEach: function (q, j, O) { - oe( - q, - function () { - j.apply(this, arguments); - }, - O - ); - }, - count: function (q) { - var j = 0; - return ( - oe(q, function () { - j++; - }), - j - ); - }, - toArray: function (q) { - return ( - oe(q, function (j) { - return j; - }) || [] - ); - }, - only: function (q) { - if (!B(q)) throw Error('React.Children.only expected to receive a single React element child.'); - return q; - } - }), - (st.Component = x), - (st.Fragment = r), - (st.Profiler = a), - (st.PureComponent = A), - (st.StrictMode = n), - (st.Suspense = c), - (st.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = fe), - (st.act = z), - (st.cloneElement = function (q, j, O) { - if (q == null) throw Error('React.cloneElement(...): The argument must be a React element, but you passed ' + q + '.'); - var re = y({}, q.props), - ne = q.key, - le = q.ref, - ce = q._owner; - if (j != null) { - if ((j.ref !== void 0 && ((le = j.ref), (ce = I.current)), j.key !== void 0 && (ne = '' + j.key), q.type && q.type.defaultProps)) - var me = q.type.defaultProps; - for (Ae in j) L.call(j, Ae) && !P.hasOwnProperty(Ae) && (re[Ae] = j[Ae] === void 0 && me !== void 0 ? me[Ae] : j[Ae]); - } - var Ae = arguments.length - 2; - if (Ae === 1) re.children = O; - else if (1 < Ae) { - me = Array(Ae); - for (var Me = 0; Me < Ae; Me++) me[Me] = arguments[Me + 2]; - re.children = me; - } - return { $$typeof: e, type: q.type, key: ne, ref: le, props: re, _owner: ce }; - }), - (st.createContext = function (q) { - return ( - (q = { $$typeof: s, _currentValue: q, _currentValue2: q, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }), - (q.Provider = { $$typeof: i, _context: q }), - (q.Consumer = q) - ); - }), - (st.createElement = U), - (st.createFactory = function (q) { - var j = U.bind(null, q); - return (j.type = q), j; - }), - (st.createRef = function () { - return { current: null }; - }), - (st.forwardRef = function (q) { - return { $$typeof: l, render: q }; - }), - (st.isValidElement = B), - (st.lazy = function (q) { - return { $$typeof: p, _payload: { _status: -1, _result: q }, _init: pe }; - }), - (st.memo = function (q, j) { - return { $$typeof: d, type: q, compare: j === void 0 ? null : j }; - }), - (st.startTransition = function (q) { - var j = X.transition; - X.transition = {}; - try { - q(); - } finally { - X.transition = j; - } - }), - (st.unstable_act = z), - (st.useCallback = function (q, j) { - return ge.current.useCallback(q, j); - }), - (st.useContext = function (q) { - return ge.current.useContext(q); - }), - (st.useDebugValue = function () {}), - (st.useDeferredValue = function (q) { - return ge.current.useDeferredValue(q); - }), - (st.useEffect = function (q, j) { - return ge.current.useEffect(q, j); - }), - (st.useId = function () { - return ge.current.useId(); - }), - (st.useImperativeHandle = function (q, j, O) { - return ge.current.useImperativeHandle(q, j, O); - }), - (st.useInsertionEffect = function (q, j) { - return ge.current.useInsertionEffect(q, j); - }), - (st.useLayoutEffect = function (q, j) { - return ge.current.useLayoutEffect(q, j); - }), - (st.useMemo = function (q, j) { - return ge.current.useMemo(q, j); - }), - (st.useReducer = function (q, j, O) { - return ge.current.useReducer(q, j, O); - }), - (st.useRef = function (q) { - return ge.current.useRef(q); - }), - (st.useState = function (q) { - return ge.current.useState(q); - }), - (st.useSyncExternalStore = function (q, j, O) { - return ge.current.useSyncExternalStore(q, j, O); - }), - (st.useTransition = function () { - return ge.current.useTransition(); - }), - (st.version = '18.3.1'), - st - ); -} -var vk; -function ll() { - return vk || ((vk = 1), (yh.exports = IF())), yh.exports; -} -/** - * @license React - * react-jsx-runtime.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ var yk; -function _F() { - if (yk) return nu; - yk = 1; - var e = ll(), - t = Symbol.for('react.element'), - r = Symbol.for('react.fragment'), - n = Object.prototype.hasOwnProperty, - a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, - i = { key: !0, ref: !0, __self: !0, __source: !0 }; - function s(l, c, d) { - var p, - h = {}, - m = null, - g = null; - d !== void 0 && (m = '' + d), c.key !== void 0 && (m = '' + c.key), c.ref !== void 0 && (g = c.ref); - for (p in c) n.call(c, p) && !i.hasOwnProperty(p) && (h[p] = c[p]); - if (l && l.defaultProps) for (p in ((c = l.defaultProps), c)) h[p] === void 0 && (h[p] = c[p]); - return { $$typeof: t, type: l, key: m, ref: g, props: h, _owner: a.current }; - } - return (nu.Fragment = r), (nu.jsx = s), (nu.jsxs = s), nu; -} -var wk; -function OF() { - return wk || ((wk = 1), (vh.exports = _F())), vh.exports; -} -var E = OF(), - xd = {}, - wh = { exports: {} }, - Vr = {}, - xh = { exports: {} }, - Sh = {}; -/** - * @license React - * scheduler.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ var xk; -function LF() { - return ( - xk || - ((xk = 1), - (function (e) { - function t(X, fe) { - var z = X.length; - X.push(fe); - e: for (; 0 < z; ) { - var q = (z - 1) >>> 1, - j = X[q]; - if (0 < a(j, fe)) (X[q] = fe), (X[z] = j), (z = q); - else break e; - } - } - function r(X) { - return X.length === 0 ? null : X[0]; - } - function n(X) { - if (X.length === 0) return null; - var fe = X[0], - z = X.pop(); - if (z !== fe) { - X[0] = z; - e: for (var q = 0, j = X.length, O = j >>> 1; q < O; ) { - var re = 2 * (q + 1) - 1, - ne = X[re], - le = re + 1, - ce = X[le]; - if (0 > a(ne, z)) le < j && 0 > a(ce, ne) ? ((X[q] = ce), (X[le] = z), (q = le)) : ((X[q] = ne), (X[re] = z), (q = re)); - else if (le < j && 0 > a(ce, z)) (X[q] = ce), (X[le] = z), (q = le); - else break e; - } - } - return fe; - } - function a(X, fe) { - var z = X.sortIndex - fe.sortIndex; - return z !== 0 ? z : X.id - fe.id; - } - if (typeof performance == 'object' && typeof performance.now == 'function') { - var i = performance; - e.unstable_now = function () { - return i.now(); - }; - } else { - var s = Date, - l = s.now(); - e.unstable_now = function () { - return s.now() - l; - }; - } - var c = [], - d = [], - p = 1, - h = null, - m = 3, - g = !1, - y = !1, - v = !1, - x = typeof setTimeout == 'function' ? setTimeout : null, - k = typeof clearTimeout == 'function' ? clearTimeout : null, - A = typeof setImmediate < 'u' ? setImmediate : null; - typeof navigator < 'u' && - navigator.scheduling !== void 0 && - navigator.scheduling.isInputPending !== void 0 && - navigator.scheduling.isInputPending.bind(navigator.scheduling); - function R(X) { - for (var fe = r(d); fe !== null; ) { - if (fe.callback === null) n(d); - else if (fe.startTime <= X) n(d), (fe.sortIndex = fe.expirationTime), t(c, fe); - else break; - fe = r(d); - } - } - function _(X) { - if (((v = !1), R(X), !y)) - if (r(c) !== null) (y = !0), pe(L); - else { - var fe = r(d); - fe !== null && ge(_, fe.startTime - X); - } - } - function L(X, fe) { - (y = !1), v && ((v = !1), k(U), (U = -1)), (g = !0); - var z = m; - try { - for (R(fe), h = r(c); h !== null && (!(h.expirationTime > fe) || (X && !V())); ) { - var q = h.callback; - if (typeof q == 'function') { - (h.callback = null), (m = h.priorityLevel); - var j = q(h.expirationTime <= fe); - (fe = e.unstable_now()), typeof j == 'function' ? (h.callback = j) : h === r(c) && n(c), R(fe); - } else n(c); - h = r(c); - } - if (h !== null) var O = !0; - else { - var re = r(d); - re !== null && ge(_, re.startTime - fe), (O = !1); - } - return O; - } finally { - (h = null), (m = z), (g = !1); - } - } - var I = !1, - P = null, - U = -1, - $ = 5, - B = -1; - function V() { - return !(e.unstable_now() - B < $); - } - function Y() { - if (P !== null) { - var X = e.unstable_now(); - B = X; - var fe = !0; - try { - fe = P(!0, X); - } finally { - fe ? te() : ((I = !1), (P = null)); - } - } else I = !1; - } - var te; - if (typeof A == 'function') - te = function () { - A(Y); - }; - else if (typeof MessageChannel < 'u') { - var Z = new MessageChannel(), - oe = Z.port2; - (Z.port1.onmessage = Y), - (te = function () { - oe.postMessage(null); - }); - } else - te = function () { - x(Y, 0); - }; - function pe(X) { - (P = X), I || ((I = !0), te()); - } - function ge(X, fe) { - U = x(function () { - X(e.unstable_now()); - }, fe); - } - (e.unstable_IdlePriority = 5), - (e.unstable_ImmediatePriority = 1), - (e.unstable_LowPriority = 4), - (e.unstable_NormalPriority = 3), - (e.unstable_Profiling = null), - (e.unstable_UserBlockingPriority = 2), - (e.unstable_cancelCallback = function (X) { - X.callback = null; - }), - (e.unstable_continueExecution = function () { - y || g || ((y = !0), pe(L)); - }), - (e.unstable_forceFrameRate = function (X) { - 0 > X || 125 < X - ? console.error('forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported') - : ($ = 0 < X ? Math.floor(1e3 / X) : 5); - }), - (e.unstable_getCurrentPriorityLevel = function () { - return m; - }), - (e.unstable_getFirstCallbackNode = function () { - return r(c); - }), - (e.unstable_next = function (X) { - switch (m) { - case 1: - case 2: - case 3: - var fe = 3; - break; - default: - fe = m; - } - var z = m; - m = fe; - try { - return X(); - } finally { - m = z; - } - }), - (e.unstable_pauseExecution = function () {}), - (e.unstable_requestPaint = function () {}), - (e.unstable_runWithPriority = function (X, fe) { - switch (X) { - case 1: - case 2: - case 3: - case 4: - case 5: - break; - default: - X = 3; - } - var z = m; - m = X; - try { - return fe(); - } finally { - m = z; - } - }), - (e.unstable_scheduleCallback = function (X, fe, z) { - var q = e.unstable_now(); - switch ((typeof z == 'object' && z !== null ? ((z = z.delay), (z = typeof z == 'number' && 0 < z ? q + z : q)) : (z = q), X)) { - case 1: - var j = -1; - break; - case 2: - j = 250; - break; - case 5: - j = 1073741823; - break; - case 4: - j = 1e4; - break; - default: - j = 5e3; - } - return ( - (j = z + j), - (X = { id: p++, callback: fe, priorityLevel: X, startTime: z, expirationTime: j, sortIndex: -1 }), - z > q - ? ((X.sortIndex = z), t(d, X), r(c) === null && X === r(d) && (v ? (k(U), (U = -1)) : (v = !0), ge(_, z - q))) - : ((X.sortIndex = j), t(c, X), y || g || ((y = !0), pe(L))), - X - ); - }), - (e.unstable_shouldYield = V), - (e.unstable_wrapCallback = function (X) { - var fe = m; - return function () { - var z = m; - m = fe; - try { - return X.apply(this, arguments); - } finally { - m = z; - } - }; - }); - })(Sh)), - Sh - ); -} -var Sk; -function DF() { - return Sk || ((Sk = 1), (xh.exports = LF())), xh.exports; -} -/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ var Ek; -function MF() { - if (Ek) return Vr; - Ek = 1; - var e = ll(), - t = DF(); - function r(o) { - for (var u = 'https://reactjs.org/docs/error-decoder.html?invariant=' + o, f = 1; f < arguments.length; f++) u += '&args[]=' + encodeURIComponent(arguments[f]); - return ( - 'Minified React error #' + - o + - '; visit ' + - u + - ' for the full message or use the non-minified dev environment for full errors and additional helpful warnings.' - ); - } - var n = new Set(), - a = {}; - function i(o, u) { - s(o, u), s(o + 'Capture', u); - } - function s(o, u) { - for (a[o] = u, o = 0; o < u.length; o++) n.add(u[o]); - } - var l = !(typeof window > 'u' || typeof window.document > 'u' || typeof window.document.createElement > 'u'), - c = Object.prototype.hasOwnProperty, - d = - /^[: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]*$/, - p = {}, - h = {}; - function m(o) { - return c.call(h, o) ? !0 : c.call(p, o) ? !1 : d.test(o) ? (h[o] = !0) : ((p[o] = !0), !1); - } - function g(o, u, f, b) { - if (f !== null && f.type === 0) return !1; - switch (typeof u) { - case 'function': - case 'symbol': - return !0; - case 'boolean': - return b ? !1 : f !== null ? !f.acceptsBooleans : ((o = o.toLowerCase().slice(0, 5)), o !== 'data-' && o !== 'aria-'); - default: - return !1; - } - } - function y(o, u, f, b) { - if (u === null || typeof u > 'u' || g(o, u, f, b)) return !0; - if (b) return !1; - if (f !== null) - switch (f.type) { - case 3: - return !u; - case 4: - return u === !1; - case 5: - return isNaN(u); - case 6: - return isNaN(u) || 1 > u; - } - return !1; - } - function v(o, u, f, b, w, C, M) { - (this.acceptsBooleans = u === 2 || u === 3 || u === 4), - (this.attributeName = b), - (this.attributeNamespace = w), - (this.mustUseProperty = f), - (this.propertyName = o), - (this.type = u), - (this.sanitizeURL = C), - (this.removeEmptyString = M); - } - var x = {}; - 'children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style' - .split(' ') - .forEach(function (o) { - x[o] = new v(o, 0, !1, o, null, !1, !1); - }), - [ - ['acceptCharset', 'accept-charset'], - ['className', 'class'], - ['htmlFor', 'for'], - ['httpEquiv', 'http-equiv'] - ].forEach(function (o) { - var u = o[0]; - x[u] = new v(u, 1, !1, o[1], null, !1, !1); - }), - ['contentEditable', 'draggable', 'spellCheck', 'value'].forEach(function (o) { - x[o] = new v(o, 2, !1, o.toLowerCase(), null, !1, !1); - }), - ['autoReverse', 'externalResourcesRequired', 'focusable', 'preserveAlpha'].forEach(function (o) { - x[o] = new v(o, 2, !1, o, null, !1, !1); - }), - '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 (o) { - x[o] = new v(o, 3, !1, o.toLowerCase(), null, !1, !1); - }), - ['checked', 'multiple', 'muted', 'selected'].forEach(function (o) { - x[o] = new v(o, 3, !0, o, null, !1, !1); - }), - ['capture', 'download'].forEach(function (o) { - x[o] = new v(o, 4, !1, o, null, !1, !1); - }), - ['cols', 'rows', 'size', 'span'].forEach(function (o) { - x[o] = new v(o, 6, !1, o, null, !1, !1); - }), - ['rowSpan', 'start'].forEach(function (o) { - x[o] = new v(o, 5, !1, o.toLowerCase(), null, !1, !1); - }); - var k = /[\-:]([a-z])/g; - function A(o) { - return o[1].toUpperCase(); - } - 'accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height' - .split(' ') - .forEach(function (o) { - var u = o.replace(k, A); - x[u] = new v(u, 1, !1, o, null, !1, !1); - }), - 'xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type'.split(' ').forEach(function (o) { - var u = o.replace(k, A); - x[u] = new v(u, 1, !1, o, 'http://www.w3.org/1999/xlink', !1, !1); - }), - ['xml:base', 'xml:lang', 'xml:space'].forEach(function (o) { - var u = o.replace(k, A); - x[u] = new v(u, 1, !1, o, 'http://www.w3.org/XML/1998/namespace', !1, !1); - }), - ['tabIndex', 'crossOrigin'].forEach(function (o) { - x[o] = new v(o, 1, !1, o.toLowerCase(), null, !1, !1); - }), - (x.xlinkHref = new v('xlinkHref', 1, !1, 'xlink:href', 'http://www.w3.org/1999/xlink', !0, !1)), - ['src', 'href', 'action', 'formAction'].forEach(function (o) { - x[o] = new v(o, 1, !1, o.toLowerCase(), null, !0, !0); - }); - function R(o, u, f, b) { - var w = x.hasOwnProperty(u) ? x[u] : null; - (w !== null ? w.type !== 0 : b || !(2 < u.length) || (u[0] !== 'o' && u[0] !== 'O') || (u[1] !== 'n' && u[1] !== 'N')) && - (y(u, f, w, b) && (f = null), - b || w === null - ? m(u) && (f === null ? o.removeAttribute(u) : o.setAttribute(u, '' + f)) - : w.mustUseProperty - ? (o[w.propertyName] = f === null ? (w.type === 3 ? !1 : '') : f) - : ((u = w.attributeName), - (b = w.attributeNamespace), - f === null - ? o.removeAttribute(u) - : ((w = w.type), (f = w === 3 || (w === 4 && f === !0) ? '' : '' + f), b ? o.setAttributeNS(b, u, f) : o.setAttribute(u, f)))); - } - var _ = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, - L = Symbol.for('react.element'), - I = Symbol.for('react.portal'), - P = Symbol.for('react.fragment'), - U = Symbol.for('react.strict_mode'), - $ = Symbol.for('react.profiler'), - B = Symbol.for('react.provider'), - V = Symbol.for('react.context'), - Y = Symbol.for('react.forward_ref'), - te = Symbol.for('react.suspense'), - Z = Symbol.for('react.suspense_list'), - oe = Symbol.for('react.memo'), - pe = Symbol.for('react.lazy'), - ge = Symbol.for('react.offscreen'), - X = Symbol.iterator; - function fe(o) { - return o === null || typeof o != 'object' ? null : ((o = (X && o[X]) || o['@@iterator']), typeof o == 'function' ? o : null); - } - var z = Object.assign, - q; - function j(o) { - if (q === void 0) - try { - throw Error(); - } catch (f) { - var u = f.stack.trim().match(/\n( *(at )?)/); - q = (u && u[1]) || ''; - } - return ( - ` -` + - q + - o - ); - } - var O = !1; - function re(o, u) { - if (!o || O) return ''; - O = !0; - var f = Error.prepareStackTrace; - Error.prepareStackTrace = void 0; - try { - if (u) - if ( - ((u = function () { - throw Error(); - }), - Object.defineProperty(u.prototype, 'props', { - set: function () { - throw Error(); - } - }), - typeof Reflect == 'object' && Reflect.construct) - ) { - try { - Reflect.construct(u, []); - } catch (ue) { - var b = ue; - } - Reflect.construct(o, [], u); - } else { - try { - u.call(); - } catch (ue) { - b = ue; - } - o.call(u.prototype); - } - else { - try { - throw Error(); - } catch (ue) { - b = ue; - } - o(); - } - } catch (ue) { - if (ue && b && typeof ue.stack == 'string') { - for ( - var w = ue.stack.split(` -`), - C = b.stack.split(` -`), - M = w.length - 1, - H = C.length - 1; - 1 <= M && 0 <= H && w[M] !== C[H]; - - ) - H--; - for (; 1 <= M && 0 <= H; M--, H--) - if (w[M] !== C[H]) { - if (M !== 1 || H !== 1) - do - if ((M--, H--, 0 > H || w[M] !== C[H])) { - var K = - ` -` + w[M].replace(' at new ', ' at '); - return o.displayName && K.includes('') && (K = K.replace('', o.displayName)), K; - } - while (1 <= M && 0 <= H); - break; - } - } - } finally { - (O = !1), (Error.prepareStackTrace = f); - } - return (o = o ? o.displayName || o.name : '') ? j(o) : ''; - } - function ne(o) { - switch (o.tag) { - case 5: - return j(o.type); - case 16: - return j('Lazy'); - case 13: - return j('Suspense'); - case 19: - return j('SuspenseList'); - case 0: - case 2: - case 15: - return (o = re(o.type, !1)), o; - case 11: - return (o = re(o.type.render, !1)), o; - case 1: - return (o = re(o.type, !0)), o; - default: - return ''; - } - } - function le(o) { - if (o == null) return null; - if (typeof o == 'function') return o.displayName || o.name || null; - if (typeof o == 'string') return o; - switch (o) { - case P: - return 'Fragment'; - case I: - return 'Portal'; - case $: - return 'Profiler'; - case U: - return 'StrictMode'; - case te: - return 'Suspense'; - case Z: - return 'SuspenseList'; - } - if (typeof o == 'object') - switch (o.$$typeof) { - case V: - return (o.displayName || 'Context') + '.Consumer'; - case B: - return (o._context.displayName || 'Context') + '.Provider'; - case Y: - var u = o.render; - return (o = o.displayName), o || ((o = u.displayName || u.name || ''), (o = o !== '' ? 'ForwardRef(' + o + ')' : 'ForwardRef')), o; - case oe: - return (u = o.displayName || null), u !== null ? u : le(o.type) || 'Memo'; - case pe: - (u = o._payload), (o = o._init); - try { - return le(o(u)); - } catch {} - } - return null; - } - function ce(o) { - var u = o.type; - switch (o.tag) { - case 24: - return 'Cache'; - case 9: - return (u.displayName || 'Context') + '.Consumer'; - case 10: - return (u._context.displayName || 'Context') + '.Provider'; - case 18: - return 'DehydratedFragment'; - case 11: - return (o = u.render), (o = o.displayName || o.name || ''), u.displayName || (o !== '' ? 'ForwardRef(' + o + ')' : 'ForwardRef'); - case 7: - return 'Fragment'; - case 5: - return u; - case 4: - return 'Portal'; - case 3: - return 'Root'; - case 6: - return 'Text'; - case 16: - return le(u); - case 8: - return u === U ? 'StrictMode' : 'Mode'; - case 22: - return 'Offscreen'; - case 12: - return 'Profiler'; - case 21: - return 'Scope'; - case 13: - return 'Suspense'; - case 19: - return 'SuspenseList'; - case 25: - return 'TracingMarker'; - case 1: - case 0: - case 17: - case 2: - case 14: - case 15: - if (typeof u == 'function') return u.displayName || u.name || null; - if (typeof u == 'string') return u; - } - return null; - } - function me(o) { - switch (typeof o) { - case 'boolean': - case 'number': - case 'string': - case 'undefined': - return o; - case 'object': - return o; - default: - return ''; - } - } - function Ae(o) { - var u = o.type; - return (o = o.nodeName) && o.toLowerCase() === 'input' && (u === 'checkbox' || u === 'radio'); - } - function Me(o) { - var u = Ae(o) ? 'checked' : 'value', - f = Object.getOwnPropertyDescriptor(o.constructor.prototype, u), - b = '' + o[u]; - if (!o.hasOwnProperty(u) && typeof f < 'u' && typeof f.get == 'function' && typeof f.set == 'function') { - var w = f.get, - C = f.set; - return ( - Object.defineProperty(o, u, { - configurable: !0, - get: function () { - return w.call(this); - }, - set: function (M) { - (b = '' + M), C.call(this, M); - } - }), - Object.defineProperty(o, u, { enumerable: f.enumerable }), - { - getValue: function () { - return b; - }, - setValue: function (M) { - b = '' + M; - }, - stopTracking: function () { - (o._valueTracker = null), delete o[u]; - } - } - ); - } - } - function ze(o) { - o._valueTracker || (o._valueTracker = Me(o)); - } - function ft(o) { - if (!o) return !1; - var u = o._valueTracker; - if (!u) return !0; - var f = u.getValue(), - b = ''; - return o && (b = Ae(o) ? (o.checked ? 'true' : 'false') : o.value), (o = b), o !== f ? (u.setValue(o), !0) : !1; - } - function Ie(o) { - if (((o = o || (typeof document < 'u' ? document : void 0)), typeof o > 'u')) return null; - try { - return o.activeElement || o.body; - } catch { - return o.body; - } - } - function Ze(o, u) { - var f = u.checked; - return z({}, u, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: f ?? o._wrapperState.initialChecked }); - } - function ct(o, u) { - var f = u.defaultValue == null ? '' : u.defaultValue, - b = u.checked != null ? u.checked : u.defaultChecked; - (f = me(u.value != null ? u.value : f)), - (o._wrapperState = { initialChecked: b, initialValue: f, controlled: u.type === 'checkbox' || u.type === 'radio' ? u.checked != null : u.value != null }); - } - function $e(o, u) { - (u = u.checked), u != null && R(o, 'checked', u, !1); - } - function at(o, u) { - $e(o, u); - var f = me(u.value), - b = u.type; - if (f != null) b === 'number' ? ((f === 0 && o.value === '') || o.value != f) && (o.value = '' + f) : o.value !== '' + f && (o.value = '' + f); - else if (b === 'submit' || b === 'reset') { - o.removeAttribute('value'); - return; - } - u.hasOwnProperty('value') ? Ft(o, u.type, f) : u.hasOwnProperty('defaultValue') && Ft(o, u.type, me(u.defaultValue)), - u.checked == null && u.defaultChecked != null && (o.defaultChecked = !!u.defaultChecked); - } - function Je(o, u, f) { - if (u.hasOwnProperty('value') || u.hasOwnProperty('defaultValue')) { - var b = u.type; - if (!((b !== 'submit' && b !== 'reset') || (u.value !== void 0 && u.value !== null))) return; - (u = '' + o._wrapperState.initialValue), f || u === o.value || (o.value = u), (o.defaultValue = u); - } - (f = o.name), f !== '' && (o.name = ''), (o.defaultChecked = !!o._wrapperState.initialChecked), f !== '' && (o.name = f); - } - function Ft(o, u, f) { - (u !== 'number' || Ie(o.ownerDocument) !== o) && - (f == null ? (o.defaultValue = '' + o._wrapperState.initialValue) : o.defaultValue !== '' + f && (o.defaultValue = '' + f)); - } - var ir = Array.isArray; - function or(o, u, f, b) { - if (((o = o.options), u)) { - u = {}; - for (var w = 0; w < f.length; w++) u['$' + f[w]] = !0; - for (f = 0; f < o.length; f++) (w = u.hasOwnProperty('$' + o[f].value)), o[f].selected !== w && (o[f].selected = w), w && b && (o[f].defaultSelected = !0); - } else { - for (f = '' + me(f), u = null, w = 0; w < o.length; w++) { - if (o[w].value === f) { - (o[w].selected = !0), b && (o[w].defaultSelected = !0); - return; - } - u !== null || o[w].disabled || (u = o[w]); - } - u !== null && (u.selected = !0); - } - } - function _r(o, u) { - if (u.dangerouslySetInnerHTML != null) throw Error(r(91)); - return z({}, u, { value: void 0, defaultValue: void 0, children: '' + o._wrapperState.initialValue }); - } - function Qn(o, u) { - var f = u.value; - if (f == null) { - if (((f = u.children), (u = u.defaultValue), f != null)) { - if (u != null) throw Error(r(92)); - if (ir(f)) { - if (1 < f.length) throw Error(r(93)); - f = f[0]; - } - u = f; - } - u == null && (u = ''), (f = u); - } - o._wrapperState = { initialValue: me(f) }; - } - function gn(o, u) { - var f = me(u.value), - b = me(u.defaultValue); - f != null && ((f = '' + f), f !== o.value && (o.value = f), u.defaultValue == null && o.defaultValue !== f && (o.defaultValue = f)), - b != null && (o.defaultValue = '' + b); - } - function sr(o) { - var u = o.textContent; - u === o._wrapperState.initialValue && u !== '' && u !== null && (o.value = u); - } - function he(o) { - switch (o) { - case 'svg': - return 'http://www.w3.org/2000/svg'; - case 'math': - return 'http://www.w3.org/1998/Math/MathML'; - default: - return 'http://www.w3.org/1999/xhtml'; - } - } - function ye(o, u) { - return o == null || o === 'http://www.w3.org/1999/xhtml' - ? he(u) - : o === 'http://www.w3.org/2000/svg' && u === 'foreignObject' - ? 'http://www.w3.org/1999/xhtml' - : o; - } - var _e, - Ke = (function (o) { - return typeof MSApp < 'u' && MSApp.execUnsafeLocalFunction - ? function (u, f, b, w) { - MSApp.execUnsafeLocalFunction(function () { - return o(u, f, b, w); - }); - } - : o; - })(function (o, u) { - if (o.namespaceURI !== 'http://www.w3.org/2000/svg' || 'innerHTML' in o) o.innerHTML = u; - else { - for (_e = _e || document.createElement('div'), _e.innerHTML = '' + u.valueOf().toString() + '', u = _e.firstChild; o.firstChild; ) - o.removeChild(o.firstChild); - for (; u.firstChild; ) o.appendChild(u.firstChild); - } - }); - function ot(o, u) { - if (u) { - var f = o.firstChild; - if (f && f === o.lastChild && f.nodeType === 3) { - f.nodeValue = u; - return; - } - } - o.textContent = u; - } - var qt = { - animationIterationCount: !0, - aspectRatio: !0, - borderImageOutset: !0, - borderImageSlice: !0, - borderImageWidth: !0, - boxFlex: !0, - boxFlexGroup: !0, - boxOrdinalGroup: !0, - columnCount: !0, - columns: !0, - flex: !0, - flexGrow: !0, - flexPositive: !0, - flexShrink: !0, - flexNegative: !0, - flexOrder: !0, - gridArea: !0, - gridRow: !0, - gridRowEnd: !0, - gridRowSpan: !0, - gridRowStart: !0, - gridColumn: !0, - gridColumnEnd: !0, - gridColumnSpan: !0, - gridColumnStart: !0, - fontWeight: !0, - lineClamp: !0, - lineHeight: !0, - opacity: !0, - order: !0, - orphans: !0, - tabSize: !0, - widows: !0, - zIndex: !0, - zoom: !0, - fillOpacity: !0, - floodOpacity: !0, - stopOpacity: !0, - strokeDasharray: !0, - strokeDashoffset: !0, - strokeMiterlimit: !0, - strokeOpacity: !0, - strokeWidth: !0 - }, - hr = ['Webkit', 'ms', 'Moz', 'O']; - Object.keys(qt).forEach(function (o) { - hr.forEach(function (u) { - (u = u + o.charAt(0).toUpperCase() + o.substring(1)), (qt[u] = qt[o]); - }); - }); - function lr(o, u, f) { - return u == null || typeof u == 'boolean' || u === '' - ? '' - : f || typeof u != 'number' || u === 0 || (qt.hasOwnProperty(o) && qt[o]) - ? ('' + u).trim() - : u + 'px'; - } - function wr(o, u) { - o = o.style; - for (var f in u) - if (u.hasOwnProperty(f)) { - var b = f.indexOf('--') === 0, - w = lr(f, u[f], b); - f === 'float' && (f = 'cssFloat'), b ? o.setProperty(f, w) : (o[f] = w); - } - } - var mr = z( - { menuitem: !0 }, - { area: !0, base: !0, br: !0, col: !0, embed: !0, hr: !0, img: !0, input: !0, keygen: !0, link: !0, meta: !0, param: !0, source: !0, track: !0, wbr: !0 } - ); - function Xt(o, u) { - if (u) { - if (mr[o] && (u.children != null || u.dangerouslySetInnerHTML != null)) throw Error(r(137, o)); - if (u.dangerouslySetInnerHTML != null) { - if (u.children != null) throw Error(r(60)); - if (typeof u.dangerouslySetInnerHTML != 'object' || !('__html' in u.dangerouslySetInnerHTML)) throw Error(r(61)); - } - if (u.style != null && typeof u.style != 'object') throw Error(r(62)); - } - } - function xr(o, u) { - if (o.indexOf('-') === -1) return typeof u.is == 'string'; - switch (o) { - case 'annotation-xml': - case 'color-profile': - case 'font-face': - case 'font-face-src': - case 'font-face-uri': - case 'font-face-format': - case 'font-face-name': - case 'missing-glyph': - return !1; - default: - return !0; - } - } - var ur = null; - function Ur(o) { - return (o = o.target || o.srcElement || window), o.correspondingUseElement && (o = o.correspondingUseElement), o.nodeType === 3 ? o.parentNode : o; - } - var zt = null, - bn = null, - Ja = null; - function vl(o) { - if ((o = jl(o))) { - if (typeof zt != 'function') throw Error(r(280)); - var u = o.stateNode; - u && ((u = Mc(u)), zt(o.stateNode, o.type, u)); - } - } - function yl(o) { - bn ? (Ja ? Ja.push(o) : (Ja = [o])) : (bn = o); - } - function wl() { - if (bn) { - var o = bn, - u = Ja; - if (((Ja = bn = null), vl(o), u)) for (o = 0; o < u.length; o++) vl(u[o]); - } - } - function Wo(o, u) { - return o(u); - } - function P4() {} - var Df = !1; - function F4(o, u, f) { - if (Df) return o(u, f); - Df = !0; - try { - return Wo(o, u, f); - } finally { - (Df = !1), (bn !== null || Ja !== null) && (P4(), wl()); - } - } - function xl(o, u) { - var f = o.stateNode; - if (f === null) return null; - var b = Mc(f); - if (b === null) return null; - f = b[u]; - e: switch (u) { - case 'onClick': - case 'onClickCapture': - case 'onDoubleClick': - case 'onDoubleClickCapture': - case 'onMouseDown': - case 'onMouseDownCapture': - case 'onMouseMove': - case 'onMouseMoveCapture': - case 'onMouseUp': - case 'onMouseUpCapture': - case 'onMouseEnter': - (b = !b.disabled) || ((o = o.type), (b = !(o === 'button' || o === 'input' || o === 'select' || o === 'textarea'))), (o = !b); - break e; - default: - o = !1; - } - if (o) return null; - if (f && typeof f != 'function') throw Error(r(231, u, typeof f)); - return f; - } - var Mf = !1; - if (l) - try { - var Sl = {}; - Object.defineProperty(Sl, 'passive', { - get: function () { - Mf = !0; - } - }), - window.addEventListener('test', Sl, Sl), - window.removeEventListener('test', Sl, Sl); - } catch { - Mf = !1; - } - function IM(o, u, f, b, w, C, M, H, K) { - var ue = Array.prototype.slice.call(arguments, 3); - try { - u.apply(f, ue); - } catch (we) { - this.onError(we); - } - } - var El = !1, - fc = null, - hc = !1, - Pf = null, - _M = { - onError: function (o) { - (El = !0), (fc = o); - } - }; - function OM(o, u, f, b, w, C, M, H, K) { - (El = !1), (fc = null), IM.apply(_M, arguments); - } - function LM(o, u, f, b, w, C, M, H, K) { - if ((OM.apply(this, arguments), El)) { - if (El) { - var ue = fc; - (El = !1), (fc = null); - } else throw Error(r(198)); - hc || ((hc = !0), (Pf = ue)); - } - } - function Zi(o) { - var u = o, - f = o; - if (o.alternate) for (; u.return; ) u = u.return; - else { - o = u; - do (u = o), (u.flags & 4098) !== 0 && (f = u.return), (o = u.return); - while (o); - } - return u.tag === 3 ? f : null; - } - function z4(o) { - if (o.tag === 13) { - var u = o.memoizedState; - if ((u === null && ((o = o.alternate), o !== null && (u = o.memoizedState)), u !== null)) return u.dehydrated; - } - return null; - } - function B4(o) { - if (Zi(o) !== o) throw Error(r(188)); - } - function DM(o) { - var u = o.alternate; - if (!u) { - if (((u = Zi(o)), u === null)) throw Error(r(188)); - return u !== o ? null : o; - } - for (var f = o, b = u; ; ) { - var w = f.return; - if (w === null) break; - var C = w.alternate; - if (C === null) { - if (((b = w.return), b !== null)) { - f = b; - continue; - } - break; - } - if (w.child === C.child) { - for (C = w.child; C; ) { - if (C === f) return B4(w), o; - if (C === b) return B4(w), u; - C = C.sibling; - } - throw Error(r(188)); - } - if (f.return !== b.return) (f = w), (b = C); - else { - for (var M = !1, H = w.child; H; ) { - if (H === f) { - (M = !0), (f = w), (b = C); - break; - } - if (H === b) { - (M = !0), (b = w), (f = C); - break; - } - H = H.sibling; - } - if (!M) { - for (H = C.child; H; ) { - if (H === f) { - (M = !0), (f = C), (b = w); - break; - } - if (H === b) { - (M = !0), (b = C), (f = w); - break; - } - H = H.sibling; - } - if (!M) throw Error(r(189)); - } - } - if (f.alternate !== b) throw Error(r(190)); - } - if (f.tag !== 3) throw Error(r(188)); - return f.stateNode.current === f ? o : u; - } - function U4(o) { - return (o = DM(o)), o !== null ? $4(o) : null; - } - function $4(o) { - if (o.tag === 5 || o.tag === 6) return o; - for (o = o.child; o !== null; ) { - var u = $4(o); - if (u !== null) return u; - o = o.sibling; - } - return null; - } - var j4 = t.unstable_scheduleCallback, - q4 = t.unstable_cancelCallback, - MM = t.unstable_shouldYield, - PM = t.unstable_requestPaint, - Ht = t.unstable_now, - FM = t.unstable_getCurrentPriorityLevel, - Ff = t.unstable_ImmediatePriority, - H4 = t.unstable_UserBlockingPriority, - mc = t.unstable_NormalPriority, - zM = t.unstable_LowPriority, - G4 = t.unstable_IdlePriority, - gc = null, - Jn = null; - function BM(o) { - if (Jn && typeof Jn.onCommitFiberRoot == 'function') - try { - Jn.onCommitFiberRoot(gc, o, void 0, (o.current.flags & 128) === 128); - } catch {} - } - var Dn = Math.clz32 ? Math.clz32 : jM, - UM = Math.log, - $M = Math.LN2; - function jM(o) { - return (o >>>= 0), o === 0 ? 32 : (31 - ((UM(o) / $M) | 0)) | 0; - } - var bc = 64, - vc = 4194304; - function kl(o) { - switch (o & -o) { - case 1: - return 1; - case 2: - return 2; - case 4: - return 4; - case 8: - return 8; - case 16: - return 16; - case 32: - return 32; - case 64: - case 128: - case 256: - case 512: - case 1024: - case 2048: - case 4096: - case 8192: - case 16384: - case 32768: - case 65536: - case 131072: - case 262144: - case 524288: - case 1048576: - case 2097152: - return o & 4194240; - case 4194304: - case 8388608: - case 16777216: - case 33554432: - case 67108864: - return o & 130023424; - case 134217728: - return 134217728; - case 268435456: - return 268435456; - case 536870912: - return 536870912; - case 1073741824: - return 1073741824; - default: - return o; - } - } - function yc(o, u) { - var f = o.pendingLanes; - if (f === 0) return 0; - var b = 0, - w = o.suspendedLanes, - C = o.pingedLanes, - M = f & 268435455; - if (M !== 0) { - var H = M & ~w; - H !== 0 ? (b = kl(H)) : ((C &= M), C !== 0 && (b = kl(C))); - } else (M = f & ~w), M !== 0 ? (b = kl(M)) : C !== 0 && (b = kl(C)); - if (b === 0) return 0; - if (u !== 0 && u !== b && (u & w) === 0 && ((w = b & -b), (C = u & -u), w >= C || (w === 16 && (C & 4194240) !== 0))) return u; - if (((b & 4) !== 0 && (b |= f & 16), (u = o.entangledLanes), u !== 0)) - for (o = o.entanglements, u &= b; 0 < u; ) (f = 31 - Dn(u)), (w = 1 << f), (b |= o[f]), (u &= ~w); - return b; - } - function qM(o, u) { - switch (o) { - case 1: - case 2: - case 4: - return u + 250; - case 8: - case 16: - case 32: - case 64: - case 128: - case 256: - case 512: - case 1024: - case 2048: - case 4096: - case 8192: - case 16384: - case 32768: - case 65536: - case 131072: - case 262144: - case 524288: - case 1048576: - case 2097152: - return u + 5e3; - case 4194304: - case 8388608: - case 16777216: - case 33554432: - case 67108864: - return -1; - case 134217728: - case 268435456: - case 536870912: - case 1073741824: - return -1; - default: - return -1; - } - } - function HM(o, u) { - for (var f = o.suspendedLanes, b = o.pingedLanes, w = o.expirationTimes, C = o.pendingLanes; 0 < C; ) { - var M = 31 - Dn(C), - H = 1 << M, - K = w[M]; - K === -1 ? ((H & f) === 0 || (H & b) !== 0) && (w[M] = qM(H, u)) : K <= u && (o.expiredLanes |= H), (C &= ~H); - } - } - function zf(o) { - return (o = o.pendingLanes & -1073741825), o !== 0 ? o : o & 1073741824 ? 1073741824 : 0; - } - function V4() { - var o = bc; - return (bc <<= 1), (bc & 4194240) === 0 && (bc = 64), o; - } - function Bf(o) { - for (var u = [], f = 0; 31 > f; f++) u.push(o); - return u; - } - function Tl(o, u, f) { - (o.pendingLanes |= u), u !== 536870912 && ((o.suspendedLanes = 0), (o.pingedLanes = 0)), (o = o.eventTimes), (u = 31 - Dn(u)), (o[u] = f); - } - function GM(o, u) { - var f = o.pendingLanes & ~u; - (o.pendingLanes = u), - (o.suspendedLanes = 0), - (o.pingedLanes = 0), - (o.expiredLanes &= u), - (o.mutableReadLanes &= u), - (o.entangledLanes &= u), - (u = o.entanglements); - var b = o.eventTimes; - for (o = o.expirationTimes; 0 < f; ) { - var w = 31 - Dn(f), - C = 1 << w; - (u[w] = 0), (b[w] = -1), (o[w] = -1), (f &= ~C); - } - } - function Uf(o, u) { - var f = (o.entangledLanes |= u); - for (o = o.entanglements; f; ) { - var b = 31 - Dn(f), - w = 1 << b; - (w & u) | (o[b] & u) && (o[b] |= u), (f &= ~w); - } - } - var yt = 0; - function W4(o) { - return (o &= -o), 1 < o ? (4 < o ? ((o & 268435455) !== 0 ? 16 : 536870912) : 4) : 1; - } - var Y4, - $f, - K4, - X4, - Z4, - jf = !1, - wc = [], - ei = null, - ti = null, - ri = null, - Al = new Map(), - Cl = new Map(), - ni = [], - VM = - 'mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit'.split( - ' ' - ); - function Q4(o, u) { - switch (o) { - case 'focusin': - case 'focusout': - ei = null; - break; - case 'dragenter': - case 'dragleave': - ti = null; - break; - case 'mouseover': - case 'mouseout': - ri = null; - break; - case 'pointerover': - case 'pointerout': - Al.delete(u.pointerId); - break; - case 'gotpointercapture': - case 'lostpointercapture': - Cl.delete(u.pointerId); - } - } - function Rl(o, u, f, b, w, C) { - return o === null || o.nativeEvent !== C - ? ((o = { blockedOn: u, domEventName: f, eventSystemFlags: b, nativeEvent: C, targetContainers: [w] }), u !== null && ((u = jl(u)), u !== null && $f(u)), o) - : ((o.eventSystemFlags |= b), (u = o.targetContainers), w !== null && u.indexOf(w) === -1 && u.push(w), o); - } - function WM(o, u, f, b, w) { - switch (u) { - case 'focusin': - return (ei = Rl(ei, o, u, f, b, w)), !0; - case 'dragenter': - return (ti = Rl(ti, o, u, f, b, w)), !0; - case 'mouseover': - return (ri = Rl(ri, o, u, f, b, w)), !0; - case 'pointerover': - var C = w.pointerId; - return Al.set(C, Rl(Al.get(C) || null, o, u, f, b, w)), !0; - case 'gotpointercapture': - return (C = w.pointerId), Cl.set(C, Rl(Cl.get(C) || null, o, u, f, b, w)), !0; - } - return !1; - } - function J4(o) { - var u = Qi(o.target); - if (u !== null) { - var f = Zi(u); - if (f !== null) { - if (((u = f.tag), u === 13)) { - if (((u = z4(f)), u !== null)) { - (o.blockedOn = u), - Z4(o.priority, function () { - K4(f); - }); - return; - } - } else if (u === 3 && f.stateNode.current.memoizedState.isDehydrated) { - o.blockedOn = f.tag === 3 ? f.stateNode.containerInfo : null; - return; - } - } - } - o.blockedOn = null; - } - function xc(o) { - if (o.blockedOn !== null) return !1; - for (var u = o.targetContainers; 0 < u.length; ) { - var f = Hf(o.domEventName, o.eventSystemFlags, u[0], o.nativeEvent); - if (f === null) { - f = o.nativeEvent; - var b = new f.constructor(f.type, f); - (ur = b), f.target.dispatchEvent(b), (ur = null); - } else return (u = jl(f)), u !== null && $f(u), (o.blockedOn = f), !1; - u.shift(); - } - return !0; - } - function eS(o, u, f) { - xc(o) && f.delete(u); - } - function YM() { - (jf = !1), ei !== null && xc(ei) && (ei = null), ti !== null && xc(ti) && (ti = null), ri !== null && xc(ri) && (ri = null), Al.forEach(eS), Cl.forEach(eS); - } - function Nl(o, u) { - o.blockedOn === u && ((o.blockedOn = null), jf || ((jf = !0), t.unstable_scheduleCallback(t.unstable_NormalPriority, YM))); - } - function Il(o) { - function u(w) { - return Nl(w, o); - } - if (0 < wc.length) { - Nl(wc[0], o); - for (var f = 1; f < wc.length; f++) { - var b = wc[f]; - b.blockedOn === o && (b.blockedOn = null); - } - } - for (ei !== null && Nl(ei, o), ti !== null && Nl(ti, o), ri !== null && Nl(ri, o), Al.forEach(u), Cl.forEach(u), f = 0; f < ni.length; f++) - (b = ni[f]), b.blockedOn === o && (b.blockedOn = null); - for (; 0 < ni.length && ((f = ni[0]), f.blockedOn === null); ) J4(f), f.blockedOn === null && ni.shift(); - } - var Yo = _.ReactCurrentBatchConfig, - Sc = !0; - function KM(o, u, f, b) { - var w = yt, - C = Yo.transition; - Yo.transition = null; - try { - (yt = 1), qf(o, u, f, b); - } finally { - (yt = w), (Yo.transition = C); - } - } - function XM(o, u, f, b) { - var w = yt, - C = Yo.transition; - Yo.transition = null; - try { - (yt = 4), qf(o, u, f, b); - } finally { - (yt = w), (Yo.transition = C); - } - } - function qf(o, u, f, b) { - if (Sc) { - var w = Hf(o, u, f, b); - if (w === null) s0(o, u, b, Ec, f), Q4(o, b); - else if (WM(w, o, u, f, b)) b.stopPropagation(); - else if ((Q4(o, b), u & 4 && -1 < VM.indexOf(o))) { - for (; w !== null; ) { - var C = jl(w); - if ((C !== null && Y4(C), (C = Hf(o, u, f, b)), C === null && s0(o, u, b, Ec, f), C === w)) break; - w = C; - } - w !== null && b.stopPropagation(); - } else s0(o, u, b, null, f); - } - } - var Ec = null; - function Hf(o, u, f, b) { - if (((Ec = null), (o = Ur(b)), (o = Qi(o)), o !== null)) - if (((u = Zi(o)), u === null)) o = null; - else if (((f = u.tag), f === 13)) { - if (((o = z4(u)), o !== null)) return o; - o = null; - } else if (f === 3) { - if (u.stateNode.current.memoizedState.isDehydrated) return u.tag === 3 ? u.stateNode.containerInfo : null; - o = null; - } else u !== o && (o = null); - return (Ec = o), null; - } - function tS(o) { - switch (o) { - case 'cancel': - case 'click': - case 'close': - case 'contextmenu': - case 'copy': - case 'cut': - case 'auxclick': - case 'dblclick': - case 'dragend': - case 'dragstart': - case 'drop': - case 'focusin': - case 'focusout': - case 'input': - case 'invalid': - case 'keydown': - case 'keypress': - case 'keyup': - case 'mousedown': - case 'mouseup': - case 'paste': - case 'pause': - case 'play': - case 'pointercancel': - case 'pointerdown': - case 'pointerup': - case 'ratechange': - case 'reset': - case 'resize': - case 'seeked': - case 'submit': - case 'touchcancel': - case 'touchend': - case 'touchstart': - case 'volumechange': - case 'change': - case 'selectionchange': - case 'textInput': - case 'compositionstart': - case 'compositionend': - case 'compositionupdate': - case 'beforeblur': - case 'afterblur': - case 'beforeinput': - case 'blur': - case 'fullscreenchange': - case 'focus': - case 'hashchange': - case 'popstate': - case 'select': - case 'selectstart': - return 1; - case 'drag': - case 'dragenter': - case 'dragexit': - case 'dragleave': - case 'dragover': - case 'mousemove': - case 'mouseout': - case 'mouseover': - case 'pointermove': - case 'pointerout': - case 'pointerover': - case 'scroll': - case 'toggle': - case 'touchmove': - case 'wheel': - case 'mouseenter': - case 'mouseleave': - case 'pointerenter': - case 'pointerleave': - return 4; - case 'message': - switch (FM()) { - case Ff: - return 1; - case H4: - return 4; - case mc: - case zM: - return 16; - case G4: - return 536870912; - default: - return 16; - } - default: - return 16; - } - } - var ai = null, - Gf = null, - kc = null; - function rS() { - if (kc) return kc; - var o, - u = Gf, - f = u.length, - b, - w = 'value' in ai ? ai.value : ai.textContent, - C = w.length; - for (o = 0; o < f && u[o] === w[o]; o++); - var M = f - o; - for (b = 1; b <= M && u[f - b] === w[C - b]; b++); - return (kc = w.slice(o, 1 < b ? 1 - b : void 0)); - } - function Tc(o) { - var u = o.keyCode; - return 'charCode' in o ? ((o = o.charCode), o === 0 && u === 13 && (o = 13)) : (o = u), o === 10 && (o = 13), 32 <= o || o === 13 ? o : 0; - } - function Ac() { - return !0; - } - function nS() { - return !1; - } - function nn(o) { - function u(f, b, w, C, M) { - (this._reactName = f), (this._targetInst = w), (this.type = b), (this.nativeEvent = C), (this.target = M), (this.currentTarget = null); - for (var H in o) o.hasOwnProperty(H) && ((f = o[H]), (this[H] = f ? f(C) : C[H])); - return (this.isDefaultPrevented = (C.defaultPrevented != null ? C.defaultPrevented : C.returnValue === !1) ? Ac : nS), (this.isPropagationStopped = nS), this; - } - return ( - z(u.prototype, { - preventDefault: function () { - this.defaultPrevented = !0; - var f = this.nativeEvent; - f && (f.preventDefault ? f.preventDefault() : typeof f.returnValue != 'unknown' && (f.returnValue = !1), (this.isDefaultPrevented = Ac)); - }, - stopPropagation: function () { - var f = this.nativeEvent; - f && (f.stopPropagation ? f.stopPropagation() : typeof f.cancelBubble != 'unknown' && (f.cancelBubble = !0), (this.isPropagationStopped = Ac)); - }, - persist: function () {}, - isPersistent: Ac - }), - u - ); - } - var Ko = { - eventPhase: 0, - bubbles: 0, - cancelable: 0, - timeStamp: function (o) { - return o.timeStamp || Date.now(); - }, - defaultPrevented: 0, - isTrusted: 0 - }, - Vf = nn(Ko), - _l = z({}, Ko, { view: 0, detail: 0 }), - ZM = nn(_l), - Wf, - Yf, - Ol, - Cc = z({}, _l, { - screenX: 0, - screenY: 0, - clientX: 0, - clientY: 0, - pageX: 0, - pageY: 0, - ctrlKey: 0, - shiftKey: 0, - altKey: 0, - metaKey: 0, - getModifierState: Xf, - button: 0, - buttons: 0, - relatedTarget: function (o) { - return o.relatedTarget === void 0 ? (o.fromElement === o.srcElement ? o.toElement : o.fromElement) : o.relatedTarget; - }, - movementX: function (o) { - return 'movementX' in o - ? o.movementX - : (o !== Ol && (Ol && o.type === 'mousemove' ? ((Wf = o.screenX - Ol.screenX), (Yf = o.screenY - Ol.screenY)) : (Yf = Wf = 0), (Ol = o)), Wf); - }, - movementY: function (o) { - return 'movementY' in o ? o.movementY : Yf; - } - }), - aS = nn(Cc), - QM = z({}, Cc, { dataTransfer: 0 }), - JM = nn(QM), - eP = z({}, _l, { relatedTarget: 0 }), - Kf = nn(eP), - tP = z({}, Ko, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), - rP = nn(tP), - nP = z({}, Ko, { - clipboardData: function (o) { - return 'clipboardData' in o ? o.clipboardData : window.clipboardData; - } - }), - aP = nn(nP), - iP = z({}, Ko, { data: 0 }), - iS = nn(iP), - oP = { - Esc: 'Escape', - Spacebar: ' ', - Left: 'ArrowLeft', - Up: 'ArrowUp', - Right: 'ArrowRight', - Down: 'ArrowDown', - Del: 'Delete', - Win: 'OS', - Menu: 'ContextMenu', - Apps: 'ContextMenu', - Scroll: 'ScrollLock', - MozPrintableKey: 'Unidentified' - }, - sP = { - 8: 'Backspace', - 9: 'Tab', - 12: 'Clear', - 13: 'Enter', - 16: 'Shift', - 17: 'Control', - 18: 'Alt', - 19: 'Pause', - 20: 'CapsLock', - 27: 'Escape', - 32: ' ', - 33: 'PageUp', - 34: 'PageDown', - 35: 'End', - 36: 'Home', - 37: 'ArrowLeft', - 38: 'ArrowUp', - 39: 'ArrowRight', - 40: 'ArrowDown', - 45: 'Insert', - 46: 'Delete', - 112: 'F1', - 113: 'F2', - 114: 'F3', - 115: 'F4', - 116: 'F5', - 117: 'F6', - 118: 'F7', - 119: 'F8', - 120: 'F9', - 121: 'F10', - 122: 'F11', - 123: 'F12', - 144: 'NumLock', - 145: 'ScrollLock', - 224: 'Meta' - }, - lP = { Alt: 'altKey', Control: 'ctrlKey', Meta: 'metaKey', Shift: 'shiftKey' }; - function uP(o) { - var u = this.nativeEvent; - return u.getModifierState ? u.getModifierState(o) : (o = lP[o]) ? !!u[o] : !1; - } - function Xf() { - return uP; - } - var cP = z({}, _l, { - key: function (o) { - if (o.key) { - var u = oP[o.key] || o.key; - if (u !== 'Unidentified') return u; - } - return o.type === 'keypress' - ? ((o = Tc(o)), o === 13 ? 'Enter' : String.fromCharCode(o)) - : o.type === 'keydown' || o.type === 'keyup' - ? sP[o.keyCode] || 'Unidentified' - : ''; - }, - code: 0, - location: 0, - ctrlKey: 0, - shiftKey: 0, - altKey: 0, - metaKey: 0, - repeat: 0, - locale: 0, - getModifierState: Xf, - charCode: function (o) { - return o.type === 'keypress' ? Tc(o) : 0; - }, - keyCode: function (o) { - return o.type === 'keydown' || o.type === 'keyup' ? o.keyCode : 0; - }, - which: function (o) { - return o.type === 'keypress' ? Tc(o) : o.type === 'keydown' || o.type === 'keyup' ? o.keyCode : 0; - } - }), - dP = nn(cP), - pP = z({}, Cc, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), - oS = nn(pP), - fP = z({}, _l, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: Xf }), - hP = nn(fP), - mP = z({}, Ko, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), - gP = nn(mP), - bP = z({}, Cc, { - deltaX: function (o) { - return 'deltaX' in o ? o.deltaX : 'wheelDeltaX' in o ? -o.wheelDeltaX : 0; - }, - deltaY: function (o) { - return 'deltaY' in o ? o.deltaY : 'wheelDeltaY' in o ? -o.wheelDeltaY : 'wheelDelta' in o ? -o.wheelDelta : 0; - }, - deltaZ: 0, - deltaMode: 0 - }), - vP = nn(bP), - yP = [9, 13, 27, 32], - Zf = l && 'CompositionEvent' in window, - Ll = null; - l && 'documentMode' in document && (Ll = document.documentMode); - var wP = l && 'TextEvent' in window && !Ll, - sS = l && (!Zf || (Ll && 8 < Ll && 11 >= Ll)), - lS = ' ', - uS = !1; - function cS(o, u) { - switch (o) { - case 'keyup': - return yP.indexOf(u.keyCode) !== -1; - case 'keydown': - return u.keyCode !== 229; - case 'keypress': - case 'mousedown': - case 'focusout': - return !0; - default: - return !1; - } - } - function dS(o) { - return (o = o.detail), typeof o == 'object' && 'data' in o ? o.data : null; - } - var Xo = !1; - function xP(o, u) { - switch (o) { - case 'compositionend': - return dS(u); - case 'keypress': - return u.which !== 32 ? null : ((uS = !0), lS); - case 'textInput': - return (o = u.data), o === lS && uS ? null : o; - default: - return null; - } - } - function SP(o, u) { - if (Xo) return o === 'compositionend' || (!Zf && cS(o, u)) ? ((o = rS()), (kc = Gf = ai = null), (Xo = !1), o) : null; - switch (o) { - case 'paste': - return null; - case 'keypress': - if (!(u.ctrlKey || u.altKey || u.metaKey) || (u.ctrlKey && u.altKey)) { - if (u.char && 1 < u.char.length) return u.char; - if (u.which) return String.fromCharCode(u.which); - } - return null; - case 'compositionend': - return sS && u.locale !== 'ko' ? null : u.data; - default: - return null; - } - } - var EP = { - color: !0, - date: !0, - datetime: !0, - 'datetime-local': !0, - email: !0, - month: !0, - number: !0, - password: !0, - range: !0, - search: !0, - tel: !0, - text: !0, - time: !0, - url: !0, - week: !0 - }; - function pS(o) { - var u = o && o.nodeName && o.nodeName.toLowerCase(); - return u === 'input' ? !!EP[o.type] : u === 'textarea'; - } - function fS(o, u, f, b) { - yl(b), (u = Oc(u, 'onChange')), 0 < u.length && ((f = new Vf('onChange', 'change', null, f, b)), o.push({ event: f, listeners: u })); - } - var Dl = null, - Ml = null; - function kP(o) { - _S(o, 0); - } - function Rc(o) { - var u = ts(o); - if (ft(u)) return o; - } - function TP(o, u) { - if (o === 'change') return u; - } - var hS = !1; - if (l) { - var Qf; - if (l) { - var Jf = 'oninput' in document; - if (!Jf) { - var mS = document.createElement('div'); - mS.setAttribute('oninput', 'return;'), (Jf = typeof mS.oninput == 'function'); - } - Qf = Jf; - } else Qf = !1; - hS = Qf && (!document.documentMode || 9 < document.documentMode); - } - function gS() { - Dl && (Dl.detachEvent('onpropertychange', bS), (Ml = Dl = null)); - } - function bS(o) { - if (o.propertyName === 'value' && Rc(Ml)) { - var u = []; - fS(u, Ml, o, Ur(o)), F4(kP, u); - } - } - function AP(o, u, f) { - o === 'focusin' ? (gS(), (Dl = u), (Ml = f), Dl.attachEvent('onpropertychange', bS)) : o === 'focusout' && gS(); - } - function CP(o) { - if (o === 'selectionchange' || o === 'keyup' || o === 'keydown') return Rc(Ml); - } - function RP(o, u) { - if (o === 'click') return Rc(u); - } - function NP(o, u) { - if (o === 'input' || o === 'change') return Rc(u); - } - function IP(o, u) { - return (o === u && (o !== 0 || 1 / o === 1 / u)) || (o !== o && u !== u); - } - var Mn = typeof Object.is == 'function' ? Object.is : IP; - function Pl(o, u) { - if (Mn(o, u)) return !0; - if (typeof o != 'object' || o === null || typeof u != 'object' || u === null) return !1; - var f = Object.keys(o), - b = Object.keys(u); - if (f.length !== b.length) return !1; - for (b = 0; b < f.length; b++) { - var w = f[b]; - if (!c.call(u, w) || !Mn(o[w], u[w])) return !1; - } - return !0; - } - function vS(o) { - for (; o && o.firstChild; ) o = o.firstChild; - return o; - } - function yS(o, u) { - var f = vS(o); - o = 0; - for (var b; f; ) { - if (f.nodeType === 3) { - if (((b = o + f.textContent.length), o <= u && b >= u)) return { node: f, offset: u - o }; - o = b; - } - e: { - for (; f; ) { - if (f.nextSibling) { - f = f.nextSibling; - break e; - } - f = f.parentNode; - } - f = void 0; - } - f = vS(f); - } - } - function wS(o, u) { - return o && u - ? o === u - ? !0 - : o && o.nodeType === 3 - ? !1 - : u && u.nodeType === 3 - ? wS(o, u.parentNode) - : 'contains' in o - ? o.contains(u) - : o.compareDocumentPosition - ? !!(o.compareDocumentPosition(u) & 16) - : !1 - : !1; - } - function xS() { - for (var o = window, u = Ie(); u instanceof o.HTMLIFrameElement; ) { - try { - var f = typeof u.contentWindow.location.href == 'string'; - } catch { - f = !1; - } - if (f) o = u.contentWindow; - else break; - u = Ie(o.document); - } - return u; - } - function e0(o) { - var u = o && o.nodeName && o.nodeName.toLowerCase(); - return ( - u && - ((u === 'input' && (o.type === 'text' || o.type === 'search' || o.type === 'tel' || o.type === 'url' || o.type === 'password')) || - u === 'textarea' || - o.contentEditable === 'true') - ); - } - function _P(o) { - var u = xS(), - f = o.focusedElem, - b = o.selectionRange; - if (u !== f && f && f.ownerDocument && wS(f.ownerDocument.documentElement, f)) { - if (b !== null && e0(f)) { - if (((u = b.start), (o = b.end), o === void 0 && (o = u), 'selectionStart' in f)) (f.selectionStart = u), (f.selectionEnd = Math.min(o, f.value.length)); - else if (((o = ((u = f.ownerDocument || document) && u.defaultView) || window), o.getSelection)) { - o = o.getSelection(); - var w = f.textContent.length, - C = Math.min(b.start, w); - (b = b.end === void 0 ? C : Math.min(b.end, w)), !o.extend && C > b && ((w = b), (b = C), (C = w)), (w = yS(f, C)); - var M = yS(f, b); - w && - M && - (o.rangeCount !== 1 || o.anchorNode !== w.node || o.anchorOffset !== w.offset || o.focusNode !== M.node || o.focusOffset !== M.offset) && - ((u = u.createRange()), - u.setStart(w.node, w.offset), - o.removeAllRanges(), - C > b ? (o.addRange(u), o.extend(M.node, M.offset)) : (u.setEnd(M.node, M.offset), o.addRange(u))); - } - } - for (u = [], o = f; (o = o.parentNode); ) o.nodeType === 1 && u.push({ element: o, left: o.scrollLeft, top: o.scrollTop }); - for (typeof f.focus == 'function' && f.focus(), f = 0; f < u.length; f++) (o = u[f]), (o.element.scrollLeft = o.left), (o.element.scrollTop = o.top); - } - } - var OP = l && 'documentMode' in document && 11 >= document.documentMode, - Zo = null, - t0 = null, - Fl = null, - r0 = !1; - function SS(o, u, f) { - var b = f.window === f ? f.document : f.nodeType === 9 ? f : f.ownerDocument; - r0 || - Zo == null || - Zo !== Ie(b) || - ((b = Zo), - 'selectionStart' in b && e0(b) - ? (b = { start: b.selectionStart, end: b.selectionEnd }) - : ((b = ((b.ownerDocument && b.ownerDocument.defaultView) || window).getSelection()), - (b = { anchorNode: b.anchorNode, anchorOffset: b.anchorOffset, focusNode: b.focusNode, focusOffset: b.focusOffset })), - (Fl && Pl(Fl, b)) || - ((Fl = b), - (b = Oc(t0, 'onSelect')), - 0 < b.length && ((u = new Vf('onSelect', 'select', null, u, f)), o.push({ event: u, listeners: b }), (u.target = Zo)))); - } - function Nc(o, u) { - var f = {}; - return (f[o.toLowerCase()] = u.toLowerCase()), (f['Webkit' + o] = 'webkit' + u), (f['Moz' + o] = 'moz' + u), f; - } - var Qo = { - animationend: Nc('Animation', 'AnimationEnd'), - animationiteration: Nc('Animation', 'AnimationIteration'), - animationstart: Nc('Animation', 'AnimationStart'), - transitionend: Nc('Transition', 'TransitionEnd') - }, - n0 = {}, - ES = {}; - l && - ((ES = document.createElement('div').style), - 'AnimationEvent' in window || (delete Qo.animationend.animation, delete Qo.animationiteration.animation, delete Qo.animationstart.animation), - 'TransitionEvent' in window || delete Qo.transitionend.transition); - function Ic(o) { - if (n0[o]) return n0[o]; - if (!Qo[o]) return o; - var u = Qo[o], - f; - for (f in u) if (u.hasOwnProperty(f) && f in ES) return (n0[o] = u[f]); - return o; - } - var kS = Ic('animationend'), - TS = Ic('animationiteration'), - AS = Ic('animationstart'), - CS = Ic('transitionend'), - RS = new Map(), - NS = - 'abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel'.split( - ' ' - ); - function ii(o, u) { - RS.set(o, u), i(u, [o]); - } - for (var a0 = 0; a0 < NS.length; a0++) { - var i0 = NS[a0], - LP = i0.toLowerCase(), - DP = i0[0].toUpperCase() + i0.slice(1); - ii(LP, 'on' + DP); - } - ii(kS, 'onAnimationEnd'), - ii(TS, 'onAnimationIteration'), - ii(AS, 'onAnimationStart'), - ii('dblclick', 'onDoubleClick'), - ii('focusin', 'onFocus'), - ii('focusout', 'onBlur'), - ii(CS, 'onTransitionEnd'), - s('onMouseEnter', ['mouseout', 'mouseover']), - s('onMouseLeave', ['mouseout', 'mouseover']), - s('onPointerEnter', ['pointerout', 'pointerover']), - s('onPointerLeave', ['pointerout', 'pointerover']), - i('onChange', 'change click focusin focusout input keydown keyup selectionchange'.split(' ')), - i('onSelect', 'focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange'.split(' ')), - i('onBeforeInput', ['compositionend', 'keypress', 'textInput', 'paste']), - i('onCompositionEnd', 'compositionend focusout keydown keypress keyup mousedown'.split(' ')), - i('onCompositionStart', 'compositionstart focusout keydown keypress keyup mousedown'.split(' ')), - i('onCompositionUpdate', 'compositionupdate focusout keydown keypress keyup mousedown'.split(' ')); - var zl = - '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( - ' ' - ), - MP = new Set('cancel close invalid load scroll toggle'.split(' ').concat(zl)); - function IS(o, u, f) { - var b = o.type || 'unknown-event'; - (o.currentTarget = f), LM(b, u, void 0, o), (o.currentTarget = null); - } - function _S(o, u) { - u = (u & 4) !== 0; - for (var f = 0; f < o.length; f++) { - var b = o[f], - w = b.event; - b = b.listeners; - e: { - var C = void 0; - if (u) - for (var M = b.length - 1; 0 <= M; M--) { - var H = b[M], - K = H.instance, - ue = H.currentTarget; - if (((H = H.listener), K !== C && w.isPropagationStopped())) break e; - IS(w, H, ue), (C = K); - } - else - for (M = 0; M < b.length; M++) { - if (((H = b[M]), (K = H.instance), (ue = H.currentTarget), (H = H.listener), K !== C && w.isPropagationStopped())) break e; - IS(w, H, ue), (C = K); - } - } - } - if (hc) throw ((o = Pf), (hc = !1), (Pf = null), o); - } - function Ct(o, u) { - var f = u[f0]; - f === void 0 && (f = u[f0] = new Set()); - var b = o + '__bubble'; - f.has(b) || (OS(u, o, 2, !1), f.add(b)); - } - function o0(o, u, f) { - var b = 0; - u && (b |= 4), OS(f, o, b, u); - } - var _c = '_reactListening' + Math.random().toString(36).slice(2); - function Bl(o) { - if (!o[_c]) { - (o[_c] = !0), - n.forEach(function (f) { - f !== 'selectionchange' && (MP.has(f) || o0(f, !1, o), o0(f, !0, o)); - }); - var u = o.nodeType === 9 ? o : o.ownerDocument; - u === null || u[_c] || ((u[_c] = !0), o0('selectionchange', !1, u)); - } - } - function OS(o, u, f, b) { - switch (tS(u)) { - case 1: - var w = KM; - break; - case 4: - w = XM; - break; - default: - w = qf; - } - (f = w.bind(null, u, f, o)), - (w = void 0), - !Mf || (u !== 'touchstart' && u !== 'touchmove' && u !== 'wheel') || (w = !0), - b - ? w !== void 0 - ? o.addEventListener(u, f, { capture: !0, passive: w }) - : o.addEventListener(u, f, !0) - : w !== void 0 - ? o.addEventListener(u, f, { passive: w }) - : o.addEventListener(u, f, !1); - } - function s0(o, u, f, b, w) { - var C = b; - if ((u & 1) === 0 && (u & 2) === 0 && b !== null) - e: for (;;) { - if (b === null) return; - var M = b.tag; - if (M === 3 || M === 4) { - var H = b.stateNode.containerInfo; - if (H === w || (H.nodeType === 8 && H.parentNode === w)) break; - if (M === 4) - for (M = b.return; M !== null; ) { - var K = M.tag; - if ((K === 3 || K === 4) && ((K = M.stateNode.containerInfo), K === w || (K.nodeType === 8 && K.parentNode === w))) return; - M = M.return; - } - for (; H !== null; ) { - if (((M = Qi(H)), M === null)) return; - if (((K = M.tag), K === 5 || K === 6)) { - b = C = M; - continue e; - } - H = H.parentNode; - } - } - b = b.return; - } - F4(function () { - var ue = C, - we = Ur(f), - xe = []; - e: { - var be = RS.get(o); - if (be !== void 0) { - var Ne = Vf, - Pe = o; - switch (o) { - case 'keypress': - if (Tc(f) === 0) break e; - case 'keydown': - case 'keyup': - Ne = dP; - break; - case 'focusin': - (Pe = 'focus'), (Ne = Kf); - break; - case 'focusout': - (Pe = 'blur'), (Ne = Kf); - break; - case 'beforeblur': - case 'afterblur': - Ne = Kf; - break; - case 'click': - if (f.button === 2) break e; - case 'auxclick': - case 'dblclick': - case 'mousedown': - case 'mousemove': - case 'mouseup': - case 'mouseout': - case 'mouseover': - case 'contextmenu': - Ne = aS; - break; - case 'drag': - case 'dragend': - case 'dragenter': - case 'dragexit': - case 'dragleave': - case 'dragover': - case 'dragstart': - case 'drop': - Ne = JM; - break; - case 'touchcancel': - case 'touchend': - case 'touchmove': - case 'touchstart': - Ne = hP; - break; - case kS: - case TS: - case AS: - Ne = rP; - break; - case CS: - Ne = gP; - break; - case 'scroll': - Ne = ZM; - break; - case 'wheel': - Ne = vP; - break; - case 'copy': - case 'cut': - case 'paste': - Ne = aP; - break; - case 'gotpointercapture': - case 'lostpointercapture': - case 'pointercancel': - case 'pointerdown': - case 'pointermove': - case 'pointerout': - case 'pointerover': - case 'pointerup': - Ne = oS; - } - var Fe = (u & 4) !== 0, - Gt = !Fe && o === 'scroll', - ae = Fe ? (be !== null ? be + 'Capture' : null) : be; - Fe = []; - for (var ee = ue, se; ee !== null; ) { - se = ee; - var Te = se.stateNode; - if ((se.tag === 5 && Te !== null && ((se = Te), ae !== null && ((Te = xl(ee, ae)), Te != null && Fe.push(Ul(ee, Te, se)))), Gt)) break; - ee = ee.return; - } - 0 < Fe.length && ((be = new Ne(be, Pe, null, f, we)), xe.push({ event: be, listeners: Fe })); - } - } - if ((u & 7) === 0) { - e: { - if ( - ((be = o === 'mouseover' || o === 'pointerover'), - (Ne = o === 'mouseout' || o === 'pointerout'), - be && f !== ur && (Pe = f.relatedTarget || f.fromElement) && (Qi(Pe) || Pe[Ea])) - ) - break e; - if ( - (Ne || be) && - ((be = we.window === we ? we : (be = we.ownerDocument) ? be.defaultView || be.parentWindow : window), - Ne - ? ((Pe = f.relatedTarget || f.toElement), - (Ne = ue), - (Pe = Pe ? Qi(Pe) : null), - Pe !== null && ((Gt = Zi(Pe)), Pe !== Gt || (Pe.tag !== 5 && Pe.tag !== 6)) && (Pe = null)) - : ((Ne = null), (Pe = ue)), - Ne !== Pe) - ) { - if ( - ((Fe = aS), - (Te = 'onMouseLeave'), - (ae = 'onMouseEnter'), - (ee = 'mouse'), - (o === 'pointerout' || o === 'pointerover') && ((Fe = oS), (Te = 'onPointerLeave'), (ae = 'onPointerEnter'), (ee = 'pointer')), - (Gt = Ne == null ? be : ts(Ne)), - (se = Pe == null ? be : ts(Pe)), - (be = new Fe(Te, ee + 'leave', Ne, f, we)), - (be.target = Gt), - (be.relatedTarget = se), - (Te = null), - Qi(we) === ue && ((Fe = new Fe(ae, ee + 'enter', Pe, f, we)), (Fe.target = se), (Fe.relatedTarget = Gt), (Te = Fe)), - (Gt = Te), - Ne && Pe) - ) - t: { - for (Fe = Ne, ae = Pe, ee = 0, se = Fe; se; se = Jo(se)) ee++; - for (se = 0, Te = ae; Te; Te = Jo(Te)) se++; - for (; 0 < ee - se; ) (Fe = Jo(Fe)), ee--; - for (; 0 < se - ee; ) (ae = Jo(ae)), se--; - for (; ee--; ) { - if (Fe === ae || (ae !== null && Fe === ae.alternate)) break t; - (Fe = Jo(Fe)), (ae = Jo(ae)); - } - Fe = null; - } - else Fe = null; - Ne !== null && LS(xe, be, Ne, Fe, !1), Pe !== null && Gt !== null && LS(xe, Gt, Pe, Fe, !0); - } - } - e: { - if (((be = ue ? ts(ue) : window), (Ne = be.nodeName && be.nodeName.toLowerCase()), Ne === 'select' || (Ne === 'input' && be.type === 'file'))) - var Be = TP; - else if (pS(be)) - if (hS) Be = NP; - else { - Be = CP; - var He = AP; - } - else (Ne = be.nodeName) && Ne.toLowerCase() === 'input' && (be.type === 'checkbox' || be.type === 'radio') && (Be = RP); - if (Be && (Be = Be(o, ue))) { - fS(xe, Be, f, we); - break e; - } - He && He(o, be, ue), o === 'focusout' && (He = be._wrapperState) && He.controlled && be.type === 'number' && Ft(be, 'number', be.value); - } - switch (((He = ue ? ts(ue) : window), o)) { - case 'focusin': - (pS(He) || He.contentEditable === 'true') && ((Zo = He), (t0 = ue), (Fl = null)); - break; - case 'focusout': - Fl = t0 = Zo = null; - break; - case 'mousedown': - r0 = !0; - break; - case 'contextmenu': - case 'mouseup': - case 'dragend': - (r0 = !1), SS(xe, f, we); - break; - case 'selectionchange': - if (OP) break; - case 'keydown': - case 'keyup': - SS(xe, f, we); - } - var Ge; - if (Zf) - e: { - switch (o) { - case 'compositionstart': - var Qe = 'onCompositionStart'; - break e; - case 'compositionend': - Qe = 'onCompositionEnd'; - break e; - case 'compositionupdate': - Qe = 'onCompositionUpdate'; - break e; - } - Qe = void 0; - } - else Xo ? cS(o, f) && (Qe = 'onCompositionEnd') : o === 'keydown' && f.keyCode === 229 && (Qe = 'onCompositionStart'); - Qe && - (sS && - f.locale !== 'ko' && - (Xo || Qe !== 'onCompositionStart' - ? Qe === 'onCompositionEnd' && Xo && (Ge = rS()) - : ((ai = we), (Gf = 'value' in ai ? ai.value : ai.textContent), (Xo = !0))), - (He = Oc(ue, Qe)), - 0 < He.length && - ((Qe = new iS(Qe, o, null, f, we)), xe.push({ event: Qe, listeners: He }), Ge ? (Qe.data = Ge) : ((Ge = dS(f)), Ge !== null && (Qe.data = Ge)))), - (Ge = wP ? xP(o, f) : SP(o, f)) && - ((ue = Oc(ue, 'onBeforeInput')), - 0 < ue.length && ((we = new iS('onBeforeInput', 'beforeinput', null, f, we)), xe.push({ event: we, listeners: ue }), (we.data = Ge))); - } - _S(xe, u); - }); - } - function Ul(o, u, f) { - return { instance: o, listener: u, currentTarget: f }; - } - function Oc(o, u) { - for (var f = u + 'Capture', b = []; o !== null; ) { - var w = o, - C = w.stateNode; - w.tag === 5 && C !== null && ((w = C), (C = xl(o, f)), C != null && b.unshift(Ul(o, C, w)), (C = xl(o, u)), C != null && b.push(Ul(o, C, w))), (o = o.return); - } - return b; - } - function Jo(o) { - if (o === null) return null; - do o = o.return; - while (o && o.tag !== 5); - return o || null; - } - function LS(o, u, f, b, w) { - for (var C = u._reactName, M = []; f !== null && f !== b; ) { - var H = f, - K = H.alternate, - ue = H.stateNode; - if (K !== null && K === b) break; - H.tag === 5 && ue !== null && ((H = ue), w ? ((K = xl(f, C)), K != null && M.unshift(Ul(f, K, H))) : w || ((K = xl(f, C)), K != null && M.push(Ul(f, K, H)))), - (f = f.return); - } - M.length !== 0 && o.push({ event: u, listeners: M }); - } - var PP = /\r\n?/g, - FP = /\u0000|\uFFFD/g; - function DS(o) { - return (typeof o == 'string' ? o : '' + o) - .replace( - PP, - ` -` - ) - .replace(FP, ''); - } - function Lc(o, u, f) { - if (((u = DS(u)), DS(o) !== u && f)) throw Error(r(425)); - } - function Dc() {} - var l0 = null, - u0 = null; - function c0(o, u) { - return ( - o === 'textarea' || - o === 'noscript' || - typeof u.children == 'string' || - typeof u.children == 'number' || - (typeof u.dangerouslySetInnerHTML == 'object' && u.dangerouslySetInnerHTML !== null && u.dangerouslySetInnerHTML.__html != null) - ); - } - var d0 = typeof setTimeout == 'function' ? setTimeout : void 0, - zP = typeof clearTimeout == 'function' ? clearTimeout : void 0, - MS = typeof Promise == 'function' ? Promise : void 0, - BP = - typeof queueMicrotask == 'function' - ? queueMicrotask - : typeof MS < 'u' - ? function (o) { - return MS.resolve(null).then(o).catch(UP); - } - : d0; - function UP(o) { - setTimeout(function () { - throw o; - }); - } - function p0(o, u) { - var f = u, - b = 0; - do { - var w = f.nextSibling; - if ((o.removeChild(f), w && w.nodeType === 8)) - if (((f = w.data), f === '/$')) { - if (b === 0) { - o.removeChild(w), Il(u); - return; - } - b--; - } else (f !== '$' && f !== '$?' && f !== '$!') || b++; - f = w; - } while (f); - Il(u); - } - function oi(o) { - for (; o != null; o = o.nextSibling) { - var u = o.nodeType; - if (u === 1 || u === 3) break; - if (u === 8) { - if (((u = o.data), u === '$' || u === '$!' || u === '$?')) break; - if (u === '/$') return null; - } - } - return o; - } - function PS(o) { - o = o.previousSibling; - for (var u = 0; o; ) { - if (o.nodeType === 8) { - var f = o.data; - if (f === '$' || f === '$!' || f === '$?') { - if (u === 0) return o; - u--; - } else f === '/$' && u++; - } - o = o.previousSibling; - } - return null; - } - var es = Math.random().toString(36).slice(2), - ea = '__reactFiber$' + es, - $l = '__reactProps$' + es, - Ea = '__reactContainer$' + es, - f0 = '__reactEvents$' + es, - $P = '__reactListeners$' + es, - jP = '__reactHandles$' + es; - function Qi(o) { - var u = o[ea]; - if (u) return u; - for (var f = o.parentNode; f; ) { - if ((u = f[Ea] || f[ea])) { - if (((f = u.alternate), u.child !== null || (f !== null && f.child !== null))) - for (o = PS(o); o !== null; ) { - if ((f = o[ea])) return f; - o = PS(o); - } - return u; - } - (o = f), (f = o.parentNode); - } - return null; - } - function jl(o) { - return (o = o[ea] || o[Ea]), !o || (o.tag !== 5 && o.tag !== 6 && o.tag !== 13 && o.tag !== 3) ? null : o; - } - function ts(o) { - if (o.tag === 5 || o.tag === 6) return o.stateNode; - throw Error(r(33)); - } - function Mc(o) { - return o[$l] || null; - } - var h0 = [], - rs = -1; - function si(o) { - return { current: o }; - } - function Rt(o) { - 0 > rs || ((o.current = h0[rs]), (h0[rs] = null), rs--); - } - function Et(o, u) { - rs++, (h0[rs] = o.current), (o.current = u); - } - var li = {}, - Sr = si(li), - $r = si(!1), - Ji = li; - function ns(o, u) { - var f = o.type.contextTypes; - if (!f) return li; - var b = o.stateNode; - if (b && b.__reactInternalMemoizedUnmaskedChildContext === u) return b.__reactInternalMemoizedMaskedChildContext; - var w = {}, - C; - for (C in f) w[C] = u[C]; - return b && ((o = o.stateNode), (o.__reactInternalMemoizedUnmaskedChildContext = u), (o.__reactInternalMemoizedMaskedChildContext = w)), w; - } - function jr(o) { - return (o = o.childContextTypes), o != null; - } - function Pc() { - Rt($r), Rt(Sr); - } - function FS(o, u, f) { - if (Sr.current !== li) throw Error(r(168)); - Et(Sr, u), Et($r, f); - } - function zS(o, u, f) { - var b = o.stateNode; - if (((u = u.childContextTypes), typeof b.getChildContext != 'function')) return f; - b = b.getChildContext(); - for (var w in b) if (!(w in u)) throw Error(r(108, ce(o) || 'Unknown', w)); - return z({}, f, b); - } - function Fc(o) { - return (o = ((o = o.stateNode) && o.__reactInternalMemoizedMergedChildContext) || li), (Ji = Sr.current), Et(Sr, o), Et($r, $r.current), !0; - } - function BS(o, u, f) { - var b = o.stateNode; - if (!b) throw Error(r(169)); - f ? ((o = zS(o, u, Ji)), (b.__reactInternalMemoizedMergedChildContext = o), Rt($r), Rt(Sr), Et(Sr, o)) : Rt($r), Et($r, f); - } - var ka = null, - zc = !1, - m0 = !1; - function US(o) { - ka === null ? (ka = [o]) : ka.push(o); - } - function qP(o) { - (zc = !0), US(o); - } - function ui() { - if (!m0 && ka !== null) { - m0 = !0; - var o = 0, - u = yt; - try { - var f = ka; - for (yt = 1; o < f.length; o++) { - var b = f[o]; - do b = b(!0); - while (b !== null); - } - (ka = null), (zc = !1); - } catch (w) { - throw (ka !== null && (ka = ka.slice(o + 1)), j4(Ff, ui), w); - } finally { - (yt = u), (m0 = !1); - } - } - return null; - } - var as = [], - is = 0, - Bc = null, - Uc = 0, - vn = [], - yn = 0, - eo = null, - Ta = 1, - Aa = ''; - function to(o, u) { - (as[is++] = Uc), (as[is++] = Bc), (Bc = o), (Uc = u); - } - function $S(o, u, f) { - (vn[yn++] = Ta), (vn[yn++] = Aa), (vn[yn++] = eo), (eo = o); - var b = Ta; - o = Aa; - var w = 32 - Dn(b) - 1; - (b &= ~(1 << w)), (f += 1); - var C = 32 - Dn(u) + w; - if (30 < C) { - var M = w - (w % 5); - (C = (b & ((1 << M) - 1)).toString(32)), (b >>= M), (w -= M), (Ta = (1 << (32 - Dn(u) + w)) | (f << w) | b), (Aa = C + o); - } else (Ta = (1 << C) | (f << w) | b), (Aa = o); - } - function g0(o) { - o.return !== null && (to(o, 1), $S(o, 1, 0)); - } - function b0(o) { - for (; o === Bc; ) (Bc = as[--is]), (as[is] = null), (Uc = as[--is]), (as[is] = null); - for (; o === eo; ) (eo = vn[--yn]), (vn[yn] = null), (Aa = vn[--yn]), (vn[yn] = null), (Ta = vn[--yn]), (vn[yn] = null); - } - var an = null, - on = null, - _t = !1, - Pn = null; - function jS(o, u) { - var f = En(5, null, null, 0); - (f.elementType = 'DELETED'), (f.stateNode = u), (f.return = o), (u = o.deletions), u === null ? ((o.deletions = [f]), (o.flags |= 16)) : u.push(f); - } - function qS(o, u) { - switch (o.tag) { - case 5: - var f = o.type; - return ( - (u = u.nodeType !== 1 || f.toLowerCase() !== u.nodeName.toLowerCase() ? null : u), - u !== null ? ((o.stateNode = u), (an = o), (on = oi(u.firstChild)), !0) : !1 - ); - case 6: - return (u = o.pendingProps === '' || u.nodeType !== 3 ? null : u), u !== null ? ((o.stateNode = u), (an = o), (on = null), !0) : !1; - case 13: - return ( - (u = u.nodeType !== 8 ? null : u), - u !== null - ? ((f = eo !== null ? { id: Ta, overflow: Aa } : null), - (o.memoizedState = { dehydrated: u, treeContext: f, retryLane: 1073741824 }), - (f = En(18, null, null, 0)), - (f.stateNode = u), - (f.return = o), - (o.child = f), - (an = o), - (on = null), - !0) - : !1 - ); - default: - return !1; - } - } - function v0(o) { - return (o.mode & 1) !== 0 && (o.flags & 128) === 0; - } - function y0(o) { - if (_t) { - var u = on; - if (u) { - var f = u; - if (!qS(o, u)) { - if (v0(o)) throw Error(r(418)); - u = oi(f.nextSibling); - var b = an; - u && qS(o, u) ? jS(b, f) : ((o.flags = (o.flags & -4097) | 2), (_t = !1), (an = o)); - } - } else { - if (v0(o)) throw Error(r(418)); - (o.flags = (o.flags & -4097) | 2), (_t = !1), (an = o); - } - } - } - function HS(o) { - for (o = o.return; o !== null && o.tag !== 5 && o.tag !== 3 && o.tag !== 13; ) o = o.return; - an = o; - } - function $c(o) { - if (o !== an) return !1; - if (!_t) return HS(o), (_t = !0), !1; - var u; - if (((u = o.tag !== 3) && !(u = o.tag !== 5) && ((u = o.type), (u = u !== 'head' && u !== 'body' && !c0(o.type, o.memoizedProps))), u && (u = on))) { - if (v0(o)) throw (GS(), Error(r(418))); - for (; u; ) jS(o, u), (u = oi(u.nextSibling)); - } - if ((HS(o), o.tag === 13)) { - if (((o = o.memoizedState), (o = o !== null ? o.dehydrated : null), !o)) throw Error(r(317)); - e: { - for (o = o.nextSibling, u = 0; o; ) { - if (o.nodeType === 8) { - var f = o.data; - if (f === '/$') { - if (u === 0) { - on = oi(o.nextSibling); - break e; - } - u--; - } else (f !== '$' && f !== '$!' && f !== '$?') || u++; - } - o = o.nextSibling; - } - on = null; - } - } else on = an ? oi(o.stateNode.nextSibling) : null; - return !0; - } - function GS() { - for (var o = on; o; ) o = oi(o.nextSibling); - } - function os() { - (on = an = null), (_t = !1); - } - function w0(o) { - Pn === null ? (Pn = [o]) : Pn.push(o); - } - var HP = _.ReactCurrentBatchConfig; - function ql(o, u, f) { - if (((o = f.ref), o !== null && typeof o != 'function' && typeof o != 'object')) { - if (f._owner) { - if (((f = f._owner), f)) { - if (f.tag !== 1) throw Error(r(309)); - var b = f.stateNode; - } - if (!b) throw Error(r(147, o)); - var w = b, - C = '' + o; - return u !== null && u.ref !== null && typeof u.ref == 'function' && u.ref._stringRef === C - ? u.ref - : ((u = function (M) { - var H = w.refs; - M === null ? delete H[C] : (H[C] = M); - }), - (u._stringRef = C), - u); - } - if (typeof o != 'string') throw Error(r(284)); - if (!f._owner) throw Error(r(290, o)); - } - return o; - } - function jc(o, u) { - throw ((o = Object.prototype.toString.call(u)), Error(r(31, o === '[object Object]' ? 'object with keys {' + Object.keys(u).join(', ') + '}' : o))); - } - function VS(o) { - var u = o._init; - return u(o._payload); - } - function WS(o) { - function u(ae, ee) { - if (o) { - var se = ae.deletions; - se === null ? ((ae.deletions = [ee]), (ae.flags |= 16)) : se.push(ee); - } - } - function f(ae, ee) { - if (!o) return null; - for (; ee !== null; ) u(ae, ee), (ee = ee.sibling); - return null; - } - function b(ae, ee) { - for (ae = new Map(); ee !== null; ) ee.key !== null ? ae.set(ee.key, ee) : ae.set(ee.index, ee), (ee = ee.sibling); - return ae; - } - function w(ae, ee) { - return (ae = bi(ae, ee)), (ae.index = 0), (ae.sibling = null), ae; - } - function C(ae, ee, se) { - return ( - (ae.index = se), - o ? ((se = ae.alternate), se !== null ? ((se = se.index), se < ee ? ((ae.flags |= 2), ee) : se) : ((ae.flags |= 2), ee)) : ((ae.flags |= 1048576), ee) - ); - } - function M(ae) { - return o && ae.alternate === null && (ae.flags |= 2), ae; - } - function H(ae, ee, se, Te) { - return ee === null || ee.tag !== 6 ? ((ee = dh(se, ae.mode, Te)), (ee.return = ae), ee) : ((ee = w(ee, se)), (ee.return = ae), ee); - } - function K(ae, ee, se, Te) { - var Be = se.type; - return Be === P - ? we(ae, ee, se.props.children, Te, se.key) - : ee !== null && (ee.elementType === Be || (typeof Be == 'object' && Be !== null && Be.$$typeof === pe && VS(Be) === ee.type)) - ? ((Te = w(ee, se.props)), (Te.ref = ql(ae, ee, se)), (Te.return = ae), Te) - : ((Te = pd(se.type, se.key, se.props, null, ae.mode, Te)), (Te.ref = ql(ae, ee, se)), (Te.return = ae), Te); - } - function ue(ae, ee, se, Te) { - return ee === null || ee.tag !== 4 || ee.stateNode.containerInfo !== se.containerInfo || ee.stateNode.implementation !== se.implementation - ? ((ee = ph(se, ae.mode, Te)), (ee.return = ae), ee) - : ((ee = w(ee, se.children || [])), (ee.return = ae), ee); - } - function we(ae, ee, se, Te, Be) { - return ee === null || ee.tag !== 7 ? ((ee = uo(se, ae.mode, Te, Be)), (ee.return = ae), ee) : ((ee = w(ee, se)), (ee.return = ae), ee); - } - function xe(ae, ee, se) { - if ((typeof ee == 'string' && ee !== '') || typeof ee == 'number') return (ee = dh('' + ee, ae.mode, se)), (ee.return = ae), ee; - if (typeof ee == 'object' && ee !== null) { - switch (ee.$$typeof) { - case L: - return (se = pd(ee.type, ee.key, ee.props, null, ae.mode, se)), (se.ref = ql(ae, null, ee)), (se.return = ae), se; - case I: - return (ee = ph(ee, ae.mode, se)), (ee.return = ae), ee; - case pe: - var Te = ee._init; - return xe(ae, Te(ee._payload), se); - } - if (ir(ee) || fe(ee)) return (ee = uo(ee, ae.mode, se, null)), (ee.return = ae), ee; - jc(ae, ee); - } - return null; - } - function be(ae, ee, se, Te) { - var Be = ee !== null ? ee.key : null; - if ((typeof se == 'string' && se !== '') || typeof se == 'number') return Be !== null ? null : H(ae, ee, '' + se, Te); - if (typeof se == 'object' && se !== null) { - switch (se.$$typeof) { - case L: - return se.key === Be ? K(ae, ee, se, Te) : null; - case I: - return se.key === Be ? ue(ae, ee, se, Te) : null; - case pe: - return (Be = se._init), be(ae, ee, Be(se._payload), Te); - } - if (ir(se) || fe(se)) return Be !== null ? null : we(ae, ee, se, Te, null); - jc(ae, se); - } - return null; - } - function Ne(ae, ee, se, Te, Be) { - if ((typeof Te == 'string' && Te !== '') || typeof Te == 'number') return (ae = ae.get(se) || null), H(ee, ae, '' + Te, Be); - if (typeof Te == 'object' && Te !== null) { - switch (Te.$$typeof) { - case L: - return (ae = ae.get(Te.key === null ? se : Te.key) || null), K(ee, ae, Te, Be); - case I: - return (ae = ae.get(Te.key === null ? se : Te.key) || null), ue(ee, ae, Te, Be); - case pe: - var He = Te._init; - return Ne(ae, ee, se, He(Te._payload), Be); - } - if (ir(Te) || fe(Te)) return (ae = ae.get(se) || null), we(ee, ae, Te, Be, null); - jc(ee, Te); - } - return null; - } - function Pe(ae, ee, se, Te) { - for (var Be = null, He = null, Ge = ee, Qe = (ee = 0), pr = null; Ge !== null && Qe < se.length; Qe++) { - Ge.index > Qe ? ((pr = Ge), (Ge = null)) : (pr = Ge.sibling); - var gt = be(ae, Ge, se[Qe], Te); - if (gt === null) { - Ge === null && (Ge = pr); - break; - } - o && Ge && gt.alternate === null && u(ae, Ge), (ee = C(gt, ee, Qe)), He === null ? (Be = gt) : (He.sibling = gt), (He = gt), (Ge = pr); - } - if (Qe === se.length) return f(ae, Ge), _t && to(ae, Qe), Be; - if (Ge === null) { - for (; Qe < se.length; Qe++) (Ge = xe(ae, se[Qe], Te)), Ge !== null && ((ee = C(Ge, ee, Qe)), He === null ? (Be = Ge) : (He.sibling = Ge), (He = Ge)); - return _t && to(ae, Qe), Be; - } - for (Ge = b(ae, Ge); Qe < se.length; Qe++) - (pr = Ne(Ge, ae, Qe, se[Qe], Te)), - pr !== null && - (o && pr.alternate !== null && Ge.delete(pr.key === null ? Qe : pr.key), (ee = C(pr, ee, Qe)), He === null ? (Be = pr) : (He.sibling = pr), (He = pr)); - return ( - o && - Ge.forEach(function (vi) { - return u(ae, vi); - }), - _t && to(ae, Qe), - Be - ); - } - function Fe(ae, ee, se, Te) { - var Be = fe(se); - if (typeof Be != 'function') throw Error(r(150)); - if (((se = Be.call(se)), se == null)) throw Error(r(151)); - for (var He = (Be = null), Ge = ee, Qe = (ee = 0), pr = null, gt = se.next(); Ge !== null && !gt.done; Qe++, gt = se.next()) { - Ge.index > Qe ? ((pr = Ge), (Ge = null)) : (pr = Ge.sibling); - var vi = be(ae, Ge, gt.value, Te); - if (vi === null) { - Ge === null && (Ge = pr); - break; - } - o && Ge && vi.alternate === null && u(ae, Ge), (ee = C(vi, ee, Qe)), He === null ? (Be = vi) : (He.sibling = vi), (He = vi), (Ge = pr); - } - if (gt.done) return f(ae, Ge), _t && to(ae, Qe), Be; - if (Ge === null) { - for (; !gt.done; Qe++, gt = se.next()) - (gt = xe(ae, gt.value, Te)), gt !== null && ((ee = C(gt, ee, Qe)), He === null ? (Be = gt) : (He.sibling = gt), (He = gt)); - return _t && to(ae, Qe), Be; - } - for (Ge = b(ae, Ge); !gt.done; Qe++, gt = se.next()) - (gt = Ne(Ge, ae, Qe, gt.value, Te)), - gt !== null && - (o && gt.alternate !== null && Ge.delete(gt.key === null ? Qe : gt.key), (ee = C(gt, ee, Qe)), He === null ? (Be = gt) : (He.sibling = gt), (He = gt)); - return ( - o && - Ge.forEach(function (EF) { - return u(ae, EF); - }), - _t && to(ae, Qe), - Be - ); - } - function Gt(ae, ee, se, Te) { - if ((typeof se == 'object' && se !== null && se.type === P && se.key === null && (se = se.props.children), typeof se == 'object' && se !== null)) { - switch (se.$$typeof) { - case L: - e: { - for (var Be = se.key, He = ee; He !== null; ) { - if (He.key === Be) { - if (((Be = se.type), Be === P)) { - if (He.tag === 7) { - f(ae, He.sibling), (ee = w(He, se.props.children)), (ee.return = ae), (ae = ee); - break e; - } - } else if (He.elementType === Be || (typeof Be == 'object' && Be !== null && Be.$$typeof === pe && VS(Be) === He.type)) { - f(ae, He.sibling), (ee = w(He, se.props)), (ee.ref = ql(ae, He, se)), (ee.return = ae), (ae = ee); - break e; - } - f(ae, He); - break; - } else u(ae, He); - He = He.sibling; - } - se.type === P - ? ((ee = uo(se.props.children, ae.mode, Te, se.key)), (ee.return = ae), (ae = ee)) - : ((Te = pd(se.type, se.key, se.props, null, ae.mode, Te)), (Te.ref = ql(ae, ee, se)), (Te.return = ae), (ae = Te)); - } - return M(ae); - case I: - e: { - for (He = se.key; ee !== null; ) { - if (ee.key === He) - if (ee.tag === 4 && ee.stateNode.containerInfo === se.containerInfo && ee.stateNode.implementation === se.implementation) { - f(ae, ee.sibling), (ee = w(ee, se.children || [])), (ee.return = ae), (ae = ee); - break e; - } else { - f(ae, ee); - break; - } - else u(ae, ee); - ee = ee.sibling; - } - (ee = ph(se, ae.mode, Te)), (ee.return = ae), (ae = ee); - } - return M(ae); - case pe: - return (He = se._init), Gt(ae, ee, He(se._payload), Te); - } - if (ir(se)) return Pe(ae, ee, se, Te); - if (fe(se)) return Fe(ae, ee, se, Te); - jc(ae, se); - } - return (typeof se == 'string' && se !== '') || typeof se == 'number' - ? ((se = '' + se), - ee !== null && ee.tag === 6 - ? (f(ae, ee.sibling), (ee = w(ee, se)), (ee.return = ae), (ae = ee)) - : (f(ae, ee), (ee = dh(se, ae.mode, Te)), (ee.return = ae), (ae = ee)), - M(ae)) - : f(ae, ee); - } - return Gt; - } - var ss = WS(!0), - YS = WS(!1), - qc = si(null), - Hc = null, - ls = null, - x0 = null; - function S0() { - x0 = ls = Hc = null; - } - function E0(o) { - var u = qc.current; - Rt(qc), (o._currentValue = u); - } - function k0(o, u, f) { - for (; o !== null; ) { - var b = o.alternate; - if ( - ((o.childLanes & u) !== u ? ((o.childLanes |= u), b !== null && (b.childLanes |= u)) : b !== null && (b.childLanes & u) !== u && (b.childLanes |= u), - o === f) - ) - break; - o = o.return; - } - } - function us(o, u) { - (Hc = o), (x0 = ls = null), (o = o.dependencies), o !== null && o.firstContext !== null && ((o.lanes & u) !== 0 && (qr = !0), (o.firstContext = null)); - } - function wn(o) { - var u = o._currentValue; - if (x0 !== o) - if (((o = { context: o, memoizedValue: u, next: null }), ls === null)) { - if (Hc === null) throw Error(r(308)); - (ls = o), (Hc.dependencies = { lanes: 0, firstContext: o }); - } else ls = ls.next = o; - return u; - } - var ro = null; - function T0(o) { - ro === null ? (ro = [o]) : ro.push(o); - } - function KS(o, u, f, b) { - var w = u.interleaved; - return w === null ? ((f.next = f), T0(u)) : ((f.next = w.next), (w.next = f)), (u.interleaved = f), Ca(o, b); - } - function Ca(o, u) { - o.lanes |= u; - var f = o.alternate; - for (f !== null && (f.lanes |= u), f = o, o = o.return; o !== null; ) - (o.childLanes |= u), (f = o.alternate), f !== null && (f.childLanes |= u), (f = o), (o = o.return); - return f.tag === 3 ? f.stateNode : null; - } - var ci = !1; - function A0(o) { - o.updateQueue = { - baseState: o.memoizedState, - firstBaseUpdate: null, - lastBaseUpdate: null, - shared: { pending: null, interleaved: null, lanes: 0 }, - effects: null - }; - } - function XS(o, u) { - (o = o.updateQueue), - u.updateQueue === o && - (u.updateQueue = { baseState: o.baseState, firstBaseUpdate: o.firstBaseUpdate, lastBaseUpdate: o.lastBaseUpdate, shared: o.shared, effects: o.effects }); - } - function Ra(o, u) { - return { eventTime: o, lane: u, tag: 0, payload: null, callback: null, next: null }; - } - function di(o, u, f) { - var b = o.updateQueue; - if (b === null) return null; - if (((b = b.shared), (ht & 2) !== 0)) { - var w = b.pending; - return w === null ? (u.next = u) : ((u.next = w.next), (w.next = u)), (b.pending = u), Ca(o, f); - } - return (w = b.interleaved), w === null ? ((u.next = u), T0(b)) : ((u.next = w.next), (w.next = u)), (b.interleaved = u), Ca(o, f); - } - function Gc(o, u, f) { - if (((u = u.updateQueue), u !== null && ((u = u.shared), (f & 4194240) !== 0))) { - var b = u.lanes; - (b &= o.pendingLanes), (f |= b), (u.lanes = f), Uf(o, f); - } - } - function ZS(o, u) { - var f = o.updateQueue, - b = o.alternate; - if (b !== null && ((b = b.updateQueue), f === b)) { - var w = null, - C = null; - if (((f = f.firstBaseUpdate), f !== null)) { - do { - var M = { eventTime: f.eventTime, lane: f.lane, tag: f.tag, payload: f.payload, callback: f.callback, next: null }; - C === null ? (w = C = M) : (C = C.next = M), (f = f.next); - } while (f !== null); - C === null ? (w = C = u) : (C = C.next = u); - } else w = C = u; - (f = { baseState: b.baseState, firstBaseUpdate: w, lastBaseUpdate: C, shared: b.shared, effects: b.effects }), (o.updateQueue = f); - return; - } - (o = f.lastBaseUpdate), o === null ? (f.firstBaseUpdate = u) : (o.next = u), (f.lastBaseUpdate = u); - } - function Vc(o, u, f, b) { - var w = o.updateQueue; - ci = !1; - var C = w.firstBaseUpdate, - M = w.lastBaseUpdate, - H = w.shared.pending; - if (H !== null) { - w.shared.pending = null; - var K = H, - ue = K.next; - (K.next = null), M === null ? (C = ue) : (M.next = ue), (M = K); - var we = o.alternate; - we !== null && ((we = we.updateQueue), (H = we.lastBaseUpdate), H !== M && (H === null ? (we.firstBaseUpdate = ue) : (H.next = ue), (we.lastBaseUpdate = K))); - } - if (C !== null) { - var xe = w.baseState; - (M = 0), (we = ue = K = null), (H = C); - do { - var be = H.lane, - Ne = H.eventTime; - if ((b & be) === be) { - we !== null && (we = we.next = { eventTime: Ne, lane: 0, tag: H.tag, payload: H.payload, callback: H.callback, next: null }); - e: { - var Pe = o, - Fe = H; - switch (((be = u), (Ne = f), Fe.tag)) { - case 1: - if (((Pe = Fe.payload), typeof Pe == 'function')) { - xe = Pe.call(Ne, xe, be); - break e; - } - xe = Pe; - break e; - case 3: - Pe.flags = (Pe.flags & -65537) | 128; - case 0: - if (((Pe = Fe.payload), (be = typeof Pe == 'function' ? Pe.call(Ne, xe, be) : Pe), be == null)) break e; - xe = z({}, xe, be); - break e; - case 2: - ci = !0; - } - } - H.callback !== null && H.lane !== 0 && ((o.flags |= 64), (be = w.effects), be === null ? (w.effects = [H]) : be.push(H)); - } else - (Ne = { eventTime: Ne, lane: be, tag: H.tag, payload: H.payload, callback: H.callback, next: null }), - we === null ? ((ue = we = Ne), (K = xe)) : (we = we.next = Ne), - (M |= be); - if (((H = H.next), H === null)) { - if (((H = w.shared.pending), H === null)) break; - (be = H), (H = be.next), (be.next = null), (w.lastBaseUpdate = be), (w.shared.pending = null); - } - } while (!0); - if ((we === null && (K = xe), (w.baseState = K), (w.firstBaseUpdate = ue), (w.lastBaseUpdate = we), (u = w.shared.interleaved), u !== null)) { - w = u; - do (M |= w.lane), (w = w.next); - while (w !== u); - } else C === null && (w.shared.lanes = 0); - (io |= M), (o.lanes = M), (o.memoizedState = xe); - } - } - function QS(o, u, f) { - if (((o = u.effects), (u.effects = null), o !== null)) - for (u = 0; u < o.length; u++) { - var b = o[u], - w = b.callback; - if (w !== null) { - if (((b.callback = null), (b = f), typeof w != 'function')) throw Error(r(191, w)); - w.call(b); - } - } - } - var Hl = {}, - ta = si(Hl), - Gl = si(Hl), - Vl = si(Hl); - function no(o) { - if (o === Hl) throw Error(r(174)); - return o; - } - function C0(o, u) { - switch ((Et(Vl, u), Et(Gl, o), Et(ta, Hl), (o = u.nodeType), o)) { - case 9: - case 11: - u = (u = u.documentElement) ? u.namespaceURI : ye(null, ''); - break; - default: - (o = o === 8 ? u.parentNode : u), (u = o.namespaceURI || null), (o = o.tagName), (u = ye(u, o)); - } - Rt(ta), Et(ta, u); - } - function cs() { - Rt(ta), Rt(Gl), Rt(Vl); - } - function JS(o) { - no(Vl.current); - var u = no(ta.current), - f = ye(u, o.type); - u !== f && (Et(Gl, o), Et(ta, f)); - } - function R0(o) { - Gl.current === o && (Rt(ta), Rt(Gl)); - } - var Lt = si(0); - function Wc(o) { - for (var u = o; u !== null; ) { - if (u.tag === 13) { - var f = u.memoizedState; - if (f !== null && ((f = f.dehydrated), f === null || f.data === '$?' || f.data === '$!')) return u; - } else if (u.tag === 19 && u.memoizedProps.revealOrder !== void 0) { - if ((u.flags & 128) !== 0) return u; - } else if (u.child !== null) { - (u.child.return = u), (u = u.child); - continue; - } - if (u === o) break; - for (; u.sibling === null; ) { - if (u.return === null || u.return === o) return null; - u = u.return; - } - (u.sibling.return = u.return), (u = u.sibling); - } - return null; - } - var N0 = []; - function I0() { - for (var o = 0; o < N0.length; o++) N0[o]._workInProgressVersionPrimary = null; - N0.length = 0; - } - var Yc = _.ReactCurrentDispatcher, - _0 = _.ReactCurrentBatchConfig, - ao = 0, - Dt = null, - tr = null, - cr = null, - Kc = !1, - Wl = !1, - Yl = 0, - GP = 0; - function Er() { - throw Error(r(321)); - } - function O0(o, u) { - if (u === null) return !1; - for (var f = 0; f < u.length && f < o.length; f++) if (!Mn(o[f], u[f])) return !1; - return !0; - } - function L0(o, u, f, b, w, C) { - if ( - ((ao = C), - (Dt = u), - (u.memoizedState = null), - (u.updateQueue = null), - (u.lanes = 0), - (Yc.current = o === null || o.memoizedState === null ? KP : XP), - (o = f(b, w)), - Wl) - ) { - C = 0; - do { - if (((Wl = !1), (Yl = 0), 25 <= C)) throw Error(r(301)); - (C += 1), (cr = tr = null), (u.updateQueue = null), (Yc.current = ZP), (o = f(b, w)); - } while (Wl); - } - if (((Yc.current = Qc), (u = tr !== null && tr.next !== null), (ao = 0), (cr = tr = Dt = null), (Kc = !1), u)) throw Error(r(300)); - return o; - } - function D0() { - var o = Yl !== 0; - return (Yl = 0), o; - } - function ra() { - var o = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null }; - return cr === null ? (Dt.memoizedState = cr = o) : (cr = cr.next = o), cr; - } - function xn() { - if (tr === null) { - var o = Dt.alternate; - o = o !== null ? o.memoizedState : null; - } else o = tr.next; - var u = cr === null ? Dt.memoizedState : cr.next; - if (u !== null) (cr = u), (tr = o); - else { - if (o === null) throw Error(r(310)); - (tr = o), - (o = { memoizedState: tr.memoizedState, baseState: tr.baseState, baseQueue: tr.baseQueue, queue: tr.queue, next: null }), - cr === null ? (Dt.memoizedState = cr = o) : (cr = cr.next = o); - } - return cr; - } - function Kl(o, u) { - return typeof u == 'function' ? u(o) : u; - } - function M0(o) { - var u = xn(), - f = u.queue; - if (f === null) throw Error(r(311)); - f.lastRenderedReducer = o; - var b = tr, - w = b.baseQueue, - C = f.pending; - if (C !== null) { - if (w !== null) { - var M = w.next; - (w.next = C.next), (C.next = M); - } - (b.baseQueue = w = C), (f.pending = null); - } - if (w !== null) { - (C = w.next), (b = b.baseState); - var H = (M = null), - K = null, - ue = C; - do { - var we = ue.lane; - if ((ao & we) === we) - K !== null && (K = K.next = { lane: 0, action: ue.action, hasEagerState: ue.hasEagerState, eagerState: ue.eagerState, next: null }), - (b = ue.hasEagerState ? ue.eagerState : o(b, ue.action)); - else { - var xe = { lane: we, action: ue.action, hasEagerState: ue.hasEagerState, eagerState: ue.eagerState, next: null }; - K === null ? ((H = K = xe), (M = b)) : (K = K.next = xe), (Dt.lanes |= we), (io |= we); - } - ue = ue.next; - } while (ue !== null && ue !== C); - K === null ? (M = b) : (K.next = H), - Mn(b, u.memoizedState) || (qr = !0), - (u.memoizedState = b), - (u.baseState = M), - (u.baseQueue = K), - (f.lastRenderedState = b); - } - if (((o = f.interleaved), o !== null)) { - w = o; - do (C = w.lane), (Dt.lanes |= C), (io |= C), (w = w.next); - while (w !== o); - } else w === null && (f.lanes = 0); - return [u.memoizedState, f.dispatch]; - } - function P0(o) { - var u = xn(), - f = u.queue; - if (f === null) throw Error(r(311)); - f.lastRenderedReducer = o; - var b = f.dispatch, - w = f.pending, - C = u.memoizedState; - if (w !== null) { - f.pending = null; - var M = (w = w.next); - do (C = o(C, M.action)), (M = M.next); - while (M !== w); - Mn(C, u.memoizedState) || (qr = !0), (u.memoizedState = C), u.baseQueue === null && (u.baseState = C), (f.lastRenderedState = C); - } - return [C, b]; - } - function eE() {} - function tE(o, u) { - var f = Dt, - b = xn(), - w = u(), - C = !Mn(b.memoizedState, w); - if ( - (C && ((b.memoizedState = w), (qr = !0)), - (b = b.queue), - F0(aE.bind(null, f, b, o), [o]), - b.getSnapshot !== u || C || (cr !== null && cr.memoizedState.tag & 1)) - ) { - if (((f.flags |= 2048), Xl(9, nE.bind(null, f, b, w, u), void 0, null), dr === null)) throw Error(r(349)); - (ao & 30) !== 0 || rE(f, u, w); - } - return w; - } - function rE(o, u, f) { - (o.flags |= 16384), - (o = { getSnapshot: u, value: f }), - (u = Dt.updateQueue), - u === null ? ((u = { lastEffect: null, stores: null }), (Dt.updateQueue = u), (u.stores = [o])) : ((f = u.stores), f === null ? (u.stores = [o]) : f.push(o)); - } - function nE(o, u, f, b) { - (u.value = f), (u.getSnapshot = b), iE(u) && oE(o); - } - function aE(o, u, f) { - return f(function () { - iE(u) && oE(o); - }); - } - function iE(o) { - var u = o.getSnapshot; - o = o.value; - try { - var f = u(); - return !Mn(o, f); - } catch { - return !0; - } - } - function oE(o) { - var u = Ca(o, 1); - u !== null && Un(u, o, 1, -1); - } - function sE(o) { - var u = ra(); - return ( - typeof o == 'function' && (o = o()), - (u.memoizedState = u.baseState = o), - (o = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: Kl, lastRenderedState: o }), - (u.queue = o), - (o = o.dispatch = YP.bind(null, Dt, o)), - [u.memoizedState, o] - ); - } - function Xl(o, u, f, b) { - return ( - (o = { tag: o, create: u, destroy: f, deps: b, next: null }), - (u = Dt.updateQueue), - u === null - ? ((u = { lastEffect: null, stores: null }), (Dt.updateQueue = u), (u.lastEffect = o.next = o)) - : ((f = u.lastEffect), f === null ? (u.lastEffect = o.next = o) : ((b = f.next), (f.next = o), (o.next = b), (u.lastEffect = o))), - o - ); - } - function lE() { - return xn().memoizedState; - } - function Xc(o, u, f, b) { - var w = ra(); - (Dt.flags |= o), (w.memoizedState = Xl(1 | u, f, void 0, b === void 0 ? null : b)); - } - function Zc(o, u, f, b) { - var w = xn(); - b = b === void 0 ? null : b; - var C = void 0; - if (tr !== null) { - var M = tr.memoizedState; - if (((C = M.destroy), b !== null && O0(b, M.deps))) { - w.memoizedState = Xl(u, f, C, b); - return; - } - } - (Dt.flags |= o), (w.memoizedState = Xl(1 | u, f, C, b)); - } - function uE(o, u) { - return Xc(8390656, 8, o, u); - } - function F0(o, u) { - return Zc(2048, 8, o, u); - } - function cE(o, u) { - return Zc(4, 2, o, u); - } - function dE(o, u) { - return Zc(4, 4, o, u); - } - function pE(o, u) { - if (typeof u == 'function') - return ( - (o = o()), - u(o), - function () { - u(null); - } - ); - if (u != null) - return ( - (o = o()), - (u.current = o), - function () { - u.current = null; - } - ); - } - function fE(o, u, f) { - return (f = f != null ? f.concat([o]) : null), Zc(4, 4, pE.bind(null, u, o), f); - } - function z0() {} - function hE(o, u) { - var f = xn(); - u = u === void 0 ? null : u; - var b = f.memoizedState; - return b !== null && u !== null && O0(u, b[1]) ? b[0] : ((f.memoizedState = [o, u]), o); - } - function mE(o, u) { - var f = xn(); - u = u === void 0 ? null : u; - var b = f.memoizedState; - return b !== null && u !== null && O0(u, b[1]) ? b[0] : ((o = o()), (f.memoizedState = [o, u]), o); - } - function gE(o, u, f) { - return (ao & 21) === 0 - ? (o.baseState && ((o.baseState = !1), (qr = !0)), (o.memoizedState = f)) - : (Mn(f, u) || ((f = V4()), (Dt.lanes |= f), (io |= f), (o.baseState = !0)), u); - } - function VP(o, u) { - var f = yt; - (yt = f !== 0 && 4 > f ? f : 4), o(!0); - var b = _0.transition; - _0.transition = {}; - try { - o(!1), u(); - } finally { - (yt = f), (_0.transition = b); - } - } - function bE() { - return xn().memoizedState; - } - function WP(o, u, f) { - var b = mi(o); - if (((f = { lane: b, action: f, hasEagerState: !1, eagerState: null, next: null }), vE(o))) yE(u, f); - else if (((f = KS(o, u, f, b)), f !== null)) { - var w = Lr(); - Un(f, o, b, w), wE(f, u, b); - } - } - function YP(o, u, f) { - var b = mi(o), - w = { lane: b, action: f, hasEagerState: !1, eagerState: null, next: null }; - if (vE(o)) yE(u, w); - else { - var C = o.alternate; - if (o.lanes === 0 && (C === null || C.lanes === 0) && ((C = u.lastRenderedReducer), C !== null)) - try { - var M = u.lastRenderedState, - H = C(M, f); - if (((w.hasEagerState = !0), (w.eagerState = H), Mn(H, M))) { - var K = u.interleaved; - K === null ? ((w.next = w), T0(u)) : ((w.next = K.next), (K.next = w)), (u.interleaved = w); - return; - } - } catch { - } finally { - } - (f = KS(o, u, w, b)), f !== null && ((w = Lr()), Un(f, o, b, w), wE(f, u, b)); - } - } - function vE(o) { - var u = o.alternate; - return o === Dt || (u !== null && u === Dt); - } - function yE(o, u) { - Wl = Kc = !0; - var f = o.pending; - f === null ? (u.next = u) : ((u.next = f.next), (f.next = u)), (o.pending = u); - } - function wE(o, u, f) { - if ((f & 4194240) !== 0) { - var b = u.lanes; - (b &= o.pendingLanes), (f |= b), (u.lanes = f), Uf(o, f); - } - } - var Qc = { - readContext: wn, - useCallback: Er, - useContext: Er, - useEffect: Er, - useImperativeHandle: Er, - useInsertionEffect: Er, - useLayoutEffect: Er, - useMemo: Er, - useReducer: Er, - useRef: Er, - useState: Er, - useDebugValue: Er, - useDeferredValue: Er, - useTransition: Er, - useMutableSource: Er, - useSyncExternalStore: Er, - useId: Er, - unstable_isNewReconciler: !1 - }, - KP = { - readContext: wn, - useCallback: function (o, u) { - return (ra().memoizedState = [o, u === void 0 ? null : u]), o; - }, - useContext: wn, - useEffect: uE, - useImperativeHandle: function (o, u, f) { - return (f = f != null ? f.concat([o]) : null), Xc(4194308, 4, pE.bind(null, u, o), f); - }, - useLayoutEffect: function (o, u) { - return Xc(4194308, 4, o, u); - }, - useInsertionEffect: function (o, u) { - return Xc(4, 2, o, u); - }, - useMemo: function (o, u) { - var f = ra(); - return (u = u === void 0 ? null : u), (o = o()), (f.memoizedState = [o, u]), o; - }, - useReducer: function (o, u, f) { - var b = ra(); - return ( - (u = f !== void 0 ? f(u) : u), - (b.memoizedState = b.baseState = u), - (o = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: o, lastRenderedState: u }), - (b.queue = o), - (o = o.dispatch = WP.bind(null, Dt, o)), - [b.memoizedState, o] - ); - }, - useRef: function (o) { - var u = ra(); - return (o = { current: o }), (u.memoizedState = o); - }, - useState: sE, - useDebugValue: z0, - useDeferredValue: function (o) { - return (ra().memoizedState = o); - }, - useTransition: function () { - var o = sE(!1), - u = o[0]; - return (o = VP.bind(null, o[1])), (ra().memoizedState = o), [u, o]; - }, - useMutableSource: function () {}, - useSyncExternalStore: function (o, u, f) { - var b = Dt, - w = ra(); - if (_t) { - if (f === void 0) throw Error(r(407)); - f = f(); - } else { - if (((f = u()), dr === null)) throw Error(r(349)); - (ao & 30) !== 0 || rE(b, u, f); - } - w.memoizedState = f; - var C = { value: f, getSnapshot: u }; - return (w.queue = C), uE(aE.bind(null, b, C, o), [o]), (b.flags |= 2048), Xl(9, nE.bind(null, b, C, f, u), void 0, null), f; - }, - useId: function () { - var o = ra(), - u = dr.identifierPrefix; - if (_t) { - var f = Aa, - b = Ta; - (f = (b & ~(1 << (32 - Dn(b) - 1))).toString(32) + f), (u = ':' + u + 'R' + f), (f = Yl++), 0 < f && (u += 'H' + f.toString(32)), (u += ':'); - } else (f = GP++), (u = ':' + u + 'r' + f.toString(32) + ':'); - return (o.memoizedState = u); - }, - unstable_isNewReconciler: !1 - }, - XP = { - readContext: wn, - useCallback: hE, - useContext: wn, - useEffect: F0, - useImperativeHandle: fE, - useInsertionEffect: cE, - useLayoutEffect: dE, - useMemo: mE, - useReducer: M0, - useRef: lE, - useState: function () { - return M0(Kl); - }, - useDebugValue: z0, - useDeferredValue: function (o) { - var u = xn(); - return gE(u, tr.memoizedState, o); - }, - useTransition: function () { - var o = M0(Kl)[0], - u = xn().memoizedState; - return [o, u]; - }, - useMutableSource: eE, - useSyncExternalStore: tE, - useId: bE, - unstable_isNewReconciler: !1 - }, - ZP = { - readContext: wn, - useCallback: hE, - useContext: wn, - useEffect: F0, - useImperativeHandle: fE, - useInsertionEffect: cE, - useLayoutEffect: dE, - useMemo: mE, - useReducer: P0, - useRef: lE, - useState: function () { - return P0(Kl); - }, - useDebugValue: z0, - useDeferredValue: function (o) { - var u = xn(); - return tr === null ? (u.memoizedState = o) : gE(u, tr.memoizedState, o); - }, - useTransition: function () { - var o = P0(Kl)[0], - u = xn().memoizedState; - return [o, u]; - }, - useMutableSource: eE, - useSyncExternalStore: tE, - useId: bE, - unstable_isNewReconciler: !1 - }; - function Fn(o, u) { - if (o && o.defaultProps) { - (u = z({}, u)), (o = o.defaultProps); - for (var f in o) u[f] === void 0 && (u[f] = o[f]); - return u; - } - return u; - } - function B0(o, u, f, b) { - (u = o.memoizedState), (f = f(b, u)), (f = f == null ? u : z({}, u, f)), (o.memoizedState = f), o.lanes === 0 && (o.updateQueue.baseState = f); - } - var Jc = { - isMounted: function (o) { - return (o = o._reactInternals) ? Zi(o) === o : !1; - }, - enqueueSetState: function (o, u, f) { - o = o._reactInternals; - var b = Lr(), - w = mi(o), - C = Ra(b, w); - (C.payload = u), f != null && (C.callback = f), (u = di(o, C, w)), u !== null && (Un(u, o, w, b), Gc(u, o, w)); - }, - enqueueReplaceState: function (o, u, f) { - o = o._reactInternals; - var b = Lr(), - w = mi(o), - C = Ra(b, w); - (C.tag = 1), (C.payload = u), f != null && (C.callback = f), (u = di(o, C, w)), u !== null && (Un(u, o, w, b), Gc(u, o, w)); - }, - enqueueForceUpdate: function (o, u) { - o = o._reactInternals; - var f = Lr(), - b = mi(o), - w = Ra(f, b); - (w.tag = 2), u != null && (w.callback = u), (u = di(o, w, b)), u !== null && (Un(u, o, b, f), Gc(u, o, b)); - } - }; - function xE(o, u, f, b, w, C, M) { - return ( - (o = o.stateNode), - typeof o.shouldComponentUpdate == 'function' - ? o.shouldComponentUpdate(b, C, M) - : u.prototype && u.prototype.isPureReactComponent - ? !Pl(f, b) || !Pl(w, C) - : !0 - ); - } - function SE(o, u, f) { - var b = !1, - w = li, - C = u.contextType; - return ( - typeof C == 'object' && C !== null ? (C = wn(C)) : ((w = jr(u) ? Ji : Sr.current), (b = u.contextTypes), (C = (b = b != null) ? ns(o, w) : li)), - (u = new u(f, C)), - (o.memoizedState = u.state !== null && u.state !== void 0 ? u.state : null), - (u.updater = Jc), - (o.stateNode = u), - (u._reactInternals = o), - b && ((o = o.stateNode), (o.__reactInternalMemoizedUnmaskedChildContext = w), (o.__reactInternalMemoizedMaskedChildContext = C)), - u - ); - } - function EE(o, u, f, b) { - (o = u.state), - typeof u.componentWillReceiveProps == 'function' && u.componentWillReceiveProps(f, b), - typeof u.UNSAFE_componentWillReceiveProps == 'function' && u.UNSAFE_componentWillReceiveProps(f, b), - u.state !== o && Jc.enqueueReplaceState(u, u.state, null); - } - function U0(o, u, f, b) { - var w = o.stateNode; - (w.props = f), (w.state = o.memoizedState), (w.refs = {}), A0(o); - var C = u.contextType; - typeof C == 'object' && C !== null ? (w.context = wn(C)) : ((C = jr(u) ? Ji : Sr.current), (w.context = ns(o, C))), - (w.state = o.memoizedState), - (C = u.getDerivedStateFromProps), - typeof C == 'function' && (B0(o, u, C, f), (w.state = o.memoizedState)), - typeof u.getDerivedStateFromProps == 'function' || - typeof w.getSnapshotBeforeUpdate == 'function' || - (typeof w.UNSAFE_componentWillMount != 'function' && typeof w.componentWillMount != 'function') || - ((u = w.state), - typeof w.componentWillMount == 'function' && w.componentWillMount(), - typeof w.UNSAFE_componentWillMount == 'function' && w.UNSAFE_componentWillMount(), - u !== w.state && Jc.enqueueReplaceState(w, w.state, null), - Vc(o, f, w, b), - (w.state = o.memoizedState)), - typeof w.componentDidMount == 'function' && (o.flags |= 4194308); - } - function ds(o, u) { - try { - var f = '', - b = u; - do (f += ne(b)), (b = b.return); - while (b); - var w = f; - } catch (C) { - w = - ` -Error generating stack: ` + - C.message + - ` -` + - C.stack; - } - return { value: o, source: u, stack: w, digest: null }; - } - function $0(o, u, f) { - return { value: o, source: null, stack: f ?? null, digest: u ?? null }; - } - function j0(o, u) { - try { - console.error(u.value); - } catch (f) { - setTimeout(function () { - throw f; - }); - } - } - var QP = typeof WeakMap == 'function' ? WeakMap : Map; - function kE(o, u, f) { - (f = Ra(-1, f)), (f.tag = 3), (f.payload = { element: null }); - var b = u.value; - return ( - (f.callback = function () { - od || ((od = !0), (nh = b)), j0(o, u); - }), - f - ); - } - function TE(o, u, f) { - (f = Ra(-1, f)), (f.tag = 3); - var b = o.type.getDerivedStateFromError; - if (typeof b == 'function') { - var w = u.value; - (f.payload = function () { - return b(w); - }), - (f.callback = function () { - j0(o, u); - }); - } - var C = o.stateNode; - return ( - C !== null && - typeof C.componentDidCatch == 'function' && - (f.callback = function () { - j0(o, u), typeof b != 'function' && (fi === null ? (fi = new Set([this])) : fi.add(this)); - var M = u.stack; - this.componentDidCatch(u.value, { componentStack: M !== null ? M : '' }); - }), - f - ); - } - function AE(o, u, f) { - var b = o.pingCache; - if (b === null) { - b = o.pingCache = new QP(); - var w = new Set(); - b.set(u, w); - } else (w = b.get(u)), w === void 0 && ((w = new Set()), b.set(u, w)); - w.has(f) || (w.add(f), (o = pF.bind(null, o, u, f)), u.then(o, o)); - } - function CE(o) { - do { - var u; - if (((u = o.tag === 13) && ((u = o.memoizedState), (u = u !== null ? u.dehydrated !== null : !0)), u)) return o; - o = o.return; - } while (o !== null); - return null; - } - function RE(o, u, f, b, w) { - return (o.mode & 1) === 0 - ? (o === u - ? (o.flags |= 65536) - : ((o.flags |= 128), - (f.flags |= 131072), - (f.flags &= -52805), - f.tag === 1 && (f.alternate === null ? (f.tag = 17) : ((u = Ra(-1, 1)), (u.tag = 2), di(f, u, 1))), - (f.lanes |= 1)), - o) - : ((o.flags |= 65536), (o.lanes = w), o); - } - var JP = _.ReactCurrentOwner, - qr = !1; - function Or(o, u, f, b) { - u.child = o === null ? YS(u, null, f, b) : ss(u, o.child, f, b); - } - function NE(o, u, f, b, w) { - f = f.render; - var C = u.ref; - return ( - us(u, w), - (b = L0(o, u, f, b, C, w)), - (f = D0()), - o !== null && !qr - ? ((u.updateQueue = o.updateQueue), (u.flags &= -2053), (o.lanes &= ~w), Na(o, u, w)) - : (_t && f && g0(u), (u.flags |= 1), Or(o, u, b, w), u.child) - ); - } - function IE(o, u, f, b, w) { - if (o === null) { - var C = f.type; - return typeof C == 'function' && !ch(C) && C.defaultProps === void 0 && f.compare === null && f.defaultProps === void 0 - ? ((u.tag = 15), (u.type = C), _E(o, u, C, b, w)) - : ((o = pd(f.type, null, b, u, u.mode, w)), (o.ref = u.ref), (o.return = u), (u.child = o)); - } - if (((C = o.child), (o.lanes & w) === 0)) { - var M = C.memoizedProps; - if (((f = f.compare), (f = f !== null ? f : Pl), f(M, b) && o.ref === u.ref)) return Na(o, u, w); - } - return (u.flags |= 1), (o = bi(C, b)), (o.ref = u.ref), (o.return = u), (u.child = o); - } - function _E(o, u, f, b, w) { - if (o !== null) { - var C = o.memoizedProps; - if (Pl(C, b) && o.ref === u.ref) - if (((qr = !1), (u.pendingProps = b = C), (o.lanes & w) !== 0)) (o.flags & 131072) !== 0 && (qr = !0); - else return (u.lanes = o.lanes), Na(o, u, w); - } - return q0(o, u, f, b, w); - } - function OE(o, u, f) { - var b = u.pendingProps, - w = b.children, - C = o !== null ? o.memoizedState : null; - if (b.mode === 'hidden') - if ((u.mode & 1) === 0) (u.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }), Et(fs, sn), (sn |= f); - else { - if ((f & 1073741824) === 0) - return ( - (o = C !== null ? C.baseLanes | f : f), - (u.lanes = u.childLanes = 1073741824), - (u.memoizedState = { baseLanes: o, cachePool: null, transitions: null }), - (u.updateQueue = null), - Et(fs, sn), - (sn |= o), - null - ); - (u.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }), (b = C !== null ? C.baseLanes : f), Et(fs, sn), (sn |= b); - } - else C !== null ? ((b = C.baseLanes | f), (u.memoizedState = null)) : (b = f), Et(fs, sn), (sn |= b); - return Or(o, u, w, f), u.child; - } - function LE(o, u) { - var f = u.ref; - ((o === null && f !== null) || (o !== null && o.ref !== f)) && ((u.flags |= 512), (u.flags |= 2097152)); - } - function q0(o, u, f, b, w) { - var C = jr(f) ? Ji : Sr.current; - return ( - (C = ns(u, C)), - us(u, w), - (f = L0(o, u, f, b, C, w)), - (b = D0()), - o !== null && !qr - ? ((u.updateQueue = o.updateQueue), (u.flags &= -2053), (o.lanes &= ~w), Na(o, u, w)) - : (_t && b && g0(u), (u.flags |= 1), Or(o, u, f, w), u.child) - ); - } - function DE(o, u, f, b, w) { - if (jr(f)) { - var C = !0; - Fc(u); - } else C = !1; - if ((us(u, w), u.stateNode === null)) td(o, u), SE(u, f, b), U0(u, f, b, w), (b = !0); - else if (o === null) { - var M = u.stateNode, - H = u.memoizedProps; - M.props = H; - var K = M.context, - ue = f.contextType; - typeof ue == 'object' && ue !== null ? (ue = wn(ue)) : ((ue = jr(f) ? Ji : Sr.current), (ue = ns(u, ue))); - var we = f.getDerivedStateFromProps, - xe = typeof we == 'function' || typeof M.getSnapshotBeforeUpdate == 'function'; - xe || - (typeof M.UNSAFE_componentWillReceiveProps != 'function' && typeof M.componentWillReceiveProps != 'function') || - ((H !== b || K !== ue) && EE(u, M, b, ue)), - (ci = !1); - var be = u.memoizedState; - (M.state = be), - Vc(u, b, M, w), - (K = u.memoizedState), - H !== b || be !== K || $r.current || ci - ? (typeof we == 'function' && (B0(u, f, we, b), (K = u.memoizedState)), - (H = ci || xE(u, f, H, b, be, K, ue)) - ? (xe || - (typeof M.UNSAFE_componentWillMount != 'function' && typeof M.componentWillMount != 'function') || - (typeof M.componentWillMount == 'function' && M.componentWillMount(), - typeof M.UNSAFE_componentWillMount == 'function' && M.UNSAFE_componentWillMount()), - typeof M.componentDidMount == 'function' && (u.flags |= 4194308)) - : (typeof M.componentDidMount == 'function' && (u.flags |= 4194308), (u.memoizedProps = b), (u.memoizedState = K)), - (M.props = b), - (M.state = K), - (M.context = ue), - (b = H)) - : (typeof M.componentDidMount == 'function' && (u.flags |= 4194308), (b = !1)); - } else { - (M = u.stateNode), - XS(o, u), - (H = u.memoizedProps), - (ue = u.type === u.elementType ? H : Fn(u.type, H)), - (M.props = ue), - (xe = u.pendingProps), - (be = M.context), - (K = f.contextType), - typeof K == 'object' && K !== null ? (K = wn(K)) : ((K = jr(f) ? Ji : Sr.current), (K = ns(u, K))); - var Ne = f.getDerivedStateFromProps; - (we = typeof Ne == 'function' || typeof M.getSnapshotBeforeUpdate == 'function') || - (typeof M.UNSAFE_componentWillReceiveProps != 'function' && typeof M.componentWillReceiveProps != 'function') || - ((H !== xe || be !== K) && EE(u, M, b, K)), - (ci = !1), - (be = u.memoizedState), - (M.state = be), - Vc(u, b, M, w); - var Pe = u.memoizedState; - H !== xe || be !== Pe || $r.current || ci - ? (typeof Ne == 'function' && (B0(u, f, Ne, b), (Pe = u.memoizedState)), - (ue = ci || xE(u, f, ue, b, be, Pe, K) || !1) - ? (we || - (typeof M.UNSAFE_componentWillUpdate != 'function' && typeof M.componentWillUpdate != 'function') || - (typeof M.componentWillUpdate == 'function' && M.componentWillUpdate(b, Pe, K), - typeof M.UNSAFE_componentWillUpdate == 'function' && M.UNSAFE_componentWillUpdate(b, Pe, K)), - typeof M.componentDidUpdate == 'function' && (u.flags |= 4), - typeof M.getSnapshotBeforeUpdate == 'function' && (u.flags |= 1024)) - : (typeof M.componentDidUpdate != 'function' || (H === o.memoizedProps && be === o.memoizedState) || (u.flags |= 4), - typeof M.getSnapshotBeforeUpdate != 'function' || (H === o.memoizedProps && be === o.memoizedState) || (u.flags |= 1024), - (u.memoizedProps = b), - (u.memoizedState = Pe)), - (M.props = b), - (M.state = Pe), - (M.context = K), - (b = ue)) - : (typeof M.componentDidUpdate != 'function' || (H === o.memoizedProps && be === o.memoizedState) || (u.flags |= 4), - typeof M.getSnapshotBeforeUpdate != 'function' || (H === o.memoizedProps && be === o.memoizedState) || (u.flags |= 1024), - (b = !1)); - } - return H0(o, u, f, b, C, w); - } - function H0(o, u, f, b, w, C) { - LE(o, u); - var M = (u.flags & 128) !== 0; - if (!b && !M) return w && BS(u, f, !1), Na(o, u, C); - (b = u.stateNode), (JP.current = u); - var H = M && typeof f.getDerivedStateFromError != 'function' ? null : b.render(); - return ( - (u.flags |= 1), - o !== null && M ? ((u.child = ss(u, o.child, null, C)), (u.child = ss(u, null, H, C))) : Or(o, u, H, C), - (u.memoizedState = b.state), - w && BS(u, f, !0), - u.child - ); - } - function ME(o) { - var u = o.stateNode; - u.pendingContext ? FS(o, u.pendingContext, u.pendingContext !== u.context) : u.context && FS(o, u.context, !1), C0(o, u.containerInfo); - } - function PE(o, u, f, b, w) { - return os(), w0(w), (u.flags |= 256), Or(o, u, f, b), u.child; - } - var G0 = { dehydrated: null, treeContext: null, retryLane: 0 }; - function V0(o) { - return { baseLanes: o, cachePool: null, transitions: null }; - } - function FE(o, u, f) { - var b = u.pendingProps, - w = Lt.current, - C = !1, - M = (u.flags & 128) !== 0, - H; - if ( - ((H = M) || (H = o !== null && o.memoizedState === null ? !1 : (w & 2) !== 0), - H ? ((C = !0), (u.flags &= -129)) : (o === null || o.memoizedState !== null) && (w |= 1), - Et(Lt, w & 1), - o === null) - ) - return ( - y0(u), - (o = u.memoizedState), - o !== null && ((o = o.dehydrated), o !== null) - ? ((u.mode & 1) === 0 ? (u.lanes = 1) : o.data === '$!' ? (u.lanes = 8) : (u.lanes = 1073741824), null) - : ((M = b.children), - (o = b.fallback), - C - ? ((b = u.mode), - (C = u.child), - (M = { mode: 'hidden', children: M }), - (b & 1) === 0 && C !== null ? ((C.childLanes = 0), (C.pendingProps = M)) : (C = fd(M, b, 0, null)), - (o = uo(o, b, f, null)), - (C.return = u), - (o.return = u), - (C.sibling = o), - (u.child = C), - (u.child.memoizedState = V0(f)), - (u.memoizedState = G0), - o) - : W0(u, M)) - ); - if (((w = o.memoizedState), w !== null && ((H = w.dehydrated), H !== null))) return eF(o, u, M, b, H, w, f); - if (C) { - (C = b.fallback), (M = u.mode), (w = o.child), (H = w.sibling); - var K = { mode: 'hidden', children: b.children }; - return ( - (M & 1) === 0 && u.child !== w - ? ((b = u.child), (b.childLanes = 0), (b.pendingProps = K), (u.deletions = null)) - : ((b = bi(w, K)), (b.subtreeFlags = w.subtreeFlags & 14680064)), - H !== null ? (C = bi(H, C)) : ((C = uo(C, M, f, null)), (C.flags |= 2)), - (C.return = u), - (b.return = u), - (b.sibling = C), - (u.child = b), - (b = C), - (C = u.child), - (M = o.child.memoizedState), - (M = M === null ? V0(f) : { baseLanes: M.baseLanes | f, cachePool: null, transitions: M.transitions }), - (C.memoizedState = M), - (C.childLanes = o.childLanes & ~f), - (u.memoizedState = G0), - b - ); - } - return ( - (C = o.child), - (o = C.sibling), - (b = bi(C, { mode: 'visible', children: b.children })), - (u.mode & 1) === 0 && (b.lanes = f), - (b.return = u), - (b.sibling = null), - o !== null && ((f = u.deletions), f === null ? ((u.deletions = [o]), (u.flags |= 16)) : f.push(o)), - (u.child = b), - (u.memoizedState = null), - b - ); - } - function W0(o, u) { - return (u = fd({ mode: 'visible', children: u }, o.mode, 0, null)), (u.return = o), (o.child = u); - } - function ed(o, u, f, b) { - return b !== null && w0(b), ss(u, o.child, null, f), (o = W0(u, u.pendingProps.children)), (o.flags |= 2), (u.memoizedState = null), o; - } - function eF(o, u, f, b, w, C, M) { - if (f) - return u.flags & 256 - ? ((u.flags &= -257), (b = $0(Error(r(422)))), ed(o, u, M, b)) - : u.memoizedState !== null - ? ((u.child = o.child), (u.flags |= 128), null) - : ((C = b.fallback), - (w = u.mode), - (b = fd({ mode: 'visible', children: b.children }, w, 0, null)), - (C = uo(C, w, M, null)), - (C.flags |= 2), - (b.return = u), - (C.return = u), - (b.sibling = C), - (u.child = b), - (u.mode & 1) !== 0 && ss(u, o.child, null, M), - (u.child.memoizedState = V0(M)), - (u.memoizedState = G0), - C); - if ((u.mode & 1) === 0) return ed(o, u, M, null); - if (w.data === '$!') { - if (((b = w.nextSibling && w.nextSibling.dataset), b)) var H = b.dgst; - return (b = H), (C = Error(r(419))), (b = $0(C, b, void 0)), ed(o, u, M, b); - } - if (((H = (M & o.childLanes) !== 0), qr || H)) { - if (((b = dr), b !== null)) { - switch (M & -M) { - case 4: - w = 2; - break; - case 16: - w = 8; - break; - case 64: - case 128: - case 256: - case 512: - case 1024: - case 2048: - case 4096: - case 8192: - case 16384: - case 32768: - case 65536: - case 131072: - case 262144: - case 524288: - case 1048576: - case 2097152: - case 4194304: - case 8388608: - case 16777216: - case 33554432: - case 67108864: - w = 32; - break; - case 536870912: - w = 268435456; - break; - default: - w = 0; - } - (w = (w & (b.suspendedLanes | M)) !== 0 ? 0 : w), w !== 0 && w !== C.retryLane && ((C.retryLane = w), Ca(o, w), Un(b, o, w, -1)); - } - return uh(), (b = $0(Error(r(421)))), ed(o, u, M, b); - } - return w.data === '$?' - ? ((u.flags |= 128), (u.child = o.child), (u = fF.bind(null, o)), (w._reactRetry = u), null) - : ((o = C.treeContext), - (on = oi(w.nextSibling)), - (an = u), - (_t = !0), - (Pn = null), - o !== null && ((vn[yn++] = Ta), (vn[yn++] = Aa), (vn[yn++] = eo), (Ta = o.id), (Aa = o.overflow), (eo = u)), - (u = W0(u, b.children)), - (u.flags |= 4096), - u); - } - function zE(o, u, f) { - o.lanes |= u; - var b = o.alternate; - b !== null && (b.lanes |= u), k0(o.return, u, f); - } - function Y0(o, u, f, b, w) { - var C = o.memoizedState; - C === null - ? (o.memoizedState = { isBackwards: u, rendering: null, renderingStartTime: 0, last: b, tail: f, tailMode: w }) - : ((C.isBackwards = u), (C.rendering = null), (C.renderingStartTime = 0), (C.last = b), (C.tail = f), (C.tailMode = w)); - } - function BE(o, u, f) { - var b = u.pendingProps, - w = b.revealOrder, - C = b.tail; - if ((Or(o, u, b.children, f), (b = Lt.current), (b & 2) !== 0)) (b = (b & 1) | 2), (u.flags |= 128); - else { - if (o !== null && (o.flags & 128) !== 0) - e: for (o = u.child; o !== null; ) { - if (o.tag === 13) o.memoizedState !== null && zE(o, f, u); - else if (o.tag === 19) zE(o, f, u); - else if (o.child !== null) { - (o.child.return = o), (o = o.child); - continue; - } - if (o === u) break e; - for (; o.sibling === null; ) { - if (o.return === null || o.return === u) break e; - o = o.return; - } - (o.sibling.return = o.return), (o = o.sibling); - } - b &= 1; - } - if ((Et(Lt, b), (u.mode & 1) === 0)) u.memoizedState = null; - else - switch (w) { - case 'forwards': - for (f = u.child, w = null; f !== null; ) (o = f.alternate), o !== null && Wc(o) === null && (w = f), (f = f.sibling); - (f = w), f === null ? ((w = u.child), (u.child = null)) : ((w = f.sibling), (f.sibling = null)), Y0(u, !1, w, f, C); - break; - case 'backwards': - for (f = null, w = u.child, u.child = null; w !== null; ) { - if (((o = w.alternate), o !== null && Wc(o) === null)) { - u.child = w; - break; - } - (o = w.sibling), (w.sibling = f), (f = w), (w = o); - } - Y0(u, !0, f, null, C); - break; - case 'together': - Y0(u, !1, null, null, void 0); - break; - default: - u.memoizedState = null; - } - return u.child; - } - function td(o, u) { - (u.mode & 1) === 0 && o !== null && ((o.alternate = null), (u.alternate = null), (u.flags |= 2)); - } - function Na(o, u, f) { - if ((o !== null && (u.dependencies = o.dependencies), (io |= u.lanes), (f & u.childLanes) === 0)) return null; - if (o !== null && u.child !== o.child) throw Error(r(153)); - if (u.child !== null) { - for (o = u.child, f = bi(o, o.pendingProps), u.child = f, f.return = u; o.sibling !== null; ) - (o = o.sibling), (f = f.sibling = bi(o, o.pendingProps)), (f.return = u); - f.sibling = null; - } - return u.child; - } - function tF(o, u, f) { - switch (u.tag) { - case 3: - ME(u), os(); - break; - case 5: - JS(u); - break; - case 1: - jr(u.type) && Fc(u); - break; - case 4: - C0(u, u.stateNode.containerInfo); - break; - case 10: - var b = u.type._context, - w = u.memoizedProps.value; - Et(qc, b._currentValue), (b._currentValue = w); - break; - case 13: - if (((b = u.memoizedState), b !== null)) - return b.dehydrated !== null - ? (Et(Lt, Lt.current & 1), (u.flags |= 128), null) - : (f & u.child.childLanes) !== 0 - ? FE(o, u, f) - : (Et(Lt, Lt.current & 1), (o = Na(o, u, f)), o !== null ? o.sibling : null); - Et(Lt, Lt.current & 1); - break; - case 19: - if (((b = (f & u.childLanes) !== 0), (o.flags & 128) !== 0)) { - if (b) return BE(o, u, f); - u.flags |= 128; - } - if (((w = u.memoizedState), w !== null && ((w.rendering = null), (w.tail = null), (w.lastEffect = null)), Et(Lt, Lt.current), b)) break; - return null; - case 22: - case 23: - return (u.lanes = 0), OE(o, u, f); - } - return Na(o, u, f); - } - var UE, K0, $E, jE; - (UE = function (o, u) { - for (var f = u.child; f !== null; ) { - if (f.tag === 5 || f.tag === 6) o.appendChild(f.stateNode); - else if (f.tag !== 4 && f.child !== null) { - (f.child.return = f), (f = f.child); - continue; - } - if (f === u) break; - for (; f.sibling === null; ) { - if (f.return === null || f.return === u) return; - f = f.return; - } - (f.sibling.return = f.return), (f = f.sibling); - } - }), - (K0 = function () {}), - ($E = function (o, u, f, b) { - var w = o.memoizedProps; - if (w !== b) { - (o = u.stateNode), no(ta.current); - var C = null; - switch (f) { - case 'input': - (w = Ze(o, w)), (b = Ze(o, b)), (C = []); - break; - case 'select': - (w = z({}, w, { value: void 0 })), (b = z({}, b, { value: void 0 })), (C = []); - break; - case 'textarea': - (w = _r(o, w)), (b = _r(o, b)), (C = []); - break; - default: - typeof w.onClick != 'function' && typeof b.onClick == 'function' && (o.onclick = Dc); - } - Xt(f, b); - var M; - f = null; - for (ue in w) - if (!b.hasOwnProperty(ue) && w.hasOwnProperty(ue) && w[ue] != null) - if (ue === 'style') { - var H = w[ue]; - for (M in H) H.hasOwnProperty(M) && (f || (f = {}), (f[M] = '')); - } else - ue !== 'dangerouslySetInnerHTML' && - ue !== 'children' && - ue !== 'suppressContentEditableWarning' && - ue !== 'suppressHydrationWarning' && - ue !== 'autoFocus' && - (a.hasOwnProperty(ue) ? C || (C = []) : (C = C || []).push(ue, null)); - for (ue in b) { - var K = b[ue]; - if (((H = w != null ? w[ue] : void 0), b.hasOwnProperty(ue) && K !== H && (K != null || H != null))) - if (ue === 'style') - if (H) { - for (M in H) !H.hasOwnProperty(M) || (K && K.hasOwnProperty(M)) || (f || (f = {}), (f[M] = '')); - for (M in K) K.hasOwnProperty(M) && H[M] !== K[M] && (f || (f = {}), (f[M] = K[M])); - } else f || (C || (C = []), C.push(ue, f)), (f = K); - else - ue === 'dangerouslySetInnerHTML' - ? ((K = K ? K.__html : void 0), (H = H ? H.__html : void 0), K != null && H !== K && (C = C || []).push(ue, K)) - : ue === 'children' - ? (typeof K != 'string' && typeof K != 'number') || (C = C || []).push(ue, '' + K) - : ue !== 'suppressContentEditableWarning' && - ue !== 'suppressHydrationWarning' && - (a.hasOwnProperty(ue) ? (K != null && ue === 'onScroll' && Ct('scroll', o), C || H === K || (C = [])) : (C = C || []).push(ue, K)); - } - f && (C = C || []).push('style', f); - var ue = C; - (u.updateQueue = ue) && (u.flags |= 4); - } - }), - (jE = function (o, u, f, b) { - f !== b && (u.flags |= 4); - }); - function Zl(o, u) { - if (!_t) - switch (o.tailMode) { - case 'hidden': - u = o.tail; - for (var f = null; u !== null; ) u.alternate !== null && (f = u), (u = u.sibling); - f === null ? (o.tail = null) : (f.sibling = null); - break; - case 'collapsed': - f = o.tail; - for (var b = null; f !== null; ) f.alternate !== null && (b = f), (f = f.sibling); - b === null ? (u || o.tail === null ? (o.tail = null) : (o.tail.sibling = null)) : (b.sibling = null); - } - } - function kr(o) { - var u = o.alternate !== null && o.alternate.child === o.child, - f = 0, - b = 0; - if (u) - for (var w = o.child; w !== null; ) - (f |= w.lanes | w.childLanes), (b |= w.subtreeFlags & 14680064), (b |= w.flags & 14680064), (w.return = o), (w = w.sibling); - else for (w = o.child; w !== null; ) (f |= w.lanes | w.childLanes), (b |= w.subtreeFlags), (b |= w.flags), (w.return = o), (w = w.sibling); - return (o.subtreeFlags |= b), (o.childLanes = f), u; - } - function rF(o, u, f) { - var b = u.pendingProps; - switch ((b0(u), u.tag)) { - case 2: - case 16: - case 15: - case 0: - case 11: - case 7: - case 8: - case 12: - case 9: - case 14: - return kr(u), null; - case 1: - return jr(u.type) && Pc(), kr(u), null; - case 3: - return ( - (b = u.stateNode), - cs(), - Rt($r), - Rt(Sr), - I0(), - b.pendingContext && ((b.context = b.pendingContext), (b.pendingContext = null)), - (o === null || o.child === null) && - ($c(u) - ? (u.flags |= 4) - : o === null || (o.memoizedState.isDehydrated && (u.flags & 256) === 0) || ((u.flags |= 1024), Pn !== null && (oh(Pn), (Pn = null)))), - K0(o, u), - kr(u), - null - ); - case 5: - R0(u); - var w = no(Vl.current); - if (((f = u.type), o !== null && u.stateNode != null)) $E(o, u, f, b, w), o.ref !== u.ref && ((u.flags |= 512), (u.flags |= 2097152)); - else { - if (!b) { - if (u.stateNode === null) throw Error(r(166)); - return kr(u), null; - } - if (((o = no(ta.current)), $c(u))) { - (b = u.stateNode), (f = u.type); - var C = u.memoizedProps; - switch (((b[ea] = u), (b[$l] = C), (o = (u.mode & 1) !== 0), f)) { - case 'dialog': - Ct('cancel', b), Ct('close', b); - break; - case 'iframe': - case 'object': - case 'embed': - Ct('load', b); - break; - case 'video': - case 'audio': - for (w = 0; w < zl.length; w++) Ct(zl[w], b); - break; - case 'source': - Ct('error', b); - break; - case 'img': - case 'image': - case 'link': - Ct('error', b), Ct('load', b); - break; - case 'details': - Ct('toggle', b); - break; - case 'input': - ct(b, C), Ct('invalid', b); - break; - case 'select': - (b._wrapperState = { wasMultiple: !!C.multiple }), Ct('invalid', b); - break; - case 'textarea': - Qn(b, C), Ct('invalid', b); - } - Xt(f, C), (w = null); - for (var M in C) - if (C.hasOwnProperty(M)) { - var H = C[M]; - M === 'children' - ? typeof H == 'string' - ? b.textContent !== H && (C.suppressHydrationWarning !== !0 && Lc(b.textContent, H, o), (w = ['children', H])) - : typeof H == 'number' && b.textContent !== '' + H && (C.suppressHydrationWarning !== !0 && Lc(b.textContent, H, o), (w = ['children', '' + H])) - : a.hasOwnProperty(M) && H != null && M === 'onScroll' && Ct('scroll', b); - } - switch (f) { - case 'input': - ze(b), Je(b, C, !0); - break; - case 'textarea': - ze(b), sr(b); - break; - case 'select': - case 'option': - break; - default: - typeof C.onClick == 'function' && (b.onclick = Dc); - } - (b = w), (u.updateQueue = b), b !== null && (u.flags |= 4); - } else { - (M = w.nodeType === 9 ? w : w.ownerDocument), - o === 'http://www.w3.org/1999/xhtml' && (o = he(f)), - o === 'http://www.w3.org/1999/xhtml' - ? f === 'script' - ? ((o = M.createElement('div')), (o.innerHTML = '