Showing preview only (807K chars total). Download the full file or copy to clipboard to get everything.
Repository: deepakjois/podscript
Branch: main
Commit: 575b50f65c3f
Files: 59
Total size: 778.3 KB
Directory structure:
gitextract_ag37nrb9/
├── .github/
│ ├── dependabot.yml
│ └── workflows/
│ └── dependabot-build.yml
├── .gitignore
├── LICENSE
├── README.md
├── assemblyai.go
├── config.go
├── configure.go
├── deepgram.go
├── dist/
│ ├── assets/
│ │ ├── index-BvKMAqt1.js
│ │ └── index-CqtPYu3T.css
│ └── index.html
├── go.mod
├── go.sum
├── groq.go
├── hooks/
│ └── pre-commit
├── llms.go
├── main.go
├── renovate.json
├── types.go
├── web/
│ ├── Caddyfile
│ └── frontend/
│ ├── .gitignore
│ ├── .prettierignore
│ ├── .prettierrc
│ ├── README.md
│ ├── components.json
│ ├── dist/
│ │ ├── assets/
│ │ │ ├── index-BW_J7set.css
│ │ │ └── index-bX8PDyqL.js
│ │ └── index.html
│ ├── eslint.config.js
│ ├── index.html
│ ├── package.json
│ ├── src/
│ │ ├── App.tsx
│ │ ├── components/
│ │ │ ├── AudioTranscription.tsx
│ │ │ ├── SettingsPanel.tsx
│ │ │ ├── YouTubeTranscription.tsx
│ │ │ └── ui/
│ │ │ ├── accordion.tsx
│ │ │ ├── alert.tsx
│ │ │ ├── button.tsx
│ │ │ ├── card.tsx
│ │ │ ├── form.tsx
│ │ │ ├── input.tsx
│ │ │ ├── label.tsx
│ │ │ ├── select.tsx
│ │ │ ├── sheet.tsx
│ │ │ ├── sonner.tsx
│ │ │ └── tabs.tsx
│ │ ├── index.css
│ │ ├── lib/
│ │ │ └── utils.ts
│ │ ├── main.tsx
│ │ └── vite-env.d.ts
│ ├── tsconfig.app.json
│ ├── tsconfig.json
│ ├── tsconfig.node.json
│ └── vite.config.ts
├── web.go
├── youtube_transcriber.go
├── ytt.go
└── ytt_web.go
================================================
FILE CONTENTS
================================================
================================================
FILE: .github/dependabot.yml
================================================
version: 2
updates:
# Go dependencies in root directory
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
groups:
go-all-dependencies:
patterns:
- "*"
open-pull-requests-limit: 1
# npm dependencies in web/frontend
- package-ecosystem: "npm"
directory: "/web/frontend"
schedule:
interval: "weekly"
day: "monday"
groups:
npm-all-dependencies:
patterns:
- "*"
open-pull-requests-limit: 1
================================================
FILE: .github/workflows/dependabot-build.yml
================================================
name: Dependabot Build Check
on:
pull_request:
branches:
- main
- master
jobs:
build:
# Only run if the PR is from Dependabot
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Checkout PR branch
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24'
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Build Go project
run: |
echo "Building Go project..."
go build -v
if [ $? -ne 0 ]; then
echo "Go build failed!"
exit 1
fi
echo "Go build successful!"
- name: Build Node.js frontend
working-directory: ./web/frontend
run: |
echo "Installing Node.js dependencies..."
npm ci
echo "Building frontend..."
npm run build
if [ $? -ne 0 ]; then
echo "Frontend build failed!"
exit 1
fi
echo "Frontend build successful!"
================================================
FILE: .gitignore
================================================
# If you prefer the allow list template instead of the deny list, see community template:
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
#
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, built with `go test -c`
*.test
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
# Dependency directories (remove the comment below to include it)
# vendor/
# Go workspace file
go.work
go.work.sum
podscript
scratch.go
#VS Code Settings
.vscode
.vite
.cursor
================================================
FILE: LICENSE
================================================
MIT License
Copyright (c) 2024 Deepak Jois
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
================================================
FILE: README.md
================================================
# podscript
podscript is a tool to generate transcripts for podcasts (and other similar audio files), using LLMs and Speech-to-Text (STT) APIs.
## Install
```shell
> go install github.com/cottonggeeks/podscript@latest
> ~/go/bin/podscript --help
```
## Web UI
Podscript has a web based UI for convenience
```shell
> podscript web
Starting server on port 8080
```
This runs a web server on at `http://localhost:8080`

For more advanced usage, see the CLI section below.
## CLI Getting started
```bash
# Configure keys for supported services (OpenAI, Anthropic, Deepgram etc)
# and write them to $HOME/.podscript.toml
podscript configure
# Transcribe a YouTube Video by formatting and cleaning up autogenerated captions
podscript ytt https://www.youtube.com/watch?v=aO1-6X_f74M
# Transcribe audio from a URL using deepgram speech-to-text API
#
# Deepgram and AssemblyAI subcommands support `--from-url` for
# passing audio URLs, and `--from-file` to pass audio files.
podscript deepgram --from-url https://audio.listennotes.com/e/p/d6cc86364eb540c1a30a1cac2b77b82c/
# Transcribe audio from a file using Groq's whisper model
# Groq only supports audio files.
podscript groq --file huberman.mp3
```
## More Info
#### Models for ytt subcommand
The `ytt` subommand uses the `gpt-4o` model by default. Use `--model` flag to set a different model. The following are supported:
- OpenAI
- `gpt-4o`
- `gpt-4o-mini`
- Google Gemini
- `gemini-2.0-flash`
- Llama (via [Groq](https://groq.com/))
- `llama-3.3-70b-versatile`
- `llama-3.1-8b-instant`
- Anthropic
- `claude-3-5-sonnet-20241022`
- `claude-3-5-haiku-20241022`
- Anthropic via [Amazon Bedrock](https://aws.amazon.com/bedrock/)
- `anthropic.claude-3-5-sonnet-20241022-v2:0` (via AWS)
- `anthropic.claude-3-5-haiku-20241022-v1:0` (via AWS)
### Transcript from audio URLs and files
> [!TIP]
> You can find the audio download link for a podcast on [ListenNotes](https://www.listennotes.com/) under the More menu
>
> <img width="252" alt="image" src="https://github.com/deepakjois/podscript/assets/5342/1f400964-e575-4f59-9de0-ee75f386b27d">
podscript supports the following Speech-To-Text (STT) APIs:
- [Deepgram](https://playground.deepgram.com/?endpoint=listen&smart_format=true&language=en&model=nova-2) (which as of Jan 2025 provides $200 free signup credit!)
- [Assembly AI](https://www.assemblyai.com/docs) (which as of Oct 2024 is free to use within your credit limits and they provide $50 credits free on signup).
- [Groq](https://console.groq.com/docs/speech-text) (which as of Jul 2024 is in beta and free to use within your rate limits).
## Development
Want to contribute? Here's how to build and run the project locally:
### Prerequisites
- Install `npm`: https://docs.npmjs.com/downloading-and-installing-node-js-and-npm?ref=meilisearch-blog
- Install `caddy`: https://caddyserver.com/docs/install
Build and run the frontend:
```bash
cd web/frontend
npm run dev
```
Build the backend server and run it in dev mode:
```bash
go build -o podscript
./podscript web --dev
```
This will start the backend server and expose only the API endpoints without bundling the frontend assets
To connect the two:
```bash
cd web
caddy run
```
This should setup everything such that you can visit `http://localhost:8080` and have the frontend connected to the backend via the Caddy reverse proxy
## Feedback
Feel free to drop me a note on [X](https://x.com/debugjois) or [Email Me](mailto:deepak.jois@gmail.com)
## License
[MIT](https://github.com/cottonggeeks/podscript/raw/main/LICENSE)
================================================
FILE: assemblyai.go
================================================
package main
import (
"context"
"errors"
"fmt"
"net/url"
"os"
"path/filepath"
aai "github.com/AssemblyAI/assemblyai-go-sdk"
)
const (
maxLocalFileSize int64 = 2200 * 1024 * 1024 // Approximate 2.2GB in bytes
)
type AssemblyAICmd struct {
Model string `help:"Speech model to use for transcription (best, nano)" enum:"best,nano" default:"best" short:"m"`
FromURL string `help:"URL of the audio file to transcribe" short:"u" xor:"source" required:""`
FromFile string `help:"Local path to the audio file to transcribe" short:"f" xor:"source" required:""`
Output string `help:"Path to output transcript file (default: stdout)" short:"o"`
APIKey string `env:"ASSEMBLYAI_API_KEY" default:"" hidden:""`
}
func (a *AssemblyAICmd) Run() error {
if a.APIKey == "" {
return errors.New("API key not found. Please run 'podscript configure' or set the ASSEMBLYAI_API_KEY environment variable")
}
client := aai.NewClient(a.APIKey)
ctx := context.Background()
var transcript *aai.Transcript
params := &aai.TranscriptOptionalParams{
SpeakerLabels: aai.Bool(true),
Punctuate: aai.Bool(true),
FormatText: aai.Bool(true),
SpeechModel: aai.SpeechModel(a.Model),
}
if a.FromURL != "" {
parsedURL, err := url.ParseRequestURI(a.FromURL)
if err != nil || (parsedURL.Scheme != "http" && parsedURL.Scheme != "https") {
return fmt.Errorf("invalid URL: %s", a.FromURL)
}
transcriptValue, err := client.Transcripts.TranscribeFromURL(ctx, a.FromURL, params)
if err != nil {
return fmt.Errorf("failed to transcribe from URL: %w", err)
}
transcript = &transcriptValue
} else if a.FromFile != "" {
audioFilePath := filepath.Clean(a.FromFile)
fi, err := os.Stat(audioFilePath)
if err != nil || fi.IsDir() {
return fmt.Errorf("invalid audio file: %s", audioFilePath)
}
if fi.Size() > maxLocalFileSize {
return fmt.Errorf("file size exceeds 2.2GB limit")
}
file, err := os.Open(audioFilePath)
if err != nil {
return fmt.Errorf("error opening file: %w", err)
}
defer file.Close()
transcriptValue, err := client.Transcripts.TranscribeFromReader(ctx, file, nil)
if err != nil {
return fmt.Errorf("failed to transcribe from file: %w", err)
}
transcript = &transcriptValue
} else {
return errors.New("please provide either a valid URL or a file path")
}
if transcript == nil || transcript.Text == nil {
return errors.New("transcription failed: received nil transcript from AssemblyAI API")
}
var output *os.File = os.Stdout
if a.Output != "" {
var err error
output, err = os.Create(a.Output)
if err != nil {
return fmt.Errorf("failed to create output file: %w", err)
}
defer output.Close()
}
for _, utterance := range transcript.Utterances {
_, err := fmt.Fprintf(output, "Speaker %s: %s\n\n",
aai.ToString(utterance.Speaker),
aai.ToString(utterance.Text),
)
if err != nil {
return fmt.Errorf("failed to write utterance to file: %w", err)
}
}
return nil
}
================================================
FILE: config.go
================================================
// This file provides a Kong resolver that loads configuration from a TOML file.
// It is a lightly modified version of the kongtoml package.
//
// It checks if the ytt subcommand is used and if so, it uses the parent path to
// construct the key. This makes the configuration file more readable and ergonomic.
package main
import (
"io"
"strings"
"github.com/alecthomas/kong"
"github.com/pelletier/go-toml/v2"
)
func ConfLoader(r io.Reader) (kong.Resolver, error) {
var tree map[string]any
decoder := toml.NewDecoder(r)
if err := decoder.Decode(&tree); err != nil {
return nil, err
}
var filename string
if named, ok := r.(interface{ Name() string }); ok {
filename = named.Name()
}
return &ConfResolver{filename: filename, tree: tree}, nil
}
type ConfResolver struct {
filename string
tree map[string]any
}
func (r *ConfResolver) Resolve(kctx *kong.Context, parent *kong.Path, flag *kong.Flag) (interface{}, error) {
value, ok := r.findValue(parent, flag)
if !ok {
return nil, nil
}
return value, nil
}
func (r *ConfResolver) Validate(app *kong.Application) error {
// TODO: Validate the configuration maps to valid flags.
return nil
}
func (r *ConfResolver) findValue(parent *kong.Path, flag *kong.Flag) (any, bool) {
// Get parent path, converting to empty string if "ytt"
path := parent.Node().Path()
if path == "ytt" {
path = ""
}
keys := []string{
strings.ReplaceAll(path, " ", "-") + "-" + flag.Name,
flag.Name,
}
for _, key := range keys {
parts := strings.Split(key, "-")
if value, ok := r.findValueParts(parts[0], parts[1:], r.tree); ok {
return value, ok
}
}
return nil, false
}
func (r *ConfResolver) findValueParts(prefix string, suffix []string, tree map[string]any) (any, bool) {
if value, ok := tree[prefix]; ok {
if len(suffix) == 0 {
return value, true
}
if branch, ok := value.(map[string]any); ok {
return r.findValueParts(suffix[0], suffix[1:], branch)
}
} else if len(suffix) > 0 {
return r.findValueParts(prefix+"-"+suffix[0], suffix[1:], tree)
}
return nil, false
}
================================================
FILE: configure.go
================================================
package main
import (
"fmt"
"os"
"path"
"strings"
"github.com/charmbracelet/huh"
"github.com/pelletier/go-toml/v2"
)
type Config struct {
AssemblyAIAPIKey string `toml:"assembly-ai-api-key" json:"assembly_ai_api_key"`
DeepgramAPIKey string `toml:"deepgram-api-key" json:"deepgram_api_key"`
GroqAPIKey string `toml:"groq-api-key" json:"groq_api_key"`
AnthropicAPIKey string `toml:"anthropic-api-key" json:"anthropic_api_key"`
OpenAIAPIKey string `toml:"openai-api-key" json:"openai_api_key"`
GeminiAPIKey string `toml:"gemini-api-key" json:"gemini_api_key"`
AWSRegion string `toml:"aws-region" json:"aws_region"`
AWSAccessKeyID string `toml:"aws-access-key-id" json:"aws_access_key_id"`
AWSSecretAccessKey string `toml:"aws-secret-access-key" json:"aws_secret_access_key"`
AWSSessionToken string `toml:"aws-session-token" json:"aws_session_token"`
}
type ConfigureCmd struct{}
const configFileName = ".podscript.toml"
func (c *ConfigureCmd) Run() error {
config := &Config{}
// Try to read existing config
existingConfig, err := ReadConfig()
if err == nil {
config = existingConfig
}
// Prompt for each API key
prompts := []struct {
title string
value *string
}{
{"OpenAI API key", &config.OpenAIAPIKey},
{"Anthropic API key", &config.AnthropicAPIKey},
{"Deepgram API key", &config.DeepgramAPIKey},
{"Groq API key", &config.GroqAPIKey},
{"AssemblyAI API key", &config.AssemblyAIAPIKey},
{"Gemini API key", &config.GeminiAPIKey},
{"AWS Region", &config.AWSRegion},
{"AWS Access Key ID", &config.AWSAccessKeyID},
{"AWS Secret Access Key", &config.AWSSecretAccessKey},
{"AWS Session Token", &config.AWSSessionToken},
}
for _, p := range prompts {
if err := promptAndSet(p.title, p.value); err != nil {
return err
}
}
return WriteConfig(config)
}
func promptAndSet(promptTitle string, currentValue *string) error {
var value string
textInput := huh.NewInput().
Title(promptTitle).
Prompt("> ").
Placeholder("press Enter to skip or leave unchanged").
EchoMode(huh.EchoModePassword).
Value(&value)
err := textInput.Run()
if err != nil && err != huh.ErrUserAborted {
return err
}
value = strings.TrimSpace(value)
if value != "" {
*currentValue = value
fmt.Printf("%s set\n", promptTitle)
} else {
fmt.Printf("skipping %s\n", promptTitle)
}
return nil
}
func ReadConfig() (*Config, error) {
homeDir, err := os.UserHomeDir()
if err != nil {
return nil, fmt.Errorf("error getting home directory: %w", err)
}
configPath := path.Join(homeDir, configFileName)
config := &Config{}
data, err := os.ReadFile(configPath)
if !os.IsNotExist(err) { // ignore if file doesn't exist
if err != nil {
return nil, fmt.Errorf("error reading config file: %w", err)
}
if err := toml.Unmarshal(data, config); err != nil {
return nil, fmt.Errorf("error parsing config file: %w", err)
}
}
return config, nil
}
func WriteConfig(config *Config) error {
homeDir, err := os.UserHomeDir()
if err != nil {
return fmt.Errorf("error getting home directory: %w", err)
}
configPath := path.Join(homeDir, configFileName)
data, err := toml.Marshal(config)
if err != nil {
return fmt.Errorf("error marshaling config: %w", err)
}
return os.WriteFile(configPath, data, 0600)
}
================================================
FILE: deepgram.go
================================================
package main
import (
"context"
"encoding/json"
"errors"
"fmt"
"io/fs"
"os"
restapi "github.com/deepgram/deepgram-go-sdk/v2/pkg/api/listen/v1/rest"
apiinterfaces "github.com/deepgram/deepgram-go-sdk/v2/pkg/api/listen/v1/rest/interfaces"
clientinterfaces "github.com/deepgram/deepgram-go-sdk/v2/pkg/client/interfaces/v1"
client "github.com/deepgram/deepgram-go-sdk/v2/pkg/client/listen/v1/rest"
)
type DeepgramCmd struct {
FromURL string `help:"URL of the audio file to transcribe" short:"u" xor:"source" required:""`
FromFile string `help:"Local path to the audio file to transcribe" short:"f" xor:"source" required:""`
Output string `help:"Path to output transcript file (default: stdout)" short:"o"`
JSONOutput string `help:"Path to save raw API response as JSON" short:"j"`
APIKey string `env:"DEEPGRAM_API_KEY" default:"" hidden:""`
Model string `help:"Speech model to use for transcription (default: nova-2)" default:"nova-2" short:"m"`
}
func (d *DeepgramCmd) Run() error {
if d.APIKey == "" {
return errors.New("API key not found. Please run 'podscript configure' or set the DEEPGRAM_API_KEY environment variable")
}
if d.FromURL == "" && d.FromFile == "" {
return errors.New("please provide either a valid URL or a file path")
}
ctx := context.Background()
options := &clientinterfaces.PreRecordedTranscriptionOptions{
Model: d.Model,
SmartFormat: true,
Punctuate: true,
Diarize: true,
Utterances: true,
}
c := client.New(d.APIKey, &clientinterfaces.ClientOptions{})
dg := restapi.New(c)
var (
res *apiinterfaces.PreRecordedResponse
err error
)
if d.FromFile != "" {
var fi fs.FileInfo
fi, err = os.Stat(d.FromFile)
if err != nil || fi.IsDir() {
return fmt.Errorf("invalid file path: %s", d.FromFile)
}
res, err = dg.FromFile(ctx, d.FromFile, options)
} else {
// TODO check if URL is valid
res, err = dg.FromURL(ctx, d.FromURL, options)
}
if err != nil {
return err
}
if d.JSONOutput != "" {
data, err := json.Marshal(res)
if err != nil {
return fmt.Errorf("json.Marshal failed: %w", err)
}
if err = os.WriteFile(d.JSONOutput, data, 0644); err != nil {
return fmt.Errorf("failed to write JSON response: %w", err)
}
}
transcript := res.Results.Channels[0].Alternatives[0].Paragraphs.Transcript
if d.Output != "" {
if err = os.WriteFile(d.Output, []byte(transcript), 0644); err != nil {
return fmt.Errorf("failed to write transcript: %w", err)
}
} else {
fmt.Println(transcript)
}
return nil
}
================================================
FILE: dist/assets/index-BvKMAqt1.js
================================================
function p1(l,i){for(var s=0;s<i.length;s++){const r=i[s];if(typeof r!="string"&&!Array.isArray(r)){for(const u in r)if(u!=="default"&&!(u in l)){const f=Object.getOwnPropertyDescriptor(r,u);f&&Object.defineProperty(l,u,f.get?f:{enumerable:!0,get:()=>r[u]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))r(u);new MutationObserver(u=>{for(const f of u)if(f.type==="childList")for(const m of f.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&r(m)}).observe(document,{childList:!0,subtree:!0});function s(u){const f={};return u.integrity&&(f.integrity=u.integrity),u.referrerPolicy&&(f.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?f.credentials="include":u.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function r(u){if(u.ep)return;u.ep=!0;const f=s(u);fetch(u.href,f)}})();function Og(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var Ru={exports:{}},ui={};var jh;function h1(){if(jh)return ui;jh=1;var l=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function s(r,u,f){var m=null;if(f!==void 0&&(m=""+f),u.key!==void 0&&(m=""+u.key),"key"in u){f={};for(var p in u)p!=="key"&&(f[p]=u[p])}else f=u;return u=f.ref,{$$typeof:l,type:r,key:m,ref:u!==void 0?u:null,props:f}}return ui.Fragment=i,ui.jsx=s,ui.jsxs=s,ui}var Uh;function g1(){return Uh||(Uh=1,Ru.exports=h1()),Ru.exports}var y=g1(),Ou={exports:{}},xe={};var Hh;function v1(){if(Hh)return xe;Hh=1;var l=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),m=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),h=Symbol.for("react.activity"),T=Symbol.iterator;function N(C){return C===null||typeof C!="object"?null:(C=T&&C[T]||C["@@iterator"],typeof C=="function"?C:null)}var D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,R={};function O(C,G,Y){this.props=C,this.context=G,this.refs=R,this.updater=Y||D}O.prototype.isReactComponent={},O.prototype.setState=function(C,G){if(typeof C!="object"&&typeof C!="function"&&C!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,C,G,"setState")},O.prototype.forceUpdate=function(C){this.updater.enqueueForceUpdate(this,C,"forceUpdate")};function U(){}U.prototype=O.prototype;function L(C,G,Y){this.props=C,this.context=G,this.refs=R,this.updater=Y||D}var Q=L.prototype=new U;Q.constructor=L,E(Q,O.prototype),Q.isPureReactComponent=!0;var $=Array.isArray;function F(){}var X={H:null,A:null,T:null,S:null},K=Object.prototype.hasOwnProperty;function se(C,G,Y){var I=Y.ref;return{$$typeof:l,type:C,key:G,ref:I!==void 0?I:null,props:Y}}function ve(C,G){return se(C.type,G,C.props)}function ye(C){return typeof C=="object"&&C!==null&&C.$$typeof===l}function fe(C){var G={"=":"=0",":":"=2"};return"$"+C.replace(/[=:]/g,function(Y){return G[Y]})}var de=/\/+/g;function me(C,G){return typeof C=="object"&&C!==null&&C.key!=null?fe(""+C.key):G.toString(36)}function he(C){switch(C.status){case"fulfilled":return C.value;case"rejected":throw C.reason;default:switch(typeof C.status=="string"?C.then(F,F):(C.status="pending",C.then(function(G){C.status==="pending"&&(C.status="fulfilled",C.value=G)},function(G){C.status==="pending"&&(C.status="rejected",C.reason=G)})),C.status){case"fulfilled":return C.value;case"rejected":throw C.reason}}throw C}function A(C,G,Y,I,ee){var ie=typeof C;(ie==="undefined"||ie==="boolean")&&(C=null);var W=!1;if(C===null)W=!0;else switch(ie){case"bigint":case"string":case"number":W=!0;break;case"object":switch(C.$$typeof){case l:case i:W=!0;break;case S:return W=C._init,A(W(C._payload),G,Y,I,ee)}}if(W)return ee=ee(C),W=I===""?"."+me(C,0):I,$(ee)?(Y="",W!=null&&(Y=W.replace(de,"$&/")+"/"),A(ee,G,Y,"",function(Ee){return Ee})):ee!=null&&(ye(ee)&&(ee=ve(ee,Y+(ee.key==null||C&&C.key===ee.key?"":(""+ee.key).replace(de,"$&/")+"/")+W)),G.push(ee)),1;W=0;var te=I===""?".":I+":";if($(C))for(var ge=0;ge<C.length;ge++)I=C[ge],ie=te+me(I,ge),W+=A(I,G,Y,ie,ee);else if(ge=N(C),typeof ge=="function")for(C=ge.call(C),ge=0;!(I=C.next()).done;)I=I.value,ie=te+me(I,ge++),W+=A(I,G,Y,ie,ee);else if(ie==="object"){if(typeof C.then=="function")return A(he(C),G,Y,I,ee);throw G=String(C),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(C).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return W}function V(C,G,Y){if(C==null)return C;var I=[],ee=0;return A(C,I,"","",function(ie){return G.call(Y,ie,ee++)}),I}function B(C){if(C._status===-1){var G=C._result;G=G(),G.then(function(Y){(C._status===0||C._status===-1)&&(C._status=1,C._result=Y)},function(Y){(C._status===0||C._status===-1)&&(C._status=2,C._result=Y)}),C._status===-1&&(C._status=0,C._result=G)}if(C._status===1)return C._result.default;throw C._result}var ne=typeof reportError=="function"?reportError:function(C){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof C=="object"&&C!==null&&typeof C.message=="string"?String(C.message):String(C),error:C});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",C);return}console.error(C)},ce={map:V,forEach:function(C,G,Y){V(C,function(){G.apply(this,arguments)},Y)},count:function(C){var G=0;return V(C,function(){G++}),G},toArray:function(C){return V(C,function(G){return G})||[]},only:function(C){if(!ye(C))throw Error("React.Children.only expected to receive a single React element child.");return C}};return xe.Activity=h,xe.Children=ce,xe.Component=O,xe.Fragment=s,xe.Profiler=u,xe.PureComponent=L,xe.StrictMode=r,xe.Suspense=v,xe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=X,xe.__COMPILER_RUNTIME={__proto__:null,c:function(C){return X.H.useMemoCache(C)}},xe.cache=function(C){return function(){return C.apply(null,arguments)}},xe.cacheSignal=function(){return null},xe.cloneElement=function(C,G,Y){if(C==null)throw Error("The argument must be a React element, but you passed "+C+".");var I=E({},C.props),ee=C.key;if(G!=null)for(ie in G.key!==void 0&&(ee=""+G.key),G)!K.call(G,ie)||ie==="key"||ie==="__self"||ie==="__source"||ie==="ref"&&G.ref===void 0||(I[ie]=G[ie]);var ie=arguments.length-2;if(ie===1)I.children=Y;else if(1<ie){for(var W=Array(ie),te=0;te<ie;te++)W[te]=arguments[te+2];I.children=W}return se(C.type,ee,I)},xe.createContext=function(C){return C={$$typeof:m,_currentValue:C,_currentValue2:C,_threadCount:0,Provider:null,Consumer:null},C.Provider=C,C.Consumer={$$typeof:f,_context:C},C},xe.createElement=function(C,G,Y){var I,ee={},ie=null;if(G!=null)for(I in G.key!==void 0&&(ie=""+G.key),G)K.call(G,I)&&I!=="key"&&I!=="__self"&&I!=="__source"&&(ee[I]=G[I]);var W=arguments.length-2;if(W===1)ee.children=Y;else if(1<W){for(var te=Array(W),ge=0;ge<W;ge++)te[ge]=arguments[ge+2];ee.children=te}if(C&&C.defaultProps)for(I in W=C.defaultProps,W)ee[I]===void 0&&(ee[I]=W[I]);return se(C,ie,ee)},xe.createRef=function(){return{current:null}},xe.forwardRef=function(C){return{$$typeof:p,render:C}},xe.isValidElement=ye,xe.lazy=function(C){return{$$typeof:S,_payload:{_status:-1,_result:C},_init:B}},xe.memo=function(C,G){return{$$typeof:g,type:C,compare:G===void 0?null:G}},xe.startTransition=function(C){var G=X.T,Y={};X.T=Y;try{var I=C(),ee=X.S;ee!==null&&ee(Y,I),typeof I=="object"&&I!==null&&typeof I.then=="function"&&I.then(F,ne)}catch(ie){ne(ie)}finally{G!==null&&Y.types!==null&&(G.types=Y.types),X.T=G}},xe.unstable_useCacheRefresh=function(){return X.H.useCacheRefresh()},xe.use=function(C){return X.H.use(C)},xe.useActionState=function(C,G,Y){return X.H.useActionState(C,G,Y)},xe.useCallback=function(C,G){return X.H.useCallback(C,G)},xe.useContext=function(C){return X.H.useContext(C)},xe.useDebugValue=function(){},xe.useDeferredValue=function(C,G){return X.H.useDeferredValue(C,G)},xe.useEffect=function(C,G){return X.H.useEffect(C,G)},xe.useEffectEvent=function(C){return X.H.useEffectEvent(C)},xe.useId=function(){return X.H.useId()},xe.useImperativeHandle=function(C,G,Y){return X.H.useImperativeHandle(C,G,Y)},xe.useInsertionEffect=function(C,G){return X.H.useInsertionEffect(C,G)},xe.useLayoutEffect=function(C,G){return X.H.useLayoutEffect(C,G)},xe.useMemo=function(C,G){return X.H.useMemo(C,G)},xe.useOptimistic=function(C,G){return X.H.useOptimistic(C,G)},xe.useReducer=function(C,G,Y){return X.H.useReducer(C,G,Y)},xe.useRef=function(C){return X.H.useRef(C)},xe.useState=function(C){return X.H.useState(C)},xe.useSyncExternalStore=function(C,G,Y){return X.H.useSyncExternalStore(C,G,Y)},xe.useTransition=function(){return X.H.useTransition()},xe.version="19.2.0",xe}var Bh;function hf(){return Bh||(Bh=1,Ou.exports=v1()),Ou.exports}var b=hf();const P=Og(b),gf=p1({__proto__:null,default:P},[b]);var Mu={exports:{}},fi={},Du={exports:{}},zu={};var Lh;function y1(){return Lh||(Lh=1,function(l){function i(A,V){var B=A.length;A.push(V);e:for(;0<B;){var ne=B-1>>>1,ce=A[ne];if(0<u(ce,V))A[ne]=V,A[B]=ce,B=ne;else break e}}function s(A){return A.length===0?null:A[0]}function r(A){if(A.length===0)return null;var V=A[0],B=A.pop();if(B!==V){A[0]=B;e:for(var ne=0,ce=A.length,C=ce>>>1;ne<C;){var G=2*(ne+1)-1,Y=A[G],I=G+1,ee=A[I];if(0>u(Y,B))I<ce&&0>u(ee,Y)?(A[ne]=ee,A[I]=B,ne=I):(A[ne]=Y,A[G]=B,ne=G);else if(I<ce&&0>u(ee,B))A[ne]=ee,A[I]=B,ne=I;else break e}}return V}function u(A,V){var B=A.sortIndex-V.sortIndex;return B!==0?B:A.id-V.id}if(l.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;l.unstable_now=function(){return f.now()}}else{var m=Date,p=m.now();l.unstable_now=function(){return m.now()-p}}var v=[],g=[],S=1,h=null,T=3,N=!1,D=!1,E=!1,R=!1,O=typeof setTimeout=="function"?setTimeout:null,U=typeof clearTimeout=="function"?clearTimeout:null,L=typeof setImmediate<"u"?setImmediate:null;function Q(A){for(var V=s(g);V!==null;){if(V.callback===null)r(g);else if(V.startTime<=A)r(g),V.sortIndex=V.expirationTime,i(v,V);else break;V=s(g)}}function $(A){if(E=!1,Q(A),!D)if(s(v)!==null)D=!0,F||(F=!0,fe());else{var V=s(g);V!==null&&he($,V.startTime-A)}}var F=!1,X=-1,K=5,se=-1;function ve(){return R?!0:!(l.unstable_now()-se<K)}function ye(){if(R=!1,F){var A=l.unstable_now();se=A;var V=!0;try{e:{D=!1,E&&(E=!1,U(X),X=-1),N=!0;var B=T;try{t:{for(Q(A),h=s(v);h!==null&&!(h.expirationTime>A&&ve());){var ne=h.callback;if(typeof ne=="function"){h.callback=null,T=h.priorityLevel;var ce=ne(h.expirationTime<=A);if(A=l.unstable_now(),typeof ce=="function"){h.callback=ce,Q(A),V=!0;break t}h===s(v)&&r(v),Q(A)}else r(v);h=s(v)}if(h!==null)V=!0;else{var C=s(g);C!==null&&he($,C.startTime-A),V=!1}}break e}finally{h=null,T=B,N=!1}V=void 0}}finally{V?fe():F=!1}}}var fe;if(typeof L=="function")fe=function(){L(ye)};else if(typeof MessageChannel<"u"){var de=new MessageChannel,me=de.port2;de.port1.onmessage=ye,fe=function(){me.postMessage(null)}}else fe=function(){O(ye,0)};function he(A,V){X=O(function(){A(l.unstable_now())},V)}l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(A){A.callback=null},l.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):K=0<A?Math.floor(1e3/A):5},l.unstable_getCurrentPriorityLevel=function(){return T},l.unstable_next=function(A){switch(T){case 1:case 2:case 3:var V=3;break;default:V=T}var B=T;T=V;try{return A()}finally{T=B}},l.unstable_requestPaint=function(){R=!0},l.unstable_runWithPriority=function(A,V){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var B=T;T=A;try{return V()}finally{T=B}},l.unstable_scheduleCallback=function(A,V,B){var ne=l.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?ne+B:ne):B=ne,A){case 1:var ce=-1;break;case 2:ce=250;break;case 5:ce=1073741823;break;case 4:ce=1e4;break;default:ce=5e3}return ce=B+ce,A={id:S++,callback:V,priorityLevel:A,startTime:B,expirationTime:ce,sortIndex:-1},B>ne?(A.sortIndex=B,i(g,A),s(v)===null&&A===s(g)&&(E?(U(X),X=-1):E=!0,he($,B-ne))):(A.sortIndex=ce,i(v,A),D||N||(D=!0,F||(F=!0,fe()))),A},l.unstable_shouldYield=ve,l.unstable_wrapCallback=function(A){var V=T;return function(){var B=T;T=V;try{return A.apply(this,arguments)}finally{T=B}}}}(zu)),zu}var kh;function b1(){return kh||(kh=1,Du.exports=y1()),Du.exports}var ju={exports:{}},xt={};var Vh;function x1(){if(Vh)return xt;Vh=1;var l=hf();function i(v){var g="https://react.dev/errors/"+v;if(1<arguments.length){g+="?args[]="+encodeURIComponent(arguments[1]);for(var S=2;S<arguments.length;S++)g+="&args[]="+encodeURIComponent(arguments[S])}return"Minified React error #"+v+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var r={d:{f:s,r:function(){throw Error(i(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},u=Symbol.for("react.portal");function f(v,g,S){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:u,key:h==null?null:""+h,children:v,containerInfo:g,implementation:S}}var m=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(v,g){if(v==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}return xt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,xt.createPortal=function(v,g){var S=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error(i(299));return f(v,g,null,S)},xt.flushSync=function(v){var g=m.T,S=r.p;try{if(m.T=null,r.p=2,v)return v()}finally{m.T=g,r.p=S,r.d.f()}},xt.preconnect=function(v,g){typeof v=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,r.d.C(v,g))},xt.prefetchDNS=function(v){typeof v=="string"&&r.d.D(v)},xt.preinit=function(v,g){if(typeof v=="string"&&g&&typeof g.as=="string"){var S=g.as,h=p(S,g.crossOrigin),T=typeof g.integrity=="string"?g.integrity:void 0,N=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;S==="style"?r.d.S(v,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:h,integrity:T,fetchPriority:N}):S==="script"&&r.d.X(v,{crossOrigin:h,integrity:T,fetchPriority:N,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},xt.preinitModule=function(v,g){if(typeof v=="string")if(typeof g=="object"&&g!==null){if(g.as==null||g.as==="script"){var S=p(g.as,g.crossOrigin);r.d.M(v,{crossOrigin:S,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})}}else g==null&&r.d.M(v)},xt.preload=function(v,g){if(typeof v=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){var S=g.as,h=p(S,g.crossOrigin);r.d.L(v,S,{crossOrigin:h,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},xt.preloadModule=function(v,g){if(typeof v=="string")if(g){var S=p(g.as,g.crossOrigin);r.d.m(v,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:S,integrity:typeof g.integrity=="string"?g.integrity:void 0})}else r.d.m(v)},xt.requestFormReset=function(v){r.d.r(v)},xt.unstable_batchedUpdates=function(v,g){return v(g)},xt.useFormState=function(v,g,S){return m.H.useFormState(v,g,S)},xt.useFormStatus=function(){return m.H.useHostTransitionStatus()},xt.version="19.2.0",xt}var Yh;function Mg(){if(Yh)return ju.exports;Yh=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(i){console.error(i)}}return l(),ju.exports=x1(),ju.exports}var Gh;function S1(){if(Gh)return fi;Gh=1;var l=b1(),i=hf(),s=Mg();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function m(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function p(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function v(e){if(f(e)!==e)throw Error(r(188))}function g(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(r(188));return t!==e?null:e}for(var n=e,a=t;;){var o=n.return;if(o===null)break;var c=o.alternate;if(c===null){if(a=o.return,a!==null){n=a;continue}break}if(o.child===c.child){for(c=o.child;c;){if(c===n)return v(o),e;if(c===a)return v(o),t;c=c.sibling}throw Error(r(188))}if(n.return!==a.return)n=o,a=c;else{for(var d=!1,x=o.child;x;){if(x===n){d=!0,n=o,a=c;break}if(x===a){d=!0,a=o,n=c;break}x=x.sibling}if(!d){for(x=c.child;x;){if(x===n){d=!0,n=c,a=o;break}if(x===a){d=!0,a=c,n=o;break}x=x.sibling}if(!d)throw Error(r(189))}}if(n.alternate!==a)throw Error(r(190))}if(n.tag!==3)throw Error(r(188));return n.stateNode.current===n?e:t}function S(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=S(e),t!==null)return t;e=e.sibling}return null}var h=Object.assign,T=Symbol.for("react.element"),N=Symbol.for("react.transitional.element"),D=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),R=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),L=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),$=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),K=Symbol.for("react.lazy"),se=Symbol.for("react.activity"),ve=Symbol.for("react.memo_cache_sentinel"),ye=Symbol.iterator;function fe(e){return e===null||typeof e!="object"?null:(e=ye&&e[ye]||e["@@iterator"],typeof e=="function"?e:null)}var de=Symbol.for("react.client.reference");function me(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===de?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case E:return"Fragment";case O:return"Profiler";case R:return"StrictMode";case $:return"Suspense";case F:return"SuspenseList";case se:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case D:return"Portal";case L:return e.displayName||"Context";case U:return(e._context.displayName||"Context")+".Consumer";case Q:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:me(e.type)||"Memo";case K:t=e._payload,e=e._init;try{return me(e(t))}catch{}}return null}var he=Array.isArray,A=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B={pending:!1,data:null,method:null,action:null},ne=[],ce=-1;function C(e){return{current:e}}function G(e){0>ce||(e.current=ne[ce],ne[ce]=null,ce--)}function Y(e,t){ce++,ne[ce]=e.current,e.current=t}var I=C(null),ee=C(null),ie=C(null),W=C(null);function te(e,t){switch(Y(ie,t),Y(ee,e),Y(I,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?ah(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=ah(t),e=lh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}G(I),Y(I,e)}function ge(){G(I),G(ee),G(ie)}function Ee(e){e.memoizedState!==null&&Y(W,e);var t=I.current,n=lh(t,e.type);t!==n&&(Y(ee,e),Y(I,n))}function Ce(e){ee.current===e&&(G(I),G(ee)),W.current===e&&(G(W),ii._currentValue=B)}var Re,ut;function lt(e){if(Re===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Re=t&&t[1]||"",ut=-1<n.stack.indexOf(`
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Re+e+ut}var On=!1;function gn(e,t){if(!e||On)return"";On=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch(k){var H=k}Reflect.construct(e,[],J)}else{try{J.call()}catch(k){H=k}e.call(J.prototype)}}else{try{throw Error()}catch(k){H=k}(J=e())&&typeof J.catch=="function"&&J.catch(function(){})}}catch(k){if(k&&H&&typeof k.stack=="string")return[k.stack,H.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=a.DetermineComponentFrameRoot(),d=c[0],x=c[1];if(d&&x){var w=d.split(`
`),j=x.split(`
`);for(o=a=0;a<w.length&&!w[a].includes("DetermineComponentFrameRoot");)a++;for(;o<j.length&&!j[o].includes("DetermineComponentFrameRoot");)o++;if(a===w.length||o===j.length)for(a=w.length-1,o=j.length-1;1<=a&&0<=o&&w[a]!==j[o];)o--;for(;1<=a&&0<=o;a--,o--)if(w[a]!==j[o]){if(a!==1||o!==1)do if(a--,o--,0>o||w[a]!==j[o]){var q=`
`+w[a].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),q}while(1<=a&&0<=o);break}}}finally{On=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?lt(n):""}function an(e,t){switch(e.tag){case 26:case 27:case 5:return lt(e.type);case 16:return lt("Lazy");case 13:return e.child!==t&&t!==null?lt("Suspense Fallback"):lt("Suspense");case 19:return lt("SuspenseList");case 0:case 15:return gn(e.type,!1);case 11:return gn(e.type.render,!1);case 1:return gn(e.type,!0);case 31:return lt("Activity");default:return""}}function go(e){try{var t="",n=null;do t+=an(e,n),n=e,e=e.return;while(e);return t}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}var Ht=Object.prototype.hasOwnProperty,vo=l.unstable_scheduleCallback,yo=l.unstable_cancelCallback,St=l.unstable_shouldYield,ea=l.unstable_requestPaint,Et=l.unstable_now,vs=l.unstable_getCurrentPriorityLevel,Ha=l.unstable_ImmediatePriority,xi=l.unstable_UserBlockingPriority,Ba=l.unstable_NormalPriority,bo=l.unstable_LowPriority,Mn=l.unstable_IdlePriority,Si=l.log,ta=l.unstable_setDisableYieldValue,La=null,wt=null;function ln(e){if(typeof Si=="function"&&ta(e),wt&&typeof wt.setStrictMode=="function")try{wt.setStrictMode(La,e)}catch{}}var yt=Math.clz32?Math.clz32:vn,ys=Math.log,xo=Math.LN2;function vn(e){return e>>>=0,e===0?32:31-(ys(e)/xo|0)|0}var dl=256,ml=262144,ka=4194304;function yn(e){var t=e&42;if(t!==0)return t;switch(e&-e){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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function be(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var o=0,c=e.suspendedLanes,d=e.pingedLanes;e=e.warmLanes;var x=a&134217727;return x!==0?(a=x&~c,a!==0?o=yn(a):(d&=x,d!==0?o=yn(d):n||(n=x&~e,n!==0&&(o=yn(n))))):(x=a&~c,x!==0?o=yn(x):d!==0?o=yn(d):n||(n=a&~e,n!==0&&(o=yn(n)))),o===0?0:t!==0&&t!==o&&(t&c)===0&&(c=o&-o,n=t&-t,c>=n||c===32&&(n&4194048)!==0)?t:o}function Qe(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function rt(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function bt(){var e=ka;return ka<<=1,(ka&62914560)===0&&(ka=4194304),e}function na(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function $e(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ct(e,t,n,a,o,c){var d=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var x=e.entanglements,w=e.expirationTimes,j=e.hiddenUpdates;for(n=d&~n;0<n;){var q=31-yt(n),J=1<<q;x[q]=0,w[q]=-1;var H=j[q];if(H!==null)for(j[q]=null,q=0;q<H.length;q++){var k=H[q];k!==null&&(k.lane&=-536870913)}n&=~J}a!==0&&Va(e,a,0),c!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=c&~(d&~t))}function Va(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-yt(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&261930}function At(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-yt(n),o=1<<a;o&t|e[a]&t&&(e[a]|=t),n&=~o}}function _t(e,t){var n=t&-t;return n=(n&42)!==0?1:pl(n),(n&(e.suspendedLanes|t))!==0?0:n}function pl(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function on(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function bs(){var e=V.p;return e!==0?e:(e=window.event,e===void 0?32:_h(e.type))}function qf(e,t){var n=V.p;try{return V.p=e,t()}finally{V.p=n}}var aa=Math.random().toString(36).slice(2),ft="__reactFiber$"+aa,Nt="__reactProps$"+aa,hl="__reactContainer$"+aa,xs="__reactEvents$"+aa,a0="__reactListeners$"+aa,l0="__reactHandles$"+aa,Xf="__reactResources$"+aa,So="__reactMarker$"+aa;function Ss(e){delete e[ft],delete e[Nt],delete e[xs],delete e[a0],delete e[l0]}function gl(e){var t=e[ft];if(t)return t;for(var n=e.parentNode;n;){if(t=n[hl]||n[ft]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=fh(e);e!==null;){if(n=e[ft])return n;e=fh(e)}return t}e=n,n=e.parentNode}return null}function vl(e){if(e=e[ft]||e[hl]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Eo(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(r(33))}function yl(e){var t=e[Xf];return t||(t=e[Xf]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function st(e){e[So]=!0}var Kf=new Set,Qf={};function Ya(e,t){bl(e,t),bl(e+"Capture",t)}function bl(e,t){for(Qf[e]=t,e=0;e<t.length;e++)Kf.add(t[e])}var o0=RegExp("^[: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]*$"),Zf={},Jf={};function i0(e){return Ht.call(Jf,e)?!0:Ht.call(Zf,e)?!1:o0.test(e)?Jf[e]=!0:(Zf[e]=!0,!1)}function Ei(e,t,n){if(i0(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function wi(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function Dn(e,t,n,a){if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+a)}}function Qt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function $f(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function r0(e,t,n){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var o=a.get,c=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(d){n=""+d,c.call(this,d)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(d){n=""+d},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Es(e){if(!e._valueTracker){var t=$f(e)?"checked":"value";e._valueTracker=r0(e,t,""+e[t])}}function If(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=$f(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function Ti(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var s0=/[\n"\\]/g;function Zt(e){return e.replace(s0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function ws(e,t,n,a,o,c,d,x){e.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.type=d:e.removeAttribute("type"),t!=null?d==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Qt(t)):e.value!==""+Qt(t)&&(e.value=""+Qt(t)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),t!=null?Ts(e,d,Qt(t)):n!=null?Ts(e,d,Qt(n)):a!=null&&e.removeAttribute("value"),o==null&&c!=null&&(e.defaultChecked=!!c),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?e.name=""+Qt(x):e.removeAttribute("name")}function Ff(e,t,n,a,o,c,d,x){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.type=c),t!=null||n!=null){if(!(c!=="submit"&&c!=="reset"||t!=null)){Es(e);return}n=n!=null?""+Qt(n):"",t=t!=null?""+Qt(t):n,x||t===e.value||(e.value=t),e.defaultValue=t}a=a??o,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=x?e.checked:!!a,e.defaultChecked=!!a,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.name=d),Es(e)}function Ts(e,t,n){t==="number"&&Ti(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function xl(e,t,n,a){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&a&&(e[n].defaultSelected=!0)}else{for(n=""+Qt(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,a&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Wf(e,t,n){if(t!=null&&(t=""+Qt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Qt(n):""}function Pf(e,t,n,a){if(t==null){if(a!=null){if(n!=null)throw Error(r(92));if(he(a)){if(1<a.length)throw Error(r(93));a=a[0]}n=a}n==null&&(n=""),t=n}n=Qt(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a),Es(e)}function Sl(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var c0=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function ed(e,t,n){var a=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,n):typeof n!="number"||n===0||c0.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function td(e,t,n){if(t!=null&&typeof t!="object")throw Error(r(62));if(e=e.style,n!=null){for(var a in n)!n.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var o in t)a=t[o],t.hasOwnProperty(o)&&n[o]!==a&&ed(e,o,a)}else for(var c in t)t.hasOwnProperty(c)&&ed(e,c,t[c])}function Cs(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var u0=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),f0=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ci(e){return f0.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function zn(){}var As=null;function _s(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var El=null,wl=null;function nd(e){var t=vl(e);if(t&&(e=t.stateNode)){var n=e[Nt]||null;e:switch(e=t.stateNode,t.type){case"input":if(ws(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+Zt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var o=a[Nt]||null;if(!o)throw Error(r(90));ws(a,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&If(a)}break e;case"textarea":Wf(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&xl(e,!!n.multiple,t,!1)}}}var Ns=!1;function ad(e,t,n){if(Ns)return e(t,n);Ns=!0;try{var a=e(t);return a}finally{if(Ns=!1,(El!==null||wl!==null)&&(dr(),El&&(t=El,e=wl,wl=El=null,nd(t),e)))for(t=0;t<e.length;t++)nd(e[t])}}function wo(e,t){var n=e.stateNode;if(n===null)return null;var a=n[Nt]||null;if(a===null)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(r(231,t,typeof n));return n}var jn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Rs=!1;if(jn)try{var To={};Object.defineProperty(To,"passive",{get:function(){Rs=!0}}),window.addEventListener("test",To,To),window.removeEventListener("test",To,To)}catch{Rs=!1}var la=null,Os=null,Ai=null;function ld(){if(Ai)return Ai;var e,t=Os,n=t.length,a,o="value"in la?la.value:la.textContent,c=o.length;for(e=0;e<n&&t[e]===o[e];e++);var d=n-e;for(a=1;a<=d&&t[n-a]===o[c-a];a++);return Ai=o.slice(e,1<a?1-a:void 0)}function _i(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ni(){return!0}function od(){return!1}function Rt(e){function t(n,a,o,c,d){this._reactName=n,this._targetInst=o,this.type=a,this.nativeEvent=c,this.target=d,this.currentTarget=null;for(var x in e)e.hasOwnProperty(x)&&(n=e[x],this[x]=n?n(c):c[x]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?Ni:od,this.isPropagationStopped=od,this}return h(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ni)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ni)},persist:function(){},isPersistent:Ni}),t}var Ga={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ri=Rt(Ga),Co=h({},Ga,{view:0,detail:0}),d0=Rt(Co),Ms,Ds,Ao,Oi=h({},Co,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:js,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ao&&(Ao&&e.type==="mousemove"?(Ms=e.screenX-Ao.screenX,Ds=e.screenY-Ao.screenY):Ds=Ms=0,Ao=e),Ms)},movementY:function(e){return"movementY"in e?e.movementY:Ds}}),id=Rt(Oi),m0=h({},Oi,{dataTransfer:0}),p0=Rt(m0),h0=h({},Co,{relatedTarget:0}),zs=Rt(h0),g0=h({},Ga,{animationName:0,elapsedTime:0,pseudoElement:0}),v0=Rt(g0),y0=h({},Ga,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),b0=Rt(y0),x0=h({},Ga,{data:0}),rd=Rt(x0),S0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},E0={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"},w0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function T0(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=w0[e])?!!t[e]:!1}function js(){return T0}var C0=h({},Co,{key:function(e){if(e.key){var t=S0[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=_i(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?E0[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:js,charCode:function(e){return e.type==="keypress"?_i(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?_i(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),A0=Rt(C0),_0=h({},Oi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),sd=Rt(_0),N0=h({},Co,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:js}),R0=Rt(N0),O0=h({},Ga,{propertyName:0,elapsedTime:0,pseudoElement:0}),M0=Rt(O0),D0=h({},Oi,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),z0=Rt(D0),j0=h({},Ga,{newState:0,oldState:0}),U0=Rt(j0),H0=[9,13,27,32],Us=jn&&"CompositionEvent"in window,_o=null;jn&&"documentMode"in document&&(_o=document.documentMode);var B0=jn&&"TextEvent"in window&&!_o,cd=jn&&(!Us||_o&&8<_o&&11>=_o),ud=" ",fd=!1;function dd(e,t){switch(e){case"keyup":return H0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function md(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Tl=!1;function L0(e,t){switch(e){case"compositionend":return md(t);case"keypress":return t.which!==32?null:(fd=!0,ud);case"textInput":return e=t.data,e===ud&&fd?null:e;default:return null}}function k0(e,t){if(Tl)return e==="compositionend"||!Us&&dd(e,t)?(e=ld(),Ai=Os=la=null,Tl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return cd&&t.locale!=="ko"?null:t.data;default:return null}}var V0={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 pd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!V0[e.type]:t==="textarea"}function hd(e,t,n,a){El?wl?wl.push(a):wl=[a]:El=a,t=br(t,"onChange"),0<t.length&&(n=new Ri("onChange","change",null,n,a),e.push({event:n,listeners:t}))}var No=null,Ro=null;function Y0(e){Fp(e,0)}function Mi(e){var t=Eo(e);if(If(t))return e}function gd(e,t){if(e==="change")return t}var vd=!1;if(jn){var Hs;if(jn){var Bs="oninput"in document;if(!Bs){var yd=document.createElement("div");yd.setAttribute("oninput","return;"),Bs=typeof yd.oninput=="function"}Hs=Bs}else Hs=!1;vd=Hs&&(!document.documentMode||9<document.documentMode)}function bd(){No&&(No.detachEvent("onpropertychange",xd),Ro=No=null)}function xd(e){if(e.propertyName==="value"&&Mi(Ro)){var t=[];hd(t,Ro,e,_s(e)),ad(Y0,t)}}function G0(e,t,n){e==="focusin"?(bd(),No=t,Ro=n,No.attachEvent("onpropertychange",xd)):e==="focusout"&&bd()}function q0(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Mi(Ro)}function X0(e,t){if(e==="click")return Mi(t)}function K0(e,t){if(e==="input"||e==="change")return Mi(t)}function Q0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Bt=typeof Object.is=="function"?Object.is:Q0;function Oo(e,t){if(Bt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var o=n[a];if(!Ht.call(t,o)||!Bt(e[o],t[o]))return!1}return!0}function Sd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ed(e,t){var n=Sd(e);e=0;for(var a;n;){if(n.nodeType===3){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Sd(n)}}function wd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?wd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Td(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Ti(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ti(e.document)}return t}function Ls(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Z0=jn&&"documentMode"in document&&11>=document.documentMode,Cl=null,ks=null,Mo=null,Vs=!1;function Cd(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Vs||Cl==null||Cl!==Ti(a)||(a=Cl,"selectionStart"in a&&Ls(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Mo&&Oo(Mo,a)||(Mo=a,a=br(ks,"onSelect"),0<a.length&&(t=new Ri("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=Cl)))}function qa(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Al={animationend:qa("Animation","AnimationEnd"),animationiteration:qa("Animation","AnimationIteration"),animationstart:qa("Animation","AnimationStart"),transitionrun:qa("Transition","TransitionRun"),transitionstart:qa("Transition","TransitionStart"),transitioncancel:qa("Transition","TransitionCancel"),transitionend:qa("Transition","TransitionEnd")},Ys={},Ad={};jn&&(Ad=document.createElement("div").style,"AnimationEvent"in window||(delete Al.animationend.animation,delete Al.animationiteration.animation,delete Al.animationstart.animation),"TransitionEvent"in window||delete Al.transitionend.transition);function Xa(e){if(Ys[e])return Ys[e];if(!Al[e])return e;var t=Al[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ad)return Ys[e]=t[n];return e}var _d=Xa("animationend"),Nd=Xa("animationiteration"),Rd=Xa("animationstart"),J0=Xa("transitionrun"),$0=Xa("transitionstart"),I0=Xa("transitioncancel"),Od=Xa("transitionend"),Md=new Map,Gs="abort auxClick beforeToggle 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(" ");Gs.push("scrollEnd");function rn(e,t){Md.set(e,t),Ya(t,[e])}var Di=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Jt=[],_l=0,qs=0;function zi(){for(var e=_l,t=qs=_l=0;t<e;){var n=Jt[t];Jt[t++]=null;var a=Jt[t];Jt[t++]=null;var o=Jt[t];Jt[t++]=null;var c=Jt[t];if(Jt[t++]=null,a!==null&&o!==null){var d=a.pending;d===null?o.next=o:(o.next=d.next,d.next=o),a.pending=o}c!==0&&Dd(n,o,c)}}function ji(e,t,n,a){Jt[_l++]=e,Jt[_l++]=t,Jt[_l++]=n,Jt[_l++]=a,qs|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Xs(e,t,n,a){return ji(e,t,n,a),Ui(e)}function Ka(e,t){return ji(e,null,null,t),Ui(e)}function Dd(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var o=!1,c=e.return;c!==null;)c.childLanes|=n,a=c.alternate,a!==null&&(a.childLanes|=n),c.tag===22&&(e=c.stateNode,e===null||e._visibility&1||(o=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,o&&t!==null&&(o=31-yt(n),e=c.hiddenUpdates,a=e[o],a===null?e[o]=[t]:a.push(t),t.lane=n|536870912),c):null}function Ui(e){if(50<Po)throw Po=0,Pc=null,Error(r(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Nl={};function F0(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Lt(e,t,n,a){return new F0(e,t,n,a)}function Ks(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Un(e,t){var n=e.alternate;return n===null?(n=Lt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function zd(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Hi(e,t,n,a,o,c){var d=0;if(a=e,typeof e=="function")Ks(e)&&(d=1);else if(typeof e=="string")d=n1(e,n,I.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case se:return e=Lt(31,n,t,o),e.elementType=se,e.lanes=c,e;case E:return Qa(n.children,o,c,t);case R:d=8,o|=24;break;case O:return e=Lt(12,n,t,o|2),e.elementType=O,e.lanes=c,e;case $:return e=Lt(13,n,t,o),e.elementType=$,e.lanes=c,e;case F:return e=Lt(19,n,t,o),e.elementType=F,e.lanes=c,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case L:d=10;break e;case U:d=9;break e;case Q:d=11;break e;case X:d=14;break e;case K:d=16,a=null;break e}d=29,n=Error(r(130,e===null?"null":typeof e,"")),a=null}return t=Lt(d,n,t,o),t.elementType=e,t.type=a,t.lanes=c,t}function Qa(e,t,n,a){return e=Lt(7,e,a,t),e.lanes=n,e}function Qs(e,t,n){return e=Lt(6,e,null,t),e.lanes=n,e}function jd(e){var t=Lt(18,null,null,0);return t.stateNode=e,t}function Zs(e,t,n){return t=Lt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Ud=new WeakMap;function $t(e,t){if(typeof e=="object"&&e!==null){var n=Ud.get(e);return n!==void 0?n:(t={value:e,source:t,stack:go(t)},Ud.set(e,t),t)}return{value:e,source:t,stack:go(t)}}var Rl=[],Ol=0,Bi=null,Do=0,It=[],Ft=0,oa=null,bn=1,xn="";function Hn(e,t){Rl[Ol++]=Do,Rl[Ol++]=Bi,Bi=e,Do=t}function Hd(e,t,n){It[Ft++]=bn,It[Ft++]=xn,It[Ft++]=oa,oa=e;var a=bn;e=xn;var o=32-yt(a)-1;a&=~(1<<o),n+=1;var c=32-yt(t)+o;if(30<c){var d=o-o%5;c=(a&(1<<d)-1).toString(32),a>>=d,o-=d,bn=1<<32-yt(t)+o|n<<o|a,xn=c+e}else bn=1<<c|n<<o|a,xn=e}function Js(e){e.return!==null&&(Hn(e,1),Hd(e,1,0))}function $s(e){for(;e===Bi;)Bi=Rl[--Ol],Rl[Ol]=null,Do=Rl[--Ol],Rl[Ol]=null;for(;e===oa;)oa=It[--Ft],It[Ft]=null,xn=It[--Ft],It[Ft]=null,bn=It[--Ft],It[Ft]=null}function Bd(e,t){It[Ft++]=bn,It[Ft++]=xn,It[Ft++]=oa,bn=t.id,xn=t.overflow,oa=e}var dt=null,Xe=null,ze=!1,ia=null,Wt=!1,Is=Error(r(519));function ra(e){var t=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw zo($t(t,e)),Is}function Ld(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[ft]=e,t[Nt]=a,n){case"dialog":_e("cancel",t),_e("close",t);break;case"iframe":case"object":case"embed":_e("load",t);break;case"video":case"audio":for(n=0;n<ti.length;n++)_e(ti[n],t);break;case"source":_e("error",t);break;case"img":case"image":case"link":_e("error",t),_e("load",t);break;case"details":_e("toggle",t);break;case"input":_e("invalid",t),Ff(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":_e("invalid",t);break;case"textarea":_e("invalid",t),Pf(t,a.value,a.defaultValue,a.children)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||a.suppressHydrationWarning===!0||th(t.textContent,n)?(a.popover!=null&&(_e("beforetoggle",t),_e("toggle",t)),a.onScroll!=null&&_e("scroll",t),a.onScrollEnd!=null&&_e("scrollend",t),a.onClick!=null&&(t.onclick=zn),t=!0):t=!1,t||ra(e,!0)}function kd(e){for(dt=e.return;dt;)switch(dt.tag){case 5:case 31:case 13:Wt=!1;return;case 27:case 3:Wt=!0;return;default:dt=dt.return}}function Ml(e){if(e!==dt)return!1;if(!ze)return kd(e),ze=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||pu(e.type,e.memoizedProps)),n=!n),n&&Xe&&ra(e),kd(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Xe=uh(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Xe=uh(e)}else t===27?(t=Xe,Sa(e.type)?(e=bu,bu=null,Xe=e):Xe=t):Xe=dt?en(e.stateNode.nextSibling):null;return!0}function Za(){Xe=dt=null,ze=!1}function Fs(){var e=ia;return e!==null&&(zt===null?zt=e:zt.push.apply(zt,e),ia=null),e}function zo(e){ia===null?ia=[e]:ia.push(e)}var Ws=C(null),Ja=null,Bn=null;function sa(e,t,n){Y(Ws,t._currentValue),t._currentValue=n}function Ln(e){e._currentValue=Ws.current,G(Ws)}function Ps(e,t,n){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}}function ec(e,t,n,a){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var c=o.dependencies;if(c!==null){var d=o.child;c=c.firstContext;e:for(;c!==null;){var x=c;c=o;for(var w=0;w<t.length;w++)if(x.context===t[w]){c.lanes|=n,x=c.alternate,x!==null&&(x.lanes|=n),Ps(c.return,n,e),a||(d=null);break e}c=x.next}}else if(o.tag===18){if(d=o.return,d===null)throw Error(r(341));d.lanes|=n,c=d.alternate,c!==null&&(c.lanes|=n),Ps(d,n,e),d=null}else d=o.child;if(d!==null)d.return=o;else for(d=o;d!==null;){if(d===e){d=null;break}if(o=d.sibling,o!==null){o.return=d.return,d=o;break}d=d.return}o=d}}function Dl(e,t,n,a){e=null;for(var o=t,c=!1;o!==null;){if(!c){if((o.flags&524288)!==0)c=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var d=o.alternate;if(d===null)throw Error(r(387));if(d=d.memoizedProps,d!==null){var x=o.type;Bt(o.pendingProps.value,d.value)||(e!==null?e.push(x):e=[x])}}else if(o===W.current){if(d=o.alternate,d===null)throw Error(r(387));d.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(ii):e=[ii])}o=o.return}e!==null&&ec(t,e,n,a),t.flags|=262144}function Li(e){for(e=e.firstContext;e!==null;){if(!Bt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function $a(e){Ja=e,Bn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function mt(e){return Vd(Ja,e)}function ki(e,t){return Ja===null&&$a(e),Vd(e,t)}function Vd(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Bn===null){if(e===null)throw Error(r(308));Bn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Bn=Bn.next=t;return n}var W0=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},P0=l.unstable_scheduleCallback,eb=l.unstable_NormalPriority,et={$$typeof:L,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function tc(){return{controller:new W0,data:new Map,refCount:0}}function jo(e){e.refCount--,e.refCount===0&&P0(eb,function(){e.controller.abort()})}var Uo=null,nc=0,zl=0,jl=null;function tb(e,t){if(Uo===null){var n=Uo=[];nc=0,zl=ou(),jl={status:"pending",value:void 0,then:function(a){n.push(a)}}}return nc++,t.then(Yd,Yd),t}function Yd(){if(--nc===0&&Uo!==null){jl!==null&&(jl.status="fulfilled");var e=Uo;Uo=null,zl=0,jl=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function nb(e,t){var n=[],a={status:"pending",value:null,reason:null,then:function(o){n.push(o)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var o=0;o<n.length;o++)(0,n[o])(t)},function(o){for(a.status="rejected",a.reason=o,o=0;o<n.length;o++)(0,n[o])(void 0)}),a}var Gd=A.S;A.S=function(e,t){Cp=Et(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&tb(e,t),Gd!==null&&Gd(e,t)};var Ia=C(null);function ac(){var e=Ia.current;return e!==null?e:Ge.pooledCache}function Vi(e,t){t===null?Y(Ia,Ia.current):Y(Ia,t.pool)}function qd(){var e=ac();return e===null?null:{parent:et._currentValue,pool:e}}var Ul=Error(r(460)),lc=Error(r(474)),Yi=Error(r(542)),Gi={then:function(){}};function Xd(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Kd(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(zn,zn),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Zd(e),e;default:if(typeof t.status=="string")t.then(zn,zn);else{if(e=Ge,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var o=t;o.status="fulfilled",o.value=a}},function(a){if(t.status==="pending"){var o=t;o.status="rejected",o.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Zd(e),e}throw Wa=t,Ul}}function Fa(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(Wa=n,Ul):n}}var Wa=null;function Qd(){if(Wa===null)throw Error(r(459));var e=Wa;return Wa=null,e}function Zd(e){if(e===Ul||e===Yi)throw Error(r(483))}var Hl=null,Ho=0;function qi(e){var t=Ho;return Ho+=1,Hl===null&&(Hl=[]),Kd(Hl,e,t)}function Bo(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Xi(e,t){throw t.$$typeof===T?Error(r(525)):(e=Object.prototype.toString.call(t),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Jd(e){function t(M,_){if(e){var z=M.deletions;z===null?(M.deletions=[_],M.flags|=16):z.push(_)}}function n(M,_){if(!e)return null;for(;_!==null;)t(M,_),_=_.sibling;return null}function a(M){for(var _=new Map;M!==null;)M.key!==null?_.set(M.key,M):_.set(M.index,M),M=M.sibling;return _}function o(M,_){return M=Un(M,_),M.index=0,M.sibling=null,M}function c(M,_,z){return M.index=z,e?(z=M.alternate,z!==null?(z=z.index,z<_?(M.flags|=67108866,_):z):(M.flags|=67108866,_)):(M.flags|=1048576,_)}function d(M){return e&&M.alternate===null&&(M.flags|=67108866),M}function x(M,_,z,Z){return _===null||_.tag!==6?(_=Qs(z,M.mode,Z),_.return=M,_):(_=o(_,z),_.return=M,_)}function w(M,_,z,Z){var ue=z.type;return ue===E?q(M,_,z.props.children,Z,z.key):_!==null&&(_.elementType===ue||typeof ue=="object"&&ue!==null&&ue.$$typeof===K&&Fa(ue)===_.type)?(_=o(_,z.props),Bo(_,z),_.return=M,_):(_=Hi(z.type,z.key,z.props,null,M.mode,Z),Bo(_,z),_.return=M,_)}function j(M,_,z,Z){return _===null||_.tag!==4||_.stateNode.containerInfo!==z.containerInfo||_.stateNode.implementation!==z.implementation?(_=Zs(z,M.mode,Z),_.return=M,_):(_=o(_,z.children||[]),_.return=M,_)}function q(M,_,z,Z,ue){return _===null||_.tag!==7?(_=Qa(z,M.mode,Z,ue),_.return=M,_):(_=o(_,z),_.return=M,_)}function J(M,_,z){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return _=Qs(""+_,M.mode,z),_.return=M,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case N:return z=Hi(_.type,_.key,_.props,null,M.mode,z),Bo(z,_),z.return=M,z;case D:return _=Zs(_,M.mode,z),_.return=M,_;case K:return _=Fa(_),J(M,_,z)}if(he(_)||fe(_))return _=Qa(_,M.mode,z,null),_.return=M,_;if(typeof _.then=="function")return J(M,qi(_),z);if(_.$$typeof===L)return J(M,ki(M,_),z);Xi(M,_)}return null}function H(M,_,z,Z){var ue=_!==null?_.key:null;if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return ue!==null?null:x(M,_,""+z,Z);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case N:return z.key===ue?w(M,_,z,Z):null;case D:return z.key===ue?j(M,_,z,Z):null;case K:return z=Fa(z),H(M,_,z,Z)}if(he(z)||fe(z))return ue!==null?null:q(M,_,z,Z,null);if(typeof z.then=="function")return H(M,_,qi(z),Z);if(z.$$typeof===L)return H(M,_,ki(M,z),Z);Xi(M,z)}return null}function k(M,_,z,Z,ue){if(typeof Z=="string"&&Z!==""||typeof Z=="number"||typeof Z=="bigint")return M=M.get(z)||null,x(_,M,""+Z,ue);if(typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case N:return M=M.get(Z.key===null?z:Z.key)||null,w(_,M,Z,ue);case D:return M=M.get(Z.key===null?z:Z.key)||null,j(_,M,Z,ue);case K:return Z=Fa(Z),k(M,_,z,Z,ue)}if(he(Z)||fe(Z))return M=M.get(z)||null,q(_,M,Z,ue,null);if(typeof Z.then=="function")return k(M,_,z,qi(Z),ue);if(Z.$$typeof===L)return k(M,_,z,ki(_,Z),ue);Xi(_,Z)}return null}function ae(M,_,z,Z){for(var ue=null,je=null,re=_,we=_=0,Me=null;re!==null&&we<z.length;we++){re.index>we?(Me=re,re=null):Me=re.sibling;var Ue=H(M,re,z[we],Z);if(Ue===null){re===null&&(re=Me);break}e&&re&&Ue.alternate===null&&t(M,re),_=c(Ue,_,we),je===null?ue=Ue:je.sibling=Ue,je=Ue,re=Me}if(we===z.length)return n(M,re),ze&&Hn(M,we),ue;if(re===null){for(;we<z.length;we++)re=J(M,z[we],Z),re!==null&&(_=c(re,_,we),je===null?ue=re:je.sibling=re,je=re);return ze&&Hn(M,we),ue}for(re=a(re);we<z.length;we++)Me=k(re,M,we,z[we],Z),Me!==null&&(e&&Me.alternate!==null&&re.delete(Me.key===null?we:Me.key),_=c(Me,_,we),je===null?ue=Me:je.sibling=Me,je=Me);return e&&re.forEach(function(Aa){return t(M,Aa)}),ze&&Hn(M,we),ue}function pe(M,_,z,Z){if(z==null)throw Error(r(151));for(var ue=null,je=null,re=_,we=_=0,Me=null,Ue=z.next();re!==null&&!Ue.done;we++,Ue=z.next()){re.index>we?(Me=re,re=null):Me=re.sibling;var Aa=H(M,re,Ue.value,Z);if(Aa===null){re===null&&(re=Me);break}e&&re&&Aa.alternate===null&&t(M,re),_=c(Aa,_,we),je===null?ue=Aa:je.sibling=Aa,je=Aa,re=Me}if(Ue.done)return n(M,re),ze&&Hn(M,we),ue;if(re===null){for(;!Ue.done;we++,Ue=z.next())Ue=J(M,Ue.value,Z),Ue!==null&&(_=c(Ue,_,we),je===null?ue=Ue:je.sibling=Ue,je=Ue);return ze&&Hn(M,we),ue}for(re=a(re);!Ue.done;we++,Ue=z.next())Ue=k(re,M,we,Ue.value,Z),Ue!==null&&(e&&Ue.alternate!==null&&re.delete(Ue.key===null?we:Ue.key),_=c(Ue,_,we),je===null?ue=Ue:je.sibling=Ue,je=Ue);return e&&re.forEach(function(m1){return t(M,m1)}),ze&&Hn(M,we),ue}function Ye(M,_,z,Z){if(typeof z=="object"&&z!==null&&z.type===E&&z.key===null&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case N:e:{for(var ue=z.key;_!==null;){if(_.key===ue){if(ue=z.type,ue===E){if(_.tag===7){n(M,_.sibling),Z=o(_,z.props.children),Z.return=M,M=Z;break e}}else if(_.elementType===ue||typeof ue=="object"&&ue!==null&&ue.$$typeof===K&&Fa(ue)===_.type){n(M,_.sibling),Z=o(_,z.props),Bo(Z,z),Z.return=M,M=Z;break e}n(M,_);break}else t(M,_);_=_.sibling}z.type===E?(Z=Qa(z.props.children,M.mode,Z,z.key),Z.return=M,M=Z):(Z=Hi(z.type,z.key,z.props,null,M.mode,Z),Bo(Z,z),Z.return=M,M=Z)}return d(M);case D:e:{for(ue=z.key;_!==null;){if(_.key===ue)if(_.tag===4&&_.stateNode.containerInfo===z.containerInfo&&_.stateNode.implementation===z.implementation){n(M,_.sibling),Z=o(_,z.children||[]),Z.return=M,M=Z;break e}else{n(M,_);break}else t(M,_);_=_.sibling}Z=Zs(z,M.mode,Z),Z.return=M,M=Z}return d(M);case K:return z=Fa(z),Ye(M,_,z,Z)}if(he(z))return ae(M,_,z,Z);if(fe(z)){if(ue=fe(z),typeof ue!="function")throw Error(r(150));return z=ue.call(z),pe(M,_,z,Z)}if(typeof z.then=="function")return Ye(M,_,qi(z),Z);if(z.$$typeof===L)return Ye(M,_,ki(M,z),Z);Xi(M,z)}return typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint"?(z=""+z,_!==null&&_.tag===6?(n(M,_.sibling),Z=o(_,z),Z.return=M,M=Z):(n(M,_),Z=Qs(z,M.mode,Z),Z.return=M,M=Z),d(M)):n(M,_)}return function(M,_,z,Z){try{Ho=0;var ue=Ye(M,_,z,Z);return Hl=null,ue}catch(re){if(re===Ul||re===Yi)throw re;var je=Lt(29,re,null,M.mode);return je.lanes=Z,je.return=M,je}finally{}}}var Pa=Jd(!0),$d=Jd(!1),ca=!1;function oc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ic(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ua(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function fa(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(He&2)!==0){var o=a.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),a.pending=t,t=Ui(e),Dd(e,null,n),t}return ji(e,a,t,n),Ui(e)}function Lo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,At(e,n)}}function rc(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var o=null,c=null;if(n=n.firstBaseUpdate,n!==null){do{var d={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};c===null?o=c=d:c=c.next=d,n=n.next}while(n!==null);c===null?o=c=t:c=c.next=t}else o=c=t;n={baseState:a.baseState,firstBaseUpdate:o,lastBaseUpdate:c,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var sc=!1;function ko(){if(sc){var e=jl;if(e!==null)throw e}}function Vo(e,t,n,a){sc=!1;var o=e.updateQueue;ca=!1;var c=o.firstBaseUpdate,d=o.lastBaseUpdate,x=o.shared.pending;if(x!==null){o.shared.pending=null;var w=x,j=w.next;w.next=null,d===null?c=j:d.next=j,d=w;var q=e.alternate;q!==null&&(q=q.updateQueue,x=q.lastBaseUpdate,x!==d&&(x===null?q.firstBaseUpdate=j:x.next=j,q.lastBaseUpdate=w))}if(c!==null){var J=o.baseState;d=0,q=j=w=null,x=c;do{var H=x.lane&-536870913,k=H!==x.lane;if(k?(Oe&H)===H:(a&H)===H){H!==0&&H===zl&&(sc=!0),q!==null&&(q=q.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});e:{var ae=e,pe=x;H=t;var Ye=n;switch(pe.tag){case 1:if(ae=pe.payload,typeof ae=="function"){J=ae.call(Ye,J,H);break e}J=ae;break e;case 3:ae.flags=ae.flags&-65537|128;case 0:if(ae=pe.payload,H=typeof ae=="function"?ae.call(Ye,J,H):ae,H==null)break e;J=h({},J,H);break e;case 2:ca=!0}}H=x.callback,H!==null&&(e.flags|=64,k&&(e.flags|=8192),k=o.callbacks,k===null?o.callbacks=[H]:k.push(H))}else k={lane:H,tag:x.tag,payload:x.payload,callback:x.callback,next:null},q===null?(j=q=k,w=J):q=q.next=k,d|=H;if(x=x.next,x===null){if(x=o.shared.pending,x===null)break;k=x,x=k.next,k.next=null,o.lastBaseUpdate=k,o.shared.pending=null}}while(!0);q===null&&(w=J),o.baseState=w,o.firstBaseUpdate=j,o.lastBaseUpdate=q,c===null&&(o.shared.lanes=0),ga|=d,e.lanes=d,e.memoizedState=J}}function Id(e,t){if(typeof e!="function")throw Error(r(191,e));e.call(t)}function Fd(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Id(n[e],t)}var Bl=C(null),Ki=C(0);function Wd(e,t){e=Zn,Y(Ki,e),Y(Bl,t),Zn=e|t.baseLanes}function cc(){Y(Ki,Zn),Y(Bl,Bl.current)}function uc(){Zn=Ki.current,G(Bl),G(Ki)}var kt=C(null),Pt=null;function da(e){var t=e.alternate;Y(We,We.current&1),Y(kt,e),Pt===null&&(t===null||Bl.current!==null||t.memoizedState!==null)&&(Pt=e)}function fc(e){Y(We,We.current),Y(kt,e),Pt===null&&(Pt=e)}function Pd(e){e.tag===22?(Y(We,We.current),Y(kt,e),Pt===null&&(Pt=e)):ma()}function ma(){Y(We,We.current),Y(kt,kt.current)}function Vt(e){G(kt),Pt===e&&(Pt=null),G(We)}var We=C(0);function Qi(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||vu(n)||yu(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var kn=0,Se=null,ke=null,tt=null,Zi=!1,Ll=!1,el=!1,Ji=0,Yo=0,kl=null,ab=0;function Ie(){throw Error(r(321))}function dc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Bt(e[n],t[n]))return!1;return!0}function mc(e,t,n,a,o,c){return kn=c,Se=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,A.H=e===null||e.memoizedState===null?Hm:Nc,el=!1,c=n(a,o),el=!1,Ll&&(c=tm(t,n,a,o)),em(e),c}function em(e){A.H=Xo;var t=ke!==null&&ke.next!==null;if(kn=0,tt=ke=Se=null,Zi=!1,Yo=0,kl=null,t)throw Error(r(300));e===null||nt||(e=e.dependencies,e!==null&&Li(e)&&(nt=!0))}function tm(e,t,n,a){Se=e;var o=0;do{if(Ll&&(kl=null),Yo=0,Ll=!1,25<=o)throw Error(r(301));if(o+=1,tt=ke=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}A.H=Bm,c=t(n,a)}while(Ll);return c}function lb(){var e=A.H,t=e.useState()[0];return t=typeof t.then=="function"?Go(t):t,e=e.useState()[0],(ke!==null?ke.memoizedState:null)!==e&&(Se.flags|=1024),t}function pc(){var e=Ji!==0;return Ji=0,e}function hc(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function gc(e){if(Zi){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Zi=!1}kn=0,tt=ke=Se=null,Ll=!1,Yo=Ji=0,kl=null}function Tt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return tt===null?Se.memoizedState=tt=e:tt=tt.next=e,tt}function Pe(){if(ke===null){var e=Se.alternate;e=e!==null?e.memoizedState:null}else e=ke.next;var t=tt===null?Se.memoizedState:tt.next;if(t!==null)tt=t,ke=e;else{if(e===null)throw Se.alternate===null?Error(r(467)):Error(r(310));ke=e,e={memoizedState:ke.memoizedState,baseState:ke.baseState,baseQueue:ke.baseQueue,queue:ke.queue,next:null},tt===null?Se.memoizedState=tt=e:tt=tt.next=e}return tt}function $i(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Go(e){var t=Yo;return Yo+=1,kl===null&&(kl=[]),e=Kd(kl,e,t),t=Se,(tt===null?t.memoizedState:tt.next)===null&&(t=t.alternate,A.H=t===null||t.memoizedState===null?Hm:Nc),e}function Ii(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Go(e);if(e.$$typeof===L)return mt(e)}throw Error(r(438,String(e)))}function vc(e){var t=null,n=Se.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=Se.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=$i(),Se.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=ve;return t.index++,n}function Vn(e,t){return typeof t=="function"?t(e):t}function Fi(e){var t=Pe();return yc(t,ke,e)}function yc(e,t,n){var a=e.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=n;var o=e.baseQueue,c=a.pending;if(c!==null){if(o!==null){var d=o.next;o.next=c.next,c.next=d}t.baseQueue=o=c,a.pending=null}if(c=e.baseState,o===null)e.memoizedState=c;else{t=o.next;var x=d=null,w=null,j=t,q=!1;do{var J=j.lane&-536870913;if(J!==j.lane?(Oe&J)===J:(kn&J)===J){var H=j.revertLane;if(H===0)w!==null&&(w=w.next={lane:0,revertLane:0,gesture:null,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null}),J===zl&&(q=!0);else if((kn&H)===H){j=j.next,H===zl&&(q=!0);continue}else J={lane:0,revertLane:j.revertLane,gesture:null,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null},w===null?(x=w=J,d=c):w=w.next=J,Se.lanes|=H,ga|=H;J=j.action,el&&n(c,J),c=j.hasEagerState?j.eagerState:n(c,J)}else H={lane:J,revertLane:j.revertLane,gesture:j.gesture,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null},w===null?(x=w=H,d=c):w=w.next=H,Se.lanes|=J,ga|=J;j=j.next}while(j!==null&&j!==t);if(w===null?d=c:w.next=x,!Bt(c,e.memoizedState)&&(nt=!0,q&&(n=jl,n!==null)))throw n;e.memoizedState=c,e.baseState=d,e.baseQueue=w,a.lastRenderedState=c}return o===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function bc(e){var t=Pe(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var a=n.dispatch,o=n.pending,c=t.memoizedState;if(o!==null){n.pending=null;var d=o=o.next;do c=e(c,d.action),d=d.next;while(d!==o);Bt(c,t.memoizedState)||(nt=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),n.lastRenderedState=c}return[c,a]}function nm(e,t,n){var a=Se,o=Pe(),c=ze;if(c){if(n===void 0)throw Error(r(407));n=n()}else n=t();var d=!Bt((ke||o).memoizedState,n);if(d&&(o.memoizedState=n,nt=!0),o=o.queue,Ec(om.bind(null,a,o,e),[e]),o.getSnapshot!==t||d||tt!==null&&tt.memoizedState.tag&1){if(a.flags|=2048,Vl(9,{destroy:void 0},lm.bind(null,a,o,n,t),null),Ge===null)throw Error(r(349));c||(kn&127)!==0||am(a,t,n)}return n}function am(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Se.updateQueue,t===null?(t=$i(),Se.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function lm(e,t,n,a){t.value=n,t.getSnapshot=a,im(t)&&rm(e)}function om(e,t,n){return n(function(){im(t)&&rm(e)})}function im(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Bt(e,n)}catch{return!0}}function rm(e){var t=Ka(e,2);t!==null&&jt(t,e,2)}function xc(e){var t=Tt();if(typeof e=="function"){var n=e;if(e=n(),el){ln(!0);try{n()}finally{ln(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vn,lastRenderedState:e},t}function sm(e,t,n,a){return e.baseState=n,yc(e,ke,typeof a=="function"?a:Vn)}function ob(e,t,n,a,o){if(er(e))throw Error(r(485));if(e=t.action,e!==null){var c={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){c.listeners.push(d)}};A.T!==null?n(!0):c.isTransition=!1,a(c),n=t.pending,n===null?(c.next=t.pending=c,cm(t,c)):(c.next=n.next,t.pending=n.next=c)}}function cm(e,t){var n=t.action,a=t.payload,o=e.state;if(t.isTransition){var c=A.T,d={};A.T=d;try{var x=n(o,a),w=A.S;w!==null&&w(d,x),um(e,t,x)}catch(j){Sc(e,t,j)}finally{c!==null&&d.types!==null&&(c.types=d.types),A.T=c}}else try{c=n(o,a),um(e,t,c)}catch(j){Sc(e,t,j)}}function um(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(a){fm(e,t,a)},function(a){return Sc(e,t,a)}):fm(e,t,n)}function fm(e,t,n){t.status="fulfilled",t.value=n,dm(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,cm(e,n)))}function Sc(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,dm(t),t=t.next;while(t!==a)}e.action=null}function dm(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function mm(e,t){return t}function pm(e,t){if(ze){var n=Ge.formState;if(n!==null){e:{var a=Se;if(ze){if(Xe){t:{for(var o=Xe,c=Wt;o.nodeType!==8;){if(!c){o=null;break t}if(o=en(o.nextSibling),o===null){o=null;break t}}c=o.data,o=c==="F!"||c==="F"?o:null}if(o){Xe=en(o.nextSibling),a=o.data==="F!";break e}}ra(a)}a=!1}a&&(t=n[0])}}return n=Tt(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:mm,lastRenderedState:t},n.queue=a,n=zm.bind(null,Se,a),a.dispatch=n,a=xc(!1),c=_c.bind(null,Se,!1,a.queue),a=Tt(),o={state:t,dispatch:null,action:e,pending:null},a.queue=o,n=ob.bind(null,Se,o,c,n),o.dispatch=n,a.memoizedState=e,[t,n,!1]}function hm(e){var t=Pe();return gm(t,ke,e)}function gm(e,t,n){if(t=yc(e,t,mm)[0],e=Fi(Vn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=Go(t)}catch(d){throw d===Ul?Yi:d}else a=t;t=Pe();var o=t.queue,c=o.dispatch;return n!==t.memoizedState&&(Se.flags|=2048,Vl(9,{destroy:void 0},ib.bind(null,o,n),null)),[a,c,e]}function ib(e,t){e.action=t}function vm(e){var t=Pe(),n=ke;if(n!==null)return gm(t,n,e);Pe(),t=t.memoizedState,n=Pe();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function Vl(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=Se.updateQueue,t===null&&(t=$i(),Se.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function ym(){return Pe().memoizedState}function Wi(e,t,n,a){var o=Tt();Se.flags|=e,o.memoizedState=Vl(1|t,{destroy:void 0},n,a===void 0?null:a)}function Pi(e,t,n,a){var o=Pe();a=a===void 0?null:a;var c=o.memoizedState.inst;ke!==null&&a!==null&&dc(a,ke.memoizedState.deps)?o.memoizedState=Vl(t,c,n,a):(Se.flags|=e,o.memoizedState=Vl(1|t,c,n,a))}function bm(e,t){Wi(8390656,8,e,t)}function Ec(e,t){Pi(2048,8,e,t)}function rb(e){Se.flags|=4;var t=Se.updateQueue;if(t===null)t=$i(),Se.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function xm(e){var t=Pe().memoizedState;return rb({ref:t,nextImpl:e}),function(){if((He&2)!==0)throw Error(r(440));return t.impl.apply(void 0,arguments)}}function Sm(e,t){return Pi(4,2,e,t)}function Em(e,t){return Pi(4,4,e,t)}function wm(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Tm(e,t,n){n=n!=null?n.concat([e]):null,Pi(4,4,wm.bind(null,t,e),n)}function wc(){}function Cm(e,t){var n=Pe();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&dc(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function Am(e,t){var n=Pe();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&dc(t,a[1]))return a[0];if(a=e(),el){ln(!0);try{e()}finally{ln(!1)}}return n.memoizedState=[a,t],a}function Tc(e,t,n){return n===void 0||(kn&1073741824)!==0&&(Oe&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=_p(),Se.lanes|=e,ga|=e,n)}function _m(e,t,n,a){return Bt(n,t)?n:Bl.current!==null?(e=Tc(e,n,a),Bt(e,t)||(nt=!0),e):(kn&42)===0||(kn&1073741824)!==0&&(Oe&261930)===0?(nt=!0,e.memoizedState=n):(e=_p(),Se.lanes|=e,ga|=e,t)}function Nm(e,t,n,a,o){var c=V.p;V.p=c!==0&&8>c?c:8;var d=A.T,x={};A.T=x,_c(e,!1,t,n);try{var w=o(),j=A.S;if(j!==null&&j(x,w),w!==null&&typeof w=="object"&&typeof w.then=="function"){var q=nb(w,a);qo(e,t,q,qt(e))}else qo(e,t,a,qt(e))}catch(J){qo(e,t,{then:function(){},status:"rejected",reason:J},qt())}finally{V.p=c,d!==null&&x.types!==null&&(d.types=x.types),A.T=d}}function sb(){}function Cc(e,t,n,a){if(e.tag!==5)throw Error(r(476));var o=Rm(e).queue;Nm(e,o,t,B,n===null?sb:function(){return Om(e),n(a)})}function Rm(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:B,baseState:B,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vn,lastRenderedState:B},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vn,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Om(e){var t=Rm(e);t.next===null&&(t=e.alternate.memoizedState),qo(e,t.next.queue,{},qt())}function Ac(){return mt(ii)}function Mm(){return Pe().memoizedState}function Dm(){return Pe().memoizedState}function cb(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=qt();e=ua(n);var a=fa(t,e,n);a!==null&&(jt(a,t,n),Lo(a,t,n)),t={cache:tc()},e.payload=t;return}t=t.return}}function ub(e,t,n){var a=qt();n={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},er(e)?jm(t,n):(n=Xs(e,t,n,a),n!==null&&(jt(n,e,a),Um(n,t,a)))}function zm(e,t,n){var a=qt();qo(e,t,n,a)}function qo(e,t,n,a){var o={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(er(e))jm(t,o);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null))try{var d=t.lastRenderedState,x=c(d,n);if(o.hasEagerState=!0,o.eagerState=x,Bt(x,d))return ji(e,t,o,0),Ge===null&&zi(),!1}catch{}finally{}if(n=Xs(e,t,o,a),n!==null)return jt(n,e,a),Um(n,t,a),!0}return!1}function _c(e,t,n,a){if(a={lane:2,revertLane:ou(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},er(e)){if(t)throw Error(r(479))}else t=Xs(e,n,a,2),t!==null&&jt(t,e,2)}function er(e){var t=e.alternate;return e===Se||t!==null&&t===Se}function jm(e,t){Ll=Zi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Um(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,At(e,n)}}var Xo={readContext:mt,use:Ii,useCallback:Ie,useContext:Ie,useEffect:Ie,useImperativeHandle:Ie,useLayoutEffect:Ie,useInsertionEffect:Ie,useMemo:Ie,useReducer:Ie,useRef:Ie,useState:Ie,useDebugValue:Ie,useDeferredValue:Ie,useTransition:Ie,useSyncExternalStore:Ie,useId:Ie,useHostTransitionStatus:Ie,useFormState:Ie,useActionState:Ie,useOptimistic:Ie,useMemoCache:Ie,useCacheRefresh:Ie};Xo.useEffectEvent=Ie;var Hm={readContext:mt,use:Ii,useCallback:function(e,t){return Tt().memoizedState=[e,t===void 0?null:t],e},useContext:mt,useEffect:bm,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,Wi(4194308,4,wm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Wi(4194308,4,e,t)},useInsertionEffect:function(e,t){Wi(4,2,e,t)},useMemo:function(e,t){var n=Tt();t=t===void 0?null:t;var a=e();if(el){ln(!0);try{e()}finally{ln(!1)}}return n.memoizedState=[a,t],a},useReducer:function(e,t,n){var a=Tt();if(n!==void 0){var o=n(t);if(el){ln(!0);try{n(t)}finally{ln(!1)}}}else o=t;return a.memoizedState=a.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},a.queue=e,e=e.dispatch=ub.bind(null,Se,e),[a.memoizedState,e]},useRef:function(e){var t=Tt();return e={current:e},t.memoizedState=e},useState:function(e){e=xc(e);var t=e.queue,n=zm.bind(null,Se,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:wc,useDeferredValue:function(e,t){var n=Tt();return Tc(n,e,t)},useTransition:function(){var e=xc(!1);return e=Nm.bind(null,Se,e.queue,!0,!1),Tt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var a=Se,o=Tt();if(ze){if(n===void 0)throw Error(r(407));n=n()}else{if(n=t(),Ge===null)throw Error(r(349));(Oe&127)!==0||am(a,t,n)}o.memoizedState=n;var c={value:n,getSnapshot:t};return o.queue=c,bm(om.bind(null,a,c,e),[e]),a.flags|=2048,Vl(9,{destroy:void 0},lm.bind(null,a,c,n,t),null),n},useId:function(){var e=Tt(),t=Ge.identifierPrefix;if(ze){var n=xn,a=bn;n=(a&~(1<<32-yt(a)-1)).toString(32)+n,t="_"+t+"R_"+n,n=Ji++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=ab++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Ac,useFormState:pm,useActionState:pm,useOptimistic:function(e){var t=Tt();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=_c.bind(null,Se,!0,n),n.dispatch=t,[e,t]},useMemoCache:vc,useCacheRefresh:function(){return Tt().memoizedState=cb.bind(null,Se)},useEffectEvent:function(e){var t=Tt(),n={impl:e};return t.memoizedState=n,function(){if((He&2)!==0)throw Error(r(440));return n.impl.apply(void 0,arguments)}}},Nc={readContext:mt,use:Ii,useCallback:Cm,useContext:mt,useEffect:Ec,useImperativeHandle:Tm,useInsertionEffect:Sm,useLayoutEffect:Em,useMemo:Am,useReducer:Fi,useRef:ym,useState:function(){return Fi(Vn)},useDebugValue:wc,useDeferredValue:function(e,t){var n=Pe();return _m(n,ke.memoizedState,e,t)},useTransition:function(){var e=Fi(Vn)[0],t=Pe().memoizedState;return[typeof e=="boolean"?e:Go(e),t]},useSyncExternalStore:nm,useId:Mm,useHostTransitionStatus:Ac,useFormState:hm,useActionState:hm,useOptimistic:function(e,t){var n=Pe();return sm(n,ke,e,t)},useMemoCache:vc,useCacheRefresh:Dm};Nc.useEffectEvent=xm;var Bm={readContext:mt,use:Ii,useCallback:Cm,useContext:mt,useEffect:Ec,useImperativeHandle:Tm,useInsertionEffect:Sm,useLayoutEffect:Em,useMemo:Am,useReducer:bc,useRef:ym,useState:function(){return bc(Vn)},useDebugValue:wc,useDeferredValue:function(e,t){var n=Pe();return ke===null?Tc(n,e,t):_m(n,ke.memoizedState,e,t)},useTransition:function(){var e=bc(Vn)[0],t=Pe().memoizedState;return[typeof e=="boolean"?e:Go(e),t]},useSyncExternalStore:nm,useId:Mm,useHostTransitionStatus:Ac,useFormState:vm,useActionState:vm,useOptimistic:function(e,t){var n=Pe();return ke!==null?sm(n,ke,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:vc,useCacheRefresh:Dm};Bm.useEffectEvent=xm;function Rc(e,t,n,a){t=e.memoizedState,n=n(a,t),n=n==null?t:h({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Oc={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=qt(),o=ua(a);o.payload=t,n!=null&&(o.callback=n),t=fa(e,o,a),t!==null&&(jt(t,e,a),Lo(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=qt(),o=ua(a);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=fa(e,o,a),t!==null&&(jt(t,e,a),Lo(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=qt(),a=ua(n);a.tag=2,t!=null&&(a.callback=t),t=fa(e,a,n),t!==null&&(jt(t,e,n),Lo(t,e,n))}};function Lm(e,t,n,a,o,c,d){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,c,d):t.prototype&&t.prototype.isPureReactComponent?!Oo(n,a)||!Oo(o,c):!0}function km(e,t,n,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==e&&Oc.enqueueReplaceState(t,t.state,null)}function tl(e,t){var n=t;if("ref"in t){n={};for(var a in t)a!=="ref"&&(n[a]=t[a])}if(e=e.defaultProps){n===t&&(n=h({},n));for(var o in e)n[o]===void 0&&(n[o]=e[o])}return n}function Vm(e){Di(e)}function Ym(e){console.error(e)}function Gm(e){Di(e)}function tr(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function qm(e,t,n){try{var a=e.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Mc(e,t,n){return n=ua(n),n.tag=3,n.payload={element:null},n.callback=function(){tr(e,t)},n}function Xm(e){return e=ua(e),e.tag=3,e}function Km(e,t,n,a){var o=n.type.getDerivedStateFromError;if(typeof o=="function"){var c=a.value;e.payload=function(){return o(c)},e.callback=function(){qm(t,n,a)}}var d=n.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(e.callback=function(){qm(t,n,a),typeof o!="function"&&(va===null?va=new Set([this]):va.add(this));var x=a.stack;this.componentDidCatch(a.value,{componentStack:x!==null?x:""})})}function fb(e,t,n,a,o){if(n.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=n.alternate,t!==null&&Dl(t,n,o,!0),n=kt.current,n!==null){switch(n.tag){case 31:case 13:return Pt===null?mr():n.alternate===null&&Fe===0&&(Fe=3),n.flags&=-257,n.flags|=65536,n.lanes=o,a===Gi?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),nu(e,a,o)),!1;case 22:return n.flags|=65536,a===Gi?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([a]):n.add(a)),nu(e,a,o)),!1}throw Error(r(435,n.tag))}return nu(e,a,o),mr(),!1}if(ze)return t=kt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,a!==Is&&(e=Error(r(422),{cause:a}),zo($t(e,n)))):(a!==Is&&(t=Error(r(423),{cause:a}),zo($t(t,n))),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,a=$t(a,n),o=Mc(e.stateNode,a,o),rc(e,o),Fe!==4&&(Fe=2)),!1;var c=Error(r(520),{cause:a});if(c=$t(c,n),Wo===null?Wo=[c]:Wo.push(c),Fe!==4&&(Fe=2),t===null)return!0;a=$t(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,e=Mc(n.stateNode,a,e),rc(n,e),!1;case 1:if(t=n.type,c=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(va===null||!va.has(c))))return n.flags|=65536,o&=-o,n.lanes|=o,o=Xm(o),Km(o,e,n,a),rc(n,o),!1}n=n.return}while(n!==null);return!1}var Dc=Error(r(461)),nt=!1;function pt(e,t,n,a){t.child=e===null?$d(t,null,n,a):Pa(t,e.child,n,a)}function Qm(e,t,n,a,o){n=n.render;var c=t.ref;if("ref"in a){var d={};for(var x in a)x!=="ref"&&(d[x]=a[x])}else d=a;return $a(t),a=mc(e,t,n,d,c,o),x=pc(),e!==null&&!nt?(hc(e,t,o),Yn(e,t,o)):(ze&&x&&Js(t),t.flags|=1,pt(e,t,a,o),t.child)}function Zm(e,t,n,a,o){if(e===null){var c=n.type;return typeof c=="function"&&!Ks(c)&&c.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=c,Jm(e,t,c,a,o)):(e=Hi(n.type,null,a,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(c=e.child,!Vc(e,o)){var d=c.memoizedProps;if(n=n.compare,n=n!==null?n:Oo,n(d,a)&&e.ref===t.ref)return Yn(e,t,o)}return t.flags|=1,e=Un(c,a),e.ref=t.ref,e.return=t,t.child=e}function Jm(e,t,n,a,o){if(e!==null){var c=e.memoizedProps;if(Oo(c,a)&&e.ref===t.ref)if(nt=!1,t.pendingProps=a=c,Vc(e,o))(e.flags&131072)!==0&&(nt=!0);else return t.lanes=e.lanes,Yn(e,t,o)}return zc(e,t,n,a,o)}function $m(e,t,n,a){var o=a.children,c=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(c=c!==null?c.baseLanes|n:n,e!==null){for(a=t.child=e.child,o=0;a!==null;)o=o|a.lanes|a.childLanes,a=a.sibling;a=o&~c}else a=0,t.child=null;return Im(e,t,c,n,a)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Vi(t,c!==null?c.cachePool:null),c!==null?Wd(t,c):cc(),Pd(t);else return a=t.lanes=536870912,Im(e,t,c!==null?c.baseLanes|n:n,n,a)}else c!==null?(Vi(t,c.cachePool),Wd(t,c),ma(),t.memoizedState=null):(e!==null&&Vi(t,null),cc(),ma());return pt(e,t,o,n),t.child}function Ko(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Im(e,t,n,a,o){var c=ac();return c=c===null?null:{parent:et._currentValue,pool:c},t.memoizedState={baseLanes:n,cachePool:c},e!==null&&Vi(t,null),cc(),Pd(t),e!==null&&Dl(e,t,a,!0),t.childLanes=o,null}function nr(e,t){return t=lr({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Fm(e,t,n){return Pa(t,e.child,null,n),e=nr(t,t.pendingProps),e.flags|=2,Vt(t),t.memoizedState=null,e}function db(e,t,n){var a=t.pendingProps,o=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(ze){if(a.mode==="hidden")return e=nr(t,a),t.lanes=536870912,Ko(null,e);if(fc(t),(e=Xe)?(e=ch(e,Wt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:oa!==null?{id:bn,overflow:xn}:null,retryLane:536870912,hydrationErrors:null},n=jd(e),n.return=t,t.child=n,dt=t,Xe=null)):e=null,e===null)throw ra(t);return t.lanes=536870912,null}return nr(t,a)}var c=e.memoizedState;if(c!==null){var d=c.dehydrated;if(fc(t),o)if(t.flags&256)t.flags&=-257,t=Fm(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(r(558));else if(nt||Dl(e,t,n,!1),o=(n&e.childLanes)!==0,nt||o){if(a=Ge,a!==null&&(d=_t(a,n),d!==0&&d!==c.retryLane))throw c.retryLane=d,Ka(e,d),jt(a,e,d),Dc;mr(),t=Fm(e,t,n)}else e=c.treeContext,Xe=en(d.nextSibling),dt=t,ze=!0,ia=null,Wt=!1,e!==null&&Bd(t,e),t=nr(t,a),t.flags|=4096;return t}return e=Un(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function ar(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(r(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function zc(e,t,n,a,o){return $a(t),n=mc(e,t,n,a,void 0,o),a=pc(),e!==null&&!nt?(hc(e,t,o),Yn(e,t,o)):(ze&&a&&Js(t),t.flags|=1,pt(e,t,n,o),t.child)}function Wm(e,t,n,a,o,c){return $a(t),t.updateQueue=null,n=tm(t,a,n,o),em(e),a=pc(),e!==null&&!nt?(hc(e,t,c),Yn(e,t,c)):(ze&&a&&Js(t),t.flags|=1,pt(e,t,n,c),t.child)}function Pm(e,t,n,a,o){if($a(t),t.stateNode===null){var c=Nl,d=n.contextType;typeof d=="object"&&d!==null&&(c=mt(d)),c=new n(a,c),t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=Oc,t.stateNode=c,c._reactInternals=t,c=t.stateNode,c.props=a,c.state=t.memoizedState,c.refs={},oc(t),d=n.contextType,c.context=typeof d=="object"&&d!==null?mt(d):Nl,c.state=t.memoizedState,d=n.getDerivedStateFromProps,typeof d=="function"&&(Rc(t,n,d,a),c.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(d=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),d!==c.state&&Oc.enqueueReplaceState(c,c.state,null),Vo(t,a,c,o),ko(),c.state=t.memoizedState),typeof c.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){c=t.stateNode;var x=t.memoizedProps,w=tl(n,x);c.props=w;var j=c.context,q=n.contextType;d=Nl,typeof q=="object"&&q!==null&&(d=mt(q));var J=n.getDerivedStateFromProps;q=typeof J=="function"||typeof c.getSnapshotBeforeUpdate=="function",x=t.pendingProps!==x,q||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(x||j!==d)&&km(t,c,a,d),ca=!1;var H=t.memoizedState;c.state=H,Vo(t,a,c,o),ko(),j=t.memoizedState,x||H!==j||ca?(typeof J=="function"&&(Rc(t,n,J,a),j=t.memoizedState),(w=ca||Lm(t,n,w,a,H,j,d))?(q||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(t.flags|=4194308)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=j),c.props=a,c.state=j,c.context=d,a=w):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{c=t.stateNode,ic(e,t),d=t.memoizedProps,q=tl(n,d),c.props=q,J=t.pendingProps,H=c.context,j=n.contextType,w=Nl,typeof j=="object"&&j!==null&&(w=mt(j)),x=n.getDerivedStateFromProps,(j=typeof x=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(d!==J||H!==w)&&km(t,c,a,w),ca=!1,H=t.memoizedState,c.state=H,Vo(t,a,c,o),ko();var k=t.memoizedState;d!==J||H!==k||ca||e!==null&&e.dependencies!==null&&Li(e.dependencies)?(typeof x=="function"&&(Rc(t,n,x,a),k=t.memoizedState),(q=ca||Lm(t,n,q,a,H,k,w)||e!==null&&e.dependencies!==null&&Li(e.dependencies))?(j||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(a,k,w),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(a,k,w)),typeof c.componentDidUpdate=="function"&&(t.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof c.componentDidUpdate!="function"||d===e.memoizedProps&&H===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&H===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=k),c.props=a,c.state=k,c.context=w,a=q):(typeof c.componentDidUpdate!="function"||d===e.memoizedProps&&H===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&H===e.memoizedState||(t.flags|=1024),a=!1)}return c=a,ar(e,t),a=(t.flags&128)!==0,c||a?(c=t.stateNode,n=a&&typeof n.getDerivedStateFromError!="function"?null:c.render(),t.flags|=1,e!==null&&a?(t.child=Pa(t,e.child,null,o),t.child=Pa(t,null,n,o)):pt(e,t,n,o),t.memoizedState=c.state,e=t.child):e=Yn(e,t,o),e}function ep(e,t,n,a){return Za(),t.flags|=256,pt(e,t,n,a),t.child}var jc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Uc(e){return{baseLanes:e,cachePool:qd()}}function Hc(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=Gt),e}function tp(e,t,n){var a=t.pendingProps,o=!1,c=(t.flags&128)!==0,d;if((d=c)||(d=e!==null&&e.memoizedState===null?!1:(We.current&2)!==0),d&&(o=!0,t.flags&=-129),d=(t.flags&32)!==0,t.flags&=-33,e===null){if(ze){if(o?da(t):ma(),(e=Xe)?(e=ch(e,Wt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:oa!==null?{id:bn,overflow:xn}:null,retryLane:536870912,hydrationErrors:null},n=jd(e),n.return=t,t.child=n,dt=t,Xe=null)):e=null,e===null)throw ra(t);return yu(e)?t.lanes=32:t.lanes=536870912,null}var x=a.children;return a=a.fallback,o?(ma(),o=t.mode,x=lr({mode:"hidden",children:x},o),a=Qa(a,o,n,null),x.return=t,a.return=t,x.sibling=a,t.child=x,a=t.child,a.memoizedState=Uc(n),a.childLanes=Hc(e,d,n),t.memoizedState=jc,Ko(null,a)):(da(t),Bc(t,x))}var w=e.memoizedState;if(w!==null&&(x=w.dehydrated,x!==null)){if(c)t.flags&256?(da(t),t.flags&=-257,t=Lc(e,t,n)):t.memoizedState!==null?(ma(),t.child=e.child,t.flags|=128,t=null):(ma(),x=a.fallback,o=t.mode,a=lr({mode:"visible",children:a.children},o),x=Qa(x,o,n,null),x.flags|=2,a.return=t,x.return=t,a.sibling=x,t.child=a,Pa(t,e.child,null,n),a=t.child,a.memoizedState=Uc(n),a.childLanes=Hc(e,d,n),t.memoizedState=jc,t=Ko(null,a));else if(da(t),yu(x)){if(d=x.nextSibling&&x.nextSibling.dataset,d)var j=d.dgst;d=j,a=Error(r(419)),a.stack="",a.digest=d,zo({value:a,source:null,stack:null}),t=Lc(e,t,n)}else if(nt||Dl(e,t,n,!1),d=(n&e.childLanes)!==0,nt||d){if(d=Ge,d!==null&&(a=_t(d,n),a!==0&&a!==w.retryLane))throw w.retryLane=a,Ka(e,a),jt(d,e,a),Dc;vu(x)||mr(),t=Lc(e,t,n)}else vu(x)?(t.flags|=192,t.child=e.child,t=null):(e=w.treeContext,Xe=en(x.nextSibling),dt=t,ze=!0,ia=null,Wt=!1,e!==null&&Bd(t,e),t=Bc(t,a.children),t.flags|=4096);return t}return o?(ma(),x=a.fallback,o=t.mode,w=e.child,j=w.sibling,a=Un(w,{mode:"hidden",children:a.children}),a.subtreeFlags=w.subtreeFlags&65011712,j!==null?x=Un(j,x):(x=Qa(x,o,n,null),x.flags|=2),x.return=t,a.return=t,a.sibling=x,t.child=a,Ko(null,a),a=t.child,x=e.child.memoizedState,x===null?x=Uc(n):(o=x.cachePool,o!==null?(w=et._currentValue,o=o.parent!==w?{parent:w,pool:w}:o):o=qd(),x={baseLanes:x.baseLanes|n,cachePool:o}),a.memoizedState=x,a.childLanes=Hc(e,d,n),t.memoizedState=jc,Ko(e.child,a)):(da(t),n=e.child,e=n.sibling,n=Un(n,{mode:"visible",children:a.children}),n.return=t,n.sibling=null,e!==null&&(d=t.deletions,d===null?(t.deletions=[e],t.flags|=16):d.push(e)),t.child=n,t.memoizedState=null,n)}function Bc(e,t){return t=lr({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function lr(e,t){return e=Lt(22,e,null,t),e.lanes=0,e}function Lc(e,t,n){return Pa(t,e.child,null,n),e=Bc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function np(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Ps(e.return,t,n)}function kc(e,t,n,a,o,c){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:o,treeForkCount:c}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=a,d.tail=n,d.tailMode=o,d.treeForkCount=c)}function ap(e,t,n){var a=t.pendingProps,o=a.revealOrder,c=a.tail;a=a.children;var d=We.current,x=(d&2)!==0;if(x?(d=d&1|2,t.flags|=128):d&=1,Y(We,d),pt(e,t,a,n),a=ze?Do:0,!x&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&np(e,n,t);else if(e.tag===19)np(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Qi(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),kc(t,!1,o,n,c,a);break;case"backwards":case"unstable_legacy-backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Qi(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}kc(t,!0,n,null,c,a);break;case"together":kc(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function Yn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ga|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Dl(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,n=Un(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Un(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Vc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Li(e)))}function mb(e,t,n){switch(t.tag){case 3:te(t,t.stateNode.containerInfo),sa(t,et,e.memoizedState.cache),Za();break;case 27:case 5:Ee(t);break;case 4:te(t,t.stateNode.containerInfo);break;case 10:sa(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,fc(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(da(t),t.flags|=128,null):(n&t.child.childLanes)!==0?tp(e,t,n):(da(t),e=Yn(e,t,n),e!==null?e.sibling:null);da(t);break;case 19:var o=(e.flags&128)!==0;if(a=(n&t.childLanes)!==0,a||(Dl(e,t,n,!1),a=(n&t.childLanes)!==0),o){if(a)return ap(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Y(We,We.current),a)break;return null;case 22:return t.lanes=0,$m(e,t,n,t.pendingProps);case 24:sa(t,et,e.memoizedState.cache)}return Yn(e,t,n)}function lp(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)nt=!0;else{if(!Vc(e,n)&&(t.flags&128)===0)return nt=!1,mb(e,t,n);nt=(e.flags&131072)!==0}else nt=!1,ze&&(t.flags&1048576)!==0&&Hd(t,Do,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=Fa(t.elementType),t.type=e,typeof e=="function")Ks(e)?(a=tl(e,a),t.tag=1,t=Pm(null,t,e,a,n)):(t.tag=0,t=zc(null,t,e,a,n));else{if(e!=null){var o=e.$$typeof;if(o===Q){t.tag=11,t=Qm(null,t,e,a,n);break e}else if(o===X){t.tag=14,t=Zm(null,t,e,a,n);break e}}throw t=me(e)||e,Error(r(306,t,""))}}return t;case 0:return zc(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,o=tl(a,t.pendingProps),Pm(e,t,a,o,n);case 3:e:{if(te(t,t.stateNode.containerInfo),e===null)throw Error(r(387));a=t.pendingProps;var c=t.memoizedState;o=c.element,ic(e,t),Vo(t,a,null,n);var d=t.memoizedState;if(a=d.cache,sa(t,et,a),a!==c.cache&&ec(t,[et],n,!0),ko(),a=d.element,c.isDehydrated)if(c={element:a,isDehydrated:!1,cache:d.cache},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){t=ep(e,t,a,n);break e}else if(a!==o){o=$t(Error(r(424)),t),zo(o),t=ep(e,t,a,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Xe=en(e.firstChild),dt=t,ze=!0,ia=null,Wt=!0,n=$d(t,null,a,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Za(),a===o){t=Yn(e,t,n);break e}pt(e,t,a,n)}t=t.child}return t;case 26:return ar(e,t),e===null?(n=hh(t.type,null,t.pendingProps,null))?t.memoizedState=n:ze||(n=t.type,e=t.pendingProps,a=xr(ie.current).createElement(n),a[ft]=t,a[Nt]=e,ht(a,n,e),st(a),t.stateNode=a):t.memoizedState=hh(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Ee(t),e===null&&ze&&(a=t.stateNode=dh(t.type,t.pendingProps,ie.current),dt=t,Wt=!0,o=Xe,Sa(t.type)?(bu=o,Xe=en(a.firstChild)):Xe=o),pt(e,t,t.pendingProps.children,n),ar(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ze&&((o=a=Xe)&&(a=qb(a,t.type,t.pendingProps,Wt),a!==null?(t.stateNode=a,dt=t,Xe=en(a.firstChild),Wt=!1,o=!0):o=!1),o||ra(t)),Ee(t),o=t.type,c=t.pendingProps,d=e!==null?e.memoizedProps:null,a=c.children,pu(o,c)?a=null:d!==null&&pu(o,d)&&(t.flags|=32),t.memoizedState!==null&&(o=mc(e,t,lb,null,null,n),ii._currentValue=o),ar(e,t),pt(e,t,a,n),t.child;case 6:return e===null&&ze&&((e=n=Xe)&&(n=Xb(n,t.pendingProps,Wt),n!==null?(t.stateNode=n,dt=t,Xe=null,e=!0):e=!1),e||ra(t)),null;case 13:return tp(e,t,n);case 4:return te(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Pa(t,null,a,n):pt(e,t,a,n),t.child;case 11:return Qm(e,t,t.type,t.pendingProps,n);case 7:return pt(e,t,t.pendingProps,n),t.child;case 8:return pt(e,t,t.pendingProps.children,n),t.child;case 12:return pt(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.pendingProps,sa(t,t.type,a.value),pt(e,t,a.children,n),t.child;case 9:return o=t.type._context,a=t.pendingProps.children,$a(t),o=mt(o),a=a(o),t.flags|=1,pt(e,t,a,n),t.child;case 14:return Zm(e,t,t.type,t.pendingProps,n);case 15:return Jm(e,t,t.type,t.pendingProps,n);case 19:return ap(e,t,n);case 31:return db(e,t,n);case 22:return $m(e,t,n,t.pendingProps);case 24:return $a(t),a=mt(et),e===null?(o=ac(),o===null&&(o=Ge,c=tc(),o.pooledCache=c,c.refCount++,c!==null&&(o.pooledCacheLanes|=n),o=c),t.memoizedState={parent:a,cache:o},oc(t),sa(t,et,o)):((e.lanes&n)!==0&&(ic(e,t),Vo(t,null,null,n),ko()),o=e.memoizedState,c=t.memoizedState,o.parent!==a?(o={parent:a,cache:a},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),sa(t,et,a)):(a=c.cache,sa(t,et,a),a!==o.cache&&ec(t,[et],n,!0))),pt(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function Gn(e){e.flags|=4}function Yc(e,t,n,a,o){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(Mp())e.flags|=8192;else throw Wa=Gi,lc}else e.flags&=-16777217}function op(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!xh(t))if(Mp())e.flags|=8192;else throw Wa=Gi,lc}function or(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?bt():536870912,e.lanes|=t,Xl|=t)}function Qo(e,t){if(!ze)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function Ke(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,a|=o.subtreeFlags&65011712,a|=o.flags&65011712,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,a|=o.subtreeFlags,a|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function pb(e,t,n){var a=t.pendingProps;switch($s(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ke(t),null;case 1:return Ke(t),null;case 3:return n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Ln(et),ge(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Ml(t)?Gn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Fs())),Ke(t),null;case 26:var o=t.type,c=t.memoizedState;return e===null?(Gn(t),c!==null?(Ke(t),op(t,c)):(Ke(t),Yc(t,o,null,a,n))):c?c!==e.memoizedState?(Gn(t),Ke(t),op(t,c)):(Ke(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&Gn(t),Ke(t),Yc(t,o,e,a,n)),null;case 27:if(Ce(t),n=ie.current,o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Gn(t);else{if(!a){if(t.stateNode===null)throw Error(r(166));return Ke(t),null}e=I.current,Ml(t)?Ld(t):(e=dh(o,a,n),t.stateNode=e,Gn(t))}return Ke(t),null;case 5:if(Ce(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Gn(t);else{if(!a){if(t.stateNode===null)throw Error(r(166));return Ke(t),null}if(c=I.current,Ml(t))Ld(t);else{var d=xr(ie.current);switch(c){case 1:c=d.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:c=d.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":c=d.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":c=d.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":c=d.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof a.is=="string"?d.createElement("select",{is:a.is}):d.createElement("select"),a.multiple?c.multiple=!0:a.size&&(c.size=a.size);break;default:c=typeof a.is=="string"?d.createElement(o,{is:a.is}):d.createElement(o)}}c[ft]=t,c[Nt]=a;e:for(d=t.child;d!==null;){if(d.tag===5||d.tag===6)c.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===t)break e;for(;d.sibling===null;){if(d.return===null||d.return===t)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}t.stateNode=c;e:switch(ht(c,o,a),o){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&Gn(t)}}return Ke(t),Yc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&Gn(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(r(166));if(e=ie.current,Ml(t)){if(e=t.stateNode,n=t.memoizedProps,a=null,o=dt,o!==null)switch(o.tag){case 27:case 5:a=o.memoizedProps}e[ft]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||th(e.nodeValue,n)),e||ra(t,!0)}else e=xr(e).createTextNode(a),e[ft]=t,t.stateNode=e}return Ke(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(a=Ml(t),n!==null){if(e===null){if(!a)throw Error(r(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[ft]=t}else Za(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ke(t),e=!1}else n=Fs(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Vt(t),t):(Vt(t),null);if((t.flags&128)!==0)throw Error(r(558))}return Ke(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=Ml(t),a!==null&&a.dehydrated!==null){if(e===null){if(!o)throw Error(r(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(r(317));o[ft]=t}else Za(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ke(t),o=!1}else o=Fs(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(Vt(t),t):(Vt(t),null)}return Vt(t),(t.flags&128)!==0?(t.lanes=n,t):(n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,o=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(o=a.alternate.memoizedState.cachePool.pool),c=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),c!==o&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),or(t,t.updateQueue),Ke(t),null);case 4:return ge(),e===null&&cu(t.stateNode.containerInfo),Ke(t),null;case 10:return Ln(t.type),Ke(t),null;case 19:if(G(We),a=t.memoizedState,a===null)return Ke(t),null;if(o=(t.flags&128)!==0,c=a.rendering,c===null)if(o)Qo(a,!1);else{if(Fe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=Qi(e),c!==null){for(t.flags|=128,Qo(a,!1),e=c.updateQueue,t.updateQueue=e,or(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)zd(n,e),n=n.sibling;return Y(We,We.current&1|2),ze&&Hn(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&Et()>ur&&(t.flags|=128,o=!0,Qo(a,!1),t.lanes=4194304)}else{if(!o)if(e=Qi(c),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,or(t,e),Qo(a,!0),a.tail===null&&a.tailMode==="hidden"&&!c.alternate&&!ze)return Ke(t),null}else 2*Et()-a.renderingStartTime>ur&&n!==536870912&&(t.flags|=128,o=!0,Qo(a,!1),t.lanes=4194304);a.isBackwards?(c.sibling=t.child,t.child=c):(e=a.last,e!==null?e.sibling=c:t.child=c,a.last=c)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=Et(),e.sibling=null,n=We.current,Y(We,o?n&1|2:n&1),ze&&Hn(t,a.treeForkCount),e):(Ke(t),null);case 22:case 23:return Vt(t),uc(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(Ke(t),t.subtreeFlags&6&&(t.flags|=8192)):Ke(t),n=t.updateQueue,n!==null&&or(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&G(Ia),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Ln(et),Ke(t),null;case 25:return null;case 30:return null}throw Error(r(156,t.tag))}function hb(e,t){switch($s(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ln(et),ge(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ce(t),null;case 31:if(t.memoizedState!==null){if(Vt(t),t.alternate===null)throw Error(r(340));Za()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Vt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));Za()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return G(We),null;case 4:return ge(),null;case 10:return Ln(t.type),null;case 22:case 23:return Vt(t),uc(),e!==null&&G(Ia),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Ln(et),null;case 25:return null;default:return null}}function ip(e,t){switch($s(t),t.tag){case 3:Ln(et),ge();break;case 26:case 27:case 5:Ce(t);break;case 4:ge();break;case 31:t.memoizedState!==null&&Vt(t);break;case 13:Vt(t);break;case 19:G(We);break;case 10:Ln(t.type);break;case 22:case 23:Vt(t),uc(),e!==null&&G(Ia);break;case 24:Ln(et)}}function Zo(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var o=a.next;n=o;do{if((n.tag&e)===e){a=void 0;var c=n.create,d=n.inst;a=c(),d.destroy=a}n=n.next}while(n!==o)}}catch(x){Le(t,t.return,x)}}function pa(e,t,n){try{var a=t.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var c=o.next;a=c;do{if((a.tag&e)===e){var d=a.inst,x=d.destroy;if(x!==void 0){d.destroy=void 0,o=t;var w=n,j=x;try{j()}catch(q){Le(o,w,q)}}}a=a.next}while(a!==c)}}catch(q){Le(t,t.return,q)}}function rp(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Fd(t,n)}catch(a){Le(e,e.return,a)}}}function sp(e,t,n){n.props=tl(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(a){Le(e,t,a)}}function Jo(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof n=="function"?e.refCleanup=n(a):n.current=a}}catch(o){Le(e,t,o)}}function Sn(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(o){Le(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(o){Le(e,t,o)}else n.current=null}function cp(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&a.focus();break e;case"img":n.src?a.src=n.src:n.srcSet&&(a.srcset=n.srcSet)}}catch(o){Le(e,e.return,o)}}function Gc(e,t,n){try{var a=e.stateNode;Bb(a,e.type,n,t),a[Nt]=t}catch(o){Le(e,e.return,o)}}function up(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Sa(e.type)||e.tag===4}function qc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||up(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Sa(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Xc(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=zn));else if(a!==4&&(a===27&&Sa(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Xc(e,t,n),e=e.sibling;e!==null;)Xc(e,t,n),e=e.sibling}function ir(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(a!==4&&(a===27&&Sa(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(ir(e,t,n),e=e.sibling;e!==null;)ir(e,t,n),e=e.sibling}function fp(e){var t=e.stateNode,n=e.memoizedProps;try{for(var a=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);ht(t,a,n),t[ft]=e,t[Nt]=n}catch(c){Le(e,e.return,c)}}var qn=!1,at=!1,Kc=!1,dp=typeof WeakSet=="function"?WeakSet:Set,ct=null;function gb(e,t){if(e=e.containerInfo,du=_r,e=Td(e),Ls(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var o=a.anchorOffset,c=a.focusNode;a=a.focusOffset;try{n.nodeType,c.nodeType}catch{n=null;break e}var d=0,x=-1,w=-1,j=0,q=0,J=e,H=null;t:for(;;){for(var k;J!==n||o!==0&&J.nodeType!==3||(x=d+o),J!==c||a!==0&&J.nodeType!==3||(w=d+a),J.nodeType===3&&(d+=J.nodeValue.length),(k=J.firstChild)!==null;)H=J,J=k;for(;;){if(J===e)break t;if(H===n&&++j===o&&(x=d),H===c&&++q===a&&(w=d),(k=J.nextSibling)!==null)break;J=H,H=J.parentNode}J=k}n=x===-1||w===-1?null:{start:x,end:w}}else n=null}n=n||{start:0,end:0}}else n=null;for(mu={focusedElem:e,selectionRange:n},_r=!1,ct=t;ct!==null;)if(t=ct,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ct=e;else for(;ct!==null;){switch(t=ct,c=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)o=e[n],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&c!==null){e=void 0,n=t,o=c.memoizedProps,c=c.memoizedState,a=n.stateNode;try{var ae=tl(n.type,o);e=a.getSnapshotBeforeUpdate(ae,c),a.__reactInternalSnapshotBeforeUpdate=e}catch(pe){Le(n,n.return,pe)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)gu(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":gu(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(r(163))}if(e=t.sibling,e!==null){e.return=t.return,ct=e;break}ct=t.return}}function mp(e,t,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:Kn(e,n),a&4&&Zo(5,n);break;case 1:if(Kn(e,n),a&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(d){Le(n,n.return,d)}else{var o=tl(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(d){Le(n,n.return,d)}}a&64&&rp(n),a&512&&Jo(n,n.return);break;case 3:if(Kn(e,n),a&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{Fd(e,t)}catch(d){Le(n,n.return,d)}}break;case 27:t===null&&a&4&&fp(n);case 26:case 5:Kn(e,n),t===null&&a&4&&cp(n),a&512&&Jo(n,n.return);break;case 12:Kn(e,n);break;case 31:Kn(e,n),a&4&&gp(e,n);break;case 13:Kn(e,n),a&4&&vp(e,n),a&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Cb.bind(null,n),Kb(e,n))));break;case 22:if(a=n.memoizedState!==null||qn,!a){t=t!==null&&t.memoizedState!==null||at,o=qn;var c=at;qn=a,(at=t)&&!c?Qn(e,n,(n.subtreeFlags&8772)!==0):Kn(e,n),qn=o,at=c}break;case 30:break;default:Kn(e,n)}}function pp(e){var t=e.alternate;t!==null&&(e.alternate=null,pp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ss(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ze=null,Ot=!1;function Xn(e,t,n){for(n=n.child;n!==null;)hp(e,t,n),n=n.sibling}function hp(e,t,n){if(wt&&typeof wt.onCommitFiberUnmount=="function")try{wt.onCommitFiberUnmount(La,n)}catch{}switch(n.tag){case 26:at||Sn(n,t),Xn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:at||Sn(n,t);var a=Ze,o=Ot;Sa(n.type)&&(Ze=n.stateNode,Ot=!1),Xn(e,t,n),ai(n.stateNode),Ze=a,Ot=o;break;case 5:at||Sn(n,t);case 6:if(a=Ze,o=Ot,Ze=null,Xn(e,t,n),Ze=a,Ot=o,Ze!==null)if(Ot)try{(Ze.nodeType===9?Ze.body:Ze.nodeName==="HTML"?Ze.ownerDocument.body:Ze).removeChild(n.stateNode)}catch(c){Le(n,t,c)}else try{Ze.removeChild(n.stateNode)}catch(c){Le(n,t,c)}break;case 18:Ze!==null&&(Ot?(e=Ze,rh(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Wl(e)):rh(Ze,n.stateNode));break;case 4:a=Ze,o=Ot,Ze=n.stateNode.containerInfo,Ot=!0,Xn(e,t,n),Ze=a,Ot=o;break;case 0:case 11:case 14:case 15:pa(2,n,t),at||pa(4,n,t),Xn(e,t,n);break;case 1:at||(Sn(n,t),a=n.stateNode,typeof a.componentWillUnmount=="function"&&sp(n,t,a)),Xn(e,t,n);break;case 21:Xn(e,t,n);break;case 22:at=(a=at)||n.memoizedState!==null,Xn(e,t,n),at=a;break;default:Xn(e,t,n)}}function gp(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Wl(e)}catch(n){Le(t,t.return,n)}}}function vp(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Wl(e)}catch(n){Le(t,t.return,n)}}function vb(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new dp),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new dp),t;default:throw Error(r(435,e.tag))}}function rr(e,t){var n=vb(e);t.forEach(function(a){if(!n.has(a)){n.add(a);var o=Ab.bind(null,e,a);a.then(o,o)}})}function Mt(e,t){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var o=n[a],c=e,d=t,x=d;e:for(;x!==null;){switch(x.tag){case 27:if(Sa(x.type)){Ze=x.stateNode,Ot=!1;break e}break;case 5:Ze=x.stateNode,Ot=!1;break e;case 3:case 4:Ze=x.stateNode.containerInfo,Ot=!0;break e}x=x.return}if(Ze===null)throw Error(r(160));hp(c,d,o),Ze=null,Ot=!1,c=o.alternate,c!==null&&(c.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)yp(t,e),t=t.sibling}var sn=null;function yp(e,t){var n=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Mt(t,e),Dt(e),a&4&&(pa(3,e,e.return),Zo(3,e),pa(5,e,e.return));break;case 1:Mt(t,e),Dt(e),a&512&&(at||n===null||Sn(n,n.return)),a&64&&qn&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?a:n.concat(a))));break;case 26:var o=sn;if(Mt(t,e),Dt(e),a&512&&(at||n===null||Sn(n,n.return)),a&4){var c=n!==null?n.memoizedState:null;if(a=e.memoizedState,n===null)if(a===null)if(e.stateNode===null){e:{a=e.type,n=e.memoizedProps,o=o.ownerDocument||o;t:switch(a){case"title":c=o.getElementsByTagName("title")[0],(!c||c[So]||c[ft]||c.namespaceURI==="http://www.w3.org/2000/svg"||c.hasAttribute("itemprop"))&&(c=o.createElement(a),o.head.insertBefore(c,o.querySelector("head > title"))),ht(c,a,n),c[ft]=e,st(c),a=c;break e;case"link":var d=yh("link","href",o).get(a+(n.href||""));if(d){for(var x=0;x<d.length;x++)if(c=d[x],c.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&c.getAttribute("rel")===(n.rel==null?null:n.rel)&&c.getAttribute("title")===(n.title==null?null:n.title)&&c.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){d.splice(x,1);break t}}c=o.createElement(a),ht(c,a,n),o.head.appendChild(c);break;case"meta":if(d=yh("meta","content",o).get(a+(n.content||""))){for(x=0;x<d.length;x++)if(c=d[x],c.getAttribute("content")===(n.content==null?null:""+n.content)&&c.getAttribute("name")===(n.name==null?null:n.name)&&c.getAttribute("property")===(n.property==null?null:n.property)&&c.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&c.getAttribute("charset")===(n.charSet==null?null:n.charSet)){d.splice(x,1);break t}}c=o.createElement(a),ht(c,a,n),o.head.appendChild(c);break;default:throw Error(r(468,a))}c[ft]=e,st(c),a=c}e.stateNode=a}else bh(o,e.type,e.stateNode);else e.stateNode=vh(o,a,e.memoizedProps);else c!==a?(c===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):c.count--,a===null?bh(o,e.type,e.stateNode):vh(o,a,e.memoizedProps)):a===null&&e.stateNode!==null&&Gc(e,e.memoizedProps,n.memoizedProps)}break;case 27:Mt(t,e),Dt(e),a&512&&(at||n===null||Sn(n,n.return)),n!==null&&a&4&&Gc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Mt(t,e),Dt(e),a&512&&(at||n===null||Sn(n,n.return)),e.flags&32){o=e.stateNode;try{Sl(o,"")}catch(ae){Le(e,e.return,ae)}}a&4&&e.stateNode!=null&&(o=e.memoizedProps,Gc(e,o,n!==null?n.memoizedProps:o)),a&1024&&(Kc=!0);break;case 6:if(Mt(t,e),Dt(e),a&4){if(e.stateNode===null)throw Error(r(162));a=e.memoizedProps,n=e.stateNode;try{n.nodeValue=a}catch(ae){Le(e,e.return,ae)}}break;case 3:if(wr=null,o=sn,sn=Sr(t.containerInfo),Mt(t,e),sn=o,Dt(e),a&4&&n!==null&&n.memoizedState.isDehydrated)try{Wl(t.containerInfo)}catch(ae){Le(e,e.return,ae)}Kc&&(Kc=!1,bp(e));break;case 4:a=sn,sn=Sr(e.stateNode.containerInfo),Mt(t,e),Dt(e),sn=a;break;case 12:Mt(t,e),Dt(e);break;case 31:Mt(t,e),Dt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,rr(e,a)));break;case 13:Mt(t,e),Dt(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(cr=Et()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,rr(e,a)));break;case 22:o=e.memoizedState!==null;var w=n!==null&&n.memoizedState!==null,j=qn,q=at;if(qn=j||o,at=q||w,Mt(t,e),at=q,qn=j,Dt(e),a&8192)e:for(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,o&&(n===null||w||qn||at||nl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){w=n=t;try{if(c=w.stateNode,o)d=c.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none";else{x=w.stateNode;var J=w.memoizedProps.style,H=J!=null&&J.hasOwnProperty("display")?J.display:null;x.style.display=H==null||typeof H=="boolean"?"":(""+H).trim()}}catch(ae){Le(w,w.return,ae)}}}else if(t.tag===6){if(n===null){w=t;try{w.stateNode.nodeValue=o?"":w.memoizedProps}catch(ae){Le(w,w.return,ae)}}}else if(t.tag===18){if(n===null){w=t;try{var k=w.stateNode;o?sh(k,!0):sh(w.stateNode,!1)}catch(ae){Le(w,w.return,ae)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(n=a.retryQueue,n!==null&&(a.retryQueue=null,rr(e,n))));break;case 19:Mt(t,e),Dt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,rr(e,a)));break;case 30:break;case 21:break;default:Mt(t,e),Dt(e)}}function Dt(e){var t=e.flags;if(t&2){try{for(var n,a=e.return;a!==null;){if(up(a)){n=a;break}a=a.return}if(n==null)throw Error(r(160));switch(n.tag){case 27:var o=n.stateNode,c=qc(e);ir(e,c,o);break;case 5:var d=n.stateNode;n.flags&32&&(Sl(d,""),n.flags&=-33);var x=qc(e);ir(e,x,d);break;case 3:case 4:var w=n.stateNode.containerInfo,j=qc(e);Xc(e,j,w);break;default:throw Error(r(161))}}catch(q){Le(e,e.return,q)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function bp(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;bp(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Kn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)mp(e,t.alternate,t),t=t.sibling}function nl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:pa(4,t,t.return),nl(t);break;case 1:Sn(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&sp(t,t.return,n),nl(t);break;case 27:ai(t.stateNode);case 26:case 5:Sn(t,t.return),nl(t);break;case 22:t.memoizedState===null&&nl(t);break;case 30:nl(t);break;default:nl(t)}e=e.sibling}}function Qn(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,o=e,c=t,d=c.flags;switch(c.tag){case 0:case 11:case 15:Qn(o,c,n),Zo(4,c);break;case 1:if(Qn(o,c,n),a=c,o=a.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(j){Le(a,a.return,j)}if(a=c,o=a.updateQueue,o!==null){var x=a.stateNode;try{var w=o.shared.hiddenCallbacks;if(w!==null)for(o.shared.hiddenCallbacks=null,o=0;o<w.length;o++)Id(w[o],x)}catch(j){Le(a,a.return,j)}}n&&d&64&&rp(c),Jo(c,c.return);break;case 27:fp(c);case 26:case 5:Qn(o,c,n),n&&a===null&&d&4&&cp(c),Jo(c,c.return);break;case 12:Qn(o,c,n);break;case 31:Qn(o,c,n),n&&d&4&&gp(o,c);break;case 13:Qn(o,c,n),n&&d&4&&vp(o,c);break;case 22:c.memoizedState===null&&Qn(o,c,n),Jo(c,c.return);break;case 30:break;default:Qn(o,c,n)}t=t.sibling}}function Qc(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&jo(n))}function Zc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&jo(e))}function cn(e,t,n,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)xp(e,t,n,a),t=t.sibling}function xp(e,t,n,a){var o=t.flags;switch(t.tag){case 0:case 11:case 15:cn(e,t,n,a),o&2048&&Zo(9,t);break;case 1:cn(e,t,n,a);break;case 3:cn(e,t,n,a),o&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&jo(e)));break;case 12:if(o&2048){cn(e,t,n,a),e=t.stateNode;try{var c=t.memoizedProps,d=c.id,x=c.onPostCommit;typeof x=="function"&&x(d,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(w){Le(t,t.return,w)}}else cn(e,t,n,a);break;case 31:cn(e,t,n,a);break;case 13:cn(e,t,n,a);break;case 23:break;case 22:c=t.stateNode,d=t.alternate,t.memoizedState!==null?c._visibility&2?cn(e,t,n,a):$o(e,t):c._visibility&2?cn(e,t,n,a):(c._visibility|=2,Yl(e,t,n,a,(t.subtreeFlags&10256)!==0||!1)),o&2048&&Qc(d,t);break;case 24:cn(e,t,n,a),o&2048&&Zc(t.alternate,t);break;default:cn(e,t,n,a)}}function Yl(e,t,n,a,o){for(o=o&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var c=e,d=t,x=n,w=a,j=d.flags;switch(d.tag){case 0:case 11:case 15:Yl(c,d,x,w,o),Zo(8,d);break;case 23:break;case 22:var q=d.stateNode;d.memoizedState!==null?q._visibility&2?Yl(c,d,x,w,o):$o(c,d):(q._visibility|=2,Yl(c,d,x,w,o)),o&&j&2048&&Qc(d.alternate,d);break;case 24:Yl(c,d,x,w,o),o&&j&2048&&Zc(d.alternate,d);break;default:Yl(c,d,x,w,o)}t=t.sibling}}function $o(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,a=t,o=a.flags;switch(a.tag){case 22:$o(n,a),o&2048&&Qc(a.alternate,a);break;case 24:$o(n,a),o&2048&&Zc(a.alternate,a);break;default:$o(n,a)}t=t.sibling}}var Io=8192;function Gl(e,t,n){if(e.subtreeFlags&Io)for(e=e.child;e!==null;)Sp(e,t,n),e=e.sibling}function Sp(e,t,n){switch(e.tag){case 26:Gl(e,t,n),e.flags&Io&&e.memoizedState!==null&&a1(n,sn,e.memoizedState,e.memoizedProps);break;case 5:Gl(e,t,n);break;case 3:case 4:var a=sn;sn=Sr(e.stateNode.containerInfo),Gl(e,t,n),sn=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=Io,Io=16777216,Gl(e,t,n),Io=a):Gl(e,t,n));break;default:Gl(e,t,n)}}function Ep(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Fo(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];ct=a,Tp(a,e)}Ep(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)wp(e),e=e.sibling}function wp(e){switch(e.tag){case 0:case 11:case 15:Fo(e),e.flags&2048&&pa(9,e,e.return);break;case 3:Fo(e);break;case 12:Fo(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,sr(e)):Fo(e);break;default:Fo(e)}}function sr(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];ct=a,Tp(a,e)}Ep(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:pa(8,t,t.return),sr(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,sr(t));break;default:sr(t)}e=e.sibling}}function Tp(e,t){for(;ct!==null;){var n=ct;switch(n.tag){case 0:case 11:case 15:pa(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var a=n.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:jo(n.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,ct=a;else e:for(n=e;ct!==null;){a=ct;var o=a.sibling,c=a.return;if(pp(a),a===n){ct=null;break e}if(o!==null){o.return=c,ct=o;break e}ct=c}}}var yb={getCacheForType:function(e){var t=mt(et),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return mt(et).controller.signal}},bb=typeof WeakMap=="function"?WeakMap:Map,He=0,Ge=null,Ae=null,Oe=0,Be=0,Yt=null,ha=!1,ql=!1,Jc=!1,Zn=0,Fe=0,ga=0,al=0,$c=0,Gt=0,Xl=0,Wo=null,zt=null,Ic=!1,cr=0,Cp=0,ur=1/0,fr=null,va=null,ot=0,ya=null,Kl=null,Jn=0,Fc=0,Wc=null,Ap=null,Po=0,Pc=null;function qt(){return(He&2)!==0&&Oe!==0?Oe&-Oe:A.T!==null?ou():bs()}function _p(){if(Gt===0)if((Oe&536870912)===0||ze){var e=ml;ml<<=1,(ml&3932160)===0&&(ml=262144),Gt=e}else Gt=536870912;return e=kt.current,e!==null&&(e.flags|=32),Gt}function jt(e,t,n){(e===Ge&&(Be===2||Be===9)||e.cancelPendingCommit!==null)&&(Ql(e,0),ba(e,Oe,Gt,!1)),$e(e,n),((He&2)===0||e!==Ge)&&(e===Ge&&((He&2)===0&&(al|=n),Fe===4&&ba(e,Oe,Gt,!1)),En(e))}function Np(e,t,n){if((He&6)!==0)throw Error(r(327));var a=!n&&(t&127)===0&&(t&e.expiredLanes)===0||Qe(e,t),o=a?Eb(e,t):tu(e,t,!0),c=a;do{if(o===0){ql&&!a&&ba(e,t,0,!1);break}else{if(n=e.current.alternate,c&&!xb(n)){o=tu(e,t,!1),c=!1;continue}if(o===2){if(c=t,e.errorRecoveryDisabledLanes&c)var d=0;else d=e.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){t=d;e:{var x=e;o=Wo;var w=x.current.memoizedState.isDehydrated;if(w&&(Ql(x,d).flags|=256),d=tu(x,d,!1),d!==2){if(Jc&&!w){x.errorRecoveryDisabledLanes|=c,al|=c,o=4;break e}c=zt,zt=o,c!==null&&(zt===null?zt=c:zt.push.apply(zt,c))}o=d}if(c=!1,o!==2)continue}}if(o===1){Ql(e,0),ba(e,t,0,!0);break}e:{switch(a=e,c=o,c){case 0:case 1:throw Error(r(345));case 4:if((t&4194048)!==t)break;case 6:ba(a,t,Gt,!ha);break e;case 2:zt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((t&62914560)===t&&(o=cr+300-Et(),10<o)){if(ba(a,t,Gt,!ha),be(a,0,!0)!==0)break e;Jn=t,a.timeoutHandle=oh(Rp.bind(null,a,n,zt,fr,Ic,t,Gt,al,Xl,ha,c,"Throttled",-0,0),o);break e}Rp(a,n,zt,fr,Ic,t,Gt,al,Xl,ha,c,null,-0,0)}}break}while(!0);En(e)}function Rp(e,t,n,a,o,c,d,x,w,j,q,J,H,k){if(e.timeoutHandle=-1,J=t.subtreeFlags,J&8192||(J&16785408)===16785408){J={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:zn},Sp(t,c,J);var ae=(c&62914560)===c?cr-Et():(c&4194048)===c?Cp-Et():0;if(ae=l1(J,ae),ae!==null){Jn=c,e.cancelPendingCommit=ae(Bp.bind(null,e,t,c,n,a,o,d,x,w,q,J,null,H,k)),ba(e,c,d,!j);return}}Bp(e,t,c,n,a,o,d,x,w)}function xb(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var o=n[a],c=o.getSnapshot;o=o.value;try{if(!Bt(c(),o))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ba(e,t,n,a){t&=~$c,t&=~al,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var o=t;0<o;){var c=31-yt(o),d=1<<c;a[c]=-1,o&=~d}n!==0&&Va(e,n,t)}function dr(){return(He&6)===0?(ei(0),!1):!0}function eu(){if(Ae!==null){if(Be===0)var e=Ae.return;else e=Ae,Bn=Ja=null,gc(e),Hl=null,Ho=0,e=Ae;for(;e!==null;)ip(e.alternate,e),e=e.return;Ae=null}}function Ql(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,Vb(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Jn=0,eu(),Ge=e,Ae=n=Un(e.current,null),Oe=t,Be=0,Yt=null,ha=!1,ql=Qe(e,t),Jc=!1,Xl=Gt=$c=al=ga=Fe=0,zt=Wo=null,Ic=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var o=31-yt(a),c=1<<o;t|=e[o],a&=~c}return Zn=t,zi(),n}function Op(e,t){Se=null,A.H=Xo,t===Ul||t===Yi?(t=Qd(),Be=3):t===lc?(t=Qd(),Be=4):Be=t===Dc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Yt=t,Ae===null&&(Fe=1,tr(e,$t(t,e.current)))}function Mp(){var e=kt.current;return e===null?!0:(Oe&4194048)===Oe?Pt===null:(Oe&62914560)===Oe||(Oe&536870912)!==0?e===Pt:!1}function Dp(){var e=A.H;return A.H=Xo,e===null?Xo:e}function zp(){var e=A.A;return A.A=yb,e}function mr(){Fe=4,ha||(Oe&4194048)!==Oe&&kt.current!==null||(ql=!0),(ga&134217727)===0&&(al&134217727)===0||Ge===null||ba(Ge,Oe,Gt,!1)}function tu(e,t,n){var a=He;He|=2;var o=Dp(),c=zp();(Ge!==e||Oe!==t)&&(fr=null,Ql(e,t)),t=!1;var d=Fe;e:do try{if(Be!==0&&Ae!==null){var x=Ae,w=Yt;switch(Be){case 8:eu(),d=6;break e;case 3:case 2:case 9:case 6:kt.current===null&&(t=!0);var j=Be;if(Be=0,Yt=null,Zl(e,x,w,j),n&&ql){d=0;break e}break;default:j=Be,Be=0,Yt=null,Zl(e,x,w,j)}}Sb(),d=Fe;break}catch(q){Op(e,q)}while(!0);return t&&e.shellSuspendCounter++,Bn=Ja=null,He=a,A.H=o,A.A=c,Ae===null&&(Ge=null,Oe=0,zi()),d}function Sb(){for(;Ae!==null;)jp(Ae)}function Eb(e,t){var n=He;He|=2;var a=Dp(),o=zp();Ge!==e||Oe!==t?(fr=null,ur=Et()+500,Ql(e,t)):ql=Qe(e,t);e:do try{if(Be!==0&&Ae!==null){t=Ae;var c=Yt;t:switch(Be){case 1:Be=0,Yt=null,Zl(e,t,c,1);break;case 2:case 9:if(Xd(c)){Be=0,Yt=null,Up(t);break}t=function(){Be!==2&&Be!==9||Ge!==e||(Be=7),En(e)},c.then(t,t);break e;case 3:Be=7;break e;case 4:Be=5;break e;case 7:Xd(c)?(Be=0,Yt=null,Up(t)):(Be=0,Yt=null,Zl(e,t,c,7));break;case 5:var d=null;switch(Ae.tag){case 26:d=Ae.memoizedState;case 5:case 27:var x=Ae;if(d?xh(d):x.stateNode.complete){Be=0,Yt=null;var w=x.sibling;if(w!==null)Ae=w;else{var j=x.return;j!==null?(Ae=j,pr(j)):Ae=null}break t}}Be=0,Yt=null,Zl(e,t,c,5);break;case 6:Be=0,Yt=null,Zl(e,t,c,6);break;case 8:eu(),Fe=6;break e;default:throw Error(r(462))}}wb();break}catch(q){Op(e,q)}while(!0);return Bn=Ja=null,A.H=a,A.A=o,He=n,Ae!==null?0:(Ge=null,Oe=0,zi(),Fe)}function wb(){for(;Ae!==null&&!St();)jp(Ae)}function jp(e){var t=lp(e.alternate,e,Zn);e.memoizedProps=e.pendingProps,t===null?pr(e):Ae=t}function Up(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Wm(n,t,t.pendingProps,t.type,void 0,Oe);break;case 11:t=Wm(n,t,t.pendingProps,t.type.render,t.ref,Oe);break;case 5:gc(t);default:ip(n,t),t=Ae=zd(t,Zn),t=lp(n,t,Zn)}e.memoizedProps=e.pendingProps,t===null?pr(e):Ae=t}function Zl(e,t,n,a){Bn=Ja=null,gc(t),Hl=null,Ho=0;var o=t.return;try{if(fb(e,o,t,n,Oe)){Fe=1,tr(e,$t(n,e.current)),Ae=null;return}}catch(c){if(o!==null)throw Ae=o,c;Fe=1,tr(e,$t(n,e.current)),Ae=null;return}t.flags&32768?(ze||a===1?e=!0:ql||(Oe&536870912)!==0?e=!1:(ha=e=!0,(a===2||a===9||a===3||a===6)&&(a=kt.current,a!==null&&a.tag===13&&(a.flags|=16384))),Hp(t,e)):pr(t)}function pr(e){var t=e;do{if((t.flags&32768)!==0){Hp(t,ha);return}e=t.return;var n=pb(t.alternate,t,Zn);if(n!==null){Ae=n;return}if(t=t.sibling,t!==null){Ae=t;return}Ae=t=e}while(t!==null);Fe===0&&(Fe=5)}function Hp(e,t){do{var n=hb(e.alternate,e);if(n!==null){n.flags&=32767,Ae=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Ae=e;return}Ae=e=n}while(e!==null);Fe=6,Ae=null}function Bp(e,t,n,a,o,c,d,x,w){e.cancelPendingCommit=null;do hr();while(ot!==0);if((He&6)!==0)throw Error(r(327));if(t!==null){if(t===e.current)throw Error(r(177));if(c=t.lanes|t.childLanes,c|=qs,Ct(e,n,c,d,x,w),e===Ge&&(Ae=Ge=null,Oe=0),Kl=t,ya=e,Jn=n,Fc=c,Wc=o,Ap=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,_b(Ba,function(){return Gp(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=A.T,A.T=null,o=V.p,V.p=2,d=He,He|=4;try{gb(e,t,n)}finally{He=d,V.p=o,A.T=a}}ot=1,Lp(),kp(),Vp()}}function Lp(){if(ot===1){ot=0;var e=ya,t=Kl,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=A.T,A.T=null;var a=V.p;V.p=2;var o=He;He|=4;try{yp(t,e);var c=mu,d=Td(e.containerInfo),x=c.focusedElem,w=c.selectionRange;if(d!==x&&x&&x.ownerDocument&&wd(x.ownerDocument.documentElement,x)){if(w!==null&&Ls(x)){var j=w.start,q=w.end;if(q===void 0&&(q=j),"selectionStart"in x)x.selectionStart=j,x.selectionEnd=Math.min(q,x.value.length);else{var J=x.ownerDocument||document,H=J&&J.defaultView||window;if(H.getSelection){var k=H.getSelection(),ae=x.textContent.length,pe=Math.min(w.start,ae),Ye=w.end===void 0?pe:Math.min(w.end,ae);!k.extend&&pe>Ye&&(d=Ye,Ye=pe,pe=d);var M=Ed(x,pe),_=Ed(x,Ye);if(M&&_&&(k.rangeCount!==1||k.anchorNode!==M.node||k.anchorOffset!==M.offset||k.focusNode!==_.node||k.focusOffset!==_.offset)){var z=J.createRange();z.setStart(M.node,M.offset),k.removeAllRanges(),pe>Ye?(k.addRange(z),k.extend(_.node,_.offset)):(z.setEnd(_.node,_.offset),k.addRange(z))}}}}for(J=[],k=x;k=k.parentNode;)k.nodeType===1&&J.push({element:k,left:k.scrollLeft,top:k.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x<J.length;x++){var Z=J[x];Z.element.scrollLeft=Z.left,Z.element.scrollTop=Z.top}}_r=!!du,mu=du=null}finally{He=o,V.p=a,A.T=n}}e.current=t,ot=2}}function kp(){if(ot===2){ot=0;var e=ya,t=Kl,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=A.T,A.T=null;var a=V.p;V.p=2;var o=He;He|=4;try{mp(e,t.alternate,t)}finally{He=o,V.p=a,A.T=n}}ot=3}}function Vp(){if(ot===4||ot===3){ot=0,ea();var e=ya,t=Kl,n=Jn,a=Ap;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?ot=5:(ot=0,Kl=ya=null,Yp(e,e.pendingLanes));var o=e.pendingLanes;if(o===0&&(va=null),on(n),t=t.stateNode,wt&&typeof wt.onCommitFiberRoot=="function")try{wt.onCommitFiberRoot(La,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=A.T,o=V.p,V.p=2,A.T=null;try{for(var c=e.onRecoverableError,d=0;d<a.length;d++){var x=a[d];c(x.value,{componentStack:x.stack})}}finally{A.T=t,V.p=o}}(Jn&3)!==0&&hr(),En(e),o=e.pendingLanes,(n&261930)!==0&&(o&42)!==0?e===Pc?Po++:(Po=0,Pc=e):Po=0,ei(0)}}function Yp(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,jo(t)))}function hr(){return Lp(),kp(),Vp(),Gp()}function Gp(){if(ot!==5)return!1;var e=ya,t=Fc;Fc=0;var n=on(Jn),a=A.T,o=V.p;try{V.p=32>n?32:n,A.T=null,n=Wc,Wc=null;var c=ya,d=Jn;if(ot=0,Kl=ya=null,Jn=0,(He&6)!==0)throw Error(r(331));var x=He;if(He|=4,wp(c.current),xp(c,c.current,d,n),He=x,ei(0,!1),wt&&typeof wt.onPostCommitFiberRoot=="function")try{wt.onPostCommitFiberRoot(La,c)}catch{}return!0}finally{V.p=o,A.T=a,Yp(e,t)}}function qp(e,t,n){t=$t(n,t),t=Mc(e.stateNode,t,2),e=fa(e,t,2),e!==null&&($e(e,2),En(e))}function Le(e,t,n){if(e.tag===3)qp(e,e,n);else for(;t!==null;){if(t.tag===3){qp(t,e,n);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(va===null||!va.has(a))){e=$t(n,e),n=Xm(2),a=fa(t,n,2),a!==null&&(Km(n,a,t,e),$e(a,2),En(a));break}}t=t.return}}function nu(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new bb;var o=new Set;a.set(t,o)}else o=a.get(t),o===void 0&&(o=new Set,a.set(t,o));o.has(n)||(Jc=!0,o.add(n),e=Tb.bind(null,e,t,n),t.then(e,e))}function Tb(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Ge===e&&(Oe&n)===n&&(Fe===4||Fe===3&&(Oe&62914560)===Oe&&300>Et()-cr?(He&2)===0&&Ql(e,0):$c|=n,Xl===Oe&&(Xl=0)),En(e)}function Xp(e,t){t===0&&(t=bt()),e=Ka(e,t),e!==null&&($e(e,t),En(e))}function Cb(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Xp(e,n)}function Ab(e,t){var n=0;switch(e.tag){case 31:case 13:var a=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(r(314))}a!==null&&a.delete(t),Xp(e,n)}function _b(e,t){return vo(e,t)}var gr=null,Jl=null,au=!1,vr=!1,lu=!1,xa=0;function En(e){e!==Jl&&e.next===null&&(Jl===null?gr=Jl=e:Jl=Jl.next=e),vr=!0,au||(au=!0,Rb())}function ei(e,t){if(!lu&&vr){lu=!0;do for(var n=!1,a=gr;a!==null;){if(e!==0){var o=a.pendingLanes;if(o===0)var c=0;else{var d=a.suspendedLanes,x=a.pingedLanes;c=(1<<31-yt(42|e)+1)-1,c&=o&~(d&~x),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(n=!0,Jp(a,c))}else c=Oe,c=be(a,a===Ge?c:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(c&3)===0||Qe(a,c)||(n=!0,Jp(a,c));a=a.next}while(n);lu=!1}}function Nb(){Kp()}function Kp(){vr=au=!1;var e=0;xa!==0&&kb()&&(e=xa);for(var t=Et(),n=null,a=gr;a!==null;){var o=a.next,c=Qp(a,t);c===0?(a.next=null,n===null?gr=o:n.next=o,o===null&&(Jl=n)):(n=a,(e!==0||(c&3)!==0)&&(vr=!0)),a=o}ot!==0&&ot!==5||ei(e),xa!==0&&(xa=0)}function Qp(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,o=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var d=31-yt(c),x=1<<d,w=o[d];w===-1?((x&n)===0||(x&a)!==0)&&(o[d]=rt(x,t)):w<=t&&(e.expiredLanes|=x),c&=~x}if(t=Ge,n=Oe,n=be(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,n===0||e===t&&(Be===2||Be===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&yo(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||Qe(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(a!==null&&yo(a),on(n)){case 2:case 8:n=xi;break;case 32:n=Ba;break;case 268435456:n=Mn;break;default:n=Ba}return a=Zp.bind(null,e),n=vo(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&a!==null&&yo(a),e.callbackPriority=2,e.callbackNode=null,2}function Zp(e,t){if(ot!==0&&ot!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(hr()&&e.callbackNode!==n)return null;var a=Oe;return a=be(e,e===Ge?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(Np(e,a,t),Qp(e,Et()),e.callbackNode!=null&&e.callbackNode===n?Zp.bind(null,e):null)}function Jp(e,t){if(hr())return null;Np(e,t,!0)}function Rb(){Yb(function(){(He&6)!==0?vo(Ha,Nb):Kp()})}function ou(){if(xa===0){var e=zl;e===0&&(e=dl,dl<<=1,(dl&261888)===0&&(dl=256)),xa=e}return xa}function $p(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Ci(""+e)}function Ip(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function Ob(e,t,n,a,o){if(t==="submit"&&n&&n.stateNode===o){var c=$p((o[Nt]||null).action),d=a.submitter;d&&(t=(t=d[Nt]||null)?$p(t.formAction):d.getAttribute("formAction"),t!==null&&(c=t,d=null));var x=new Ri("action","action",null,a,o);e.push({event:x,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(xa!==0){var w=d?Ip(o,d):new FormData(o);Cc(n,{pending:!0,data:w,method:o.method,action:c},null,w)}}else typeof c=="function"&&(x.preventDefault(),w=d?Ip(o,d):new FormData(o),Cc(n,{pending:!0,data:w,method:o.method,action:c},c,w))},currentTarget:o}]})}}for(var iu=0;iu<Gs.length;iu++){var ru=Gs[iu],Mb=ru.toLowerCase(),Db=ru[0].toUpperCase()+ru.slice(1);rn(Mb,"on"+Db)}rn(_d,"onAnimationEnd"),rn(Nd,"onAnimationIteration"),rn(Rd,"onAnimationStart"),rn("dblclick","onDoubleClick"),rn("focusin","onFocus"),rn("focusout","onBlur"),rn(J0,"onTransitionRun"),rn($0,"onTransitionStart"),rn(I0,"onTransitionCancel"),rn(Od,"onTransitionEnd"),bl("onMouseEnter",["mouseout","mouseover"]),bl("onMouseLeave",["mouseout","mouseover"]),bl("onPointerEnter",["pointerout","pointerover"]),bl("onPointerLeave",["pointerout","pointerover"]),Ya("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ya("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ya("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ya("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ya("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ya("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ti="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(" "),zb=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ti));function Fp(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n],o=a.event;a=a.listeners;e:{var c=void 0;if(t)for(var d=a.length-1;0<=d;d--){var x=a[d],w=x.instance,j=x.currentTarget;if(x=x.listener,w!==c&&o.isPropagationStopped())break e;c=x,o.currentTarget=j;try{c(o)}catch(q){Di(q)}o.currentTarget=null,c=w}else for(d=0;d<a.length;d++){if(x=a[d],w=x.instance,j=x.currentTarget,x=x.listener,w!==c&&o.isPropagationStopped())break e;c=x,o.currentTarget=j;try{c(o)}catch(q){Di(q)}o.currentTarget=null,c=w}}}}function _e(e,t){var n=t[xs];n===void 0&&(n=t[xs]=new Set);var a=e+"__bubble";n.has(a)||(Wp(t,e,2,!1),n.add(a))}function su(e,t,n){var a=0;t&&(a|=4),Wp(n,e,a,t)}var yr="_reactListening"+Math.random().toString(36).slice(2);function cu(e){if(!e[yr]){e[yr]=!0,Kf.forEach(function(n){n!=="selectionchange"&&(zb.has(n)||su(n,!1,e),su(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[yr]||(t[yr]=!0,su("selectionchange",!1,t))}}function Wp(e,t,n,a){switch(_h(t)){case 2:var o=r1;break;case 8:o=s1;break;default:o=Tu}n=o.bind(null,t,n,e),o=void 0,!Rs||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),a?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function uu(e,t,n,a,o){var c=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var d=a.tag;if(d===3||d===4){var x=a.stateNode.containerInfo;if(x===o)break;if(d===4)for(d=a.return;d!==null;){var w=d.tag;if((w===3||w===4)&&d.stateNode.containerInfo===o)return;d=d.return}for(;x!==null;){if(d=gl(x),d===null)return;if(w=d.tag,w===5||w===6||w===26||w===27){a=c=d;continue e}x=x.parentNode}}a=a.return}ad(function(){var j=c,q=_s(n),J=[];e:{var H=Md.get(e);if(H!==void 0){var k=Ri,ae=e;switch(e){case"keypress":if(_i(n)===0)break e;case"keydown":case"keyup":k=A0;break;case"focusin":ae="focus",k=zs;break;case"focusout":ae="blur",k=zs;break;case"beforeblur":case"afterblur":k=zs;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":k=id;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":k=p0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":k=R0;break;case _d:case Nd:case Rd:k=v0;break;case Od:k=M0;break;case"scroll":case"scrollend":k=d0;break;case"wheel":k=z0;break;case"copy":case"cut":case"paste":k=b0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":k=sd;break;case"toggle":case"beforetoggle":k=U0}var pe=(t&4)!==0,Ye=!pe&&(e==="scroll"||e==="scrollend"),M=pe?H!==null?H+"Capture":null:H;pe=[];for(var _=j,z;_!==null;){var Z=_;if(z=Z.stateNode,Z=Z.tag,Z!==5&&Z!==26&&Z!==27||z===null||M===null||(Z=wo(_,M),Z!=null&&pe.push(ni(_,Z,z))),Ye)break;_=_.return}0<pe.length&&(H=new k(H,ae,null,n,q),J.push({event:H,listeners:pe}))}}if((t&7)===0){e:{if(H=e==="mouseover"||e==="pointerover",k=e==="mouseout"||e==="pointerout",H&&n!==As&&(ae=n.relatedTarget||n.fromElement)&&(gl(ae)||ae[hl]))break e;if((k||H)&&(H=q.window===q?q:(H=q.ownerDocument)?H.defaultView||H.parentWindow:window,k?(ae=n.relatedTarget||n.toElement,k=j,ae=ae?gl(ae):null,ae!==null&&(Ye=f(ae),pe=ae.tag,ae!==Ye||pe!==5&&pe!==27&&pe!==6)&&(ae=null)):(k=null,ae=j),k!==ae)){if(pe=id,Z="onMouseLeave",M="onMouseEnter",_="mouse",(e==="pointerout"||e==="pointerover")&&(pe=sd,Z="onPointerLeave",M="onPointerEnter",_="pointer"),Ye=k==null?H:Eo(k),z=ae==null?H:Eo(ae),H=new pe(Z,_+"leave",k,n,q),H.target=Ye,H.relatedTarget=z,Z=null,gl(q)===j&&(pe=new pe(M,_+"enter",ae,n,q),pe.target=z,pe.relatedTarget=Ye,Z=pe),Ye=Z,k&&ae)t:{for(pe=jb,M=k,_=ae,z=0,Z=M;Z;Z=pe(Z))z++;Z=0;for(var ue=_;ue;ue=pe(ue))Z++;for(;0<z-Z;)M=pe(M),z--;for(;0<Z-z;)_=pe(_),Z--;for(;z--;){if(M===_||_!==null&&M===_.alternate){pe=M;break t}M=pe(M),_=pe(_)}pe=null}else pe=null;k!==null&&Pp(J,H,k,pe,!1),ae!==null&&Ye!==null&&Pp(J,Ye,ae,pe,!0)}}e:{if(H=j?Eo(j):window,k=H.nodeName&&H.nodeName.toLowerCase(),k==="select"||k==="input"&&H.type==="file")var je=gd;else if(pd(H))if(vd)je=K0;else{je=q0;var re=G0}else k=H.nodeName,!k||k.toLowerCase()!=="input"||H.type!=="checkbox"&&H.type!=="radio"?j&&Cs(j.elementType)&&(je=gd):je=X0;if(je&&(je=je(e,j))){hd(J,je,n,q);break e}re&&re(e,H,j),e==="focusout"&&j&&H.type==="number"&&j.memoizedProps.value!=null&&Ts(H,"number",H.value)}switch(re=j?Eo(j):window,e){case"focusin":(pd(re)||re.contentEditable==="true")&&(Cl=re,ks=j,Mo=null);break;case"focusout":Mo=ks=Cl=null;break;case"mousedown":Vs=!0;break;case"contextmenu":case"mouseup":case"dragend":Vs=!1,Cd(J,n,q);break;case"selectionchange":if(Z0)break;case"keydown":case"keyup":Cd(J,n,q)}var we;if(Us)e:{switch(e){case"compositionstart":var Me="onCompositionStart";break e;case"compositionend":Me="onCompositionEnd";break e;case"compositionupdate":Me="onCompositionUpdate";break e}Me=void 0}else Tl?dd(e,n)&&(Me="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(Me="onCompositionStart");Me&&(cd&&n.locale!=="ko"&&(Tl||Me!=="onCompositionStart"?Me==="onCompositionEnd"&&Tl&&(we=ld()):(la=q,Os="value"in la?la.value:la.textContent,Tl=!0)),re=br(j,Me),0<re.length&&(Me=new rd(Me,e,null,n,q),J.push({event:Me,listeners:re}),we?Me.data=we:(we=md(n),we!==null&&(Me.data=we)))),(we=B0?L0(e,n):k0(e,n))&&(Me=br(j,"onBeforeInput"),0<Me.length&&(re=new rd("onBeforeInput","beforeinput",null,n,q),J.push({event:re,listeners:Me}),re.data=we)),Ob(J,e,j,n,q)}Fp(J,t)})}function ni(e,t,n){return{instance:e,listener:t,currentTarget:n}}function br(e,t){for(var n=t+"Capture",a=[];e!==null;){var o=e,c=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||c===null||(o=wo(e,n),o!=null&&a.unshift(ni(e,o,c)),o=wo(e,t),o!=null&&a.push(ni(e,o,c))),e.tag===3)return a;e=e.return}return[]}function jb(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Pp(e,t,n,a,o){for(var c=t._reactName,d=[];n!==null&&n!==a;){var x=n,w=x.alternate,j=x.stateNode;if(x=x.tag,w!==null&&w===a)break;x!==5&&x!==26&&x!==27||j===null||(w=j,o?(j=wo(n,c),j!=null&&d.unshift(ni(n,j,w))):o||(j=wo(n,c),j!=null&&d.push(ni(n,j,w)))),n=n.return}d.length!==0&&e.push({event:t,listeners:d})}var Ub=/\r\n?/g,Hb=/\u0000|\uFFFD/g;function eh(e){return(typeof e=="string"?e:""+e).replace(Ub,`
`).replace(Hb,"")}function th(e,t){return t=eh(t),eh(e)===t}function Ve(e,t,n,a,o,c){switch(n){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||Sl(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&Sl(e,""+a);break;case"className":wi(e,"class",a);break;case"tabIndex":wi(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":wi(e,n,a);break;case"style":td(e,a,c);break;case"data":if(t!=="object"){wi(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=Ci(""+a),e.setAttribute(n,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof c=="function"&&(n==="formAction"?(t!=="input"&&Ve(e,t,"name",o.name,o,null),Ve(e,t,"formEncType",o.formEncType,o,null),Ve(e,t,"formMethod",o.formMethod,o,null),Ve(e,t,"formTarget",o.formTarget,o,null)):(Ve(e,t,"encType",o.encType,o,null),Ve(e,t,"method",o.method,o,null),Ve(e,t,"target",o.target,o,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=Ci(""+a),e.setAttribute(n,a);break;case"onClick":a!=null&&(e.onclick=zn);break;case"onScroll":a!=null&&_e("scroll",e);break;case"onScrollEnd":a!=null&&_e("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(r(61));if(n=a.__html,n!=null){if(o.children!=null)throw Error(r(60));e.innerHTML=n}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}n=Ci(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""+a):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":a===!0?e.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,a):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(n,a):e.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(n):e.setAttribute(n,a);break;case"popover":_e("beforetoggle",e),_e("toggle",e),Ei(e,"popover",a);break;case"xlinkActuate":Dn(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Dn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Dn(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Dn(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Dn(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Dn(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Dn(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Dn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Dn(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Ei(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=u0.get(n)||n,Ei(e,n,a))}}function fu(e,t,n,a,o,c){switch(n){case"style":td(e,a,c);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(r(61));if(n=a.__html,n!=null){if(o.children!=null)throw Error(r(60));e.innerHTML=n}}break;case"children":typeof a=="string"?Sl(e,a):(typeof a=="number"||typeof a=="bigint")&&Sl(e,""+a);break;case"onScroll":a!=null&&_e("scroll",e);break;case"onScrollEnd":a!=null&&_e("scrollend",e);break;case"onClick":a!=null&&(e.onclick=zn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Qf.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(o=n.endsWith("Capture"),t=n.slice(2,o?n.length-7:void 0),c=e[Nt]||null,c=c!=null?c[n]:null,typeof c=="function"&&e.removeEventListener(t,c,o),typeof a=="function")){typeof c!="function"&&c!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,a,o);break e}n in e?e[n]=a:a===!0?e.setAttribute(n,""):Ei(e,n,a)}}}function ht(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":_e("error",e),_e("load",e);var a=!1,o=!1,c;for(c in n)if(n.hasOwnProperty(c)){var d=n[c];if(d!=null)switch(c){case"src":a=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:Ve(e,t,c,d,n,null)}}o&&Ve(e,t,"srcSet",n.srcSet,n,null),a&&Ve(e,t,"src",n.src,n,null);return;case"input":_e("invalid",e);var x=c=d=o=null,w=null,j=null;for(a in n)if(n.hasOwnProperty(a)){var q=n[a];if(q!=null)switch(a){case"name":o=q;break;case"type":d=q;break;case"checked":w=q;break;case"defaultChecked":j=q;break;case"value":c=q;break;case"defaultValue":x=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(r(137,t));break;default:Ve(e,t,a,q,n,null)}}Ff(e,c,x,w,j,d,o,!1);return;case"select":_e("invalid",e),a=d=c=null;for(o in n)if(n.hasOwnProperty(o)&&(x=n[o],x!=null))switch(o){case"value":c=x;break;case"defaultValue":d=x;break;case"multiple":a=x;default:Ve(e,t,o,x,n,null)}t=c,n=d,e.multiple=!!a,t!=null?xl(e,!!a,t,!1):n!=null&&xl(e,!!a,n,!0);return;case"textarea":_e("invalid",e),c=o=a=null;for(d in n)if(n.hasOwnProperty(d)&&(x=n[d],x!=null))switch(d){case"value":a=x;break;case"defaultValue":o=x;break;case"children":c=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(r(91));break;default:Ve(e,t,d,x,n,null)}Pf(e,a,o,c);return;case"option":for(w in n)if(n.hasOwnProperty(w)&&(a=n[w],a!=null))switch(w){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Ve(e,t,w,a,n,null)}return;case"dialog":_e("beforetoggle",e),_e("toggle",e),_e("cancel",e),_e("close",e);break;case"iframe":case"object":_e("load",e);break;case"video":case"audio":for(a=0;a<ti.length;a++)_e(ti[a],e);break;case"image":_e("error",e),_e("load",e);break;case"details":_e("toggle",e);break;case"embed":case"source":case"link":_e("error",e),_e("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(j in n)if(n.hasOwnProperty(j)&&(a=n[j],a!=null))switch(j){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:Ve(e,t,j,a,n,null)}return;default:if(Cs(t)){for(q in n)n.hasOwnProperty(q)&&(a=n[q],a!==void 0&&fu(e,t,q,a,n,void 0));return}}for(x in n)n.hasOwnProperty(x)&&(a=n[x],a!=null&&Ve(e,t,x,a,n,null))}function Bb(e,t,n,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,c=null,d=null,x=null,w=null,j=null,q=null;for(k in n){var J=n[k];if(n.hasOwnProperty(k)&&J!=null)switch(k){case"checked":break;case"value":break;case"defaultValue":w=J;default:a.hasOwnProperty(k)||Ve(e,t,k,null,a,J)}}for(var H in a){var k=a[H];if(J=n[H],a.hasOwnProperty(H)&&(k!=null||J!=null))switch(H){case"type":c=k;break;case"name":o=k;break;case"checked":j=k;break;case"defaultChecked":q=k;break;case"value":d=k;break;case"defaultValue":x=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(r(137,t));break;default:k!==J&&Ve(e,t,H,k,a,J)}}ws(e,d,x,w,j,q,c,o);return;case"select":k=d=x=H=null;for(c in n)if(w=n[c],n.hasOwnProperty(c)&&w!=null)switch(c){case"value":break;case"multiple":k=w;default:a.hasOwnProperty(c)||Ve(e,t,c,null,a,w)}for(o in a)if(c=a[o],w=n[o],a.hasOwnProperty(o)&&(c!=null||w!=null))switch(o){case"value":H=c;break;case"defaultValue":x=c;break;case"multiple":d=c;default:c!==w&&Ve(e,t,o,c,a,w)}t=x,n=d,a=k,H!=null?xl(e,!!n,H,!1):!!a!=!!n&&(t!=null?xl(e,!!n,t,!0):xl(e,!!n,n?[]:"",!1));return;case"textarea":k=H=null;for(x in n)if(o=n[x],n.hasOwnProperty(x)&&o!=null&&!a.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:Ve(e,t,x,null,a,o)}for(d in a)if(o=a[d],c=n[d],a.hasOwnProperty(d)&&(o!=null||c!=null))switch(d){case"value":H=o;break;case"defaultValue":k=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(r(91));break;default:o!==c&&Ve(e,t,d,o,a,c)}Wf(e,H,k);return;case"option":for(var ae in n)if(H=n[ae],n.hasOwnProperty(ae)&&H!=null&&!a.hasOwnProperty(ae))switch(ae){case"selected":e.selected=!1;break;default:Ve(e,t,ae,null,a,H)}for(w in a)if(H=a[w],k=n[w],a.hasOwnProperty(w)&&H!==k&&(H!=null||k!=null))switch(w){case"selected":e.selected=H&&typeof H!="function"&&typeof H!="symbol";break;default:Ve(e,t,w,H,a,k)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var pe in n)H=n[pe],n.hasOwnProperty(pe)&&H!=null&&!a.hasOwnProperty(pe)&&Ve(e,t,pe,null,a,H);for(j in a)if(H=a[j],k=n[j],a.hasOwnProperty(j)&&H!==k&&(H!=null||k!=null))switch(j){case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(r(137,t));break;default:Ve(e,t,j,H,a,k)}return;default:if(Cs(t)){for(var Ye in n)H=n[Ye],n.hasOwnProperty(Ye)&&H!==void 0&&!a.hasOwnProperty(Ye)&&fu(e,t,Ye,void 0,a,H);for(q in a)H=a[q],k=n[q],!a.hasOwnProperty(q)||H===k||H===void 0&&k===void 0||fu(e,t,q,H,a,k);return}}for(var M in n)H=n[M],n.hasOwnProperty(M)&&H!=null&&!a.hasOwnProperty(M)&&Ve(e,t,M,null,a,H);for(J in a)H=a[J],k=n[J],!a.hasOwnProperty(J)||H===k||H==null&&k==null||Ve(e,t,J,H,a,k)}function nh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Lb(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var o=n[a],c=o.transferSize,d=o.initiatorType,x=o.duration;if(c&&x&&nh(d)){for(d=0,x=o.responseEnd,a+=1;a<n.length;a++){var w=n[a],j=w.startTime;if(j>x)break;var q=w.transferSize,J=w.initiatorType;q&&nh(J)&&(w=w.responseEnd,d+=q*(w<x?1:(x-j)/(w-j)))}if(--a,t+=8*(c+d)/(o.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var du=null,mu=null;function xr(e){return e.nodeType===9?e:e.ownerDocument}function ah(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function lh(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function pu(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var hu=null;function kb(){var e=window.event;return e&&e.type==="popstate"?e===hu?!1:(hu=e,!0):(hu=null,!1)}var oh=typeof setTimeout=="function"?setTimeout:void 0,Vb=typeof clearTimeout=="function"?clearTimeout:void 0,ih=typeof Promise=="function"?Promise:void 0,Yb=typeof queueMicrotask=="function"?queueMicrotask:typeof ih<"u"?function(e){return ih.resolve(null).then(e).catch(Gb)}:oh;function Gb(e){setTimeout(function(){throw e})}function Sa(e){return e==="head"}function rh(e,t){var n=t,a=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"||n==="/&"){if(a===0){e.removeChild(o),Wl(t);return}a--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")a++;else if(n==="html")ai(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,ai(n);for(var c=n.firstChild;c;){var d=c.nextSibling,x=c.nodeName;c[So]||x==="SCRIPT"||x==="STYLE"||x==="LINK"&&c.rel.toLowerCase()==="stylesheet"||n.removeChild(c),c=d}}else n==="body"&&ai(e.ownerDocument.body);n=o}while(n);Wl(t)}function sh(e,t){var n=e;e=0;do{var a=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),a&&a.nodeType===8)if(n=a.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=a}while(n)}function gu(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":gu(n),Ss(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function qb(e,t,n,a){for(;e.nodeType===1;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[So])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(c=e.getAttribute("rel"),c==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(c!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(c=e.getAttribute("src"),(c!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var c=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=en(e.nextSibling),e===null)break}return null}function Xb(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=en(e.nextSibling),e===null))return null;return e}function ch(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=en(e.nextSibling),e===null))return null;return e}function vu(e){return e.data==="$?"||e.data==="$~"}function yu(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Kb(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var a=function(){t(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function en(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var bu=null;function uh(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return en(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function fh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(t===0)return e;t--}else n!=="/$"&&n!=="/&"||t++}e=e.previousSibling}return null}function dh(e,t,n){switch(t=xr(n),e){case"html":if(e=t.documentElement,!e)throw Error(r(452));return e;case"head":if(e=t.head,!e)throw Error(r(453));return e;case"body":if(e=t.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function ai(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ss(e)}var tn=new Map,mh=new Set;function Sr(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var $n=V.d;V.d={f:Qb,r:Zb,D:Jb,C:$b,L:Ib,m:Fb,X:Pb,S:Wb,M:e1};function Qb(){var e=$n.f(),t=dr();return e||t}function Zb(e){var t=vl(e);t!==null&&t.tag===5&&t.type==="form"?Om(t):$n.r(e)}var $l=typeof document>"u"?null:document;function ph(e,t,n){var a=$l;if(a&&typeof t=="string"&&t){var o=Zt(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof n=="string"&&(o+='[crossorigin="'+n+'"]'),mh.has(o)||(mh.add(o),e={rel:e,crossOrigin:n,href:t},a.querySelector(o)===null&&(t=a.createElement("link"),ht(t,"link",e),st(t),a.head.appendChild(t)))}}function Jb(e){$n.D(e),ph("dns-prefetch",e,null)}function $b(e,t){$n.C(e,t),ph("preconnect",e,t)}function Ib(e,t,n){$n.L(e,t,n);var a=$l;if(a&&e&&t){var o='link[rel="preload"][as="'+Zt(t)+'"]';t==="image"&&n&&n.imageSrcSet?(o+='[imagesrcset="'+Zt(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(o+='[imagesizes="'+Zt(n.imageSizes)+'"]')):o+='[href="'+Zt(e)+'"]';var c=o;switch(t){case"style":c=Il(e);break;case"script":c=Fl(e)}tn.has(c)||(e=h({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),tn.set(c,e),a.querySelector(o)!==null||t==="style"&&a.querySelector(li(c))||t==="script"&&a.querySelector(oi(c))||(t=a.createElement("link"),ht(t,"link",e),st(t),a.head.appendChild(t)))}}function Fb(e,t){$n.m(e,t);var n=$l;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+Zt(a)+'"][href="'+Zt(e)+'"]',c=o;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=Fl(e)}if(!tn.has(c)&&(e=h({rel:"modulepreload",href:e},t),tn.set(c,e),n.querySelector(o)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(oi(c)))return}a=n.createElement("link"),ht(a,"link",e),st(a),n.head.appendChild(a)}}}function Wb(e,t,n){$n.S(e,t,n);var a=$l;if(a&&e){var o=yl(a).hoistableStyles,c=Il(e);t=t||"default";var d=o.get(c);if(!d){var x={loading:0,preload:null};if(d=a.querySelector(li(c)))x.loading=5;else{e=h({rel:"stylesheet",href:e,"data-precedence":t},n),(n=tn.get(c))&&xu(e,n);var w=d=a.createElement("link");st(w),ht(w,"link",e),w._p=new Promise(function(j,q){w.onload=j,w.onerror=q}),w.addEventListener("load",function(){x.loading|=1}),w.addEventListener("error",function(){x.loading|=2}),x.loading|=4,Er(d,t,a)}d={type:"stylesheet",instance:d,count:1,state:x},o.set(c,d)}}}function Pb(e,t){$n.X(e,t);var n=$l;if(n&&e){var a=yl(n).hoistableScripts,o=Fl(e),c=a.get(o);c||(c=n.querySelector(oi(o)),c||(e=h({src:e,async:!0},t),(t=tn.get(o))&&Su(e,t),c=n.createElement("script"),st(c),ht(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(o,c))}}function e1(e,t){$n.M(e,t);var n=$l;if(n&&e){var a=yl(n).hoistableScripts,o=Fl(e),c=a.get(o);c||(c=n.querySelector(oi(o)),c||(e=h({src:e,async:!0,type:"module"},t),(t=tn.get(o))&&Su(e,t),c=n.createElement("script"),st(c),ht(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(o,c))}}function hh(e,t,n,a){var o=(o=ie.current)?Sr(o):null;if(!o)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=Il(n.href),n=yl(o).hoistableStyles,a=n.get(t),a||(a={type:"style",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=Il(n.href);var c=yl(o).hoistableStyles,d=c.get(e);if(d||(o=o.ownerDocument||o,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,d),(c=o.querySelector(li(e)))&&!c._p&&(d.instance=c,d.state.loading=5),tn.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},tn.set(e,n),c||t1(o,e,n,d.state))),t&&a===null)throw Error(r(528,""));return d}if(t&&a!==null)throw Error(r(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Fl(n),n=yl(o).hoistableScripts,a=n.get(t),a||(a={type:"script",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Il(e){return'href="'+Zt(e)+'"'}function li(e){return'link[rel="stylesheet"]['+e+"]"}function gh(e){return h({},e,{"data-precedence":e.precedence,precedence:null})}function t1(e,t,n,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),ht(t,"link",n),st(t),e.head.appendChild(t))}function Fl(e){return'[src="'+Zt(e)+'"]'}function oi(e){return"script[async]"+e}function vh(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Zt(n.href)+'"]');if(a)return t.instance=a,st(a),a;var o=h({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),st(a),ht(a,"style",o),Er(a,n.precedence,e),t.instance=a;case"stylesheet":o=Il(n.href);var c=e.querySelector(li(o));if(c)return t.state.loading|=4,t.instance=c,st(c),c;a=gh(n),(o=tn.get(o))&&xu(a,o),c=(e.ownerDocument||e).createElement("link"),st(c);var d=c;return d._p=new Promise(function(x,w){d.onload=x,d.onerror=w}),ht(c,"link",a),t.state.loading|=4,Er(c,n.precedence,e),t.instance=c;case"script":return c=Fl(n.src),(o=e.querySelector(oi(c)))?(t.instance=o,st(o),o):(a=n,(o=tn.get(c))&&(a=h({},n),Su(a,o)),e=e.ownerDocument||e,o=e.createElement("script"),st(o),ht(o,"link",a),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(r(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Er(a,n.precedence,e));return t.instance}function Er(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=a.length?a[a.length-1]:null,c=o,d=0;d<a.length;d++){var x=a[d];if(x.dataset.precedence===t)c=x;else if(c!==o)break}c?c.parentNode.insertBefore(e,c.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function xu(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Su(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var wr=null;function yh(e,t,n){if(wr===null){var a=new Map,o=wr=new Map;o.set(n,a)}else o=wr,a=o.get(n),a||(a=new Map,o.set(n,a));if(a.has(e))return a;for(a.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var c=n[o];if(!(c[So]||c[ft]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var d=c.getAttribute(t)||"";d=e+d;var x=a.get(d);x?x.push(c):a.set(d,[c])}}return a}function bh(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function n1(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.on
gitextract_ag37nrb9/ ├── .github/ │ ├── dependabot.yml │ └── workflows/ │ └── dependabot-build.yml ├── .gitignore ├── LICENSE ├── README.md ├── assemblyai.go ├── config.go ├── configure.go ├── deepgram.go ├── dist/ │ ├── assets/ │ │ ├── index-BvKMAqt1.js │ │ └── index-CqtPYu3T.css │ └── index.html ├── go.mod ├── go.sum ├── groq.go ├── hooks/ │ └── pre-commit ├── llms.go ├── main.go ├── renovate.json ├── types.go ├── web/ │ ├── Caddyfile │ └── frontend/ │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc │ ├── README.md │ ├── components.json │ ├── dist/ │ │ ├── assets/ │ │ │ ├── index-BW_J7set.css │ │ │ └── index-bX8PDyqL.js │ │ └── index.html │ ├── eslint.config.js │ ├── index.html │ ├── package.json │ ├── src/ │ │ ├── App.tsx │ │ ├── components/ │ │ │ ├── AudioTranscription.tsx │ │ │ ├── SettingsPanel.tsx │ │ │ ├── YouTubeTranscription.tsx │ │ │ └── ui/ │ │ │ ├── accordion.tsx │ │ │ ├── alert.tsx │ │ │ ├── button.tsx │ │ │ ├── card.tsx │ │ │ ├── form.tsx │ │ │ ├── input.tsx │ │ │ ├── label.tsx │ │ │ ├── select.tsx │ │ │ ├── sheet.tsx │ │ │ ├── sonner.tsx │ │ │ └── tabs.tsx │ │ ├── index.css │ │ ├── lib/ │ │ │ └── utils.ts │ │ ├── main.tsx │ │ └── vite-env.d.ts │ ├── tsconfig.app.json │ ├── tsconfig.json │ ├── tsconfig.node.json │ └── vite.config.ts ├── web.go ├── youtube_transcriber.go ├── ytt.go └── ytt_web.go
SYMBOL INDEX (505 symbols across 29 files)
FILE: assemblyai.go
constant maxLocalFileSize (line 15) | maxLocalFileSize int64 = 2200 * 1024 * 1024
type AssemblyAICmd (line 18) | type AssemblyAICmd struct
method Run (line 26) | func (a *AssemblyAICmd) Run() error {
FILE: config.go
function ConfLoader (line 16) | func ConfLoader(r io.Reader) (kong.Resolver, error) {
type ConfResolver (line 29) | type ConfResolver struct
method Resolve (line 34) | func (r *ConfResolver) Resolve(kctx *kong.Context, parent *kong.Path, ...
method Validate (line 42) | func (r *ConfResolver) Validate(app *kong.Application) error {
method findValue (line 47) | func (r *ConfResolver) findValue(parent *kong.Path, flag *kong.Flag) (...
method findValueParts (line 68) | func (r *ConfResolver) findValueParts(prefix string, suffix []string, ...
FILE: configure.go
type Config (line 13) | type Config struct
type ConfigureCmd (line 26) | type ConfigureCmd struct
method Run (line 30) | func (c *ConfigureCmd) Run() error {
constant configFileName (line 28) | configFileName = ".podscript.toml"
function promptAndSet (line 65) | func promptAndSet(promptTitle string, currentValue *string) error {
function ReadConfig (line 89) | func ReadConfig() (*Config, error) {
function WriteConfig (line 111) | func WriteConfig(config *Config) error {
FILE: deepgram.go
type DeepgramCmd (line 17) | type DeepgramCmd struct
method Run (line 26) | func (d *DeepgramCmd) Run() error {
FILE: dist/assets/index-BvKMAqt1.js
function p1 (line 1) | function p1(l,i){for(var s=0;s<i.length;s++){const r=i[s];if(typeof r!="...
function s (line 1) | function s(u){const f={};return u.integrity&&(f.integrity=u.integrity),u...
function r (line 1) | function r(u){if(u.ep)return;u.ep=!0;const f=s(u);fetch(u.href,f)}
function Og (line 1) | function Og(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.c...
function h1 (line 1) | function h1(){if(jh)return ui;jh=1;var l=Symbol.for("react.transitional....
function g1 (line 1) | function g1(){return Uh||(Uh=1,Ru.exports=h1()),Ru.exports}
function v1 (line 1) | function v1(){if(Hh)return xe;Hh=1;var l=Symbol.for("react.transitional....
function hf (line 1) | function hf(){return Bh||(Bh=1,Ou.exports=v1()),Ou.exports}
function y1 (line 1) | function y1(){return Lh||(Lh=1,function(l){function i(A,V){var B=A.lengt...
function b1 (line 1) | function b1(){return kh||(kh=1,Du.exports=y1()),Du.exports}
function x1 (line 1) | function x1(){if(Vh)return xt;Vh=1;var l=hf();function i(v){var g="https...
function Mg (line 1) | function Mg(){if(Yh)return ju.exports;Yh=1;function l(){if(!(typeof __RE...
function S1 (line 1) | function S1(){if(Gh)return fi;Gh=1;var l=b1(),i=hf(),s=Mg();function r(e...
function E1 (line 9) | function E1(){if(qh)return Mu.exports;qh=1;function l(){if(!(typeof __RE...
function De (line 9) | function De(l,i,{checkForDefaultPrevented:s=!0}={}){return function(u){i...
function T1 (line 9) | function T1(l,i){const s=b.createContext(i),r=f=>{const{children:m,...p}...
function za (line 9) | function za(l,i=[]){let s=[];function r(f,m){const p=b.createContext(m),...
function C1 (line 9) | function C1(...l){const i=l[0];if(l.length===1)return i;const s=()=>{con...
function Xh (line 9) | function Xh(l,i){if(typeof l=="function")return l(i);l!=null&&(l.current...
function so (line 9) | function so(...l){return i=>{let s=!1;const r=l.map(u=>{const f=Xh(u,i);...
function Je (line 9) | function Je(...l){return b.useCallback(so(...l),l)}
function Kh (line 9) | function Kh(l){const i=A1(l),s=b.forwardRef((r,u)=>{const{children:f,......
function A1 (line 9) | function A1(l){const i=b.forwardRef((s,r)=>{const{children:u,...f}=s;if(...
function N1 (line 9) | function N1(l){return b.isValidElement(l)&&typeof l.type=="function"&&"_...
function R1 (line 9) | function R1(l,i){const s={...i};for(const r in i){const u=l[r],f=i[r];/^...
function O1 (line 9) | function O1(l){let i=Object.getOwnPropertyDescriptor(l.props,"ref")?.get...
function vf (line 9) | function vf(l){const i=l+"CollectionProvider",[s,r]=za(i),[u,f]=s(i,{col...
function An (line 9) | function An(l){const[i,s]=b.useState(M1());return gt(()=>{s(r=>r??String...
function z1 (line 9) | function z1(l){const i=j1(l),s=b.forwardRef((r,u)=>{const{children:f,......
function j1 (line 9) | function j1(l){const i=b.forwardRef((s,r)=>{const{children:u,...f}=s;if(...
function H1 (line 9) | function H1(l){return b.isValidElement(l)&&typeof l.type=="function"&&"_...
function B1 (line 9) | function B1(l,i){const s={...i};for(const r in i){const u=l[r],f=i[r];/^...
function L1 (line 9) | function L1(l){let i=Object.getOwnPropertyDescriptor(l.props,"ref")?.get...
function V1 (line 9) | function V1(l,i){l&&vi.flushSync(()=>l.dispatchEvent(i))}
function Ra (line 9) | function Ra(l){const i=b.useRef(l);return b.useEffect(()=>{i.current=l})...
function Oa (line 9) | function Oa({prop:l,defaultProp:i,onChange:s=()=>{},caller:r}){const[u,f...
function G1 (line 9) | function G1({defaultProp:l,onChange:i}){const[s,r]=b.useState(l),u=b.use...
function q1 (line 9) | function q1(l){return typeof l=="function"}
function ns (line 9) | function ns(l){const i=b.useContext(X1);return l||i||"ltr"}
function W1 (line 9) | function W1(l,i){return i!=="rtl"?l:l==="ArrowLeft"?"ArrowRight":l==="Ar...
function P1 (line 9) | function P1(l,i,s){const r=W1(l.key,s);if(!(i==="vertical"&&["ArrowLeft"...
function Lg (line 9) | function Lg(l,i=!1){const s=document.activeElement;for(const r of l)if(r...
function ex (line 9) | function ex(l,i){return l.map((s,r)=>l[(i+r)%l.length])}
function ax (line 9) | function ax(l,i){return b.useReducer((s,r)=>i[s][r]??s,l)}
function lx (line 9) | function lx(l){const[i,s]=b.useState(),r=b.useRef(null),u=b.useRef(l),f=...
function jr (line 9) | function jr(l){return l?.animationName||"none"}
function ox (line 9) | function ox(l){let i=Object.getOwnPropertyDescriptor(l.props,"ref")?.get...
function Zg (line 9) | function Zg(l,i){return`${l}-trigger-${i}`}
function Jg (line 9) | function Jg(l,i){return`${l}-content-${i}`}
function $g (line 9) | function $g(l){var i,s,r="";if(typeof l=="string"||typeof l=="number")r+...
function Ig (line 9) | function Ig(){for(var l,i,s=0,r="",u=arguments.length;s<u;s++)(l=argumen...
method get (line 9) | get(f){let m=s.get(f);if(m!==void 0)return m;if((m=r.get(f))!==void 0)re...
method set (line 9) | set(f,m){s.has(f)?s.set(f,m):u(f,m)}
function Tx (line 9) | function Tx(){let l=0,i,s,r="";for(;l<arguments.length;)(i=arguments[l++...
function Cx (line 9) | function Cx(l,...i){let s,r,u,f=m;function m(v){const g=i.reduce((S,h)=>...
function qe (line 9) | function qe(...l){return Kx(Ig(l))}
function Qx (line 9) | function Qx({className:l,...i}){return y.jsx(sx,{"data-slot":"tabs",clas...
function Zx (line 9) | function Zx({className:l,...i}){return y.jsx(cx,{"data-slot":"tabs-list"...
function Ih (line 9) | function Ih({className:l,...i}){return y.jsx(ux,{"data-slot":"tabs-trigg...
function Fh (line 9) | function Fh({className:l,...i}){return y.jsx(fx,{"data-slot":"tabs-conte...
function $x (line 9) | function $x(l){return typeof l=="object"&&l!==null&&"then"in l}
function rv (line 9) | function rv(l){return l!=null&&typeof l=="object"&&"$$typeof"in l&&l.$$t...
function Ix (line 9) | function Ix(l){const i=Wx(l),s=b.forwardRef((r,u)=>{let{children:f,...m}...
function Wx (line 9) | function Wx(l){const i=b.forwardRef((s,r)=>{let{children:u,...f}=s;if(rv...
function eS (line 9) | function eS(l){return b.isValidElement(l)&&typeof l.type=="function"&&"_...
function tS (line 9) | function tS(l,i){const s={...i};for(const r in i){const u=l[r],f=i[r];/^...
function nS (line 9) | function nS(l){let i=Object.getOwnPropertyDescriptor(l.props,"ref")?.get...
function nn (line 9) | function nn({className:l,variant:i,size:s,asChild:r=!1,...u}){const f=r?...
function lS (line 9) | function lS(l,i=globalThis?.document){const s=Ra(l);b.useEffect(()=>{con...
function uS (line 9) | function uS(l,i=globalThis?.document){const s=Ra(l),r=b.useRef(!1),u=b.u...
function fS (line 9) | function fS(l,i=globalThis?.document){const s=Ra(l),r=b.useRef(!1);retur...
function tg (line 9) | function tg(){const l=new CustomEvent(Fu);document.dispatchEvent(l)}
function uv (line 9) | function uv(l,i,s,{discrete:r}){const u=s.originalEvent.target,f=new Cus...
method pause (line 9) | pause(){this.paused=!0}
method resume (line 9) | resume(){this.paused=!1}
function mS (line 9) | function mS(l,{select:i=!1}={}){const s=document.activeElement;for(const...
function pS (line 9) | function pS(l){const i=fv(l),s=ag(i,l),r=ag(i.reverse(),l);return[s,r]}
function fv (line 9) | function fv(l){const i=[],s=document.createTreeWalker(l,NodeFilter.SHOW_...
function ag (line 9) | function ag(l,i){for(const s of l)if(!hS(s,{upTo:i}))return s}
function hS (line 9) | function hS(l,{upTo:i}){if(getComputedStyle(l).visibility==="hidden")ret...
function gS (line 9) | function gS(l){return l instanceof HTMLInputElement&&"select"in l}
function Na (line 9) | function Na(l,{select:i=!1}={}){if(l&&l.focus){const s=document.activeEl...
function vS (line 9) | function vS(){let l=[];return{add(i){const s=l[0];i!==s&&s?.pause(),l=og...
function og (line 9) | function og(l,i){const s=[...l],r=s.indexOf(i);return r!==-1&&s.splice(r...
function yS (line 9) | function yS(l){return l.filter(i=>i.tagName!=="A")}
function dv (line 9) | function dv(){b.useEffect(()=>{const l=document.querySelectorAll("[data-...
function ig (line 9) | function ig(){const l=document.createElement("span");return l.setAttribu...
function mv (line 9) | function mv(l,i){var s={};for(var r in l)Object.prototype.hasOwnProperty...
function xS (line 9) | function xS(l,i,s){if(s||arguments.length===2)for(var r=0,u=i.length,f;r...
function Yu (line 9) | function Yu(l,i){return typeof l=="function"?l(i):l&&(l.current=i),l}
function wS (line 9) | function wS(l,i){var s=b.useState(function(){return{value:l,callback:i,f...
function CS (line 9) | function CS(l,i){var s=wS(null,function(r){return l.forEach(function(u){...
function AS (line 9) | function AS(l){return l}
function _S (line 9) | function _S(l,i){i===void 0&&(i=AS);var s=[],r=!1,u={read:function(){if(...
function NS (line 9) | function NS(l){l===void 0&&(l={});var i=_S(null);return i.options=Tn({as...
function RS (line 9) | function RS(l,i){return l.useMedium(i),pv}
function MS (line 9) | function MS(){if(!document)return null;var l=document.createElement("sty...
function DS (line 9) | function DS(l,i){l.styleSheet?l.styleSheet.cssText=i:l.appendChild(docum...
function zS (line 9) | function zS(l){var i=document.head||document.getElementsByTagName("head"...
function PS (line 49) | function PS(l){var i=b.useRef([]),s=b.useRef([0,0]),r=b.useRef(),u=b.use...
function e2 (line 49) | function e2(l){for(var i=null;l!==null;)l instanceof ShadowRoot&&(i=l.ho...
function o2 (line 49) | function o2(l){const i=i2(l),s=b.forwardRef((r,u)=>{const{children:f,......
function i2 (line 49) | function i2(l){const i=b.forwardRef((s,r)=>{const{children:u,...f}=s;if(...
function s2 (line 49) | function s2(l){return b.isValidElement(l)&&typeof l.type=="function"&&"_...
function c2 (line 49) | function c2(l,i){const s={...i};for(const r in i){const u=l[r],f=i[r];/^...
function u2 (line 49) | function u2(l){let i=Object.getOwnPropertyDescriptor(l.props,"ref")?.get...
function Af (line 49) | function Af(l){return l?"open":"closed"}
function oE (line 53) | function oE({...l}){return y.jsx(S2,{"data-slot":"sheet",...l})}
function iE (line 53) | function iE({...l}){return y.jsx(E2,{"data-slot":"sheet-trigger",...l})}
function rE (line 53) | function rE({...l}){return y.jsx(w2,{"data-slot":"sheet-portal",...l})}
function sE (line 53) | function sE({className:l,...i}){return y.jsx(T2,{"data-slot":"sheet-over...
function cE (line 53) | function cE({className:l,children:i,side:s="right",...r}){return y.jsxs(...
function uE (line 53) | function uE({className:l,...i}){return y.jsx("div",{"data-slot":"sheet-h...
function fE (line 53) | function fE({className:l,...i}){return y.jsx(A2,{"data-slot":"sheet-titl...
function lo (line 53) | function lo({className:l,...i}){return y.jsx("div",{"data-slot":"card",c...
function Jr (line 53) | function Jr({className:l,...i}){return y.jsx("div",{"data-slot":"card-he...
function $r (line 53) | function $r({className:l,...i}){return y.jsx("div",{"data-slot":"card-ti...
function oo (line 53) | function oo({className:l,...i}){return y.jsx("div",{"data-slot":"card-co...
function qv (line 53) | function qv({className:l,...i}){return y.jsx("div",{"data-slot":"card-fo...
function is (line 53) | function is({className:l,type:i,...s}){return y.jsx("input",{type:i,"dat...
function pg (line 53) | function pg(l,[i,s]){return Math.min(s,Math.max(i,l))}
function Pu (line 53) | function Pu(l,i,s){return Xt(l,Ma(i,s))}
function Wn (line 53) | function Wn(l,i){return typeof l=="function"?l(i):l}
function Pn (line 53) | function Pn(l){return l.split("-")[0]}
function mo (line 53) | function mo(l){return l.split("-")[1]}
function Nf (line 53) | function Nf(l){return l==="x"?"y":"x"}
function Rf (line 53) | function Rf(l){return l==="y"?"height":"width"}
function Cn (line 53) | function Cn(l){return hE.has(Pn(l))?"y":"x"}
function Of (line 53) | function Of(l){return Nf(Cn(l))}
function gE (line 53) | function gE(l,i,s){s===void 0&&(s=!1);const r=mo(l),u=Of(l),f=Rf(u);let ...
function vE (line 53) | function vE(l){const i=Fr(l);return[ef(l),i,ef(i)]}
function ef (line 53) | function ef(l){return l.replace(/start|end/g,i=>pE[i])}
function xE (line 53) | function xE(l,i,s){switch(l){case"top":case"bottom":return s?i?gg:hg:i?h...
function SE (line 53) | function SE(l,i,s,r){const u=mo(l);let f=xE(Pn(l),s==="start",r);return ...
function Fr (line 53) | function Fr(l){return l.replace(/left|right|bottom|top/g,i=>mE[i])}
function EE (line 53) | function EE(l){return{top:0,right:0,bottom:0,left:0,...l}}
function Xv (line 53) | function Xv(l){return typeof l!="number"?EE(l):{top:l,right:l,bottom:l,l...
function Wr (line 53) | function Wr(l){const{x:i,y:s,width:r,height:u}=l;return{width:r,height:u...
function vg (line 53) | function vg(l,i,s){let{reference:r,floating:u}=l;const f=Cn(i),m=Of(i),p...
function hi (line 53) | async function hi(l,i){var s;i===void 0&&(i={});const{x:r,y:u,platform:f...
method fn (line 53) | async fn(i){const{x:s,y:r,placement:u,rects:f,platform:m,elements:p,midd...
method fn (line 53) | async fn(i){var s,r;const{placement:u,middlewareData:f,rects:m,initialPl...
function yg (line 53) | function yg(l,i){return{top:l.top-i.height,right:l.right-i.width,bottom:...
function bg (line 53) | function bg(l){return dE.some(i=>l[i]>=0)}
method fn (line 53) | async fn(i){const{rects:s}=i,{strategy:r="referenceHidden",...u}=Wn(l,i)...
function _E (line 53) | async function _E(l,i){const{placement:s,platform:r,elements:u}=l,f=awai...
method fn (line 53) | async fn(i){var s,r;const{x:u,y:f,placement:m,middlewareData:p}=i,v=awai...
method fn (line 53) | async fn(i){const{x:s,y:r,placement:u}=i,{mainAxis:f=!0,crossAxis:m=!1,l...
method fn (line 53) | fn(i){const{x:s,y:r,placement:u,rects:f,middlewareData:m}=i,{offset:p=0,...
method fn (line 53) | async fn(i){var s,r;const{placement:u,rects:f,platform:m,elements:p}=i,{...
function rs (line 53) | function rs(){return typeof window<"u"}
function po (line 53) | function po(l){return Qv(l)?(l.nodeName||"").toLowerCase():"#document"}
function Kt (line 53) | function Kt(l){var i;return(l==null||(i=l.ownerDocument)==null?void 0:i....
function Rn (line 53) | function Rn(l){var i;return(i=(Qv(l)?l.ownerDocument:l.document)||window...
function Qv (line 53) | function Qv(l){return rs()?l instanceof Node||l instanceof Kt(l).Node:!1}
function dn (line 53) | function dn(l){return rs()?l instanceof Element||l instanceof Kt(l).Elem...
function Nn (line 53) | function Nn(l){return rs()?l instanceof HTMLElement||l instanceof Kt(l)....
function xg (line 53) | function xg(l){return!rs()||typeof ShadowRoot>"u"?!1:l instanceof Shadow...
function bi (line 53) | function bi(l){const{overflow:i,overflowX:s,overflowY:r,display:u}=mn(l)...
function jE (line 53) | function jE(l){return zE.has(po(l))}
function ss (line 53) | function ss(l){return UE.some(i=>{try{return l.matches(i)}catch{return!1...
function Mf (line 53) | function Mf(l){const i=Df(),s=dn(l)?mn(l):l;return HE.some(r=>s[r]?s[r]!...
function kE (line 53) | function kE(l){let i=Da(l);for(;Nn(i)&&!ro(i);){if(Mf(i))return i;if(ss(...
function Df (line 53) | function Df(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-web...
function ro (line 53) | function ro(l){return VE.has(po(l))}
function mn (line 53) | function mn(l){return Kt(l).getComputedStyle(l)}
function cs (line 53) | function cs(l){return dn(l)?{scrollLeft:l.scrollLeft,scrollTop:l.scrollT...
function Da (line 53) | function Da(l){if(po(l)==="html")return l;const i=l.assignedSlot||l.pare...
function Zv (line 53) | function Zv(l){const i=Da(l);return ro(i)?l.ownerDocument?l.ownerDocumen...
function gi (line 53) | function gi(l,i,s){var r;i===void 0&&(i=[]),s===void 0&&(s=!0);const u=Z...
function tf (line 53) | function tf(l){return l.parent&&Object.getPrototypeOf(l.parent)?l.frameE...
function Jv (line 53) | function Jv(l){const i=mn(l);let s=parseFloat(i.width)||0,r=parseFloat(i...
function zf (line 53) | function zf(l){return dn(l)?l:l.contextElement}
function io (line 53) | function io(l){const i=zf(l);if(!Nn(i))return _n(1);const s=i.getBoundin...
function $v (line 53) | function $v(l){const i=Kt(l);return!Df()||!i.visualViewport?YE:{x:i.visu...
function GE (line 53) | function GE(l,i,s){return i===void 0&&(i=!1),!s||i&&s!==Kt(l)?!1:i}
function cl (line 53) | function cl(l,i,s,r){i===void 0&&(i=!1),s===void 0&&(s=!1);const u=l.get...
function us (line 53) | function us(l,i){const s=cs(l).scrollLeft;return i?i.left+s:cl(Rn(l)).le...
function Iv (line 53) | function Iv(l,i){const s=l.getBoundingClientRect(),r=s.left+i.scrollLeft...
function qE (line 53) | function qE(l){let{elements:i,rect:s,offsetParent:r,strategy:u}=l;const ...
function XE (line 53) | function XE(l){return Array.from(l.getClientRects())}
function KE (line 53) | function KE(l){const i=Rn(l),s=cs(l),r=l.ownerDocument.body,u=Xt(i.scrol...
function QE (line 53) | function QE(l,i){const s=Kt(l),r=Rn(l),u=s.visualViewport;let f=r.client...
function JE (line 53) | function JE(l,i){const s=cl(l,!0,i==="fixed"),r=s.top+l.clientTop,u=s.le...
function Eg (line 53) | function Eg(l,i,s){let r;if(i==="viewport")r=QE(l,s);else if(i==="docume...
function Fv (line 53) | function Fv(l,i){const s=Da(l);return s===i||!dn(s)||ro(s)?!1:mn(s).posi...
function $E (line 53) | function $E(l,i){const s=i.get(l);if(s)return s;let r=gi(l,[],!1).filter...
function IE (line 53) | function IE(l){let{element:i,boundary:s,rootBoundary:r,strategy:u}=l;con...
function FE (line 53) | function FE(l){const{width:i,height:s}=Jv(l);return{width:i,height:s}}
function WE (line 53) | function WE(l,i,s){const r=Nn(i),u=Rn(i),f=s==="fixed",m=cl(l,!0,f,i);le...
function Ku (line 53) | function Ku(l){return mn(l).position==="static"}
function wg (line 53) | function wg(l,i){if(!Nn(l)||mn(l).position==="fixed")return null;if(i)re...
function Wv (line 53) | function Wv(l,i){const s=Kt(l);if(ss(l))return s;if(!Nn(l)){let u=Da(l);...
function ew (line 53) | function ew(l){return mn(l).direction==="rtl"}
function Pv (line 53) | function Pv(l,i){return l.x===i.x&&l.y===i.y&&l.width===i.width&&l.heigh...
function nw (line 53) | function nw(l,i){let s=null,r;const u=Rn(l);function f(){var p;clearTime...
function aw (line 53) | function aw(l,i,s,r){r===void 0&&(r={});const{ancestorScroll:u=!0,ancest...
function Pr (line 53) | function Pr(l,i){if(l===i)return!0;if(typeof l!=typeof i)return!1;if(typ...
function ey (line 53) | function ey(l){return typeof window>"u"?1:(l.ownerDocument.defaultView||...
function Cg (line 53) | function Cg(l,i){const s=ey(l);return Math.round(i*s)/s}
function Qu (line 53) | function Qu(l){const i=b.useRef(l);return Kr(()=>{i.current=l}),i}
function mw (line 53) | function mw(l){l===void 0&&(l={});const{placement:i="bottom",strategy:s=...
function i (line 53) | function i(s){return{}.hasOwnProperty.call(s,"current")}
method fn (line 53) | fn(s){const{element:r,padding:u}=typeof l=="function"?l(s):l;return r&&i...
function Tw (line 53) | function Tw(l){const[i,s]=b.useState(void 0);return gt(()=>{if(l){s({wid...
function Rw (line 53) | function Rw(l){return l!==null}
method fn (line 53) | fn(i){const{placement:s,rects:r,middlewareData:u}=i,m=u.arrow?.centerOff...
function fy (line 53) | function fy(l){const[i,s="center"]=l.split("-");return[i,s]}
function Uw (line 53) | function Uw(l){const i=Hw(l),s=b.forwardRef((r,u)=>{const{children:f,......
function Hw (line 53) | function Hw(l){const i=b.forwardRef((s,r)=>{const{children:u,...f}=s;if(...
function Lw (line 53) | function Lw(l){return b.isValidElement(l)&&typeof l.type=="function"&&"_...
function kw (line 53) | function kw(l,i){const s={...i};for(const r in i){const u=l[r],f=i[r];/^...
function Vw (line 53) | function Vw(l){let i=Object.getOwnPropertyDescriptor(l.props,"ref")?.get...
function Yw (line 53) | function Yw(l){const i=b.useRef({value:l,previous:l});return b.useMemo((...
function Hy (line 53) | function Hy(l){return l===""||l===void 0}
function By (line 53) | function By(l){const i=Ra(l),s=b.useRef(""),r=b.useRef(0),u=b.useCallbac...
function Ly (line 53) | function Ly(l,i,s){const u=i.length>1&&Array.from(i).every(g=>g===i[0])?...
function dT (line 53) | function dT(l,i){return l.map((s,r)=>l[(i+r)%l.length])}
function sf (line 53) | function sf({...l}){return y.jsx(mT,{"data-slot":"select",...l})}
function cf (line 53) | function cf({...l}){return y.jsx(hT,{"data-slot":"select-value",...l})}
function uf (line 53) | function uf({className:l,children:i,...s}){return y.jsxs(pT,{"data-slot"...
function ff (line 53) | function ff({className:l,children:i,position:s="popper",...r}){return y....
function df (line 53) | function df({className:l,children:i,...s}){return y.jsxs(xT,{"data-slot"...
function CT (line 53) | function CT({className:l,...i}){return y.jsx(wT,{"data-slot":"select-scr...
function AT (line 53) | function AT({className:l,...i}){return y.jsx(TT,{"data-slot":"select-scr...
function _T (line 53) | function _T(l){if(typeof document>"u")return;let i=document.head||docume...
class BT (line 53) | class BT{constructor(){this.subscribe=i=>(this.subscribers.push(i),()=>{...
method constructor (line 53) | constructor(){this.subscribe=i=>(this.subscribers.push(i),()=>{const s...
function Gr (line 53) | function Gr(l){return l.label!==void 0}
function wn (line 53) | function wn(...l){return l.filter(Boolean).join(" ")}
function IT (line 53) | function IT(l){const[i,s]=l.split("-"),r=[];return i&&r.push(i),s&&r.pus...
function dl (line 53) | function dl(){var be;if(V?.loading){var Qe;return P.createElement("div",...
function _g (line 53) | function _g(){if(typeof window>"u"||typeof document>"u")return"ltr";cons...
function WT (line 53) | function WT(l,i){const s={};return[l,i].forEach((r,u)=>{const f=u===1,m=...
function PT (line 53) | function PT(l,i){const s=b.useRef(null),r=b.useCallback(()=>{s.current&&...
function ky (line 53) | function ky({className:l,variant:i,...s}){return y.jsx("div",{"data-slot...
function aC (line 53) | function aC({className:l,...i}){return y.jsx("div",{"data-slot":"alert-t...
function Vy (line 53) | function Vy({className:l,...i}){return y.jsx("div",{"data-slot":"alert-d...
function kf (line 53) | function kf(l){return l?"open":"closed"}
function n0 (line 53) | function n0(l){return l?"open":"closed"}
function TC (line 53) | function TC({...l}){return y.jsx(bC,{"data-slot":"accordion",...l})}
function ol (line 53) | function ol({className:l,...i}){return y.jsx(xC,{"data-slot":"accordion-...
function il (line 53) | function il({className:l,children:i,...s}){return y.jsx(SC,{className:"f...
function rl (line 53) | function rl({className:l,children:i,...s}){return y.jsx(wC,{"data-slot":...
FILE: groq.go
type GroqCmd (line 11) | type GroqCmd struct
method Run (line 17) | func (g *GroqCmd) Run() error {
FILE: llms.go
type LLMProvider (line 27) | type LLMProvider
constant OpenAI (line 30) | OpenAI LLMProvider = "openai"
constant Claude (line 31) | Claude LLMProvider = "claude"
constant Groq (line 32) | Groq LLMProvider = "groq"
constant Gemini (line 33) | Gemini LLMProvider = "gemini"
constant Bedrock (line 34) | Bedrock LLMProvider = "bedrock"
type LLMModel (line 37) | type LLMModel
constant GPT4o (line 40) | GPT4o LLMModel = "gpt-4o"
constant GPT4oMini (line 41) | GPT4oMini LLMModel = "gpt-4o-mini"
constant Claude37Sonnet (line 42) | Claude37Sonnet LLMModel = "claude-3-7-sonnet-20250219"
constant Claude35Haiku (line 43) | Claude35Haiku LLMModel = "claude-3-5-haiku-20241022"
constant Llama3370b (line 44) | Llama3370b LLMModel = "llama-3.3-70b-versatile"
constant Llama318b (line 45) | Llama318b LLMModel = "llama-3.1-8b-instant"
constant Gemini2Flash (line 47) | Gemini2Flash LLMModel = "gemini-2.0-flash"
constant BedrockClaude35Haiku (line 49) | BedrockClaude35Haiku LLMModel = "anthropic.claude-3-5-haiku-20241022-v1:0"
constant BedrockClaude37Sonnet (line 50) | BedrockClaude37Sonnet LLMModel = "anthropic.claude-3-7-sonnet-20250219-v...
type CompletionRequest (line 67) | type CompletionRequest struct
type CompletionChunk (line 74) | type CompletionChunk struct
type CompletionResponse (line 81) | type CompletionResponse struct
type LLMClient (line 87) | type LLMClient interface
function NewLLMClient (line 92) | func NewLLMClient(provider LLMProvider, config Config) (LLMClient, error) {
type OpenAIClient (line 109) | type OpenAIClient struct
method Complete (line 119) | func (c *OpenAIClient) Complete(ctx context.Context, req CompletionReq...
method CompleteStream (line 141) | func (c *OpenAIClient) CompleteStream(ctx context.Context, req Complet...
function NewOpenAIClient (line 113) | func NewOpenAIClient(apiKey string) *OpenAIClient {
type GeminiClient (line 185) | type GeminiClient struct
method Complete (line 204) | func (c *GeminiClient) Complete(ctx context.Context, req CompletionReq...
method CompleteStream (line 225) | func (c *GeminiClient) CompleteStream(ctx context.Context, req Complet...
function NewGeminiClient (line 190) | func NewGeminiClient(apiKey string) *GeminiClient {
type ClaudeClient (line 267) | type ClaudeClient struct
method Complete (line 277) | func (c *ClaudeClient) Complete(ctx context.Context, req CompletionReq...
method CompleteStream (line 303) | func (c *ClaudeClient) CompleteStream(ctx context.Context, req Complet...
function NewClaudeClient (line 271) | func NewClaudeClient(apiKey string) *ClaudeClient {
type GroqClient (line 354) | type GroqClient struct
method Complete (line 364) | func (c *GroqClient) Complete(ctx context.Context, req CompletionReque...
method CompleteStream (line 383) | func (c *GroqClient) CompleteStream(ctx context.Context, req Completio...
function NewGroqClient (line 358) | func NewGroqClient(apiKey string) *GroqClient {
type BedrockClient (line 423) | type BedrockClient struct
method buildRequest (line 448) | func (c *BedrockClient) buildRequest(req CompletionRequest) BedrockCom...
method invokeModel (line 468) | func (c *BedrockClient) invokeModel(ctx context.Context, modelID strin...
method invokeModelStream (line 476) | func (c *BedrockClient) invokeModelStream(ctx context.Context, modelID...
method Complete (line 484) | func (c *BedrockClient) Complete(ctx context.Context, req CompletionRe...
method CompleteStream (line 507) | func (c *BedrockClient) CompleteStream(ctx context.Context, req Comple...
function NewBedrockClient (line 428) | func NewBedrockClient(region, accessKeyID, secretAccessKey string, sessi...
FILE: main.go
function main (line 19) | func main() {
FILE: types.go
constant BedrockAnthropicVersion (line 4) | BedrockAnthropicVersion = "bedrock-2023-05-31"
constant BedrockContentType (line 5) | BedrockContentType = "application/json"
type BedrockMetrics (line 8) | type BedrockMetrics struct
type BedrockMessageBlock (line 15) | type BedrockMessageBlock struct
type BedrockMessage (line 20) | type BedrockMessage struct
type BedrockCompletionRequest (line 25) | type BedrockCompletionRequest struct
type BedrockCompletionResponse (line 33) | type BedrockCompletionResponse struct
type BedrockStreamCompletionResponse (line 42) | type BedrockStreamCompletionResponse struct
type BedrockConfig (line 51) | type BedrockConfig struct
FILE: web.go
type WebCmd (line 21) | type WebCmd struct
method Run (line 54) | func (c *WebCmd) Run() error {
function handleGetSettings (line 77) | func handleGetSettings(w http.ResponseWriter, r *http.Request) {
function handlePostSettings (line 88) | func handlePostSettings(w http.ResponseWriter, r *http.Request) {
function handleModels (line 103) | func handleModels(w http.ResponseWriter, r *http.Request) {
type AudioURLTranscriptionRequest (line 119) | type AudioURLTranscriptionRequest struct
type AudioURLTranscriptionResponse (line 125) | type AudioURLTranscriptionResponse struct
function jsonError (line 129) | func jsonError(w http.ResponseWriter, message string, code int) {
function handleAudioTranscription (line 135) | func handleAudioTranscription(w http.ResponseWriter, r *http.Request) {
FILE: web/frontend/dist/assets/index-bX8PDyqL.js
function s (line 1) | function s(h){const w={};return h.integrity&&(w.integrity=h.integrity),h...
function d (line 1) | function d(h){if(h.ep)return;h.ep=!0;const w=s(h);fetch(h.href,w)}
function Vd (line 1) | function Vd(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.c...
function Bd (line 9) | function Bd(){if(sc)return b;sc=1;var o=Symbol.for("react.element"),a=Sy...
function ai (line 9) | function ai(){return ac||(ac=1,Zo.exports=Bd()),Zo.exports}
function Wd (line 17) | function Wd(){if(cc)return Rr;cc=1;var o=ai(),a=Symbol.for("react.elemen...
function Qd (line 17) | function Qd(){return fc||(fc=1,Xo.exports=Wd()),Xo.exports}
function Kd (line 25) | function Kd(){return dc||(dc=1,function(o){function a($,K){var F=$.lengt...
function Yd (line 25) | function Yd(){return pc||(pc=1,qo.exports=Kd()),qo.exports}
function Gd (line 33) | function Gd(){if(mc)return Ze;mc=1;var o=ai(),a=Yd();function s(e){for(v...
function Xd (line 40) | function Xd(){if(hc)return Jo.exports;hc=1;function o(){if(!(typeof __RE...
function Zd (line 40) | function Zd(){if(vc)return Jl;vc=1;var o=Xd();return Jl.createRoot=o.cre...
function qd (line 40) | function qd(o){const a=C.useRef(null);return xc(()=>{a.current=o},[o]),C...
function bd (line 40) | function bd(o){var a;return typeof window>"u"||window.navigator==null?!1...
function ep (line 40) | function ep(o){var a;return typeof window<"u"&&window.navigator!=null?o....
function kc (line 40) | function kc(o){let a=null;return()=>(a==null&&(a=o()),a)}
function rp (line 40) | function rp(o){return o.mozInputSource===0&&o.isTrusted?!0:np()&&o.point...
class lp (line 40) | class lp{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}p...
method isDefaultPrevented (line 40) | isDefaultPrevented(){return this.nativeEvent.defaultPrevented}
method preventDefault (line 40) | preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefa...
method stopPropagation (line 40) | stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagatio...
method isPropagationStopped (line 40) | isPropagationStopped(){return!1}
method persist (line 40) | persist(){}
method constructor (line 40) | constructor(a,s){this.nativeEvent=s,this.target=s.target,this.currentT...
function Ec (line 40) | function Ec(o){let a=C.useRef({isFocused:!1,observer:null});xc(()=>{cons...
function up (line 40) | function up(o){let{isDisabled:a,onFocus:s,onBlur:d,onFocusChange:h}=o;co...
function ci (line 40) | function ci(o,a){for(let s of ri)s(o,a)}
function ip (line 40) | function ip(o){return!(o.metaKey||!tp()&&o.altKey||o.ctrlKey||o.key==="C...
function bl (line 40) | function bl(o){hn=!0,ip(o)&&(Ar="keyboard",ci("keyboard",o))}
function at (line 40) | function at(o){Ar="pointer",(o.type==="mousedown"||o.type==="pointerdown...
function Cc (line 40) | function Cc(o){rp(o)&&(hn=!0,Ar="virtual")}
function _c (line 40) | function _c(o){o.target===window||o.target===document||(!hn&&!li&&(Ar="v...
function Nc (line 40) | function Nc(){hn=!1,li=!0}
function ui (line 40) | function ui(o){if(typeof window>"u"||Or.get(pn(o)))return;const a=pn(o),...
function sp (line 40) | function sp(o){const a=Dr(o);let s;return a.readyState!=="loading"?ui(o)...
function Tc (line 40) | function Tc(){return Ar!=="pointer"}
function cp (line 40) | function cp(o,a,s){var d;const h=typeof window<"u"?pn(s==null?void 0:s.t...
function fp (line 40) | function fp(o,a,s){ui(),C.useEffect(()=>{let d=(h,w)=>{cp(!!(s!=null&&s....
function dp (line 40) | function dp(o){let{isDisabled:a,onBlurWithin:s,onFocusWithin:d,onFocusWi...
function oi (line 40) | function oi(){eu=!0,setTimeout(()=>{eu=!1},50)}
function yc (line 40) | function yc(o){o.pointerType==="touch"&&oi()}
function pp (line 40) | function pp(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?d...
function mp (line 40) | function mp(o){let{onHoverStart:a,onHoverChange:s,onHoverEnd:d,isDisable...
function Lc (line 40) | function Lc(o={}){let{autoFocus:a=!1,isTextInput:s,within:d}=o,h=C.useRe...
method constructor (line 40) | constructor(){ti(this,"current",this.detect()),ti(this,"handoffState","p...
method set (line 40) | set(a){this.current!==a&&(this.handoffState="pending",this.currentId=0,t...
method reset (line 40) | reset(){this.set(this.detect())}
method nextId (line 40) | nextId(){return++this.currentId}
method isServer (line 40) | get isServer(){return this.current==="server"}
method isClient (line 40) | get isClient(){return this.current==="client"}
method detect (line 40) | detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}
method handoff (line 40) | handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}
method isHandoffComplete (line 40) | get isHandoffComplete(){return this.handoffState==="complete"}
function Fc (line 40) | function Fc(o){return jc.isServer?null:o instanceof Node?o.ownerDocument...
function zc (line 40) | function zc(o){typeof queueMicrotask=="function"?queueMicrotask(o):Promi...
function $c (line 40) | function $c(){let o=[],a={addEventListener(s,d,h,w){return s.addEventLis...
function gp (line 40) | function gp(){let[o]=C.useState($c);return C.useEffect(()=>()=>o.dispose...
function Mr (line 40) | function Mr(o){let a=C.useRef(o);return Wn(()=>{a.current=o},[o]),a}
function wp (line 40) | function wp(o){let a=o.width/2,s=o.height/2;return{top:o.clientY-s,right...
function Sp (line 40) | function Sp(o,a){return!(!o||!a||o.right<a.left||o.left>a.right||o.botto...
function xp (line 40) | function xp({disabled:o=!1}={}){let a=C.useRef(null),[s,d]=C.useState(!1...
function gc (line 40) | function gc(...o){return Array.from(new Set(o.flatMap(a=>typeof a=="stri...
function mn (line 40) | function mn(o,a,...s){if(o in a){let h=a[o];return typeof h=="function"?...
function Kn (line 40) | function Kn(){let o=Cp();return C.useCallback(a=>Ep({mergeRefs:o,...a}),...
function Ep (line 40) | function Ep({ourProps:o,theirProps:a,slot:s,defaultTag:d,features:h,visi...
function ql (line 40) | function ql(o,a={},s,d,h){let{as:w=s,children:x,refName:N="ref",...T}=ni...
function Cp (line 43) | function Cp(){let o=C.useRef([]),a=C.useCallback(s=>{for(let d of o.curr...
function _p (line 43) | function _p(...o){return o.every(a=>a==null)?void 0:a=>{for(let s of o)s...
function Rc (line 43) | function Rc(...o){if(o.length===0)return{};if(o.length===1)return o[0];l...
function Mc (line 43) | function Mc(...o){if(o.length===0)return{};if(o.length===1)return o[0];l...
function Yn (line 43) | function Yn(o){var a;return Object.assign(C.forwardRef(o),{displayName:(...
function Hn (line 43) | function Hn(o){let a=Object.assign({},o);for(let s in a)a[s]===void 0&&d...
function ni (line 43) | function ni(o,a=[]){let s=Object.assign({},o);for(let d of a)d in s&&del...
function Np (line 43) | function Np(o){return $t.version.split(".")[0]>="19"?o.props.ref:o.ref}
function Tp (line 43) | function Tp(o,a){var s;let{features:d=1,...h}=o,w={ref:a,"aria-hidden":(...
function Ur (line 43) | function Ur(...o){let a=C.useRef(o);C.useEffect(()=>{a.current=o},[o]);l...
function $p (line 43) | function $p(o=document.body){return o==null?[]:Array.from(o.querySelecto...
function Rp (line 43) | function Rp(o=document.body){return o==null?[]:Array.from(o.querySelecto...
function Dp (line 43) | function Dp(o){var a,s;return(s=(a=o==null?void 0:o.matches)==null?void ...
function Bn (line 43) | function Bn(o,a=s=>s){return o.slice().sort((s,d)=>{let h=a(s),w=a(d);if...
function Vn (line 43) | function Vn(o,a,{sorted:s=!0,relativeTo:d=null,skipElements:h=[]}={}){le...
function Ap (line 43) | function Ap(o,a){return C.useMemo(()=>{var s;if(o.type)return o.type;let...
function Up (line 43) | function Up(){let o=C.useRef(!1);return Wn(()=>(o.current=!0,()=>{o.curr...
function Hp (line 43) | function Hp({onFocus:o}){let[a,s]=C.useState(!0),d=Up();return a?$t.crea...
function Vp (line 43) | function Vp(){return{groups:new Map,get(o,a){var s;let d=this.groups.get...
function Bp (line 43) | function Bp({children:o}){let a=C.useRef(Vp());return C.createElement(Dc...
function Ac (line 43) | function Ac(o){let a=C.useContext(Dc);if(!a)throw new Error("You must wr...
method 0 (line 43) | 0(o,a){var s;let d=Bn(o.tabs,j=>j.current),h=Bn(o.panels,j=>j.current),w...
method 1 (line 43) | 1(o,a){if(o.tabs.includes(a.tab))return o;let s=o.tabs[o.selectedIndex],...
method 2 (line 43) | 2(o,a){return{...o,tabs:o.tabs.filter(s=>s!==a.tab)}}
method 3 (line 43) | 3(o,a){return o.panels.includes(a.panel)?o:{...o,panels:Bn([...o.panels,...
method 4 (line 43) | 4(o,a){return{...o,panels:o.panels.filter(s=>s!==a.panel)}}
function Qn (line 43) | function Qn(o){let a=C.useContext(fi);if(a===null){let s=new Error(`<${o...
function pi (line 43) | function pi(o){let a=C.useContext(di);if(a===null){let s=new Error(`<${o...
function Gp (line 43) | function Gp(o,a){return mn(a.type,Yp,o,a)}
function Zp (line 43) | function Zp(o,a){let{defaultIndex:s=0,vertical:d=!1,manual:h=!1,onChange...
function qp (line 43) | function qp(o,a){let{orientation:s,selectedIndex:d}=Qn("Tab.List"),h=Ur(...
function em (line 43) | function em(o,a){var s,d;let h=C.useId(),{id:w=`headlessui-tabs-tab-${h}...
function nm (line 43) | function nm(o,a){let{selectedIndex:s}=Qn("Tab.Panels"),d=Ur(a),h=C.useMe...
function um (line 43) | function um(o,a){var s,d,h,w;let x=C.useId(),{id:N=`headlessui-tabs-pane...
function Sm (line 93) | function Sm({onClose:o}){const[a,s]=C.useState(Object.keys(Sc).reduce((j...
function xm (line 93) | function xm(){const[o,a]=C.useState(""),[s,d]=C.useState([]),[h,w]=C.use...
function km (line 93) | function km(){const[o,a]=C.useState(""),[s,d]=C.useState("deepgram"),[h,...
function Em (line 93) | function Em(){const[o,a]=C.useState(!1);return P.jsx(P.Fragment,{childre...
FILE: web/frontend/src/App.tsx
constant STT_PROVIDERS (line 17) | const STT_PROVIDERS = [
type ModelsResponse (line 22) | interface ModelsResponse {
type ProviderResult (line 27) | interface ProviderResult {
FILE: web/frontend/src/components/AudioTranscription.tsx
type AudioTranscriptionState (line 15) | interface AudioTranscriptionState {
type ProviderModel (line 24) | interface ProviderModel {
type AudioProvider (line 29) | interface AudioProvider {
type AudioTranscriptionProps (line 34) | interface AudioTranscriptionProps {
type TranscriptResponse (line 41) | interface TranscriptResponse {
FILE: web/frontend/src/components/SettingsPanel.tsx
type ApiSettingsResponse (line 14) | interface ApiSettingsResponse {
type PasswordInputProps (line 28) | interface PasswordInputProps {
FILE: web/frontend/src/components/YouTubeTranscription.tsx
type YouTubeTranscriptionState (line 15) | interface YouTubeTranscriptionState {
type YouTubeTranscriptionProps (line 23) | interface YouTubeTranscriptionProps {
function useYouTubeTranscription (line 30) | function useYouTubeTranscription(
FILE: web/frontend/src/components/ui/accordion.tsx
function Accordion (line 7) | function Accordion({
function AccordionItem (line 13) | function AccordionItem({
function AccordionTrigger (line 26) | function AccordionTrigger({
function AccordionContent (line 48) | function AccordionContent({
FILE: web/frontend/src/components/ui/alert.tsx
function Alert (line 22) | function Alert({
function AlertTitle (line 37) | function AlertTitle({ className, ...props }: React.ComponentProps<"div">) {
function AlertDescription (line 50) | function AlertDescription({
FILE: web/frontend/src/components/ui/button.tsx
function Button (line 37) | function Button({
FILE: web/frontend/src/components/ui/card.tsx
function Card (line 5) | function Card({ className, ...props }: React.ComponentProps<"div">) {
function CardHeader (line 18) | function CardHeader({ className, ...props }: React.ComponentProps<"div">) {
function CardTitle (line 28) | function CardTitle({ className, ...props }: React.ComponentProps<"div">) {
function CardDescription (line 38) | function CardDescription({ className, ...props }: React.ComponentProps<"...
function CardContent (line 48) | function CardContent({ className, ...props }: React.ComponentProps<"div"...
function CardFooter (line 58) | function CardFooter({ className, ...props }: React.ComponentProps<"div">) {
FILE: web/frontend/src/components/ui/form.tsx
type FormFieldContextValue (line 19) | type FormFieldContextValue<
type FormItemContextValue (line 66) | type FormItemContextValue = {
function FormItem (line 74) | function FormItem({ className, ...props }: React.ComponentProps<"div">) {
function FormLabel (line 88) | function FormLabel({
function FormControl (line 105) | function FormControl({ ...props }: React.ComponentProps<typeof Slot>) {
function FormDescription (line 123) | function FormDescription({ className, ...props }: React.ComponentProps<"...
function FormMessage (line 136) | function FormMessage({ className, ...props }: React.ComponentProps<"p">) {
FILE: web/frontend/src/components/ui/input.tsx
function Input (line 5) | function Input({ className, type, ...props }: React.ComponentProps<"inpu...
FILE: web/frontend/src/components/ui/label.tsx
function Label (line 8) | function Label({
FILE: web/frontend/src/components/ui/select.tsx
function Select (line 7) | function Select({
function SelectGroup (line 13) | function SelectGroup({
function SelectValue (line 19) | function SelectValue({
function SelectTrigger (line 25) | function SelectTrigger({
function SelectContent (line 47) | function SelectContent({
function SelectLabel (line 82) | function SelectLabel({
function SelectItem (line 95) | function SelectItem({
function SelectSeparator (line 119) | function SelectSeparator({
function SelectScrollUpButton (line 132) | function SelectScrollUpButton({
function SelectScrollDownButton (line 150) | function SelectScrollDownButton({
FILE: web/frontend/src/components/ui/sheet.tsx
function Sheet (line 7) | function Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive....
function SheetTrigger (line 11) | function SheetTrigger({
function SheetClose (line 17) | function SheetClose({
function SheetPortal (line 23) | function SheetPortal({
function SheetOverlay (line 29) | function SheetOverlay({
function SheetContent (line 45) | function SheetContent({
function SheetHeader (line 82) | function SheetHeader({ className, ...props }: React.ComponentProps<"div"...
function SheetFooter (line 92) | function SheetFooter({ className, ...props }: React.ComponentProps<"div"...
function SheetTitle (line 102) | function SheetTitle({
function SheetDescription (line 115) | function SheetDescription({
FILE: web/frontend/src/components/ui/tabs.tsx
function Tabs (line 8) | function Tabs({
function TabsList (line 21) | function TabsList({
function TabsTrigger (line 37) | function TabsTrigger({
function TabsContent (line 53) | function TabsContent({
FILE: web/frontend/src/lib/utils.ts
function cn (line 4) | function cn(...inputs: ClassValue[]) {
FILE: youtube_transcriber.go
constant userPrompt (line 12) | userPrompt = `You will be given auto-generated captions from a YouTube v...
type TranscriptionCallback (line 36) | type TranscriptionCallback
type YouTubeTranscriber (line 38) | type YouTubeTranscriber struct
method Transcribe (line 50) | func (yt *YouTubeTranscriber) Transcribe(ctx context.Context, videoURL...
method splitText (line 106) | func (yt *YouTubeTranscriber) splitText(text string) []string {
function NewYouTubeTranscriber (line 43) | func NewYouTubeTranscriber(client LLMClient, model LLMModel) *YouTubeTra...
function calcWordsFromTokens (line 102) | func calcWordsFromTokens(tokens int) int {
FILE: ytt.go
type YTTCmd (line 13) | type YTTCmd struct
method getLLMClient (line 28) | func (cmd *YTTCmd) getLLMClient() (LLMClient, error) {
method Validate (line 75) | func (cmd *YTTCmd) Validate(kctx *kong.Context) error {
method Run (line 82) | func (cmd *YTTCmd) Run() error {
FILE: ytt_web.go
function handleYTT (line 9) | func handleYTT(w http.ResponseWriter, r *http.Request) {
function getProviderForModel (line 124) | func getProviderForModel(model LLMModel) LLMProvider {
Condensed preview — 59 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (824K chars).
[
{
"path": ".github/dependabot.yml",
"chars": 535,
"preview": "version: 2\nupdates:\n # Go dependencies in root directory\n - package-ecosystem: \"gomod\"\n directory: \"/\"\n schedule"
},
{
"path": ".github/workflows/dependabot-build.yml",
"chars": 1134,
"preview": "name: Dependabot Build Check\n\non:\n pull_request:\n branches:\n - main\n - master\n\njobs:\n build:\n # Only r"
},
{
"path": ".gitignore",
"chars": 552,
"preview": "# If you prefer the allow list template instead of the deny list, see community template:\n# https://github.com/github/gi"
},
{
"path": "LICENSE",
"chars": 1068,
"preview": "MIT License\n\nCopyright (c) 2024 Deepak Jois\n\nPermission is hereby granted, free of charge, to any person obtaining a cop"
},
{
"path": "README.md",
"chars": 3611,
"preview": "# podscript\n\npodscript is a tool to generate transcripts for podcasts (and other similar audio files), using LLMs and Sp"
},
{
"path": "assemblyai.go",
"chars": 2983,
"preview": "package main\n\nimport (\n\t\"context\"\n\t\"errors\"\n\t\"fmt\"\n\t\"net/url\"\n\t\"os\"\n\t\"path/filepath\"\n\n\taai \"github.com/AssemblyAI/assemb"
},
{
"path": "config.go",
"chars": 2075,
"preview": "// This file provides a Kong resolver that loads configuration from a TOML file.\n// It is a lightly modified version of "
},
{
"path": "configure.go",
"chars": 3321,
"preview": "package main\n\nimport (\n\t\"fmt\"\n\t\"os\"\n\t\"path\"\n\t\"strings\"\n\n\t\"github.com/charmbracelet/huh\"\n\t\"github.com/pelletier/go-toml/v"
},
{
"path": "deepgram.go",
"chars": 2547,
"preview": "package main\n\nimport (\n\t\"context\"\n\t\"encoding/json\"\n\t\"errors\"\n\t\"fmt\"\n\t\"io/fs\"\n\t\"os\"\n\n\trestapi \"github.com/deepgram/deepgr"
},
{
"path": "dist/assets/index-BvKMAqt1.js",
"chars": 383402,
"preview": "function p1(l,i){for(var s=0;s<i.length;s++){const r=i[s];if(typeof r!=\"string\"&&!Array.isArray(r)){for(const u in r)if("
},
{
"path": "dist/assets/index-CqtPYu3T.css",
"chars": 41569,
"preview": "@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not "
},
{
"path": "dist/index.html",
"chars": 456,
"preview": "<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <link rel=\"icon\" type=\"image/svg+xml\" href=\"/"
},
{
"path": "go.mod",
"chars": 5394,
"preview": "module github.com/cottonggeeks/podscript\n\ngo 1.24.2\n\nrequire (\n\tgithub.com/AssemblyAI/assemblyai-go-sdk v1.10.0\n\tgithub."
},
{
"path": "go.sum",
"chars": 23549,
"preview": "cloud.google.com/go v0.118.2 h1:bKXO7RXMFDkniAAvvuMrAPtQ/VHrs9e7J5UT3yrGdTY=\ncloud.google.com/go v0.118.2/go.mod h1:CFO4"
},
{
"path": "groq.go",
"chars": 1072,
"preview": "package main\n\nimport (\n\t\"errors\"\n\t\"fmt\"\n\t\"os\"\n\n\t\"github.com/deepakjois/groq\"\n)\n\ntype GroqCmd struct {\n\tFile string `ar"
},
{
"path": "hooks/pre-commit",
"chars": 664,
"preview": "#!/bin/bash\nset -euo pipefail\n\n# Check if there are changes in web/frontend\nif git diff --cached --quiet web/frontend/; "
},
{
"path": "llms.go",
"chars": 14417,
"preview": "package main\n\nimport (\n\t\"context\"\n\t\"encoding/json\"\n\t\"errors\"\n\t\"fmt\"\n\n\t\"github.com/anthropics/anthropic-sdk-go\"\n\tanthropi"
},
{
"path": "main.go",
"chars": 757,
"preview": "package main\n\nimport (\n\t\"fmt\"\n\t\"os\"\n\n\t\"github.com/alecthomas/kong\"\n)\n\nvar cli struct {\n\tConfigure ConfigureCmd `cmd:\"\""
},
{
"path": "renovate.json",
"chars": 114,
"preview": "{\n \"$schema\": \"https://docs.renovatebot.com/renovate-schema.json\",\n \"extends\": [\n \"config:recommended\"\n ]\n}\n"
},
{
"path": "types.go",
"chars": 1483,
"preview": "package main\n\nconst (\n\tBedrockAnthropicVersion = \"bedrock-2023-05-31\"\n\tBedrockContentType = \"application/json\"\n)\n\nt"
},
{
"path": "web/Caddyfile",
"chars": 774,
"preview": "# Caddyfile for podscript web server development.\n#\n# For the backend server, we proxy requests to the Go backend server"
},
{
"path": "web/frontend/.gitignore",
"chars": 255,
"preview": "# Logs\nlogs\n*.log\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\npnpm-debug.log*\nlerna-debug.log*\n\nnode_modules\n./dist\nd"
},
{
"path": "web/frontend/.prettierignore",
"chars": 60,
"preview": "dist\nnode_modules\nbuild\ncoverage\nsrc/components/ui/**\n.vite\n"
},
{
"path": "web/frontend/.prettierrc",
"chars": 281,
"preview": "{\n \"semi\": false,\n \"singleQuote\": true,\n \"trailingComma\": \"all\",\n \"tabWidth\": 2,\n \"printWidth\": 100,\n \"bracketSpac"
},
{
"path": "web/frontend/README.md",
"chars": 1607,
"preview": "# React + TypeScript + Vite\n\nThis template provides a minimal setup to get React working in Vite with HMR and some ESLin"
},
{
"path": "web/frontend/components.json",
"chars": 423,
"preview": "{\n \"$schema\": \"https://ui.shadcn.com/schema.json\",\n \"style\": \"new-york\",\n \"rsc\": false,\n \"tsx\": true,\n \"tailwind\": "
},
{
"path": "web/frontend/dist/assets/index-BW_J7set.css",
"chars": 26479,
"preview": "/*! tailwindcss v4.0.0 | MIT License | https://tailwindcss.com */@layer theme{:root{--font-sans:ui-sans-serif,system-ui,"
},
{
"path": "web/frontend/dist/assets/index-bX8PDyqL.js",
"chars": 184848,
"preview": "(function(){const a=document.createElement(\"link\").relList;if(a&&a.supports&&a.supports(\"modulepreload\"))return;for(cons"
},
{
"path": "web/frontend/dist/index.html",
"chars": 456,
"preview": "<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <link rel=\"icon\" type=\"image/svg+xml\" href=\"/"
},
{
"path": "web/frontend/eslint.config.js",
"chars": 1440,
"preview": "import js from '@eslint/js'\nimport globals from 'globals'\nimport reactHooks from 'eslint-plugin-react-hooks'\nimport reac"
},
{
"path": "web/frontend/index.html",
"chars": 358,
"preview": "<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <link rel=\"icon\" type=\"image/svg+xml\" href=\"/"
},
{
"path": "web/frontend/package.json",
"chars": 1559,
"preview": "{\n \"name\": \"frontend\",\n \"private\": true,\n \"version\": \"0.0.0\",\n \"type\": \"module\",\n \"scripts\": {\n \"dev\": \"vite --h"
},
{
"path": "web/frontend/src/App.tsx",
"chars": 8117,
"preview": "import { useState, useEffect } from 'react'\nimport { Tabs, TabsList, TabsTrigger, TabsContent } from '@/components/ui/ta"
},
{
"path": "web/frontend/src/components/AudioTranscription.tsx",
"chars": 8491,
"preview": "import { Card, CardContent, CardFooter, CardHeader, CardTitle } from '@/components/ui/card'\nimport { Button } from '@/co"
},
{
"path": "web/frontend/src/components/SettingsPanel.tsx",
"chars": 13574,
"preview": "import { useState, useEffect } from 'react'\nimport { Button } from '@/components/ui/button'\nimport { Input } from '@/com"
},
{
"path": "web/frontend/src/components/YouTubeTranscription.tsx",
"chars": 9135,
"preview": "import { Card, CardContent, CardFooter, CardHeader, CardTitle } from '@/components/ui/card'\nimport { Button } from '@/co"
},
{
"path": "web/frontend/src/components/ui/accordion.tsx",
"chars": 2039,
"preview": "import * as React from \"react\"\nimport * as AccordionPrimitive from \"@radix-ui/react-accordion\"\nimport { ChevronDownIcon "
},
{
"path": "web/frontend/src/components/ui/alert.tsx",
"chars": 1629,
"preview": "import * as React from \"react\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/"
},
{
"path": "web/frontend/src/components/ui/button.tsx",
"chars": 2019,
"preview": "import * as React from \"react\"\nimport { Slot } from \"@radix-ui/react-slot\"\nimport { cva, type VariantProps } from \"class"
},
{
"path": "web/frontend/src/components/ui/card.tsx",
"chars": 1514,
"preview": "import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Card({ className, ...props }: React.Component"
},
{
"path": "web/frontend/src/components/ui/form.tsx",
"chars": 3746,
"preview": "import * as React from \"react\"\nimport * as LabelPrimitive from \"@radix-ui/react-label\"\nimport { Slot } from \"@radix-ui/r"
},
{
"path": "web/frontend/src/components/ui/input.tsx",
"chars": 950,
"preview": "import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Input({ className, type, ...props }: React.Co"
},
{
"path": "web/frontend/src/components/ui/label.tsx",
"chars": 587,
"preview": "\"use client\"\n\nimport * as React from \"react\"\nimport * as LabelPrimitive from \"@radix-ui/react-label\"\n\nimport { cn } from"
},
{
"path": "web/frontend/src/components/ui/select.tsx",
"chars": 5928,
"preview": "import * as React from \"react\"\nimport * as SelectPrimitive from \"@radix-ui/react-select\"\nimport { CheckIcon, ChevronDown"
},
{
"path": "web/frontend/src/components/ui/sheet.tsx",
"chars": 4076,
"preview": "import * as React from \"react\"\nimport * as SheetPrimitive from \"@radix-ui/react-dialog\"\nimport { XIcon } from \"lucide-re"
},
{
"path": "web/frontend/src/components/ui/sonner.tsx",
"chars": 861,
"preview": "import { useTheme } from \"next-themes\"\nimport { Toaster as Sonner, ToasterProps } from \"sonner\"\n\nconst Toaster = ({ ...p"
},
{
"path": "web/frontend/src/components/ui/tabs.tsx",
"chars": 1788,
"preview": "\"use client\"\n\nimport * as React from \"react\"\nimport * as TabsPrimitive from \"@radix-ui/react-tabs\"\n\nimport { cn } from \""
},
{
"path": "web/frontend/src/index.css",
"chars": 4713,
"preview": "@import 'tailwindcss';\n\n@plugin 'tailwindcss-animate';\n\n@custom-variant dark (&:is(.dark *));\n\n:root {\n --background: o"
},
{
"path": "web/frontend/src/lib/utils.ts",
"chars": 166,
"preview": "import { clsx, type ClassValue } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: Cla"
},
{
"path": "web/frontend/src/main.tsx",
"chars": 230,
"preview": "import { StrictMode } from 'react'\nimport { createRoot } from 'react-dom/client'\nimport './index.css'\nimport App from '."
},
{
"path": "web/frontend/src/vite-env.d.ts",
"chars": 38,
"preview": "/// <reference types=\"vite/client\" />\n"
},
{
"path": "web/frontend/tsconfig.app.json",
"chars": 781,
"preview": "{\n \"compilerOptions\": {\n \"tsBuildInfoFile\": \"./node_modules/.tmp/tsconfig.app.tsbuildinfo\",\n \"incremental\": true,"
},
{
"path": "web/frontend/tsconfig.json",
"chars": 201,
"preview": "{\n \"files\": [],\n \"references\": [{ \"path\": \"./tsconfig.app.json\" }, { \"path\": \"./tsconfig.node.json\" }],\n \"compilerOpt"
},
{
"path": "web/frontend/tsconfig.node.json",
"chars": 618,
"preview": "{\n \"compilerOptions\": {\n \"tsBuildInfoFile\": \"./node_modules/.tmp/tsconfig.node.tsbuildinfo\",\n \"incremental\": true"
},
{
"path": "web/frontend/vite.config.ts",
"chars": 342,
"preview": "import { defineConfig } from 'vite'\nimport react from '@vitejs/plugin-react'\nimport tailwindcss from '@tailwindcss/vite'"
},
{
"path": "web.go",
"chars": 5410,
"preview": "package main\n\nimport (\n\t\"embed\"\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"io/fs\"\n\t\"net/http\"\n\t\"strings\"\n\n\taai \"github.com/AssemblyAI/ass"
},
{
"path": "youtube_transcriber.go",
"chars": 3673,
"preview": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"strings\"\n\n\t\"github.com/deepakjois/ytt\"\n)\n\nconst (\n\tuserPrompt = `You will be "
},
{
"path": "ytt.go",
"chars": 3673,
"preview": "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"net/url\"\n\t\"os\"\n\t\"sort\"\n\n\t\"github.com/alecthomas/kong\"\n)\n\ntype YTTCmd struct {"
},
{
"path": "ytt_web.go",
"chars": 3444,
"preview": "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"strings\"\n)\n\nfunc handleYTT(w http.ResponseWriter, r *http.Request) {\n\turl :="
}
]
About this extraction
This page contains the full source code of the deepakjois/podscript GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 59 files (778.3 KB), approximately 270.5k tokens, and a symbol index with 505 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.