diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
new file mode 100644
index 00000000..57dabe02
--- /dev/null
+++ b/.github/workflows/deploy.yml
@@ -0,0 +1,29 @@
+name: deploy
+
+on:
+ push:
+ branches:
+ - 'feat/mvp-20240119'
+
+jobs:
+ docker:
+ runs-on: ubuntu-latest
+ steps:
+ -
+ name: Set up QEMU
+ uses: docker/setup-qemu-action@v3
+ -
+ name: Set up Docker Buildx
+ uses: docker/setup-buildx-action@v3
+ -
+ name: Login to Docker Hub
+ uses: docker/login-action@v3
+ with:
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
+ -
+ name: Build and push
+ uses: docker/build-push-action@v5
+ with:
+ push: true
+ tags: ${{ secrets.DOCKERHUB_USERNAME }}/goplus-community:latest
\ No newline at end of file
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 00000000..e687978d
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,61 @@
+name: Release Build
+
+on:
+ push:
+ tags:
+ - "v*"
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+
+ - name: Install Snapcraft
+ uses: samuelmeuli/action-snapcraft@v2
+
+ - name: Checkout tag
+ run: |
+ git fetch --depth=1 origin +refs/tags/*:refs/tags/*
+ tag_name="${GITHUB_REF##*/}"
+ echo Current tag: $tag_name
+ git checkout $tag_name
+ echo "TAG_NAME=${tag_name}" >> $GITHUB_ENV
+
+ - name: Check VERSION consistency
+ run: |
+ tag=$(git describe --tags --dirty)
+ version=$(cat VERSION)
+ if [ "$tag" != "$version" ]; then
+ echo "VERSION file is not consistent with tag name"
+ echo "VERSION: $version"
+ echo "TAG: $tag"
+ exit 1
+ fi
+
+ - name: Set up Go
+ uses: actions/setup-go@v5
+ with:
+ go-version: "1.19"
+
+ - name: Release with goreleaser
+ uses: goreleaser/goreleaser-action@v5
+ with:
+ # either 'goreleaser' (default) or 'goreleaser-pro'
+ distribution: goreleaser
+ version: latest
+ args: release --clean -p 4
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
+ # - name: Upload deb/rpm to Fury.io
+ # run: |
+ # for file in dist/*.{deb,rpm}
+ # do
+ # echo "Uploading $file to Fury.io"
+ # curl -sS -F package=@$file https://$FURY_TOKEN@push.fury.io/goplus/
+ # done
+ # env:
+ # FURY_TOKEN: ${{ secrets.FURY_TOKEN }}
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index d850a3db..e188a867 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,3 +20,9 @@
# Go workspace file
go.work
+
+# env file
+.env
+
+# Autogenerated files from goplus generate
+gop_autogen.go
\ No newline at end of file
diff --git a/.goreleaser.yaml b/.goreleaser.yaml
new file mode 100644
index 00000000..172b7f62
--- /dev/null
+++ b/.goreleaser.yaml
@@ -0,0 +1,50 @@
+# This is an example .goreleaser.yml file with some sensible defaults.
+# Make sure to check the documentation at https://goreleaser.com
+
+# The lines below are called `modelines`. See `:help modeline`
+# Feel free to remove those if you don't want/need to use them.
+# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
+# vim: set ts=2 sw=2 tw=0 fo=cnqoj
+
+version: 1
+
+before:
+ hooks:
+ # You may remove this if you don't use go modules.
+ # you may remove this if you don't need go generate
+
+builds:
+ - id: 'gopcomm'
+ main: ./cmd/gopcomm/gop_autogen.go
+ binary: gopcomm
+ env:
+ - CGO_ENABLED=0
+ goos:
+ - linux
+ - windows
+ - darwin
+
+archives:
+ - format: tar.gz
+ # this name template makes the OS and Arch compatible with the results of `uname`.
+ name_template: >-
+ {{ .ProjectName }}_
+ {{- title .Os }}_
+ {{- if eq .Arch "amd64" }}x86_64
+ {{- else if eq .Arch "386" }}i386
+ {{- else }}{{ .Arch }}{{ end }}
+ {{- if .Arm }}v{{ .Arm }}{{ end }}
+ # use zip for windows archives
+ format_overrides:
+ - goos: windows
+ format: zip
+ files:
+ - LICENSE
+ - README.md
+
+changelog:
+ sort: asc
+ filters:
+ exclude:
+ - "^docs:"
+ - "^test:"
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 00000000..b727ed41
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,15 @@
+FROM golang:1.19
+
+RUN apt-get update
+
+WORKDIR /community
+
+# install goplus
+RUN cd .. && git clone -b v1.2.0-pre.1 https://github.com/goplus/gop.git && cd gop && ./all.bash
+
+# run goplus-community
+COPY . .
+
+# download account repository
+RUN cd .. && git clone -b feat/init-account https://github.com/IRONICBo/account.git
+CMD bash scripts/start.sh
diff --git a/README.md b/README.md
index d72165c2..7340e2d6 100644
--- a/README.md
+++ b/README.md
@@ -6,3 +6,46 @@ Go+ Community written in Go+
[![GitHub release](https://img.shields.io/github/v/tag/goplus/community.svg?label=release)](https://github.com/goplus/community/releases)
[![Coverage Status](https://codecov.io/gh/goplus/community/branch/main/graph/badge.svg)](https://codecov.io/gh/goplus/community)
[![GoDoc](https://pkg.go.dev/badge/github.com/goplus/community.svg)](https://pkg.go.dev/github.com/goplus/community)
+
+### 🧳 Features
+
+Go+ Community written in Go+ and Yap, support Go+ Community development.
+
+
+### 🚀 How to run
+
+1. **Prepare golang and goplus environment.**
+
+- golang version >= 1.19
+ - https://go.dev/dl/ (golang download, Find the golang 1.19 version)
+- goplus version == v1.2.0-pre.1
+ - Ref: https://github.com/goplus/gop/releases
+ - How to install goplus: https://github.com/goplus/gop#how-to-install
+
+2. **Prepare for your own config**
+
+- Clone a file named `.env` from `.env_temp` in the `cmd/gopcomm` directory of the project.
+- Modify the `.env` file to your own configuration.
+
+3. **Run the project**
+
+- Run the project with the following command:
+
+```shell
+gop run .
+```
+
+- Open the browser and enter the address: `http://localhost:8080` or `GOP_COMMUNITY_ENDPOINT` in your `.env` file.
+
+
+### 📦 Contribute
+
+1. **Fork the repository to your local repo**
+
+2. **Modify your own code**
+
+3. **Commit your code**
+
+4. **Create a pull request**
+
+> **Note:** Please check the PR brach is `mvp-20240119` or not.
\ No newline at end of file
diff --git a/cmd/gopcomm/.env_temp b/cmd/gopcomm/.env_temp
new file mode 100644
index 00000000..4997e194
--- /dev/null
+++ b/cmd/gopcomm/.env_temp
@@ -0,0 +1,41 @@
+#
+# Copyright (c) 2023 The GoPlus Authors (goplus.org). All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+### Account Config
+GOP_ACCOUNT_ENDPOINT="0.0.0.0:8081"
+
+### Community Config
+GOP_COMMUNITY_ENDPOINT="0.0.0.0:8080"
+
+# Database DSN
+GOP_COMMUNITY_DSN=
+
+# Qiniu Storage
+GOP_COMMUNITY_BLOBUS=
+GOP_COMMUNITY_DOMAIN=
+
+# Qiniu Dora Service
+QINIU_ACCESS_KEY=
+QINIU_SECRET_KEY=
+
+# XiaoQiu Translation Service
+QIU_TRANSLATION_KEY=
+
+# XiaoQiu Translation Service
+NIUTRANS_API_KEY=
+
+# Casdoor config
+GOP_CASDOOR_CERTIFICATE=
\ No newline at end of file
diff --git a/cmd/gopcomm/community_yap.gox b/cmd/gopcomm/community_yap.gox
index 15391d10..d7aa24f0 100644
--- a/cmd/gopcomm/community_yap.gox
+++ b/cmd/gopcomm/community_yap.gox
@@ -1,52 +1,388 @@
import (
"context"
+ "time"
+ "os"
+ "io"
+ "net/http"
+ "fmt"
+ "strconv"
"github.com/goplus/community/internal/core"
+ "github.com/goplus/community/markdown"
+ "github.com/goplus/community/translation"
+ "github.com/casdoor/casdoor-go-sdk/casdoorsdk"
+ "go.uber.org/zap"
+ language "golang.org/x/text/language"
+ _ "github.com/joho/godotenv/autoload"
)
var (
community *core.Community
+ trans *translation.Engine
+)
+
+const (
+ layoutUS = "January 2, 2006"
)
todo := context.TODO()
+endpoint := os.Getenv("GOP_COMMUNITY_ENDPOINT")
+domain := os.Getenv("GOP_COMMUNITY_DOMAIN")
+logger, _ := zap.NewProduction()
+defer logger.Sync()
+zlog := logger.Sugar()
+
+static "/"
+
+get "/success", ctx => {
+ ctx.yap "2xx", {}
+}
+
+get "/error", ctx => {
+ ctx.yap "4xx", {}
+}
+
+get "/failed", ctx => {
+ ctx.yap "5xx", {}
+}
get "/p/:id", ctx => {
+ // todo middleware
+ // Get User Info
+ var user *core.User
+ token, err := ctx.Request.Cookie("token")
+ if err == nil {
+ user, err = community.getUser(token.Value)
+ if err != nil {
+ zlog.Error("get user error:", err)
+ }
+ }
+
id := ctx.param("id")
article, _ := community.article(todo, id)
ctx.yap "article", {
+ "User": user,
"ID": id,
"Title": article.Title,
- "Content": article.Content,
+ "Content": article.HtmlUrl,
+ "Tags": article.Tags,
+ "Cover": article.Cover,
+ "Mtime": article.Mtime.Format(layoutUS),
+ "Author": article.User,
+ // "User": article.User,
}
}
+
+get "/getArticle/:id", ctx => {
+ id := ctx.param("id")
+ article, _ := community.article(todo, id)
+ ctx.json {
+ "code": 200,
+ "data": article,
+ }
+}
+
+get "/user/:id", ctx => {
+ id := ctx.param("id")
+ // Get current User Info by id
+ userClaim, err := community.getUserClaim(id)
+ if err != nil {
+ zlog.Error("get current user error:", err)
+ }
+ // todo middleware
+ // get user by token
+ var user *core.User
+ token, err := ctx.Request.Cookie("token")
+ if err == nil {
+ user, err = community.getUser(token.Value)
+ if err != nil {
+ zlog.Error("get user error:", err)
+ }
+ }
+ // get article list published by uid
+ items, _ :=community.GetArticlesByUid(todo, id)
+ ctx.yap "user", {
+ "Id": id,
+ "CurrentUser": userClaim,
+ "User": user,
+ "Items": items,
+ }
+}
+
+get "/add", ctx => {
+ ctx.yap "edit", {}
+}
+
get "/", ctx => {
- articles, _, _ := community.listArticle(todo, core.MarkBegin, 20)
+ from := ctx.param("from")
+ limit := ctx.param("limit")
+ // todo middleware
+ // Get User Info
+ var user *core.User
+ token, err := ctx.Request.Cookie("token")
+ if err == nil {
+ user, err = community.getUser(token.Value)
+ if err != nil {
+ zlog.Error("get user error:", err)
+ }
+ }
+
+ limitInt, err := strconv.Atoi(limit)
+ if err != nil {
+ limitInt = 20
+ }
+ // Get Article Info
+ articles, next, _ := community.listArticle(todo, from, limitInt)
ctx.yap "home", {
+ "User": user,
"Items": articles,
+ "Next": next,
}
}
-get "/edit", ctx => {
- uid := ""
- id := ctx.param("id")
- doc := {
- "ID": id,
+
+get "/search", ctx => {
+ searchValue := ctx.param("value")
+ if searchValue == "" {
+ ctx.json {
+ "code": 400,
+ "err": "value can not be ''.",
+ }
+ }
+ // todo middleware
+ var user *core.User
+ token, err := ctx.Request.Cookie("token")
+ if err == nil {
+ user, err = community.getUser(token.Value)
+ if err != nil {
+ zlog.Error("get user error:", err)
+ }
+ }
+ articles, _ := community.searchArticle(todo, searchValue)
+ ctx.yap "home", {
+ "User": user,
+ "Items": articles,
+ "Value": searchValue,
+ }
+}
+
+get "/edit/:id", ctx => {
+ token, err := ctx.Request.Cookie("token")
+ if err != nil {
+ ctx.json {
+ "code": 500,
+ "err": "no token",
+ }
+ }
+
+ uid, err := community.ParseJwtToken(token.Value)
+ if err != nil {
+ ctx.json {
+ "code": 500,
+ "err": err.Error(),
+ }
}
+ // uid := "70f6a615-c0d5-4315-a5ac-34ca845450ed"
+ id := ctx.param("id")
if id != "" {
if editable, _ := community.canEditable(todo, uid, id); !editable {
- // TODO: can't edit this article
- return
+ zlog.Error("no permissions")
+ http.Redirect(ctx.ResponseWriter, ctx.Request, "/error", http.StatusTemporaryRedirect)
}
article, _ := community.article(todo, id)
- doc["Title"] = article.Title
- doc["Content"] = article.Content
+ ctx.yap "edit", article
}
- ctx.yap "edit", doc
}
+
+get "/getTrans", ctx => {
+ id := ctx.param("id")
+ htmlUrl, err := community.transHtmlUrl(todo, id)
+ if err != nil {
+ ctx.json {
+ "code": 500,
+ "err": err.Error(),
+ }
+ }
+ ctx.json {
+ "code": 200,
+ "data": htmlUrl,
+ }
+}
+
+// click "submit" button
post "/commit", ctx => {
- // ...
+ // Whether article has been translated or not
+ trans := ctx.param("trans") // if trans != "", add article
+ id := ctx.param("id")
+ mdData := ctx.param("content")
+ htmlData := ctx.param("html")
+ // get user id
+ token, err := ctx.Request.Cookie("token")
+ if err != nil {
+ ctx.json {
+ "code": 500,
+ "err": "no token",
+ }
+ }
+ uid, err := community.ParseJwtToken(token.Value)
+ if err != nil {
+ ctx.json {
+ "code": 500,
+ "err": err.Error(),
+ }
+ }
+ // uid := "70f6a615-c0d5-4315-a5ac-34ca845450ed"
+ // add article
+ article := &core.Article{
+ ArticleEntry: core.ArticleEntry{
+ ID: id,
+ Title: ctx.param("title"),
+ UId: uid,
+ Cover: ctx.param("cover"),
+ Tags: ctx.param("tags"),
+ },
+ Content: mdData,
+ HtmlData:htmlData,
+ }
+ id, _ = community.putArticle(todo, uid, trans, article)
+ ctx.json {
+ "code": 200,
+ "data": id,
+ }
+ // ctx.yap "edit", *article
+}
+
+// click "translate button"
+post "/translate", ctx => {
+ // get user id
+ token, err := ctx.Request.Cookie("token")
+ if err != nil {
+ ctx.json {
+ "code": 500,
+ "err": "no token",
+ }
+ }
+ uid, err := community.ParseJwtToken(token.Value)
+ if err != nil {
+ ctx.json {
+ "code": 500,
+ "err": err.Error(),
+ }
+ }
+ // uid := "70f6a615-c0d5-4315-a5ac-34ca845450ed"
+ mdData := ctx.param("content")
+ htmlData := ctx.param("html")
+ id := ctx.param("id")
+ // get translation markdown
+ transData, err := trans.translateMarkdownText(mdData, language.Chinese, language.English)
+ if err != nil {
+ ctx.json {
+ "code": 500,
+ "err": err.Error(),
+ }
+ }
+ id, _ = community.saveHtml(todo, uid, htmlData, mdData, id)
+ ctx.json {
+ "code": 200,
+ "id": id, //article id
+ "data": transData, // translation markdown content
+ }
+}
+
+get "/getMedia/:id", ctx => {
+ mediaId := ctx.param("id")
+ // todo the err not empty return 404 for image
+ fileKey, _ := community.GetMediaUrl(context.Background(),mediaId)
+
+ http.Redirect(ctx.ResponseWriter, ctx.Request, domain+fileKey, http.StatusTemporaryRedirect)
+}
+
+get "/getMediaUrl/:id",ctx => {
+ id := ctx.param("id")
+ fileKey, err := community.GetMediaUrl(todo, id)
+ htmlUrl := fmt.Sprintf("%s%s", domain, fileKey)
+ if err != nil {
+ ctx.json {
+ "code": 500,
+ "err": "have no html media",
+ }
+ }
+ ctx.json {
+ "code": 200,
+ "url": htmlUrl,
+ }
+}
+
+post "/upload", ctx => {
+ file, header, err := ctx.FormFile("file")
+ filename := header.Filename
+
+ ctx.ParseMultipartForm(10 << 20)
+
+ if err != nil {
+ zlog.Error("upload file error:", filename)
+ ctx.JSON(500, err.Error())
+ return
+ }
+
+
+ dst, err := os.Create(filename)
+ if err != nil {
+ zlog.Error("create file error:", file)
+ ctx.JSON(500, err.Error())
+ return
+ }
+ defer func() {
+ file.Close()
+ dst.Close()
+ err = os.Remove(filename)
+ if err != nil {
+ zlog.Error("delete file error:", filename)
+ return
+ }
+ }()
+
+
+ _, err = io.Copy(dst, file)
+ if err != nil {
+ zlog.Error("copy file errer:", filename)
+ ctx.JSON(500, err.Error())
+ return
+ }
+ bytes, err := os.ReadFile(filename)
+ if err != nil {
+ zlog.Error("read file errer:", filename)
+ ctx.JSON(500, err.Error())
+ return
+ }
+ token, err := ctx.Request.Cookie("token")
+ if err != nil {
+ ctx.json {
+ "code": 500,
+ "err": "no token",
+ }
+ }
+ uid, err := community.ParseJwtToken(token.Value)
+ if err != nil {
+ ctx.json {
+ "code": 500,
+ "err": err.Error(),
+ }
+ }
+ id,err:=community.SaveMedia(context.Background(), uid, bytes)
+ if err!=nil {
+ zlog.Error("save file",err.Error())
+ ctx.JSON(500, err.Error())
+ return
+ }
+ // todo append current project ip and getMedia
+ // sample: 127.0.0.1:8080/getMedia/ + id
+ ctx.JSON(200,id)
}
conf := &core.Config{}
community, _ = core.New(todo, conf)
+trans = translation.New(os.Getenv("NIUTRANS_API_KEY"), "", "")
+core.CasdoorConfigInit()
-run ":8080"
+zlog.Info "Started in endpoint: ", endpoint
+run endpoint
\ No newline at end of file
diff --git a/cmd/gopcomm/gop_autogen.go b/cmd/gopcomm/gop_autogen.go
index f353c5fd..20a528f8 100644
--- a/cmd/gopcomm/gop_autogen.go
+++ b/cmd/gopcomm/gop_autogen.go
@@ -1,71 +1,462 @@
package main
import (
+ "fmt"
+ "os"
+ "strconv"
"github.com/goplus/yap"
"context"
+ "io"
+ "net/http"
"github.com/goplus/community/internal/core"
+ "github.com/goplus/community/translation"
+ "go.uber.org/zap"
+ "golang.org/x/text/language"
+ _ "github.com/joho/godotenv/autoload"
)
+const layoutUS = "January 2, 2006"
+
type community struct {
yap.App
community *core.Community
+ trans *translation.Engine
}
-//line cmd/gopcomm/community_yap.gox:11
+//line cmd/gopcomm/community_yap.gox:28
func (this *community) MainEntry() {
-//line cmd/gopcomm/community_yap.gox:11:1
+//line cmd/gopcomm/community_yap.gox:28:1
todo := context.TODO()
-//line cmd/gopcomm/community_yap.gox:13:1
+//line cmd/gopcomm/community_yap.gox:29:1
+ endpoint := os.Getenv("GOP_COMMUNITY_ENDPOINT")
+//line cmd/gopcomm/community_yap.gox:30:1
+ domain := os.Getenv("GOP_COMMUNITY_DOMAIN")
+//line cmd/gopcomm/community_yap.gox:31:1
+ logger, _ := zap.NewProduction()
+//line cmd/gopcomm/community_yap.gox:32:1
+ defer logger.Sync()
+//line cmd/gopcomm/community_yap.gox:33:1
+ zlog := logger.Sugar()
+//line cmd/gopcomm/community_yap.gox:35:1
+ this.Static__0("/")
+//line cmd/gopcomm/community_yap.gox:37:1
+ this.Get("/success", func(ctx *yap.Context) {
+//line cmd/gopcomm/community_yap.gox:38:1
+ ctx.Yap__1("2xx", map[string]interface {
+ }{})
+ })
+//line cmd/gopcomm/community_yap.gox:41:1
+ this.Get("/error", func(ctx *yap.Context) {
+//line cmd/gopcomm/community_yap.gox:42:1
+ ctx.Yap__1("4xx", map[string]interface {
+ }{})
+ })
+//line cmd/gopcomm/community_yap.gox:45:1
+ this.Get("/failed", func(ctx *yap.Context) {
+//line cmd/gopcomm/community_yap.gox:46:1
+ ctx.Yap__1("5xx", map[string]interface {
+ }{})
+ })
+//line cmd/gopcomm/community_yap.gox:49:1
this.Get("/p/:id", func(ctx *yap.Context) {
-//line cmd/gopcomm/community_yap.gox:14:1
+//line cmd/gopcomm/community_yap.gox:52:1
+ // todo middleware
+ // Get User Info
+ var user *core.User
+//line cmd/gopcomm/community_yap.gox:53:1
+ token, err := ctx.Request.Cookie("token")
+//line cmd/gopcomm/community_yap.gox:54:1
+ if err == nil {
+//line cmd/gopcomm/community_yap.gox:55:1
+ user, err = this.community.GetUser(token.Value)
+//line cmd/gopcomm/community_yap.gox:56:1
+ if err != nil {
+//line cmd/gopcomm/community_yap.gox:57:1
+ zlog.Error("get user error:", err)
+ }
+ }
+//line cmd/gopcomm/community_yap.gox:61:1
+ id := ctx.Param("id")
+//line cmd/gopcomm/community_yap.gox:62:1
+ article, _ := this.community.Article(todo, id)
+//line cmd/gopcomm/community_yap.gox:63:1
+ ctx.Yap__1("article", map[string]interface {
+ }{"User": user, "ID": id, "Title": article.Title, "Content": article.HtmlUrl, "Tags": article.Tags, "Cover": article.Cover, "Mtime": article.Mtime.Format(layoutUS), "Author": article.User})
+ })
+//line cmd/gopcomm/community_yap.gox:76:1
+ this.Get("/getArticle/:id", func(ctx *yap.Context) {
+//line cmd/gopcomm/community_yap.gox:77:1
id := ctx.Param("id")
-//line cmd/gopcomm/community_yap.gox:15:1
+//line cmd/gopcomm/community_yap.gox:78:1
article, _ := this.community.Article(todo, id)
-//line cmd/gopcomm/community_yap.gox:16:1
- ctx.Yap__1("article", map[string]string{"ID": id, "Title": article.Title, "Content": article.Content})
+//line cmd/gopcomm/community_yap.gox:79:1
+ ctx.Json__1(map[string]interface {
+ }{"code": 200, "data": article})
})
-//line cmd/gopcomm/community_yap.gox:22:1
+//line cmd/gopcomm/community_yap.gox:85:1
+ this.Get("/user/:id", func(ctx *yap.Context) {
+//line cmd/gopcomm/community_yap.gox:86:1
+ id := ctx.Param("id")
+//line cmd/gopcomm/community_yap.gox:88:1
+ userClaim, err := this.community.GetUserClaim(id)
+//line cmd/gopcomm/community_yap.gox:89:1
+ if err != nil {
+//line cmd/gopcomm/community_yap.gox:90:1
+ zlog.Error("get current user error:", err)
+ }
+//line cmd/gopcomm/community_yap.gox:94:1
+ // todo middleware
+ // get user by token
+ var user *core.User
+//line cmd/gopcomm/community_yap.gox:95:1
+ token, err := ctx.Request.Cookie("token")
+//line cmd/gopcomm/community_yap.gox:96:1
+ if err == nil {
+//line cmd/gopcomm/community_yap.gox:97:1
+ user, err = this.community.GetUser(token.Value)
+//line cmd/gopcomm/community_yap.gox:98:1
+ if err != nil {
+//line cmd/gopcomm/community_yap.gox:99:1
+ zlog.Error("get user error:", err)
+ }
+ }
+//line cmd/gopcomm/community_yap.gox:103:1
+ items, _ := this.community.GetArticlesByUid(todo, id)
+//line cmd/gopcomm/community_yap.gox:104:1
+ ctx.Yap__1("user", map[string]interface {
+ }{"Id": id, "CurrentUser": userClaim, "User": user, "Items": items})
+ })
+//line cmd/gopcomm/community_yap.gox:112:1
+ this.Get("/add", func(ctx *yap.Context) {
+//line cmd/gopcomm/community_yap.gox:113:1
+ ctx.Yap__1("edit", map[string]interface {
+ }{})
+ })
+//line cmd/gopcomm/community_yap.gox:116:1
this.Get("/", func(ctx *yap.Context) {
-//line cmd/gopcomm/community_yap.gox:23:1
- articles, _, _ := this.community.ListArticle(todo, core.MarkBegin, 20)
-//line cmd/gopcomm/community_yap.gox:24:1
- ctx.Yap__1("home", map[string][]*core.ArticleEntry{"Items": articles})
+//line cmd/gopcomm/community_yap.gox:117:1
+ from := ctx.Param("from")
+//line cmd/gopcomm/community_yap.gox:118:1
+ limit := ctx.Param("limit")
+//line cmd/gopcomm/community_yap.gox:121:1
+ // todo middleware
+ // Get User Info
+ var user *core.User
+//line cmd/gopcomm/community_yap.gox:122:1
+ token, err := ctx.Request.Cookie("token")
+//line cmd/gopcomm/community_yap.gox:123:1
+ if err == nil {
+//line cmd/gopcomm/community_yap.gox:124:1
+ user, err = this.community.GetUser(token.Value)
+//line cmd/gopcomm/community_yap.gox:125:1
+ if err != nil {
+//line cmd/gopcomm/community_yap.gox:126:1
+ zlog.Error("get user error:", err)
+ }
+ }
+//line cmd/gopcomm/community_yap.gox:130:1
+ limitInt, err := strconv.Atoi(limit)
+//line cmd/gopcomm/community_yap.gox:131:1
+ if err != nil {
+//line cmd/gopcomm/community_yap.gox:132:1
+ limitInt = 20
+ }
+//line cmd/gopcomm/community_yap.gox:135:1
+ articles, next, _ := this.community.ListArticle(todo, from, limitInt)
+//line cmd/gopcomm/community_yap.gox:136:1
+ ctx.Yap__1("home", map[string]interface {
+ }{"User": user, "Items": articles, "Next": next})
})
-//line cmd/gopcomm/community_yap.gox:28:1
- this.Get("/edit", func(ctx *yap.Context) {
-//line cmd/gopcomm/community_yap.gox:29:1
- uid := ""
-//line cmd/gopcomm/community_yap.gox:30:1
+//line cmd/gopcomm/community_yap.gox:143:1
+ this.Get("/search", func(ctx *yap.Context) {
+//line cmd/gopcomm/community_yap.gox:144:1
+ searchValue := ctx.Param("value")
+//line cmd/gopcomm/community_yap.gox:145:1
+ if searchValue == "" {
+//line cmd/gopcomm/community_yap.gox:146:1
+ ctx.Json__1(map[string]interface {
+ }{"code": 400, "err": "value can not be ''."})
+ }
+//line cmd/gopcomm/community_yap.gox:152:1
+ // todo middleware
+ var user *core.User
+//line cmd/gopcomm/community_yap.gox:153:1
+ token, err := ctx.Request.Cookie("token")
+//line cmd/gopcomm/community_yap.gox:154:1
+ if err == nil {
+//line cmd/gopcomm/community_yap.gox:155:1
+ user, err = this.community.GetUser(token.Value)
+//line cmd/gopcomm/community_yap.gox:156:1
+ if err != nil {
+//line cmd/gopcomm/community_yap.gox:157:1
+ zlog.Error("get user error:", err)
+ }
+ }
+//line cmd/gopcomm/community_yap.gox:160:1
+ articles, _ := this.community.SearchArticle(todo, searchValue)
+//line cmd/gopcomm/community_yap.gox:161:1
+ ctx.Yap__1("home", map[string]interface {
+ }{"User": user, "Items": articles, "Value": searchValue})
+ })
+//line cmd/gopcomm/community_yap.gox:168:1
+ this.Get("/edit/:id", func(ctx *yap.Context) {
+//line cmd/gopcomm/community_yap.gox:169:1
+ token, err := ctx.Request.Cookie("token")
+//line cmd/gopcomm/community_yap.gox:170:1
+ if err != nil {
+//line cmd/gopcomm/community_yap.gox:171:1
+ ctx.Json__1(map[string]interface {
+ }{"code": 500, "err": "no token"})
+ }
+//line cmd/gopcomm/community_yap.gox:177:1
+ uid, err := this.community.ParseJwtToken(token.Value)
+//line cmd/gopcomm/community_yap.gox:178:1
+ if err != nil {
+//line cmd/gopcomm/community_yap.gox:179:1
+ ctx.Json__1(map[string]interface {
+ }{"code": 500, "err": err.Error()})
+ }
+//line cmd/gopcomm/community_yap.gox:185:1
id := ctx.Param("id")
-//line cmd/gopcomm/community_yap.gox:31:1
- doc := map[string]string{"ID": id}
-//line cmd/gopcomm/community_yap.gox:34:1
+//line cmd/gopcomm/community_yap.gox:186:1
if id != "" {
-//line cmd/gopcomm/community_yap.gox:35:1
+//line cmd/gopcomm/community_yap.gox:187:1
if
-//line cmd/gopcomm/community_yap.gox:35:1
+//line cmd/gopcomm/community_yap.gox:187:1
editable, _ := this.community.CanEditable(todo, uid, id); !editable {
-//line cmd/gopcomm/community_yap.gox:37:1
- return
+//line cmd/gopcomm/community_yap.gox:188:1
+ zlog.Error("no permissions")
+//line cmd/gopcomm/community_yap.gox:189:1
+ http.Redirect(ctx.ResponseWriter, ctx.Request, "/error", http.StatusTemporaryRedirect)
}
-//line cmd/gopcomm/community_yap.gox:39:1
+//line cmd/gopcomm/community_yap.gox:191:1
article, _ := this.community.Article(todo, id)
-//line cmd/gopcomm/community_yap.gox:40:1
- doc["Title"] = article.Title
-//line cmd/gopcomm/community_yap.gox:41:1
- doc["Content"] = article.Content
+//line cmd/gopcomm/community_yap.gox:192:1
+ ctx.Yap__1("edit", article)
}
-//line cmd/gopcomm/community_yap.gox:43:1
- ctx.Yap__1("edit", doc)
})
-//line cmd/gopcomm/community_yap.gox:45:1
+//line cmd/gopcomm/community_yap.gox:196:1
+ this.Get("/getTrans", func(ctx *yap.Context) {
+//line cmd/gopcomm/community_yap.gox:197:1
+ id := ctx.Param("id")
+//line cmd/gopcomm/community_yap.gox:198:1
+ htmlUrl, err := this.community.TransHtmlUrl(todo, id)
+//line cmd/gopcomm/community_yap.gox:199:1
+ if err != nil {
+//line cmd/gopcomm/community_yap.gox:200:1
+ ctx.Json__1(map[string]interface {
+ }{"code": 500, "err": err.Error()})
+ }
+//line cmd/gopcomm/community_yap.gox:205:1
+ ctx.Json__1(map[string]interface {
+ }{"code": 200, "data": htmlUrl})
+ })
+//line cmd/gopcomm/community_yap.gox:212:1
this.Post("/commit", func(ctx *yap.Context) {
+//line cmd/gopcomm/community_yap.gox:214:1
+ trans := ctx.Param("trans")
+//line cmd/gopcomm/community_yap.gox:215:1
+ id := ctx.Param("id")
+//line cmd/gopcomm/community_yap.gox:216:1
+ mdData := ctx.Param("content")
+//line cmd/gopcomm/community_yap.gox:217:1
+ htmlData := ctx.Param("html")
+//line cmd/gopcomm/community_yap.gox:219:1
+ token, err := ctx.Request.Cookie("token")
+//line cmd/gopcomm/community_yap.gox:220:1
+ if err != nil {
+//line cmd/gopcomm/community_yap.gox:221:1
+ ctx.Json__1(map[string]interface {
+ }{"code": 500, "err": "no token"})
+ }
+//line cmd/gopcomm/community_yap.gox:226:1
+ uid, err := this.community.ParseJwtToken(token.Value)
+//line cmd/gopcomm/community_yap.gox:227:1
+ if err != nil {
+//line cmd/gopcomm/community_yap.gox:228:1
+ ctx.Json__1(map[string]interface {
+ }{"code": 500, "err": err.Error()})
+ }
+//line cmd/gopcomm/community_yap.gox:235:1
+ article := &core.Article{ArticleEntry: core.ArticleEntry{ID: id, Title: ctx.Param("title"), UId: uid, Cover: ctx.Param("cover"), Tags: ctx.Param("tags")}, Content: mdData, HtmlData: htmlData}
+//line cmd/gopcomm/community_yap.gox:246:1
+ id, _ = this.community.PutArticle(todo, uid, trans, article)
+//line cmd/gopcomm/community_yap.gox:247:1
+ ctx.Json__1(map[string]interface {
+ }{"code": 200, "data": id})
})
-//line cmd/gopcomm/community_yap.gox:49:1
+//line cmd/gopcomm/community_yap.gox:255:1
+ this.Post("/translate", func(ctx *yap.Context) {
+//line cmd/gopcomm/community_yap.gox:257:1
+ token, err := ctx.Request.Cookie("token")
+//line cmd/gopcomm/community_yap.gox:258:1
+ if err != nil {
+//line cmd/gopcomm/community_yap.gox:259:1
+ ctx.Json__1(map[string]interface {
+ }{"code": 500, "err": "no token"})
+ }
+//line cmd/gopcomm/community_yap.gox:264:1
+ uid, err := this.community.ParseJwtToken(token.Value)
+//line cmd/gopcomm/community_yap.gox:265:1
+ if err != nil {
+//line cmd/gopcomm/community_yap.gox:266:1
+ ctx.Json__1(map[string]interface {
+ }{"code": 500, "err": err.Error()})
+ }
+//line cmd/gopcomm/community_yap.gox:272:1
+ mdData := ctx.Param("content")
+//line cmd/gopcomm/community_yap.gox:273:1
+ htmlData := ctx.Param("html")
+//line cmd/gopcomm/community_yap.gox:274:1
+ id := ctx.Param("id")
+//line cmd/gopcomm/community_yap.gox:276:1
+ transData, err := this.trans.TranslateMarkdownText(mdData, language.Chinese, language.English)
+//line cmd/gopcomm/community_yap.gox:277:1
+ if err != nil {
+//line cmd/gopcomm/community_yap.gox:278:1
+ ctx.Json__1(map[string]interface {
+ }{"code": 500, "err": err.Error()})
+ }
+//line cmd/gopcomm/community_yap.gox:283:1
+ id, _ = this.community.SaveHtml(todo, uid, htmlData, mdData, id)
+//line cmd/gopcomm/community_yap.gox:284:1
+ ctx.Json__1(map[string]interface {
+ }{"code": 200, "id": id, "data": transData})
+ })
+//line cmd/gopcomm/community_yap.gox:291:1
+ this.Get("/getMedia/:id", func(ctx *yap.Context) {
+//line cmd/gopcomm/community_yap.gox:292:1
+ mediaId := ctx.Param("id")
+//line cmd/gopcomm/community_yap.gox:294:1
+ fileKey, _ := this.community.GetMediaUrl(context.Background(), mediaId)
+//line cmd/gopcomm/community_yap.gox:296:1
+ http.Redirect(ctx.ResponseWriter, ctx.Request, domain+fileKey, http.StatusTemporaryRedirect)
+ })
+//line cmd/gopcomm/community_yap.gox:299:1
+ this.Get("/getMediaUrl/:id", func(ctx *yap.Context) {
+//line cmd/gopcomm/community_yap.gox:300:1
+ id := ctx.Param("id")
+//line cmd/gopcomm/community_yap.gox:301:1
+ fileKey, err := this.community.GetMediaUrl(todo, id)
+//line cmd/gopcomm/community_yap.gox:302:1
+ htmlUrl := fmt.Sprintf("%s%s", domain, fileKey)
+//line cmd/gopcomm/community_yap.gox:303:1
+ if err != nil {
+//line cmd/gopcomm/community_yap.gox:304:1
+ ctx.Json__1(map[string]interface {
+ }{"code": 500, "err": "have no html media"})
+ }
+//line cmd/gopcomm/community_yap.gox:309:1
+ ctx.Json__1(map[string]interface {
+ }{"code": 200, "url": htmlUrl})
+ })
+//line cmd/gopcomm/community_yap.gox:315:1
+ this.Post("/upload", func(ctx *yap.Context) {
+//line cmd/gopcomm/community_yap.gox:316:1
+ file, header, err := ctx.FormFile("file")
+//line cmd/gopcomm/community_yap.gox:317:1
+ filename := header.Filename
+//line cmd/gopcomm/community_yap.gox:319:1
+ ctx.ParseMultipartForm(10 << 20)
+//line cmd/gopcomm/community_yap.gox:321:1
+ if err != nil {
+//line cmd/gopcomm/community_yap.gox:322:1
+ zlog.Error("upload file error:", filename)
+//line cmd/gopcomm/community_yap.gox:323:1
+ ctx.JSON(500, err.Error())
+//line cmd/gopcomm/community_yap.gox:324:1
+ return
+ }
+//line cmd/gopcomm/community_yap.gox:328:1
+ dst, err := os.Create(filename)
+//line cmd/gopcomm/community_yap.gox:329:1
+ if err != nil {
+//line cmd/gopcomm/community_yap.gox:330:1
+ zlog.Error("create file error:", file)
+//line cmd/gopcomm/community_yap.gox:331:1
+ ctx.JSON(500, err.Error())
+//line cmd/gopcomm/community_yap.gox:332:1
+ return
+ }
+//line cmd/gopcomm/community_yap.gox:334:1
+ defer func() {
+//line cmd/gopcomm/community_yap.gox:335:1
+ file.Close()
+//line cmd/gopcomm/community_yap.gox:336:1
+ dst.Close()
+//line cmd/gopcomm/community_yap.gox:337:1
+ err = os.Remove(filename)
+//line cmd/gopcomm/community_yap.gox:338:1
+ if err != nil {
+//line cmd/gopcomm/community_yap.gox:339:1
+ zlog.Error("delete file error:", filename)
+//line cmd/gopcomm/community_yap.gox:340:1
+ return
+ }
+ }()
+//line cmd/gopcomm/community_yap.gox:345:1
+ _, err = io.Copy(dst, file)
+//line cmd/gopcomm/community_yap.gox:346:1
+ if err != nil {
+//line cmd/gopcomm/community_yap.gox:347:1
+ zlog.Error("copy file errer:", filename)
+//line cmd/gopcomm/community_yap.gox:348:1
+ ctx.JSON(500, err.Error())
+//line cmd/gopcomm/community_yap.gox:349:1
+ return
+ }
+//line cmd/gopcomm/community_yap.gox:351:1
+ bytes, err := os.ReadFile(filename)
+//line cmd/gopcomm/community_yap.gox:352:1
+ if err != nil {
+//line cmd/gopcomm/community_yap.gox:353:1
+ zlog.Error("read file errer:", filename)
+//line cmd/gopcomm/community_yap.gox:354:1
+ ctx.JSON(500, err.Error())
+//line cmd/gopcomm/community_yap.gox:355:1
+ return
+ }
+//line cmd/gopcomm/community_yap.gox:357:1
+ token, err := ctx.Request.Cookie("token")
+//line cmd/gopcomm/community_yap.gox:358:1
+ if err != nil {
+//line cmd/gopcomm/community_yap.gox:359:1
+ ctx.Json__1(map[string]interface {
+ }{"code": 500, "err": "no token"})
+ }
+//line cmd/gopcomm/community_yap.gox:364:1
+ uid, err := this.community.ParseJwtToken(token.Value)
+//line cmd/gopcomm/community_yap.gox:365:1
+ if err != nil {
+//line cmd/gopcomm/community_yap.gox:366:1
+ ctx.Json__1(map[string]interface {
+ }{"code": 500, "err": err.Error()})
+ }
+//line cmd/gopcomm/community_yap.gox:371:1
+ id, err := this.community.SaveMedia(context.Background(), uid, bytes)
+//line cmd/gopcomm/community_yap.gox:372:1
+ if err != nil {
+//line cmd/gopcomm/community_yap.gox:373:1
+ zlog.Error("save file", err.Error())
+//line cmd/gopcomm/community_yap.gox:374:1
+ ctx.JSON(500, err.Error())
+//line cmd/gopcomm/community_yap.gox:375:1
+ return
+ }
+//line cmd/gopcomm/community_yap.gox:379:1
+ ctx.JSON(200, id)
+ })
+//line cmd/gopcomm/community_yap.gox:382:1
conf := &core.Config{}
-//line cmd/gopcomm/community_yap.gox:50:1
+//line cmd/gopcomm/community_yap.gox:383:1
this.community, _ = core.New(todo, conf)
-//line cmd/gopcomm/community_yap.gox:52:1
- this.Run__1(":8080")
+//line cmd/gopcomm/community_yap.gox:384:1
+ this.trans = translation.New(os.Getenv("NIUTRANS_API_KEY"), "", "")
+//line cmd/gopcomm/community_yap.gox:385:1
+ core.CasdoorConfigInit()
+//line cmd/gopcomm/community_yap.gox:387:1
+ zlog.Info("Started in endpoint: ", endpoint)
+//line cmd/gopcomm/community_yap.gox:388:1
+ this.Run(endpoint)
}
func main() {
yap.Gopt_App_Main(new(community))
diff --git a/cmd/gopcomm/yap/2xx_yap.html b/cmd/gopcomm/yap/2xx_yap.html
new file mode 100644
index 00000000..0b9d8f32
--- /dev/null
+++ b/cmd/gopcomm/yap/2xx_yap.html
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{if .User}}
+
+ {{end}}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/cmd/gopcomm/yap/4xx_yap.html b/cmd/gopcomm/yap/4xx_yap.html
new file mode 100644
index 00000000..53ddee81
--- /dev/null
+++ b/cmd/gopcomm/yap/4xx_yap.html
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{if .User}}
+
+ {{end}}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/cmd/gopcomm/yap/5xx_yap.html b/cmd/gopcomm/yap/5xx_yap.html
new file mode 100644
index 00000000..34fd78bf
--- /dev/null
+++ b/cmd/gopcomm/yap/5xx_yap.html
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{if .User}}
+
+ {{end}}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/cmd/gopcomm/yap/article_yap.html b/cmd/gopcomm/yap/article_yap.html
index bebe3bdb..3c36414c 100644
--- a/cmd/gopcomm/yap/article_yap.html
+++ b/cmd/gopcomm/yap/article_yap.html
@@ -1,13 +1,653 @@
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Go+ Community
+
+
-
-Article {{.ID}}
-{{.Title}}
-
-{{.Content}}
-
+
+
+
+
+
+
+
+
+
+
+ {{if .User}}
+
+ {{else}}
+
+ {{end}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Home
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{.Author.Name}}
+ GoPlus Developer
+
+
+
+
+
+
+ Blogs
+ 18
+
+
+ Views
+ 1.3k
+
+
+ Likes
+ 279
+
+
+ Followers
+ 161
+
+
+
+
+
+
+ + Follow
+
+
+
+
+
+
+ TODO 文章目录
+
+
+
+
+
+
\ No newline at end of file
diff --git a/cmd/gopcomm/yap/callback_yap.html b/cmd/gopcomm/yap/callback_yap.html
new file mode 100644
index 00000000..a5d5bbaa
--- /dev/null
+++ b/cmd/gopcomm/yap/callback_yap.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+This is callback page
+
+
+
+
+
diff --git a/cmd/gopcomm/yap/comment_temp.html b/cmd/gopcomm/yap/comment_temp.html
new file mode 100644
index 00000000..29f21269
--- /dev/null
+++ b/cmd/gopcomm/yap/comment_temp.html
@@ -0,0 +1,286 @@
+
+
+
+
+
+
+ Blogs
+ 18
+
+
+ Views
+ 1.3k
+
+
+ Likes
+ 279
+
+
+ Followers
+ 161
+
+
+
+
+
+
+ + Follow
+
+
\ No newline at end of file
diff --git a/cmd/gopcomm/yap/edit_yap.html b/cmd/gopcomm/yap/edit_yap.html
index 7190a48c..1475072f 100644
--- a/cmd/gopcomm/yap/edit_yap.html
+++ b/cmd/gopcomm/yap/edit_yap.html
@@ -1,13 +1,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+ Markdown
+
+
+
+
+
+
diff --git a/cmd/gopcomm/yap/home_yap.html b/cmd/gopcomm/yap/home_yap.html
index f81fcc3d..cdfe2a70 100644
--- a/cmd/gopcomm/yap/home_yap.html
+++ b/cmd/gopcomm/yap/home_yap.html
@@ -1,203 +1,300 @@
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
- Sign in
-
-
-
+
-
-
-
-
-
-
- CATEGORY
- 12 Jun 2019
-
-
-
- Bitters hashtag waistcoat fashion axe chia unicorn
-
-
- Glossier echo park pug, church-key sartorial biodiesel
- vexillologist pop-up snackwave ramps cornhole. Marfa 3 wolf moon
- party messenger bag selfies, poke vaporware kombucha
- lumbersexual pork belly polaroid hoodie portland craft beer.
-
-
Learn More
-
-
-
-
-
-
-
- {{range .Items}}
-
-
- CATEGORY
- 12 Jun 2019
-
-
-
- Title: {{.Title}}
-
-
- Glossier echo park pug, church-key sartorial biodiesel
- vexillologist pop-up snackwave ramps cornhole. Marfa 3 wolf moon
- party messenger bag selfies, poke vaporware kombucha
- lumbersexual pork belly polaroid hoodie portland craft beer.
-
-
Learn More
-
-
-
-
-
+
+
+
+
+
+
+ {{range .Items}}
+
+
+
+
+
CATEGORY
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{.Tags}}
+
+
+
+
+
+
+ {{.Abstract}}
+
+
+
+
+
+
+
+
+
{{.User.Name}}
+
+
+
· {{.Ctime}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{end}}
+
+
+
+
+
+
+
+
+ 1
+ 2
+ 3
+ ...
+ 9
+
+
+
+
+
+
-
- {{end}}
-
+
-
+
+
+
+ Copyright © 2011-2024 Qiniu Cloud. Powered by Yap framework
+ Qiniu Tech
+
+
+
+
diff --git a/cmd/gopcomm/yap/markdown/assets/index-QZ9Tw6zn.css b/cmd/gopcomm/yap/markdown/assets/index-QZ9Tw6zn.css
deleted file mode 100644
index fb52e79e..00000000
--- a/cmd/gopcomm/yap/markdown/assets/index-QZ9Tw6zn.css
+++ /dev/null
@@ -1 +0,0 @@
-:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.card{padding:2em}#app{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:#14ff1480;-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3,.cm-s-default .cm-type{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-s-default .cm-error,.cm-invalidchar{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:#ff96004d}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none;outline:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors,.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.cherry *::-webkit-scrollbar{height:7px;width:7px;background:#0000}.cherry *::-webkit-scrollbar:hover{background:#8080801a}.cherry *::-webkit-scrollbar-thumb{background:#d3d7da;-webkit-border-radius:6px}.cherry *::-webkit-scrollbar-thumb:hover{background:#0009}.cherry *::-webkit-scrollbar-corner{background:#0000}@font-face{font-family:ch-icon;src:url(./ch-icon-zh1GrP5x.eot);src:url(./ch-icon-zh1GrP5x.eot?#iefix) format("eot"),url(./ch-icon-L-dU5_Cw.woff2) format("woff2"),url(./ch-icon-9AYFtjAd.woff) format("woff"),url(./ch-icon-tuZ9fmAk.ttf) format("truetype"),url(./ch-icon-64nn-aVV.svg#ch-icon) format("svg");font-weight:400;font-style:normal}.ch-icon:before{display:inline-block;font-family:ch-icon;font-style:normal;font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ch-icon-list:before{content:""}.ch-icon-check:before{content:""}.ch-icon-square:before{content:""}.ch-icon-bold:before{content:""}.ch-icon-code:before{content:""}.ch-icon-color:before{content:""}.ch-icon-header:before{content:""}.ch-icon-image:before{content:""}.ch-icon-italic:before{content:""}.ch-icon-link:before{content:""}.ch-icon-ol:before{content:""}.ch-icon-size:before{content:""}.ch-icon-strike:before{content:""}.ch-icon-table:before{content:""}.ch-icon-ul:before{content:""}.ch-icon-underline:before{content:""}.ch-icon-word:before{content:""}.ch-icon-blockquote:before{content:""}.ch-icon-font:before{content:""}.ch-icon-insertClass:before{content:""}.ch-icon-insertFlow:before{content:""}.ch-icon-insertFormula:before{content:""}.ch-icon-insertGantt:before{content:""}.ch-icon-insertGraph:before{content:""}.ch-icon-insertPie:before{content:""}.ch-icon-insertSeq:before{content:""}.ch-icon-insertState:before{content:""}.ch-icon-line:before{content:""}.ch-icon-preview:before{content:""}.ch-icon-previewClose:before{content:""}.ch-icon-toc:before{content:""}.ch-icon-sub:before{content:""}.ch-icon-sup:before{content:""}.ch-icon-h1:before{content:""}.ch-icon-h2:before{content:""}.ch-icon-h3:before{content:""}.ch-icon-h4:before{content:""}.ch-icon-h5:before{content:""}.ch-icon-h6:before{content:""}.ch-icon-video:before{content:""}.ch-icon-insert:before{content:""}.ch-icon-little_table:before{content:""}.ch-icon-pdf:before{content:""}.ch-icon-checklist:before{content:""}.ch-icon-close:before{content:""}.ch-icon-fullscreen:before{content:""}.ch-icon-minscreen:before{content:""}.ch-icon-insertChart:before{content:""}.ch-icon-question:before{content:""}.ch-icon-settings:before{content:""}.ch-icon-ok:before{content:""}.ch-icon-br:before{content:""}.ch-icon-normal:before{content:""}.ch-icon-undo:before{content:""}.ch-icon-redo:before{content:""}.ch-icon-copy:before{content:""}.ch-icon-phone:before{content:""}.ch-icon-cherry-table-delete:before{content:""}.ch-icon-cherry-table-insert-bottom:before{content:""}.ch-icon-cherry-table-insert-left:before{content:""}.ch-icon-cherry-table-insert-right:before{content:""}.ch-icon-cherry-table-insert-top:before{content:""}.ch-icon-sort-s:before{content:""}.ch-icon-pinyin:before{content:""}.ch-icon-create:before{content:""}.ch-icon-download:before{content:""}.ch-icon-edit:before{content:""}.ch-icon-export:before{content:""}.ch-icon-folder-open:before{content:""}.ch-icon-folder:before{content:""}.ch-icon-help:before{content:""}.ch-icon-pen-fill:before{content:""}.ch-icon-pen:before{content:""}.ch-icon-search:before{content:""}.ch-icon-tips:before{content:""}.ch-icon-warn:before{content:""}.ch-icon-mistake:before{content:""}.ch-icon-success:before{content:""}.ch-icon-danger:before{content:""}.ch-icon-info:before{content:""}.ch-icon-primary:before{content:""}.ch-icon-warning:before{content:""}.ch-icon-justify:before{content:""}.ch-icon-justifyCenter:before{content:""}.ch-icon-justifyLeft:before{content:""}.ch-icon-justifyRight:before{content:""}.ch-icon-chevronsLeft:before{content:""}.ch-icon-chevronsRight:before{content:""}.cherry-markdown{word-break:break-all}.cherry-markdown h1,.cherry-markdown h2,.cherry-markdown h3,.cherry-markdown h4,.cherry-markdown h5,.cherry-markdown h6,.cherry-markdown .h1,.cherry-markdown .h2,.cherry-markdown .h3,.cherry-markdown .h4,.cherry-markdown .h5,.cherry-markdown .h6{font-family:inherit;font-weight:700;line-height:1.1;color:inherit}.cherry-markdown h1 small,.cherry-markdown h2 small,.cherry-markdown h3 small,.cherry-markdown h4 small,.cherry-markdown h5 small,.cherry-markdown h6 small,.cherry-markdown .h1 small,.cherry-markdown .h2 small,.cherry-markdown .h3 small,.cherry-markdown .h4 small,.cherry-markdown .h5 small,.cherry-markdown .h6 small,.cherry-markdown h1 .small,.cherry-markdown h2 .small,.cherry-markdown h3 .small,.cherry-markdown h4 .small,.cherry-markdown h5 .small,.cherry-markdown h6 .small,.cherry-markdown .h1 .small,.cherry-markdown .h2 .small,.cherry-markdown .h3 .small,.cherry-markdown .h4 .small,.cherry-markdown .h5 .small,.cherry-markdown .h6 .small{font-weight:400;line-height:1;color:#999}.cherry-markdown h1,.cherry-markdown h2,.cherry-markdown h3{margin-top:30px;margin-bottom:16px}.cherry-markdown h1 small,.cherry-markdown h2 small,.cherry-markdown h3 small,.cherry-markdown h1 .small,.cherry-markdown h2 .small,.cherry-markdown h3 .small{font-size:65%}.cherry-markdown h4,.cherry-markdown h5,.cherry-markdown h6{margin-top:12px;margin-bottom:12px}.cherry-markdown h4 small,.cherry-markdown h5 small,.cherry-markdown h6 small,.cherry-markdown h4 .small,.cherry-markdown h5 .small,.cherry-markdown h6 .small{font-size:75%}.cherry-markdown h1,.cherry-markdown .h1{font-size:2em}.cherry-markdown h2,.cherry-markdown .h2{font-size:1.5em}.cherry-markdown h3,.cherry-markdown .h3{font-size:1.25em}.cherry-markdown h4,.cherry-markdown .h4{font-size:1em}.cherry-markdown h5,.cherry-markdown .h5{font-size:.875em}.cherry-markdown h6,.cherry-markdown .h6{font-size:.85em}.cherry-markdown b,.cherry-markdown strong{font-weight:700}.cherry-markdown ul,.cherry-markdown ol{padding-left:24px;margin-bottom:16px}.cherry-markdown ul ul,.cherry-markdown ul ol,.cherry-markdown ol ul,.cherry-markdown ol ol{margin-bottom:0}.cherry-markdown ul li,.cherry-markdown ol li{list-style:inherit}.cherry-markdown ul li p,.cherry-markdown ol li p{margin:0}.cherry-markdown div ul,.cherry-markdown div ol{margin-bottom:0}.cherry-markdown hr{height:0;border:0;border-top:1px solid #dfe6ee;margin:16px 0;box-sizing:content-box;overflow:visible}.cherry-markdown kbd{border:1px solid #dfe6ee;border-radius:4px;padding:1px 2px;box-sizing:border-box;box-shadow:inset 0 -1px #dfe6ee;font-size:.85rem}.cherry-markdown table{border-collapse:collapse}.cherry-markdown table th,.cherry-markdown table td{border:1px solid #dfe6ee;padding:.2em .4em;min-width:100px}.cherry-markdown table th{background-color:#eee}.cherry-markdown .link-quote{color:#3582fb}.cherry-markdown a{color:#3582fb;position:relative;text-decoration:none}.cherry-markdown a[target=_blank]{padding:0 2px}.cherry-markdown a[target=_blank]:after{content:"";font-size:12px;font-family:ch-icon;margin:0 2px}.cherry-markdown a:hover{color:#056bad}.cherry-markdown em{font-style:italic}.cherry-markdown sup{vertical-align:super}.cherry-markdown sub{vertical-align:sub}.cherry-markdown figure{overflow-x:auto}.cherry-markdown blockquote{color:#6d6e6f;padding:10px 15px;border-left:10px solid #d6dbdf;background:#6680990d}.cherry-markdown p,.cherry-markdown pre,.cherry-markdown blockquote,.cherry-markdown table{margin:0 0 16px}.cherry-markdown pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f6f8fa;border-radius:6px}.cherry-markdown .prettyprint{min-width:500px;display:inline-block;background:#00212b;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.cherry-markdown .pln{color:#dfe6ee}.cherry-markdown .str{color:#ffaf21}.cherry-markdown .kwd{color:#f85353}.cherry-markdown ol.linenums{margin-top:0;margin-bottom:0;color:#969896}.cherry-markdown li.L0,.cherry-markdown li.L1,.cherry-markdown li.L2,.cherry-markdown li.L3,.cherry-markdown li.L4,.cherry-markdown li.L5,.cherry-markdown li.L6,.cherry-markdown li.L7,.cherry-markdown li.L8,.cherry-markdown li.L9{padding-left:1em;background-color:#00212b;list-style-type:decimal}@media screen{.cherry-markdown .cherry-markdown .com{color:#969896}.cherry-markdown .cherry-markdown .typ{color:#81a2be}.cherry-markdown .cherry-markdown .lit{color:#de935f}.cherry-markdown .cherry-markdown .pun,.cherry-markdown .cherry-markdown .opn,.cherry-markdown .cherry-markdown .clo{color:#c5c8c6}.cherry-markdown .cherry-markdown .tag{color:#c66}.cherry-markdown .cherry-markdown .atn{color:#de935f}.cherry-markdown .cherry-markdown .atv{color:#8abeb7}.cherry-markdown .cherry-markdown .dec{color:#de935f}.cherry-markdown .cherry-markdown .var{color:#c66}.cherry-markdown .cherry-markdown .fun{color:#81a2be}}.cherry-markdown div[data-type=codeBlock]{display:inline-block;width:100%;box-sizing:border-box;border-radius:2px;margin-bottom:16px;font-size:14px;overflow-x:auto}.cherry-markdown div[data-type=codeBlock]>pre{margin:0}.cherry-markdown div[data-type=codeBlock]>pre code[class*=language-]{counter-reset:line}.cherry-markdown div[data-type=codeBlock]>pre code[class*=language-].wrap{white-space:pre-wrap}.cherry-markdown div[data-type=codeBlock]>pre code[class*=language-] .code-line{display:inline-block;position:relative;padding-left:3em;height:1.3em;line-height:2em}.cherry-markdown div[data-type=codeBlock]>pre code[class*=language-] .code-line:before{counter-increment:line;content:counter(line);margin-right:1em;position:absolute;left:0}.cherry-markdown div[data-type=codeBlock]>pre code[class*=language-] .code-line:last-child{margin-bottom:0}.cherry-markdown :not(pre)>code{padding:.1em;border-radius:.3em;white-space:normal;color:#f85353;background-color:#e5e5e5}[data-inline-code-theme=black] .cherry-markdown :not(pre)>code{color:#3f4a56;background-color:#e5e5e5}.cherry-markdown a.anchor:before{content:"§";text-decoration:none;width:15px;font-size:.5em;vertical-align:middle;display:inline-block;text-align:center;margin-left:-15px}.cherry-markdown .toc{margin-bottom:16px;padding-left:0}.cherry-markdown .toc .toc-title{font-size:24px;margin-bottom:5px}.cherry-markdown .toc .toc-li{border-bottom:1px ridge #dfe6ee;list-style:none}.cherry-markdown .toc .toc-li a{text-decoration:none;color:#3f4a56}.cherry-markdown .toc .toc-li a:hover{color:#056bad}.cherry-markdown .check-list-item{list-style:none}.cherry-markdown .check-list-item .ch-icon{margin:0 6px 0 -20px}.cherry-markdown .footnote:not(a){padding-top:20px;border-top:1px solid #dfe6ee;margin-top:50px}.cherry-markdown .footnote:not(a) .footnote-title{font-size:20px;margin-top:-38px;background-color:#f8fafb;width:60px;margin-bottom:16px}.cherry-markdown .footnote:not(a) .one-footnote{color:#6d6e6f;margin-bottom:16px;border-bottom:1px dotted #dfe6ee}.cherry-markdown .cherry-table-container{max-width:100%;overflow-x:auto}.cherry-markdown .cherry-table-container .cherry-table th,.cherry-markdown .cherry-table-container .cherry-table td{border:1px solid #dfe6ee;padding:.2em .4em;min-width:100px}.cherry-markdown .cherry-table-container .cherry-table th{white-space:nowrap}.cherry-markdown mjx-assistive-mml{position:absolute;top:0;left:0;clip:rect(1px,1px,1px,1px);padding:1px 0 0;border:0}.cherry-markdown.head-num{counter-reset:level1}.cherry-markdown.head-num h1 .anchor:before,.cherry-markdown.head-num h2 .anchor:before,.cherry-markdown.head-num h3 .anchor:before,.cherry-markdown.head-num h4 .anchor:before,.cherry-markdown.head-num h5 .anchor:before,.cherry-markdown.head-num h6 .anchor:before{width:auto;font-size:inherit;vertical-align:inherit;padding-right:10px}.cherry-markdown.head-num h1{counter-reset:level2}.cherry-markdown.head-num h2{counter-reset:level3}.cherry-markdown.head-num h3{counter-reset:level4}.cherry-markdown.head-num h4{counter-reset:level5}.cherry-markdown.head-num h5{counter-reset:level6}.cherry-markdown.head-num h1 .anchor:before{counter-increment:level1;content:counter(level1) ". "}.cherry-markdown.head-num h2 .anchor:before{counter-increment:level2;content:counter(level1) "." counter(level2) " "}.cherry-markdown.head-num h3 .anchor:before{counter-increment:level3;content:counter(level1) "." counter(level2) "." counter(level3) " "}.cherry-markdown.head-num h4 .anchor:before{counter-increment:level4;content:counter(level1) "." counter(level2) "." counter(level3) "." counter(level4) " "}.cherry-markdown.head-num h5 .anchor:before{counter-increment:level5;content:counter(level1) "." counter(level2) "." counter(level3) "." counter(level4) "." counter(level5) " "}.cherry-markdown.head-num h6 .anchor:before{counter-increment:level6;content:counter(level1) "." counter(level2) "." counter(level3) "." counter(level4) "." counter(level5) "." counter(level6) " "}div[data-type=codeBlock] code[class*=language-],div[data-type=codeBlock] pre[class*=language-]{color:#ccc;background:none;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}div[data-type=codeBlock] pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}div[data-type=codeBlock] :not(pre)>code[class*=language-],div[data-type=codeBlock] pre[class*=language-]{background:#2d2d2d}div[data-type=codeBlock] :not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}div[data-type=codeBlock] .token.comment,div[data-type=codeBlock] .token.block-comment,div[data-type=codeBlock] .token.prolog,div[data-type=codeBlock] .token.doctype,div[data-type=codeBlock] .token.cdata{color:#999}div[data-type=codeBlock] .token.punctuation{color:#ccc}div[data-type=codeBlock] .token.tag,div[data-type=codeBlock] .token.attr-name,div[data-type=codeBlock] .token.namespace,div[data-type=codeBlock] .token.deleted{color:#e2777a}div[data-type=codeBlock] .token.function-name{color:#6196cc}div[data-type=codeBlock] .token.boolean,div[data-type=codeBlock] .token.number,div[data-type=codeBlock] .token.function{color:#f08d49}div[data-type=codeBlock] .token.property,div[data-type=codeBlock] .token.class-name,div[data-type=codeBlock] .token.constant,div[data-type=codeBlock] .token.symbol{color:#f8c555}div[data-type=codeBlock] .token.selector,div[data-type=codeBlock] .token.important,div[data-type=codeBlock] .token.atrule,div[data-type=codeBlock] .token.keyword,div[data-type=codeBlock] .token.builtin{color:#cc99cd}div[data-type=codeBlock] .token.string,div[data-type=codeBlock] .token.char,div[data-type=codeBlock] .token.attr-value,div[data-type=codeBlock] .token.regex,div[data-type=codeBlock] .token.variable{color:#7ec699}div[data-type=codeBlock] .token.operator,div[data-type=codeBlock] .token.entity,div[data-type=codeBlock] .token.url{color:#67cdcc}div[data-type=codeBlock] .token.important,div[data-type=codeBlock] .token.bold{font-weight:700}div[data-type=codeBlock] .token.italic{font-style:italic}div[data-type=codeBlock] .token.entity{cursor:help}div[data-type=codeBlock] .token.inserted{color:green}[data-code-block-theme=default] div[data-type=codeBlock] code[class*=language-],[data-code-block-theme=default] div[data-type=codeBlock] pre[class*=language-]{color:#000;background:none;text-shadow:0 1px #fff;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}[data-code-block-theme=default] div[data-type=codeBlock] pre[class*=language-]::-moz-selection,[data-code-block-theme=default] div[data-type=codeBlock] pre[class*=language-] ::-moz-selection,[data-code-block-theme=default] div[data-type=codeBlock] code[class*=language-]::-moz-selection,[data-code-block-theme=default] div[data-type=codeBlock] code[class*=language-] ::-moz-selection{text-shadow:none;background:#b3d4fc}[data-code-block-theme=default] div[data-type=codeBlock] pre[class*=language-]::selection,[data-code-block-theme=default] div[data-type=codeBlock] pre[class*=language-] ::selection,[data-code-block-theme=default] div[data-type=codeBlock] code[class*=language-]::selection,[data-code-block-theme=default] div[data-type=codeBlock] code[class*=language-] ::selection{text-shadow:none;background:#b3d4fc}@media print{[data-code-block-theme=default] div[data-type=codeBlock] code[class*=language-],[data-code-block-theme=default] div[data-type=codeBlock] pre[class*=language-]{text-shadow:none}}[data-code-block-theme=default] div[data-type=codeBlock] pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}[data-code-block-theme=default] div[data-type=codeBlock] :not(pre)>code[class*=language-],[data-code-block-theme=default] div[data-type=codeBlock] pre[class*=language-]{background:#f5f2f0}[data-code-block-theme=default] div[data-type=codeBlock] :not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}[data-code-block-theme=default] div[data-type=codeBlock] .token.comment,[data-code-block-theme=default] div[data-type=codeBlock] .token.prolog,[data-code-block-theme=default] div[data-type=codeBlock] .token.doctype,[data-code-block-theme=default] div[data-type=codeBlock] .token.cdata{color:#708090}[data-code-block-theme=default] div[data-type=codeBlock] .token.punctuation{color:#999}[data-code-block-theme=default] div[data-type=codeBlock] .token.namespace{opacity:.7}[data-code-block-theme=default] div[data-type=codeBlock] .token.property,[data-code-block-theme=default] div[data-type=codeBlock] .token.tag,[data-code-block-theme=default] div[data-type=codeBlock] .token.boolean,[data-code-block-theme=default] div[data-type=codeBlock] .token.number,[data-code-block-theme=default] div[data-type=codeBlock] .token.constant,[data-code-block-theme=default] div[data-type=codeBlock] .token.symbol,[data-code-block-theme=default] div[data-type=codeBlock] .token.deleted{color:#905}[data-code-block-theme=default] div[data-type=codeBlock] .token.selector,[data-code-block-theme=default] div[data-type=codeBlock] .token.attr-name,[data-code-block-theme=default] div[data-type=codeBlock] .token.string,[data-code-block-theme=default] div[data-type=codeBlock] .token.char,[data-code-block-theme=default] div[data-type=codeBlock] .token.builtin,[data-code-block-theme=default] div[data-type=codeBlock] .token.inserted{color:#690}[data-code-block-theme=default] div[data-type=codeBlock] .token.operator,[data-code-block-theme=default] div[data-type=codeBlock] .token.entity,[data-code-block-theme=default] div[data-type=codeBlock] .token.url,[data-code-block-theme=default] div[data-type=codeBlock] .language-css .token.string,[data-code-block-theme=default] div[data-type=codeBlock] .style .token.string{color:#9a6e3a;background:#ffffff80}[data-code-block-theme=default] div[data-type=codeBlock] .token.atrule,[data-code-block-theme=default] div[data-type=codeBlock] .token.attr-value,[data-code-block-theme=default] div[data-type=codeBlock] .token.keyword{color:#07a}[data-code-block-theme=default] div[data-type=codeBlock] .token.function,[data-code-block-theme=default] div[data-type=codeBlock] .token.class-name{color:#dd4a68}[data-code-block-theme=default] div[data-type=codeBlock] .token.regex,[data-code-block-theme=default] div[data-type=codeBlock] .token.important,[data-code-block-theme=default] div[data-type=codeBlock] .token.variable{color:#e90}[data-code-block-theme=default] div[data-type=codeBlock] .token.important,[data-code-block-theme=default] div[data-type=codeBlock] .token.bold{font-weight:700}[data-code-block-theme=default] div[data-type=codeBlock] .token.italic{font-style:italic}[data-code-block-theme=default] div[data-type=codeBlock] .token.entity{cursor:help}[data-code-block-theme=dark] div[data-type=codeBlock] code[class*=language-],[data-code-block-theme=dark] div[data-type=codeBlock] pre[class*=language-]{color:#fff;background:none;text-shadow:0 -.1em .2em #000;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}@media print{[data-code-block-theme=dark] div[data-type=codeBlock] code[class*=language-],[data-code-block-theme=dark] div[data-type=codeBlock] pre[class*=language-]{text-shadow:none}}[data-code-block-theme=dark] div[data-type=codeBlock] pre[class*=language-],[data-code-block-theme=dark] div[data-type=codeBlock] :not(pre)>code[class*=language-]{background:#4d4033}[data-code-block-theme=dark] div[data-type=codeBlock] pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border:.3em solid #7a6652;border-radius:.5em;box-shadow:1px 1px .5em #000 inset}[data-code-block-theme=dark] div[data-type=codeBlock] :not(pre)>code[class*=language-]{padding:.15em .2em .05em;border-radius:.3em;border:.13em solid #7a6652;box-shadow:1px 1px .3em -.1em #000 inset;white-space:normal}[data-code-block-theme=dark] div[data-type=codeBlock] .token.comment,[data-code-block-theme=dark] div[data-type=codeBlock] .token.prolog,[data-code-block-theme=dark] div[data-type=codeBlock] .token.doctype,[data-code-block-theme=dark] div[data-type=codeBlock] .token.cdata{color:#998066}[data-code-block-theme=dark] div[data-type=codeBlock] .token.punctuation,[data-code-block-theme=dark] div[data-type=codeBlock] .token.namespace{opacity:.7}[data-code-block-theme=dark] div[data-type=codeBlock] .token.property,[data-code-block-theme=dark] div[data-type=codeBlock] .token.tag,[data-code-block-theme=dark] div[data-type=codeBlock] .token.boolean,[data-code-block-theme=dark] div[data-type=codeBlock] .token.number,[data-code-block-theme=dark] div[data-type=codeBlock] .token.constant,[data-code-block-theme=dark] div[data-type=codeBlock] .token.symbol{color:#d1949e}[data-code-block-theme=dark] div[data-type=codeBlock] .token.selector,[data-code-block-theme=dark] div[data-type=codeBlock] .token.attr-name,[data-code-block-theme=dark] div[data-type=codeBlock] .token.string,[data-code-block-theme=dark] div[data-type=codeBlock] .token.char,[data-code-block-theme=dark] div[data-type=codeBlock] .token.builtin,[data-code-block-theme=dark] div[data-type=codeBlock] .token.inserted{color:#bde052}[data-code-block-theme=dark] div[data-type=codeBlock] .token.operator,[data-code-block-theme=dark] div[data-type=codeBlock] .token.entity,[data-code-block-theme=dark] div[data-type=codeBlock] .token.url,[data-code-block-theme=dark] div[data-type=codeBlock] .language-css .token.string,[data-code-block-theme=dark] div[data-type=codeBlock] .style .token.string,[data-code-block-theme=dark] div[data-type=codeBlock] .token.variable{color:#f5b83d}[data-code-block-theme=dark] div[data-type=codeBlock] .token.atrule,[data-code-block-theme=dark] div[data-type=codeBlock] .token.attr-value,[data-code-block-theme=dark] div[data-type=codeBlock] .token.keyword{color:#d1949e}[data-code-block-theme=dark] div[data-type=codeBlock] .token.regex,[data-code-block-theme=dark] div[data-type=codeBlock] .token.important{color:#e90}[data-code-block-theme=dark] div[data-type=codeBlock] .token.important,[data-code-block-theme=dark] div[data-type=codeBlock] .token.bold{font-weight:700}[data-code-block-theme=dark] div[data-type=codeBlock] .token.italic{font-style:italic}[data-code-block-theme=dark] div[data-type=codeBlock] .token.entity{cursor:help}[data-code-block-theme=dark] div[data-type=codeBlock] .token.deleted{color:red}[data-code-block-theme=funky] div[data-type=codeBlock] code[class*=language-],[data-code-block-theme=funky] div[data-type=codeBlock] pre[class*=language-]{font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}[data-code-block-theme=funky] div[data-type=codeBlock] pre[class*=language-]{padding:.4em .8em;margin:.5em 0;overflow:auto;background:url('data:image/svg+xml;charset=utf-8,
%0D%0A%0D%0A%0D%0A<%2Fsvg>');background-size:1em 1em}[data-code-block-theme=funky] div[data-type=codeBlock] code[class*=language-]{background:#000;color:#fff;box-shadow:-.3em 0 0 .3em #000,.3em 0 0 .3em #000}[data-code-block-theme=funky] div[data-type=codeBlock] :not(pre)>code[class*=language-]{padding:.2em;border-radius:.3em;box-shadow:none;white-space:normal}[data-code-block-theme=funky] div[data-type=codeBlock] .token.comment,[data-code-block-theme=funky] div[data-type=codeBlock] .token.prolog,[data-code-block-theme=funky] div[data-type=codeBlock] .token.doctype,[data-code-block-theme=funky] div[data-type=codeBlock] .token.cdata{color:#aaa}[data-code-block-theme=funky] div[data-type=codeBlock] .token.punctuation{color:#999}[data-code-block-theme=funky] div[data-type=codeBlock] .token.namespace{opacity:.7}[data-code-block-theme=funky] div[data-type=codeBlock] .token.property,[data-code-block-theme=funky] div[data-type=codeBlock] .token.tag,[data-code-block-theme=funky] div[data-type=codeBlock] .token.boolean,[data-code-block-theme=funky] div[data-type=codeBlock] .token.number,[data-code-block-theme=funky] div[data-type=codeBlock] .token.constant,[data-code-block-theme=funky] div[data-type=codeBlock] .token.symbol{color:#0cf}[data-code-block-theme=funky] div[data-type=codeBlock] .token.selector,[data-code-block-theme=funky] div[data-type=codeBlock] .token.attr-name,[data-code-block-theme=funky] div[data-type=codeBlock] .token.string,[data-code-block-theme=funky] div[data-type=codeBlock] .token.char,[data-code-block-theme=funky] div[data-type=codeBlock] .token.builtin{color:#ff0}[data-code-block-theme=funky] div[data-type=codeBlock] .token.operator,[data-code-block-theme=funky] div[data-type=codeBlock] .token.entity,[data-code-block-theme=funky] div[data-type=codeBlock] .token.url,[data-code-block-theme=funky] div[data-type=codeBlock] .language-css .token.string,[data-code-block-theme=funky] div[data-type=codeBlock] .token.variable,[data-code-block-theme=funky] div[data-type=codeBlock] .token.inserted{color:#9acd32}[data-code-block-theme=funky] div[data-type=codeBlock] .token.atrule,[data-code-block-theme=funky] div[data-type=codeBlock] .token.attr-value,[data-code-block-theme=funky] div[data-type=codeBlock] .token.keyword{color:#ff1493}[data-code-block-theme=funky] div[data-type=codeBlock] .token.regex,[data-code-block-theme=funky] div[data-type=codeBlock] .token.important{color:orange}[data-code-block-theme=funky] div[data-type=codeBlock] .token.important,[data-code-block-theme=funky] div[data-type=codeBlock] .token.bold{font-weight:700}[data-code-block-theme=funky] div[data-type=codeBlock] .token.italic{font-style:italic}[data-code-block-theme=funky] div[data-type=codeBlock] .token.entity{cursor:help}[data-code-block-theme=funky] div[data-type=codeBlock] .token.deleted{color:red}[data-code-block-theme=funky] div[data-type=codeBlock] pre.diff-highlight.diff-highlight>code .token.deleted:not(.prefix),[data-code-block-theme=funky] div[data-type=codeBlock] pre>code.diff-highlight.diff-highlight .token.deleted:not(.prefix){background-color:#ff00004d;display:inline}[data-code-block-theme=funky] div[data-type=codeBlock] pre.diff-highlight.diff-highlight>code .token.inserted:not(.prefix),[data-code-block-theme=funky] div[data-type=codeBlock] pre>code.diff-highlight.diff-highlight .token.inserted:not(.prefix){background-color:#00ff804d;display:inline}[data-code-block-theme=okaidia] div[data-type=codeBlock] code[class*=language-],[data-code-block-theme=okaidia] div[data-type=codeBlock] pre[class*=language-]{color:#f8f8f2;background:none;text-shadow:0 1px rgba(0,0,0,.3);font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}[data-code-block-theme=okaidia] div[data-type=codeBlock] pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}[data-code-block-theme=okaidia] div[data-type=codeBlock] :not(pre)>code[class*=language-],[data-code-block-theme=okaidia] div[data-type=codeBlock] pre[class*=language-]{background:#272822}[data-code-block-theme=okaidia] div[data-type=codeBlock] :not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.comment,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.prolog,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.doctype,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.cdata{color:#8292a2}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.punctuation{color:#f8f8f2}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.namespace{opacity:.7}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.property,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.tag,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.constant,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.symbol,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.deleted{color:#f92672}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.boolean,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.number{color:#ae81ff}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.selector,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.attr-name,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.string,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.char,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.builtin,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.inserted{color:#a6e22e}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.operator,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.entity,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.url,[data-code-block-theme=okaidia] div[data-type=codeBlock] .language-css .token.string,[data-code-block-theme=okaidia] div[data-type=codeBlock] .style .token.string,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.variable{color:#f8f8f2}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.atrule,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.attr-value,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.function,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.class-name{color:#e6db74}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.keyword{color:#66d9ef}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.regex,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.important{color:#fd971f}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.important,[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.bold{font-weight:700}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.italic{font-style:italic}[data-code-block-theme=okaidia] div[data-type=codeBlock] .token.entity{cursor:help}[data-code-block-theme=twilight] div[data-type=codeBlock] code[class*=language-],[data-code-block-theme=twilight] div[data-type=codeBlock] pre[class*=language-]{color:#fff;background:none;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;text-shadow:0 -.1em .2em #000;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}[data-code-block-theme=twilight] div[data-type=codeBlock] pre[class*=language-],[data-code-block-theme=twilight] div[data-type=codeBlock] :not(pre)>code[class*=language-]{background:#141414}[data-code-block-theme=twilight] div[data-type=codeBlock] pre[class*=language-]{border-radius:.5em;border:.3em solid #545454;box-shadow:1px 1px .5em #000 inset;margin:.5em 0;overflow:auto;padding:1em}[data-code-block-theme=twilight] div[data-type=codeBlock] pre[class*=language-]::-moz-selection{background:#27292a}[data-code-block-theme=twilight] div[data-type=codeBlock] pre[class*=language-]::selection{background:#27292a}[data-code-block-theme=twilight] div[data-type=codeBlock] pre[class*=language-]::-moz-selection,[data-code-block-theme=twilight] div[data-type=codeBlock] pre[class*=language-] ::-moz-selection,[data-code-block-theme=twilight] div[data-type=codeBlock] code[class*=language-]::-moz-selection,[data-code-block-theme=twilight] div[data-type=codeBlock] code[class*=language-] ::-moz-selection{text-shadow:none;background:#ededed26}[data-code-block-theme=twilight] div[data-type=codeBlock] pre[class*=language-]::selection,[data-code-block-theme=twilight] div[data-type=codeBlock] pre[class*=language-] ::selection,[data-code-block-theme=twilight] div[data-type=codeBlock] code[class*=language-]::selection,[data-code-block-theme=twilight] div[data-type=codeBlock] code[class*=language-] ::selection{text-shadow:none;background:#ededed26}[data-code-block-theme=twilight] div[data-type=codeBlock] :not(pre)>code[class*=language-]{border-radius:.3em;border:.13em solid #545454;box-shadow:1px 1px .3em -.1em #000 inset;padding:.15em .2em .05em;white-space:normal}[data-code-block-theme=twilight] div[data-type=codeBlock] .token.comment,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.prolog,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.doctype,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.cdata{color:#787878}[data-code-block-theme=twilight] div[data-type=codeBlock] .token.punctuation,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.namespace{opacity:.7}[data-code-block-theme=twilight] div[data-type=codeBlock] .token.tag,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.boolean,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.number,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.deleted{color:#cf694a}[data-code-block-theme=twilight] div[data-type=codeBlock] .token.keyword,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.property,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.selector,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.constant,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.symbol,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.builtin{color:#f9ee9a}[data-code-block-theme=twilight] div[data-type=codeBlock] .token.attr-name,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.attr-value,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.string,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.char,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.operator,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.entity,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.url,[data-code-block-theme=twilight] div[data-type=codeBlock] .language-css .token.string,[data-code-block-theme=twilight] div[data-type=codeBlock] .style .token.string,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.variable,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.inserted{color:#919e6b}[data-code-block-theme=twilight] div[data-type=codeBlock] .token.atrule{color:#7386a5}[data-code-block-theme=twilight] div[data-type=codeBlock] .token.regex,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.important{color:#e9c163}[data-code-block-theme=twilight] div[data-type=codeBlock] .token.important,[data-code-block-theme=twilight] div[data-type=codeBlock] .token.bold{font-weight:700}[data-code-block-theme=twilight] div[data-type=codeBlock] .token.italic{font-style:italic}[data-code-block-theme=twilight] div[data-type=codeBlock] .token.entity{cursor:help}[data-code-block-theme=twilight] div[data-type=codeBlock] pre[data-line]{padding:1em 0 1em 3em;position:relative}[data-code-block-theme=twilight] div[data-type=codeBlock] .language-markup .token.tag,[data-code-block-theme=twilight] div[data-type=codeBlock] .language-markup .token.attr-name,[data-code-block-theme=twilight] div[data-type=codeBlock] .language-markup .token.punctuation{color:#ad895c}[data-code-block-theme=twilight] div[data-type=codeBlock] .token{position:relative;z-index:1}[data-code-block-theme=twilight] div[data-type=codeBlock] .line-highlight{background:#54545440;background:linear-gradient(to right,#5454541a 70%,#54545400);border-bottom:1px dashed #545454;border-top:1px dashed #545454;left:0;line-height:inherit;margin-top:.75em;padding:inherit 0;pointer-events:none;position:absolute;right:0;white-space:pre;z-index:0}[data-code-block-theme=twilight] div[data-type=codeBlock] .line-highlight:before,[data-code-block-theme=twilight] div[data-type=codeBlock] .line-highlight[data-end]:after{background-color:#8794a6;border-radius:999px;box-shadow:0 1px #fff;color:#f5f2f0;content:attr(data-start);font:700 65%/1.5 sans-serif;left:.6em;min-width:1em;padding:0 .5em;position:absolute;text-align:center;text-shadow:none;top:.4em;vertical-align:.3em}[data-code-block-theme=twilight] div[data-type=codeBlock] .line-highlight[data-end]:after{bottom:.4em;content:attr(data-end);top:auto}[data-code-block-theme=coy] div[data-type=codeBlock] code[class*=language-],[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-]{color:#000;background:none;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-]{position:relative;margin:.5em 0;overflow-y:hidden;padding:0}[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-]>code{position:relative;border-left:10px solid #358ccb;box-shadow:-1px 0 #358ccb,0 0 0 1px #dfdfdf;background-color:#fdfdfd;background-image:linear-gradient(transparent 50%,#458ed10a 50%);background-size:3em 3em;background-origin:content-box;background-attachment:local}[data-code-block-theme=coy] div[data-type=codeBlock] code[class*=language-]{max-height:inherit;height:inherit;padding:0 1em;display:block}[data-code-block-theme=coy] div[data-type=codeBlock] :not(pre)>code[class*=language-],[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-]{background-color:#fdfdfd;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:1em}[data-code-block-theme=coy] div[data-type=codeBlock] :not(pre)>code[class*=language-]{position:relative;padding:.2em;border-radius:.3em;color:#c92c2c;border:1px solid rgba(0,0,0,.1);display:inline;white-space:normal}[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-]:before,[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-]:after{content:"";z-index:-2;display:block;position:absolute;bottom:.75em;left:.18em;width:40%;height:20%;max-height:13em;box-shadow:0 13px 8px #979797;-webkit-transform:rotate(-2deg);-moz-transform:rotate(-2deg);-ms-transform:rotate(-2deg);-o-transform:rotate(-2deg);transform:rotate(-2deg)}[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-]:after{right:.75em;left:auto;-webkit-transform:rotate(2deg);-moz-transform:rotate(2deg);-ms-transform:rotate(2deg);-o-transform:rotate(2deg);transform:rotate(2deg)}[data-code-block-theme=coy] div[data-type=codeBlock] .token.comment,[data-code-block-theme=coy] div[data-type=codeBlock] .token.block-comment,[data-code-block-theme=coy] div[data-type=codeBlock] .token.prolog,[data-code-block-theme=coy] div[data-type=codeBlock] .token.doctype,[data-code-block-theme=coy] div[data-type=codeBlock] .token.cdata{color:#7d8b99}[data-code-block-theme=coy] div[data-type=codeBlock] .token.punctuation{color:#5f6364}[data-code-block-theme=coy] div[data-type=codeBlock] .token.property,[data-code-block-theme=coy] div[data-type=codeBlock] .token.tag,[data-code-block-theme=coy] div[data-type=codeBlock] .token.boolean,[data-code-block-theme=coy] div[data-type=codeBlock] .token.number,[data-code-block-theme=coy] div[data-type=codeBlock] .token.function-name,[data-code-block-theme=coy] div[data-type=codeBlock] .token.constant,[data-code-block-theme=coy] div[data-type=codeBlock] .token.symbol,[data-code-block-theme=coy] div[data-type=codeBlock] .token.deleted{color:#c92c2c}[data-code-block-theme=coy] div[data-type=codeBlock] .token.selector,[data-code-block-theme=coy] div[data-type=codeBlock] .token.attr-name,[data-code-block-theme=coy] div[data-type=codeBlock] .token.string,[data-code-block-theme=coy] div[data-type=codeBlock] .token.char,[data-code-block-theme=coy] div[data-type=codeBlock] .token.function,[data-code-block-theme=coy] div[data-type=codeBlock] .token.builtin,[data-code-block-theme=coy] div[data-type=codeBlock] .token.inserted{color:#2f9c0a}[data-code-block-theme=coy] div[data-type=codeBlock] .token.operator,[data-code-block-theme=coy] div[data-type=codeBlock] .token.entity,[data-code-block-theme=coy] div[data-type=codeBlock] .token.url,[data-code-block-theme=coy] div[data-type=codeBlock] .token.variable{color:#a67f59;background:#ffffff80}[data-code-block-theme=coy] div[data-type=codeBlock] .token.atrule,[data-code-block-theme=coy] div[data-type=codeBlock] .token.attr-value,[data-code-block-theme=coy] div[data-type=codeBlock] .token.keyword,[data-code-block-theme=coy] div[data-type=codeBlock] .token.class-name{color:#1990b8}[data-code-block-theme=coy] div[data-type=codeBlock] .token.regex,[data-code-block-theme=coy] div[data-type=codeBlock] .token.important{color:#e90}[data-code-block-theme=coy] div[data-type=codeBlock] .language-css .token.string,[data-code-block-theme=coy] div[data-type=codeBlock] .style .token.string{color:#a67f59;background:#ffffff80}[data-code-block-theme=coy] div[data-type=codeBlock] .token.important{font-weight:400}[data-code-block-theme=coy] div[data-type=codeBlock] .token.bold{font-weight:700}[data-code-block-theme=coy] div[data-type=codeBlock] .token.italic{font-style:italic}[data-code-block-theme=coy] div[data-type=codeBlock] .token.entity{cursor:help}[data-code-block-theme=coy] div[data-type=codeBlock] .token.namespace{opacity:.7}@media screen and (max-width: 767px){[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-]:before,[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-]:after{bottom:14px;box-shadow:none}}[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-].line-numbers.line-numbers{padding-left:0}[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-].line-numbers.line-numbers code{padding-left:3.8em}[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-].line-numbers.line-numbers .line-numbers-rows{left:0}[data-code-block-theme=coy] div[data-type=codeBlock] pre[class*=language-][data-line]{padding-top:0;padding-bottom:0;padding-left:0}[data-code-block-theme=coy] div[data-type=codeBlock] pre[data-line] code{position:relative;padding-left:4em}[data-code-block-theme=coy] div[data-type=codeBlock] pre .line-highlight{margin-top:0}[data-code-block-theme=solarized-light] div[data-type=codeBlock] code[class*=language-],[data-code-block-theme=solarized-light] div[data-type=codeBlock] pre[class*=language-]{color:#657b83;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}[data-code-block-theme=solarized-light] div[data-type=codeBlock] pre[class*=language-]::-moz-selection,[data-code-block-theme=solarized-light] div[data-type=codeBlock] pre[class*=language-] ::-moz-selection,[data-code-block-theme=solarized-light] div[data-type=codeBlock] code[class*=language-]::-moz-selection,[data-code-block-theme=solarized-light] div[data-type=codeBlock] code[class*=language-] ::-moz-selection{background:#073642}[data-code-block-theme=solarized-light] div[data-type=codeBlock] pre[class*=language-]::selection,[data-code-block-theme=solarized-light] div[data-type=codeBlock] pre[class*=language-] ::selection,[data-code-block-theme=solarized-light] div[data-type=codeBlock] code[class*=language-]::selection,[data-code-block-theme=solarized-light] div[data-type=codeBlock] code[class*=language-] ::selection{background:#073642}[data-code-block-theme=solarized-light] div[data-type=codeBlock] pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}[data-code-block-theme=solarized-light] div[data-type=codeBlock] :not(pre)>code[class*=language-],[data-code-block-theme=solarized-light] div[data-type=codeBlock] pre[class*=language-]{background-color:#fdf6e3}[data-code-block-theme=solarized-light] div[data-type=codeBlock] :not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.comment,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.prolog,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.doctype,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.cdata{color:#93a1a1}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.punctuation{color:#586e75}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.namespace{opacity:.7}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.property,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.tag,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.boolean,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.number,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.constant,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.symbol,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.deleted{color:#268bd2}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.selector,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.attr-name,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.string,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.char,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.builtin,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.url,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.inserted{color:#2aa198}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.entity{color:#657b83;background:#eee8d5}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.atrule,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.attr-value,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.keyword{color:#859900}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.function,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.class-name{color:#b58900}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.regex,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.important,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.variable{color:#cb4b16}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.important,[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.bold{font-weight:700}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.italic{font-style:italic}[data-code-block-theme=solarized-light] div[data-type=codeBlock] .token.entity{cursor:help}.cherry-detail details{background:#f8f9faaa;border-radius:8px;overflow:hidden;margin-bottom:10px}.cherry-detail details summary{-webkit-user-select:none;user-select:none;padding:5px 10px;background-color:#6c757d;color:#fff;border-radius:8px}.cherry-detail details .cherry-detail-body{padding:15px 25px 0}.cherry-detail__multiple{border-radius:8px;overflow:hidden}.cherry-detail__multiple details{margin-bottom:1px;border-radius:0;border:none}.cherry-detail__multiple details summary{border-radius:0}.cherry-text-align__center table{margin-left:auto;margin-right:auto}.cherry-text-align__right table{margin-left:auto}.cherry-panel{margin:10px 0;overflow:hidden;border-radius:8px;box-sizing:border-box;border:.5px solid}.cherry-panel .cherry-panel--title{color:#fff;padding:5px 20px}.cherry-panel .cherry-panel--title.cherry-panel--title__not-empty:before{font-family:ch-icon;margin:0 12px 0 -6px;vertical-align:bottom}.cherry-panel .cherry-panel--body{padding:5px 20px}.cherry-panel__primary{background-color:#cfe2ff;color:#0a58ca}.cherry-panel__primary .cherry-panel--title{background-color:#0d6dfe}.cherry-panel__primary .cherry-panel--title.cherry-panel--title__not-empty:before{content:""}.cherry-panel__info{background-color:#cff4fc;color:#087990}.cherry-panel__info .cherry-panel--title{background-color:#099cba}.cherry-panel__info .cherry-panel--title.cherry-panel--title__not-empty:before{content:""}.cherry-panel__warning{background-color:#fff3cd;color:#997404}.cherry-panel__warning .cherry-panel--title{background-color:#b38806}.cherry-panel__warning .cherry-panel--title.cherry-panel--title__not-empty:before{content:""}.cherry-panel__danger{background-color:#f8d7da;color:#b02a37}.cherry-panel__danger .cherry-panel--title{background-color:#dc3545}.cherry-panel__danger .cherry-panel--title.cherry-panel--title__not-empty:before{content:""}.cherry-panel__success{background-color:#d1e7dd;color:#146c43}.cherry-panel__success .cherry-panel--title{background-color:#198754}.cherry-panel__success .cherry-panel--title.cherry-panel--title__not-empty:before{content:""}.cherry .doing-resize-img{-moz-user-select:none;-webkit-user-select:none;user-select:none}.cherry .cherry-previewer img{transition:all .1s}.cherry .cherry-previewer-img-size-handler{position:absolute;box-shadow:0 1px 4px #14519a80;border:1px solid #3582fb;box-sizing:content-box;pointer-events:none}.cherry .cherry-previewer-img-size-handler .cherry-previewer-img-size-handler__points{position:absolute;height:10px;width:10px;margin-top:-7px;margin-left:-7px;border-radius:9px;background:#3582fb;border:2px solid #fff;box-sizing:content-box;box-shadow:0 2px 2px #14519a80;pointer-events:all}.cherry .cherry-previewer-img-size-handler .cherry-previewer-img-size-handler__background{background-repeat:no-repeat;background-size:100% 100%;opacity:.5;width:100%;height:100%}.cherry .cherry-previewer-img-size-handler .cherry-previewer-img-size-handler__points-leftTop{cursor:nw-resize}.cherry .cherry-previewer-img-size-handler .cherry-previewer-img-size-handler__points-rightTop,.cherry .cherry-previewer-img-size-handler .cherry-previewer-img-size-handler__points-leftBottom{cursor:sw-resize}.cherry .cherry-previewer-img-size-handler .cherry-previewer-img-size-handler__points-rightBottom{cursor:nw-resize}.cherry .cherry-previewer-img-size-handler .cherry-previewer-img-size-handler__points-middleTop,.cherry .cherry-previewer-img-size-handler .cherry-previewer-img-size-handler__points-middleBottom{cursor:n-resize}.cherry .cherry-previewer-img-size-handler .cherry-previewer-img-size-handler__points-leftMiddle,.cherry .cherry-previewer-img-size-handler .cherry-previewer-img-size-handler__points-rightMiddle{cursor:e-resize}.cherry .cherry-previewer-table-content-handler .cherry-previewer-table-content-handler__input{position:absolute}.cherry .cherry-previewer-table-content-handler .cherry-previewer-table-content-handler__input textarea{width:100%;height:100%;border:0;box-sizing:border-box;resize:none;outline:1px solid #3582fb;word-break:break-all}.cherry .cherry-previewer-codeBlock-content-handler .cherry-previewer-codeBlock-content-handler__input{position:absolute}.cherry .cherry-previewer-table-hover-handler{position:absolute;pointer-events:none;z-index:999}.cherry .cherry-previewer-table-hover-handler-container{position:relative;height:100%;padding:0;margin:0;list-style-type:none}.cherry .cherry-previewer-table-hover-handler__symbol{pointer-events:auto;display:flex;justify-content:center;position:absolute;color:#3582fb;width:12px;height:12px;line-height:12px;border:1px solid rgba(53,130,251,0);background-color:#fff0;cursor:pointer;transition:all .3s}.cherry .cherry-previewer-table-hover-handler__symbol:hover{background-color:#3582fb88;color:#fff}.cherry .cherry-highlight-line{background-color:#ffc8}@media print{img,figure,pre,table{page-break-inside:avoid}.cherry-previewer{width:100%!important;max-height:none;border-left:none!important}.cherry-toolbar,.cherry-sidebar,.cherry-editor,.cherry-drag{display:none!important}}.cherry-insert-formula-wrappler{width:610px!important;height:300px!important;padding:15px;display:flex;position:fixed!important;z-index:9999999;box-shadow:0 .5rem 1rem #00000026;box-sizing:border-box;border-radius:10px;background-color:#fff!important;overflow:hidden}.cherry-insert-formula-wrappler .cherry-insert-formula-more{position:absolute;bottom:0;font-size:12px}.cherry-insert-formula-wrappler .cherry-insert-formula-tabs{width:100px;height:100%;list-style:none;padding:0;margin:0 10px 0 0}.cherry-insert-formula-wrappler .cherry-insert-formula-tabs .cherry-insert-formula-tab{width:100%;height:30px;text-align:center;border:1px solid #fff;display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer}.cherry-insert-formula-wrappler .cherry-insert-formula-tabs .cherry-insert-formula-tab>a{display:block;text-decoration:none;-webkit-user-select:none;user-select:none}.cherry-insert-formula-wrappler .cherry-insert-formula-tabs .cherry-insert-formula-tab:not(:first-child){margin-top:10px}.cherry-insert-formula-wrappler .cherry-insert-formula-tabs .cherry-insert-formula-tab.active{color:#000;border:1px solid #000;border-radius:5px}.cherry-insert-formula-wrappler .cherry-insert-formula-select{height:100%;flex:1;display:none;overflow-y:scroll}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary{width:130px}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary:not(:first-child){margin-top:10px}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__func{min-width:200px;height:260px;position:absolute;left:255px;top:0;z-index:100;padding:20px 10px;background-color:#fff;border-left:1px solid rgba(0,0,0,.15);display:none;overflow-y:scroll}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__func .cherry-insert-formula-categary__func-categary{border-top:1px solid #e9ecef;border-bottom:1px solid #e9ecef;margin-bottom:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__func .cherry-insert-formula-categary__func-item{cursor:pointer;border:1px solid #fff;display:inline-block;text-align:center;background-color:#f8f9fa;margin:2px;padding:2px;vertical-align:middle;line-height:30px;border-color:#f8f9fa;border-radius:5px}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__func .cherry-insert-formula-categary__func-item:hover{border-color:#dae0e5;background-color:#e2e6ea}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__func .cherry-insert-formula-categary__func-item svg{pointer-events:none}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__func:hover{display:block}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__btn{cursor:pointer;display:inline-block;font-weight:400;text-align:center;vertical-align:middle;-webkit-user-select:none;user-select:none;background-color:#0000;border:1px solid rgba(0,0,0,0);padding:.375rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem;width:100%}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__btn>img{width:100%;height:60%}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__btn:hover{color:#3582fb}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__btn:hover+.cherry-insert-formula-categary__func{float:left;display:block}.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .btn-light{color:#212529;background-color:#ebecf2;border-color:#f8f9fa}.cherry-insert-formula-wrappler .cherry-insert-formula-select.active{display:block}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.no-scrollbar::-webkit-scrollbar{display:none}.formula-utils-bubble-container{width:350px;height:40px;background-color:#fff;position:fixed;left:0;top:0;display:none;z-index:1000;box-sizing:border-box}.formula-utils-bubble-container .formula-utils-btn{flex:1;position:relative}.formula-utils-bubble-container .formula-utils-btn>button{width:100%;height:100%;border:1px solid #fff;background-color:#ebecf2;cursor:pointer;border-radius:5px}.formula-utils-bubble-container .formula-utils-btn>button:hover{background-color:#eee}.formula-utils-bubble-container .formula-utils-btn>button:focus{outline:none}.formula-utils-bubble-container .formula-utils-btn>button:active{background-color:#ddd}.formula-utils-bubble-container .formula-utils-btn>button:hover+.formula-utils-submenu{display:block}.formula-utils-bubble-container .formula-utils-btn .formula-utils-submenu{position:absolute;display:none;width:100%;background-color:#fff;border:1px solid #f8f9fa;left:0;top:100%;box-shadow:0 0 5px #f8f9fa}.formula-utils-bubble-container .formula-utils-btn .formula-utils-submenu:hover{display:block}.formula-utils-bubble-container .formula-utils-btn .formula-utils-submenu div{width:100%;height:40px}.formula-utils-bubble-container .formula-utils-btn .formula-utils-submenu div button{width:100%;height:100%;border:1px solid #fff;background-color:#fff;cursor:pointer}.formula-utils-bubble-container .formula-utils-btn .formula-utils-submenu div button:hover{background-color:#eee}.formula-utils-bubble-container .formula-utils-btn .formula-utils-submenu div button:focus{outline:none}.formula-utils-bubble-container .formula-utils-btn .formula-utils-submenu div button:active{background-color:#ddd}.cherry{display:flex;flex-flow:row wrap;align-items:stretch;align-content:flex-start;height:100%;min-height:100px;position:relative}.cherry .cherry-editor,.cherry .cherry-previewer{max-height:calc(100% - 48px);min-height:calc(100% - 48px)}.cherry .CodeMirror{height:100%}.cherry.cherry--no-toolbar .cherry-toolbar,.cherry.cherry--no-toolbar .cherry-sidebar{height:0;display:none}.cherry.cherry--no-toolbar .cherry-editor,.cherry.cherry--no-toolbar .cherry-previewer{max-height:100%;min-height:100%}.cherry{font-family:Helvetica Neue,Arial,Hiragino Sans GB,STHeiti,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif;font-size:16px;line-height:27px;color:#3f4a56;background:#f8fafb;box-shadow:0 0 10px #8091a533}.cherry .ch-icon{vertical-align:middle}.cherry .clearfix{zoom:1}.cherry .clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;font-size:0}.cherry.fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:99}.cherry .no-select{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cherry .cherry-insert-table-menu{display:block;position:fixed;top:40px;left:40px;border-collapse:separate;box-shadow:0 0 10px #8091a533;padding:4px;border-radius:3px;width:auto;height:auto}.cherry .cherry-insert-table-menu-item{padding:7px;border:1px solid #dfe6ee}.cherry .cherry-insert-table-menu-item.active{background-color:#ebf3ff}.cherry[data-toolbar-theme=dark] .cherry-insert-table-menu-item{border-color:#fff3}.cherry[data-toolbar-theme=dark] .cherry-insert-table-menu-item.active{background-color:#d7e6fe}.cherry-dropdown{position:absolute;width:130px;min-height:40px;background:#fff;box-shadow:0 5px 15px -5px #00000080;margin-left:-60px;z-index:11}.cherry-dropdown-item{width:100%;padding:0 15px;text-align:left;display:inline-block;height:36px;line-height:36px;font-size:14px;font-style:normal;cursor:pointer;box-sizing:border-box}.cherry-dropdown-item:hover{background:#ebf3ff;color:#5d9bfc}.cherry-dropdown-item .ch-icon{margin-right:10px}[data-toolbar-theme=dark] .cherry-dropdown{background:#20304b}[data-toolbar-theme=dark] .cherry-dropdown .cherry-dropdown-item{background:#0000;color:#d7e6fe}[data-toolbar-theme=dark] .cherry-dropdown .cherry-dropdown-item:hover{background:#ffffff1a;color:#fff}.cherry-toolbar{position:relative;display:flex;justify-content:space-between;padding:0 20px;height:48px;font-size:14px;line-height:2.8;flex-basis:100%;box-sizing:border-box;z-index:2;-webkit-user-select:none;user-select:none;box-shadow:0 0 10px #8091a533;background:#fff;overflow:hidden}.cherry-toolbar .icon-loading.loading{display:inline-block;width:8px;height:8px}.cherry-toolbar .icon-loading.loading:after{content:" ";display:block;width:8px;height:8px;margin-left:2px;margin-top:-2px;border-radius:50%;border:2px solid #000;border-color:#000 rgba(0,0,0,0) #000 rgba(0,0,0,0);animation:loading 1.2s linear infinite}[data-toolbar-theme=dark] .cherry-toolbar{background:#20304b;box-shadow:0 0 10px #8091a533}[data-toolbar-theme=dark] .cherry-toolbar .cherry-toolbar-button{color:#d7e6fe;background:#0000}[data-toolbar-theme=dark] .cherry-toolbar .cherry-toolbar-button:hover{color:#fff;background:#ffffff1a}.cherry-toolbar .toolbar-left,.cherry-toolbar .toolbar-right{display:flex;align-items:center;height:48px;overflow:hidden}.cherry-toolbar .toolbar-left{flex:0 0 auto;margin-right:20px}.cherry-toolbar .toolbar-right{flex:0 1 auto;flex-direction:row-reverse;margin-left:10px;box-sizing:border-box}.cherry-toolbar.preview-only .cherry-toolbar-button{display:none}.cherry-toolbar.preview-only .cherry-toolbar-switchPreview{display:inline}.cherry-toolbar-button{float:left;padding:0 12px;height:38px;color:#3f4a56;background:#0000;border:1px solid rgba(0,0,0,0);-webkit-transition:background-color ease-in-out .15s,color ease-in-out .15s,border-color ease-in-out .15s;transition:background-color ease-in-out .15s,color ease-in-out .15s,border-color ease-in-out .15s;cursor:pointer;font-style:normal}.cherry-toolbar-button:hover{color:#5d9bfc;background:#ebf3ff}.cherry-toolbar-button.cherry-toolbar-split{font-size:0;height:19px;padding:0;margin:9.5px 4px;border:1px solid rgba(0,0,0,0);border-left:1px solid #dfe6ee;pointer-events:none;overflow:hidden;opacity:.5}.cherry-toolbar-button.disabled{color:#ccc}.cherry .ace_search{background:#fff}.cherry-sidebar{width:30px;position:absolute;top:48px;right:7px;z-index:11;bottom:0;overflow:hidden}.cherry-sidebar .cherry-toolbar-button{height:30px;padding:3px 12px 0 6px}.cherry-sidebar .cherry-toolbar-button:hover{background:#0000}.cherry-sidebar .cherry-toolbar-button .icon-loading.loading{display:inline-block;width:8px;height:8px}.cherry-sidebar .cherry-toolbar-button .icon-loading.loading:after{content:" ";display:block;width:8px;height:8px;margin-left:2px;margin-top:-2px;border-radius:50%;border:2px solid #000;border-color:#000 rgba(0,0,0,0) #000 rgba(0,0,0,0);animation:loading 1.2s linear infinite}@keyframes loading{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.cherry-bubble{position:absolute;display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;font-size:14px;min-height:35px;min-width:50px;border:1px solid #dfe6ee;background-color:#fff;box-shadow:0 2px 15px -5px #00000080;border-radius:3px;z-index:8}.cherry-bubble.cherry-bubble--centered{left:50%;transform:translate(-50%)}.cherry-bubble .cherry-bubble-top,.cherry-bubble .cherry-bubble-bottom{position:absolute;left:50%;width:0;height:0;margin-left:-8px;border-left:8px solid rgba(0,0,0,0);border-right:8px solid rgba(0,0,0,0)}.cherry-bubble .cherry-bubble-top{top:0;transform:translateY(-100%);border-bottom:8px solid #fff}.cherry-bubble .cherry-bubble-bottom{bottom:0;transform:translateY(100%);border-top:8px solid #fff}.cherry-bubble .cherry-toolbar-button{display:inline-flex;align-items:center;justify-content:center;height:35px;cursor:pointer;-webkit-user-select:none;user-select:none}.cherry-bubble .cherry-toolbar-button:hover{border-color:#dfe6ee;background-color:#5980a60d}.cherry-bubble .cherry-toolbar-button.cherry-toolbar-split{height:65%;min-height:22.75px}[data-toolbar-theme=dark] .cherry-bubble{border-color:#20304b;background:#20304b}[data-toolbar-theme=dark] .cherry-bubble .cherry-toolbar-button{color:#d7e6fe;background:#0000}[data-toolbar-theme=dark] .cherry-bubble .cherry-toolbar-button:hover{color:#fff;background:#ffffff1a}[data-toolbar-theme=dark] .cherry-bubble .cherry-bubble-top{border-bottom-color:#20304b}[data-toolbar-theme=dark] .cherry-bubble .cherry-bubble-bottom{border-top-color:#20304b}[data-toolbar-theme=dark] .cherry-bubble .cherry-toolbar-button:hover{border-color:#20304b}.cherry-switch-paste .switch-btn--bg{position:absolute;width:50%;height:100%;box-sizing:border-box;z-index:-1;left:0;top:0;opacity:.3;background-color:#5d9bfc;border-radius:2px;transition:all .3s}.cherry-switch-paste .cherry-toolbar-button{display:inline-flex;align-items:center;justify-content:center;width:80px;text-align:center}.cherry-switch-paste .cherry-toolbar-button:hover{border-color:#0000}.cherry-switch-paste[data-type=text] .cherry-text-btn{color:#3f4a56}.cherry-switch-paste[data-type=text] .cherry-md-btn{color:#5d9bfc}.cherry-switch-paste[data-type=md] .cherry-md-btn{color:#3f4a56}.cherry-switch-paste[data-type=md] .cherry-text-btn{color:#5d9bfc}.cherry-switch-paste[data-type=md] .switch-btn--bg{left:50%}[data-toolbar-theme=dark] .cherry-switch-paste .switch-btn--bg{background-color:#fff}[data-toolbar-theme=dark] .cherry-switch-paste[data-type=text] .cherry-text-btn{color:#d7e6fe}[data-toolbar-theme=dark] .cherry-switch-paste[data-type=text] .cherry-md-btn{color:#fff}[data-toolbar-theme=dark] .cherry-switch-paste[data-type=md] .cherry-md-btn{color:#d7e6fe}[data-toolbar-theme=dark] .cherry-switch-paste[data-type=md] .cherry-text-btn{color:#fff}[data-toolbar-theme=dark] .cherry-switch-paste[data-type=md] .switch-btn--bg{left:50%}.cherry-floatmenu{z-index:4;display:none;position:absolute;left:30px;margin-left:60px;height:27px;line-height:27px;border-radius:3px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cherry-floatmenu .cherry-toolbar-button{float:left;padding:0 9px;margin:0;height:27px;line-height:27px;font-size:14px;color:#3f4a56;overflow:hidden;vertical-align:middle;text-align:center;border:0;cursor:pointer;font-style:normal}.cherry-floatmenu .cherry-toolbar-button.cherry-toolbar-split{border-left:1px solid #dfe6ee;width:0;padding:0;overflow:hidden;height:25px}.cherry-floatmenu .cherry-toolbar-button .ch-icon{color:#aaa;font-size:12px}.cherry-floatmenu .cherry-toolbar-button:hover{background:#0000000d}.cherry-floatmenu .cherry-toolbar-button:hover .ch-icon{color:#3f4a56}.cherry-editor{position:relative;padding-top:5px;padding-right:5px;width:50%;box-sizing:border-box;overflow:hidden}.cherry-editor.cherry-editor--full{width:100%;padding-right:0}.cherry-editor.cherry-editor--hidden{display:none}.cherry-editor-writing-style--focus:before{content:"";display:block;width:100%;position:absolute;top:0;background:linear-gradient(to bottom,#00000006,#0003);pointer-events:none;z-index:11}.cherry-editor-writing-style--focus:after{content:"";display:block;width:100%;position:absolute;bottom:0;background:linear-gradient(to top,#00000006,#0003);pointer-events:none;z-index:11}.cherry-editor-writing-style--typewriter .CodeMirror-lines{position:relative}.cherry-editor-writing-style--typewriter .CodeMirror-lines:before{content:"";display:block}.cherry-editor-writing-style--typewriter .CodeMirror-lines:after{content:"";display:block}.cherry-editor .CodeMirror{font-family:Helvetica Neue,Arial,Hiragino Sans GB,STHeiti,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif;background:#f8fafb;color:#3f4a56}.cherry-editor .CodeMirror textarea{font-size:27px}.cherry-editor .CodeMirror-lines{padding:15px 34px}.cherry-editor .CodeMirror-lines .drawio,.cherry-editor .CodeMirror-lines .base64{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:80px;white-space:nowrap;vertical-align:bottom;color:#8b008b!important;font-size:12px!important}.cherry-editor .cm-s-default .cm-header,.cherry-editor .cm-s-default .cm-string{color:#3f4a56}.cherry-editor .cm-s-default .cm-comment{color:#3582fb;font-family:Menlo,Liberation Mono,Consolas,DejaVu Sans Mono,Ubuntu Mono,Courier New,andale mono,lucida console,monospace;font-size:.9em}.cherry-editor .cm-s-default .cm-whitespace,.cherry-editor .cm-tab{font-family:Menlo,Liberation Mono,Consolas,DejaVu Sans Mono,Ubuntu Mono,Courier New,andale mono,lucida console,monospace;font-size:.9em}.cherry-editor .cm-s-default .cm-quote,.cherry-editor .cm-s-default .cm-link{color:#3582fb}.cherry-editor .cm-s-default .cm-url{background:#d7e6fe;font-family:Menlo,Liberation Mono,Consolas,DejaVu Sans Mono,Ubuntu Mono,Courier New,andale mono,lucida console,monospace;font-size:.9em}.cherry-editor .cm-s-default .cm-variable-2,.cherry-editor .cm-s-default .cm-variable-3,.cherry-editor .cm-s-default .cm-keyword{color:#3f4a56}.cherry-editor .cm-s-default .cm-fullWidth{color:#d71616;z-index:3;cursor:pointer}.cherry-drag{width:15px;cursor:ew-resize;position:absolute;z-index:12;background:#0000}.cherry-drag.cherry-drag--show{width:5px;display:block;background:#dfe6ee}.cherry-drag.cherry-drag--hidden{display:none}.cherry-editor-mask{z-index:10;position:absolute;display:none;background:#0003}.cherry-editor-mask.cherry-editor-mask--show{display:block}.cherry-previewer-mask{z-index:10;position:absolute;display:none;background:#0006}.cherry-previewer-mask.cherry-previewer-mask--show{display:block}.cherry-previewer-codeBlock-click-handler{position:absolute;z-index:1}.cherry-previewer-codeBlock-hover-handler{z-index:0;position:absolute}.cherry-previewer-codeBlock-hover-handler .cherry-copy-code-block,.cherry-previewer-codeBlock-hover-handler .cherry-edit-code-block{position:relative;width:25px;text-align:center;height:25px;border:1px solid #3582fb;cursor:pointer;float:right;top:15px;border-radius:5px;margin-left:-27px;transition:all .3s;z-index:2;color:#3582fb;background-color:#eee;border-color:#3582fb}.cherry-previewer-codeBlock-hover-handler .cherry-copy-code-block{right:10px}.cherry-previewer-codeBlock-hover-handler .cherry-edit-code-block{right:45px}.cherry-previewer-codeBlock-hover-handler .cherry-copy-code-block:hover,.cherry-previewer-codeBlock-hover-handler .cherry-edit-code-block:hover{color:#eee;background-color:#3582fb;border-color:#eee}.cherry-previewer-codeBlock-hover-handler .cherry-code-preview-lang-select{position:absolute;transform:translate(2px,-50%)}.cherry-previewer{padding:20px 45px 20px 20px;border-left:2px solid #ebedee;width:50%;box-sizing:border-box;background-color:#f8fafb;min-height:auto;overflow-y:auto;-webkit-print-color-adjust:exact}.cherry-previewer .cherry-mobile-previewer-content{width:375px;height:100%;margin:0 auto;padding:25px 30px;overflow-y:scroll;box-shadow:0 0 60px #0000001a;box-sizing:border-box}.cherry-previewer.cherry-previewer--hidden{width:0;display:none}.cherry-previewer.cherry-previewer--full{width:100%}.cherry-previewer .cherry-list__upper-roman{list-style:upper-roman}.cherry-previewer .cherry-list__lower-greek{list-style:lower-greek}.cherry-previewer .cherry-list__cjk-ideographic{list-style:cjk-ideographic}.cherry-previewer .cherry-list__circle{list-style:circle}.cherry-previewer .cherry-list__square{list-style:square}[data-code-block-theme=default] .cherry-previewer .cherry-copy-code-block,[data-code-block-theme=default] .cherry-previewer .cherry-edit-code-block,[data-code-block-theme=funky] .cherry-previewer .cherry-copy-code-block,[data-code-block-theme=funky] .cherry-previewer .cherry-edit-code-block,[data-code-block-theme=solarized-light] .cherry-previewer .cherry-copy-code-block,[data-code-block-theme=solarized-light] .cherry-previewer .cherry-edit-code-block,[data-code-block-theme=coy] .cherry-previewer .cherry-copy-code-block,[data-code-block-theme=coy] .cherry-previewer .cherry-edit-code-block{background-color:#3582fb}.cherry-color-wrap{display:none;position:fixed;width:auto;padding:5px 10px;z-index:6;background:#fff;box-shadow:0 0 10px #8091a533}.cherry-color-wrap h3{font-size:12px;margin:0;font-weight:400}[data-toolbar-theme=dark] .cherry-color-wrap h3{color:#d7e6fe}.cherry-color-wrap .cherry-color-text{float:left;width:128px;margin:0 8px 0 5px}.cherry-color-wrap .cherry-color-bg{float:left;width:128px;margin-right:5px}.cherry-color-wrap .cherry-color-item{float:left;width:14px;height:14px;border:1px solid #fff;cursor:pointer}.cherry-color-wrap .cherry-color-item:hover{border:1px solid #000}.Cherry-Math svg{max-width:100%}.cherry-suggester-panel{display:none;position:absolute;left:0;top:0;background:#fff;border-radius:2px;max-height:500px;box-shadow:0 2px 8px 1px #0003}.cherry-suggester-panel .cherry-suggester-panel__item{border:none;white-space:nowrap;min-width:50px;padding:5px 13px;color:#333;display:block;cursor:pointer}.cherry-suggester-panel .cherry-suggester-panel__item.cherry-suggester-panel__item--selected{background-color:#f2f2f5;text-decoration:none;color:#eb7350}.cherry-suggester-panel .cherry-suggester-panel__item>i{display:inline-block;transform:translateY(2px);margin-right:8px}.cherry-suggestion{background-color:#ebf3ff;color:#3582fb;padding:1px 4px;border-radius:3px;cursor:pointer}.cherry-flex-toc{z-index:11;position:absolute;width:160px;height:calc(100% - 220px);max-height:600px;right:0;top:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#fff3;margin-right:8px;box-sizing:border-box;-webkit-user-select:none;user-select:none;box-shadow:0 5px 11px #3333;border-radius:10px;transition:all .3s}.cherry-flex-toc:hover{background-color:#fff;width:260px}.cherry-flex-toc .cherry-toc-head{border-bottom:1px dashed rgba(51,51,51,.2);padding:5px}.cherry-flex-toc .cherry-toc-head .cherry-toc-title{font-size:16px;font-weight:700;padding-left:5px}.cherry-flex-toc .cherry-toc-head .ch-icon-chevronsLeft{display:none}.cherry-flex-toc .cherry-toc-head .ch-icon-chevronsRight,.cherry-flex-toc .cherry-toc-head .ch-icon-chevronsLeft{padding:5px;position:absolute;right:0;top:0}.cherry-flex-toc .cherry-toc-head i{cursor:pointer;padding:5px 5px 0}.cherry-flex-toc .cherry-toc-head i:hover{color:#3582fb}.cherry-flex-toc .cherry-toc-list{overflow-y:auto;height:calc(100% - 40px);overflow-x:hidden;width:100%;padding-bottom:10px}.cherry-flex-toc .cherry-toc-list .cherry-toc-one-a{display:block;text-decoration:none;color:#000;border-left:5px solid rgba(51,51,51,.2);height:28px;line-height:28px;transition:all .3s;padding-left:10px;overflow:hidden;word-break:break-all;text-overflow:ellipsis;cursor:pointer}.cherry-flex-toc .cherry-toc-list .cherry-toc-one-a.current{border-left-color:#3582fb;color:#3582fb}.cherry-flex-toc .cherry-toc-list .cherry-toc-one-a:hover{border-left-color:#3582fbaa;color:#3582fbaa}.cherry-flex-toc .cherry-toc-list .cherry-toc-one-a__1{font-weight:700}.cherry-flex-toc .cherry-toc-list .cherry-toc-one-a__2{padding-left:20px}.cherry-flex-toc .cherry-toc-list .cherry-toc-one-a__3{padding-left:40px}.cherry-flex-toc .cherry-toc-list .cherry-toc-one-a__4{padding-left:60px}.cherry-flex-toc .cherry-toc-list .cherry-toc-one-a__5{padding-left:80px}.cherry-flex-toc.cherry-flex-toc__pure{width:30px;height:calc(100% - 200px);max-height:600px;background:#fff0;box-shadow:none;border-radius:0}.cherry-flex-toc.cherry-flex-toc__pure .cherry-toc-head{height:25px;border-bottom:1px dashed rgba(51,51,51,0)}.cherry-flex-toc.cherry-flex-toc__pure .cherry-toc-head .cherry-toc-title,.cherry-flex-toc.cherry-flex-toc__pure .cherry-toc-head .ch-icon-chevronsRight{display:none}.cherry-flex-toc.cherry-flex-toc__pure .cherry-toc-head .ch-icon-chevronsLeft{display:inline}.cherry-flex-toc.cherry-flex-toc__pure .cherry-toc-list{padding-left:7px}.cherry-flex-toc.cherry-flex-toc__pure .cherry-toc-list .cherry-toc-one-a{overflow:hidden;width:0;margin-bottom:3px;height:5px;border-left-width:18px}.cherry-markdown.theme__default ul.cherry-list__upper-roman{list-style:upper-roman}.cherry-markdown.theme__default ul.cherry-list__lower-greek{list-style:lower-greek}.cherry-markdown.theme__default ul.cherry-list__cjk-ideographic{list-style:cjk-ideographic}.cherry-markdown.theme__default ul.cherry-list__circle{list-style:circle}.cherry-markdown.theme__default ul.cherry-list__square{list-style:square}.cherry.theme__dark .cherry-toolbar,.cherry.theme__dark .cherry-floatmenu,.cherry.theme__dark .cherry-bubble,.cherry.theme__dark .cherry-sidebar{background:#3c3c3c;border-color:#3c3c3c}.cherry.theme__dark .cherry-toolbar .cherry-toolbar-button,.cherry.theme__dark .cherry-floatmenu .cherry-toolbar-button,.cherry.theme__dark .cherry-bubble .cherry-toolbar-button,.cherry.theme__dark .cherry-sidebar .cherry-toolbar-button{color:#d7e6fe}.cherry.theme__dark .cherry-toolbar .cherry-toolbar-button:hover,.cherry.theme__dark .cherry-floatmenu .cherry-toolbar-button:hover,.cherry.theme__dark .cherry-bubble .cherry-toolbar-button:hover,.cherry.theme__dark .cherry-sidebar .cherry-toolbar-button:hover{background-color:#454646;color:#fff!important;border-color:#3c3c3c}.cherry.theme__dark .cherry-toolbar .cherry-toolbar-button:hover i,.cherry.theme__dark .cherry-floatmenu .cherry-toolbar-button:hover i,.cherry.theme__dark .cherry-bubble .cherry-toolbar-button:hover i,.cherry.theme__dark .cherry-sidebar .cherry-toolbar-button:hover i{color:#fff!important}.cherry.theme__dark .cherry-dropdown{background:#3c3c3c}.cherry.theme__dark .cherry-dropdown .cherry-dropdown-item{color:#d7e6fe}.cherry.theme__dark .cherry-dropdown .cherry-dropdown-item:hover{background-color:#454646;color:#fff}.cherry.theme__dark .cherry-dropdown.cherry-color-wrap h3{color:#d7e6fe}.cherry.theme__dark .cherry-dropdown.cherry-color-wrap .cherry-color-item{border-color:#454646}.cherry.theme__dark .cherry-dropdown.cherry-color-wrap .cherry-color-item:hover{border-color:#f78553}.cherry.theme__dark .cherry-bubble .cherry-bubble-bottom{border-top-color:#3c3c3c}.cherry.theme__dark .cherry-editor,.cherry.theme__dark .cherry-editor .CodeMirror{background-color:#252526}.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-cursor{border-left:1px solid #fff}.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll span,.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll .cm-variable-2,.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll .cm-string,.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll .cm-strong,.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll .cm-em,.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll .cm-meta{color:#c8c8c8}.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll .cm-image-marker,.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll .cm-quote,.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll .cm-header{color:#f78553}.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{background-color:#000}.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll .cm-comment,.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{color:#ffcb6b}.cherry.theme__dark .cherry-editor .CodeMirror .CodeMirror-selected{background-color:#454646}.cherry.theme__dark .cherry-sidebar{box-shadow:0 0 10px #8091a533}.cherry.theme__dark .cherry-previewer{background-color:#333}.cherry.theme__dark .cherry-previewer .cherry-mobile-previewer-content{background-color:#252526}.cherry.theme__dark .cherry-previewer-table-content-handler .cherry-previewer-table-content-handler__input textarea{background-color:#252526;color:#c8c8c8;outline-color:#f78553}.cherry-markdown.theme__dark{color:#c8c8c8;background-color:#333}.cherry-markdown.theme__dark h1,.cherry-markdown.theme__dark h2,.cherry-markdown.theme__dark h3,.cherry-markdown.theme__dark h4,.cherry-markdown.theme__dark h5{color:#f78553}.cherry-markdown.theme__dark ul.cherry-list__upper-roman{list-style:upper-roman}.cherry-markdown.theme__dark ul.cherry-list__lower-greek{list-style:lower-greek}.cherry-markdown.theme__dark ul.cherry-list__cjk-ideographic{list-style:cjk-ideographic}.cherry-markdown.theme__dark ul.cherry-list__circle{list-style:circle}.cherry-markdown.theme__dark ul.cherry-list__square{list-style:square}.cherry-markdown.theme__dark blockquote{color:#c8c8c8}.cherry-markdown.theme__dark a{text-decoration:none;color:#ffcb6b}.cherry-markdown.theme__dark a:hover{color:#f78553}.cherry-markdown.theme__dark hr{border-color:#696969}.cherry-markdown.theme__dark p code,.cherry-markdown.theme__dark li code{background-color:#000;color:#ffcb6b;border:1px solid dimgray}.cherry-markdown.theme__dark table,.cherry-markdown.theme__dark .cherry-table{color:#c8c8c8}.cherry-markdown.theme__dark table th,.cherry-markdown.theme__dark .cherry-table th{background-color:#000}.cherry-markdown.theme__dark table tr,.cherry-markdown.theme__dark table th,.cherry-markdown.theme__dark table td,.cherry-markdown.theme__dark .cherry-table tr,.cherry-markdown.theme__dark .cherry-table th,.cherry-markdown.theme__dark .cherry-table td,.cherry-markdown.theme__dark .footnote{border-color:#696969}.cherry-markdown.theme__dark .footnote .footnote-title{background-color:#000}.cherry-markdown.theme__dark .footnote .one-footnote{color:#c8c8c8;border-color:#696969}.cherry-markdown.theme__dark .footnote .one-footnote a.footnote-ref{padding:5px}.cherry-markdown.theme__dark .toc{border:1px solid dimgray;margin-top:15px;margin-bottom:15px;margin-right:15px}.cherry-markdown.theme__dark .toc .toc-title{padding:15px;margin-bottom:15px;border-bottom:1px solid dimgray}.cherry-markdown.theme__dark .toc .toc-li{border:none;padding:0 20px}.cherry-markdown.theme__dark .toc .toc-li a{color:#c8c8c8}.cherry-markdown.theme__dark .toc .toc-li a:hover{color:#f78553}.cherry-markdown.theme__dark figure svg path,.cherry-markdown.theme__dark figure svg rect,.cherry-markdown.theme__dark figure svg line{stroke:#ffcb6b!important}.cherry-markdown.theme__dark figure svg text{fill:#faa000!important;stroke:none!important}.cherry-markdown.theme__dark figure svg tspan{fill:#faa000!important}.cherry-markdown.theme__dark figure svg circle{fill:#ececff!important}.cherry-markdown.theme__dark figure svg circle.state-start{fill:#faa000!important}.cherry-markdown.theme__dark .cherry-highlight-line{background-color:#151422}.cherry.theme__light .cherry-toolbar,.cherry.theme__light .cherry-floatmenu,.cherry.theme__light .cherry-bubble,.cherry.theme__light .cherry-sidebar{background:#fff;border-color:#fff}.cherry.theme__light .cherry-toolbar .cherry-toolbar-button,.cherry.theme__light .cherry-floatmenu .cherry-toolbar-button,.cherry.theme__light .cherry-bubble .cherry-toolbar-button,.cherry.theme__light .cherry-sidebar .cherry-toolbar-button{color:#3f4a56}.cherry.theme__light .cherry-toolbar .cherry-toolbar-button:hover,.cherry.theme__light .cherry-floatmenu .cherry-toolbar-button:hover,.cherry.theme__light .cherry-bubble .cherry-toolbar-button:hover,.cherry.theme__light .cherry-sidebar .cherry-toolbar-button:hover{background-color:#ebf3ff;color:#5d9bfc!important;border-color:#fff}.cherry.theme__light .cherry-toolbar .cherry-toolbar-button:hover i,.cherry.theme__light .cherry-floatmenu .cherry-toolbar-button:hover i,.cherry.theme__light .cherry-bubble .cherry-toolbar-button:hover i,.cherry.theme__light .cherry-sidebar .cherry-toolbar-button:hover i{color:#5d9bfc!important}.cherry.theme__light .cherry-dropdown{background:#fff}.cherry.theme__light .cherry-dropdown .cherry-dropdown-item{color:#3f4a56}.cherry.theme__light .cherry-dropdown .cherry-dropdown-item:hover{background-color:#ebf3ff;color:#5d9bfc}.cherry.theme__light .cherry-dropdown.cherry-color-wrap h3{color:#3f4a56}.cherry.theme__light .cherry-dropdown.cherry-color-wrap .cherry-color-item{border-color:#ebf3ff}.cherry.theme__light .cherry-dropdown.cherry-color-wrap .cherry-color-item:hover{border-color:#f78553}.cherry.theme__light .cherry-bubble .cherry-bubble-bottom{border-top-color:#fff}.cherry.theme__light .cherry-editor,.cherry.theme__light .cherry-editor .CodeMirror{background-color:#fff}.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-cursor{border-left:1px solid #000}.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll span,.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll .cm-variable-2,.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll .cm-string,.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll .cm-strong,.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll .cm-em,.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll .cm-meta{color:#3f4a56}.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll .cm-image-marker,.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll .cm-quote,.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll .cm-header{color:#228be6}.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{background-color:#d7e6fe}.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll .cm-comment,.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{color:#4dabf7}.cherry.theme__light .cherry-editor .CodeMirror .CodeMirror-selected{background-color:#ebf3ff}.cherry.theme__light .cherry-sidebar{box-shadow:0 0 10px #8091a533}.cherry.theme__light .cherry-previewer,.cherry.theme__light .cherry-previewer .cherry-mobile-previewer-content{background-color:#fff}.cherry.theme__light .cherry-previewer-table-content-handler .cherry-previewer-table-content-handler__input textarea{background-color:#fff;color:#3f4a56;outline-color:#228be6}.cherry-markdown.theme__light{color:#3f4a56;background-color:#fff}.cherry-markdown.theme__light h1,.cherry-markdown.theme__light h2,.cherry-markdown.theme__light h3,.cherry-markdown.theme__light h4,.cherry-markdown.theme__light h5{color:#228be6}.cherry-markdown.theme__light ul.cherry-list__upper-roman{list-style:upper-roman}.cherry-markdown.theme__light ul.cherry-list__lower-greek{list-style:lower-greek}.cherry-markdown.theme__light ul.cherry-list__cjk-ideographic{list-style:cjk-ideographic}.cherry-markdown.theme__light ul.cherry-list__circle{list-style:circle}.cherry-markdown.theme__light ul.cherry-list__square{list-style:square}.cherry-markdown.theme__light blockquote{color:#3f4a56;background-color:#e7f5ff;border-color:#1971c2}.cherry-markdown.theme__light a{text-decoration:none;color:#4dabf7}.cherry-markdown.theme__light a:hover{text-decoration:underline;color:#228be6}.cherry-markdown.theme__light hr{border-color:#1971c2}.cherry-markdown.theme__light p code,.cherry-markdown.theme__light li code{background-color:#d7e6fe;color:#4dabf7;border:1px solid #1971c2}.cherry-markdown.theme__light table,.cherry-markdown.theme__light .cherry-table{color:#3f4a56}.cherry-markdown.theme__light table th,.cherry-markdown.theme__light .cherry-table th{background-color:#d7e6fe}.cherry-markdown.theme__light table tr,.cherry-markdown.theme__light table th,.cherry-markdown.theme__light table td,.cherry-markdown.theme__light .cherry-table tr,.cherry-markdown.theme__light .cherry-table th,.cherry-markdown.theme__light .cherry-table td,.cherry-markdown.theme__light .footnote{border-color:#1971c2}.cherry-markdown.theme__light .footnote .footnote-title{background-color:#d7e6fe}.cherry-markdown.theme__light .footnote .one-footnote{color:#3f4a56;border-color:#1971c2}.cherry-markdown.theme__light .footnote .one-footnote a.footnote-ref{padding:5px}.cherry.theme__green .cherry-toolbar,.cherry.theme__green .cherry-floatmenu,.cherry.theme__green .cherry-bubble,.cherry.theme__green .cherry-sidebar{background:#fff;border-color:#fff}.cherry.theme__green .cherry-toolbar .cherry-toolbar-button,.cherry.theme__green .cherry-floatmenu .cherry-toolbar-button,.cherry.theme__green .cherry-bubble .cherry-toolbar-button,.cherry.theme__green .cherry-sidebar .cherry-toolbar-button,.cherry.theme__green .cherry-toolbar .cherry-toolbar-button i,.cherry.theme__green .cherry-floatmenu .cherry-toolbar-button i,.cherry.theme__green .cherry-bubble .cherry-toolbar-button i,.cherry.theme__green .cherry-sidebar .cherry-toolbar-button i{color:#2b8a3e}.cherry.theme__green .cherry-toolbar .cherry-toolbar-button:hover,.cherry.theme__green .cherry-floatmenu .cherry-toolbar-button:hover,.cherry.theme__green .cherry-bubble .cherry-toolbar-button:hover,.cherry.theme__green .cherry-sidebar .cherry-toolbar-button:hover{background-color:#51cf66;color:#ebfbee!important;border-color:#fff}.cherry.theme__green .cherry-toolbar .cherry-toolbar-button:hover i,.cherry.theme__green .cherry-floatmenu .cherry-toolbar-button:hover i,.cherry.theme__green .cherry-bubble .cherry-toolbar-button:hover i,.cherry.theme__green .cherry-sidebar .cherry-toolbar-button:hover i{color:#ebfbee!important}.cherry.theme__green .cherry-dropdown{background:#fff}.cherry.theme__green .cherry-dropdown .cherry-dropdown-item{color:#2b8a3e}.cherry.theme__green .cherry-dropdown .cherry-dropdown-item:hover{background-color:#51cf66;color:#ebfbee}.cherry.theme__green .cherry-dropdown.cherry-color-wrap h3{color:#2b8a3e}.cherry.theme__green .cherry-dropdown.cherry-color-wrap .cherry-color-item{border-color:#51cf66}.cherry.theme__green .cherry-dropdown.cherry-color-wrap .cherry-color-item:hover{border-color:#2b8a3e}.cherry.theme__green .cherry-bubble .cherry-bubble-bottom{border-top-color:#fff}.cherry.theme__green .cherry-editor,.cherry.theme__green .cherry-editor .CodeMirror{background-color:#fff}.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-cursor{border-left:1px solid #2b8a3e}.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll span,.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll .cm-variable-2,.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll .cm-string,.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll .cm-strong,.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll .cm-em,.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll .cm-meta{color:#2b8a3e}.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll .cm-image-marker,.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll .cm-quote,.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll .cm-header{color:#37b24d}.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{background-color:#ebfbee}.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll .cm-comment,.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{color:#40c057}.cherry.theme__green .cherry-editor .CodeMirror .CodeMirror-selected{background-color:#b2f2bb}.cherry.theme__green .cherry-sidebar{box-shadow:0 0 10px #8091a533}.cherry.theme__green .cherry-previewer{background-color:#ebfbee}.cherry.theme__green .cherry-previewer .cherry-mobile-previewer-content{background-color:#fff}.cherry.theme__green .cherry-previewer-table-content-handler .cherry-previewer-table-content-handler__input textarea{background-color:#fff;color:#2b8a3e;outline-color:#37b24d}.cherry-markdown.theme__green{color:#2b8a3e;background-color:#ebfbee}.cherry-markdown.theme__green h1,.cherry-markdown.theme__green h2,.cherry-markdown.theme__green h3,.cherry-markdown.theme__green h4,.cherry-markdown.theme__green h5{color:#37b24d;text-align:center;margin-bottom:35px}.cherry-markdown.theme__green ul.cherry-list__upper-roman{list-style:upper-roman}.cherry-markdown.theme__green ul.cherry-list__lower-greek{list-style:lower-greek}.cherry-markdown.theme__green ul.cherry-list__cjk-ideographic{list-style:cjk-ideographic}.cherry-markdown.theme__green ul.cherry-list__circle{list-style:circle}.cherry-markdown.theme__green ul.cherry-list__square{list-style:square}.cherry-markdown.theme__green blockquote{color:#2b8a3e;background-color:#d3f9d8;border-color:#2f9e44}.cherry-markdown.theme__green a{text-decoration:none;color:#40c057}.cherry-markdown.theme__green a:hover{text-decoration:underline;color:#37b24d}.cherry-markdown.theme__green hr{border-color:#2f9e44}.cherry-markdown.theme__green p code,.cherry-markdown.theme__green li code{background-color:#d3f9d8;color:#40c057;border:1px solid #2f9e44}.cherry-markdown.theme__green table,.cherry-markdown.theme__green .cherry-table{color:#2b8a3e}.cherry-markdown.theme__green table th,.cherry-markdown.theme__green .cherry-table th{background-color:#d3f9d8}.cherry-markdown.theme__green table tr,.cherry-markdown.theme__green table th,.cherry-markdown.theme__green table td,.cherry-markdown.theme__green .cherry-table tr,.cherry-markdown.theme__green .cherry-table th,.cherry-markdown.theme__green .cherry-table td,.cherry-markdown.theme__green .footnote{border-color:#2f9e44}.cherry-markdown.theme__green .footnote .footnote-title{background-color:#d3f9d8}.cherry-markdown.theme__green .footnote .one-footnote{color:#2b8a3e;border-color:#2f9e44}.cherry-markdown.theme__green .footnote .one-footnote a.footnote-ref{padding:5px}.cherry-markdown.theme__green .toc{border-bottom:1px solid #2f9e44;padding-bottom:15px;margin-bottom:30px}.cherry-markdown.theme__green .toc .toc-title{text-align:center;padding-bottom:15px;margin-top:30px;margin-bottom:15px;border-bottom:1px solid #2f9e44}.cherry-markdown.theme__green .toc .toc-li{border:none}.cherry-markdown.theme__green .toc .toc-li a{color:#2b8a3e}.cherry-markdown.theme__green .toc .toc-li a:hover{color:#37b24d}.cherry.theme__red .cherry-toolbar,.cherry.theme__red .cherry-floatmenu,.cherry.theme__red .cherry-bubble,.cherry.theme__red .cherry-sidebar{background:#ffdeeb;border-color:#ffdeeb}.cherry.theme__red .cherry-toolbar .cherry-toolbar-button,.cherry.theme__red .cherry-floatmenu .cherry-toolbar-button,.cherry.theme__red .cherry-bubble .cherry-toolbar-button,.cherry.theme__red .cherry-sidebar .cherry-toolbar-button,.cherry.theme__red .cherry-toolbar .cherry-toolbar-button i,.cherry.theme__red .cherry-floatmenu .cherry-toolbar-button i,.cherry.theme__red .cherry-bubble .cherry-toolbar-button i,.cherry.theme__red .cherry-sidebar .cherry-toolbar-button i{color:#c2255c}.cherry.theme__red .cherry-toolbar .cherry-toolbar-button:hover,.cherry.theme__red .cherry-floatmenu .cherry-toolbar-button:hover,.cherry.theme__red .cherry-bubble .cherry-toolbar-button:hover,.cherry.theme__red .cherry-sidebar .cherry-toolbar-button:hover{background-color:#f06595;color:#fff0f6!important;border-color:#ffdeeb}.cherry.theme__red .cherry-toolbar .cherry-toolbar-button:hover i,.cherry.theme__red .cherry-floatmenu .cherry-toolbar-button:hover i,.cherry.theme__red .cherry-bubble .cherry-toolbar-button:hover i,.cherry.theme__red .cherry-sidebar .cherry-toolbar-button:hover i{color:#fff0f6!important}.cherry.theme__red .cherry-dropdown{background:#ffdeeb}.cherry.theme__red .cherry-dropdown .cherry-dropdown-item{color:#c2255c}.cherry.theme__red .cherry-dropdown .cherry-dropdown-item:hover{background-color:#f06595;color:#fff0f6}.cherry.theme__red .cherry-dropdown.cherry-color-wrap h3{color:#c2255c}.cherry.theme__red .cherry-dropdown.cherry-color-wrap .cherry-color-item{border-color:#f06595}.cherry.theme__red .cherry-dropdown.cherry-color-wrap .cherry-color-item:hover{border-color:#a61e4d}.cherry.theme__red .cherry-bubble .cherry-bubble-bottom{border-top-color:#ffdeeb}.cherry.theme__red .cherry-editor,.cherry.theme__red .cherry-editor .CodeMirror{background-color:#fff0f6}.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-cursor{border-left:1px solid #a61e4d}.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll span,.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll .cm-variable-2,.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll .cm-string,.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll .cm-strong,.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll .cm-em,.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll .cm-meta{color:#a61e4d}.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll .cm-image-marker,.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll .cm-quote,.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll .cm-header{color:#d6336c}.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{background-color:#ffdeeb}.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll .cm-comment,.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{color:#f06595}.cherry.theme__red .cherry-editor .CodeMirror .CodeMirror-selected{background-color:#fcc2d7}.cherry.theme__red .cherry-sidebar{box-shadow:0 0 10px #fcc2d7}.cherry.theme__red .cherry-previewer,.cherry.theme__red .cherry-previewer .cherry-mobile-previewer-content{background-color:#fff0f6}.cherry.theme__red .cherry-previewer-table-content-handler .cherry-previewer-table-content-handler__input textarea{background-color:#fff0f6;color:#a61e4d;outline-color:#d6336c}.cherry-markdown.theme__red{color:#a61e4d;background-color:#fff0f6}.cherry-markdown.theme__red h1,.cherry-markdown.theme__red h2,.cherry-markdown.theme__red h3,.cherry-markdown.theme__red h4,.cherry-markdown.theme__red h5{color:#d6336c;text-align:center;border-bottom:1px dashed #c2255c;padding-bottom:15px;margin-bottom:25px}.cherry-markdown.theme__red ul.cherry-list__upper-roman{list-style:upper-roman}.cherry-markdown.theme__red ul.cherry-list__lower-greek{list-style:lower-greek}.cherry-markdown.theme__red ul.cherry-list__cjk-ideographic{list-style:cjk-ideographic}.cherry-markdown.theme__red ul.cherry-list__circle{list-style:circle}.cherry-markdown.theme__red ul.cherry-list__square{list-style:square}.cherry-markdown.theme__red blockquote{color:#a61e4d;background-color:#ffdeeb;border-color:#c2255c}.cherry-markdown.theme__red a{text-decoration:none;color:#f06595}.cherry-markdown.theme__red a:hover{text-decoration:underline;color:#d6336c}.cherry-markdown.theme__red hr{border-color:#c2255c}.cherry-markdown.theme__red p code,.cherry-markdown.theme__red li code{background-color:#ffdeeb;color:#f06595;border:1px solid #c2255c}.cherry-markdown.theme__red table,.cherry-markdown.theme__red .cherry-table{color:#a61e4d}.cherry-markdown.theme__red table th,.cherry-markdown.theme__red .cherry-table th{background-color:#ffdeeb}.cherry-markdown.theme__red table tr,.cherry-markdown.theme__red table th,.cherry-markdown.theme__red table td,.cherry-markdown.theme__red .cherry-table tr,.cherry-markdown.theme__red .cherry-table th,.cherry-markdown.theme__red .cherry-table td,.cherry-markdown.theme__red .footnote{border-color:#c2255c}.cherry-markdown.theme__red .footnote .footnote-title{background-color:#ffdeeb}.cherry-markdown.theme__red .footnote .one-footnote{color:#a61e4d;border-color:#c2255c}.cherry-markdown.theme__red .footnote .one-footnote a.footnote-ref{padding:5px}.cherry-markdown.theme__red .toc{border-bottom:1px solid #c2255c;padding-bottom:15px;margin-bottom:30px}.cherry-markdown.theme__red .toc .toc-title{text-align:center;padding-bottom:15px;margin-top:30px;margin-bottom:15px;border-bottom:1px solid #c2255c}.cherry-markdown.theme__red .toc .toc-li{border:none}.cherry-markdown.theme__red .toc .toc-li a{color:#a61e4d}.cherry-markdown.theme__red .toc .toc-li a:hover{color:#d6336c}.cherry.theme__violet .cherry-toolbar,.cherry.theme__violet .cherry-floatmenu,.cherry.theme__violet .cherry-bubble,.cherry.theme__violet .cherry-sidebar{background:#fff;border-color:#fff}.cherry.theme__violet .cherry-toolbar .cherry-toolbar-button,.cherry.theme__violet .cherry-floatmenu .cherry-toolbar-button,.cherry.theme__violet .cherry-bubble .cherry-toolbar-button,.cherry.theme__violet .cherry-sidebar .cherry-toolbar-button,.cherry.theme__violet .cherry-toolbar .cherry-toolbar-button i,.cherry.theme__violet .cherry-floatmenu .cherry-toolbar-button i,.cherry.theme__violet .cherry-bubble .cherry-toolbar-button i,.cherry.theme__violet .cherry-sidebar .cherry-toolbar-button i{color:#5f3dc4}.cherry.theme__violet .cherry-toolbar .cherry-toolbar-button:hover,.cherry.theme__violet .cherry-floatmenu .cherry-toolbar-button:hover,.cherry.theme__violet .cherry-bubble .cherry-toolbar-button:hover,.cherry.theme__violet .cherry-sidebar .cherry-toolbar-button:hover{background-color:#845ef7;color:#f3f0ff!important;border-color:#fff}.cherry.theme__violet .cherry-toolbar .cherry-toolbar-button:hover i,.cherry.theme__violet .cherry-floatmenu .cherry-toolbar-button:hover i,.cherry.theme__violet .cherry-bubble .cherry-toolbar-button:hover i,.cherry.theme__violet .cherry-sidebar .cherry-toolbar-button:hover i{color:#f3f0ff!important}.cherry.theme__violet .cherry-dropdown{background:#fff}.cherry.theme__violet .cherry-dropdown .cherry-dropdown-item{color:#5f3dc4}.cherry.theme__violet .cherry-dropdown .cherry-dropdown-item:hover{background-color:#845ef7;color:#f3f0ff}.cherry.theme__violet .cherry-dropdown.cherry-color-wrap h3{color:#5f3dc4}.cherry.theme__violet .cherry-dropdown.cherry-color-wrap .cherry-color-item{border-color:#845ef7}.cherry.theme__violet .cherry-dropdown.cherry-color-wrap .cherry-color-item:hover{border-color:#5f3dc4}.cherry.theme__violet .cherry-bubble .cherry-bubble-bottom{border-top-color:#fff}.cherry.theme__violet .cherry-editor,.cherry.theme__violet .cherry-editor .CodeMirror{background-color:#fff}.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-cursor{border-left:1px solid #5f3dc4}.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll span,.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll .cm-variable-2,.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll .cm-string,.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll .cm-strong,.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll .cm-em,.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll .cm-meta{color:#5f3dc4}.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll .cm-image-marker,.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll .cm-quote,.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll .cm-header{color:#7048e8}.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{background-color:#f3f0ff}.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll .cm-comment,.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{color:#7950f2}.cherry.theme__violet .cherry-editor .CodeMirror .CodeMirror-selected{background-color:#d0bfff}.cherry.theme__violet .cherry-sidebar{box-shadow:0 0 10px #8091a533}.cherry.theme__violet .cherry-previewer,.cherry.theme__violet .cherry-previewer .cherry-mobile-previewer-content{background-color:#fff}.cherry.theme__violet .cherry-previewer-table-content-handler .cherry-previewer-table-content-handler__input textarea{background-color:#fff;color:#5f3dc4;outline-color:#7048e8}.cherry-markdown.theme__violet{color:#5f3dc4;background-color:#fff}.cherry-markdown.theme__violet h1,.cherry-markdown.theme__violet h2,.cherry-markdown.theme__violet h3,.cherry-markdown.theme__violet h4,.cherry-markdown.theme__violet h5{color:#7048e8;text-align:center;margin-bottom:35px}.cherry-markdown.theme__violet ul.cherry-list__upper-roman{list-style:upper-roman}.cherry-markdown.theme__violet ul.cherry-list__lower-greek{list-style:lower-greek}.cherry-markdown.theme__violet ul.cherry-list__cjk-ideographic{list-style:cjk-ideographic}.cherry-markdown.theme__violet ul.cherry-list__circle{list-style:circle}.cherry-markdown.theme__violet ul.cherry-list__square{list-style:square}.cherry-markdown.theme__violet blockquote{color:#5f3dc4;background-color:#e5dbff;border-color:#6741d9}.cherry-markdown.theme__violet a{text-decoration:none;color:#7950f2}.cherry-markdown.theme__violet a:hover{text-decoration:underline;color:#7048e8}.cherry-markdown.theme__violet hr{border-color:#6741d9}.cherry-markdown.theme__violet p code,.cherry-markdown.theme__violet li code{background-color:#e5dbff;color:#7950f2;border:1px solid #6741d9}.cherry-markdown.theme__violet table,.cherry-markdown.theme__violet .cherry-table{color:#5f3dc4}.cherry-markdown.theme__violet table th,.cherry-markdown.theme__violet .cherry-table th{background-color:#e5dbff}.cherry-markdown.theme__violet table tr,.cherry-markdown.theme__violet table th,.cherry-markdown.theme__violet table td,.cherry-markdown.theme__violet .cherry-table tr,.cherry-markdown.theme__violet .cherry-table th,.cherry-markdown.theme__violet .cherry-table td,.cherry-markdown.theme__violet .footnote{border-color:#6741d9}.cherry-markdown.theme__violet .footnote .footnote-title{background-color:#e5dbff}.cherry-markdown.theme__violet .footnote .one-footnote{color:#5f3dc4;border-color:#6741d9}.cherry-markdown.theme__violet .footnote .one-footnote a.footnote-ref{padding:5px}.cherry-markdown.theme__violet .toc{border-bottom:1px solid #6741d9;padding-bottom:15px;margin-bottom:30px}.cherry-markdown.theme__violet .toc .toc-title{text-align:center;padding-bottom:15px;margin-top:30px;margin-bottom:15px;border-bottom:1px solid #6741d9}.cherry-markdown.theme__violet .toc .toc-li{border:none}.cherry-markdown.theme__violet .toc .toc-li a{color:#5f3dc4}.cherry-markdown.theme__violet .toc .toc-li a:hover{color:#7048e8}.cherry.theme__blue .cherry-toolbar,.cherry.theme__blue .cherry-floatmenu,.cherry.theme__blue .cherry-bubble,.cherry.theme__blue .cherry-sidebar{background:#e5dbff;border-color:#e5dbff}.cherry.theme__blue .cherry-toolbar .cherry-toolbar-button,.cherry.theme__blue .cherry-floatmenu .cherry-toolbar-button,.cherry.theme__blue .cherry-bubble .cherry-toolbar-button,.cherry.theme__blue .cherry-sidebar .cherry-toolbar-button,.cherry.theme__blue .cherry-toolbar .cherry-toolbar-button i,.cherry.theme__blue .cherry-floatmenu .cherry-toolbar-button i,.cherry.theme__blue .cherry-bubble .cherry-toolbar-button i,.cherry.theme__blue .cherry-sidebar .cherry-toolbar-button i{color:#3b5bdb}.cherry.theme__blue .cherry-toolbar .cherry-toolbar-button:hover,.cherry.theme__blue .cherry-floatmenu .cherry-toolbar-button:hover,.cherry.theme__blue .cherry-bubble .cherry-toolbar-button:hover,.cherry.theme__blue .cherry-sidebar .cherry-toolbar-button:hover{background-color:#845ef7;color:#edf2ff!important;border-color:#e5dbff}.cherry.theme__blue .cherry-toolbar .cherry-toolbar-button:hover i,.cherry.theme__blue .cherry-floatmenu .cherry-toolbar-button:hover i,.cherry.theme__blue .cherry-bubble .cherry-toolbar-button:hover i,.cherry.theme__blue .cherry-sidebar .cherry-toolbar-button:hover i{color:#edf2ff!important}.cherry.theme__blue .cherry-dropdown{background:#e5dbff}.cherry.theme__blue .cherry-dropdown .cherry-dropdown-item{color:#3b5bdb}.cherry.theme__blue .cherry-dropdown .cherry-dropdown-item:hover{background-color:#845ef7;color:#edf2ff}.cherry.theme__blue .cherry-dropdown.cherry-color-wrap h3{color:#3b5bdb}.cherry.theme__blue .cherry-dropdown.cherry-color-wrap .cherry-color-item{border-color:#845ef7}.cherry.theme__blue .cherry-dropdown.cherry-color-wrap .cherry-color-item:hover{border-color:#364fc7}.cherry.theme__blue .cherry-bubble .cherry-bubble-bottom{border-top-color:#e5dbff}.cherry.theme__blue .cherry-editor,.cherry.theme__blue .cherry-editor .CodeMirror{background-color:#f3f0ff}.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-cursor{border-left:1px solid #364fc7}.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll span,.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll .cm-variable-2,.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll .cm-string,.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll .cm-strong,.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll .cm-em,.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll .cm-meta{color:#364fc7}.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll .cm-image-marker,.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll .cm-quote,.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll .cm-header{color:#4263eb}.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{background-color:#e5dbff}.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll .cm-comment,.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-scroll .cm-url{color:#5c7cfa}.cherry.theme__blue .cherry-editor .CodeMirror .CodeMirror-selected{background-color:#d0bfff}.cherry.theme__blue .cherry-sidebar{box-shadow:0 0 10px #bac8ff}.cherry.theme__blue .cherry-previewer,.cherry.theme__blue .cherry-previewer .cherry-mobile-previewer-content{background-color:#f3f0ff}.cherry.theme__blue .cherry-previewer-table-content-handler .cherry-previewer-table-content-handler__input textarea{background-color:#f3f0ff;color:#364fc7;outline-color:#4263eb}.cherry-markdown.theme__blue{color:#364fc7;background-color:#f3f0ff}.cherry-markdown.theme__blue h1,.cherry-markdown.theme__blue h2,.cherry-markdown.theme__blue h3,.cherry-markdown.theme__blue h4,.cherry-markdown.theme__blue h5{color:#4263eb;text-align:center;border-bottom:1px dashed #3b5bdb;padding-bottom:15px;margin-bottom:25px}.cherry-markdown.theme__blue ul.cherry-list__upper-roman{list-style:upper-roman}.cherry-markdown.theme__blue ul.cherry-list__lower-greek{list-style:lower-greek}.cherry-markdown.theme__blue ul.cherry-list__cjk-ideographic{list-style:cjk-ideographic}.cherry-markdown.theme__blue ul.cherry-list__circle{list-style:circle}.cherry-markdown.theme__blue ul.cherry-list__square{list-style:square}.cherry-markdown.theme__blue blockquote{color:#364fc7;background-color:#e5dbff;border-color:#3b5bdb}.cherry-markdown.theme__blue a{text-decoration:none;color:#5c7cfa}.cherry-markdown.theme__blue a:hover{text-decoration:underline;color:#4263eb}.cherry-markdown.theme__blue hr{border-color:#3b5bdb}.cherry-markdown.theme__blue p code,.cherry-markdown.theme__blue li code{background-color:#e5dbff;color:#5c7cfa;border:1px solid #3b5bdb}.cherry-markdown.theme__blue table,.cherry-markdown.theme__blue .cherry-table{color:#364fc7}.cherry-markdown.theme__blue table th,.cherry-markdown.theme__blue .cherry-table th{background-color:#e5dbff}.cherry-markdown.theme__blue table tr,.cherry-markdown.theme__blue table th,.cherry-markdown.theme__blue table td,.cherry-markdown.theme__blue .cherry-table tr,.cherry-markdown.theme__blue .cherry-table th,.cherry-markdown.theme__blue .cherry-table td,.cherry-markdown.theme__blue .footnote{border-color:#3b5bdb}.cherry-markdown.theme__blue .footnote .footnote-title{background-color:#e5dbff}.cherry-markdown.theme__blue .footnote .one-footnote{color:#364fc7;border-color:#3b5bdb}.cherry-markdown.theme__blue .footnote .one-footnote a.footnote-ref{padding:5px}.cherry-markdown.theme__blue .toc{border-bottom:1px solid #3b5bdb;padding-bottom:15px;margin-bottom:30px}.cherry-markdown.theme__blue .toc .toc-title{text-align:center;padding-bottom:15px;margin-top:30px;margin-bottom:15px;border-bottom:1px solid #3b5bdb}.cherry-markdown.theme__blue .toc .toc-li{border:none}.cherry-markdown.theme__blue .toc .toc-li a{color:#364fc7}.cherry-markdown.theme__blue .toc .toc-li a:hover{color:#4263eb}#markdown-container{position:absolute;left:5vw;top:2vh;width:90vw}.custom-syntax{color:red}.language-go{white-space:break-spaces}
diff --git a/cmd/gopcomm/yap/markdown/index.html b/cmd/gopcomm/yap/markdown/index.html
deleted file mode 100644
index ce4c608d..00000000
--- a/cmd/gopcomm/yap/markdown/index.html
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
- Vite + Vue
-
-
-
-
-
-
-
diff --git a/cmd/gopcomm/yap/markdown_render.html b/cmd/gopcomm/yap/markdown_render.html
deleted file mode 100644
index e708d46d..00000000
--- a/cmd/gopcomm/yap/markdown_render.html
+++ /dev/null
@@ -1,111770 +0,0 @@
-
-
-
-
-
- Vite + Vue
-
-
-
-
-
-
-
diff --git a/cmd/gopcomm/yap/markdown/assets/ch-icon-64nn-aVV.svg b/cmd/gopcomm/yap/static/assets/ch-icon-64nn-aVV.svg
similarity index 100%
rename from cmd/gopcomm/yap/markdown/assets/ch-icon-64nn-aVV.svg
rename to cmd/gopcomm/yap/static/assets/ch-icon-64nn-aVV.svg
diff --git a/cmd/gopcomm/yap/markdown/assets/ch-icon-9AYFtjAd.woff b/cmd/gopcomm/yap/static/assets/ch-icon-9AYFtjAd.woff
similarity index 100%
rename from cmd/gopcomm/yap/markdown/assets/ch-icon-9AYFtjAd.woff
rename to cmd/gopcomm/yap/static/assets/ch-icon-9AYFtjAd.woff
diff --git a/cmd/gopcomm/yap/markdown/assets/ch-icon-L-dU5_Cw.woff2 b/cmd/gopcomm/yap/static/assets/ch-icon-L-dU5_Cw.woff2
similarity index 100%
rename from cmd/gopcomm/yap/markdown/assets/ch-icon-L-dU5_Cw.woff2
rename to cmd/gopcomm/yap/static/assets/ch-icon-L-dU5_Cw.woff2
diff --git a/cmd/gopcomm/yap/markdown/assets/ch-icon-tuZ9fmAk.ttf b/cmd/gopcomm/yap/static/assets/ch-icon-tuZ9fmAk.ttf
similarity index 100%
rename from cmd/gopcomm/yap/markdown/assets/ch-icon-tuZ9fmAk.ttf
rename to cmd/gopcomm/yap/static/assets/ch-icon-tuZ9fmAk.ttf
diff --git a/cmd/gopcomm/yap/markdown/assets/ch-icon-zh1GrP5x.eot b/cmd/gopcomm/yap/static/assets/ch-icon-zh1GrP5x.eot
similarity index 100%
rename from cmd/gopcomm/yap/markdown/assets/ch-icon-zh1GrP5x.eot
rename to cmd/gopcomm/yap/static/assets/ch-icon-zh1GrP5x.eot
diff --git a/cmd/gopcomm/yap/markdown/assets/index-mrjA3hii.js b/cmd/gopcomm/yap/static/assets/index-kBFUOeCi.js
similarity index 64%
rename from cmd/gopcomm/yap/markdown/assets/index-mrjA3hii.js
rename to cmd/gopcomm/yap/static/assets/index-kBFUOeCi.js
index 692fe4ff..72582359 100644
--- a/cmd/gopcomm/yap/markdown/assets/index-mrjA3hii.js
+++ b/cmd/gopcomm/yap/static/assets/index-kBFUOeCi.js
@@ -1,61 +1,61 @@
-var HAn=(r,i)=>()=>(i||r((i={exports:{}}).exports,i),i.exports);var gDn=HAn((Tb,Bb)=>{(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const h of document.querySelectorAll('link[rel="modulepreload"]'))l(h);new MutationObserver(h=>{for(const g of h)if(g.type==="childList")for(const d of g.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&l(d)}).observe(document,{childList:!0,subtree:!0});function o(h){const g={};return h.integrity&&(g.integrity=h.integrity),h.referrerPolicy&&(g.referrerPolicy=h.referrerPolicy),h.crossOrigin==="use-credentials"?g.credentials="include":h.crossOrigin==="anonymous"?g.credentials="omit":g.credentials="same-origin",g}function l(h){if(h.ep)return;h.ep=!0;const g=o(h);fetch(h.href,g)}})();/**
+var UAn=(r,i)=>()=>(i||r((i={exports:{}}).exports,i),i.exports);var ADn=UAn((Eb,Tb)=>{(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const h of document.querySelectorAll('link[rel="modulepreload"]'))l(h);new MutationObserver(h=>{for(const g of h)if(g.type==="childList")for(const d of g.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&l(d)}).observe(document,{childList:!0,subtree:!0});function o(h){const g={};return h.integrity&&(g.integrity=h.integrity),h.referrerPolicy&&(g.referrerPolicy=h.referrerPolicy),h.crossOrigin==="use-credentials"?g.credentials="include":h.crossOrigin==="anonymous"?g.credentials="omit":g.credentials="same-origin",g}function l(h){if(h.ep)return;h.ep=!0;const g=o(h);fetch(h.href,g)}})();/**
* @vue/shared v3.4.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
-**/function wNe(r,i){const o=new Set(r.split(","));return i?l=>o.has(l.toLowerCase()):l=>o.has(l)}const Bd={},V$=[],T6=()=>{},$An=()=>!1,rpe=r=>r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&(r.charCodeAt(2)>122||r.charCodeAt(2)<97),vNe=r=>r.startsWith("onUpdate:"),Ib=Object.assign,yNe=(r,i)=>{const o=r.indexOf(i);o>-1&&r.splice(o,1)},jAn=Object.prototype.hasOwnProperty,mh=(r,i)=>jAn.call(r,i),Pl=Array.isArray,zZ=r=>ape(r)==="[object Map]",KAn=r=>ape(r)==="[object Set]",Au=r=>typeof r=="function",Im=r=>typeof r=="string",ipe=r=>typeof r=="symbol",ng=r=>r!==null&&typeof r=="object",CTt=r=>(ng(r)||Au(r))&&Au(r.then)&&Au(r.catch),zAn=Object.prototype.toString,ape=r=>zAn.call(r),XAn=r=>ape(r).slice(8,-1),GAn=r=>ape(r)==="[object Object]",xNe=r=>Im(r)&&r!=="NaN"&&r[0]!=="-"&&""+parseInt(r,10)===r,UAe=wNe(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ope=r=>{const i=Object.create(null);return o=>i[o]||(i[o]=r(o))},VAn=/-(\w)/g,fj=ope(r=>r.replace(VAn,(i,o)=>o?o.toUpperCase():"")),WAn=/\B([A-Z])/g,Hj=ope(r=>r.replace(WAn,"-$1").toLowerCase()),ETt=ope(r=>r.charAt(0).toUpperCase()+r.slice(1)),NLe=ope(r=>r?`on${ETt(r)}`:""),oQ=(r,i)=>!Object.is(r,i),QLe=(r,i)=>{for(let o=0;o{Object.defineProperty(r,i,{configurable:!0,enumerable:!1,value:o})},qAn=r=>{const i=parseFloat(r);return isNaN(i)?r:i};let W4t;const TTt=()=>W4t||(W4t=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function kNe(r){if(Pl(r)){const i={};for(let o=0;o{if(o){const l=o.split(JAn);l.length>1&&(i[l[0].trim()]=l[1].trim())}}),i}function CNe(r){let i="";if(Im(r))i=r;else if(Pl(r))for(let o=0;oo.has(l.toLowerCase()):l=>o.has(l)}const _d={},G$=[],E6=()=>{},HAn=()=>!1,npe=r=>r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&(r.charCodeAt(2)>122||r.charCodeAt(2)<97),wNe=r=>r.startsWith("onUpdate:"),Lb=Object.assign,vNe=(r,i)=>{const o=r.indexOf(i);o>-1&&r.splice(o,1)},$An=Object.prototype.hasOwnProperty,mh=(r,i)=>$An.call(r,i),Pl=Array.isArray,jZ=r=>ipe(r)==="[object Map]",jAn=r=>ipe(r)==="[object Set]",Au=r=>typeof r=="function",Lm=r=>typeof r=="string",rpe=r=>typeof r=="symbol",ng=r=>r!==null&&typeof r=="object",kTt=r=>(ng(r)||Au(r))&&Au(r.then)&&Au(r.catch),KAn=Object.prototype.toString,ipe=r=>KAn.call(r),zAn=r=>ipe(r).slice(8,-1),XAn=r=>ipe(r)==="[object Object]",yNe=r=>Lm(r)&&r!=="NaN"&&r[0]!=="-"&&""+parseInt(r,10)===r,RAe=bNe(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ape=r=>{const i=Object.create(null);return o=>i[o]||(i[o]=r(o))},GAn=/-(\w)/g,hj=ape(r=>r.replace(GAn,(i,o)=>o?o.toUpperCase():"")),VAn=/\B([A-Z])/g,Uj=ape(r=>r.replace(VAn,"-$1").toLowerCase()),CTt=ape(r=>r.charAt(0).toUpperCase()+r.slice(1)),OLe=ape(r=>r?`on${CTt(r)}`:""),aQ=(r,i)=>!Object.is(r,i),NLe=(r,i)=>{for(let o=0;o{Object.defineProperty(r,i,{configurable:!0,enumerable:!1,value:o})},WAn=r=>{const i=parseFloat(r);return isNaN(i)?r:i};let V4t;const ETt=()=>V4t||(V4t=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xNe(r){if(Pl(r)){const i={};for(let o=0;o{if(o){const l=o.split(YAn);l.length>1&&(i[l[0].trim()]=l[1].trim())}}),i}function kNe(r){let i="";if(Lm(r))i=r;else if(Pl(r))for(let o=0;o=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),xQ()}return this._dirtyLevel>=2}set dirty(i){this._dirtyLevel=i?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let i=JI,o=ZN;try{return JI=!0,ZN=this,this._runnings++,q4t(this),this.fn()}finally{Y4t(this),this._runnings--,ZN=o,JI=i}}stop(){var i;this.active&&(q4t(this),Y4t(this),(i=this.onStop)==null||i.call(this),this.active=!1)}}function o0n(r){return r.value}function q4t(r){r._trackId++,r._depsLength=0}function Y4t(r){if(r.deps&&r.deps.length>r._depsLength){for(let i=r._depsLength;i{const o=new Map;return o.cleanup=r,o.computed=i,o},zFe=new WeakMap,eQ=Symbol(""),XFe=Symbol("");function ry(r,i,o){if(JI&&ZN){let l=zFe.get(r);l||zFe.set(r,l=new Map);let h=l.get(o);h||l.set(o,h=MTt(()=>l.delete(o))),LTt(ZN,h)}}function FB(r,i,o,l,h,g){const d=zFe.get(r);if(!d)return;let b=[];if(i==="clear")b=[...d.values()];else if(o==="length"&&Pl(r)){const w=Number(l);d.forEach((x,C)=>{(C==="length"||!ipe(C)&&C>=w)&&b.push(x)})}else switch(o!==void 0&&b.push(d.get(o)),i){case"add":Pl(r)?xNe(o)&&b.push(d.get("length")):(b.push(d.get(eQ)),zZ(r)&&b.push(d.get(XFe)));break;case"delete":Pl(r)||(b.push(d.get(eQ)),zZ(r)&&b.push(d.get(XFe)));break;case"set":zZ(r)&&b.push(d.get(eQ));break}TNe();for(const w of b)w&&ITt(w,2);BNe()}const s0n=wNe("__proto__,__v_isRef,__isVue"),FTt=new Set(Object.getOwnPropertyNames(Symbol).filter(r=>r!=="arguments"&&r!=="caller").map(r=>Symbol[r]).filter(ipe)),J4t=c0n();function c0n(){const r={};return["includes","indexOf","lastIndexOf"].forEach(i=>{r[i]=function(...o){const l=Ff(this);for(let g=0,d=this.length;g{r[i]=function(...o){yQ(),TNe();const l=Ff(this)[i].apply(this,o);return BNe(),xQ(),l}}),r}function l0n(r){const i=Ff(this);return ry(i,"has",r),i.hasOwnProperty(r)}class DTt{constructor(i=!1,o=!1){this._isReadonly=i,this._shallow=o}get(i,o,l){const h=this._isReadonly,g=this._shallow;if(o==="__v_isReactive")return!h;if(o==="__v_isReadonly")return h;if(o==="__v_isShallow")return g;if(o==="__v_raw")return l===(h?g?x0n:PTt:g?QTt:NTt).get(i)||Object.getPrototypeOf(i)===Object.getPrototypeOf(l)?i:void 0;const d=Pl(i);if(!h){if(d&&mh(J4t,o))return Reflect.get(J4t,o,l);if(o==="hasOwnProperty")return l0n}const b=Reflect.get(i,o,l);return(ipe(o)?FTt.has(o):s0n(o))||(h||ry(i,"get",o),g)?b:Z3(b)?d&&xNe(o)?b:b.value:ng(b)?h?RTt(b):LNe(b):b}}class OTt extends DTt{constructor(i=!1){super(!1,i)}set(i,o,l,h){let g=i[o];if(!this._shallow){const w=pee(g);if(!GFe(l)&&!pee(l)&&(g=Ff(g),l=Ff(l)),!Pl(i)&&Z3(g)&&!Z3(l))return w?!1:(g.value=l,!0)}const d=Pl(i)&&xNe(o)?Number(o)r,spe=r=>Reflect.getPrototypeOf(r);function Ode(r,i,o=!1,l=!1){r=r.__v_raw;const h=Ff(r),g=Ff(i);o||(oQ(i,g)&&ry(h,"get",i),ry(h,"get",g));const{has:d}=spe(h),b=l?_Ne:o?FNe:MNe;if(d.call(h,i))return b(r.get(i));if(d.call(h,g))return b(r.get(g));r!==h&&r.get(i)}function Nde(r,i=!1){const o=this.__v_raw,l=Ff(o),h=Ff(r);return i||(oQ(r,h)&&ry(l,"has",r),ry(l,"has",h)),r===h?o.has(r):o.has(r)||o.has(h)}function Qde(r,i=!1){return r=r.__v_raw,!i&&ry(Ff(r),"iterate",eQ),Reflect.get(r,"size",r)}function Z4t(r){r=Ff(r);const i=Ff(this);return spe(i).has.call(i,r)||(i.add(r),FB(i,"add",r,r)),this}function e5t(r,i){i=Ff(i);const o=Ff(this),{has:l,get:h}=spe(o);let g=l.call(o,r);g||(r=Ff(r),g=l.call(o,r));const d=h.call(o,r);return o.set(r,i),g?oQ(i,d)&&FB(o,"set",r,i):FB(o,"add",r,i),this}function t5t(r){const i=Ff(this),{has:o,get:l}=spe(i);let h=o.call(i,r);h||(r=Ff(r),h=o.call(i,r)),l&&l.call(i,r);const g=i.delete(r);return h&&FB(i,"delete",r,void 0),g}function n5t(){const r=Ff(this),i=r.size!==0,o=r.clear();return i&&FB(r,"clear",void 0,void 0),o}function Pde(r,i){return function(l,h){const g=this,d=g.__v_raw,b=Ff(d),w=i?_Ne:r?FNe:MNe;return!r&&ry(b,"iterate",eQ),d.forEach((x,C)=>l.call(h,w(x),w(C),g))}}function Rde(r,i,o){return function(...l){const h=this.__v_raw,g=Ff(h),d=zZ(g),b=r==="entries"||r===Symbol.iterator&&d,w=r==="keys"&&d,x=h[r](...l),C=o?_Ne:i?FNe:MNe;return!i&&ry(g,"iterate",w?XFe:eQ),{next(){const{value:B,done:L}=x.next();return L?{value:B,done:L}:{value:b?[C(B[0]),C(B[1])]:C(B),done:L}},[Symbol.iterator](){return this}}}}function _I(r){return function(...i){return r==="delete"?!1:r==="clear"?void 0:this}}function A0n(){const r={get(g){return Ode(this,g)},get size(){return Qde(this)},has:Nde,add:Z4t,set:e5t,delete:t5t,clear:n5t,forEach:Pde(!1,!1)},i={get(g){return Ode(this,g,!1,!0)},get size(){return Qde(this)},has:Nde,add:Z4t,set:e5t,delete:t5t,clear:n5t,forEach:Pde(!1,!0)},o={get(g){return Ode(this,g,!0)},get size(){return Qde(this,!0)},has(g){return Nde.call(this,g,!0)},add:_I("add"),set:_I("set"),delete:_I("delete"),clear:_I("clear"),forEach:Pde(!0,!1)},l={get(g){return Ode(this,g,!0,!0)},get size(){return Qde(this,!0)},has(g){return Nde.call(this,g,!0)},add:_I("add"),set:_I("set"),delete:_I("delete"),clear:_I("clear"),forEach:Pde(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(g=>{r[g]=Rde(g,!1,!1),o[g]=Rde(g,!0,!1),i[g]=Rde(g,!1,!0),l[g]=Rde(g,!0,!0)}),[r,o,i,l]}const[g0n,p0n,m0n,b0n]=A0n();function SNe(r,i){const o=i?r?b0n:m0n:r?p0n:g0n;return(l,h,g)=>h==="__v_isReactive"?!r:h==="__v_isReadonly"?r:h==="__v_raw"?l:Reflect.get(mh(o,h)&&h in l?o:l,h,g)}const w0n={get:SNe(!1,!1)},v0n={get:SNe(!1,!0)},y0n={get:SNe(!0,!1)},NTt=new WeakMap,QTt=new WeakMap,PTt=new WeakMap,x0n=new WeakMap;function k0n(r){switch(r){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function C0n(r){return r.__v_skip||!Object.isExtensible(r)?0:k0n(XAn(r))}function LNe(r){return pee(r)?r:INe(r,!1,h0n,w0n,NTt)}function E0n(r){return INe(r,!1,d0n,v0n,QTt)}function RTt(r){return INe(r,!0,f0n,y0n,PTt)}function INe(r,i,o,l,h){if(!ng(r)||r.__v_raw&&!(i&&r.__v_isReactive))return r;const g=h.get(r);if(g)return g;const d=C0n(r);if(d===0)return r;const b=new Proxy(r,d===2?l:o);return h.set(r,b),b}function W$(r){return pee(r)?W$(r.__v_raw):!!(r&&r.__v_isReactive)}function pee(r){return!!(r&&r.__v_isReadonly)}function GFe(r){return!!(r&&r.__v_isShallow)}function UTt(r){return W$(r)||pee(r)}function Ff(r){const i=r&&r.__v_raw;return i?Ff(i):r}function HTt(r){return K0e(r,"__v_skip",!0),r}const MNe=r=>ng(r)?LNe(r):r,FNe=r=>ng(r)?RTt(r):r;class $Tt{constructor(i,o,l,h){this._setter=o,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ENe(()=>i(this._value),()=>r5t(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!h,this.__v_isReadonly=l}get value(){const i=Ff(this);return(!i._cacheable||i.effect.dirty)&&oQ(i._value,i._value=i.effect.run())&&r5t(i,2),B0n(i),i._value}set value(i){this._setter(i)}get _dirty(){return this.effect.dirty}set _dirty(i){this.effect.dirty=i}}function T0n(r,i,o=!1){let l,h;const g=Au(r);return g?(l=r,h=T6):(l=r.get,h=r.set),new $Tt(l,h,g||!h,o)}function B0n(r){JI&&ZN&&(r=Ff(r),LTt(ZN,r.dep||(r.dep=MTt(()=>r.dep=void 0,r instanceof $Tt?r:void 0))))}function r5t(r,i=2,o){r=Ff(r);const l=r.dep;l&&ITt(l,i)}function Z3(r){return!!(r&&r.__v_isRef===!0)}function _0n(r){return Z3(r)?r.value:r}const S0n={get:(r,i,o)=>_0n(Reflect.get(r,i,o)),set:(r,i,o,l)=>{const h=r[i];return Z3(h)&&!Z3(o)?(h.value=o,!0):Reflect.set(r,i,o,l)}};function jTt(r){return W$(r)?r:new Proxy(r,S0n)}/**
+**/let e7;class n0n{constructor(i=!1){this.detached=i,this._active=!0,this.effects=[],this.cleanups=[],this.parent=e7,!i&&e7&&(this.index=(e7.scopes||(e7.scopes=[])).push(this)-1)}get active(){return this._active}run(i){if(this._active){const o=e7;try{return e7=this,i()}finally{e7=o}}}on(){e7=this}off(){e7=this.parent}stop(i){if(this._active){let o,l;for(o=0,l=this.effects.length;o=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),yQ()}return this._dirtyLevel>=2}set dirty(i){this._dirtyLevel=i?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let i=YM,o=JN;try{return YM=!0,JN=this,this._runnings++,W4t(this),this.fn()}finally{q4t(this),this._runnings--,JN=o,YM=i}}stop(){var i;this.active&&(W4t(this),q4t(this),(i=this.onStop)==null||i.call(this),this.active=!1)}}function a0n(r){return r.value}function W4t(r){r._trackId++,r._depsLength=0}function q4t(r){if(r.deps&&r.deps.length>r._depsLength){for(let i=r._depsLength;i{const o=new Map;return o.cleanup=r,o.computed=i,o},KFe=new WeakMap,ZN=Symbol(""),zFe=Symbol("");function ny(r,i,o){if(YM&&JN){let l=KFe.get(r);l||KFe.set(r,l=new Map);let h=l.get(o);h||l.set(o,h=MTt(()=>l.delete(o))),STt(JN,h)}}function IB(r,i,o,l,h,g){const d=KFe.get(r);if(!d)return;let b=[];if(i==="clear")b=[...d.values()];else if(o==="length"&&Pl(r)){const w=Number(l);d.forEach((x,C)=>{(C==="length"||!rpe(C)&&C>=w)&&b.push(x)})}else switch(o!==void 0&&b.push(d.get(o)),i){case"add":Pl(r)?yNe(o)&&b.push(d.get("length")):(b.push(d.get(ZN)),jZ(r)&&b.push(d.get(zFe)));break;case"delete":Pl(r)||(b.push(d.get(ZN)),jZ(r)&&b.push(d.get(zFe)));break;case"set":jZ(r)&&b.push(d.get(ZN));break}ENe();for(const w of b)w&<t(w,2);TNe()}const o0n=bNe("__proto__,__v_isRef,__isVue"),ITt=new Set(Object.getOwnPropertyNames(Symbol).filter(r=>r!=="arguments"&&r!=="caller").map(r=>Symbol[r]).filter(rpe)),Y4t=s0n();function s0n(){const r={};return["includes","indexOf","lastIndexOf"].forEach(i=>{r[i]=function(...o){const l=Ff(this);for(let g=0,d=this.length;g{r[i]=function(...o){vQ(),ENe();const l=Ff(this)[i].apply(this,o);return TNe(),yQ(),l}}),r}function c0n(r){const i=Ff(this);return ny(i,"has",r),i.hasOwnProperty(r)}class FTt{constructor(i=!1,o=!1){this._isReadonly=i,this._shallow=o}get(i,o,l){const h=this._isReadonly,g=this._shallow;if(o==="__v_isReactive")return!h;if(o==="__v_isReadonly")return h;if(o==="__v_isShallow")return g;if(o==="__v_raw")return l===(h?g?y0n:QTt:g?NTt:OTt).get(i)||Object.getPrototypeOf(i)===Object.getPrototypeOf(l)?i:void 0;const d=Pl(i);if(!h){if(d&&mh(Y4t,o))return Reflect.get(Y4t,o,l);if(o==="hasOwnProperty")return c0n}const b=Reflect.get(i,o,l);return(rpe(o)?ITt.has(o):o0n(o))||(h||ny(i,"get",o),g)?b:J3(b)?d&&yNe(o)?b:b.value:ng(b)?h?PTt(b):SNe(b):b}}class DTt extends FTt{constructor(i=!1){super(!1,i)}set(i,o,l,h){let g=i[o];if(!this._shallow){const w=gee(g);if(!XFe(l)&&!gee(l)&&(g=Ff(g),l=Ff(l)),!Pl(i)&&J3(g)&&!J3(l))return w?!1:(g.value=l,!0)}const d=Pl(i)&&yNe(o)?Number(o)r,ope=r=>Reflect.getPrototypeOf(r);function Dde(r,i,o=!1,l=!1){r=r.__v_raw;const h=Ff(r),g=Ff(i);o||(aQ(i,g)&&ny(h,"get",i),ny(h,"get",g));const{has:d}=ope(h),b=l?BNe:o?INe:MNe;if(d.call(h,i))return b(r.get(i));if(d.call(h,g))return b(r.get(g));r!==h&&r.get(i)}function Ode(r,i=!1){const o=this.__v_raw,l=Ff(o),h=Ff(r);return i||(aQ(r,h)&&ny(l,"has",r),ny(l,"has",h)),r===h?o.has(r):o.has(r)||o.has(h)}function Nde(r,i=!1){return r=r.__v_raw,!i&&ny(Ff(r),"iterate",ZN),Reflect.get(r,"size",r)}function J4t(r){r=Ff(r);const i=Ff(this);return ope(i).has.call(i,r)||(i.add(r),IB(i,"add",r,r)),this}function Z4t(r,i){i=Ff(i);const o=Ff(this),{has:l,get:h}=ope(o);let g=l.call(o,r);g||(r=Ff(r),g=l.call(o,r));const d=h.call(o,r);return o.set(r,i),g?aQ(i,d)&&IB(o,"set",r,i):IB(o,"add",r,i),this}function e5t(r){const i=Ff(this),{has:o,get:l}=ope(i);let h=o.call(i,r);h||(r=Ff(r),h=o.call(i,r)),l&&l.call(i,r);const g=i.delete(r);return h&&IB(i,"delete",r,void 0),g}function t5t(){const r=Ff(this),i=r.size!==0,o=r.clear();return i&&IB(r,"clear",void 0,void 0),o}function Qde(r,i){return function(l,h){const g=this,d=g.__v_raw,b=Ff(d),w=i?BNe:r?INe:MNe;return!r&&ny(b,"iterate",ZN),d.forEach((x,C)=>l.call(h,w(x),w(C),g))}}function Pde(r,i,o){return function(...l){const h=this.__v_raw,g=Ff(h),d=jZ(g),b=r==="entries"||r===Symbol.iterator&&d,w=r==="keys"&&d,x=h[r](...l),C=o?BNe:i?INe:MNe;return!i&&ny(g,"iterate",w?zFe:ZN),{next(){const{value:B,done:L}=x.next();return L?{value:B,done:L}:{value:b?[C(B[0]),C(B[1])]:C(B),done:L}},[Symbol.iterator](){return this}}}}function BM(r){return function(...i){return r==="delete"?!1:r==="clear"?void 0:this}}function d0n(){const r={get(g){return Dde(this,g)},get size(){return Nde(this)},has:Ode,add:J4t,set:Z4t,delete:e5t,clear:t5t,forEach:Qde(!1,!1)},i={get(g){return Dde(this,g,!1,!0)},get size(){return Nde(this)},has:Ode,add:J4t,set:Z4t,delete:e5t,clear:t5t,forEach:Qde(!1,!0)},o={get(g){return Dde(this,g,!0)},get size(){return Nde(this,!0)},has(g){return Ode.call(this,g,!0)},add:BM("add"),set:BM("set"),delete:BM("delete"),clear:BM("clear"),forEach:Qde(!0,!1)},l={get(g){return Dde(this,g,!0,!0)},get size(){return Nde(this,!0)},has(g){return Ode.call(this,g,!0)},add:BM("add"),set:BM("set"),delete:BM("delete"),clear:BM("clear"),forEach:Qde(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(g=>{r[g]=Pde(g,!1,!1),o[g]=Pde(g,!0,!1),i[g]=Pde(g,!1,!0),l[g]=Pde(g,!0,!0)}),[r,o,i,l]}const[A0n,g0n,p0n,m0n]=d0n();function _Ne(r,i){const o=i?r?m0n:p0n:r?g0n:A0n;return(l,h,g)=>h==="__v_isReactive"?!r:h==="__v_isReadonly"?r:h==="__v_raw"?l:Reflect.get(mh(o,h)&&h in l?o:l,h,g)}const b0n={get:_Ne(!1,!1)},w0n={get:_Ne(!1,!0)},v0n={get:_Ne(!0,!1)},OTt=new WeakMap,NTt=new WeakMap,QTt=new WeakMap,y0n=new WeakMap;function x0n(r){switch(r){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function k0n(r){return r.__v_skip||!Object.isExtensible(r)?0:x0n(zAn(r))}function SNe(r){return gee(r)?r:LNe(r,!1,u0n,b0n,OTt)}function C0n(r){return LNe(r,!1,f0n,w0n,NTt)}function PTt(r){return LNe(r,!0,h0n,v0n,QTt)}function LNe(r,i,o,l,h){if(!ng(r)||r.__v_raw&&!(i&&r.__v_isReactive))return r;const g=h.get(r);if(g)return g;const d=k0n(r);if(d===0)return r;const b=new Proxy(r,d===2?l:o);return h.set(r,b),b}function V$(r){return gee(r)?V$(r.__v_raw):!!(r&&r.__v_isReactive)}function gee(r){return!!(r&&r.__v_isReadonly)}function XFe(r){return!!(r&&r.__v_isShallow)}function RTt(r){return V$(r)||gee(r)}function Ff(r){const i=r&&r.__v_raw;return i?Ff(i):r}function UTt(r){return j0e(r,"__v_skip",!0),r}const MNe=r=>ng(r)?SNe(r):r,INe=r=>ng(r)?PTt(r):r;class HTt{constructor(i,o,l,h){this._setter=o,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new CNe(()=>i(this._value),()=>n5t(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!h,this.__v_isReadonly=l}get value(){const i=Ff(this);return(!i._cacheable||i.effect.dirty)&&aQ(i._value,i._value=i.effect.run())&&n5t(i,2),T0n(i),i._value}set value(i){this._setter(i)}get _dirty(){return this.effect.dirty}set _dirty(i){this.effect.dirty=i}}function E0n(r,i,o=!1){let l,h;const g=Au(r);return g?(l=r,h=E6):(l=r.get,h=r.set),new HTt(l,h,g||!h,o)}function T0n(r){YM&&JN&&(r=Ff(r),STt(JN,r.dep||(r.dep=MTt(()=>r.dep=void 0,r instanceof HTt?r:void 0))))}function n5t(r,i=2,o){r=Ff(r);const l=r.dep;l&<t(l,i)}function J3(r){return!!(r&&r.__v_isRef===!0)}function B0n(r){return J3(r)?r.value:r}const _0n={get:(r,i,o)=>B0n(Reflect.get(r,i,o)),set:(r,i,o,l)=>{const h=r[i];return J3(h)&&!J3(o)?(h.value=o,!0):Reflect.set(r,i,o,l)}};function $Tt(r){return V$(r)?r:new Proxy(r,_0n)}/**
* @vue/runtime-core v3.4.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
-**/function ZI(r,i,o,l){let h;try{h=l?r(...l):r()}catch(g){cpe(g,i,o)}return h}function pk(r,i,o,l){if(Au(r)){const g=ZI(r,i,o,l);return g&&CTt(g)&&g.catch(d=>{cpe(d,i,o)}),g}const h=[];for(let g=0;g>>1,h=Cb[l],g=bee(h);gn9&&Cb.splice(i,1)}function D0n(r){Pl(r)?q$.push(...r):(!$I||!$I.includes(r,r.allowRecurse?HN+1:HN))&&q$.push(r),zTt()}function i5t(r,i,o=mee?n9+1:0){for(;obee(o)-bee(l));if(q$.length=0,$I){$I.push(...i);return}for($I=i,HN=0;HN<$I.length;HN++)$I[HN]();$I=null,HN=0}}const bee=r=>r.id==null?1/0:r.id,O0n=(r,i)=>{const o=bee(r)-bee(i);if(o===0){if(r.pre&&!i.pre)return-1;if(i.pre&&!r.pre)return 1}return o};function GTt(r){VFe=!1,mee=!0,Cb.sort(O0n);try{for(n9=0;n9Im(I)?I.trim():I)),B&&(h=o.map(qAn))}let b,w=l[b=NLe(i)]||l[b=NLe(fj(i))];!w&&g&&(w=l[b=NLe(Hj(i))]),w&&pk(w,r,6,h);const x=l[b+"Once"];if(x){if(!r.emitted)r.emitted={};else if(r.emitted[b])return;r.emitted[b]=!0,pk(x,r,6,h)}}function VTt(r,i,o=!1){const l=i.emitsCache,h=l.get(r);if(h!==void 0)return h;const g=r.emits;let d={},b=!1;if(!Au(r)){const w=x=>{const C=VTt(x,i,!0);C&&(b=!0,Ib(d,C))};!o&&i.mixins.length&&i.mixins.forEach(w),r.extends&&w(r.extends),r.mixins&&r.mixins.forEach(w)}return!g&&!b?(ng(r)&&l.set(r,null),null):(Pl(g)?g.forEach(w=>d[w]=null):Ib(d,g),ng(r)&&l.set(r,d),d)}function lpe(r,i){return!r||!rpe(i)?!1:(i=i.slice(2).replace(/Once$/,""),mh(r,i[0].toLowerCase()+i.slice(1))||mh(r,Hj(i))||mh(r,i))}let r9=null,WTt=null;function z0e(r){const i=r9;return r9=r,WTt=r&&r.type.__scopeId||null,i}function Q0n(r,i=r9,o){if(!i||r._n)return r;const l=(...h)=>{l._d&&A5t(-1);const g=z0e(i);let d;try{d=r(...h)}finally{z0e(g),l._d&&A5t(1)}return d};return l._n=!0,l._c=!0,l._d=!0,l}function PLe(r){const{type:i,vnode:o,proxy:l,withProxy:h,props:g,propsOptions:[d],slots:b,attrs:w,emit:x,render:C,renderCache:B,data:L,setupState:I,ctx:P,inheritAttrs:z}=r;let W,Q;const V=z0e(r);try{if(o.shapeFlag&4){const G=h||l,ae=G;W=ZC(C.call(ae,G,B,g,I,L,P)),Q=w}else{const G=i;W=ZC(G.length>1?G(g,{attrs:w,slots:b,emit:x}):G(g,null)),Q=i.props?w:P0n(w)}}catch(G){GZ.length=0,cpe(G,r,1),W=eM(wee)}let oe=W;if(Q&&z!==!1){const G=Object.keys(Q),{shapeFlag:ae}=oe;G.length&&ae&7&&(d&&G.some(vNe)&&(Q=R0n(Q,d)),oe=dj(oe,Q))}return o.dirs&&(oe=dj(oe),oe.dirs=oe.dirs?oe.dirs.concat(o.dirs):o.dirs),o.transition&&(oe.transition=o.transition),W=oe,z0e(V),W}const P0n=r=>{let i;for(const o in r)(o==="class"||o==="style"||rpe(o))&&((i||(i={}))[o]=r[o]);return i},R0n=(r,i)=>{const o={};for(const l in r)(!vNe(l)||!(l.slice(9)in i))&&(o[l]=r[l]);return o};function U0n(r,i,o){const{props:l,children:h,component:g}=r,{props:d,children:b,patchFlag:w}=i,x=g.emitsOptions;if(i.dirs||i.transition)return!0;if(o&&w>=0){if(w&1024)return!0;if(w&16)return l?a5t(l,d,x):!!d;if(w&8){const C=i.dynamicProps;for(let B=0;Br.__isSuspense;function K0n(r,i){i&&i.pendingBranch?Pl(r)?i.effects.push(...r):i.effects.push(r):D0n(r)}const z0n=Symbol.for("v-scx"),X0n=()=>$Ae(z0n),Ude={};function RLe(r,i,o){return qTt(r,i,o)}function qTt(r,i,{immediate:o,deep:l,flush:h,once:g,onTrack:d,onTrigger:b}=Bd){if(i&&g){const ne=i;i=(...de)=>{ne(...de),ae()}}const w=W2,x=ne=>l===!0?ne:O$(ne,l===!1?1:void 0);let C,B=!1,L=!1;if(Z3(r)?(C=()=>r.value,B=GFe(r)):W$(r)?(C=()=>x(r),B=!0):Pl(r)?(L=!0,B=r.some(ne=>W$(ne)||GFe(ne)),C=()=>r.map(ne=>{if(Z3(ne))return ne.value;if(W$(ne))return x(ne);if(Au(ne))return ZI(ne,w,2)})):Au(r)?i?C=()=>ZI(r,w,2):C=()=>(I&&I(),pk(r,w,3,[P])):C=T6,i&&l){const ne=C;C=()=>O$(ne())}let I,P=ne=>{I=oe.onStop=()=>{ZI(ne,w,4),I=oe.onStop=void 0}},z;if(dpe)if(P=T6,i?o&&pk(i,w,3,[C(),L?[]:void 0,P]):C(),h==="sync"){const ne=X0n();z=ne.__watcherHandles||(ne.__watcherHandles=[])}else return T6;let W=L?new Array(r.length).fill(Ude):Ude;const Q=()=>{if(!(!oe.active||!oe.dirty))if(i){const ne=oe.run();(l||B||(L?ne.some((de,Ae)=>oQ(de,W[Ae])):oQ(ne,W)))&&(I&&I(),pk(i,w,3,[ne,W===Ude?void 0:L&&W[0]===Ude?[]:W,P]),W=ne)}else oe.run()};Q.allowRecurse=!!i;let V;h==="sync"?V=Q:h==="post"?V=()=>zv(Q,w&&w.suspense):(Q.pre=!0,w&&(Q.id=w.uid),V=()=>ONe(Q));const oe=new ENe(C,T6,V),G=a0n(),ae=()=>{oe.stop(),G&&yNe(G.effects,oe)};return i?o?Q():W=oe.run():h==="post"?zv(oe.run.bind(oe),w&&w.suspense):oe.run(),z&&z.push(ae),ae}function G0n(r,i,o){const l=this.proxy,h=Im(r)?r.includes(".")?YTt(l,r):()=>l[r]:r.bind(l,l);let g;Au(i)?g=i:(g=i.handler,o=i);const d=ote(this),b=qTt(h,g.bind(l),o);return d(),b}function YTt(r,i){const o=i.split(".");return()=>{let l=r;for(let h=0;h0){if(o>=i)return r;o++}if(l=l||new Set,l.has(r))return r;if(l.add(r),Z3(r))O$(r.value,i,o,l);else if(Pl(r))for(let h=0;h{O$(h,i,o,l)});else if(GAn(r))for(const h in r)O$(r[h],i,o,l);return r}function CN(r,i,o,l){const h=r.dirs,g=i&&i.dirs;for(let d=0;d!!r.type.__asyncLoader,JTt=r=>r.type.__isKeepAlive;function V0n(r,i){ZTt(r,"a",i)}function W0n(r,i){ZTt(r,"da",i)}function ZTt(r,i,o=W2){const l=r.__wdc||(r.__wdc=()=>{let h=o;for(;h;){if(h.isDeactivated)return;h=h.parent}return r()});if(upe(i,l,o),o){let h=o.parent;for(;h&&h.parent;)JTt(h.parent.vnode)&&q0n(l,i,o,h),h=h.parent}}function q0n(r,i,o,l){const h=upe(i,r,l,!0);eBt(()=>{yNe(l[i],h)},o)}function upe(r,i,o=W2,l=!1){if(o){const h=o[r]||(o[r]=[]),g=i.__weh||(i.__weh=(...d)=>{if(o.isUnmounted)return;yQ();const b=ote(o),w=pk(i,o,r,d);return b(),xQ(),w});return l?h.unshift(g):h.push(g),g}}const VB=r=>(i,o=W2)=>(!dpe||r==="sp")&&upe(r,(...l)=>i(...l),o),Y0n=VB("bm"),J0n=VB("m"),Z0n=VB("bu"),egn=VB("u"),tgn=VB("bum"),eBt=VB("um"),ngn=VB("sp"),rgn=VB("rtg"),ign=VB("rtc");function agn(r,i=W2){upe("ec",r,i)}const WFe=r=>r?dBt(r)?UNe(r)||r.proxy:WFe(r.parent):null,XZ=Ib(Object.create(null),{$:r=>r,$el:r=>r.vnode.el,$data:r=>r.data,$props:r=>r.props,$attrs:r=>r.attrs,$slots:r=>r.slots,$refs:r=>r.refs,$parent:r=>WFe(r.parent),$root:r=>WFe(r.root),$emit:r=>r.emit,$options:r=>NNe(r),$forceUpdate:r=>r.f||(r.f=()=>{r.effect.dirty=!0,ONe(r.update)}),$nextTick:r=>r.n||(r.n=I0n.bind(r.proxy)),$watch:r=>G0n.bind(r)}),ULe=(r,i)=>r!==Bd&&!r.__isScriptSetup&&mh(r,i),ogn={get({_:r},i){const{ctx:o,setupState:l,data:h,props:g,accessCache:d,type:b,appContext:w}=r;let x;if(i[0]!=="$"){const I=d[i];if(I!==void 0)switch(I){case 1:return l[i];case 2:return h[i];case 4:return o[i];case 3:return g[i]}else{if(ULe(l,i))return d[i]=1,l[i];if(h!==Bd&&mh(h,i))return d[i]=2,h[i];if((x=r.propsOptions[0])&&mh(x,i))return d[i]=3,g[i];if(o!==Bd&&mh(o,i))return d[i]=4,o[i];qFe&&(d[i]=0)}}const C=XZ[i];let B,L;if(C)return i==="$attrs"&&ry(r,"get",i),C(r);if((B=b.__cssModules)&&(B=B[i]))return B;if(o!==Bd&&mh(o,i))return d[i]=4,o[i];if(L=w.config.globalProperties,mh(L,i))return L[i]},set({_:r},i,o){const{data:l,setupState:h,ctx:g}=r;return ULe(h,i)?(h[i]=o,!0):l!==Bd&&mh(l,i)?(l[i]=o,!0):mh(r.props,i)||i[0]==="$"&&i.slice(1)in r?!1:(g[i]=o,!0)},has({_:{data:r,setupState:i,accessCache:o,ctx:l,appContext:h,propsOptions:g}},d){let b;return!!o[d]||r!==Bd&&mh(r,d)||ULe(i,d)||(b=g[0])&&mh(b,d)||mh(l,d)||mh(XZ,d)||mh(h.config.globalProperties,d)},defineProperty(r,i,o){return o.get!=null?r._.accessCache[i]=0:mh(o,"value")&&this.set(r,i,o.value,null),Reflect.defineProperty(r,i,o)}};function o5t(r){return Pl(r)?r.reduce((i,o)=>(i[o]=null,i),{}):r}let qFe=!0;function sgn(r){const i=NNe(r),o=r.proxy,l=r.ctx;qFe=!1,i.beforeCreate&&s5t(i.beforeCreate,r,"bc");const{data:h,computed:g,methods:d,watch:b,provide:w,inject:x,created:C,beforeMount:B,mounted:L,beforeUpdate:I,updated:P,activated:z,deactivated:W,beforeDestroy:Q,beforeUnmount:V,destroyed:oe,unmounted:G,render:ae,renderTracked:ne,renderTriggered:de,errorCaptured:Ae,serverPrefetch:le,expose:ve,inheritAttrs:me,components:ee,directives:ye,filters:Y}=i;if(x&&cgn(x,l,null),d)for(const ce in d){const $e=d[ce];Au($e)&&(l[ce]=$e.bind(o))}if(h){const ce=h.call(o,o);ng(ce)&&(r.data=LNe(ce))}if(qFe=!0,g)for(const ce in g){const $e=g[ce],Ye=Au($e)?$e.bind(o,o):Au($e.get)?$e.get.bind(o,o):T6,ct=!Au($e)&&Au($e.set)?$e.set.bind(o):T6,ot=Hgn({get:Ye,set:ct});Object.defineProperty(l,ce,{enumerable:!0,configurable:!0,get:()=>ot.value,set:Qe=>ot.value=Qe})}if(b)for(const ce in b)tBt(b[ce],l,o,ce);if(w){const ce=Au(w)?w.call(o):w;Reflect.ownKeys(ce).forEach($e=>{Agn($e,ce[$e])})}C&&s5t(C,r,"c");function fe(ce,$e){Pl($e)?$e.forEach(Ye=>ce(Ye.bind(o))):$e&&ce($e.bind(o))}if(fe(Y0n,B),fe(J0n,L),fe(Z0n,I),fe(egn,P),fe(V0n,z),fe(W0n,W),fe(agn,Ae),fe(ign,ne),fe(rgn,de),fe(tgn,V),fe(eBt,G),fe(ngn,le),Pl(ve))if(ve.length){const ce=r.exposed||(r.exposed={});ve.forEach($e=>{Object.defineProperty(ce,$e,{get:()=>o[$e],set:Ye=>o[$e]=Ye})})}else r.exposed||(r.exposed={});ae&&r.render===T6&&(r.render=ae),me!=null&&(r.inheritAttrs=me),ee&&(r.components=ee),ye&&(r.directives=ye)}function cgn(r,i,o=T6){Pl(r)&&(r=YFe(r));for(const l in r){const h=r[l];let g;ng(h)?"default"in h?g=$Ae(h.from||l,h.default,!0):g=$Ae(h.from||l):g=$Ae(h),Z3(g)?Object.defineProperty(i,l,{enumerable:!0,configurable:!0,get:()=>g.value,set:d=>g.value=d}):i[l]=g}}function s5t(r,i,o){pk(Pl(r)?r.map(l=>l.bind(i.proxy)):r.bind(i.proxy),i,o)}function tBt(r,i,o,l){const h=l.includes(".")?YTt(o,l):()=>o[l];if(Im(r)){const g=i[r];Au(g)&&RLe(h,g)}else if(Au(r))RLe(h,r.bind(o));else if(ng(r))if(Pl(r))r.forEach(g=>tBt(g,i,o,l));else{const g=Au(r.handler)?r.handler.bind(o):i[r.handler];Au(g)&&RLe(h,g,r)}}function NNe(r){const i=r.type,{mixins:o,extends:l}=i,{mixins:h,optionsCache:g,config:{optionMergeStrategies:d}}=r.appContext,b=g.get(i);let w;return b?w=b:!h.length&&!o&&!l?w=i:(w={},h.length&&h.forEach(x=>X0e(w,x,d,!0)),X0e(w,i,d)),ng(i)&&g.set(i,w),w}function X0e(r,i,o,l=!1){const{mixins:h,extends:g}=i;g&&X0e(r,g,o,!0),h&&h.forEach(d=>X0e(r,d,o,!0));for(const d in i)if(!(l&&d==="expose")){const b=lgn[d]||o&&o[d];r[d]=b?b(r[d],i[d]):i[d]}return r}const lgn={data:c5t,props:l5t,emits:l5t,methods:kZ,computed:kZ,beforeCreate:K2,created:K2,beforeMount:K2,mounted:K2,beforeUpdate:K2,updated:K2,beforeDestroy:K2,beforeUnmount:K2,destroyed:K2,unmounted:K2,activated:K2,deactivated:K2,errorCaptured:K2,serverPrefetch:K2,components:kZ,directives:kZ,watch:hgn,provide:c5t,inject:ugn};function c5t(r,i){return i?r?function(){return Ib(Au(r)?r.call(this,this):r,Au(i)?i.call(this,this):i)}:i:r}function ugn(r,i){return kZ(YFe(r),YFe(i))}function YFe(r){if(Pl(r)){const i={};for(let o=0;o1)return o&&Au(i)?i.call(l&&l.proxy):i}}function ggn(r,i,o,l=!1){const h={},g={};K0e(g,fpe,1),r.propsDefaults=Object.create(null),rBt(r,i,h,g);for(const d in r.propsOptions[0])d in h||(h[d]=void 0);o?r.props=l?h:E0n(h):r.type.props?r.props=h:r.props=g,r.attrs=g}function pgn(r,i,o,l){const{props:h,attrs:g,vnode:{patchFlag:d}}=r,b=Ff(h),[w]=r.propsOptions;let x=!1;if((l||d>0)&&!(d&16)){if(d&8){const C=r.vnode.dynamicProps;for(let B=0;B{w=!0;const[L,I]=iBt(B,i,!0);Ib(d,L),I&&b.push(...I)};!o&&i.mixins.length&&i.mixins.forEach(C),r.extends&&C(r.extends),r.mixins&&r.mixins.forEach(C)}if(!g&&!w)return ng(r)&&l.set(r,V$),V$;if(Pl(g))for(let C=0;C-1,I[1]=z<0||P-1||mh(I,"default"))&&b.push(B)}}}const x=[d,b];return ng(r)&&l.set(r,x),x}function u5t(r){return r[0]!=="$"}function h5t(r){const i=r&&r.toString().match(/^\s*(function|class) (\w+)/);return i?i[2]:r===null?"null":""}function f5t(r,i){return h5t(r)===h5t(i)}function d5t(r,i){return Pl(i)?i.findIndex(o=>f5t(o,r)):Au(i)&&f5t(i,r)?0:-1}const aBt=r=>r[0]==="_"||r==="$stable",QNe=r=>Pl(r)?r.map(ZC):[ZC(r)],mgn=(r,i,o)=>{if(i._n)return i;const l=Q0n((...h)=>QNe(i(...h)),o);return l._c=!1,l},oBt=(r,i,o)=>{const l=r._ctx;for(const h in r){if(aBt(h))continue;const g=r[h];if(Au(g))i[h]=mgn(h,g,l);else if(g!=null){const d=QNe(g);i[h]=()=>d}}},sBt=(r,i)=>{const o=QNe(i);r.slots.default=()=>o},bgn=(r,i)=>{if(r.vnode.shapeFlag&32){const o=i._;o?(r.slots=Ff(i),K0e(i,"_",o)):oBt(i,r.slots={})}else r.slots={},i&&sBt(r,i);K0e(r.slots,fpe,1)},wgn=(r,i,o)=>{const{vnode:l,slots:h}=r;let g=!0,d=Bd;if(l.shapeFlag&32){const b=i._;b?o&&b===1?g=!1:(Ib(h,i),!o&&b===1&&delete h._):(g=!i.$stable,oBt(i,h)),d=i}else i&&(sBt(r,i),d={default:1});if(g)for(const b in h)!aBt(b)&&d[b]==null&&delete h[b]};function ZFe(r,i,o,l,h=!1){if(Pl(r)){r.forEach((L,I)=>ZFe(L,i&&(Pl(i)?i[I]:i),o,l,h));return}if(HAe(l)&&!h)return;const g=l.shapeFlag&4?UNe(l.component)||l.component.proxy:l.el,d=h?null:g,{i:b,r:w}=r,x=i&&i.r,C=b.refs===Bd?b.refs={}:b.refs,B=b.setupState;if(x!=null&&x!==w&&(Im(x)?(C[x]=null,mh(B,x)&&(B[x]=null)):Z3(x)&&(x.value=null)),Au(w))ZI(w,b,12,[d,C]);else{const L=Im(w),I=Z3(w);if(L||I){const P=()=>{if(r.f){const z=L?mh(B,w)?B[w]:C[w]:w.value;h?Pl(z)&&yNe(z,g):Pl(z)?z.includes(g)||z.push(g):L?(C[w]=[g],mh(B,w)&&(B[w]=C[w])):(w.value=[g],r.k&&(C[r.k]=w.value))}else L?(C[w]=d,mh(B,w)&&(B[w]=d)):I&&(w.value=d,r.k&&(C[r.k]=d))};d?(P.id=-1,zv(P,o)):P()}}}const zv=K0n;function vgn(r){return ygn(r)}function ygn(r,i){const o=TTt();o.__VUE__=!0;const{insert:l,remove:h,patchProp:g,createElement:d,createText:b,createComment:w,setText:x,setElementText:C,parentNode:B,nextSibling:L,setScopeId:I=T6,insertStaticContent:P}=r,z=(He,lt,Ke,mn=null,je=null,zt=null,pt=void 0,sn=null,cn=!!lt.dynamicChildren)=>{if(He===lt)return;He&&!KJ(He,lt)&&(mn=Rn(He),Qe(He,je,zt,!0),He=null),lt.patchFlag===-2&&(cn=!1,lt.dynamicChildren=null);const{type:xn,ref:nn,shapeFlag:Qn}=lt;switch(xn){case hpe:W(He,lt,Ke,mn);break;case wee:Q(He,lt,Ke,mn);break;case $Le:He==null&&V(lt,Ke,mn,pt);break;case bB:ee(He,lt,Ke,mn,je,zt,pt,sn,cn);break;default:Qn&1?ae(He,lt,Ke,mn,je,zt,pt,sn,cn):Qn&6?ye(He,lt,Ke,mn,je,zt,pt,sn,cn):(Qn&64||Qn&128)&&xn.process(He,lt,Ke,mn,je,zt,pt,sn,cn,Kt)}nn!=null&&je&&ZFe(nn,He&&He.ref,zt,lt||He,!lt)},W=(He,lt,Ke,mn)=>{if(He==null)l(lt.el=b(lt.children),Ke,mn);else{const je=lt.el=He.el;lt.children!==He.children&&x(je,lt.children)}},Q=(He,lt,Ke,mn)=>{He==null?l(lt.el=w(lt.children||""),Ke,mn):lt.el=He.el},V=(He,lt,Ke,mn)=>{[He.el,He.anchor]=P(He.children,lt,Ke,mn,He.el,He.anchor)},oe=({el:He,anchor:lt},Ke,mn)=>{let je;for(;He&&He!==lt;)je=L(He),l(He,Ke,mn),He=je;l(lt,Ke,mn)},G=({el:He,anchor:lt})=>{let Ke;for(;He&&He!==lt;)Ke=L(He),h(He),He=Ke;h(lt)},ae=(He,lt,Ke,mn,je,zt,pt,sn,cn)=>{lt.type==="svg"?pt="svg":lt.type==="math"&&(pt="mathml"),He==null?ne(lt,Ke,mn,je,zt,pt,sn,cn):le(He,lt,je,zt,pt,sn,cn)},ne=(He,lt,Ke,mn,je,zt,pt,sn)=>{let cn,xn;const{props:nn,shapeFlag:Qn,transition:ln,dirs:Hn}=He;if(cn=He.el=d(He.type,zt,nn&&nn.is,nn),Qn&8?C(cn,He.children):Qn&16&&Ae(He.children,cn,null,mn,je,HLe(He,zt),pt,sn),Hn&&CN(He,null,mn,"created"),de(cn,He,He.scopeId,pt,mn),nn){for(const _r in nn)_r!=="value"&&!UAe(_r)&&g(cn,_r,null,nn[_r],zt,He.children,mn,je,Et);"value"in nn&&g(cn,"value",null,nn.value,zt),(xn=nn.onVnodeBeforeMount)&&zC(xn,mn,He)}Hn&&CN(He,null,mn,"beforeMount");const $t=xgn(je,ln);$t&&ln.beforeEnter(cn),l(cn,lt,Ke),((xn=nn&&nn.onVnodeMounted)||$t||Hn)&&zv(()=>{xn&&zC(xn,mn,He),$t&&ln.enter(cn),Hn&&CN(He,null,mn,"mounted")},je)},de=(He,lt,Ke,mn,je)=>{if(Ke&&I(He,Ke),mn)for(let zt=0;zt{for(let xn=cn;xn{const sn=lt.el=He.el;let{patchFlag:cn,dynamicChildren:xn,dirs:nn}=lt;cn|=He.patchFlag&16;const Qn=He.props||Bd,ln=lt.props||Bd;let Hn;if(Ke&&EN(Ke,!1),(Hn=ln.onVnodeBeforeUpdate)&&zC(Hn,Ke,lt,He),nn&&CN(lt,He,Ke,"beforeUpdate"),Ke&&EN(Ke,!0),xn?ve(He.dynamicChildren,xn,sn,Ke,mn,HLe(lt,je),zt):pt||$e(He,lt,sn,null,Ke,mn,HLe(lt,je),zt,!1),cn>0){if(cn&16)me(sn,lt,Qn,ln,Ke,mn,je);else if(cn&2&&Qn.class!==ln.class&&g(sn,"class",null,ln.class,je),cn&4&&g(sn,"style",Qn.style,ln.style,je),cn&8){const $t=lt.dynamicProps;for(let _r=0;_r<$t.length;_r++){const Lr=$t[_r],ti=Qn[Lr],_i=ln[Lr];(_i!==ti||Lr==="value")&&g(sn,Lr,ti,_i,je,He.children,Ke,mn,Et)}}cn&1&&He.children!==lt.children&&C(sn,lt.children)}else!pt&&xn==null&&me(sn,lt,Qn,ln,Ke,mn,je);((Hn=ln.onVnodeUpdated)||nn)&&zv(()=>{Hn&&zC(Hn,Ke,lt,He),nn&&CN(lt,He,Ke,"updated")},mn)},ve=(He,lt,Ke,mn,je,zt,pt)=>{for(let sn=0;sn{if(Ke!==mn){if(Ke!==Bd)for(const sn in Ke)!UAe(sn)&&!(sn in mn)&&g(He,sn,Ke[sn],null,pt,lt.children,je,zt,Et);for(const sn in mn){if(UAe(sn))continue;const cn=mn[sn],xn=Ke[sn];cn!==xn&&sn!=="value"&&g(He,sn,xn,cn,pt,lt.children,je,zt,Et)}"value"in mn&&g(He,"value",Ke.value,mn.value,pt)}},ee=(He,lt,Ke,mn,je,zt,pt,sn,cn)=>{const xn=lt.el=He?He.el:b(""),nn=lt.anchor=He?He.anchor:b("");let{patchFlag:Qn,dynamicChildren:ln,slotScopeIds:Hn}=lt;Hn&&(sn=sn?sn.concat(Hn):Hn),He==null?(l(xn,Ke,mn),l(nn,Ke,mn),Ae(lt.children||[],Ke,nn,je,zt,pt,sn,cn)):Qn>0&&Qn&64&&ln&&He.dynamicChildren?(ve(He.dynamicChildren,ln,Ke,je,zt,pt,sn),(lt.key!=null||je&<===je.subTree)&&cBt(He,lt,!0)):$e(He,lt,Ke,nn,je,zt,pt,sn,cn)},ye=(He,lt,Ke,mn,je,zt,pt,sn,cn)=>{lt.slotScopeIds=sn,He==null?lt.shapeFlag&512?je.ctx.activate(lt,Ke,mn,pt,cn):Y(lt,Ke,mn,je,zt,pt,cn):Ee(He,lt,cn)},Y=(He,lt,Ke,mn,je,zt,pt)=>{const sn=He.component=Ogn(He,mn,je);if(JTt(He)&&(sn.ctx.renderer=Kt),Ngn(sn),sn.asyncDep){if(je&&je.registerDep(sn,fe),!He.el){const cn=sn.subTree=eM(wee);Q(null,cn,lt,Ke)}}else fe(sn,He,lt,Ke,je,zt,pt)},Ee=(He,lt,Ke)=>{const mn=lt.component=He.component;if(U0n(He,lt,Ke))if(mn.asyncDep&&!mn.asyncResolved){ce(mn,lt,Ke);return}else mn.next=lt,F0n(mn.update),mn.effect.dirty=!0,mn.update();else lt.el=He.el,mn.vnode=lt},fe=(He,lt,Ke,mn,je,zt,pt)=>{const sn=()=>{if(He.isMounted){let{next:nn,bu:Qn,u:ln,parent:Hn,vnode:$t}=He;{const ro=lBt(He);if(ro){nn&&(nn.el=$t.el,ce(He,nn,pt)),ro.asyncDep.then(()=>{He.isUnmounted||sn()});return}}let _r=nn,Lr;EN(He,!1),nn?(nn.el=$t.el,ce(He,nn,pt)):nn=$t,Qn&&QLe(Qn),(Lr=nn.props&&nn.props.onVnodeBeforeUpdate)&&zC(Lr,Hn,nn,$t),EN(He,!0);const ti=PLe(He),_i=He.subTree;He.subTree=ti,z(_i,ti,B(_i.el),Rn(_i),He,je,zt),nn.el=ti.el,_r===null&&H0n(He,ti.el),ln&&zv(ln,je),(Lr=nn.props&&nn.props.onVnodeUpdated)&&zv(()=>zC(Lr,Hn,nn,$t),je)}else{let nn;const{el:Qn,props:ln}=lt,{bm:Hn,m:$t,parent:_r}=He,Lr=HAe(lt);if(EN(He,!1),Hn&&QLe(Hn),!Lr&&(nn=ln&&ln.onVnodeBeforeMount)&&zC(nn,_r,lt),EN(He,!0),Qn&&Vt){const ti=()=>{He.subTree=PLe(He),Vt(Qn,He.subTree,He,je,null)};Lr?lt.type.__asyncLoader().then(()=>!He.isUnmounted&&ti()):ti()}else{const ti=He.subTree=PLe(He);z(null,ti,Ke,mn,He,je,zt),lt.el=ti.el}if($t&&zv($t,je),!Lr&&(nn=ln&&ln.onVnodeMounted)){const ti=lt;zv(()=>zC(nn,_r,ti),je)}(lt.shapeFlag&256||_r&&HAe(_r.vnode)&&_r.vnode.shapeFlag&256)&&He.a&&zv(He.a,je),He.isMounted=!0,lt=Ke=mn=null}},cn=He.effect=new ENe(sn,T6,()=>ONe(xn),He.scope),xn=He.update=()=>{cn.dirty&&cn.run()};xn.id=He.uid,EN(He,!0),xn()},ce=(He,lt,Ke)=>{lt.component=He;const mn=He.vnode.props;He.vnode=lt,He.next=null,pgn(He,lt.props,mn,Ke),wgn(He,lt.children,Ke),yQ(),i5t(He),xQ()},$e=(He,lt,Ke,mn,je,zt,pt,sn,cn=!1)=>{const xn=He&&He.children,nn=He?He.shapeFlag:0,Qn=lt.children,{patchFlag:ln,shapeFlag:Hn}=lt;if(ln>0){if(ln&128){ct(xn,Qn,Ke,mn,je,zt,pt,sn,cn);return}else if(ln&256){Ye(xn,Qn,Ke,mn,je,zt,pt,sn,cn);return}}Hn&8?(nn&16&&Et(xn,je,zt),Qn!==xn&&C(Ke,Qn)):nn&16?Hn&16?ct(xn,Qn,Ke,mn,je,zt,pt,sn,cn):Et(xn,je,zt,!0):(nn&8&&C(Ke,""),Hn&16&&Ae(Qn,Ke,mn,je,zt,pt,sn,cn))},Ye=(He,lt,Ke,mn,je,zt,pt,sn,cn)=>{He=He||V$,lt=lt||V$;const xn=He.length,nn=lt.length,Qn=Math.min(xn,nn);let ln;for(ln=0;lnnn?Et(He,je,zt,!0,!1,Qn):Ae(lt,Ke,mn,je,zt,pt,sn,cn,Qn)},ct=(He,lt,Ke,mn,je,zt,pt,sn,cn)=>{let xn=0;const nn=lt.length;let Qn=He.length-1,ln=nn-1;for(;xn<=Qn&&xn<=ln;){const Hn=He[xn],$t=lt[xn]=cn?jI(lt[xn]):ZC(lt[xn]);if(KJ(Hn,$t))z(Hn,$t,Ke,null,je,zt,pt,sn,cn);else break;xn++}for(;xn<=Qn&&xn<=ln;){const Hn=He[Qn],$t=lt[ln]=cn?jI(lt[ln]):ZC(lt[ln]);if(KJ(Hn,$t))z(Hn,$t,Ke,null,je,zt,pt,sn,cn);else break;Qn--,ln--}if(xn>Qn){if(xn<=ln){const Hn=ln+1,$t=Hnln)for(;xn<=Qn;)Qe(He[xn],je,zt,!0),xn++;else{const Hn=xn,$t=xn,_r=new Map;for(xn=$t;xn<=ln;xn++){const lr=lt[xn]=cn?jI(lt[xn]):ZC(lt[xn]);lr.key!=null&&_r.set(lr.key,xn)}let Lr,ti=0;const _i=ln-$t+1;let ro=!1,Js=0;const mi=new Array(_i);for(xn=0;xn<_i;xn++)mi[xn]=0;for(xn=Hn;xn<=Qn;xn++){const lr=He[xn];if(ti>=_i){Qe(lr,je,zt,!0);continue}let vr;if(lr.key!=null)vr=_r.get(lr.key);else for(Lr=$t;Lr<=ln;Lr++)if(mi[Lr-$t]===0&&KJ(lr,lt[Lr])){vr=Lr;break}vr===void 0?Qe(lr,je,zt,!0):(mi[vr-$t]=xn+1,vr>=Js?Js=vr:ro=!0,z(lr,lt[vr],Ke,null,je,zt,pt,sn,cn),ti++)}const Ta=ro?kgn(mi):V$;for(Lr=Ta.length-1,xn=_i-1;xn>=0;xn--){const lr=$t+xn,vr=lt[lr],Zr=lr+1{const{el:zt,type:pt,transition:sn,children:cn,shapeFlag:xn}=He;if(xn&6){ot(He.component.subTree,lt,Ke,mn);return}if(xn&128){He.suspense.move(lt,Ke,mn);return}if(xn&64){pt.move(He,lt,Ke,Kt);return}if(pt===bB){l(zt,lt,Ke);for(let Qn=0;Qnsn.enter(zt),je);else{const{leave:Qn,delayLeave:ln,afterLeave:Hn}=sn,$t=()=>l(zt,lt,Ke),_r=()=>{Qn(zt,()=>{$t(),Hn&&Hn()})};ln?ln(zt,$t,_r):_r()}else l(zt,lt,Ke)},Qe=(He,lt,Ke,mn=!1,je=!1)=>{const{type:zt,props:pt,ref:sn,children:cn,dynamicChildren:xn,shapeFlag:nn,patchFlag:Qn,dirs:ln}=He;if(sn!=null&&ZFe(sn,null,Ke,He,!0),nn&256){lt.ctx.deactivate(He);return}const Hn=nn&1&&ln,$t=!HAe(He);let _r;if($t&&(_r=pt&&pt.onVnodeBeforeUnmount)&&zC(_r,lt,He),nn&6)Rt(He.component,Ke,mn);else{if(nn&128){He.suspense.unmount(Ke,mn);return}Hn&&CN(He,null,lt,"beforeUnmount"),nn&64?He.type.remove(He,lt,Ke,je,Kt,mn):xn&&(zt!==bB||Qn>0&&Qn&64)?Et(xn,lt,Ke,!1,!0):(zt===bB&&Qn&384||!je&&nn&16)&&Et(cn,lt,Ke),mn&&Le(He)}($t&&(_r=pt&&pt.onVnodeUnmounted)||Hn)&&zv(()=>{_r&&zC(_r,lt,He),Hn&&CN(He,null,lt,"unmounted")},Ke)},Le=He=>{const{type:lt,el:Ke,anchor:mn,transition:je}=He;if(lt===bB){ht(Ke,mn);return}if(lt===$Le){G(He);return}const zt=()=>{h(Ke),je&&!je.persisted&&je.afterLeave&&je.afterLeave()};if(He.shapeFlag&1&&je&&!je.persisted){const{leave:pt,delayLeave:sn}=je,cn=()=>pt(Ke,zt);sn?sn(He.el,zt,cn):cn()}else zt()},ht=(He,lt)=>{let Ke;for(;He!==lt;)Ke=L(He),h(He),He=Ke;h(lt)},Rt=(He,lt,Ke)=>{const{bum:mn,scope:je,update:zt,subTree:pt,um:sn}=He;mn&&QLe(mn),je.stop(),zt&&(zt.active=!1,Qe(pt,He,lt,Ke)),sn&&zv(sn,lt),zv(()=>{He.isUnmounted=!0},lt),lt&<.pendingBranch&&!lt.isUnmounted&&He.asyncDep&&!He.asyncResolved&&He.suspenseId===lt.pendingId&&(lt.deps--,lt.deps===0&<.resolve())},Et=(He,lt,Ke,mn=!1,je=!1,zt=0)=>{for(let pt=zt;ptHe.shapeFlag&6?Rn(He.component.subTree):He.shapeFlag&128?He.suspense.next():L(He.anchor||He.el);let xt=!1;const on=(He,lt,Ke)=>{He==null?lt._vnode&&Qe(lt._vnode,null,null,!0):z(lt._vnode||null,He,lt,null,null,null,Ke),xt||(xt=!0,i5t(),XTt(),xt=!1),lt._vnode=He},Kt={p:z,um:Qe,m:ot,r:Le,mt:Y,mc:Ae,pc:$e,pbc:ve,n:Rn,o:r};let Xt,Vt;return i&&([Xt,Vt]=i(Kt)),{render:on,hydrate:Xt,createApp:dgn(on,Xt)}}function HLe({type:r,props:i},o){return o==="svg"&&r==="foreignObject"||o==="mathml"&&r==="annotation-xml"&&i&&i.encoding&&i.encoding.includes("html")?void 0:o}function EN({effect:r,update:i},o){r.allowRecurse=i.allowRecurse=o}function xgn(r,i){return(!r||r&&!r.pendingBranch)&&i&&!i.persisted}function cBt(r,i,o=!1){const l=r.children,h=i.children;if(Pl(l)&&Pl(h))for(let g=0;g>1,r[o[b]]0&&(i[l]=o[g-1]),o[g]=l)}}for(g=o.length,d=o[g-1];g-- >0;)o[g]=d,d=i[d];return o}function lBt(r){const i=r.subTree.component;if(i)return i.asyncDep&&!i.asyncResolved?i:lBt(i)}const Cgn=r=>r.__isTeleport,bB=Symbol.for("v-fgt"),hpe=Symbol.for("v-txt"),wee=Symbol.for("v-cmt"),$Le=Symbol.for("v-stc"),GZ=[];let fk=null;function uBt(r=!1){GZ.push(fk=r?null:[])}function Egn(){GZ.pop(),fk=GZ[GZ.length-1]||null}let vee=1;function A5t(r){vee+=r}function hBt(r){return r.dynamicChildren=vee>0?fk||V$:null,Egn(),vee>0&&fk&&fk.push(r),r}function Tgn(r,i,o,l,h,g){return hBt(PNe(r,i,o,l,h,g,!0))}function Bgn(r,i,o,l,h){return hBt(eM(r,i,o,l,h,!0))}function _gn(r){return r?r.__v_isVNode===!0:!1}function KJ(r,i){return r.type===i.type&&r.key===i.key}const fpe="__vInternal",fBt=({key:r})=>r??null,jAe=({ref:r,ref_key:i,ref_for:o})=>(typeof r=="number"&&(r=""+r),r!=null?Im(r)||Z3(r)||Au(r)?{i:r9,r,k:i,f:!!o}:r:null);function PNe(r,i=null,o=null,l=0,h=null,g=r===bB?0:1,d=!1,b=!1){const w={__v_isVNode:!0,__v_skip:!0,type:r,props:i,key:i&&fBt(i),ref:i&&jAe(i),scopeId:WTt,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:g,patchFlag:l,dynamicProps:h,dynamicChildren:null,appContext:null,ctx:r9};return b?(RNe(w,o),g&128&&r.normalize(w)):o&&(w.shapeFlag|=Im(o)?8:16),vee>0&&!d&&fk&&(w.patchFlag>0||g&6)&&w.patchFlag!==32&&fk.push(w),w}const eM=Sgn;function Sgn(r,i=null,o=null,l=0,h=null,g=!1){if((!r||r===$0n)&&(r=wee),_gn(r)){const b=dj(r,i,!0);return o&&RNe(b,o),vee>0&&!g&&fk&&(b.shapeFlag&6?fk[fk.indexOf(r)]=b:fk.push(b)),b.patchFlag|=-2,b}if(Ugn(r)&&(r=r.__vccOpts),i){i=Lgn(i);let{class:b,style:w}=i;b&&!Im(b)&&(i.class=CNe(b)),ng(w)&&(UTt(w)&&!Pl(w)&&(w=Ib({},w)),i.style=kNe(w))}const d=Im(r)?1:j0n(r)?128:Cgn(r)?64:ng(r)?4:Au(r)?2:0;return PNe(r,i,o,l,h,d,g,!0)}function Lgn(r){return r?UTt(r)||fpe in r?Ib({},r):r:null}function dj(r,i,o=!1){const{props:l,ref:h,patchFlag:g,children:d}=r,b=i?Mgn(l||{},i):l;return{__v_isVNode:!0,__v_skip:!0,type:r.type,props:b,key:b&&fBt(b),ref:i&&i.ref?o&&h?Pl(h)?h.concat(jAe(i)):[h,jAe(i)]:jAe(i):h,scopeId:r.scopeId,slotScopeIds:r.slotScopeIds,children:d,target:r.target,targetAnchor:r.targetAnchor,staticCount:r.staticCount,shapeFlag:r.shapeFlag,patchFlag:i&&r.type!==bB?g===-1?16:g|16:g,dynamicProps:r.dynamicProps,dynamicChildren:r.dynamicChildren,appContext:r.appContext,dirs:r.dirs,transition:r.transition,component:r.component,suspense:r.suspense,ssContent:r.ssContent&&dj(r.ssContent),ssFallback:r.ssFallback&&dj(r.ssFallback),el:r.el,anchor:r.anchor,ctx:r.ctx,ce:r.ce}}function Ign(r=" ",i=0){return eM(hpe,null,r,i)}function ZC(r){return r==null||typeof r=="boolean"?eM(wee):Pl(r)?eM(bB,null,r.slice()):typeof r=="object"?jI(r):eM(hpe,null,String(r))}function jI(r){return r.el===null&&r.patchFlag!==-1||r.memo?r:dj(r)}function RNe(r,i){let o=0;const{shapeFlag:l}=r;if(i==null)i=null;else if(Pl(i))o=16;else if(typeof i=="object")if(l&65){const h=i.default;h&&(h._c&&(h._d=!1),RNe(r,h()),h._c&&(h._d=!0));return}else{o=32;const h=i._;!h&&!(fpe in i)?i._ctx=r9:h===3&&r9&&(r9.slots._===1?i._=1:(i._=2,r.patchFlag|=1024))}else Au(i)?(i={default:i,_ctx:r9},o=32):(i=String(i),l&64?(o=16,i=[Ign(i)]):o=8);r.children=i,r.shapeFlag|=o}function Mgn(...r){const i={};for(let o=0;o{let h;return(h=r[o])||(h=r[o]=[]),h.push(l),g=>{h.length>1?h.forEach(d=>d(g)):h[0](g)}};V0e=i("__VUE_INSTANCE_SETTERS__",o=>W2=o),eDe=i("__VUE_SSR_SETTERS__",o=>dpe=o)}const ote=r=>{const i=W2;return V0e(r),r.scope.on(),()=>{r.scope.off(),V0e(i)}},g5t=()=>{W2&&W2.scope.off(),V0e(null)};function dBt(r){return r.vnode.shapeFlag&4}let dpe=!1;function Ngn(r,i=!1){i&&eDe(i);const{props:o,children:l}=r.vnode,h=dBt(r);ggn(r,o,h,i),bgn(r,l);const g=h?Qgn(r,i):void 0;return i&&eDe(!1),g}function Qgn(r,i){const o=r.type;r.accessCache=Object.create(null),r.proxy=HTt(new Proxy(r.ctx,ogn));const{setup:l}=o;if(l){const h=r.setupContext=l.length>1?Rgn(r):null,g=ote(r);yQ();const d=ZI(l,r,0,[r.props,h]);if(xQ(),g(),CTt(d)){if(d.then(g5t,g5t),i)return d.then(b=>{p5t(r,b,i)}).catch(b=>{cpe(b,r,0)});r.asyncDep=d}else p5t(r,d,i)}else ABt(r,i)}function p5t(r,i,o){Au(i)?r.type.__ssrInlineRender?r.ssrRender=i:r.render=i:ng(i)&&(r.setupState=jTt(i)),ABt(r,o)}let m5t;function ABt(r,i,o){const l=r.type;if(!r.render){if(!i&&m5t&&!l.render){const h=l.template||NNe(r).template;if(h){const{isCustomElement:g,compilerOptions:d}=r.appContext.config,{delimiters:b,compilerOptions:w}=l,x=Ib(Ib({isCustomElement:g,delimiters:b},d),w);l.render=m5t(h,x)}}r.render=l.render||T6}{const h=ote(r);yQ();try{sgn(r)}finally{xQ(),h()}}}function Pgn(r){return r.attrsProxy||(r.attrsProxy=new Proxy(r.attrs,{get(i,o){return ry(r,"get","$attrs"),i[o]}}))}function Rgn(r){const i=o=>{r.exposed=o||{}};return{get attrs(){return Pgn(r)},slots:r.slots,emit:r.emit,expose:i}}function UNe(r){if(r.exposed)return r.exposeProxy||(r.exposeProxy=new Proxy(jTt(HTt(r.exposed)),{get(i,o){if(o in i)return i[o];if(o in XZ)return XZ[o](r)},has(i,o){return o in i||o in XZ}}))}function Ugn(r){return Au(r)&&"__vccOpts"in r}const Hgn=(r,i)=>T0n(r,i,dpe),$gn="3.4.13";/**
+**/function JM(r,i,o,l){let h;try{h=l?r(...l):r()}catch(g){spe(g,i,o)}return h}function g7(r,i,o,l){if(Au(r)){const g=JM(r,i,o,l);return g&&kTt(g)&&g.catch(d=>{spe(d,i,o)}),g}const h=[];for(let g=0;g>>1,h=kb[l],g=mee(h);gt9&&kb.splice(i,1)}function F0n(r){Pl(r)?W$.push(...r):(!HM||!HM.includes(r,r.allowRecurse?UN+1:UN))&&W$.push(r),KTt()}function r5t(r,i,o=pee?t9+1:0){for(;omee(o)-mee(l));if(W$.length=0,HM){HM.push(...i);return}for(HM=i,UN=0;UNr.id==null?1/0:r.id,D0n=(r,i)=>{const o=mee(r)-mee(i);if(o===0){if(r.pre&&!i.pre)return-1;if(i.pre&&!r.pre)return 1}return o};function XTt(r){GFe=!1,pee=!0,kb.sort(D0n);try{for(t9=0;t9Lm(M)?M.trim():M)),B&&(h=o.map(WAn))}let b,w=l[b=OLe(i)]||l[b=OLe(hj(i))];!w&&g&&(w=l[b=OLe(Uj(i))]),w&&g7(w,r,6,h);const x=l[b+"Once"];if(x){if(!r.emitted)r.emitted={};else if(r.emitted[b])return;r.emitted[b]=!0,g7(x,r,6,h)}}function GTt(r,i,o=!1){const l=i.emitsCache,h=l.get(r);if(h!==void 0)return h;const g=r.emits;let d={},b=!1;if(!Au(r)){const w=x=>{const C=GTt(x,i,!0);C&&(b=!0,Lb(d,C))};!o&&i.mixins.length&&i.mixins.forEach(w),r.extends&&w(r.extends),r.mixins&&r.mixins.forEach(w)}return!g&&!b?(ng(r)&&l.set(r,null),null):(Pl(g)?g.forEach(w=>d[w]=null):Lb(d,g),ng(r)&&l.set(r,d),d)}function cpe(r,i){return!r||!npe(i)?!1:(i=i.slice(2).replace(/Once$/,""),mh(r,i[0].toLowerCase()+i.slice(1))||mh(r,Uj(i))||mh(r,i))}let n9=null,VTt=null;function K0e(r){const i=n9;return n9=r,VTt=r&&r.type.__scopeId||null,i}function N0n(r,i=n9,o){if(!i||r._n)return r;const l=(...h)=>{l._d&&d5t(-1);const g=K0e(i);let d;try{d=r(...h)}finally{K0e(g),l._d&&d5t(1)}return d};return l._n=!0,l._c=!0,l._d=!0,l}function QLe(r){const{type:i,vnode:o,proxy:l,withProxy:h,props:g,propsOptions:[d],slots:b,attrs:w,emit:x,render:C,renderCache:B,data:L,setupState:M,ctx:P,inheritAttrs:z}=r;let W,Q;const V=K0e(r);try{if(o.shapeFlag&4){const G=h||l,ae=G;W=JC(C.call(ae,G,B,g,M,L,P)),Q=w}else{const G=i;W=JC(G.length>1?G(g,{attrs:w,slots:b,emit:x}):G(g,null)),Q=i.props?w:Q0n(w)}}catch(G){zZ.length=0,spe(G,r,1),W=ZM(bee)}let oe=W;if(Q&&z!==!1){const G=Object.keys(Q),{shapeFlag:ae}=oe;G.length&&ae&7&&(d&&G.some(wNe)&&(Q=P0n(Q,d)),oe=fj(oe,Q))}return o.dirs&&(oe=fj(oe),oe.dirs=oe.dirs?oe.dirs.concat(o.dirs):o.dirs),o.transition&&(oe.transition=o.transition),W=oe,K0e(V),W}const Q0n=r=>{let i;for(const o in r)(o==="class"||o==="style"||npe(o))&&((i||(i={}))[o]=r[o]);return i},P0n=(r,i)=>{const o={};for(const l in r)(!wNe(l)||!(l.slice(9)in i))&&(o[l]=r[l]);return o};function R0n(r,i,o){const{props:l,children:h,component:g}=r,{props:d,children:b,patchFlag:w}=i,x=g.emitsOptions;if(i.dirs||i.transition)return!0;if(o&&w>=0){if(w&1024)return!0;if(w&16)return l?i5t(l,d,x):!!d;if(w&8){const C=i.dynamicProps;for(let B=0;Br.__isSuspense;function j0n(r,i){i&&i.pendingBranch?Pl(r)?i.effects.push(...r):i.effects.push(r):F0n(r)}const K0n=Symbol.for("v-scx"),z0n=()=>HAe(K0n),Rde={};function PLe(r,i,o){return WTt(r,i,o)}function WTt(r,i,{immediate:o,deep:l,flush:h,once:g,onTrack:d,onTrigger:b}=_d){if(i&&g){const ne=i;i=(...de)=>{ne(...de),ae()}}const w=V2,x=ne=>l===!0?ne:D$(ne,l===!1?1:void 0);let C,B=!1,L=!1;if(J3(r)?(C=()=>r.value,B=XFe(r)):V$(r)?(C=()=>x(r),B=!0):Pl(r)?(L=!0,B=r.some(ne=>V$(ne)||XFe(ne)),C=()=>r.map(ne=>{if(J3(ne))return ne.value;if(V$(ne))return x(ne);if(Au(ne))return JM(ne,w,2)})):Au(r)?i?C=()=>JM(r,w,2):C=()=>(M&&M(),g7(r,w,3,[P])):C=E6,i&&l){const ne=C;C=()=>D$(ne())}let M,P=ne=>{M=oe.onStop=()=>{JM(ne,w,4),M=oe.onStop=void 0}},z;if(fpe)if(P=E6,i?o&&g7(i,w,3,[C(),L?[]:void 0,P]):C(),h==="sync"){const ne=z0n();z=ne.__watcherHandles||(ne.__watcherHandles=[])}else return E6;let W=L?new Array(r.length).fill(Rde):Rde;const Q=()=>{if(!(!oe.active||!oe.dirty))if(i){const ne=oe.run();(l||B||(L?ne.some((de,Ae)=>aQ(de,W[Ae])):aQ(ne,W)))&&(M&&M(),g7(i,w,3,[ne,W===Rde?void 0:L&&W[0]===Rde?[]:W,P]),W=ne)}else oe.run()};Q.allowRecurse=!!i;let V;h==="sync"?V=Q:h==="post"?V=()=>Kv(Q,w&&w.suspense):(Q.pre=!0,w&&(Q.id=w.uid),V=()=>DNe(Q));const oe=new CNe(C,E6,V),G=i0n(),ae=()=>{oe.stop(),G&&vNe(G.effects,oe)};return i?o?Q():W=oe.run():h==="post"?Kv(oe.run.bind(oe),w&&w.suspense):oe.run(),z&&z.push(ae),ae}function X0n(r,i,o){const l=this.proxy,h=Lm(r)?r.includes(".")?qTt(l,r):()=>l[r]:r.bind(l,l);let g;Au(i)?g=i:(g=i.handler,o=i);const d=ate(this),b=WTt(h,g.bind(l),o);return d(),b}function qTt(r,i){const o=i.split(".");return()=>{let l=r;for(let h=0;h0){if(o>=i)return r;o++}if(l=l||new Set,l.has(r))return r;if(l.add(r),J3(r))D$(r.value,i,o,l);else if(Pl(r))for(let h=0;h{D$(h,i,o,l)});else if(XAn(r))for(const h in r)D$(r[h],i,o,l);return r}function kN(r,i,o,l){const h=r.dirs,g=i&&i.dirs;for(let d=0;d!!r.type.__asyncLoader,YTt=r=>r.type.__isKeepAlive;function G0n(r,i){JTt(r,"a",i)}function V0n(r,i){JTt(r,"da",i)}function JTt(r,i,o=V2){const l=r.__wdc||(r.__wdc=()=>{let h=o;for(;h;){if(h.isDeactivated)return;h=h.parent}return r()});if(lpe(i,l,o),o){let h=o.parent;for(;h&&h.parent;)YTt(h.parent.vnode)&&W0n(l,i,o,h),h=h.parent}}function W0n(r,i,o,l){const h=lpe(i,r,l,!0);ZTt(()=>{vNe(l[i],h)},o)}function lpe(r,i,o=V2,l=!1){if(o){const h=o[r]||(o[r]=[]),g=i.__weh||(i.__weh=(...d)=>{if(o.isUnmounted)return;vQ();const b=ate(o),w=g7(i,o,r,d);return b(),yQ(),w});return l?h.unshift(g):h.push(g),g}}const GB=r=>(i,o=V2)=>(!fpe||r==="sp")&&lpe(r,(...l)=>i(...l),o),q0n=GB("bm"),Y0n=GB("m"),J0n=GB("bu"),Z0n=GB("u"),egn=GB("bum"),ZTt=GB("um"),tgn=GB("sp"),ngn=GB("rtg"),rgn=GB("rtc");function ign(r,i=V2){lpe("ec",r,i)}const VFe=r=>r?fBt(r)?RNe(r)||r.proxy:VFe(r.parent):null,KZ=Lb(Object.create(null),{$:r=>r,$el:r=>r.vnode.el,$data:r=>r.data,$props:r=>r.props,$attrs:r=>r.attrs,$slots:r=>r.slots,$refs:r=>r.refs,$parent:r=>VFe(r.parent),$root:r=>VFe(r.root),$emit:r=>r.emit,$options:r=>ONe(r),$forceUpdate:r=>r.f||(r.f=()=>{r.effect.dirty=!0,DNe(r.update)}),$nextTick:r=>r.n||(r.n=L0n.bind(r.proxy)),$watch:r=>X0n.bind(r)}),RLe=(r,i)=>r!==_d&&!r.__isScriptSetup&&mh(r,i),agn={get({_:r},i){const{ctx:o,setupState:l,data:h,props:g,accessCache:d,type:b,appContext:w}=r;let x;if(i[0]!=="$"){const M=d[i];if(M!==void 0)switch(M){case 1:return l[i];case 2:return h[i];case 4:return o[i];case 3:return g[i]}else{if(RLe(l,i))return d[i]=1,l[i];if(h!==_d&&mh(h,i))return d[i]=2,h[i];if((x=r.propsOptions[0])&&mh(x,i))return d[i]=3,g[i];if(o!==_d&&mh(o,i))return d[i]=4,o[i];WFe&&(d[i]=0)}}const C=KZ[i];let B,L;if(C)return i==="$attrs"&&ny(r,"get",i),C(r);if((B=b.__cssModules)&&(B=B[i]))return B;if(o!==_d&&mh(o,i))return d[i]=4,o[i];if(L=w.config.globalProperties,mh(L,i))return L[i]},set({_:r},i,o){const{data:l,setupState:h,ctx:g}=r;return RLe(h,i)?(h[i]=o,!0):l!==_d&&mh(l,i)?(l[i]=o,!0):mh(r.props,i)||i[0]==="$"&&i.slice(1)in r?!1:(g[i]=o,!0)},has({_:{data:r,setupState:i,accessCache:o,ctx:l,appContext:h,propsOptions:g}},d){let b;return!!o[d]||r!==_d&&mh(r,d)||RLe(i,d)||(b=g[0])&&mh(b,d)||mh(l,d)||mh(KZ,d)||mh(h.config.globalProperties,d)},defineProperty(r,i,o){return o.get!=null?r._.accessCache[i]=0:mh(o,"value")&&this.set(r,i,o.value,null),Reflect.defineProperty(r,i,o)}};function a5t(r){return Pl(r)?r.reduce((i,o)=>(i[o]=null,i),{}):r}let WFe=!0;function ogn(r){const i=ONe(r),o=r.proxy,l=r.ctx;WFe=!1,i.beforeCreate&&o5t(i.beforeCreate,r,"bc");const{data:h,computed:g,methods:d,watch:b,provide:w,inject:x,created:C,beforeMount:B,mounted:L,beforeUpdate:M,updated:P,activated:z,deactivated:W,beforeDestroy:Q,beforeUnmount:V,destroyed:oe,unmounted:G,render:ae,renderTracked:ne,renderTriggered:de,errorCaptured:Ae,serverPrefetch:le,expose:ve,inheritAttrs:me,components:ee,directives:ye,filters:Y}=i;if(x&&sgn(x,l,null),d)for(const ce in d){const $e=d[ce];Au($e)&&(l[ce]=$e.bind(o))}if(h){const ce=h.call(o,o);ng(ce)&&(r.data=SNe(ce))}if(WFe=!0,g)for(const ce in g){const $e=g[ce],Ye=Au($e)?$e.bind(o,o):Au($e.get)?$e.get.bind(o,o):E6,ct=!Au($e)&&Au($e.set)?$e.set.bind(o):E6,ot=Ugn({get:Ye,set:ct});Object.defineProperty(l,ce,{enumerable:!0,configurable:!0,get:()=>ot.value,set:Qe=>ot.value=Qe})}if(b)for(const ce in b)eBt(b[ce],l,o,ce);if(w){const ce=Au(w)?w.call(o):w;Reflect.ownKeys(ce).forEach($e=>{dgn($e,ce[$e])})}C&&o5t(C,r,"c");function fe(ce,$e){Pl($e)?$e.forEach(Ye=>ce(Ye.bind(o))):$e&&ce($e.bind(o))}if(fe(q0n,B),fe(Y0n,L),fe(J0n,M),fe(Z0n,P),fe(G0n,z),fe(V0n,W),fe(ign,Ae),fe(rgn,ne),fe(ngn,de),fe(egn,V),fe(ZTt,G),fe(tgn,le),Pl(ve))if(ve.length){const ce=r.exposed||(r.exposed={});ve.forEach($e=>{Object.defineProperty(ce,$e,{get:()=>o[$e],set:Ye=>o[$e]=Ye})})}else r.exposed||(r.exposed={});ae&&r.render===E6&&(r.render=ae),me!=null&&(r.inheritAttrs=me),ee&&(r.components=ee),ye&&(r.directives=ye)}function sgn(r,i,o=E6){Pl(r)&&(r=qFe(r));for(const l in r){const h=r[l];let g;ng(h)?"default"in h?g=HAe(h.from||l,h.default,!0):g=HAe(h.from||l):g=HAe(h),J3(g)?Object.defineProperty(i,l,{enumerable:!0,configurable:!0,get:()=>g.value,set:d=>g.value=d}):i[l]=g}}function o5t(r,i,o){g7(Pl(r)?r.map(l=>l.bind(i.proxy)):r.bind(i.proxy),i,o)}function eBt(r,i,o,l){const h=l.includes(".")?qTt(o,l):()=>o[l];if(Lm(r)){const g=i[r];Au(g)&&PLe(h,g)}else if(Au(r))PLe(h,r.bind(o));else if(ng(r))if(Pl(r))r.forEach(g=>eBt(g,i,o,l));else{const g=Au(r.handler)?r.handler.bind(o):i[r.handler];Au(g)&&PLe(h,g,r)}}function ONe(r){const i=r.type,{mixins:o,extends:l}=i,{mixins:h,optionsCache:g,config:{optionMergeStrategies:d}}=r.appContext,b=g.get(i);let w;return b?w=b:!h.length&&!o&&!l?w=i:(w={},h.length&&h.forEach(x=>z0e(w,x,d,!0)),z0e(w,i,d)),ng(i)&&g.set(i,w),w}function z0e(r,i,o,l=!1){const{mixins:h,extends:g}=i;g&&z0e(r,g,o,!0),h&&h.forEach(d=>z0e(r,d,o,!0));for(const d in i)if(!(l&&d==="expose")){const b=cgn[d]||o&&o[d];r[d]=b?b(r[d],i[d]):i[d]}return r}const cgn={data:s5t,props:c5t,emits:c5t,methods:yZ,computed:yZ,beforeCreate:j2,created:j2,beforeMount:j2,mounted:j2,beforeUpdate:j2,updated:j2,beforeDestroy:j2,beforeUnmount:j2,destroyed:j2,unmounted:j2,activated:j2,deactivated:j2,errorCaptured:j2,serverPrefetch:j2,components:yZ,directives:yZ,watch:ugn,provide:s5t,inject:lgn};function s5t(r,i){return i?r?function(){return Lb(Au(r)?r.call(this,this):r,Au(i)?i.call(this,this):i)}:i:r}function lgn(r,i){return yZ(qFe(r),qFe(i))}function qFe(r){if(Pl(r)){const i={};for(let o=0;o1)return o&&Au(i)?i.call(l&&l.proxy):i}}function Agn(r,i,o,l=!1){const h={},g={};j0e(g,hpe,1),r.propsDefaults=Object.create(null),nBt(r,i,h,g);for(const d in r.propsOptions[0])d in h||(h[d]=void 0);o?r.props=l?h:C0n(h):r.type.props?r.props=h:r.props=g,r.attrs=g}function ggn(r,i,o,l){const{props:h,attrs:g,vnode:{patchFlag:d}}=r,b=Ff(h),[w]=r.propsOptions;let x=!1;if((l||d>0)&&!(d&16)){if(d&8){const C=r.vnode.dynamicProps;for(let B=0;B{w=!0;const[L,M]=rBt(B,i,!0);Lb(d,L),M&&b.push(...M)};!o&&i.mixins.length&&i.mixins.forEach(C),r.extends&&C(r.extends),r.mixins&&r.mixins.forEach(C)}if(!g&&!w)return ng(r)&&l.set(r,G$),G$;if(Pl(g))for(let C=0;C-1,M[1]=z<0||P-1||mh(M,"default"))&&b.push(B)}}}const x=[d,b];return ng(r)&&l.set(r,x),x}function l5t(r){return r[0]!=="$"}function u5t(r){const i=r&&r.toString().match(/^\s*(function|class) (\w+)/);return i?i[2]:r===null?"null":""}function h5t(r,i){return u5t(r)===u5t(i)}function f5t(r,i){return Pl(i)?i.findIndex(o=>h5t(o,r)):Au(i)&&h5t(i,r)?0:-1}const iBt=r=>r[0]==="_"||r==="$stable",NNe=r=>Pl(r)?r.map(JC):[JC(r)],pgn=(r,i,o)=>{if(i._n)return i;const l=N0n((...h)=>NNe(i(...h)),o);return l._c=!1,l},aBt=(r,i,o)=>{const l=r._ctx;for(const h in r){if(iBt(h))continue;const g=r[h];if(Au(g))i[h]=pgn(h,g,l);else if(g!=null){const d=NNe(g);i[h]=()=>d}}},oBt=(r,i)=>{const o=NNe(i);r.slots.default=()=>o},mgn=(r,i)=>{if(r.vnode.shapeFlag&32){const o=i._;o?(r.slots=Ff(i),j0e(i,"_",o)):aBt(i,r.slots={})}else r.slots={},i&&oBt(r,i);j0e(r.slots,hpe,1)},bgn=(r,i,o)=>{const{vnode:l,slots:h}=r;let g=!0,d=_d;if(l.shapeFlag&32){const b=i._;b?o&&b===1?g=!1:(Lb(h,i),!o&&b===1&&delete h._):(g=!i.$stable,aBt(i,h)),d=i}else i&&(oBt(r,i),d={default:1});if(g)for(const b in h)!iBt(b)&&d[b]==null&&delete h[b]};function JFe(r,i,o,l,h=!1){if(Pl(r)){r.forEach((L,M)=>JFe(L,i&&(Pl(i)?i[M]:i),o,l,h));return}if(UAe(l)&&!h)return;const g=l.shapeFlag&4?RNe(l.component)||l.component.proxy:l.el,d=h?null:g,{i:b,r:w}=r,x=i&&i.r,C=b.refs===_d?b.refs={}:b.refs,B=b.setupState;if(x!=null&&x!==w&&(Lm(x)?(C[x]=null,mh(B,x)&&(B[x]=null)):J3(x)&&(x.value=null)),Au(w))JM(w,b,12,[d,C]);else{const L=Lm(w),M=J3(w);if(L||M){const P=()=>{if(r.f){const z=L?mh(B,w)?B[w]:C[w]:w.value;h?Pl(z)&&vNe(z,g):Pl(z)?z.includes(g)||z.push(g):L?(C[w]=[g],mh(B,w)&&(B[w]=C[w])):(w.value=[g],r.k&&(C[r.k]=w.value))}else L?(C[w]=d,mh(B,w)&&(B[w]=d)):M&&(w.value=d,r.k&&(C[r.k]=d))};d?(P.id=-1,Kv(P,o)):P()}}}const Kv=j0n;function wgn(r){return vgn(r)}function vgn(r,i){const o=ETt();o.__VUE__=!0;const{insert:l,remove:h,patchProp:g,createElement:d,createText:b,createComment:w,setText:x,setElementText:C,parentNode:B,nextSibling:L,setScopeId:M=E6,insertStaticContent:P}=r,z=(He,lt,Ke,mn=null,je=null,zt=null,pt=void 0,sn=null,cn=!!lt.dynamicChildren)=>{if(He===lt)return;He&&!jJ(He,lt)&&(mn=Rn(He),Qe(He,je,zt,!0),He=null),lt.patchFlag===-2&&(cn=!1,lt.dynamicChildren=null);const{type:xn,ref:nn,shapeFlag:Qn}=lt;switch(xn){case upe:W(He,lt,Ke,mn);break;case bee:Q(He,lt,Ke,mn);break;case HLe:He==null&&V(lt,Ke,mn,pt);break;case mB:ee(He,lt,Ke,mn,je,zt,pt,sn,cn);break;default:Qn&1?ae(He,lt,Ke,mn,je,zt,pt,sn,cn):Qn&6?ye(He,lt,Ke,mn,je,zt,pt,sn,cn):(Qn&64||Qn&128)&&xn.process(He,lt,Ke,mn,je,zt,pt,sn,cn,Kt)}nn!=null&&je&&JFe(nn,He&&He.ref,zt,lt||He,!lt)},W=(He,lt,Ke,mn)=>{if(He==null)l(lt.el=b(lt.children),Ke,mn);else{const je=lt.el=He.el;lt.children!==He.children&&x(je,lt.children)}},Q=(He,lt,Ke,mn)=>{He==null?l(lt.el=w(lt.children||""),Ke,mn):lt.el=He.el},V=(He,lt,Ke,mn)=>{[He.el,He.anchor]=P(He.children,lt,Ke,mn,He.el,He.anchor)},oe=({el:He,anchor:lt},Ke,mn)=>{let je;for(;He&&He!==lt;)je=L(He),l(He,Ke,mn),He=je;l(lt,Ke,mn)},G=({el:He,anchor:lt})=>{let Ke;for(;He&&He!==lt;)Ke=L(He),h(He),He=Ke;h(lt)},ae=(He,lt,Ke,mn,je,zt,pt,sn,cn)=>{lt.type==="svg"?pt="svg":lt.type==="math"&&(pt="mathml"),He==null?ne(lt,Ke,mn,je,zt,pt,sn,cn):le(He,lt,je,zt,pt,sn,cn)},ne=(He,lt,Ke,mn,je,zt,pt,sn)=>{let cn,xn;const{props:nn,shapeFlag:Qn,transition:ln,dirs:Hn}=He;if(cn=He.el=d(He.type,zt,nn&&nn.is,nn),Qn&8?C(cn,He.children):Qn&16&&Ae(He.children,cn,null,mn,je,ULe(He,zt),pt,sn),Hn&&kN(He,null,mn,"created"),de(cn,He,He.scopeId,pt,mn),nn){for(const _r in nn)_r!=="value"&&!RAe(_r)&&g(cn,_r,null,nn[_r],zt,He.children,mn,je,Et);"value"in nn&&g(cn,"value",null,nn.value,zt),(xn=nn.onVnodeBeforeMount)&&KC(xn,mn,He)}Hn&&kN(He,null,mn,"beforeMount");const $t=ygn(je,ln);$t&&ln.beforeEnter(cn),l(cn,lt,Ke),((xn=nn&&nn.onVnodeMounted)||$t||Hn)&&Kv(()=>{xn&&KC(xn,mn,He),$t&&ln.enter(cn),Hn&&kN(He,null,mn,"mounted")},je)},de=(He,lt,Ke,mn,je)=>{if(Ke&&M(He,Ke),mn)for(let zt=0;zt{for(let xn=cn;xn{const sn=lt.el=He.el;let{patchFlag:cn,dynamicChildren:xn,dirs:nn}=lt;cn|=He.patchFlag&16;const Qn=He.props||_d,ln=lt.props||_d;let Hn;if(Ke&&CN(Ke,!1),(Hn=ln.onVnodeBeforeUpdate)&&KC(Hn,Ke,lt,He),nn&&kN(lt,He,Ke,"beforeUpdate"),Ke&&CN(Ke,!0),xn?ve(He.dynamicChildren,xn,sn,Ke,mn,ULe(lt,je),zt):pt||$e(He,lt,sn,null,Ke,mn,ULe(lt,je),zt,!1),cn>0){if(cn&16)me(sn,lt,Qn,ln,Ke,mn,je);else if(cn&2&&Qn.class!==ln.class&&g(sn,"class",null,ln.class,je),cn&4&&g(sn,"style",Qn.style,ln.style,je),cn&8){const $t=lt.dynamicProps;for(let _r=0;_r<$t.length;_r++){const Lr=$t[_r],ti=Qn[Lr],_i=ln[Lr];(_i!==ti||Lr==="value")&&g(sn,Lr,ti,_i,je,He.children,Ke,mn,Et)}}cn&1&&He.children!==lt.children&&C(sn,lt.children)}else!pt&&xn==null&&me(sn,lt,Qn,ln,Ke,mn,je);((Hn=ln.onVnodeUpdated)||nn)&&Kv(()=>{Hn&&KC(Hn,Ke,lt,He),nn&&kN(lt,He,Ke,"updated")},mn)},ve=(He,lt,Ke,mn,je,zt,pt)=>{for(let sn=0;sn{if(Ke!==mn){if(Ke!==_d)for(const sn in Ke)!RAe(sn)&&!(sn in mn)&&g(He,sn,Ke[sn],null,pt,lt.children,je,zt,Et);for(const sn in mn){if(RAe(sn))continue;const cn=mn[sn],xn=Ke[sn];cn!==xn&&sn!=="value"&&g(He,sn,xn,cn,pt,lt.children,je,zt,Et)}"value"in mn&&g(He,"value",Ke.value,mn.value,pt)}},ee=(He,lt,Ke,mn,je,zt,pt,sn,cn)=>{const xn=lt.el=He?He.el:b(""),nn=lt.anchor=He?He.anchor:b("");let{patchFlag:Qn,dynamicChildren:ln,slotScopeIds:Hn}=lt;Hn&&(sn=sn?sn.concat(Hn):Hn),He==null?(l(xn,Ke,mn),l(nn,Ke,mn),Ae(lt.children||[],Ke,nn,je,zt,pt,sn,cn)):Qn>0&&Qn&64&&ln&&He.dynamicChildren?(ve(He.dynamicChildren,ln,Ke,je,zt,pt,sn),(lt.key!=null||je&<===je.subTree)&&sBt(He,lt,!0)):$e(He,lt,Ke,nn,je,zt,pt,sn,cn)},ye=(He,lt,Ke,mn,je,zt,pt,sn,cn)=>{lt.slotScopeIds=sn,He==null?lt.shapeFlag&512?je.ctx.activate(lt,Ke,mn,pt,cn):Y(lt,Ke,mn,je,zt,pt,cn):Ee(He,lt,cn)},Y=(He,lt,Ke,mn,je,zt,pt)=>{const sn=He.component=Dgn(He,mn,je);if(YTt(He)&&(sn.ctx.renderer=Kt),Ogn(sn),sn.asyncDep){if(je&&je.registerDep(sn,fe),!He.el){const cn=sn.subTree=ZM(bee);Q(null,cn,lt,Ke)}}else fe(sn,He,lt,Ke,je,zt,pt)},Ee=(He,lt,Ke)=>{const mn=lt.component=He.component;if(R0n(He,lt,Ke))if(mn.asyncDep&&!mn.asyncResolved){ce(mn,lt,Ke);return}else mn.next=lt,I0n(mn.update),mn.effect.dirty=!0,mn.update();else lt.el=He.el,mn.vnode=lt},fe=(He,lt,Ke,mn,je,zt,pt)=>{const sn=()=>{if(He.isMounted){let{next:nn,bu:Qn,u:ln,parent:Hn,vnode:$t}=He;{const ro=cBt(He);if(ro){nn&&(nn.el=$t.el,ce(He,nn,pt)),ro.asyncDep.then(()=>{He.isUnmounted||sn()});return}}let _r=nn,Lr;CN(He,!1),nn?(nn.el=$t.el,ce(He,nn,pt)):nn=$t,Qn&&NLe(Qn),(Lr=nn.props&&nn.props.onVnodeBeforeUpdate)&&KC(Lr,Hn,nn,$t),CN(He,!0);const ti=QLe(He),_i=He.subTree;He.subTree=ti,z(_i,ti,B(_i.el),Rn(_i),He,je,zt),nn.el=ti.el,_r===null&&U0n(He,ti.el),ln&&Kv(ln,je),(Lr=nn.props&&nn.props.onVnodeUpdated)&&Kv(()=>KC(Lr,Hn,nn,$t),je)}else{let nn;const{el:Qn,props:ln}=lt,{bm:Hn,m:$t,parent:_r}=He,Lr=UAe(lt);if(CN(He,!1),Hn&&NLe(Hn),!Lr&&(nn=ln&&ln.onVnodeBeforeMount)&&KC(nn,_r,lt),CN(He,!0),Qn&&Vt){const ti=()=>{He.subTree=QLe(He),Vt(Qn,He.subTree,He,je,null)};Lr?lt.type.__asyncLoader().then(()=>!He.isUnmounted&&ti()):ti()}else{const ti=He.subTree=QLe(He);z(null,ti,Ke,mn,He,je,zt),lt.el=ti.el}if($t&&Kv($t,je),!Lr&&(nn=ln&&ln.onVnodeMounted)){const ti=lt;Kv(()=>KC(nn,_r,ti),je)}(lt.shapeFlag&256||_r&&UAe(_r.vnode)&&_r.vnode.shapeFlag&256)&&He.a&&Kv(He.a,je),He.isMounted=!0,lt=Ke=mn=null}},cn=He.effect=new CNe(sn,E6,()=>DNe(xn),He.scope),xn=He.update=()=>{cn.dirty&&cn.run()};xn.id=He.uid,CN(He,!0),xn()},ce=(He,lt,Ke)=>{lt.component=He;const mn=He.vnode.props;He.vnode=lt,He.next=null,ggn(He,lt.props,mn,Ke),bgn(He,lt.children,Ke),vQ(),r5t(He),yQ()},$e=(He,lt,Ke,mn,je,zt,pt,sn,cn=!1)=>{const xn=He&&He.children,nn=He?He.shapeFlag:0,Qn=lt.children,{patchFlag:ln,shapeFlag:Hn}=lt;if(ln>0){if(ln&128){ct(xn,Qn,Ke,mn,je,zt,pt,sn,cn);return}else if(ln&256){Ye(xn,Qn,Ke,mn,je,zt,pt,sn,cn);return}}Hn&8?(nn&16&&Et(xn,je,zt),Qn!==xn&&C(Ke,Qn)):nn&16?Hn&16?ct(xn,Qn,Ke,mn,je,zt,pt,sn,cn):Et(xn,je,zt,!0):(nn&8&&C(Ke,""),Hn&16&&Ae(Qn,Ke,mn,je,zt,pt,sn,cn))},Ye=(He,lt,Ke,mn,je,zt,pt,sn,cn)=>{He=He||G$,lt=lt||G$;const xn=He.length,nn=lt.length,Qn=Math.min(xn,nn);let ln;for(ln=0;lnnn?Et(He,je,zt,!0,!1,Qn):Ae(lt,Ke,mn,je,zt,pt,sn,cn,Qn)},ct=(He,lt,Ke,mn,je,zt,pt,sn,cn)=>{let xn=0;const nn=lt.length;let Qn=He.length-1,ln=nn-1;for(;xn<=Qn&&xn<=ln;){const Hn=He[xn],$t=lt[xn]=cn?$M(lt[xn]):JC(lt[xn]);if(jJ(Hn,$t))z(Hn,$t,Ke,null,je,zt,pt,sn,cn);else break;xn++}for(;xn<=Qn&&xn<=ln;){const Hn=He[Qn],$t=lt[ln]=cn?$M(lt[ln]):JC(lt[ln]);if(jJ(Hn,$t))z(Hn,$t,Ke,null,je,zt,pt,sn,cn);else break;Qn--,ln--}if(xn>Qn){if(xn<=ln){const Hn=ln+1,$t=Hnln)for(;xn<=Qn;)Qe(He[xn],je,zt,!0),xn++;else{const Hn=xn,$t=xn,_r=new Map;for(xn=$t;xn<=ln;xn++){const lr=lt[xn]=cn?$M(lt[xn]):JC(lt[xn]);lr.key!=null&&_r.set(lr.key,xn)}let Lr,ti=0;const _i=ln-$t+1;let ro=!1,Js=0;const mi=new Array(_i);for(xn=0;xn<_i;xn++)mi[xn]=0;for(xn=Hn;xn<=Qn;xn++){const lr=He[xn];if(ti>=_i){Qe(lr,je,zt,!0);continue}let vr;if(lr.key!=null)vr=_r.get(lr.key);else for(Lr=$t;Lr<=ln;Lr++)if(mi[Lr-$t]===0&&jJ(lr,lt[Lr])){vr=Lr;break}vr===void 0?Qe(lr,je,zt,!0):(mi[vr-$t]=xn+1,vr>=Js?Js=vr:ro=!0,z(lr,lt[vr],Ke,null,je,zt,pt,sn,cn),ti++)}const Ta=ro?xgn(mi):G$;for(Lr=Ta.length-1,xn=_i-1;xn>=0;xn--){const lr=$t+xn,vr=lt[lr],Zr=lr+1{const{el:zt,type:pt,transition:sn,children:cn,shapeFlag:xn}=He;if(xn&6){ot(He.component.subTree,lt,Ke,mn);return}if(xn&128){He.suspense.move(lt,Ke,mn);return}if(xn&64){pt.move(He,lt,Ke,Kt);return}if(pt===mB){l(zt,lt,Ke);for(let Qn=0;Qnsn.enter(zt),je);else{const{leave:Qn,delayLeave:ln,afterLeave:Hn}=sn,$t=()=>l(zt,lt,Ke),_r=()=>{Qn(zt,()=>{$t(),Hn&&Hn()})};ln?ln(zt,$t,_r):_r()}else l(zt,lt,Ke)},Qe=(He,lt,Ke,mn=!1,je=!1)=>{const{type:zt,props:pt,ref:sn,children:cn,dynamicChildren:xn,shapeFlag:nn,patchFlag:Qn,dirs:ln}=He;if(sn!=null&&JFe(sn,null,Ke,He,!0),nn&256){lt.ctx.deactivate(He);return}const Hn=nn&1&&ln,$t=!UAe(He);let _r;if($t&&(_r=pt&&pt.onVnodeBeforeUnmount)&&KC(_r,lt,He),nn&6)Rt(He.component,Ke,mn);else{if(nn&128){He.suspense.unmount(Ke,mn);return}Hn&&kN(He,null,lt,"beforeUnmount"),nn&64?He.type.remove(He,lt,Ke,je,Kt,mn):xn&&(zt!==mB||Qn>0&&Qn&64)?Et(xn,lt,Ke,!1,!0):(zt===mB&&Qn&384||!je&&nn&16)&&Et(cn,lt,Ke),mn&&Le(He)}($t&&(_r=pt&&pt.onVnodeUnmounted)||Hn)&&Kv(()=>{_r&&KC(_r,lt,He),Hn&&kN(He,null,lt,"unmounted")},Ke)},Le=He=>{const{type:lt,el:Ke,anchor:mn,transition:je}=He;if(lt===mB){ht(Ke,mn);return}if(lt===HLe){G(He);return}const zt=()=>{h(Ke),je&&!je.persisted&&je.afterLeave&&je.afterLeave()};if(He.shapeFlag&1&&je&&!je.persisted){const{leave:pt,delayLeave:sn}=je,cn=()=>pt(Ke,zt);sn?sn(He.el,zt,cn):cn()}else zt()},ht=(He,lt)=>{let Ke;for(;He!==lt;)Ke=L(He),h(He),He=Ke;h(lt)},Rt=(He,lt,Ke)=>{const{bum:mn,scope:je,update:zt,subTree:pt,um:sn}=He;mn&&NLe(mn),je.stop(),zt&&(zt.active=!1,Qe(pt,He,lt,Ke)),sn&&Kv(sn,lt),Kv(()=>{He.isUnmounted=!0},lt),lt&<.pendingBranch&&!lt.isUnmounted&&He.asyncDep&&!He.asyncResolved&&He.suspenseId===lt.pendingId&&(lt.deps--,lt.deps===0&<.resolve())},Et=(He,lt,Ke,mn=!1,je=!1,zt=0)=>{for(let pt=zt;ptHe.shapeFlag&6?Rn(He.component.subTree):He.shapeFlag&128?He.suspense.next():L(He.anchor||He.el);let xt=!1;const on=(He,lt,Ke)=>{He==null?lt._vnode&&Qe(lt._vnode,null,null,!0):z(lt._vnode||null,He,lt,null,null,null,Ke),xt||(xt=!0,r5t(),zTt(),xt=!1),lt._vnode=He},Kt={p:z,um:Qe,m:ot,r:Le,mt:Y,mc:Ae,pc:$e,pbc:ve,n:Rn,o:r};let Xt,Vt;return i&&([Xt,Vt]=i(Kt)),{render:on,hydrate:Xt,createApp:fgn(on,Xt)}}function ULe({type:r,props:i},o){return o==="svg"&&r==="foreignObject"||o==="mathml"&&r==="annotation-xml"&&i&&i.encoding&&i.encoding.includes("html")?void 0:o}function CN({effect:r,update:i},o){r.allowRecurse=i.allowRecurse=o}function ygn(r,i){return(!r||r&&!r.pendingBranch)&&i&&!i.persisted}function sBt(r,i,o=!1){const l=r.children,h=i.children;if(Pl(l)&&Pl(h))for(let g=0;g>1,r[o[b]]0&&(i[l]=o[g-1]),o[g]=l)}}for(g=o.length,d=o[g-1];g-- >0;)o[g]=d,d=i[d];return o}function cBt(r){const i=r.subTree.component;if(i)return i.asyncDep&&!i.asyncResolved?i:cBt(i)}const kgn=r=>r.__isTeleport,mB=Symbol.for("v-fgt"),upe=Symbol.for("v-txt"),bee=Symbol.for("v-cmt"),HLe=Symbol.for("v-stc"),zZ=[];let h7=null;function lBt(r=!1){zZ.push(h7=r?null:[])}function Cgn(){zZ.pop(),h7=zZ[zZ.length-1]||null}let wee=1;function d5t(r){wee+=r}function uBt(r){return r.dynamicChildren=wee>0?h7||G$:null,Cgn(),wee>0&&h7&&h7.push(r),r}function Egn(r,i,o,l,h,g){return uBt(QNe(r,i,o,l,h,g,!0))}function Tgn(r,i,o,l,h){return uBt(ZM(r,i,o,l,h,!0))}function Bgn(r){return r?r.__v_isVNode===!0:!1}function jJ(r,i){return r.type===i.type&&r.key===i.key}const hpe="__vInternal",hBt=({key:r})=>r??null,$Ae=({ref:r,ref_key:i,ref_for:o})=>(typeof r=="number"&&(r=""+r),r!=null?Lm(r)||J3(r)||Au(r)?{i:n9,r,k:i,f:!!o}:r:null);function QNe(r,i=null,o=null,l=0,h=null,g=r===mB?0:1,d=!1,b=!1){const w={__v_isVNode:!0,__v_skip:!0,type:r,props:i,key:i&&hBt(i),ref:i&&$Ae(i),scopeId:VTt,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:g,patchFlag:l,dynamicProps:h,dynamicChildren:null,appContext:null,ctx:n9};return b?(PNe(w,o),g&128&&r.normalize(w)):o&&(w.shapeFlag|=Lm(o)?8:16),wee>0&&!d&&h7&&(w.patchFlag>0||g&6)&&w.patchFlag!==32&&h7.push(w),w}const ZM=_gn;function _gn(r,i=null,o=null,l=0,h=null,g=!1){if((!r||r===H0n)&&(r=bee),Bgn(r)){const b=fj(r,i,!0);return o&&PNe(b,o),wee>0&&!g&&h7&&(b.shapeFlag&6?h7[h7.indexOf(r)]=b:h7.push(b)),b.patchFlag|=-2,b}if(Rgn(r)&&(r=r.__vccOpts),i){i=Sgn(i);let{class:b,style:w}=i;b&&!Lm(b)&&(i.class=kNe(b)),ng(w)&&(RTt(w)&&!Pl(w)&&(w=Lb({},w)),i.style=xNe(w))}const d=Lm(r)?1:$0n(r)?128:kgn(r)?64:ng(r)?4:Au(r)?2:0;return QNe(r,i,o,l,h,d,g,!0)}function Sgn(r){return r?RTt(r)||hpe in r?Lb({},r):r:null}function fj(r,i,o=!1){const{props:l,ref:h,patchFlag:g,children:d}=r,b=i?Mgn(l||{},i):l;return{__v_isVNode:!0,__v_skip:!0,type:r.type,props:b,key:b&&hBt(b),ref:i&&i.ref?o&&h?Pl(h)?h.concat($Ae(i)):[h,$Ae(i)]:$Ae(i):h,scopeId:r.scopeId,slotScopeIds:r.slotScopeIds,children:d,target:r.target,targetAnchor:r.targetAnchor,staticCount:r.staticCount,shapeFlag:r.shapeFlag,patchFlag:i&&r.type!==mB?g===-1?16:g|16:g,dynamicProps:r.dynamicProps,dynamicChildren:r.dynamicChildren,appContext:r.appContext,dirs:r.dirs,transition:r.transition,component:r.component,suspense:r.suspense,ssContent:r.ssContent&&fj(r.ssContent),ssFallback:r.ssFallback&&fj(r.ssFallback),el:r.el,anchor:r.anchor,ctx:r.ctx,ce:r.ce}}function Lgn(r=" ",i=0){return ZM(upe,null,r,i)}function JC(r){return r==null||typeof r=="boolean"?ZM(bee):Pl(r)?ZM(mB,null,r.slice()):typeof r=="object"?$M(r):ZM(upe,null,String(r))}function $M(r){return r.el===null&&r.patchFlag!==-1||r.memo?r:fj(r)}function PNe(r,i){let o=0;const{shapeFlag:l}=r;if(i==null)i=null;else if(Pl(i))o=16;else if(typeof i=="object")if(l&65){const h=i.default;h&&(h._c&&(h._d=!1),PNe(r,h()),h._c&&(h._d=!0));return}else{o=32;const h=i._;!h&&!(hpe in i)?i._ctx=n9:h===3&&n9&&(n9.slots._===1?i._=1:(i._=2,r.patchFlag|=1024))}else Au(i)?(i={default:i,_ctx:n9},o=32):(i=String(i),l&64?(o=16,i=[Lgn(i)]):o=8);r.children=i,r.shapeFlag|=o}function Mgn(...r){const i={};for(let o=0;o{let h;return(h=r[o])||(h=r[o]=[]),h.push(l),g=>{h.length>1?h.forEach(d=>d(g)):h[0](g)}};G0e=i("__VUE_INSTANCE_SETTERS__",o=>V2=o),ZFe=i("__VUE_SSR_SETTERS__",o=>fpe=o)}const ate=r=>{const i=V2;return G0e(r),r.scope.on(),()=>{r.scope.off(),G0e(i)}},A5t=()=>{V2&&V2.scope.off(),G0e(null)};function fBt(r){return r.vnode.shapeFlag&4}let fpe=!1;function Ogn(r,i=!1){i&&ZFe(i);const{props:o,children:l}=r.vnode,h=fBt(r);Agn(r,o,h,i),mgn(r,l);const g=h?Ngn(r,i):void 0;return i&&ZFe(!1),g}function Ngn(r,i){const o=r.type;r.accessCache=Object.create(null),r.proxy=UTt(new Proxy(r.ctx,agn));const{setup:l}=o;if(l){const h=r.setupContext=l.length>1?Pgn(r):null,g=ate(r);vQ();const d=JM(l,r,0,[r.props,h]);if(yQ(),g(),kTt(d)){if(d.then(A5t,A5t),i)return d.then(b=>{g5t(r,b,i)}).catch(b=>{spe(b,r,0)});r.asyncDep=d}else g5t(r,d,i)}else dBt(r,i)}function g5t(r,i,o){Au(i)?r.type.__ssrInlineRender?r.ssrRender=i:r.render=i:ng(i)&&(r.setupState=$Tt(i)),dBt(r,o)}let p5t;function dBt(r,i,o){const l=r.type;if(!r.render){if(!i&&p5t&&!l.render){const h=l.template||ONe(r).template;if(h){const{isCustomElement:g,compilerOptions:d}=r.appContext.config,{delimiters:b,compilerOptions:w}=l,x=Lb(Lb({isCustomElement:g,delimiters:b},d),w);l.render=p5t(h,x)}}r.render=l.render||E6}{const h=ate(r);vQ();try{ogn(r)}finally{yQ(),h()}}}function Qgn(r){return r.attrsProxy||(r.attrsProxy=new Proxy(r.attrs,{get(i,o){return ny(r,"get","$attrs"),i[o]}}))}function Pgn(r){const i=o=>{r.exposed=o||{}};return{get attrs(){return Qgn(r)},slots:r.slots,emit:r.emit,expose:i}}function RNe(r){if(r.exposed)return r.exposeProxy||(r.exposeProxy=new Proxy($Tt(UTt(r.exposed)),{get(i,o){if(o in i)return i[o];if(o in KZ)return KZ[o](r)},has(i,o){return o in i||o in KZ}}))}function Rgn(r){return Au(r)&&"__vccOpts"in r}const Ugn=(r,i)=>E0n(r,i,fpe),Hgn="3.4.13";/**
* @vue/runtime-dom v3.4.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
-**/const jgn="http://www.w3.org/2000/svg",Kgn="http://www.w3.org/1998/Math/MathML",KI=typeof document<"u"?document:null,b5t=KI&&KI.createElement("template"),zgn={insert:(r,i,o)=>{i.insertBefore(r,o||null)},remove:r=>{const i=r.parentNode;i&&i.removeChild(r)},createElement:(r,i,o,l)=>{const h=i==="svg"?KI.createElementNS(jgn,r):i==="mathml"?KI.createElementNS(Kgn,r):KI.createElement(r,o?{is:o}:void 0);return r==="select"&&l&&l.multiple!=null&&h.setAttribute("multiple",l.multiple),h},createText:r=>KI.createTextNode(r),createComment:r=>KI.createComment(r),setText:(r,i)=>{r.nodeValue=i},setElementText:(r,i)=>{r.textContent=i},parentNode:r=>r.parentNode,nextSibling:r=>r.nextSibling,querySelector:r=>KI.querySelector(r),setScopeId(r,i){r.setAttribute(i,"")},insertStaticContent(r,i,o,l,h,g){const d=o?o.previousSibling:i.lastChild;if(h&&(h===g||h.nextSibling))for(;i.insertBefore(h.cloneNode(!0),o),!(h===g||!(h=h.nextSibling)););else{b5t.innerHTML=l==="svg"?`${r} `:l==="mathml"?`${r} `:r;const b=b5t.content;if(l==="svg"||l==="mathml"){const w=b.firstChild;for(;w.firstChild;)b.appendChild(w.firstChild);b.removeChild(w)}i.insertBefore(b,o)}return[d?d.nextSibling:i.firstChild,o?o.previousSibling:i.lastChild]}},Xgn=Symbol("_vtc");function Ggn(r,i,o){const l=r[Xgn];l&&(i=(i?[i,...l]:[...l]).join(" ")),i==null?r.removeAttribute("class"):o?r.setAttribute("class",i):r.className=i}const Vgn=Symbol("_vod"),Wgn=Symbol("");function qgn(r,i,o){const l=r.style,h=l.display,g=Im(o);if(o&&!g){if(i&&!Im(i))for(const d in i)o[d]==null&&tDe(l,d,"");for(const d in o)tDe(l,d,o[d])}else if(g){if(i!==o){const d=l[Wgn];d&&(o+=";"+d),l.cssText=o}}else i&&r.removeAttribute("style");Vgn in r&&(l.display=h)}const w5t=/\s*!important$/;function tDe(r,i,o){if(Pl(o))o.forEach(l=>tDe(r,i,l));else if(o==null&&(o=""),i.startsWith("--"))r.setProperty(i,o);else{const l=Ygn(r,i);w5t.test(o)?r.setProperty(Hj(l),o.replace(w5t,""),"important"):r[l]=o}}const v5t=["Webkit","Moz","ms"],jLe={};function Ygn(r,i){const o=jLe[i];if(o)return o;let l=fj(i);if(l!=="filter"&&l in r)return jLe[i]=l;l=ETt(l);for(let h=0;hKLe||(ipn.then(()=>KLe=0),KLe=Date.now());function opn(r,i){const o=l=>{if(!l._vts)l._vts=Date.now();else if(l._vts<=o.attached)return;pk(spn(l,o.value),i,5,[l])};return o.value=r,o.attached=apn(),o}function spn(r,i){if(Pl(i)){const o=r.stopImmediatePropagation;return r.stopImmediatePropagation=()=>{o.call(r),r._stopped=!0},i.map(l=>h=>!h._stopped&&l&&l(h))}else return i}const C5t=r=>r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&r.charCodeAt(2)>96&&r.charCodeAt(2)<123,cpn=(r,i,o,l,h,g,d,b,w)=>{const x=h==="svg";i==="class"?Ggn(r,l,x):i==="style"?qgn(r,o,l):rpe(i)?vNe(i)||npn(r,i,o,l,d):(i[0]==="."?(i=i.slice(1),!0):i[0]==="^"?(i=i.slice(1),!1):lpn(r,i,l,x))?Zgn(r,i,l,g,d,b,w):(i==="true-value"?r._trueValue=l:i==="false-value"&&(r._falseValue=l),Jgn(r,i,l,x))};function lpn(r,i,o,l){if(l)return!!(i==="innerHTML"||i==="textContent"||i in r&&C5t(i)&&Au(o));if(i==="spellcheck"||i==="draggable"||i==="translate"||i==="form"||i==="list"&&r.tagName==="INPUT"||i==="type"&&r.tagName==="TEXTAREA")return!1;if(i==="width"||i==="height"){const h=r.tagName;if(h==="IMG"||h==="VIDEO"||h==="CANVAS"||h==="SOURCE")return!1}return C5t(i)&&Im(o)?!1:i in r}const upn=Ib({patchProp:cpn},zgn);let E5t;function hpn(){return E5t||(E5t=vgn(upn))}const fpn=(...r)=>{const i=hpn().createApp(...r),{mount:o}=i;return i.mount=l=>{const h=Apn(l);if(!h)return;const g=i._component;!Au(g)&&!g.render&&!g.template&&(g.template=h.innerHTML),h.innerHTML="";const d=o(h,!1,dpn(h));return h instanceof Element&&(h.removeAttribute("v-cloak"),h.setAttribute("data-v-app","")),d},i};function dpn(r){if(r instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&r instanceof MathMLElement)return"mathml"}function Apn(r){return Im(r)?document.querySelector(r):r}var _b=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function kQ(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function il(r,i){return r(i={exports:{}},i.exports),i.exports}function zLe(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var SI,KAe,Hde=function(r){return r&&r.Math==Math&&r},Ai=Hde(typeof globalThis=="object"&&globalThis)||Hde(typeof window=="object"&&window)||Hde(typeof self=="object"&&self)||Hde(typeof _b=="object"&&_b)||function(){return this}()||Function("return this")(),eu=function(r){try{return!!r()}catch{return!0}},$j=!eu(function(){var r=(function(){}).bind();return typeof r!="function"||r.hasOwnProperty("prototype")}),gBt=Function.prototype,T5t=gBt.apply,B5t=gBt.call,DB=typeof Reflect=="object"&&Reflect.apply||($j?B5t.bind(T5t):function(){return B5t.apply(T5t,arguments)}),pBt=Function.prototype,gpn=pBt.bind,nDe=pBt.call,ppn=$j&&gpn.bind(nDe,nDe),Za=$j?function(r){return r&&ppn(r)}:function(r){return r&&function(){return nDe.apply(r,arguments)}},hh=function(r){return typeof r=="function"},Zu=!eu(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),$de=Function.prototype.call,cc=$j?$de.bind($de):function(){return $de.apply($de,arguments)},_5t={}.propertyIsEnumerable,S5t=Object.getOwnPropertyDescriptor,ste={f:S5t&&!_5t.call({1:2},1)?function(r){var i=S5t(this,r);return!!i&&i.enumerable}:_5t},q3=function(r,i){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:i}},mpn=Za({}.toString),bpn=Za("".slice),l9=function(r){return bpn(mpn(r),8,-1)},XLe=Ai.Object,wpn=Za("".split),Ape=eu(function(){return!XLe("z").propertyIsEnumerable(0)})?function(r){return l9(r)=="String"?wpn(r,""):XLe(r)}:XLe,vpn=Ai.TypeError,AM=function(r){if(r==null)throw vpn("Can't call method on "+r);return r},iy=function(r){return Ape(AM(r))},g1=function(r){return typeof r=="object"?r!==null:hh(r)},Gc={},L5t=function(r){return hh(r)?r:void 0},Dp=function(r,i){return arguments.length<2?L5t(Gc[r])||L5t(Ai[r]):Gc[r]&&Gc[r][i]||Ai[r]&&Ai[r][i]},uf=Za({}.isPrototypeOf),u9=Dp("navigator","userAgent")||"",I5t=Ai.process,M5t=Ai.Deno,F5t=I5t&&I5t.versions||M5t&&M5t.version,D5t=F5t&&F5t.v8;D5t&&(KAe=(SI=D5t.split("."))[0]>0&&SI[0]<4?1:+(SI[0]+SI[1])),!KAe&&u9&&(!(SI=u9.match(/Edge\/(\d+)/))||SI[1]>=74)&&(SI=u9.match(/Chrome\/(\d+)/))&&(KAe=+SI[1]);var d9=KAe,E6=!!Object.getOwnPropertySymbols&&!eu(function(){var r=Symbol();return!String(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&d9&&d9<41}),HNe=E6&&!Symbol.sham&&typeof Symbol.iterator=="symbol",ypn=Ai.Object,Aj=HNe?function(r){return typeof r=="symbol"}:function(r){var i=Dp("Symbol");return hh(i)&&uf(i.prototype,ypn(r))},xpn=Ai.String,cte=function(r){try{return xpn(r)}catch{return"Object"}},kpn=Ai.TypeError,Lu=function(r){if(hh(r))return r;throw kpn(cte(r)+" is not a function")},W0e=function(r,i){var o=r[i];return o==null?void 0:Lu(o)},Cpn=Ai.TypeError,Epn=Object.defineProperty,O5t="__core-js_shared__",tM=Ai[O5t]||function(r,i){try{Epn(Ai,r,{value:i,configurable:!0,writable:!0})}catch{Ai[r]=i}return i}(O5t,{}),gM=il(function(r){(r.exports=function(i,o){return tM[i]||(tM[i]=o!==void 0?o:{})})("versions",[]).push({version:"3.22.6",mode:"pure",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.6/LICENSE",source:"https://github.com/zloirock/core-js"})}),Tpn=Ai.Object,ay=function(r){return Tpn(AM(r))},Bpn=Za({}.hasOwnProperty),sc=Object.hasOwn||function(r,i){return Bpn(ay(r),i)},_pn=0,Spn=Math.random(),Lpn=Za(1 .toString),yee=function(r){return"Symbol("+(r===void 0?"":r)+")_"+Lpn(++_pn+Spn,36)},zJ=gM("wks"),tQ=Ai.Symbol,N5t=tQ&&tQ.for,Ipn=HNe?tQ:tQ&&tQ.withoutSetter||yee,Z1=function(r){if(!sc(zJ,r)||!E6&&typeof zJ[r]!="string"){var i="Symbol."+r;E6&&sc(tQ,r)?zJ[r]=tQ[r]:zJ[r]=HNe&&N5t?N5t(i):Ipn(i)}return zJ[r]},Mpn=Ai.TypeError,Fpn=Z1("toPrimitive"),Dpn=function(r,i){if(!g1(r)||Aj(r))return r;var o,l=W0e(r,Fpn);if(l){if(i===void 0&&(i="default"),o=cc(l,r,i),!g1(o)||Aj(o))return o;throw Mpn("Can't convert object to primitive value")}return i===void 0&&(i="number"),function(h,g){var d,b;if(g==="string"&&hh(d=h.toString)&&!g1(b=cc(d,h))||hh(d=h.valueOf)&&!g1(b=cc(d,h))||g!=="string"&&hh(d=h.toString)&&!g1(b=cc(d,h)))return b;throw Cpn("Can't convert object to primitive value")}(r,i)},sQ=function(r){var i=Dpn(r,"string");return Aj(i)?i:i+""},rDe=Ai.document,Opn=g1(rDe)&&g1(rDe.createElement),q0e=function(r){return Opn?rDe.createElement(r):{}},mBt=!Zu&&!eu(function(){return Object.defineProperty(q0e("div"),"a",{get:function(){return 7}}).a!=7}),Q5t=Object.getOwnPropertyDescriptor,p9={f:Zu?Q5t:function(r,i){if(r=iy(r),i=sQ(i),mBt)try{return Q5t(r,i)}catch{}if(sc(r,i))return q3(!cc(ste.f,r,i),r[i])}},Npn=/#|\.prototype\./,lte=function(r,i){var o=Ppn[Qpn(r)];return o==Upn||o!=Rpn&&(hh(i)?eu(i):!!i)},Qpn=lte.normalize=function(r){return String(r).replace(Npn,".").toLowerCase()},Ppn=lte.data={},Rpn=lte.NATIVE="N",Upn=lte.POLYFILL="P",bBt=lte,Hpn=Za(Za.bind),tg=function(r,i){return Lu(r),i===void 0?r:$j?Hpn(r,i):function(){return r.apply(i,arguments)}},wBt=Zu&&eu(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),$pn=Ai.String,jpn=Ai.TypeError,Iu=function(r){if(g1(r))return r;throw jpn($pn(r)+" is not an object")},Kpn=Ai.TypeError,GLe=Object.defineProperty,zpn=Object.getOwnPropertyDescriptor,VLe="enumerable",WLe="configurable",qLe="writable",ew={f:Zu?wBt?function(r,i,o){if(Iu(r),i=sQ(i),Iu(o),typeof r=="function"&&i==="prototype"&&"value"in o&&qLe in o&&!o[qLe]){var l=zpn(r,i);l&&l[qLe]&&(r[i]=o.value,o={configurable:WLe in o?o[WLe]:l[WLe],enumerable:VLe in o?o[VLe]:l[VLe],writable:!1})}return GLe(r,i,o)}:GLe:function(r,i,o){if(Iu(r),i=sQ(i),Iu(o),mBt)try{return GLe(r,i,o)}catch{}if("get"in o||"set"in o)throw Kpn("Accessors not supported");return"value"in o&&(r[i]=o.value),r}},kb=Zu?function(r,i,o){return ew.f(r,i,q3(1,o))}:function(r,i,o){return r[i]=o,r},Xpn=p9.f,Gpn=function(r){var i=function(o,l,h){if(this instanceof i){switch(arguments.length){case 0:return new r;case 1:return new r(o);case 2:return new r(o,l)}return new r(o,l,h)}return DB(r,this,arguments)};return i.prototype=r.prototype,i},ma=function(r,i){var o,l,h,g,d,b,w,x,C=r.target,B=r.global,L=r.stat,I=r.proto,P=B?Ai:L?Ai[C]:(Ai[C]||{}).prototype,z=B?Gc:Gc[C]||kb(Gc,C,{})[C],W=z.prototype;for(h in i)o=!bBt(B?h:C+(L?".":"#")+h,r.forced)&&P&&sc(P,h),d=z[h],o&&(b=r.dontCallGetSet?(x=Xpn(P,h))&&x.value:P[h]),g=o&&b?b:i[h],o&&typeof d==typeof g||(w=r.bind&&o?tg(g,Ai):r.wrap&&o?Gpn(g):I&&hh(g)?Za(g):g,(r.sham||g&&g.sham||d&&d.sham)&&kb(w,"sham",!0),kb(z,h,w),I&&(sc(Gc,l=C+"Prototype")||kb(Gc,l,{}),kb(Gc[l],h,g),r.real&&W&&!W[h]&&kb(W,h,g)))},iM=Za([].slice),P5t=Ai.Function,Vpn=Za([].concat),Wpn=Za([].join),YLe={},iDe=$j?P5t.bind:function(r){var i=Lu(this),o=i.prototype,l=iM(arguments,1),h=function(){var g=Vpn(l,iM(arguments));return this instanceof h?function(d,b,w){if(!sc(YLe,b)){for(var x=[],C=0;C0?amn:imn)(i)},jj=function(r){var i=+r;return i!=i||i===0?0:omn(i)},smn=Math.max,cmn=Math.min,RB=function(r,i){var o=jj(r);return o<0?smn(o+i,0):cmn(o,i)},lmn=Math.min,zNe=function(r){return r>0?lmn(jj(r),9007199254740991):0},r4=function(r){return zNe(r.length)},R5t=function(r){return function(i,o,l){var h,g=iy(i),d=r4(g),b=RB(l,d);if(r&&o!=o){for(;d>b;)if((h=g[b++])!=h)return!0}else for(;d>b;b++)if((r||b in g)&&g[b]===o)return r||b||0;return!r&&-1}},XNe={includes:R5t(!0),indexOf:R5t(!1)},Kj={},umn=XNe.indexOf,U5t=Za([].push),CBt=function(r,i){var o,l=iy(r),h=0,g=[];for(o in l)!sc(Kj,o)&&sc(l,o)&&U5t(g,o);for(;i.length>h;)sc(l,o=i[h++])&&(~umn(g,o)||U5t(g,o));return g},J0e=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],OB=Object.keys||function(r){return CBt(r,J0e)},hmn=Zu&&!wBt?Object.defineProperties:function(r,i){Iu(r);for(var o,l=iy(i),h=OB(i),g=h.length,d=0;g>d;)ew.f(r,o=h[d++],l[o]);return r},GNe={f:hmn},aDe=Dp("document","documentElement"),H5t=gM("keys"),ppe=function(r){return H5t[r]||(H5t[r]=yee(r))},oDe="prototype",sDe="script",EBt=ppe("IE_PROTO"),JLe=function(){},TBt=function(r){return"<"+sDe+">"+r+""+sDe+">"},$5t=function(r){r.write(TBt("")),r.close();var i=r.parentWindow.Object;return r=null,i},zAe=function(){try{jde=new ActiveXObject("htmlfile")}catch{}var r,i,o;zAe=typeof document<"u"?document.domain&&jde?$5t(jde):(i=q0e("iframe"),o="java"+sDe+":",i.style.display="none",aDe.appendChild(i),i.src=String(o),(r=i.contentWindow.document).open(),r.write(TBt("document.F=Object")),r.close(),r.F):$5t(jde);for(var l=J0e.length;l--;)delete zAe[oDe][J0e[l]];return zAe()};Kj[EBt]=!0;var e4=Object.create||function(r,i){var o;return r!==null?(JLe[oDe]=Iu(r),o=new JLe,JLe[oDe]=null,o[EBt]=r):o=zAe(),i===void 0?o:GNe.f(o,i)},VNe=Dp("Reflect","construct"),fmn=Object.prototype,dmn=[].push,BBt=eu(function(){function r(){}return!(VNe(function(){},[],r)instanceof r)}),_Bt=!eu(function(){VNe(function(){})}),j5t=BBt||_Bt;ma({target:"Reflect",stat:!0,forced:j5t,sham:j5t},{construct:function(r,i){Y0e(r),Iu(i);var o=arguments.length<3?r:Y0e(arguments[2]);if(_Bt&&!BBt)return VNe(r,i,o);if(r==o){switch(i.length){case 0:return new r;case 1:return new r(i[0]);case 2:return new r(i[0],i[1]);case 3:return new r(i[0],i[1],i[2]);case 4:return new r(i[0],i[1],i[2],i[3])}var l=[null];return DB(dmn,l,i),new(DB(iDe,r,l))}var h=o.prototype,g=e4(g1(h)?h:fmn),d=DB(r,g,i);return g1(d)?d:g}});var SBt=Gc.Reflect.construct,ut=SBt,Amn=eu(function(){OB(1)});ma({target:"Object",stat:!0,forced:Amn},{keys:function(r){return OB(ay(r))}});var Z0e,VZ,ege,LBt=Gc.Object.keys,pu=LBt,gmn=Ai.String,Zl=function(r){if(pM(r)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return gmn(r)},pmn=J0e.concat("length","prototype"),xee={f:Object.getOwnPropertyNames||function(r){return CBt(r,pmn)}},aM=function(r,i,o){var l=sQ(i);l in r?ew.f(r,l,q3(0,o)):r[l]=o},mmn=Ai.Array,bmn=Math.max,Xv=function(r,i,o){for(var l=r4(r),h=RB(i,l),g=RB(o===void 0?l:o,l),d=mmn(bmn(g-h,0)),b=0;hV;V++)if((b||V in z)&&(I=W(L=z[V],V,P),r))if(i)G[V]=I;else if(I)switch(r){case 3:return!0;case 5:return L;case 6:return V;case 2:Y5t(G,L)}else switch(r){case 4:return!1;case 7:Y5t(G,L)}return g?-1:l||h?h:G}},WB={forEach:LI(0),map:LI(1),filter:LI(2),some:LI(3),every:LI(4),find:LI(5),findIndex:LI(6),filterReject:LI(7)},bpe=WB.forEach,qv=ppe("hidden"),tge="Symbol",kee="prototype",Bmn=Mm.set,J5t=Mm.getterFor(tge),dk=Object[kee],$N=Ai.Symbol,CZ=$N&&$N[kee],_mn=Ai.TypeError,ZLe=Ai.QObject,MBt=p9.f,XI=ew.f,FBt=WNe.f,Smn=ste.f,DBt=Za([].push),$B=gM("symbols"),hte=gM("op-symbols"),Lmn=gM("wks"),eIe=!ZLe||!ZLe[kee]||!ZLe[kee].findChild,lDe=Zu&&eu(function(){return e4(XI({},"a",{get:function(){return XI(this,"a",{value:7}).a}})).a!=7})?function(r,i,o){var l=MBt(dk,i);l&&delete dk[i],XI(r,i,o),l&&r!==dk&&XI(dk,i,l)}:XI,tIe=function(r,i){var o=$B[r]=e4(CZ);return Bmn(o,{type:tge,tag:r,description:i}),Zu||(o.description=i),o},nge=function(r,i,o){r===dk&&nge(hte,i,o),Iu(r);var l=sQ(i);return Iu(o),sc($B,l)?(o.enumerable?(sc(r,qv)&&r[qv][l]&&(r[qv][l]=!1),o=e4(o,{enumerable:q3(0,!1)})):(sc(r,qv)||XI(r,qv,q3(1,{})),r[qv][l]=!0),lDe(r,l,o)):XI(r,l,o)},nIe=function(r,i){Iu(r);var o=iy(i),l=OB(o).concat(NBt(o));return bpe(l,function(h){Zu&&!cc(OBt,o,h)||nge(r,h,o[h])}),r},OBt=function(r){var i=sQ(r),o=cc(Smn,this,i);return!(this===dk&&sc($B,i)&&!sc(hte,i))&&(!(o||!sc(this,i)||!sc($B,i)||sc(this,qv)&&this[qv][i])||o)},Z5t=function(r,i){var o=iy(r),l=sQ(i);if(o!==dk||!sc($B,l)||sc(hte,l)){var h=MBt(o,l);return!h||!sc($B,l)||sc(o,qv)&&o[qv][l]||(h.enumerable=!0),h}},e6t=function(r){var i=FBt(iy(r)),o=[];return bpe(i,function(l){sc($B,l)||sc(Kj,l)||DBt(o,l)}),o},NBt=function(r){var i=r===dk,o=FBt(i?hte:iy(r)),l=[];return bpe(o,function(h){!sc($B,h)||i&&!sc(dk,h)||DBt(l,$B[h])}),l};E6||($N=function(){if(uf(CZ,this))throw _mn("Symbol is not a constructor");var r=arguments.length&&arguments[0]!==void 0?Zl(arguments[0]):void 0,i=yee(r),o=function(l){this===dk&&cc(o,hte,l),sc(this,qv)&&sc(this[qv],i)&&(this[qv][i]=!1),lDe(this,i,q3(1,l))};return Zu&&eIe&&lDe(dk,i,{configurable:!0,set:o}),tIe(i,r)},CZ=$N[kee],ty(CZ,"toString",function(){return J5t(this).tag}),ty($N,"withoutSetter",function(r){return tIe(yee(r),r)}),ste.f=OBt,ew.f=nge,GNe.f=nIe,p9.f=Z5t,xee.f=WNe.f=e6t,ute.f=NBt,qNe.f=function(r){return tIe(Z1(r),r)},Zu&&XI(CZ,"description",{configurable:!0,get:function(){return J5t(this).description}})),ma({global:!0,constructor:!0,wrap:!0,forced:!E6,sham:!E6},{Symbol:$N}),bpe(OB(Lmn),function(r){y0(r)}),ma({target:tge,stat:!0,forced:!E6},{useSetter:function(){eIe=!0},useSimple:function(){eIe=!1}}),ma({target:"Object",stat:!0,forced:!E6,sham:!Zu},{create:function(r,i){return i===void 0?e4(r):nIe(e4(r),i)},defineProperty:nge,defineProperties:nIe,getOwnPropertyDescriptor:Z5t}),ma({target:"Object",stat:!0,forced:!E6},{getOwnPropertyNames:e6t}),IBt(),UB($N,tge),Kj[qv]=!0;var QBt=E6&&!!Symbol.for&&!!Symbol.keyFor,rIe=gM("string-to-symbol-registry"),Imn=gM("symbol-to-string-registry");ma({target:"Symbol",stat:!0,forced:!QBt},{for:function(r){var i=Zl(r);if(sc(rIe,i))return rIe[i];var o=Dp("Symbol")(i);return rIe[i]=o,Imn[o]=i,o}});var t6t=gM("symbol-to-string-registry");ma({target:"Symbol",stat:!0,forced:!QBt},{keyFor:function(r){if(!Aj(r))throw TypeError(cte(r)+" is not a symbol");if(sc(t6t,r))return t6t[r]}});var nM=Dp("JSON","stringify"),Kde=Za(/./.exec),n6t=Za("".charAt),Mmn=Za("".charCodeAt),Fmn=Za("".replace),Dmn=Za(1 .toString),Omn=/[\uD800-\uDFFF]/g,r6t=/^[\uD800-\uDBFF]$/,i6t=/^[\uDC00-\uDFFF]$/,a6t=!E6||eu(function(){var r=Dp("Symbol")();return nM([r])!="[null]"||nM({a:r})!="{}"||nM(Object(r))!="{}"}),o6t=eu(function(){return nM("\uDF06\uD834")!=='"\\udf06\\ud834"'||nM("\uDEAD")!=='"\\udead"'}),Nmn=function(r,i){var o=iM(arguments),l=i;if((g1(i)||r!==void 0)&&!Aj(r))return HB(i)||(i=function(h,g){if(hh(l)&&(g=cc(l,this,h,g)),!Aj(g))return g}),o[1]=i,DB(nM,null,o)},Qmn=function(r,i,o){var l=n6t(o,i-1),h=n6t(o,i+1);return Kde(r6t,r)&&!Kde(i6t,h)||Kde(i6t,r)&&!Kde(r6t,l)?"\\u"+Dmn(Mmn(r,0),16):r};nM&&ma({target:"JSON",stat:!0,arity:3,forced:a6t||o6t},{stringify:function(r,i,o){var l=iM(arguments),h=DB(a6t?Nmn:nM,null,l);return o6t&&typeof h=="string"?Fmn(h,Omn,Qmn):h}});var Pmn=!E6||eu(function(){ute.f(1)});ma({target:"Object",stat:!0,forced:Pmn},{getOwnPropertySymbols:function(r){var i=ute.f;return i?i(ay(r)):[]}});var PBt=Gc.Object.getOwnPropertySymbols,O1=PBt,Rmn=Z1("species"),fte=function(r){return d9>=51||!eu(function(){var i=[];return(i.constructor={})[Rmn]=function(){return{foo:1}},i[r](Boolean).foo!==1})},Umn=WB.filter,Hmn=fte("filter");ma({target:"Array",proto:!0,forced:!Hmn},{filter:function(r){return Umn(this,r,arguments.length>1?arguments[1]:void 0)}});var Ld=function(r){return Gc[r+"Prototype"]},$mn=Ld("Array").filter,iIe=Array.prototype,t1=function(r){var i=r.filter;return r===iIe||uf(iIe,r)&&i===iIe.filter?$mn:i},RBt=p9.f,jmn=eu(function(){RBt(1)});ma({target:"Object",stat:!0,forced:!Zu||jmn,sham:!Zu},{getOwnPropertyDescriptor:function(r,i){return RBt(iy(r),i)}});var VI,s6t,c6t,Kmn=il(function(r){var i=Gc.Object,o=r.exports=function(l,h){return i.getOwnPropertyDescriptor(l,h)};i.getOwnPropertyDescriptor.sham&&(o.sham=!0)}),UBt=Kmn,Id=UBt,jB={},HBt=Function.prototype,zmn=Zu&&Object.getOwnPropertyDescriptor,aIe=sc(HBt,"name"),$Bt={EXISTS:aIe,PROPER:aIe&&(function(){}).name==="something",CONFIGURABLE:aIe&&(!Zu||Zu&&zmn(HBt,"name").configurable)},jBt=!eu(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype}),l6t=ppe("IE_PROTO"),uDe=Ai.Object,Xmn=uDe.prototype,cQ=jBt?uDe.getPrototypeOf:function(r){var i=ay(r);if(sc(i,l6t))return i[l6t];var o=i.constructor;return hh(o)&&i instanceof o?o.prototype:i instanceof uDe?Xmn:null},hDe=Z1("iterator"),KBt=!1;[].keys&&("next"in(c6t=[].keys())?(s6t=cQ(cQ(c6t)))!==Object.prototype&&(VI=s6t):KBt=!0);var Gmn=VI==null||eu(function(){var r={};return VI[hDe].call(r)!==r});VI=Gmn?{}:e4(VI),hh(VI[hDe])||ty(VI,hDe,function(){return this});var zBt={IteratorPrototype:VI,BUGGY_SAFARI_ITERATORS:KBt},Vmn=zBt.IteratorPrototype,Wmn=function(){return this},XBt=function(r,i,o,l){var h=i+" Iterator";return r.prototype=e4(Vmn,{next:q3(+!l,o)}),UB(r,h,!1,!0),jB[h]=Wmn,r},qmn=Ai.String,Ymn=Ai.TypeError,Cee=Object.setPrototypeOf||("__proto__"in{}?function(){var r,i=!1,o={};try{(r=Za(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(o,[]),i=o instanceof Array}catch{}return function(l,h){return Iu(l),function(g){if(typeof g=="object"||hh(g))return g;throw Ymn("Can't set "+qmn(g)+" as a prototype")}(h),i?r(l,h):l.__proto__=h,l}}():void 0),Jmn=$Bt.PROPER,zde=zBt.BUGGY_SAFARI_ITERATORS,oIe=Z1("iterator"),u6t="keys",Xde="values",h6t="entries",Zmn=function(){return this},YNe=function(r,i,o,l,h,g,d){XBt(o,i,l);var b,w,x,C=function(Q){if(Q===h&&z)return z;if(!zde&&Q in I)return I[Q];switch(Q){case u6t:case Xde:case h6t:return function(){return new o(this,Q)}}return function(){return new o(this)}},B=i+" Iterator",L=!1,I=r.prototype,P=I[oIe]||I["@@iterator"]||h&&I[h],z=!zde&&P||C(h),W=i=="Array"&&I.entries||P;if(W&&(b=cQ(W.call(new r)))!==Object.prototype&&b.next&&(UB(b,B,!0,!0),jB[B]=Zmn),Jmn&&h==Xde&&P&&P.name!==Xde&&(L=!0,z=function(){return cc(P,this)}),h)if(w={values:C(Xde),keys:g?z:C(u6t),entries:C(h6t)},d)for(x in w)(zde||L||!(x in I))&&ty(I,x,w[x]);else ma({target:i,proto:!0,forced:zde||L},w);return d&&I[oIe]!==z&&ty(I,oIe,z,{name:h}),jB[i]=z,w};ew.f;var GBt="Array Iterator",ebn=Mm.set,tbn=Mm.getterFor(GBt);YNe(Array,"Array",function(r,i){ebn(this,{type:GBt,target:iy(r),index:0,kind:i})},function(){var r=tbn(this),i=r.target,o=r.kind,l=r.index++;return!i||l>=i.length?(r.target=void 0,{value:void 0,done:!0}):o=="keys"?{value:l,done:!1}:o=="values"?{value:i[l],done:!1}:{value:[l,i[l]],done:!1}},"values"),jB.Arguments=jB.Array;var f6t=Z1("toStringTag");for(var sIe in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var d6t=Ai[sIe],cIe=d6t&&d6t.prototype;cIe&&pM(cIe)!==f6t&&kb(cIe,f6t,sIe),jB[sIe]=jB.Array}var zj=function(r,i){var o=[][r];return!!o&&eu(function(){o.call(null,i||function(){return 1},1)})},nbn=WB.forEach,A6t=zj("forEach")?[].forEach:function(r){return nbn(this,r,arguments.length>1?arguments[1]:void 0)};ma({target:"Array",proto:!0,forced:[].forEach!=A6t},{forEach:A6t});var rbn=Ld("Array").forEach,lIe=Array.prototype,ibn={DOMTokenList:!0,NodeList:!0},VBt=function(r){var i=r.forEach;return r===lIe||uf(lIe,r)&&i===lIe.forEach||sc(ibn,pM(r))?rbn:i},xa=VBt,abn=Za([].concat),WBt=Dp("Reflect","ownKeys")||function(r){var i=xee.f(Iu(r)),o=ute.f;return o?abn(i,o(r)):i};ma({target:"Object",stat:!0,sham:!Zu},{getOwnPropertyDescriptors:function(r){for(var i,o,l=iy(r),h=p9.f,g=WBt(l),d={},b=0;g.length>b;)(o=h(l,i=g[b++]))!==void 0&&aM(d,i,o);return d}});var Sd=Gc.Object.getOwnPropertyDescriptors,g6t=GNe.f;ma({target:"Object",stat:!0,forced:Object.defineProperties!==g6t,sham:!Zu},{defineProperties:g6t});var obn=il(function(r){var i=Gc.Object,o=r.exports=function(l,h){return i.defineProperties(l,h)};i.defineProperties.sham&&(o.sham=!0)}),I6=obn,p6t=ew.f;ma({target:"Object",stat:!0,forced:Object.defineProperty!==p6t,sham:!Zu},{defineProperty:p6t});var qBt=il(function(r){var i=Gc.Object,o=r.exports=function(l,h,g){return i.defineProperty(l,h,g)};i.defineProperty.sham&&(o.sham=!0)}),Z2=qBt;function qr(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}var dte=qBt;function m6t(r,i){for(var o=0;o=51||!eu(function(){var r=[];return r[JBt]=!1,r.concat()[0]!==r}),lbn=fte("concat"),ubn=function(r){if(!g1(r))return!1;var i=r[JBt];return i!==void 0?!!i:HB(r)};ma({target:"Array",proto:!0,arity:1,forced:!cbn||!lbn},{concat:function(r){var i,o,l,h,g,d=ay(this),b=mpe(d,0),w=0;for(i=-1,l=arguments.length;ib6t)throw v6t(w6t);for(o=0;o=b6t)throw v6t(w6t);aM(b,w++,g)}return b.length=w,b}}),y0("asyncIterator"),y0("hasInstance"),y0("isConcatSpreadable"),y0("iterator"),y0("match"),y0("matchAll"),y0("replace"),y0("search"),y0("species"),y0("split"),y0("toPrimitive"),IBt(),y0("toStringTag"),UB(Dp("Symbol"),"Symbol"),y0("unscopables"),UB(Ai.JSON,"JSON",!0);var ZBt=Gc.Symbol,hbn=ZBt;y0("asyncDispose"),y0("dispose"),y0("matcher"),y0("metadata"),y0("observable"),y0("patternMatch"),y0("replaceAll");var B6=hbn,fbn=Za("".charAt),y6t=Za("".charCodeAt),dbn=Za("".slice),x6t=function(r){return function(i,o){var l,h,g=Zl(AM(i)),d=jj(o),b=g.length;return d<0||d>=b?r?"":void 0:(l=y6t(g,d))<55296||l>56319||d+1===b||(h=y6t(g,d+1))<56320||h>57343?r?fbn(g,d):l:r?dbn(g,d,d+2):h-56320+(l-55296<<10)+65536}},e_t={codeAt:x6t(!1),charAt:x6t(!0)},Abn=e_t.charAt,t_t="String Iterator",gbn=Mm.set,pbn=Mm.getterFor(t_t);YNe(String,"String",function(r){gbn(this,{type:t_t,string:Zl(r),index:0})},function(){var r,i=pbn(this),o=i.string,l=i.index;return l>=o.length?{value:void 0,done:!0}:(r=Abn(o,l),i.index+=r.length,{value:r,done:!1})});var n_t=qNe.f("iterator"),r_t=n_t;function Vc(r){return Vc=typeof B6=="function"&&typeof r_t=="symbol"?function(i){return typeof i}:function(i){return i&&typeof B6=="function"&&i.constructor===B6&&i!==B6.prototype?"symbol":typeof i},Vc(r)}function Wi(r,i){if(i&&(Vc(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return es(r)}var mbn=eu(function(){cQ(1)});ma({target:"Object",stat:!0,forced:mbn,sham:!jBt},{getPrototypeOf:function(r){return cQ(ay(r))}});var i_t=Gc.Object.getPrototypeOf,qZ=i_t;function En(r){return En=rge?qZ:function(i){return i.__proto__||qZ(i)},En(r)}function gi(r,i,o){return i in r?dte(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o,r}var bbn=Ld("Array").concat,uIe=Array.prototype,rt=function(r){var i=r.concat;return r===uIe||uf(uIe,r)&&i===uIe.concat?bbn:i};ma({target:"Function",proto:!0,forced:Function.bind!==iDe},{bind:iDe});var wbn=Ld("Function").bind,hIe=Function.prototype,a_t=function(r){var i=r.bind;return r===hIe||uf(hIe,r)&&i===hIe.bind?wbn:i},Xa=a_t,vbn=Ai.TypeError,wB=function(r,i){if(r2,h=hh(i)?i:xbn(i),g=l?iM(arguments,2):void 0;return r(l?function(){DB(h,this,g)}:h,o)}:r},o_t={setTimeout:k6t(Ai.setTimeout),setInterval:k6t(Ai.setInterval)},C6t=o_t.setInterval;ma({global:!0,bind:!0,forced:Ai.setInterval!==C6t},{setInterval:C6t});var E6t=o_t.setTimeout;ma({global:!0,bind:!0,forced:Ai.setTimeout!==E6t},{setTimeout:E6t});var Z0=Gc.setTimeout,kbn=function(){this.__data__=[],this.size=0},wpe=function(r,i){return r===i||r!=r&&i!=i},vpe=function(r,i){for(var o=r.length;o--;)if(wpe(r[o][0],i))return o;return-1},Cbn=Array.prototype.splice,Ebn=function(r){var i=this.__data__,o=vpe(i,r);return!(o<0)&&(o==i.length-1?i.pop():Cbn.call(i,o,1),--this.size,!0)},Tbn=function(r){var i=this.__data__,o=vpe(i,r);return o<0?void 0:i[o][1]},Bbn=function(r){return vpe(this.__data__,r)>-1},_bn=function(r,i){var o=this.__data__,l=vpe(o,r);return l<0?(++this.size,o.push([r,i])):o[l][1]=i,this};function T$(r){var i=-1,o=r==null?0:r.length;for(this.clear();++i-1&&r%1==0&&r<=9007199254740991},kpe=function(r){return r!=null&&p_t(r.length)&&!JNe(r)},b2n=function(r){return mM(r)&&kpe(r)},w2n=function(){return!1},rQe=il(function(r,i){var o=i&&!i.nodeType&&i,l=o&&r&&!r.nodeType&&r,h=l&&l.exports===o?xk.Buffer:void 0,g=(h?h.isBuffer:void 0)||w2n;r.exports=g}),v2n=Function.prototype,y2n=Object.prototype,m_t=v2n.toString,x2n=y2n.hasOwnProperty,k2n=m_t.call(Object),C2n=function(r){if(!mM(r)||CQ(r)!="[object Object]")return!1;var i=tQe(r);if(i===null)return!0;var o=x2n.call(i,"constructor")&&i.constructor;return typeof o=="function"&&o instanceof o&&m_t.call(o)==k2n},Y1={};Y1["[object Float32Array]"]=Y1["[object Float64Array]"]=Y1["[object Int8Array]"]=Y1["[object Int16Array]"]=Y1["[object Int32Array]"]=Y1["[object Uint8Array]"]=Y1["[object Uint8ClampedArray]"]=Y1["[object Uint16Array]"]=Y1["[object Uint32Array]"]=!0,Y1["[object Arguments]"]=Y1["[object Array]"]=Y1["[object ArrayBuffer]"]=Y1["[object Boolean]"]=Y1["[object DataView]"]=Y1["[object Date]"]=Y1["[object Error]"]=Y1["[object Function]"]=Y1["[object Map]"]=Y1["[object Number]"]=Y1["[object Object]"]=Y1["[object RegExp]"]=Y1["[object Set]"]=Y1["[object String]"]=Y1["[object WeakMap]"]=!1;var E2n=function(r){return mM(r)&&p_t(r.length)&&!!Y1[CQ(r)]},iQe=function(r){return function(i){return r(i)}},pj=il(function(r,i){var o=i&&!i.nodeType&&i,l=o&&r&&!r.nodeType&&r,h=l&&l.exports===o&&s_t.process,g=function(){try{var d=l&&l.require&&l.require("util").types;return d||h&&h.binding&&h.binding("util")}catch{}}();r.exports=g}),M6t=pj&&pj.isTypedArray,b_t=M6t?iQe(M6t):E2n,ADe=function(r,i){if((i!=="constructor"||typeof r[i]!="function")&&i!="__proto__")return r[i]},T2n=Object.prototype.hasOwnProperty,w_t=function(r,i,o){var l=r[i];T2n.call(r,i)&&wpe(l,o)&&(o!==void 0||i in r)||ZNe(r,i,o)},Ate=function(r,i,o,l){var h=!o;o||(o={});for(var g=-1,d=i.length;++g-1&&r%1==0&&r0){if(++i>=800)return arguments[0]}else i=0;return r.apply(void 0,arguments)}},j2n=$2n(U2n),K2n=function(r,i){return j2n(Q2n(r,i,x_t),r+"")},z2n=function(r,i,o){if(!vk(o))return!1;var l=typeof i;return!!(l=="number"?kpe(o)&&v_t(i,o.length):l=="string"&&i in o)&&wpe(o[i],r)},X2n=function(r){return K2n(function(i,o){var l=-1,h=o.length,g=h>1?o[h-1]:void 0,d=h>2?o[2]:void 0;for(g=r.length>3&&typeof g=="function"?(h--,g):void 0,d&&z2n(o[0],o[1],d)&&(g=h<3?void 0:g,h=1),i=Object(i);++l1?arguments[1]:void 0;return O6t?gDe(this,r,i)||0:V2n(this,r,i)}});var q2n=Ld("Array").indexOf,dIe=Array.prototype,k_t=function(r){var i=r.indexOf;return r===dIe||uf(dIe,r)&&i===dIe.indexOf?q2n:i},pDe=k_t,Y2n=LBt;function J2n(r,i){if(r==null)return{};var o,l,h=function(d,b){if(d==null)return{};var w,x,C={},B=Y2n(d);for(x=0;x=0||(C[w]=d[w]);return C}(r,i);if(D6t){var g=D6t(r);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(r,o)&&(h[o]=r[o])}return h}var A$=Object.assign,N6t=Object.defineProperty,Z2n=Za([].concat),_ee=!A$||eu(function(){if(Zu&&A$({b:1},A$(N6t({},"a",{enumerable:!0,get:function(){N6t(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var r={},i={},o=Symbol(),l="abcdefghijklmnopqrst";return r[o]=7,l.split("").forEach(function(h){i[h]=h}),A$({},r)[o]!=7||OB(A$({},i)).join("")!=l})?function(r,i){for(var o=ay(r),l=arguments.length,h=1,g=ute.f,d=ste.f;l>h;)for(var b,w=Ape(arguments[h++]),x=g?Z2n(OB(w),g(w)):OB(w),C=x.length,B=0;C>B;)b=x[B++],Zu&&!cc(d,w,b)||(o[b]=w[b]);return o}:A$;ma({target:"Object",stat:!0,arity:2,forced:Object.assign!==_ee},{assign:_ee});var C_t=Gc.Object.assign,BB=C_t;Gc.JSON||(Gc.JSON={stringify:JSON.stringify});var oQe=function(r,i,o){return DB(Gc.JSON.stringify,null,arguments)},ewn=WB.find,Q6t="find",P6t=!0;Q6t in[]&&Array(1)[Q6t](function(){P6t=!1}),ma({target:"Array",proto:!0,forced:P6t},{find:function(r){return ewn(this,r,arguments.length>1?arguments[1]:void 0)}});var VJ,twn=Ld("Array").find,AIe=Array.prototype,See=function(r){var i=r.find;return r===AIe||uf(AIe,r)&&i===AIe.find?twn:i},mj=`
-\v\f\r \u2028\u2029\uFEFF`,R6t=Za("".replace),age="["+mj+"]",nwn=RegExp("^"+age+age+"*"),rwn=RegExp(age+age+"*$"),gIe=function(r){return function(i){var o=Zl(AM(i));return 1&r&&(o=R6t(o,nwn,"")),2&r&&(o=R6t(o,rwn,"")),o}},sQe={start:gIe(1),end:gIe(2),trim:gIe(3)},iwn=$Bt.PROPER,awn=sQe.trim;ma({target:"String",proto:!0,forced:(VJ="trim",eu(function(){return!!mj[VJ]()||"
"[VJ]()!=="
"||iwn&&mj[VJ].name!==VJ}))},{trim:function(){return awn(this)}});var own=Ld("String").trim,pIe=String.prototype,uo=function(r){var i=r.trim;return typeof r=="string"||r===pIe||uf(pIe,r)&&i===pIe.trim?own:i},mDe=function(r,i,o){var l,h;Iu(r);try{if(!(l=W0e(r,"return"))){if(i==="throw")throw o;return o}l=cc(l,r)}catch(g){h=!0,l=g}if(i==="throw")throw o;if(h)throw l;return Iu(l),o},swn=function(r,i,o,l){try{return l?i(Iu(o)[0],o[1]):i(o)}catch(h){mDe(r,"throw",h)}},cwn=Z1("iterator"),lwn=Array.prototype,E_t=function(r){return r!==void 0&&(jB.Array===r||lwn[cwn]===r)},uwn=Z1("iterator"),pte=function(r){if(r!=null)return W0e(r,uwn)||W0e(r,"@@iterator")||jB[pM(r)]},hwn=Ai.TypeError,lQ=function(r,i){var o=arguments.length<2?pte(r):i;if(Lu(o))return Iu(cc(o,r));throw hwn(cte(r)+" is not iterable")},U6t=Ai.Array,DN=function(r){var i=ay(r),o=gpe(this),l=arguments.length,h=l>1?arguments[1]:void 0,g=h!==void 0;g&&(h=tg(h,l>2?arguments[2]:void 0));var d,b,w,x,C,B,L=pte(i),I=0;if(!L||this==U6t&&E_t(L))for(d=r4(i),b=o?new this(d):U6t(d);d>I;I++)B=g?h(i[I],I):i[I],aM(b,I,B);else for(C=(x=lQ(i,L)).next,b=o?new this:[];!(w=cc(C,x)).done;I++)B=g?swn(x,h,[w.value,I],!0):w.value,aM(b,I,B);return b.length=I,b},T_t=Z1("iterator"),B_t=!1;try{var fwn=0,H6t={next:function(){return{done:!!fwn++}},return:function(){B_t=!0}};H6t[T_t]=function(){return this},Array.from(H6t,function(){throw 2})}catch{}var __t=function(r,i){if(!i&&!B_t)return!1;var o=!1;try{var l={};l[T_t]=function(){return{next:function(){return{done:o=!0}}}},r(l)}catch{}return o},dwn=!__t(function(r){Array.from(r)});ma({target:"Array",stat:!0,forced:dwn},{from:DN});var S_t=Gc.Array.from,yl=S_t,Awn=Z1("match"),gwn=Ai.TypeError,cQe=function(r){if(function(i){var o;return g1(i)&&((o=i[Awn])!==void 0?!!o:l9(i)=="RegExp")}(r))throw gwn("The method doesn't accept regular expressions");return r},pwn=Z1("match"),lQe=function(r){var i=/./;try{"/./"[r](i)}catch{try{return i[pwn]=!1,"/./"[r](i)}catch{}}return!1};p9.f;var $6t=Za("".startsWith),mwn=Za("".slice),bwn=Math.min,wwn=lQe("startsWith");ma({target:"String",proto:!0,forced:!wwn},{startsWith:function(r){var i=Zl(AM(this));cQe(r);var o=zNe(bwn(arguments.length>1?arguments[1]:void 0,i.length)),l=Zl(r);return $6t?$6t(i,l,o):mwn(i,o,o+l.length)===l}});var vwn=Ld("String").startsWith,mIe=String.prototype,bj=function(r){var i=r.startsWith;return typeof r=="string"||r===mIe||uf(mIe,r)&&i===mIe.startsWith?vwn:i},Fp=il(function(r,i){r.exports=function(){var o=navigator.userAgent,l=navigator.platform,h=/gecko\/\d/i.test(o),g=/MSIE \d/.test(o),d=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(o),b=/Edge\/(\d+)/.exec(o),w=g||d||b,x=w&&(g?document.documentMode||6:+(b||d)[1]),C=!b&&/WebKit\//.test(o),B=C&&/Qt\/\d+\.\d+/.test(o),L=!b&&/Chrome\//.test(o),I=/Opera\//.test(o),P=/Apple Computer/.test(navigator.vendor),z=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(o),W=/PhantomJS/.test(o),Q=!b&&/AppleWebKit/.test(o)&&/Mobile\/\w+/.test(o),V=/Android/.test(o),oe=Q||V||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(o),G=Q||/Mac/.test(l),ae=/\bCrOS\b/.test(o),ne=/win/i.test(l),de=I&&o.match(/Version\/(\d*\.\d*)/);de&&(de=Number(de[1])),de&&de>=15&&(I=!1,C=!0);var Ae=G&&(B||I&&(de==null||de<12.11)),le=h||w&&x>=9;function ve(k){return new RegExp("(^|\\s)"+k+"(?:$|\\s)\\s*")}var me,ee=function(k,S){var $=k.className,R=ve(S).exec($);if(R){var X=$.slice(R.index+R[0].length);k.className=$.slice(0,R.index)+(X?R[1]+X:"")}};function ye(k){for(var S=k.childNodes.length;S>0;--S)k.removeChild(k.firstChild);return k}function Y(k,S){return ye(k).appendChild(S)}function Ee(k,S,$,R){var X=document.createElement(k);if($&&(X.className=$),R&&(X.style.cssText=R),typeof S=="string")X.appendChild(document.createTextNode(S));else if(S)for(var pe=0;pe=S)return Ie+(S-pe);Ie+=Oe-pe,Ie+=$-Ie%$,pe=Oe+1}}Q?ot=function(k){k.selectionStart=0,k.selectionEnd=k.value.length}:w&&(ot=function(k){try{k.select()}catch{}});var Rt=function(){this.id=null,this.f=null,this.time=0,this.handler=Qe(this.onTimeout,this)};function Et(k,S){for(var $=0;$=S)return R+Math.min(Ie,S-X);if(X+=pe-R,R=pe+1,(X+=$-X%$)>=S)return R}}var He=[""];function lt(k){for(;He.length<=k;)He.push(Ke(He)+" ");return He[k]}function Ke(k){return k[k.length-1]}function mn(k,S){for(var $=[],R=0;R""&&(k.toUpperCase()!=k.toLowerCase()||sn.test(k))}function xn(k,S){return S?!!(S.source.indexOf("\\w")>-1&&cn(k))||S.test(k):cn(k)}function nn(k){for(var S in k)if(k.hasOwnProperty(S)&&k[S])return!1;return!0}var Qn=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ln(k){return k.charCodeAt(0)>=768&&Qn.test(k)}function Hn(k,S,$){for(;($<0?S>0:S$?-1:1;;){if(S==$)return S;var X=(S+$)/2,pe=R<0?Math.ceil(X):Math.floor(X);if(pe==S)return k(pe)?S:$;k(pe)?$=pe:S=pe+R}}function _r(k,S,$,R){if(!k)return R(S,$,"ltr",0);for(var X=!1,pe=0;peS||S==$&&Ie.to==S)&&(R(Math.max(Ie.from,S),Math.min(Ie.to,$),Ie.level==1?"rtl":"ltr",pe),X=!0)}X||R(S,$,"ltr")}var Lr=null;function ti(k,S,$){var R;Lr=null;for(var X=0;XS)return X;pe.to==S&&(pe.from!=pe.to&&$=="before"?R=X:Lr=X),pe.from==S&&(pe.from!=pe.to&&$!="before"?R=X:Lr=X)}return R??Lr}var _i=function(){var k="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",S="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function $(Je){return Je<=247?k.charAt(Je):1424<=Je&&Je<=1524?"R":1536<=Je&&Je<=1785?S.charAt(Je-1536):1774<=Je&&Je<=2220?"r":8192<=Je&&Je<=8203?"w":Je==8204?"b":"L"}var R=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,X=/[stwN]/,pe=/[LRr]/,Ie=/[Lb1n]/,Oe=/[1n]/;function Ge(Je,Pt,Dt){this.level=Je,this.from=Pt,this.to=Dt}return function(Je,Pt){var Dt=Pt=="ltr"?"L":"R";if(Je.length==0||Pt=="ltr"&&!R.test(Je))return!1;for(var kn=Je.length,Nn=[],rr=0;rr-1&&(R[S]=X.slice(0,pe).concat(X.slice(pe+1)))}}}function vr(k,S){var $=Ta(k,S);if($.length)for(var R=Array.prototype.slice.call(arguments,2),X=0;X<$.length;++X)$[X].apply(null,R)}function Zr(k,S,$){return typeof S=="string"&&(S={type:S,preventDefault:function(){this.defaultPrevented=!0}}),vr(k,$||S.type,k,S),Ya(S)||S.codemirrorIgnore}function Mr(k){var S=k._handlers&&k._handlers.cursorActivity;if(S)for(var $=k.curOp.cursorActivityHandlers||(k.curOp.cursorActivityHandlers=[]),R=0;R0}function jn(k){k.prototype.on=function(S,$){mi(this,S,$)},k.prototype.off=function(S,$){lr(this,S,$)}}function Xo(k){k.preventDefault?k.preventDefault():k.returnValue=!1}function hr(k){k.stopPropagation?k.stopPropagation():k.cancelBubble=!0}function Ya(k){return k.defaultPrevented!=null?k.defaultPrevented:k.returnValue==0}function So(k){Xo(k),hr(k)}function ta(k){return k.target||k.srcElement}function Ba(k){var S=k.which;return S==null&&(1&k.button?S=1:2&k.button?S=3:4&k.button&&(S=2)),G&&k.ctrlKey&&S==1&&(S=3),S}var ho,mo,Lo=function(){if(w&&x<9)return!1;var k=Ee("div");return"draggable"in k||"dragDrop"in k}();function qo(k){if(ho==null){var S=Ee("span","");Y(k,Ee("span",[S,document.createTextNode("x")])),k.firstChild.offsetHeight!=0&&(ho=S.offsetWidth<=1&&S.offsetHeight>2&&!(w&&x<8))}var $=ho?Ee("span",""):Ee("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return $.setAttribute("cm-text",""),$}function cs(k){if(mo!=null)return mo;var S=Y(k,document.createTextNode("AخA")),$=me(S,0,1).getBoundingClientRect(),R=me(S,1,2).getBoundingClientRect();return ye(k),!(!$||$.left==$.right)&&(mo=R.right-$.right<3)}var fa,qh=`
+**/const $gn="http://www.w3.org/2000/svg",jgn="http://www.w3.org/1998/Math/MathML",jM=typeof document<"u"?document:null,m5t=jM&&jM.createElement("template"),Kgn={insert:(r,i,o)=>{i.insertBefore(r,o||null)},remove:r=>{const i=r.parentNode;i&&i.removeChild(r)},createElement:(r,i,o,l)=>{const h=i==="svg"?jM.createElementNS($gn,r):i==="mathml"?jM.createElementNS(jgn,r):jM.createElement(r,o?{is:o}:void 0);return r==="select"&&l&&l.multiple!=null&&h.setAttribute("multiple",l.multiple),h},createText:r=>jM.createTextNode(r),createComment:r=>jM.createComment(r),setText:(r,i)=>{r.nodeValue=i},setElementText:(r,i)=>{r.textContent=i},parentNode:r=>r.parentNode,nextSibling:r=>r.nextSibling,querySelector:r=>jM.querySelector(r),setScopeId(r,i){r.setAttribute(i,"")},insertStaticContent(r,i,o,l,h,g){const d=o?o.previousSibling:i.lastChild;if(h&&(h===g||h.nextSibling))for(;i.insertBefore(h.cloneNode(!0),o),!(h===g||!(h=h.nextSibling)););else{m5t.innerHTML=l==="svg"?`${r} `:l==="mathml"?`${r} `:r;const b=m5t.content;if(l==="svg"||l==="mathml"){const w=b.firstChild;for(;w.firstChild;)b.appendChild(w.firstChild);b.removeChild(w)}i.insertBefore(b,o)}return[d?d.nextSibling:i.firstChild,o?o.previousSibling:i.lastChild]}},zgn=Symbol("_vtc");function Xgn(r,i,o){const l=r[zgn];l&&(i=(i?[i,...l]:[...l]).join(" ")),i==null?r.removeAttribute("class"):o?r.setAttribute("class",i):r.className=i}const Ggn=Symbol("_vod"),Vgn=Symbol("");function Wgn(r,i,o){const l=r.style,h=l.display,g=Lm(o);if(o&&!g){if(i&&!Lm(i))for(const d in i)o[d]==null&&eDe(l,d,"");for(const d in o)eDe(l,d,o[d])}else if(g){if(i!==o){const d=l[Vgn];d&&(o+=";"+d),l.cssText=o}}else i&&r.removeAttribute("style");Ggn in r&&(l.display=h)}const b5t=/\s*!important$/;function eDe(r,i,o){if(Pl(o))o.forEach(l=>eDe(r,i,l));else if(o==null&&(o=""),i.startsWith("--"))r.setProperty(i,o);else{const l=qgn(r,i);b5t.test(o)?r.setProperty(Uj(l),o.replace(b5t,""),"important"):r[l]=o}}const w5t=["Webkit","Moz","ms"],$Le={};function qgn(r,i){const o=$Le[i];if(o)return o;let l=hj(i);if(l!=="filter"&&l in r)return $Le[i]=l;l=CTt(l);for(let h=0;hjLe||(rpn.then(()=>jLe=0),jLe=Date.now());function apn(r,i){const o=l=>{if(!l._vts)l._vts=Date.now();else if(l._vts<=o.attached)return;g7(opn(l,o.value),i,5,[l])};return o.value=r,o.attached=ipn(),o}function opn(r,i){if(Pl(i)){const o=r.stopImmediatePropagation;return r.stopImmediatePropagation=()=>{o.call(r),r._stopped=!0},i.map(l=>h=>!h._stopped&&l&&l(h))}else return i}const k5t=r=>r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&r.charCodeAt(2)>96&&r.charCodeAt(2)<123,spn=(r,i,o,l,h,g,d,b,w)=>{const x=h==="svg";i==="class"?Xgn(r,l,x):i==="style"?Wgn(r,o,l):npe(i)?wNe(i)||tpn(r,i,o,l,d):(i[0]==="."?(i=i.slice(1),!0):i[0]==="^"?(i=i.slice(1),!1):cpn(r,i,l,x))?Jgn(r,i,l,g,d,b,w):(i==="true-value"?r._trueValue=l:i==="false-value"&&(r._falseValue=l),Ygn(r,i,l,x))};function cpn(r,i,o,l){if(l)return!!(i==="innerHTML"||i==="textContent"||i in r&&k5t(i)&&Au(o));if(i==="spellcheck"||i==="draggable"||i==="translate"||i==="form"||i==="list"&&r.tagName==="INPUT"||i==="type"&&r.tagName==="TEXTAREA")return!1;if(i==="width"||i==="height"){const h=r.tagName;if(h==="IMG"||h==="VIDEO"||h==="CANVAS"||h==="SOURCE")return!1}return k5t(i)&&Lm(o)?!1:i in r}const lpn=Lb({patchProp:spn},Kgn);let C5t;function upn(){return C5t||(C5t=wgn(lpn))}const hpn=(...r)=>{const i=upn().createApp(...r),{mount:o}=i;return i.mount=l=>{const h=dpn(l);if(!h)return;const g=i._component;!Au(g)&&!g.render&&!g.template&&(g.template=h.innerHTML),h.innerHTML="";const d=o(h,!1,fpn(h));return h instanceof Element&&(h.removeAttribute("v-cloak"),h.setAttribute("data-v-app","")),d},i};function fpn(r){if(r instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&r instanceof MathMLElement)return"mathml"}function dpn(r){return Lm(r)?document.querySelector(r):r}var Bb=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xQ(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function il(r,i){return r(i={exports:{}},i.exports),i.exports}function KLe(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var _M,jAe,Ude=function(r){return r&&r.Math==Math&&r},Ai=Ude(typeof globalThis=="object"&&globalThis)||Ude(typeof window=="object"&&window)||Ude(typeof self=="object"&&self)||Ude(typeof Bb=="object"&&Bb)||function(){return this}()||Function("return this")(),eu=function(r){try{return!!r()}catch{return!0}},Hj=!eu(function(){var r=(function(){}).bind();return typeof r!="function"||r.hasOwnProperty("prototype")}),ABt=Function.prototype,E5t=ABt.apply,T5t=ABt.call,FB=typeof Reflect=="object"&&Reflect.apply||(Hj?T5t.bind(E5t):function(){return T5t.apply(E5t,arguments)}),gBt=Function.prototype,Apn=gBt.bind,tDe=gBt.call,gpn=Hj&&Apn.bind(tDe,tDe),Za=Hj?function(r){return r&&gpn(r)}:function(r){return r&&function(){return tDe.apply(r,arguments)}},hh=function(r){return typeof r=="function"},Zu=!eu(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Hde=Function.prototype.call,cc=Hj?Hde.bind(Hde):function(){return Hde.apply(Hde,arguments)},B5t={}.propertyIsEnumerable,_5t=Object.getOwnPropertyDescriptor,ote={f:_5t&&!B5t.call({1:2},1)?function(r){var i=_5t(this,r);return!!i&&i.enumerable}:B5t},W3=function(r,i){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:i}},ppn=Za({}.toString),mpn=Za("".slice),c9=function(r){return mpn(ppn(r),8,-1)},zLe=Ai.Object,bpn=Za("".split),dpe=eu(function(){return!zLe("z").propertyIsEnumerable(0)})?function(r){return c9(r)=="String"?bpn(r,""):zLe(r)}:zLe,wpn=Ai.TypeError,dI=function(r){if(r==null)throw wpn("Can't call method on "+r);return r},ry=function(r){return dpe(dI(r))},g1=function(r){return typeof r=="object"?r!==null:hh(r)},Gc={},S5t=function(r){return hh(r)?r:void 0},Fp=function(r,i){return arguments.length<2?S5t(Gc[r])||S5t(Ai[r]):Gc[r]&&Gc[r][i]||Ai[r]&&Ai[r][i]},uf=Za({}.isPrototypeOf),l9=Fp("navigator","userAgent")||"",L5t=Ai.process,M5t=Ai.Deno,I5t=L5t&&L5t.versions||M5t&&M5t.version,F5t=I5t&&I5t.v8;F5t&&(jAe=(_M=F5t.split("."))[0]>0&&_M[0]<4?1:+(_M[0]+_M[1])),!jAe&&l9&&(!(_M=l9.match(/Edge\/(\d+)/))||_M[1]>=74)&&(_M=l9.match(/Chrome\/(\d+)/))&&(jAe=+_M[1]);var f9=jAe,C6=!!Object.getOwnPropertySymbols&&!eu(function(){var r=Symbol();return!String(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&f9&&f9<41}),UNe=C6&&!Symbol.sham&&typeof Symbol.iterator=="symbol",vpn=Ai.Object,dj=UNe?function(r){return typeof r=="symbol"}:function(r){var i=Fp("Symbol");return hh(i)&&uf(i.prototype,vpn(r))},ypn=Ai.String,ste=function(r){try{return ypn(r)}catch{return"Object"}},xpn=Ai.TypeError,Lu=function(r){if(hh(r))return r;throw xpn(ste(r)+" is not a function")},V0e=function(r,i){var o=r[i];return o==null?void 0:Lu(o)},kpn=Ai.TypeError,Cpn=Object.defineProperty,D5t="__core-js_shared__",eI=Ai[D5t]||function(r,i){try{Cpn(Ai,r,{value:i,configurable:!0,writable:!0})}catch{Ai[r]=i}return i}(D5t,{}),AI=il(function(r){(r.exports=function(i,o){return eI[i]||(eI[i]=o!==void 0?o:{})})("versions",[]).push({version:"3.22.6",mode:"pure",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.6/LICENSE",source:"https://github.com/zloirock/core-js"})}),Epn=Ai.Object,iy=function(r){return Epn(dI(r))},Tpn=Za({}.hasOwnProperty),sc=Object.hasOwn||function(r,i){return Tpn(iy(r),i)},Bpn=0,_pn=Math.random(),Spn=Za(1 .toString),vee=function(r){return"Symbol("+(r===void 0?"":r)+")_"+Spn(++Bpn+_pn,36)},KJ=AI("wks"),eQ=Ai.Symbol,O5t=eQ&&eQ.for,Lpn=UNe?eQ:eQ&&eQ.withoutSetter||vee,ed=function(r){if(!sc(KJ,r)||!C6&&typeof KJ[r]!="string"){var i="Symbol."+r;C6&&sc(eQ,r)?KJ[r]=eQ[r]:KJ[r]=UNe&&O5t?O5t(i):Lpn(i)}return KJ[r]},Mpn=Ai.TypeError,Ipn=ed("toPrimitive"),Fpn=function(r,i){if(!g1(r)||dj(r))return r;var o,l=V0e(r,Ipn);if(l){if(i===void 0&&(i="default"),o=cc(l,r,i),!g1(o)||dj(o))return o;throw Mpn("Can't convert object to primitive value")}return i===void 0&&(i="number"),function(h,g){var d,b;if(g==="string"&&hh(d=h.toString)&&!g1(b=cc(d,h))||hh(d=h.valueOf)&&!g1(b=cc(d,h))||g!=="string"&&hh(d=h.toString)&&!g1(b=cc(d,h)))return b;throw kpn("Can't convert object to primitive value")}(r,i)},oQ=function(r){var i=Fpn(r,"string");return dj(i)?i:i+""},nDe=Ai.document,Dpn=g1(nDe)&&g1(nDe.createElement),W0e=function(r){return Dpn?nDe.createElement(r):{}},pBt=!Zu&&!eu(function(){return Object.defineProperty(W0e("div"),"a",{get:function(){return 7}}).a!=7}),N5t=Object.getOwnPropertyDescriptor,g9={f:Zu?N5t:function(r,i){if(r=ry(r),i=oQ(i),pBt)try{return N5t(r,i)}catch{}if(sc(r,i))return W3(!cc(ote.f,r,i),r[i])}},Opn=/#|\.prototype\./,cte=function(r,i){var o=Qpn[Npn(r)];return o==Rpn||o!=Ppn&&(hh(i)?eu(i):!!i)},Npn=cte.normalize=function(r){return String(r).replace(Opn,".").toLowerCase()},Qpn=cte.data={},Ppn=cte.NATIVE="N",Rpn=cte.POLYFILL="P",mBt=cte,Upn=Za(Za.bind),tg=function(r,i){return Lu(r),i===void 0?r:Hj?Upn(r,i):function(){return r.apply(i,arguments)}},bBt=Zu&&eu(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),Hpn=Ai.String,$pn=Ai.TypeError,Mu=function(r){if(g1(r))return r;throw $pn(Hpn(r)+" is not an object")},jpn=Ai.TypeError,XLe=Object.defineProperty,Kpn=Object.getOwnPropertyDescriptor,GLe="enumerable",VLe="configurable",WLe="writable",Z2={f:Zu?bBt?function(r,i,o){if(Mu(r),i=oQ(i),Mu(o),typeof r=="function"&&i==="prototype"&&"value"in o&&WLe in o&&!o[WLe]){var l=Kpn(r,i);l&&l[WLe]&&(r[i]=o.value,o={configurable:VLe in o?o[VLe]:l[VLe],enumerable:GLe in o?o[GLe]:l[GLe],writable:!1})}return XLe(r,i,o)}:XLe:function(r,i,o){if(Mu(r),i=oQ(i),Mu(o),pBt)try{return XLe(r,i,o)}catch{}if("get"in o||"set"in o)throw jpn("Accessors not supported");return"value"in o&&(r[i]=o.value),r}},xb=Zu?function(r,i,o){return Z2.f(r,i,W3(1,o))}:function(r,i,o){return r[i]=o,r},zpn=g9.f,Xpn=function(r){var i=function(o,l,h){if(this instanceof i){switch(arguments.length){case 0:return new r;case 1:return new r(o);case 2:return new r(o,l)}return new r(o,l,h)}return FB(r,this,arguments)};return i.prototype=r.prototype,i},ma=function(r,i){var o,l,h,g,d,b,w,x,C=r.target,B=r.global,L=r.stat,M=r.proto,P=B?Ai:L?Ai[C]:(Ai[C]||{}).prototype,z=B?Gc:Gc[C]||xb(Gc,C,{})[C],W=z.prototype;for(h in i)o=!mBt(B?h:C+(L?".":"#")+h,r.forced)&&P&&sc(P,h),d=z[h],o&&(b=r.dontCallGetSet?(x=zpn(P,h))&&x.value:P[h]),g=o&&b?b:i[h],o&&typeof d==typeof g||(w=r.bind&&o?tg(g,Ai):r.wrap&&o?Xpn(g):M&&hh(g)?Za(g):g,(r.sham||g&&g.sham||d&&d.sham)&&xb(w,"sham",!0),xb(z,h,w),M&&(sc(Gc,l=C+"Prototype")||xb(Gc,l,{}),xb(Gc[l],h,g),r.real&&W&&!W[h]&&xb(W,h,g)))},rI=Za([].slice),Q5t=Ai.Function,Gpn=Za([].concat),Vpn=Za([].join),qLe={},rDe=Hj?Q5t.bind:function(r){var i=Lu(this),o=i.prototype,l=rI(arguments,1),h=function(){var g=Gpn(l,rI(arguments));return this instanceof h?function(d,b,w){if(!sc(qLe,b)){for(var x=[],C=0;C0?imn:rmn)(i)},$j=function(r){var i=+r;return i!=i||i===0?0:amn(i)},omn=Math.max,smn=Math.min,PB=function(r,i){var o=$j(r);return o<0?omn(o+i,0):smn(o,i)},cmn=Math.min,KNe=function(r){return r>0?cmn($j(r),9007199254740991):0},n4=function(r){return KNe(r.length)},P5t=function(r){return function(i,o,l){var h,g=ry(i),d=n4(g),b=PB(l,d);if(r&&o!=o){for(;d>b;)if((h=g[b++])!=h)return!0}else for(;d>b;b++)if((r||b in g)&&g[b]===o)return r||b||0;return!r&&-1}},zNe={includes:P5t(!0),indexOf:P5t(!1)},jj={},lmn=zNe.indexOf,R5t=Za([].push),kBt=function(r,i){var o,l=ry(r),h=0,g=[];for(o in l)!sc(jj,o)&&sc(l,o)&&R5t(g,o);for(;i.length>h;)sc(l,o=i[h++])&&(~lmn(g,o)||R5t(g,o));return g},Y0e=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],DB=Object.keys||function(r){return kBt(r,Y0e)},umn=Zu&&!bBt?Object.defineProperties:function(r,i){Mu(r);for(var o,l=ry(i),h=DB(i),g=h.length,d=0;g>d;)Z2.f(r,o=h[d++],l[o]);return r},XNe={f:umn},iDe=Fp("document","documentElement"),U5t=AI("keys"),gpe=function(r){return U5t[r]||(U5t[r]=vee(r))},aDe="prototype",oDe="script",CBt=gpe("IE_PROTO"),YLe=function(){},EBt=function(r){return"<"+oDe+">"+r+""+oDe+">"},H5t=function(r){r.write(EBt("")),r.close();var i=r.parentWindow.Object;return r=null,i},KAe=function(){try{$de=new ActiveXObject("htmlfile")}catch{}var r,i,o;KAe=typeof document<"u"?document.domain&&$de?H5t($de):(i=W0e("iframe"),o="java"+oDe+":",i.style.display="none",iDe.appendChild(i),i.src=String(o),(r=i.contentWindow.document).open(),r.write(EBt("document.F=Object")),r.close(),r.F):H5t($de);for(var l=Y0e.length;l--;)delete KAe[aDe][Y0e[l]];return KAe()};jj[CBt]=!0;var Z3=Object.create||function(r,i){var o;return r!==null?(YLe[aDe]=Mu(r),o=new YLe,YLe[aDe]=null,o[CBt]=r):o=KAe(),i===void 0?o:XNe.f(o,i)},GNe=Fp("Reflect","construct"),hmn=Object.prototype,fmn=[].push,TBt=eu(function(){function r(){}return!(GNe(function(){},[],r)instanceof r)}),BBt=!eu(function(){GNe(function(){})}),$5t=TBt||BBt;ma({target:"Reflect",stat:!0,forced:$5t,sham:$5t},{construct:function(r,i){q0e(r),Mu(i);var o=arguments.length<3?r:q0e(arguments[2]);if(BBt&&!TBt)return GNe(r,i,o);if(r==o){switch(i.length){case 0:return new r;case 1:return new r(i[0]);case 2:return new r(i[0],i[1]);case 3:return new r(i[0],i[1],i[2]);case 4:return new r(i[0],i[1],i[2],i[3])}var l=[null];return FB(fmn,l,i),new(FB(rDe,r,l))}var h=o.prototype,g=Z3(g1(h)?h:hmn),d=FB(r,g,i);return g1(d)?d:g}});var _Bt=Gc.Reflect.construct,ut=_Bt,dmn=eu(function(){DB(1)});ma({target:"Object",stat:!0,forced:dmn},{keys:function(r){return DB(iy(r))}});var J0e,XZ,Z0e,SBt=Gc.Object.keys,pu=SBt,Amn=Ai.String,Zl=function(r){if(gI(r)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Amn(r)},gmn=Y0e.concat("length","prototype"),yee={f:Object.getOwnPropertyNames||function(r){return kBt(r,gmn)}},iI=function(r,i,o){var l=oQ(i);l in r?Z2.f(r,l,W3(0,o)):r[l]=o},pmn=Ai.Array,mmn=Math.max,zv=function(r,i,o){for(var l=n4(r),h=PB(i,l),g=PB(o===void 0?l:o,l),d=pmn(mmn(g-h,0)),b=0;hV;V++)if((b||V in z)&&(M=W(L=z[V],V,P),r))if(i)G[V]=M;else if(M)switch(r){case 3:return!0;case 5:return L;case 6:return V;case 2:q5t(G,L)}else switch(r){case 4:return!1;case 7:q5t(G,L)}return g?-1:l||h?h:G}},VB={forEach:SM(0),map:SM(1),filter:SM(2),some:SM(3),every:SM(4),find:SM(5),findIndex:SM(6),filterReject:SM(7)},mpe=VB.forEach,Wv=gpe("hidden"),ege="Symbol",xee="prototype",Tmn=Mm.set,Y5t=Mm.getterFor(ege),f7=Object[xee],HN=Ai.Symbol,xZ=HN&&HN[xee],Bmn=Ai.TypeError,JLe=Ai.QObject,MBt=g9.f,zM=Z2.f,IBt=VNe.f,_mn=ote.f,FBt=Za([].push),HB=AI("symbols"),ute=AI("op-symbols"),Smn=AI("wks"),ZLe=!JLe||!JLe[xee]||!JLe[xee].findChild,cDe=Zu&&eu(function(){return Z3(zM({},"a",{get:function(){return zM(this,"a",{value:7}).a}})).a!=7})?function(r,i,o){var l=MBt(f7,i);l&&delete f7[i],zM(r,i,o),l&&r!==f7&&zM(f7,i,l)}:zM,eMe=function(r,i){var o=HB[r]=Z3(xZ);return Tmn(o,{type:ege,tag:r,description:i}),Zu||(o.description=i),o},tge=function(r,i,o){r===f7&&tge(ute,i,o),Mu(r);var l=oQ(i);return Mu(o),sc(HB,l)?(o.enumerable?(sc(r,Wv)&&r[Wv][l]&&(r[Wv][l]=!1),o=Z3(o,{enumerable:W3(0,!1)})):(sc(r,Wv)||zM(r,Wv,W3(1,{})),r[Wv][l]=!0),cDe(r,l,o)):zM(r,l,o)},tMe=function(r,i){Mu(r);var o=ry(i),l=DB(o).concat(OBt(o));return mpe(l,function(h){Zu&&!cc(DBt,o,h)||tge(r,h,o[h])}),r},DBt=function(r){var i=oQ(r),o=cc(_mn,this,i);return!(this===f7&&sc(HB,i)&&!sc(ute,i))&&(!(o||!sc(this,i)||!sc(HB,i)||sc(this,Wv)&&this[Wv][i])||o)},J5t=function(r,i){var o=ry(r),l=oQ(i);if(o!==f7||!sc(HB,l)||sc(ute,l)){var h=MBt(o,l);return!h||!sc(HB,l)||sc(o,Wv)&&o[Wv][l]||(h.enumerable=!0),h}},Z5t=function(r){var i=IBt(ry(r)),o=[];return mpe(i,function(l){sc(HB,l)||sc(jj,l)||FBt(o,l)}),o},OBt=function(r){var i=r===f7,o=IBt(i?ute:ry(r)),l=[];return mpe(o,function(h){!sc(HB,h)||i&&!sc(f7,h)||FBt(l,HB[h])}),l};C6||(HN=function(){if(uf(xZ,this))throw Bmn("Symbol is not a constructor");var r=arguments.length&&arguments[0]!==void 0?Zl(arguments[0]):void 0,i=vee(r),o=function(l){this===f7&&cc(o,ute,l),sc(this,Wv)&&sc(this[Wv],i)&&(this[Wv][i]=!1),cDe(this,i,W3(1,l))};return Zu&&ZLe&&cDe(f7,i,{configurable:!0,set:o}),eMe(i,r)},xZ=HN[xee],ey(xZ,"toString",function(){return Y5t(this).tag}),ey(HN,"withoutSetter",function(r){return eMe(vee(r),r)}),ote.f=DBt,Z2.f=tge,XNe.f=tMe,g9.f=J5t,yee.f=VNe.f=Z5t,lte.f=OBt,WNe.f=function(r){return eMe(ed(r),r)},Zu&&zM(xZ,"description",{configurable:!0,get:function(){return Y5t(this).description}})),ma({global:!0,constructor:!0,wrap:!0,forced:!C6,sham:!C6},{Symbol:HN}),mpe(DB(Smn),function(r){x0(r)}),ma({target:ege,stat:!0,forced:!C6},{useSetter:function(){ZLe=!0},useSimple:function(){ZLe=!1}}),ma({target:"Object",stat:!0,forced:!C6,sham:!Zu},{create:function(r,i){return i===void 0?Z3(r):tMe(Z3(r),i)},defineProperty:tge,defineProperties:tMe,getOwnPropertyDescriptor:J5t}),ma({target:"Object",stat:!0,forced:!C6},{getOwnPropertyNames:Z5t}),LBt(),RB(HN,ege),jj[Wv]=!0;var NBt=C6&&!!Symbol.for&&!!Symbol.keyFor,nMe=AI("string-to-symbol-registry"),Lmn=AI("symbol-to-string-registry");ma({target:"Symbol",stat:!0,forced:!NBt},{for:function(r){var i=Zl(r);if(sc(nMe,i))return nMe[i];var o=Fp("Symbol")(i);return nMe[i]=o,Lmn[o]=i,o}});var e6t=AI("symbol-to-string-registry");ma({target:"Symbol",stat:!0,forced:!NBt},{keyFor:function(r){if(!dj(r))throw TypeError(ste(r)+" is not a symbol");if(sc(e6t,r))return e6t[r]}});var tI=Fp("JSON","stringify"),jde=Za(/./.exec),t6t=Za("".charAt),Mmn=Za("".charCodeAt),Imn=Za("".replace),Fmn=Za(1 .toString),Dmn=/[\uD800-\uDFFF]/g,n6t=/^[\uD800-\uDBFF]$/,r6t=/^[\uDC00-\uDFFF]$/,i6t=!C6||eu(function(){var r=Fp("Symbol")();return tI([r])!="[null]"||tI({a:r})!="{}"||tI(Object(r))!="{}"}),a6t=eu(function(){return tI("\uDF06\uD834")!=='"\\udf06\\ud834"'||tI("\uDEAD")!=='"\\udead"'}),Omn=function(r,i){var o=rI(arguments),l=i;if((g1(i)||r!==void 0)&&!dj(r))return UB(i)||(i=function(h,g){if(hh(l)&&(g=cc(l,this,h,g)),!dj(g))return g}),o[1]=i,FB(tI,null,o)},Nmn=function(r,i,o){var l=t6t(o,i-1),h=t6t(o,i+1);return jde(n6t,r)&&!jde(r6t,h)||jde(r6t,r)&&!jde(n6t,l)?"\\u"+Fmn(Mmn(r,0),16):r};tI&&ma({target:"JSON",stat:!0,arity:3,forced:i6t||a6t},{stringify:function(r,i,o){var l=rI(arguments),h=FB(i6t?Omn:tI,null,l);return a6t&&typeof h=="string"?Imn(h,Dmn,Nmn):h}});var Qmn=!C6||eu(function(){lte.f(1)});ma({target:"Object",stat:!0,forced:Qmn},{getOwnPropertySymbols:function(r){var i=lte.f;return i?i(iy(r)):[]}});var QBt=Gc.Object.getOwnPropertySymbols,O1=QBt,Pmn=ed("species"),hte=function(r){return f9>=51||!eu(function(){var i=[];return(i.constructor={})[Pmn]=function(){return{foo:1}},i[r](Boolean).foo!==1})},Rmn=VB.filter,Umn=hte("filter");ma({target:"Array",proto:!0,forced:!Umn},{filter:function(r){return Rmn(this,r,arguments.length>1?arguments[1]:void 0)}});var Md=function(r){return Gc[r+"Prototype"]},Hmn=Md("Array").filter,rMe=Array.prototype,t1=function(r){var i=r.filter;return r===rMe||uf(rMe,r)&&i===rMe.filter?Hmn:i},PBt=g9.f,$mn=eu(function(){PBt(1)});ma({target:"Object",stat:!0,forced:!Zu||$mn,sham:!Zu},{getOwnPropertyDescriptor:function(r,i){return PBt(ry(r),i)}});var GM,o6t,s6t,jmn=il(function(r){var i=Gc.Object,o=r.exports=function(l,h){return i.getOwnPropertyDescriptor(l,h)};i.getOwnPropertyDescriptor.sham&&(o.sham=!0)}),RBt=jmn,Id=RBt,$B={},UBt=Function.prototype,Kmn=Zu&&Object.getOwnPropertyDescriptor,iMe=sc(UBt,"name"),HBt={EXISTS:iMe,PROPER:iMe&&(function(){}).name==="something",CONFIGURABLE:iMe&&(!Zu||Zu&&Kmn(UBt,"name").configurable)},$Bt=!eu(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype}),c6t=gpe("IE_PROTO"),lDe=Ai.Object,zmn=lDe.prototype,sQ=$Bt?lDe.getPrototypeOf:function(r){var i=iy(r);if(sc(i,c6t))return i[c6t];var o=i.constructor;return hh(o)&&i instanceof o?o.prototype:i instanceof lDe?zmn:null},uDe=ed("iterator"),jBt=!1;[].keys&&("next"in(s6t=[].keys())?(o6t=sQ(sQ(s6t)))!==Object.prototype&&(GM=o6t):jBt=!0);var Xmn=GM==null||eu(function(){var r={};return GM[uDe].call(r)!==r});GM=Xmn?{}:Z3(GM),hh(GM[uDe])||ey(GM,uDe,function(){return this});var KBt={IteratorPrototype:GM,BUGGY_SAFARI_ITERATORS:jBt},Gmn=KBt.IteratorPrototype,Vmn=function(){return this},zBt=function(r,i,o,l){var h=i+" Iterator";return r.prototype=Z3(Gmn,{next:W3(+!l,o)}),RB(r,h,!1,!0),$B[h]=Vmn,r},Wmn=Ai.String,qmn=Ai.TypeError,kee=Object.setPrototypeOf||("__proto__"in{}?function(){var r,i=!1,o={};try{(r=Za(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(o,[]),i=o instanceof Array}catch{}return function(l,h){return Mu(l),function(g){if(typeof g=="object"||hh(g))return g;throw qmn("Can't set "+Wmn(g)+" as a prototype")}(h),i?r(l,h):l.__proto__=h,l}}():void 0),Ymn=HBt.PROPER,Kde=KBt.BUGGY_SAFARI_ITERATORS,aMe=ed("iterator"),l6t="keys",zde="values",u6t="entries",Jmn=function(){return this},qNe=function(r,i,o,l,h,g,d){zBt(o,i,l);var b,w,x,C=function(Q){if(Q===h&&z)return z;if(!Kde&&Q in M)return M[Q];switch(Q){case l6t:case zde:case u6t:return function(){return new o(this,Q)}}return function(){return new o(this)}},B=i+" Iterator",L=!1,M=r.prototype,P=M[aMe]||M["@@iterator"]||h&&M[h],z=!Kde&&P||C(h),W=i=="Array"&&M.entries||P;if(W&&(b=sQ(W.call(new r)))!==Object.prototype&&b.next&&(RB(b,B,!0,!0),$B[B]=Jmn),Ymn&&h==zde&&P&&P.name!==zde&&(L=!0,z=function(){return cc(P,this)}),h)if(w={values:C(zde),keys:g?z:C(l6t),entries:C(u6t)},d)for(x in w)(Kde||L||!(x in M))&&ey(M,x,w[x]);else ma({target:i,proto:!0,forced:Kde||L},w);return d&&M[aMe]!==z&&ey(M,aMe,z,{name:h}),$B[i]=z,w};Z2.f;var XBt="Array Iterator",Zmn=Mm.set,ebn=Mm.getterFor(XBt);qNe(Array,"Array",function(r,i){Zmn(this,{type:XBt,target:ry(r),index:0,kind:i})},function(){var r=ebn(this),i=r.target,o=r.kind,l=r.index++;return!i||l>=i.length?(r.target=void 0,{value:void 0,done:!0}):o=="keys"?{value:l,done:!1}:o=="values"?{value:i[l],done:!1}:{value:[l,i[l]],done:!1}},"values"),$B.Arguments=$B.Array;var h6t=ed("toStringTag");for(var oMe in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var f6t=Ai[oMe],sMe=f6t&&f6t.prototype;sMe&&gI(sMe)!==h6t&&xb(sMe,h6t,oMe),$B[oMe]=$B.Array}var Kj=function(r,i){var o=[][r];return!!o&&eu(function(){o.call(null,i||function(){return 1},1)})},tbn=VB.forEach,d6t=Kj("forEach")?[].forEach:function(r){return tbn(this,r,arguments.length>1?arguments[1]:void 0)};ma({target:"Array",proto:!0,forced:[].forEach!=d6t},{forEach:d6t});var nbn=Md("Array").forEach,cMe=Array.prototype,rbn={DOMTokenList:!0,NodeList:!0},GBt=function(r){var i=r.forEach;return r===cMe||uf(cMe,r)&&i===cMe.forEach||sc(rbn,gI(r))?nbn:i},xa=GBt,ibn=Za([].concat),VBt=Fp("Reflect","ownKeys")||function(r){var i=yee.f(Mu(r)),o=lte.f;return o?ibn(i,o(r)):i};ma({target:"Object",stat:!0,sham:!Zu},{getOwnPropertyDescriptors:function(r){for(var i,o,l=ry(r),h=g9.f,g=VBt(l),d={},b=0;g.length>b;)(o=h(l,i=g[b++]))!==void 0&&iI(d,i,o);return d}});var Ld=Gc.Object.getOwnPropertyDescriptors,A6t=XNe.f;ma({target:"Object",stat:!0,forced:Object.defineProperties!==A6t,sham:!Zu},{defineProperties:A6t});var abn=il(function(r){var i=Gc.Object,o=r.exports=function(l,h){return i.defineProperties(l,h)};i.defineProperties.sham&&(o.sham=!0)}),L6=abn,g6t=Z2.f;ma({target:"Object",stat:!0,forced:Object.defineProperty!==g6t,sham:!Zu},{defineProperty:g6t});var WBt=il(function(r){var i=Gc.Object,o=r.exports=function(l,h,g){return i.defineProperty(l,h,g)};i.defineProperty.sham&&(o.sham=!0)}),J2=WBt;function qr(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}var fte=WBt;function p6t(r,i){for(var o=0;o=51||!eu(function(){var r=[];return r[YBt]=!1,r.concat()[0]!==r}),cbn=hte("concat"),lbn=function(r){if(!g1(r))return!1;var i=r[YBt];return i!==void 0?!!i:UB(r)};ma({target:"Array",proto:!0,arity:1,forced:!sbn||!cbn},{concat:function(r){var i,o,l,h,g,d=iy(this),b=ppe(d,0),w=0;for(i=-1,l=arguments.length;im6t)throw w6t(b6t);for(o=0;o=m6t)throw w6t(b6t);iI(b,w++,g)}return b.length=w,b}}),x0("asyncIterator"),x0("hasInstance"),x0("isConcatSpreadable"),x0("iterator"),x0("match"),x0("matchAll"),x0("replace"),x0("search"),x0("species"),x0("split"),x0("toPrimitive"),LBt(),x0("toStringTag"),RB(Fp("Symbol"),"Symbol"),x0("unscopables"),RB(Ai.JSON,"JSON",!0);var JBt=Gc.Symbol,ubn=JBt;x0("asyncDispose"),x0("dispose"),x0("matcher"),x0("metadata"),x0("observable"),x0("patternMatch"),x0("replaceAll");var T6=ubn,hbn=Za("".charAt),v6t=Za("".charCodeAt),fbn=Za("".slice),y6t=function(r){return function(i,o){var l,h,g=Zl(dI(i)),d=$j(o),b=g.length;return d<0||d>=b?r?"":void 0:(l=v6t(g,d))<55296||l>56319||d+1===b||(h=v6t(g,d+1))<56320||h>57343?r?hbn(g,d):l:r?fbn(g,d,d+2):h-56320+(l-55296<<10)+65536}},ZBt={codeAt:y6t(!1),charAt:y6t(!0)},dbn=ZBt.charAt,e_t="String Iterator",Abn=Mm.set,gbn=Mm.getterFor(e_t);qNe(String,"String",function(r){Abn(this,{type:e_t,string:Zl(r),index:0})},function(){var r,i=gbn(this),o=i.string,l=i.index;return l>=o.length?{value:void 0,done:!0}:(r=dbn(o,l),i.index+=r.length,{value:r,done:!1})});var t_t=WNe.f("iterator"),n_t=t_t;function Vc(r){return Vc=typeof T6=="function"&&typeof n_t=="symbol"?function(i){return typeof i}:function(i){return i&&typeof T6=="function"&&i.constructor===T6&&i!==T6.prototype?"symbol":typeof i},Vc(r)}function Wi(r,i){if(i&&(Vc(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return es(r)}var pbn=eu(function(){sQ(1)});ma({target:"Object",stat:!0,forced:pbn,sham:!$Bt},{getPrototypeOf:function(r){return sQ(iy(r))}});var r_t=Gc.Object.getPrototypeOf,VZ=r_t;function En(r){return En=nge?VZ:function(i){return i.__proto__||VZ(i)},En(r)}function gi(r,i,o){return i in r?fte(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o,r}var mbn=Md("Array").concat,lMe=Array.prototype,rt=function(r){var i=r.concat;return r===lMe||uf(lMe,r)&&i===lMe.concat?mbn:i};ma({target:"Function",proto:!0,forced:Function.bind!==rDe},{bind:rDe});var bbn=Md("Function").bind,uMe=Function.prototype,i_t=function(r){var i=r.bind;return r===uMe||uf(uMe,r)&&i===uMe.bind?bbn:i},Xa=i_t,wbn=Ai.TypeError,bB=function(r,i){if(r2,h=hh(i)?i:ybn(i),g=l?rI(arguments,2):void 0;return r(l?function(){FB(h,this,g)}:h,o)}:r},a_t={setTimeout:x6t(Ai.setTimeout),setInterval:x6t(Ai.setInterval)},k6t=a_t.setInterval;ma({global:!0,bind:!0,forced:Ai.setInterval!==k6t},{setInterval:k6t});var C6t=a_t.setTimeout;ma({global:!0,bind:!0,forced:Ai.setTimeout!==C6t},{setTimeout:C6t});var Z0=Gc.setTimeout,xbn=function(){this.__data__=[],this.size=0},bpe=function(r,i){return r===i||r!=r&&i!=i},wpe=function(r,i){for(var o=r.length;o--;)if(bpe(r[o][0],i))return o;return-1},kbn=Array.prototype.splice,Cbn=function(r){var i=this.__data__,o=wpe(i,r);return!(o<0)&&(o==i.length-1?i.pop():kbn.call(i,o,1),--this.size,!0)},Ebn=function(r){var i=this.__data__,o=wpe(i,r);return o<0?void 0:i[o][1]},Tbn=function(r){return wpe(this.__data__,r)>-1},Bbn=function(r,i){var o=this.__data__,l=wpe(o,r);return l<0?(++this.size,o.push([r,i])):o[l][1]=i,this};function E$(r){var i=-1,o=r==null?0:r.length;for(this.clear();++i-1&&r%1==0&&r<=9007199254740991},xpe=function(r){return r!=null&&g_t(r.length)&&!YNe(r)},m2n=function(r){return pI(r)&&xpe(r)},b2n=function(){return!1},nQe=il(function(r,i){var o=i&&!i.nodeType&&i,l=o&&r&&!r.nodeType&&r,h=l&&l.exports===o?y7.Buffer:void 0,g=(h?h.isBuffer:void 0)||b2n;r.exports=g}),w2n=Function.prototype,v2n=Object.prototype,p_t=w2n.toString,y2n=v2n.hasOwnProperty,x2n=p_t.call(Object),k2n=function(r){if(!pI(r)||kQ(r)!="[object Object]")return!1;var i=eQe(r);if(i===null)return!0;var o=y2n.call(i,"constructor")&&i.constructor;return typeof o=="function"&&o instanceof o&&p_t.call(o)==x2n},Y1={};Y1["[object Float32Array]"]=Y1["[object Float64Array]"]=Y1["[object Int8Array]"]=Y1["[object Int16Array]"]=Y1["[object Int32Array]"]=Y1["[object Uint8Array]"]=Y1["[object Uint8ClampedArray]"]=Y1["[object Uint16Array]"]=Y1["[object Uint32Array]"]=!0,Y1["[object Arguments]"]=Y1["[object Array]"]=Y1["[object ArrayBuffer]"]=Y1["[object Boolean]"]=Y1["[object DataView]"]=Y1["[object Date]"]=Y1["[object Error]"]=Y1["[object Function]"]=Y1["[object Map]"]=Y1["[object Number]"]=Y1["[object Object]"]=Y1["[object RegExp]"]=Y1["[object Set]"]=Y1["[object String]"]=Y1["[object WeakMap]"]=!1;var C2n=function(r){return pI(r)&&g_t(r.length)&&!!Y1[kQ(r)]},rQe=function(r){return function(i){return r(i)}},gj=il(function(r,i){var o=i&&!i.nodeType&&i,l=o&&r&&!r.nodeType&&r,h=l&&l.exports===o&&o_t.process,g=function(){try{var d=l&&l.require&&l.require("util").types;return d||h&&h.binding&&h.binding("util")}catch{}}();r.exports=g}),M6t=gj&&gj.isTypedArray,m_t=M6t?rQe(M6t):C2n,dDe=function(r,i){if((i!=="constructor"||typeof r[i]!="function")&&i!="__proto__")return r[i]},E2n=Object.prototype.hasOwnProperty,b_t=function(r,i,o){var l=r[i];E2n.call(r,i)&&bpe(l,o)&&(o!==void 0||i in r)||JNe(r,i,o)},dte=function(r,i,o,l){var h=!o;o||(o={});for(var g=-1,d=i.length;++g-1&&r%1==0&&r0){if(++i>=800)return arguments[0]}else i=0;return r.apply(void 0,arguments)}},$2n=H2n(R2n),j2n=function(r,i){return $2n(N2n(r,i,y_t),r+"")},K2n=function(r,i,o){if(!w7(o))return!1;var l=typeof i;return!!(l=="number"?xpe(o)&&w_t(i,o.length):l=="string"&&i in o)&&bpe(o[i],r)},z2n=function(r){return j2n(function(i,o){var l=-1,h=o.length,g=h>1?o[h-1]:void 0,d=h>2?o[2]:void 0;for(g=r.length>3&&typeof g=="function"?(h--,g):void 0,d&&K2n(o[0],o[1],d)&&(g=h<3?void 0:g,h=1),i=Object(i);++l1?arguments[1]:void 0;return D6t?ADe(this,r,i)||0:G2n(this,r,i)}});var W2n=Md("Array").indexOf,fMe=Array.prototype,x_t=function(r){var i=r.indexOf;return r===fMe||uf(fMe,r)&&i===fMe.indexOf?W2n:i},gDe=x_t,q2n=SBt;function Y2n(r,i){if(r==null)return{};var o,l,h=function(d,b){if(d==null)return{};var w,x,C={},B=q2n(d);for(x=0;x=0||(C[w]=d[w]);return C}(r,i);if(F6t){var g=F6t(r);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(r,o)&&(h[o]=r[o])}return h}var d$=Object.assign,O6t=Object.defineProperty,J2n=Za([].concat),Bee=!d$||eu(function(){if(Zu&&d$({b:1},d$(O6t({},"a",{enumerable:!0,get:function(){O6t(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var r={},i={},o=Symbol(),l="abcdefghijklmnopqrst";return r[o]=7,l.split("").forEach(function(h){i[h]=h}),d$({},r)[o]!=7||DB(d$({},i)).join("")!=l})?function(r,i){for(var o=iy(r),l=arguments.length,h=1,g=lte.f,d=ote.f;l>h;)for(var b,w=dpe(arguments[h++]),x=g?J2n(DB(w),g(w)):DB(w),C=x.length,B=0;C>B;)b=x[B++],Zu&&!cc(d,w,b)||(o[b]=w[b]);return o}:d$;ma({target:"Object",stat:!0,arity:2,forced:Object.assign!==Bee},{assign:Bee});var k_t=Gc.Object.assign,TB=k_t;Gc.JSON||(Gc.JSON={stringify:JSON.stringify});var aQe=function(r,i,o){return FB(Gc.JSON.stringify,null,arguments)},Z2n=VB.find,N6t="find",Q6t=!0;N6t in[]&&Array(1)[N6t](function(){Q6t=!1}),ma({target:"Array",proto:!0,forced:Q6t},{find:function(r){return Z2n(this,r,arguments.length>1?arguments[1]:void 0)}});var GJ,ewn=Md("Array").find,dMe=Array.prototype,_ee=function(r){var i=r.find;return r===dMe||uf(dMe,r)&&i===dMe.find?ewn:i},pj=`
+\v\f\r \u2028\u2029\uFEFF`,P6t=Za("".replace),ige="["+pj+"]",twn=RegExp("^"+ige+ige+"*"),nwn=RegExp(ige+ige+"*$"),AMe=function(r){return function(i){var o=Zl(dI(i));return 1&r&&(o=P6t(o,twn,"")),2&r&&(o=P6t(o,nwn,"")),o}},oQe={start:AMe(1),end:AMe(2),trim:AMe(3)},rwn=HBt.PROPER,iwn=oQe.trim;ma({target:"String",proto:!0,forced:(GJ="trim",eu(function(){return!!pj[GJ]()||"
"[GJ]()!=="
"||rwn&&pj[GJ].name!==GJ}))},{trim:function(){return iwn(this)}});var awn=Md("String").trim,gMe=String.prototype,uo=function(r){var i=r.trim;return typeof r=="string"||r===gMe||uf(gMe,r)&&i===gMe.trim?awn:i},pDe=function(r,i,o){var l,h;Mu(r);try{if(!(l=V0e(r,"return"))){if(i==="throw")throw o;return o}l=cc(l,r)}catch(g){h=!0,l=g}if(i==="throw")throw o;if(h)throw l;return Mu(l),o},own=function(r,i,o,l){try{return l?i(Mu(o)[0],o[1]):i(o)}catch(h){pDe(r,"throw",h)}},swn=ed("iterator"),cwn=Array.prototype,C_t=function(r){return r!==void 0&&($B.Array===r||cwn[swn]===r)},lwn=ed("iterator"),gte=function(r){if(r!=null)return V0e(r,lwn)||V0e(r,"@@iterator")||$B[gI(r)]},uwn=Ai.TypeError,cQ=function(r,i){var o=arguments.length<2?gte(r):i;if(Lu(o))return Mu(cc(o,r));throw uwn(ste(r)+" is not iterable")},R6t=Ai.Array,FN=function(r){var i=iy(r),o=Ape(this),l=arguments.length,h=l>1?arguments[1]:void 0,g=h!==void 0;g&&(h=tg(h,l>2?arguments[2]:void 0));var d,b,w,x,C,B,L=gte(i),M=0;if(!L||this==R6t&&C_t(L))for(d=n4(i),b=o?new this(d):R6t(d);d>M;M++)B=g?h(i[M],M):i[M],iI(b,M,B);else for(C=(x=cQ(i,L)).next,b=o?new this:[];!(w=cc(C,x)).done;M++)B=g?own(x,h,[w.value,M],!0):w.value,iI(b,M,B);return b.length=M,b},E_t=ed("iterator"),T_t=!1;try{var hwn=0,U6t={next:function(){return{done:!!hwn++}},return:function(){T_t=!0}};U6t[E_t]=function(){return this},Array.from(U6t,function(){throw 2})}catch{}var B_t=function(r,i){if(!i&&!T_t)return!1;var o=!1;try{var l={};l[E_t]=function(){return{next:function(){return{done:o=!0}}}},r(l)}catch{}return o},fwn=!B_t(function(r){Array.from(r)});ma({target:"Array",stat:!0,forced:fwn},{from:FN});var __t=Gc.Array.from,yl=__t,dwn=ed("match"),Awn=Ai.TypeError,sQe=function(r){if(function(i){var o;return g1(i)&&((o=i[dwn])!==void 0?!!o:c9(i)=="RegExp")}(r))throw Awn("The method doesn't accept regular expressions");return r},gwn=ed("match"),cQe=function(r){var i=/./;try{"/./"[r](i)}catch{try{return i[gwn]=!1,"/./"[r](i)}catch{}}return!1};g9.f;var H6t=Za("".startsWith),pwn=Za("".slice),mwn=Math.min,bwn=cQe("startsWith");ma({target:"String",proto:!0,forced:!bwn},{startsWith:function(r){var i=Zl(dI(this));sQe(r);var o=KNe(mwn(arguments.length>1?arguments[1]:void 0,i.length)),l=Zl(r);return H6t?H6t(i,l,o):pwn(i,o,o+l.length)===l}});var wwn=Md("String").startsWith,pMe=String.prototype,mj=function(r){var i=r.startsWith;return typeof r=="string"||r===pMe||uf(pMe,r)&&i===pMe.startsWith?wwn:i},Ip=il(function(r,i){r.exports=function(){var o=navigator.userAgent,l=navigator.platform,h=/gecko\/\d/i.test(o),g=/MSIE \d/.test(o),d=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(o),b=/Edge\/(\d+)/.exec(o),w=g||d||b,x=w&&(g?document.documentMode||6:+(b||d)[1]),C=!b&&/WebKit\//.test(o),B=C&&/Qt\/\d+\.\d+/.test(o),L=!b&&/Chrome\//.test(o),M=/Opera\//.test(o),P=/Apple Computer/.test(navigator.vendor),z=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(o),W=/PhantomJS/.test(o),Q=!b&&/AppleWebKit/.test(o)&&/Mobile\/\w+/.test(o),V=/Android/.test(o),oe=Q||V||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(o),G=Q||/Mac/.test(l),ae=/\bCrOS\b/.test(o),ne=/win/i.test(l),de=M&&o.match(/Version\/(\d*\.\d*)/);de&&(de=Number(de[1])),de&&de>=15&&(M=!1,C=!0);var Ae=G&&(B||M&&(de==null||de<12.11)),le=h||w&&x>=9;function ve(k){return new RegExp("(^|\\s)"+k+"(?:$|\\s)\\s*")}var me,ee=function(k,S){var $=k.className,R=ve(S).exec($);if(R){var X=$.slice(R.index+R[0].length);k.className=$.slice(0,R.index)+(X?R[1]+X:"")}};function ye(k){for(var S=k.childNodes.length;S>0;--S)k.removeChild(k.firstChild);return k}function Y(k,S){return ye(k).appendChild(S)}function Ee(k,S,$,R){var X=document.createElement(k);if($&&(X.className=$),R&&(X.style.cssText=R),typeof S=="string")X.appendChild(document.createTextNode(S));else if(S)for(var pe=0;pe=S)return Me+(S-pe);Me+=Oe-pe,Me+=$-Me%$,pe=Oe+1}}Q?ot=function(k){k.selectionStart=0,k.selectionEnd=k.value.length}:w&&(ot=function(k){try{k.select()}catch{}});var Rt=function(){this.id=null,this.f=null,this.time=0,this.handler=Qe(this.onTimeout,this)};function Et(k,S){for(var $=0;$=S)return R+Math.min(Me,S-X);if(X+=pe-R,R=pe+1,(X+=$-X%$)>=S)return R}}var He=[""];function lt(k){for(;He.length<=k;)He.push(Ke(He)+" ");return He[k]}function Ke(k){return k[k.length-1]}function mn(k,S){for(var $=[],R=0;R""&&(k.toUpperCase()!=k.toLowerCase()||sn.test(k))}function xn(k,S){return S?!!(S.source.indexOf("\\w")>-1&&cn(k))||S.test(k):cn(k)}function nn(k){for(var S in k)if(k.hasOwnProperty(S)&&k[S])return!1;return!0}var Qn=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ln(k){return k.charCodeAt(0)>=768&&Qn.test(k)}function Hn(k,S,$){for(;($<0?S>0:S$?-1:1;;){if(S==$)return S;var X=(S+$)/2,pe=R<0?Math.ceil(X):Math.floor(X);if(pe==S)return k(pe)?S:$;k(pe)?$=pe:S=pe+R}}function _r(k,S,$,R){if(!k)return R(S,$,"ltr",0);for(var X=!1,pe=0;peS||S==$&&Me.to==S)&&(R(Math.max(Me.from,S),Math.min(Me.to,$),Me.level==1?"rtl":"ltr",pe),X=!0)}X||R(S,$,"ltr")}var Lr=null;function ti(k,S,$){var R;Lr=null;for(var X=0;XS)return X;pe.to==S&&(pe.from!=pe.to&&$=="before"?R=X:Lr=X),pe.from==S&&(pe.from!=pe.to&&$!="before"?R=X:Lr=X)}return R??Lr}var _i=function(){var k="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",S="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function $(Je){return Je<=247?k.charAt(Je):1424<=Je&&Je<=1524?"R":1536<=Je&&Je<=1785?S.charAt(Je-1536):1774<=Je&&Je<=2220?"r":8192<=Je&&Je<=8203?"w":Je==8204?"b":"L"}var R=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,X=/[stwN]/,pe=/[LRr]/,Me=/[Lb1n]/,Oe=/[1n]/;function Ge(Je,Pt,Dt){this.level=Je,this.from=Pt,this.to=Dt}return function(Je,Pt){var Dt=Pt=="ltr"?"L":"R";if(Je.length==0||Pt=="ltr"&&!R.test(Je))return!1;for(var kn=Je.length,Nn=[],rr=0;rr-1&&(R[S]=X.slice(0,pe).concat(X.slice(pe+1)))}}}function vr(k,S){var $=Ta(k,S);if($.length)for(var R=Array.prototype.slice.call(arguments,2),X=0;X<$.length;++X)$[X].apply(null,R)}function Zr(k,S,$){return typeof S=="string"&&(S={type:S,preventDefault:function(){this.defaultPrevented=!0}}),vr(k,$||S.type,k,S),Ya(S)||S.codemirrorIgnore}function Ir(k){var S=k._handlers&&k._handlers.cursorActivity;if(S)for(var $=k.curOp.cursorActivityHandlers||(k.curOp.cursorActivityHandlers=[]),R=0;R0}function jn(k){k.prototype.on=function(S,$){mi(this,S,$)},k.prototype.off=function(S,$){lr(this,S,$)}}function Xo(k){k.preventDefault?k.preventDefault():k.returnValue=!1}function hr(k){k.stopPropagation?k.stopPropagation():k.cancelBubble=!0}function Ya(k){return k.defaultPrevented!=null?k.defaultPrevented:k.returnValue==0}function So(k){Xo(k),hr(k)}function ta(k){return k.target||k.srcElement}function Ba(k){var S=k.which;return S==null&&(1&k.button?S=1:2&k.button?S=3:4&k.button&&(S=2)),G&&k.ctrlKey&&S==1&&(S=3),S}var ho,mo,Lo=function(){if(w&&x<9)return!1;var k=Ee("div");return"draggable"in k||"dragDrop"in k}();function qo(k){if(ho==null){var S=Ee("span","");Y(k,Ee("span",[S,document.createTextNode("x")])),k.firstChild.offsetHeight!=0&&(ho=S.offsetWidth<=1&&S.offsetHeight>2&&!(w&&x<8))}var $=ho?Ee("span",""):Ee("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return $.setAttribute("cm-text",""),$}function cs(k){if(mo!=null)return mo;var S=Y(k,document.createTextNode("AخA")),$=me(S,0,1).getBoundingClientRect(),R=me(S,1,2).getBoundingClientRect();return ye(k),!(!$||$.left==$.right)&&(mo=R.right-$.right<3)}var fa,qh=`
b`.split(/\n/).length!=3?function(k){for(var S=0,$=[],R=k.length;S<=R;){var X=k.indexOf(`
-`,S);X==-1&&(X=k.length);var pe=k.slice(S,k.charAt(X-1)=="\r"?X-1:X),Ie=pe.indexOf("\r");Ie!=-1?($.push(pe.slice(0,Ie)),S+=Ie+1):($.push(pe),S=X+1)}return $}:function(k){return k.split(/\r\n?|\n/)},Zs=window.getSelection?function(k){try{return k.selectionStart!=k.selectionEnd}catch{return!1}}:function(k){var S;try{S=k.ownerDocument.selection.createRange()}catch{}return!(!S||S.parentElement()!=k)&&S.compareEndPoints("StartToEnd",S)!=0},tu="oncopy"in(fa=Ee("div"))||(fa.setAttribute("oncopy","return;"),typeof fa.oncopy=="function"),_a=null;function ec(k){if(_a!=null)return _a;var S=Y(k,Ee("span","x")),$=S.getBoundingClientRect(),R=me(S,0,1).getBoundingClientRect();return _a=Math.abs($.left-R.left)>1}var hf={},Rl={};function nu(k,S){arguments.length>2&&(S.dependencies=Array.prototype.slice.call(arguments,2)),hf[k]=S}function Oh(k,S){Rl[k]=S}function Wc(k){if(typeof k=="string"&&Rl.hasOwnProperty(k))k=Rl[k];else if(k&&typeof k.name=="string"&&Rl.hasOwnProperty(k.name)){var S=Rl[k.name];typeof S=="string"&&(S={name:S}),(k=pt(S,k)).name=S.name}else{if(typeof k=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(k))return Wc("application/xml");if(typeof k=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(k))return Wc("application/json")}return typeof k=="string"?{name:k}:k||{name:"null"}}function kl(k,S){S=Wc(S);var $=hf[S.name];if(!$)return kl(k,"text/plain");var R=$(k,S);if(Lc.hasOwnProperty(S.name)){var X=Lc[S.name];for(var pe in X)X.hasOwnProperty(pe)&&(R.hasOwnProperty(pe)&&(R["_"+pe]=R[pe]),R[pe]=X[pe])}if(R.name=S.name,S.helperType&&(R.helperType=S.helperType),S.modeProps)for(var Ie in S.modeProps)R[Ie]=S.modeProps[Ie];return R}var Lc={};function Ul(k,S){Le(S,Lc.hasOwnProperty(k)?Lc[k]:Lc[k]={})}function ws(k,S){if(S===!0)return S;if(k.copyState)return k.copyState(S);var $={};for(var R in S){var X=S[R];X instanceof Array&&(X=X.concat([])),$[R]=X}return $}function ru(k,S){for(var $;k.innerMode&&($=k.innerMode(S))&&$.mode!=k;)S=$.state,k=$.mode;return $||{mode:k,state:S}}function Fs(k,S,$){return!k.startState||k.startState(S,$)}var Es=function(k,S,$){this.pos=this.start=0,this.string=k,this.tabSize=S||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=$};function Ei(k,S){if((S-=k.first)<0||S>=k.size)throw new Error("There is no line "+(S+k.first)+" in the document.");for(var $=k;!$.lines;)for(var R=0;;++R){var X=$.children[R],pe=X.chunkSize();if(S=k.first&&S$?ar($,Ei(k,$).text.length):p1(S,Ei(k,S.line).text.length)}function p1(k,S){var $=k.ch;return $==null||$>S?ar(k.line,S):$<0?ar(k.line,0):k}function Kn(k,S){for(var $=[],R=0;R=this.string.length},Es.prototype.sol=function(){return this.pos==this.lineStart},Es.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Es.prototype.next=function(){if(this.posS},Es.prototype.eatSpace=function(){for(var k=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>k},Es.prototype.skipToEnd=function(){this.pos=this.string.length},Es.prototype.skipTo=function(k){var S=this.string.indexOf(k,this.pos);if(S>-1)return this.pos=S,!0},Es.prototype.backUp=function(k){this.pos-=k},Es.prototype.column=function(){return this.lastColumnPos0?null:(R&&S!==!1&&(this.pos+=R[0].length),R)}var X=function(pe){return $?pe.toLowerCase():pe};if(X(this.string.substr(this.pos,k.length))==X(k))return S!==!1&&(this.pos+=k.length),!0},Es.prototype.current=function(){return this.string.slice(this.start,this.pos)},Es.prototype.hideFirstChars=function(k,S){this.lineStart+=k;try{return S()}finally{this.lineStart-=k}},Es.prototype.lookAhead=function(k){var S=this.lineOracle;return S&&S.lookAhead(k)},Es.prototype.baseToken=function(){var k=this.lineOracle;return k&&k.baseToken(this.pos)};var Nr=function(k,S){this.state=k,this.lookAhead=S},Gr=function(k,S,$,R){this.state=S,this.doc=k,this.line=$,this.maxLookAhead=R||0,this.baseTokens=null,this.baseTokenPos=1};function Qr(k,S,$,R){var X=[k.state.modeGen],pe={};m1(k,S.text,k.doc.mode,$,function(Je,Pt){return X.push(Je,Pt)},pe,R);for(var Ie=$.state,Oe=function(Je){$.baseTokens=X;var Pt=k.state.overlays[Je],Dt=1,kn=0;$.state=!0,m1(k,S.text,Pt.mode,$,function(Nn,rr){for(var Hr=Dt;knNn&&X.splice(Dt,1,Nn,X[Dt+1],fi),Dt+=2,kn=Math.min(Nn,fi)}if(rr)if(Pt.opaque)X.splice(Hr,Dt-Hr,Nn,"overlay "+rr),Dt=Hr+2;else for(;Hrk.options.maxHighlightLength&&ws(k.doc.mode,R.state),pe=Qr(k,S,R);X&&(R.state=X),S.stateAfter=R.save(!X),S.styles=pe.styles,pe.classes?S.styleClasses=pe.classes:S.styleClasses&&(S.styleClasses=null),$===k.doc.highlightFrontier&&(k.doc.modeFrontier=Math.max(k.doc.modeFrontier,++k.doc.highlightFrontier))}return S.styles}function sa(k,S,$){var R=k.doc,X=k.display;if(!R.mode.startState)return new Gr(R,!0,S);var pe=vc(k,S,$),Ie=pe>R.first&&Ei(R,pe-1).stateAfter,Oe=Ie?Gr.fromSaved(R,Ie,pe):new Gr(R,Fs(R.mode),pe);return R.iter(pe,S,function(Ge){Ua(k,Ge.text,Oe);var Je=Oe.line;Ge.stateAfter=Je==S-1||Je%5==0||Je>=X.viewFrom&&JeS.start)return pe}throw new Error("Mode "+k.name+" failed to advance stream.")}Gr.prototype.lookAhead=function(k){var S=this.doc.getLine(this.line+k);return S!=null&&k>this.maxLookAhead&&(this.maxLookAhead=k),S},Gr.prototype.baseToken=function(k){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=k;)this.baseTokenPos+=2;var S=this.baseTokens[this.baseTokenPos+1];return{type:S&&S.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-k}},Gr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Gr.fromSaved=function(k,S,$){return S instanceof Nr?new Gr(k,ws(k.mode,S.state),$,S.lookAhead):new Gr(k,ws(k.mode,S),$)},Gr.prototype.save=function(k){var S=k!==!1?ws(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Nr(S,this.maxLookAhead):S};var Ic=function(k,S,$){this.start=k.start,this.end=k.pos,this.string=k.current(),this.type=S||null,this.state=$};function Ku(k,S,$,R){var X,pe,Ie=k.doc,Oe=Ie.mode,Ge=Ei(Ie,(S=co(Ie,S)).line),Je=sa(k,S.line,$),Pt=new Es(Ge.text,k.options.tabSize,Je);for(R&&(pe=[]);(R||Pt.posk.options.maxHighlightLength?(Oe=!1,Ie&&Ua(k,S,R,Dt.pos),Dt.pos=S.length,Ge=null):Ge=Al(eo($,Dt,R.state,kn),pe),kn){var Nn=kn[0].name;Nn&&(Ge="m-"+(Ge?Nn+" "+Ge:Nn))}if(!Oe||Pt!=Ge){for(;JeIe;--Oe){if(Oe<=pe.first)return pe.first;var Ge=Ei(pe,Oe-1),Je=Ge.stateAfter;if(Je&&(!$||Oe+(Je instanceof Nr?Je.lookAhead:0)<=pe.modeFrontier))return Oe;var Pt=ht(Ge.text,null,k.options.tabSize);(X==null||R>Pt)&&(X=Oe-1,R=Pt)}return X}function n1(k,S){if(k.modeFrontier=Math.min(k.modeFrontier,S),!(k.highlightFrontier$;R--){var X=Ei(k,R).stateAfter;if(X&&(!(X instanceof Nr)||R+X.lookAhead=S:pe.to>S);(R||(R=[])).push(new ff(Ie,pe.from,Oe?null:pe.to))}}return R}function bh(k,S,$){var R;if(k)for(var X=0;X=S:pe.to>S)||pe.from==S&&Ie.type=="bookmark"&&(!$||pe.marker.insertLeft)){var Oe=pe.from==null||(Ie.inclusiveLeft?pe.from<=S:pe.from0&&Oe)for(var ji=0;ji0)){var Pt=[Ge,1],Dt=Br(Je.from,Oe.from),kn=Br(Je.to,Oe.to);(Dt<0||!Ie.inclusiveLeft&&!Dt)&&Pt.push({from:Je.from,to:Oe.from}),(kn>0||!Ie.inclusiveRight&&!kn)&&Pt.push({from:Oe.to,to:Je.to}),X.splice.apply(X,Pt),Ge+=Pt.length-3}}return X}function rn(k){var S=k.markedSpans;if(S){for(var $=0;$S)&&(!$||uc($,pe.marker)<0)&&($=pe.marker)}return $}function Rh(k,S,$,R,X){var pe=Ei(k,S),Ie=Mc&&pe.markedSpans;if(Ie)for(var Oe=0;Oe=0&&Dt<=0||Pt<=0&&Dt>=0)&&(Pt<=0&&(Ge.marker.inclusiveRight&&X.inclusiveLeft?Br(Je.to,$)>=0:Br(Je.to,$)>0)||Pt>=0&&(Ge.marker.inclusiveRight&&X.inclusiveLeft?Br(Je.from,R)<=0:Br(Je.from,R)<0)))return!0}}}function iA(k){for(var S;S=Df(k);)k=S.find(-1,!0).line;return k}function tn(k){for(var S;S=i1(k);)k=S.find(1,!0).line;return k}function zi(k){for(var S,$;S=i1(k);)k=S.find(1,!0).line,($||($=[])).push(k);return $}function La(k,S){var $=Ei(k,S),R=iA($);return $==R?S:Rs(R)}function Yc(k,S){if(S>k.lastLine())return S;var $,R=Ei(k,S);if(!Hl(k,R))return S;for(;$=i1(R);)R=$.find(1,!0).line;return Rs(R)+1}function Hl(k,S){var $=Mc&&S.markedSpans;if($){for(var R=void 0,X=0;X<$.length;++X)if((R=$[X]).marker.collapsed&&(R.from==null||!R.marker.widgetNode&&R.from==0&&R.marker.inclusiveLeft&&wh(k,S,R)))return!0}}function wh(k,S,$){if($.to==null){var R=$.marker.find(1,!0);return wh(k,R.line,zu(R.line.markedSpans,$.marker))}if($.marker.inclusiveRight&&$.to==S.text.length)return!0;for(var X=void 0,pe=0;peS.maxLineLength&&(S.maxLineLength=X,S.maxLine=R)})}var Of=function(k,S,$){this.text=k,Sa(this,S),this.height=$?$(this):1};function M6(k,S,$,R){k.text=S,k.stateAfter&&(k.stateAfter=null),k.styles&&(k.styles=null),k.order!=null&&(k.order=null),rn(k),Sa(k,$);var X=R?R(k):1;X!=k.height&&Qh(k,X)}function b9(k){k.parent=null,rn(k)}Of.prototype.lineNo=function(){return Rs(this)},jn(Of);var Bk={},qB={};function w9(k,S){if(!k||/^\s*$/.test(k))return null;var $=S.addModeClass?qB:Bk;return $[k]||($[k]=k.replace(/\S+/g,"cm-$&"))}function s4(k,S){var $=fe("span",null,null,C?"padding-right: .1px":null),R={pre:fe("pre",[$],"CodeMirror-line"),content:$,col:0,pos:0,cm:k,trailingSpace:!1,splitSpaces:k.getOption("lineWrapping")};S.measure={};for(var X=0;X<=(S.rest?S.rest.length:0);X++){var pe=X?S.rest[X-1]:S.line,Ie=void 0;R.pos=0,R.addToken=cy,cs(k.display.measure)&&(Ie=ro(pe,k.doc.direction))&&(R.addToken=F6(R.addToken,Ie)),R.map=[],JB(pe,R,Ki(k,pe,S!=k.display.externalMeasured&&Rs(pe))),pe.styleClasses&&(pe.styleClasses.bgClass&&(R.bgClass=ct(pe.styleClasses.bgClass,R.bgClass||"")),pe.styleClasses.textClass&&(R.textClass=ct(pe.styleClasses.textClass,R.textClass||""))),R.map.length==0&&R.map.push(0,0,R.content.appendChild(qo(k.display.measure))),X==0?(S.measure.map=R.map,S.measure.cache={}):((S.measure.maps||(S.measure.maps=[])).push(R.map),(S.measure.caches||(S.measure.caches=[])).push({}))}if(C){var Oe=R.content.lastChild;(/\bcm-tab\b/.test(Oe.className)||Oe.querySelector&&Oe.querySelector(".cm-tab"))&&(R.content.className="cm-tab-wrap-hack")}return vr(k,"renderLine",k,S.line,R.pre),R.pre.className&&(R.textClass=ct(R.pre.className,R.textClass||"")),R}function v9(k){var S=Ee("span","•","cm-invalidchar");return S.title="\\u"+k.charCodeAt(0).toString(16),S.setAttribute("aria-label",S.title),S}function cy(k,S,$,R,X,pe,Ie){if(S){var Oe,Ge=k.splitSpaces?YB(S,k.trailingSpace):S,Je=k.cm.state.specialChars,Pt=!1;if(Je.test(S)){Oe=document.createDocumentFragment();for(var Dt=0;;){Je.lastIndex=Dt;var kn=Je.exec(S),Nn=kn?kn.index-Dt:S.length-Dt;if(Nn){var rr=document.createTextNode(Ge.slice(Dt,Dt+Nn));w&&x<9?Oe.appendChild(Ee("span",[rr])):Oe.appendChild(rr),k.map.push(k.pos,k.pos+Nn,rr),k.col+=Nn,k.pos+=Nn}if(!kn)break;Dt+=Nn+1;var Hr=void 0;if(kn[0]==" "){var fi=k.cm.options.tabSize,ur=fi-k.col%fi;(Hr=Oe.appendChild(Ee("span",lt(ur),"cm-tab"))).setAttribute("role","presentation"),Hr.setAttribute("cm-text"," "),k.col+=ur}else kn[0]=="\r"||kn[0]==`
-`?((Hr=Oe.appendChild(Ee("span",kn[0]=="\r"?"␍":"","cm-invalidchar"))).setAttribute("cm-text",kn[0]),k.col+=1):((Hr=k.cm.options.specialCharPlaceholder(kn[0])).setAttribute("cm-text",kn[0]),w&&x<9?Oe.appendChild(Ee("span",[Hr])):Oe.appendChild(Hr),k.col+=1);k.map.push(k.pos,k.pos+1,Hr),k.pos++}}else k.col+=S.length,Oe=document.createTextNode(Ge),k.map.push(k.pos,k.pos+S.length,Oe),w&&x<9&&(Pt=!0),k.pos+=S.length;if(k.trailingSpace=Ge.charCodeAt(S.length-1)==32,$||R||X||Pt||pe||Ie){var Fa=$||"";R&&(Fa+=R),X&&(Fa+=X);var ji=Ee("span",[Oe],Fa,pe);if(Ie)for(var Na in Ie)Ie.hasOwnProperty(Na)&&Na!="style"&&Na!="class"&&ji.setAttribute(Na,Ie[Na]);return k.content.appendChild(ji)}k.content.appendChild(Oe)}}function YB(k,S){if(k.length>1&&!/ /.test(k))return k;for(var $=S,R="",X=0;XJe&&Dt.from<=Je);kn++);if(Dt.to>=Pt)return k($,R,X,pe,Ie,Oe,Ge);k($,R.slice(0,Dt.to-Je),X,pe,null,Oe,Ge),pe=null,R=R.slice(Dt.to-Je),Je=Dt.to}}}function y9(k,S,$,R){var X=!R&&$.widgetNode;X&&k.map.push(k.pos,k.pos+S,X),!R&&k.cm.display.input.needsContentAttribute&&(X||(X=k.content.appendChild(document.createElement("span"))),X.setAttribute("cm-marker",$.id)),X&&(k.cm.display.input.setUneditable(X),k.content.appendChild(X)),k.pos+=S,k.trailingSpace=!1}function JB(k,S,$){var R=k.markedSpans,X=k.text,pe=0;if(R)for(var Ie,Oe,Ge,Je,Pt,Dt,kn,Nn=X.length,rr=0,Hr=1,fi="",ur=0;;){if(ur==rr){Ge=Je=Pt=Oe="",kn=null,Dt=null,ur=1/0;for(var Fa=[],ji=void 0,Na=0;Narr||Aa.collapsed&&so.to==rr&&so.from==rr)){if(so.to!=null&&so.to!=rr&&ur>so.to&&(ur=so.to,Je=""),Aa.className&&(Ge+=" "+Aa.className),Aa.css&&(Oe=(Oe?Oe+";":"")+Aa.css),Aa.startStyle&&so.from==rr&&(Pt+=" "+Aa.startStyle),Aa.endStyle&&so.to==ur&&(ji||(ji=[])).push(Aa.endStyle,so.to),Aa.title&&((kn||(kn={})).title=Aa.title),Aa.attributes)for(var El in Aa.attributes)(kn||(kn={}))[El]=Aa.attributes[El];Aa.collapsed&&(!Dt||uc(Dt.marker,Aa)<0)&&(Dt=so)}else so.from>rr&&ur>so.from&&(ur=so.from)}if(ji)for(var Tl=0;Tl=Nn)break;for(var th=Math.min(Nn,ur);;){if(fi){var y1=rr+fi.length;if(!Dt){var R1=y1>th?fi.slice(0,th-rr):fi;S.addToken(S,R1,Ie?Ie+Ge:Ge,Pt,rr+R1.length==ur?Je:"",Oe,kn)}if(y1>=th){fi=fi.slice(th-rr),rr=th;break}rr=y1,Pt=""}fi=X.slice(pe,pe=$[Hr++]),Ie=w9($[Hr++],S.cm.options)}}else for(var Jh=1;Jh<$.length;Jh+=2)S.addToken(S,X.slice(pe,pe=$[Jh]),w9($[Jh+1],S.cm.options))}function x9(k,S,$){this.line=S,this.rest=zi(S),this.size=this.rest?Rs(Ke(this.rest))-$+1:1,this.node=this.text=null,this.hidden=Hl(k,S)}function tw(k,S,$){for(var R,X=[],pe=S;pe<$;pe=R){var Ie=new x9(k.doc,Ei(k.doc,pe),pe);R=pe+Ie.size,X.push(Ie)}return X}var Fb=null;function k9(k){Fb?Fb.ops.push(k):k.ownsGroup=Fb={ops:[k],delayedCallbacks:[]}}function nw(k){var S=k.delayedCallbacks,$=0;do{for(;$2&&pe.push((Ge.bottom+Je.top)/2-$.top)}}pe.push($.bottom-$.top)}}function N1(k,S,$){if(k.line==S)return{map:k.measure.map,cache:k.measure.cache};for(var R=0;R$)return{map:k.measure.maps[X],cache:k.measure.caches[X],before:!0}}function Hp(k,S){var $=Rs(S=iA(S)),R=k.display.externalMeasured=new x9(k.doc,S,$);R.lineN=$;var X=R.built=s4(k,R);return R.text=X.pre,Y(k.display.lineMeasure,X.pre),R}function Lk(k,S,$,R){return td(k,HA(k,S),$,R)}function aA(k,S){if(S>=k.display.viewFrom&&S=$.lineN&&S<$.lineN+$.size?$:void 0}function HA(k,S){var $=Rs(S),R=aA(k,$);R&&!R.text?R=null:R&&R.changes&&(ly(k,R,$,h4(k)),k.curOp.forceUpdate=!0),R||(R=Hp(k,S));var X=N1(R,S,$);return{line:S,view:R,rect:null,map:X.map,cache:X.cache,before:X.before,hasHeights:!1}}function td(k,S,$,R,X){S.before&&($=-1);var pe,Ie=$+(R||"");return S.cache.hasOwnProperty(Ie)?pe=S.cache[Ie]:(S.rect||(S.rect=S.view.text.getBoundingClientRect()),S.hasHeights||(E9(k,S.view,S.rect),S.hasHeights=!0),(pe=lw(k,S,$,R)).bogus||(S.cache[Ie]=pe)),{left:pe.left,right:pe.right,top:X?pe.rtop:pe.top,bottom:X?pe.rbottom:pe.bottom}}var mu,_0={left:0,right:0,top:0,bottom:0};function c4(k,S,$){for(var R,X,pe,Ie,Oe,Ge,Je=0;JeS)&&(X=(pe=Ge-Oe)-1,S>=Ge&&(Ie="right")),X!=null){if(R=k[Je+2],Oe==Ge&&$==(R.insertLeft?"left":"right")&&(Ie=$),$=="left"&&X==0)for(;Je&&k[Je-2]==k[Je-3]&&k[Je-1].insertLeft;)R=k[2+(Je-=3)],Ie="left";if($=="right"&&X==Ge-Oe)for(;Je=0&&($=k[X]).left==$.right;X--);return $}function lw(k,S,$,R){var X,pe=c4(S.map,$,R),Ie=pe.node,Oe=pe.start,Ge=pe.end,Je=pe.collapse;if(Ie.nodeType==3){for(var Pt=0;Pt<4;Pt++){for(;Oe&&ln(S.line.text.charAt(pe.coverStart+Oe));)--Oe;for(;pe.coverStart+Ge0&&(Je=R="right"),X=k.options.lineWrapping&&(Dt=Ie.getClientRects()).length>1?Dt[R=="right"?Dt.length-1:0]:Ie.getBoundingClientRect()}if(w&&x<9&&!Oe&&(!X||!X.left&&!X.right)){var kn=Ie.parentNode.getClientRects()[0];X=kn?{left:kn.left,right:kn.left+fw(k.display),top:kn.top,bottom:kn.bottom}:_0}for(var Nn=X.top-S.rect.top,rr=X.bottom-S.rect.top,Hr=(Nn+rr)/2,fi=S.view.measure.heights,ur=0;ur=R.text.length?(Ge=R.text.length,Je="before"):Ge<=0&&(Ge=0,Je="after"),!Oe)return Ie(Je=="before"?Ge-1:Ge,Je=="before");function Pt(rr,Hr,fi){return Ie(fi?rr-1:rr,Oe[Hr].level==1!=fi)}var Dt=ti(Oe,Ge,Je),kn=Lr,Nn=Pt(Ge,Dt,Je=="before");return kn!=null&&(Nn.other=Pt(Ge,kn,Je!="before")),Nn}function Ik(k,S){var $=0;S=co(k.doc,S),k.options.lineWrapping||($=fw(k.display)*S.ch);var R=Ei(k.doc,S.line),X=Uh(R)+og(k.display);return{left:$,right:$,top:X,bottom:X+R.height}}function Q6(k,S,$,R,X){var pe=ar(k,S,$);return pe.xRel=X,R&&(pe.outside=R),pe}function Nb(k,S,$){var R=k.doc;if(($+=k.display.viewOffset)<0)return Q6(R.first,0,null,-1,-1);var X=ju(R,$),pe=R.first+R.size-1;if(X>pe)return Q6(R.first+R.size-1,Ei(R,pe).text.length,null,1,1);S<0&&(S=0);for(var Ie=Ei(R,X);;){var Oe=R6(k,Ie,X,S,$),Ge=Md(Ie,Oe.ch+(Oe.xRel>0||Oe.outside>0?1:0));if(!Ge)return Oe;var Je=Ge.find(1);if(Je.line==X)return Je;Ie=Ei(R,X=Je.line)}}function fy(k,S,$,R){R-=Ob(S);var X=S.text.length,pe=$t(function(Ie){return td(k,$,Ie-1).bottom<=R},X,0);return{begin:pe,end:X=$t(function(Ie){return td(k,$,Ie).top>R},pe,X)}}function uw(k,S,$,R){return $||($=HA(k,S)),fy(k,S,$,hy(k,S,td(k,$,R),"line").top)}function P6(k,S,$,R){return!(k.bottom<=$)&&(k.top>$||(R?k.left:k.right)>S)}function R6(k,S,$,R,X){X-=Uh(S);var pe=HA(k,S),Ie=Ob(S),Oe=0,Ge=S.text.length,Je=!0,Pt=ro(S,k.doc.direction);if(Pt){var Dt=(k.options.lineWrapping?S9:_9)(k,S,$,pe,Pt,R,X);Oe=(Je=Dt.level!=1)?Dt.from:Dt.to-1,Ge=Je?Dt.to:Dt.from-1}var kn,Nn,rr=null,Hr=null,fi=$t(function(so){var Aa=td(k,pe,so);return Aa.top+=Ie,Aa.bottom+=Ie,!!P6(Aa,R,X,!1)&&(Aa.top<=X&&Aa.left<=R&&(rr=so,Hr=Aa),!0)},Oe,Ge),ur=!1;if(Hr){var Fa=R-Hr.left=Na.bottom?1:0}return Q6($,fi=Hn(S.text,fi,1),Nn,ur,R-kn)}function _9(k,S,$,R,X,pe,Ie){var Oe=$t(function(Dt){var kn=X[Dt],Nn=kn.level!=1;return P6(Qf(k,ar($,Nn?kn.to:kn.from,Nn?"before":"after"),"line",S,R),pe,Ie,!0)},0,X.length-1),Ge=X[Oe];if(Oe>0){var Je=Ge.level!=1,Pt=Qf(k,ar($,Je?Ge.from:Ge.to,Je?"after":"before"),"line",S,R);P6(Pt,pe,Ie,!0)&&Pt.top>Ie&&(Ge=X[Oe-1])}return Ge}function S9(k,S,$,R,X,pe,Ie){var Oe=fy(k,S,R,Ie),Ge=Oe.begin,Je=Oe.end;/\s/.test(S.text.charAt(Je-1))&&Je--;for(var Pt=null,Dt=null,kn=0;kn=Je||Nn.to<=Ge)){var rr=td(k,R,Nn.level!=1?Math.min(Je,Nn.to)-1:Math.max(Ge,Nn.from)).right,Hr=rrHr)&&(Pt=Nn,Dt=Hr)}}return Pt||(Pt=X[X.length-1]),Pt.fromJe&&(Pt={from:Pt.from,to:Je,level:Pt.level}),Pt}function hw(k){if(k.cachedTextHeight!=null)return k.cachedTextHeight;if(mu==null){mu=Ee("pre",null,"CodeMirror-line-like");for(var S=0;S<49;++S)mu.appendChild(document.createTextNode("x")),mu.appendChild(Ee("br"));mu.appendChild(document.createTextNode("x"))}Y(k.measure,mu);var $=mu.offsetHeight/50;return $>3&&(k.cachedTextHeight=$),ye(k.measure),$||1}function fw(k){if(k.cachedCharWidth!=null)return k.cachedCharWidth;var S=Ee("span","xxxxxxxxxx"),$=Ee("pre",[S],"CodeMirror-line-like");Y(k.measure,$);var R=S.getBoundingClientRect(),X=(R.right-R.left)/10;return X>2&&(k.cachedCharWidth=X),X||10}function h4(k){for(var S=k.display,$={},R={},X=S.gutters.clientLeft,pe=S.gutters.firstChild,Ie=0;pe;pe=pe.nextSibling,++Ie){var Oe=k.display.gutterSpecs[Ie].className;$[Oe]=pe.offsetLeft+pe.clientLeft+X,R[Oe]=pe.clientWidth}return{fixedPos:U6(S),gutterTotalWidth:S.gutters.offsetWidth,gutterLeft:$,gutterWidth:R,wrapperWidth:S.wrapper.clientWidth}}function U6(k){return k.scroller.getBoundingClientRect().left-k.sizer.getBoundingClientRect().left}function L9(k){var S=hw(k.display),$=k.options.lineWrapping,R=$&&Math.max(5,k.display.scroller.clientWidth/fw(k.display)-3);return function(X){if(Hl(k.doc,X))return 0;var pe=0;if(X.widgets)for(var Ie=0;Ie0&&(Ge=Ei(k.doc,Je.line).text).length==Je.ch){var Pt=ht(Ge,Ge.length,k.options.tabSize)-Ge.length;Je=ar(Je.line,Math.max(0,Math.round((pe-eh(k.display).left)/fw(k.display))-Pt))}return Je}function gw(k,S){if(S>=k.display.viewTo||(S-=k.display.viewFrom)<0)return null;for(var $=k.display.view,R=0;R<$.length;R++)if((S-=$[R].size)<0)return R}function nd(k,S,$,R){S==null&&(S=k.doc.first),$==null&&($=k.doc.first+k.doc.size),R||(R=0);var X=k.display;if(R&&$S)&&(X.updateLineNumbers=S),k.curOp.viewChanged=!0,S>=X.viewTo)Mc&&La(k.doc,S)X.viewFrom?jA(k):(X.viewFrom+=R,X.viewTo+=R);else if(S<=X.viewFrom&&$>=X.viewTo)jA(k);else if(S<=X.viewFrom){var pe=f4(k,$,$+R,1);pe?(X.view=X.view.slice(pe.index),X.viewFrom=pe.lineN,X.viewTo+=R):jA(k)}else if($>=X.viewTo){var Ie=f4(k,S,S,-1);Ie?(X.view=X.view.slice(0,Ie.index),X.viewTo=Ie.lineN):jA(k)}else{var Oe=f4(k,S,S,-1),Ge=f4(k,$,$+R,1);Oe&&Ge?(X.view=X.view.slice(0,Oe.index).concat(tw(k,Oe.lineN,Ge.lineN)).concat(X.view.slice(Ge.index)),X.viewTo+=R):jA(k)}var Je=X.externalMeasured;Je&&($=X.lineN&&S=R.viewTo)){var pe=R.view[gw(k,S)];if(pe.node!=null){var Ie=pe.changes||(pe.changes=[]);Et(Ie,$)==-1&&Ie.push($)}}}function jA(k){k.display.viewFrom=k.display.viewTo=k.doc.first,k.display.view=[],k.display.viewOffset=0}function f4(k,S,$,R){var X,pe=gw(k,S),Ie=k.display.view;if(!Mc||$==k.doc.first+k.doc.size)return{index:pe,lineN:$};for(var Oe=k.display.viewFrom,Ge=0;Ge0){if(pe==Ie.length-1)return null;X=Oe+Ie[pe].size-S,pe++}else X=Oe-S;S+=X,$+=X}for(;La(k.doc,$)!=$;){if(pe==(R<0?0:Ie.length-1))return null;$+=R*Ie[pe-(R<0?1:0)].size,pe+=R}return{index:pe,lineN:$}}function ZB(k,S,$){var R=k.display;R.view.length==0||S>=R.viewTo||$<=R.viewFrom?(R.view=tw(k,S,$),R.viewFrom=S):(R.viewFrom>S?R.view=tw(k,S,R.viewFrom).concat(R.view):R.viewFrom$&&(R.view=R.view.slice(0,gw(k,$)))),R.viewTo=$}function Mk(k){for(var S=k.display.view,$=0,R=0;R=k.display.viewTo||Oe.to().line1}var hf={},Rl={};function nu(k,S){arguments.length>2&&(S.dependencies=Array.prototype.slice.call(arguments,2)),hf[k]=S}function Oh(k,S){Rl[k]=S}function Wc(k){if(typeof k=="string"&&Rl.hasOwnProperty(k))k=Rl[k];else if(k&&typeof k.name=="string"&&Rl.hasOwnProperty(k.name)){var S=Rl[k.name];typeof S=="string"&&(S={name:S}),(k=pt(S,k)).name=S.name}else{if(typeof k=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(k))return Wc("application/xml");if(typeof k=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(k))return Wc("application/json")}return typeof k=="string"?{name:k}:k||{name:"null"}}function kl(k,S){S=Wc(S);var $=hf[S.name];if(!$)return kl(k,"text/plain");var R=$(k,S);if(Lc.hasOwnProperty(S.name)){var X=Lc[S.name];for(var pe in X)X.hasOwnProperty(pe)&&(R.hasOwnProperty(pe)&&(R["_"+pe]=R[pe]),R[pe]=X[pe])}if(R.name=S.name,S.helperType&&(R.helperType=S.helperType),S.modeProps)for(var Me in S.modeProps)R[Me]=S.modeProps[Me];return R}var Lc={};function Ul(k,S){Le(S,Lc.hasOwnProperty(k)?Lc[k]:Lc[k]={})}function ws(k,S){if(S===!0)return S;if(k.copyState)return k.copyState(S);var $={};for(var R in S){var X=S[R];X instanceof Array&&(X=X.concat([])),$[R]=X}return $}function ru(k,S){for(var $;k.innerMode&&($=k.innerMode(S))&&$.mode!=k;)S=$.state,k=$.mode;return $||{mode:k,state:S}}function Fs(k,S,$){return!k.startState||k.startState(S,$)}var Es=function(k,S,$){this.pos=this.start=0,this.string=k,this.tabSize=S||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=$};function Ei(k,S){if((S-=k.first)<0||S>=k.size)throw new Error("There is no line "+(S+k.first)+" in the document.");for(var $=k;!$.lines;)for(var R=0;;++R){var X=$.children[R],pe=X.chunkSize();if(S=k.first&&S$?ar($,Ei(k,$).text.length):p1(S,Ei(k,S.line).text.length)}function p1(k,S){var $=k.ch;return $==null||$>S?ar(k.line,S):$<0?ar(k.line,0):k}function Kn(k,S){for(var $=[],R=0;R=this.string.length},Es.prototype.sol=function(){return this.pos==this.lineStart},Es.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Es.prototype.next=function(){if(this.posS},Es.prototype.eatSpace=function(){for(var k=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>k},Es.prototype.skipToEnd=function(){this.pos=this.string.length},Es.prototype.skipTo=function(k){var S=this.string.indexOf(k,this.pos);if(S>-1)return this.pos=S,!0},Es.prototype.backUp=function(k){this.pos-=k},Es.prototype.column=function(){return this.lastColumnPos0?null:(R&&S!==!1&&(this.pos+=R[0].length),R)}var X=function(pe){return $?pe.toLowerCase():pe};if(X(this.string.substr(this.pos,k.length))==X(k))return S!==!1&&(this.pos+=k.length),!0},Es.prototype.current=function(){return this.string.slice(this.start,this.pos)},Es.prototype.hideFirstChars=function(k,S){this.lineStart+=k;try{return S()}finally{this.lineStart-=k}},Es.prototype.lookAhead=function(k){var S=this.lineOracle;return S&&S.lookAhead(k)},Es.prototype.baseToken=function(){var k=this.lineOracle;return k&&k.baseToken(this.pos)};var Nr=function(k,S){this.state=k,this.lookAhead=S},Gr=function(k,S,$,R){this.state=S,this.doc=k,this.line=$,this.maxLookAhead=R||0,this.baseTokens=null,this.baseTokenPos=1};function Qr(k,S,$,R){var X=[k.state.modeGen],pe={};m1(k,S.text,k.doc.mode,$,function(Je,Pt){return X.push(Je,Pt)},pe,R);for(var Me=$.state,Oe=function(Je){$.baseTokens=X;var Pt=k.state.overlays[Je],Dt=1,kn=0;$.state=!0,m1(k,S.text,Pt.mode,$,function(Nn,rr){for(var Hr=Dt;knNn&&X.splice(Dt,1,Nn,X[Dt+1],fi),Dt+=2,kn=Math.min(Nn,fi)}if(rr)if(Pt.opaque)X.splice(Hr,Dt-Hr,Nn,"overlay "+rr),Dt=Hr+2;else for(;Hrk.options.maxHighlightLength&&ws(k.doc.mode,R.state),pe=Qr(k,S,R);X&&(R.state=X),S.stateAfter=R.save(!X),S.styles=pe.styles,pe.classes?S.styleClasses=pe.classes:S.styleClasses&&(S.styleClasses=null),$===k.doc.highlightFrontier&&(k.doc.modeFrontier=Math.max(k.doc.modeFrontier,++k.doc.highlightFrontier))}return S.styles}function sa(k,S,$){var R=k.doc,X=k.display;if(!R.mode.startState)return new Gr(R,!0,S);var pe=vc(k,S,$),Me=pe>R.first&&Ei(R,pe-1).stateAfter,Oe=Me?Gr.fromSaved(R,Me,pe):new Gr(R,Fs(R.mode),pe);return R.iter(pe,S,function(Ge){Ua(k,Ge.text,Oe);var Je=Oe.line;Ge.stateAfter=Je==S-1||Je%5==0||Je>=X.viewFrom&&JeS.start)return pe}throw new Error("Mode "+k.name+" failed to advance stream.")}Gr.prototype.lookAhead=function(k){var S=this.doc.getLine(this.line+k);return S!=null&&k>this.maxLookAhead&&(this.maxLookAhead=k),S},Gr.prototype.baseToken=function(k){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=k;)this.baseTokenPos+=2;var S=this.baseTokens[this.baseTokenPos+1];return{type:S&&S.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-k}},Gr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Gr.fromSaved=function(k,S,$){return S instanceof Nr?new Gr(k,ws(k.mode,S.state),$,S.lookAhead):new Gr(k,ws(k.mode,S),$)},Gr.prototype.save=function(k){var S=k!==!1?ws(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Nr(S,this.maxLookAhead):S};var Mc=function(k,S,$){this.start=k.start,this.end=k.pos,this.string=k.current(),this.type=S||null,this.state=$};function Ku(k,S,$,R){var X,pe,Me=k.doc,Oe=Me.mode,Ge=Ei(Me,(S=co(Me,S)).line),Je=sa(k,S.line,$),Pt=new Es(Ge.text,k.options.tabSize,Je);for(R&&(pe=[]);(R||Pt.posk.options.maxHighlightLength?(Oe=!1,Me&&Ua(k,S,R,Dt.pos),Dt.pos=S.length,Ge=null):Ge=Al(eo($,Dt,R.state,kn),pe),kn){var Nn=kn[0].name;Nn&&(Ge="m-"+(Ge?Nn+" "+Ge:Nn))}if(!Oe||Pt!=Ge){for(;JeMe;--Oe){if(Oe<=pe.first)return pe.first;var Ge=Ei(pe,Oe-1),Je=Ge.stateAfter;if(Je&&(!$||Oe+(Je instanceof Nr?Je.lookAhead:0)<=pe.modeFrontier))return Oe;var Pt=ht(Ge.text,null,k.options.tabSize);(X==null||R>Pt)&&(X=Oe-1,R=Pt)}return X}function n1(k,S){if(k.modeFrontier=Math.min(k.modeFrontier,S),!(k.highlightFrontier$;R--){var X=Ei(k,R).stateAfter;if(X&&(!(X instanceof Nr)||R+X.lookAhead=S:pe.to>S);(R||(R=[])).push(new ff(Me,pe.from,Oe?null:pe.to))}}return R}function bh(k,S,$){var R;if(k)for(var X=0;X=S:pe.to>S)||pe.from==S&&Me.type=="bookmark"&&(!$||pe.marker.insertLeft)){var Oe=pe.from==null||(Me.inclusiveLeft?pe.from<=S:pe.from0&&Oe)for(var ji=0;ji0)){var Pt=[Ge,1],Dt=Br(Je.from,Oe.from),kn=Br(Je.to,Oe.to);(Dt<0||!Me.inclusiveLeft&&!Dt)&&Pt.push({from:Je.from,to:Oe.from}),(kn>0||!Me.inclusiveRight&&!kn)&&Pt.push({from:Oe.to,to:Je.to}),X.splice.apply(X,Pt),Ge+=Pt.length-3}}return X}function rn(k){var S=k.markedSpans;if(S){for(var $=0;$S)&&(!$||uc($,pe.marker)<0)&&($=pe.marker)}return $}function Rh(k,S,$,R,X){var pe=Ei(k,S),Me=Ic&&pe.markedSpans;if(Me)for(var Oe=0;Oe=0&&Dt<=0||Pt<=0&&Dt>=0)&&(Pt<=0&&(Ge.marker.inclusiveRight&&X.inclusiveLeft?Br(Je.to,$)>=0:Br(Je.to,$)>0)||Pt>=0&&(Ge.marker.inclusiveRight&&X.inclusiveLeft?Br(Je.from,R)<=0:Br(Je.from,R)<0)))return!0}}}function aA(k){for(var S;S=Df(k);)k=S.find(-1,!0).line;return k}function tn(k){for(var S;S=i1(k);)k=S.find(1,!0).line;return k}function zi(k){for(var S,$;S=i1(k);)k=S.find(1,!0).line,($||($=[])).push(k);return $}function La(k,S){var $=Ei(k,S),R=aA($);return $==R?S:Rs(R)}function Yc(k,S){if(S>k.lastLine())return S;var $,R=Ei(k,S);if(!Hl(k,R))return S;for(;$=i1(R);)R=$.find(1,!0).line;return Rs(R)+1}function Hl(k,S){var $=Ic&&S.markedSpans;if($){for(var R=void 0,X=0;X<$.length;++X)if((R=$[X]).marker.collapsed&&(R.from==null||!R.marker.widgetNode&&R.from==0&&R.marker.inclusiveLeft&&wh(k,S,R)))return!0}}function wh(k,S,$){if($.to==null){var R=$.marker.find(1,!0);return wh(k,R.line,zu(R.line.markedSpans,$.marker))}if($.marker.inclusiveRight&&$.to==S.text.length)return!0;for(var X=void 0,pe=0;peS.maxLineLength&&(S.maxLineLength=X,S.maxLine=R)})}var Of=function(k,S,$){this.text=k,Sa(this,S),this.height=$?$(this):1};function M6(k,S,$,R){k.text=S,k.stateAfter&&(k.stateAfter=null),k.styles&&(k.styles=null),k.order!=null&&(k.order=null),rn(k),Sa(k,$);var X=R?R(k):1;X!=k.height&&Qh(k,X)}function m9(k){k.parent=null,rn(k)}Of.prototype.lineNo=function(){return Rs(this)},jn(Of);var T7={},WB={};function b9(k,S){if(!k||/^\s*$/.test(k))return null;var $=S.addModeClass?WB:T7;return $[k]||($[k]=k.replace(/\S+/g,"cm-$&"))}function o4(k,S){var $=fe("span",null,null,C?"padding-right: .1px":null),R={pre:fe("pre",[$],"CodeMirror-line"),content:$,col:0,pos:0,cm:k,trailingSpace:!1,splitSpaces:k.getOption("lineWrapping")};S.measure={};for(var X=0;X<=(S.rest?S.rest.length:0);X++){var pe=X?S.rest[X-1]:S.line,Me=void 0;R.pos=0,R.addToken=sy,cs(k.display.measure)&&(Me=ro(pe,k.doc.direction))&&(R.addToken=I6(R.addToken,Me)),R.map=[],YB(pe,R,Ki(k,pe,S!=k.display.externalMeasured&&Rs(pe))),pe.styleClasses&&(pe.styleClasses.bgClass&&(R.bgClass=ct(pe.styleClasses.bgClass,R.bgClass||"")),pe.styleClasses.textClass&&(R.textClass=ct(pe.styleClasses.textClass,R.textClass||""))),R.map.length==0&&R.map.push(0,0,R.content.appendChild(qo(k.display.measure))),X==0?(S.measure.map=R.map,S.measure.cache={}):((S.measure.maps||(S.measure.maps=[])).push(R.map),(S.measure.caches||(S.measure.caches=[])).push({}))}if(C){var Oe=R.content.lastChild;(/\bcm-tab\b/.test(Oe.className)||Oe.querySelector&&Oe.querySelector(".cm-tab"))&&(R.content.className="cm-tab-wrap-hack")}return vr(k,"renderLine",k,S.line,R.pre),R.pre.className&&(R.textClass=ct(R.pre.className,R.textClass||"")),R}function w9(k){var S=Ee("span","•","cm-invalidchar");return S.title="\\u"+k.charCodeAt(0).toString(16),S.setAttribute("aria-label",S.title),S}function sy(k,S,$,R,X,pe,Me){if(S){var Oe,Ge=k.splitSpaces?qB(S,k.trailingSpace):S,Je=k.cm.state.specialChars,Pt=!1;if(Je.test(S)){Oe=document.createDocumentFragment();for(var Dt=0;;){Je.lastIndex=Dt;var kn=Je.exec(S),Nn=kn?kn.index-Dt:S.length-Dt;if(Nn){var rr=document.createTextNode(Ge.slice(Dt,Dt+Nn));w&&x<9?Oe.appendChild(Ee("span",[rr])):Oe.appendChild(rr),k.map.push(k.pos,k.pos+Nn,rr),k.col+=Nn,k.pos+=Nn}if(!kn)break;Dt+=Nn+1;var Hr=void 0;if(kn[0]==" "){var fi=k.cm.options.tabSize,ur=fi-k.col%fi;(Hr=Oe.appendChild(Ee("span",lt(ur),"cm-tab"))).setAttribute("role","presentation"),Hr.setAttribute("cm-text"," "),k.col+=ur}else kn[0]=="\r"||kn[0]==`
+`?((Hr=Oe.appendChild(Ee("span",kn[0]=="\r"?"␍":"","cm-invalidchar"))).setAttribute("cm-text",kn[0]),k.col+=1):((Hr=k.cm.options.specialCharPlaceholder(kn[0])).setAttribute("cm-text",kn[0]),w&&x<9?Oe.appendChild(Ee("span",[Hr])):Oe.appendChild(Hr),k.col+=1);k.map.push(k.pos,k.pos+1,Hr),k.pos++}}else k.col+=S.length,Oe=document.createTextNode(Ge),k.map.push(k.pos,k.pos+S.length,Oe),w&&x<9&&(Pt=!0),k.pos+=S.length;if(k.trailingSpace=Ge.charCodeAt(S.length-1)==32,$||R||X||Pt||pe||Me){var Fa=$||"";R&&(Fa+=R),X&&(Fa+=X);var ji=Ee("span",[Oe],Fa,pe);if(Me)for(var Na in Me)Me.hasOwnProperty(Na)&&Na!="style"&&Na!="class"&&ji.setAttribute(Na,Me[Na]);return k.content.appendChild(ji)}k.content.appendChild(Oe)}}function qB(k,S){if(k.length>1&&!/ /.test(k))return k;for(var $=S,R="",X=0;XJe&&Dt.from<=Je);kn++);if(Dt.to>=Pt)return k($,R,X,pe,Me,Oe,Ge);k($,R.slice(0,Dt.to-Je),X,pe,null,Oe,Ge),pe=null,R=R.slice(Dt.to-Je),Je=Dt.to}}}function v9(k,S,$,R){var X=!R&&$.widgetNode;X&&k.map.push(k.pos,k.pos+S,X),!R&&k.cm.display.input.needsContentAttribute&&(X||(X=k.content.appendChild(document.createElement("span"))),X.setAttribute("cm-marker",$.id)),X&&(k.cm.display.input.setUneditable(X),k.content.appendChild(X)),k.pos+=S,k.trailingSpace=!1}function YB(k,S,$){var R=k.markedSpans,X=k.text,pe=0;if(R)for(var Me,Oe,Ge,Je,Pt,Dt,kn,Nn=X.length,rr=0,Hr=1,fi="",ur=0;;){if(ur==rr){Ge=Je=Pt=Oe="",kn=null,Dt=null,ur=1/0;for(var Fa=[],ji=void 0,Na=0;Narr||Aa.collapsed&&so.to==rr&&so.from==rr)){if(so.to!=null&&so.to!=rr&&ur>so.to&&(ur=so.to,Je=""),Aa.className&&(Ge+=" "+Aa.className),Aa.css&&(Oe=(Oe?Oe+";":"")+Aa.css),Aa.startStyle&&so.from==rr&&(Pt+=" "+Aa.startStyle),Aa.endStyle&&so.to==ur&&(ji||(ji=[])).push(Aa.endStyle,so.to),Aa.title&&((kn||(kn={})).title=Aa.title),Aa.attributes)for(var El in Aa.attributes)(kn||(kn={}))[El]=Aa.attributes[El];Aa.collapsed&&(!Dt||uc(Dt.marker,Aa)<0)&&(Dt=so)}else so.from>rr&&ur>so.from&&(ur=so.from)}if(ji)for(var Tl=0;Tl=Nn)break;for(var th=Math.min(Nn,ur);;){if(fi){var y1=rr+fi.length;if(!Dt){var R1=y1>th?fi.slice(0,th-rr):fi;S.addToken(S,R1,Me?Me+Ge:Ge,Pt,rr+R1.length==ur?Je:"",Oe,kn)}if(y1>=th){fi=fi.slice(th-rr),rr=th;break}rr=y1,Pt=""}fi=X.slice(pe,pe=$[Hr++]),Me=b9($[Hr++],S.cm.options)}}else for(var Jh=1;Jh<$.length;Jh+=2)S.addToken(S,X.slice(pe,pe=$[Jh]),b9($[Jh+1],S.cm.options))}function y9(k,S,$){this.line=S,this.rest=zi(S),this.size=this.rest?Rs(Ke(this.rest))-$+1:1,this.node=this.text=null,this.hidden=Hl(k,S)}function ew(k,S,$){for(var R,X=[],pe=S;pe<$;pe=R){var Me=new y9(k.doc,Ei(k.doc,pe),pe);R=pe+Me.size,X.push(Me)}return X}var Ib=null;function x9(k){Ib?Ib.ops.push(k):k.ownsGroup=Ib={ops:[k],delayedCallbacks:[]}}function tw(k){var S=k.delayedCallbacks,$=0;do{for(;$2&&pe.push((Ge.bottom+Je.top)/2-$.top)}}pe.push($.bottom-$.top)}}function N1(k,S,$){if(k.line==S)return{map:k.measure.map,cache:k.measure.cache};for(var R=0;R$)return{map:k.measure.maps[X],cache:k.measure.caches[X],before:!0}}function Up(k,S){var $=Rs(S=aA(S)),R=k.display.externalMeasured=new y9(k.doc,S,$);R.lineN=$;var X=R.built=o4(k,R);return R.text=X.pre,Y(k.display.lineMeasure,X.pre),R}function S7(k,S,$,R){return nd(k,$A(k,S),$,R)}function oA(k,S){if(S>=k.display.viewFrom&&S=$.lineN&&S<$.lineN+$.size?$:void 0}function $A(k,S){var $=Rs(S),R=oA(k,$);R&&!R.text?R=null:R&&R.changes&&(cy(k,R,$,u4(k)),k.curOp.forceUpdate=!0),R||(R=Up(k,S));var X=N1(R,S,$);return{line:S,view:R,rect:null,map:X.map,cache:X.cache,before:X.before,hasHeights:!1}}function nd(k,S,$,R,X){S.before&&($=-1);var pe,Me=$+(R||"");return S.cache.hasOwnProperty(Me)?pe=S.cache[Me]:(S.rect||(S.rect=S.view.text.getBoundingClientRect()),S.hasHeights||(C9(k,S.view,S.rect),S.hasHeights=!0),(pe=cw(k,S,$,R)).bogus||(S.cache[Me]=pe)),{left:pe.left,right:pe.right,top:X?pe.rtop:pe.top,bottom:X?pe.rbottom:pe.bottom}}var mu,_0={left:0,right:0,top:0,bottom:0};function s4(k,S,$){for(var R,X,pe,Me,Oe,Ge,Je=0;JeS)&&(X=(pe=Ge-Oe)-1,S>=Ge&&(Me="right")),X!=null){if(R=k[Je+2],Oe==Ge&&$==(R.insertLeft?"left":"right")&&(Me=$),$=="left"&&X==0)for(;Je&&k[Je-2]==k[Je-3]&&k[Je-1].insertLeft;)R=k[2+(Je-=3)],Me="left";if($=="right"&&X==Ge-Oe)for(;Je=0&&($=k[X]).left==$.right;X--);return $}function cw(k,S,$,R){var X,pe=s4(S.map,$,R),Me=pe.node,Oe=pe.start,Ge=pe.end,Je=pe.collapse;if(Me.nodeType==3){for(var Pt=0;Pt<4;Pt++){for(;Oe&&ln(S.line.text.charAt(pe.coverStart+Oe));)--Oe;for(;pe.coverStart+Ge0&&(Je=R="right"),X=k.options.lineWrapping&&(Dt=Me.getClientRects()).length>1?Dt[R=="right"?Dt.length-1:0]:Me.getBoundingClientRect()}if(w&&x<9&&!Oe&&(!X||!X.left&&!X.right)){var kn=Me.parentNode.getClientRects()[0];X=kn?{left:kn.left,right:kn.left+hw(k.display),top:kn.top,bottom:kn.bottom}:_0}for(var Nn=X.top-S.rect.top,rr=X.bottom-S.rect.top,Hr=(Nn+rr)/2,fi=S.view.measure.heights,ur=0;ur=R.text.length?(Ge=R.text.length,Je="before"):Ge<=0&&(Ge=0,Je="after"),!Oe)return Me(Je=="before"?Ge-1:Ge,Je=="before");function Pt(rr,Hr,fi){return Me(fi?rr-1:rr,Oe[Hr].level==1!=fi)}var Dt=ti(Oe,Ge,Je),kn=Lr,Nn=Pt(Ge,Dt,Je=="before");return kn!=null&&(Nn.other=Pt(Ge,kn,Je!="before")),Nn}function L7(k,S){var $=0;S=co(k.doc,S),k.options.lineWrapping||($=hw(k.display)*S.ch);var R=Ei(k.doc,S.line),X=Uh(R)+og(k.display);return{left:$,right:$,top:X,bottom:X+R.height}}function N6(k,S,$,R,X){var pe=ar(k,S,$);return pe.xRel=X,R&&(pe.outside=R),pe}function Ob(k,S,$){var R=k.doc;if(($+=k.display.viewOffset)<0)return N6(R.first,0,null,-1,-1);var X=ju(R,$),pe=R.first+R.size-1;if(X>pe)return N6(R.first+R.size-1,Ei(R,pe).text.length,null,1,1);S<0&&(S=0);for(var Me=Ei(R,X);;){var Oe=P6(k,Me,X,S,$),Ge=Fd(Me,Oe.ch+(Oe.xRel>0||Oe.outside>0?1:0));if(!Ge)return Oe;var Je=Ge.find(1);if(Je.line==X)return Je;Me=Ei(R,X=Je.line)}}function hy(k,S,$,R){R-=Db(S);var X=S.text.length,pe=$t(function(Me){return nd(k,$,Me-1).bottom<=R},X,0);return{begin:pe,end:X=$t(function(Me){return nd(k,$,Me).top>R},pe,X)}}function lw(k,S,$,R){return $||($=$A(k,S)),hy(k,S,$,uy(k,S,nd(k,$,R),"line").top)}function Q6(k,S,$,R){return!(k.bottom<=$)&&(k.top>$||(R?k.left:k.right)>S)}function P6(k,S,$,R,X){X-=Uh(S);var pe=$A(k,S),Me=Db(S),Oe=0,Ge=S.text.length,Je=!0,Pt=ro(S,k.doc.direction);if(Pt){var Dt=(k.options.lineWrapping?_9:B9)(k,S,$,pe,Pt,R,X);Oe=(Je=Dt.level!=1)?Dt.from:Dt.to-1,Ge=Je?Dt.to:Dt.from-1}var kn,Nn,rr=null,Hr=null,fi=$t(function(so){var Aa=nd(k,pe,so);return Aa.top+=Me,Aa.bottom+=Me,!!Q6(Aa,R,X,!1)&&(Aa.top<=X&&Aa.left<=R&&(rr=so,Hr=Aa),!0)},Oe,Ge),ur=!1;if(Hr){var Fa=R-Hr.left=Na.bottom?1:0}return N6($,fi=Hn(S.text,fi,1),Nn,ur,R-kn)}function B9(k,S,$,R,X,pe,Me){var Oe=$t(function(Dt){var kn=X[Dt],Nn=kn.level!=1;return Q6(Qf(k,ar($,Nn?kn.to:kn.from,Nn?"before":"after"),"line",S,R),pe,Me,!0)},0,X.length-1),Ge=X[Oe];if(Oe>0){var Je=Ge.level!=1,Pt=Qf(k,ar($,Je?Ge.from:Ge.to,Je?"after":"before"),"line",S,R);Q6(Pt,pe,Me,!0)&&Pt.top>Me&&(Ge=X[Oe-1])}return Ge}function _9(k,S,$,R,X,pe,Me){var Oe=hy(k,S,R,Me),Ge=Oe.begin,Je=Oe.end;/\s/.test(S.text.charAt(Je-1))&&Je--;for(var Pt=null,Dt=null,kn=0;kn=Je||Nn.to<=Ge)){var rr=nd(k,R,Nn.level!=1?Math.min(Je,Nn.to)-1:Math.max(Ge,Nn.from)).right,Hr=rrHr)&&(Pt=Nn,Dt=Hr)}}return Pt||(Pt=X[X.length-1]),Pt.fromJe&&(Pt={from:Pt.from,to:Je,level:Pt.level}),Pt}function uw(k){if(k.cachedTextHeight!=null)return k.cachedTextHeight;if(mu==null){mu=Ee("pre",null,"CodeMirror-line-like");for(var S=0;S<49;++S)mu.appendChild(document.createTextNode("x")),mu.appendChild(Ee("br"));mu.appendChild(document.createTextNode("x"))}Y(k.measure,mu);var $=mu.offsetHeight/50;return $>3&&(k.cachedTextHeight=$),ye(k.measure),$||1}function hw(k){if(k.cachedCharWidth!=null)return k.cachedCharWidth;var S=Ee("span","xxxxxxxxxx"),$=Ee("pre",[S],"CodeMirror-line-like");Y(k.measure,$);var R=S.getBoundingClientRect(),X=(R.right-R.left)/10;return X>2&&(k.cachedCharWidth=X),X||10}function u4(k){for(var S=k.display,$={},R={},X=S.gutters.clientLeft,pe=S.gutters.firstChild,Me=0;pe;pe=pe.nextSibling,++Me){var Oe=k.display.gutterSpecs[Me].className;$[Oe]=pe.offsetLeft+pe.clientLeft+X,R[Oe]=pe.clientWidth}return{fixedPos:R6(S),gutterTotalWidth:S.gutters.offsetWidth,gutterLeft:$,gutterWidth:R,wrapperWidth:S.wrapper.clientWidth}}function R6(k){return k.scroller.getBoundingClientRect().left-k.sizer.getBoundingClientRect().left}function S9(k){var S=uw(k.display),$=k.options.lineWrapping,R=$&&Math.max(5,k.display.scroller.clientWidth/hw(k.display)-3);return function(X){if(Hl(k.doc,X))return 0;var pe=0;if(X.widgets)for(var Me=0;Me0&&(Ge=Ei(k.doc,Je.line).text).length==Je.ch){var Pt=ht(Ge,Ge.length,k.options.tabSize)-Ge.length;Je=ar(Je.line,Math.max(0,Math.round((pe-eh(k.display).left)/hw(k.display))-Pt))}return Je}function Aw(k,S){if(S>=k.display.viewTo||(S-=k.display.viewFrom)<0)return null;for(var $=k.display.view,R=0;R<$.length;R++)if((S-=$[R].size)<0)return R}function rd(k,S,$,R){S==null&&(S=k.doc.first),$==null&&($=k.doc.first+k.doc.size),R||(R=0);var X=k.display;if(R&&$S)&&(X.updateLineNumbers=S),k.curOp.viewChanged=!0,S>=X.viewTo)Ic&&La(k.doc,S)X.viewFrom?KA(k):(X.viewFrom+=R,X.viewTo+=R);else if(S<=X.viewFrom&&$>=X.viewTo)KA(k);else if(S<=X.viewFrom){var pe=h4(k,$,$+R,1);pe?(X.view=X.view.slice(pe.index),X.viewFrom=pe.lineN,X.viewTo+=R):KA(k)}else if($>=X.viewTo){var Me=h4(k,S,S,-1);Me?(X.view=X.view.slice(0,Me.index),X.viewTo=Me.lineN):KA(k)}else{var Oe=h4(k,S,S,-1),Ge=h4(k,$,$+R,1);Oe&&Ge?(X.view=X.view.slice(0,Oe.index).concat(ew(k,Oe.lineN,Ge.lineN)).concat(X.view.slice(Ge.index)),X.viewTo+=R):KA(k)}var Je=X.externalMeasured;Je&&($=X.lineN&&S=R.viewTo)){var pe=R.view[Aw(k,S)];if(pe.node!=null){var Me=pe.changes||(pe.changes=[]);Et(Me,$)==-1&&Me.push($)}}}function KA(k){k.display.viewFrom=k.display.viewTo=k.doc.first,k.display.view=[],k.display.viewOffset=0}function h4(k,S,$,R){var X,pe=Aw(k,S),Me=k.display.view;if(!Ic||$==k.doc.first+k.doc.size)return{index:pe,lineN:$};for(var Oe=k.display.viewFrom,Ge=0;Ge0){if(pe==Me.length-1)return null;X=Oe+Me[pe].size-S,pe++}else X=Oe-S;S+=X,$+=X}for(;La(k.doc,$)!=$;){if(pe==(R<0?0:Me.length-1))return null;$+=R*Me[pe-(R<0?1:0)].size,pe+=R}return{index:pe,lineN:$}}function JB(k,S,$){var R=k.display;R.view.length==0||S>=R.viewTo||$<=R.viewFrom?(R.view=ew(k,S,$),R.viewFrom=S):(R.viewFrom>S?R.view=ew(k,S,R.viewFrom).concat(R.view):R.viewFrom$&&(R.view=R.view.slice(0,Aw(k,$)))),R.viewTo=$}function M7(k){for(var S=k.display.view,$=0,R=0;R=k.display.viewTo||Oe.to().line0?S.blinker=setInterval(function(){k.hasFocus()||Om(k),S.cursorDiv.style.visibility=($=!$)?"":"hidden"},k.options.cursorBlinkRate):k.options.cursorBlinkRate<0&&(S.cursorDiv.style.visibility="hidden")}}function Rb(k){k.state.focused||(k.display.input.focus(),A4(k))}function M9(k){k.state.delayingBlurEvent=!0,setTimeout(function(){k.state.delayingBlurEvent&&(k.state.delayingBlurEvent=!1,Om(k))},100)}function A4(k,S){k.state.delayingBlurEvent&&(k.state.delayingBlurEvent=!1),k.options.readOnly!="nocursor"&&(k.state.focused||(vr(k,"focus",k,S),k.state.focused=!0,Ye(k.display.wrapper,"CodeMirror-focused"),k.curOp||k.display.selForContextMenu==k.doc.sel||(k.display.input.reset(),C&&setTimeout(function(){return k.display.input.reset(!0)},20)),k.display.input.receivedFocus()),Pb(k))}function Om(k,S){k.state.delayingBlurEvent||(k.state.focused&&(vr(k,"blur",k,S),k.state.focused=!1,ee(k.display.wrapper,"CodeMirror-focused")),clearInterval(k.display.blinker),setTimeout(function(){k.state.focused||(k.display.shift=!1)},150))}function Ay(k){for(var S=k.display,$=S.lineDiv.offsetTop,R=0;R.005||Pt<-.005)&&(Qh(X.line,Ie),gy(X.line),X.rest))for(var Dt=0;Dtk.display.sizerWidth){var kn=Math.ceil(Oe/fw(k.display));kn>k.display.maxLineLength&&(k.display.maxLineLength=kn,k.display.maxLine=X.line,k.display.maxLineChanged=!0)}}}}function gy(k){if(k.widgets)for(var S=0;S=Ie&&(pe=ju(S,Uh(Ei(S,Ge))-k.wrapper.clientHeight),Ie=Ge)}return{from:pe,to:Math.max(Ie,pe+1)}}function e_(k,S){if(!Zr(k,"scrollCursorIntoView")){var $=k.display,R=$.sizer.getBoundingClientRect(),X=null;if(S.top+R.top<0?X=!0:S.bottom+R.top>(window.innerHeight||document.documentElement.clientHeight)&&(X=!1),X!=null&&!W){var pe=Ee("div","",null,`position: absolute;
+ height: `+(Aa-Na)+"px"))}function Dt(ji,Na,so){var Aa,El,Tl=Ei(X,ji),P1=Tl.text.length;function th(Jh,ad){return l4(k,ar(ji,Jh),"div",Tl,ad)}function y1(Jh,ad,Od){var Xu=lw(k,Tl,null,Jh),Hh=ad=="ltr"==(Od=="after")?"left":"right";return th(Od=="after"?Xu.begin:Xu.end-(/\s/.test(Tl.text.charAt(Xu.end-1))?2:1),Hh)[Hh]}var R1=ro(Tl,X.direction);return _r(R1,Na||0,so??P1,function(Jh,ad,Od,Xu){var Hh=Od=="ltr",gf=th(Jh,Hh?"left":"right"),Nd=th(ad-1,Hh?"right":"left"),Jg=Na==null&&Jh==0,cg=so==null&&ad==P1,od=Xu==0,pf=!R1||Xu==R1.length-1;if(Nd.top-gf.top<=3){var hx=(Je?cg:Jg)&&pf,L0=(Je?Jg:cg)&&od?Oe:(Hh?gf:Nd).left,Wp=hx?Ge:(Hh?Nd:gf).right;Pt(L0,gf.top,Wp-L0,gf.bottom)}else{var Zg,nh,Yb,Fw;Hh?(Zg=Je&&Jg&&od?Oe:gf.left,nh=Je?Ge:y1(Jh,Od,"before"),Yb=Je?Oe:y1(ad,Od,"after"),Fw=Je&&cg&&pf?Ge:Nd.right):(Zg=Je?y1(Jh,Od,"before"):Oe,nh=!Je&&Jg&&od?Ge:gf.right,Yb=!Je&&cg&&pf?Oe:Nd.left,Fw=Je?y1(ad,Od,"after"):Ge),Pt(Zg,gf.top,nh-Zg,gf.bottom),gf.bottom0?S.blinker=setInterval(function(){k.hasFocus()||Dm(k),S.cursorDiv.style.visibility=($=!$)?"":"hidden"},k.options.cursorBlinkRate):k.options.cursorBlinkRate<0&&(S.cursorDiv.style.visibility="hidden")}}function Pb(k){k.state.focused||(k.display.input.focus(),d4(k))}function M9(k){k.state.delayingBlurEvent=!0,setTimeout(function(){k.state.delayingBlurEvent&&(k.state.delayingBlurEvent=!1,Dm(k))},100)}function d4(k,S){k.state.delayingBlurEvent&&(k.state.delayingBlurEvent=!1),k.options.readOnly!="nocursor"&&(k.state.focused||(vr(k,"focus",k,S),k.state.focused=!0,Ye(k.display.wrapper,"CodeMirror-focused"),k.curOp||k.display.selForContextMenu==k.doc.sel||(k.display.input.reset(),C&&setTimeout(function(){return k.display.input.reset(!0)},20)),k.display.input.receivedFocus()),Qb(k))}function Dm(k,S){k.state.delayingBlurEvent||(k.state.focused&&(vr(k,"blur",k,S),k.state.focused=!1,ee(k.display.wrapper,"CodeMirror-focused")),clearInterval(k.display.blinker),setTimeout(function(){k.state.focused||(k.display.shift=!1)},150))}function dy(k){for(var S=k.display,$=S.lineDiv.offsetTop,R=0;R.005||Pt<-.005)&&(Qh(X.line,Me),Ay(X.line),X.rest))for(var Dt=0;Dtk.display.sizerWidth){var kn=Math.ceil(Oe/hw(k.display));kn>k.display.maxLineLength&&(k.display.maxLineLength=kn,k.display.maxLine=X.line,k.display.maxLineChanged=!0)}}}}function Ay(k){if(k.widgets)for(var S=0;S=Me&&(pe=ju(S,Uh(Ei(S,Ge))-k.wrapper.clientHeight),Me=Ge)}return{from:pe,to:Math.max(Me,pe+1)}}function ZB(k,S){if(!Zr(k,"scrollCursorIntoView")){var $=k.display,R=$.sizer.getBoundingClientRect(),X=null;if(S.top+R.top<0?X=!0:S.bottom+R.top>(window.innerHeight||document.documentElement.clientHeight)&&(X=!1),X!=null&&!W){var pe=Ee("div","",null,`position: absolute;
top: `+(S.top-$.viewOffset-og(k.display))+`px;
height: `+(S.bottom-S.top+Gg(k)+$.barHeight)+`px;
- left: `+S.left+"px; width: "+Math.max(2,S.right-S.left)+"px;");k.display.lineSpace.appendChild(pe),pe.scrollIntoView(X),k.display.lineSpace.removeChild(pe)}}}function t_(k,S,$,R){var X;R==null&&(R=0),k.options.lineWrapping||S!=$||($=(S=S.ch?ar(S.line,S.sticky=="before"?S.ch-1:S.ch,"after"):S).sticky=="before"?ar(S.line,S.ch+1,"before"):S);for(var pe=0;pe<5;pe++){var Ie=!1,Oe=Qf(k,S),Ge=$&&$!=S?Qf(k,$):Oe,Je=mw(k,X={left:Math.min(Oe.left,Ge.left),top:Math.min(Oe.top,Ge.top)-R,right:Math.max(Oe.left,Ge.left),bottom:Math.max(Oe.bottom,Ge.bottom)+R}),Pt=k.doc.scrollTop,Dt=k.doc.scrollLeft;if(Je.scrollTop!=null&&(my(k,Je.scrollTop),Math.abs(k.doc.scrollTop-Pt)>1&&(Ie=!0)),Je.scrollLeft!=null&&(ww(k,Je.scrollLeft),Math.abs(k.doc.scrollLeft-Dt)>1&&(Ie=!0)),!Ie)break}return X}function n_(k,S){var $=mw(k,S);$.scrollTop!=null&&my(k,$.scrollTop),$.scrollLeft!=null&&ww(k,$.scrollLeft)}function mw(k,S){var $=k.display,R=hw(k.display);S.top<0&&(S.top=0);var X=k.curOp&&k.curOp.scrollTop!=null?k.curOp.scrollTop:$.scroller.scrollTop,pe=O6(k),Ie={};S.bottom-S.top>pe&&(S.bottom=S.top+pe);var Oe=k.doc.height+cw($),Ge=S.topOe-R;if(S.topX+pe){var Pt=Math.min(S.top,(Je?Oe:S.bottom)-pe);Pt!=X&&(Ie.scrollTop=Pt)}var Dt=k.options.fixedGutter?0:$.gutters.offsetWidth,kn=k.curOp&&k.curOp.scrollLeft!=null?k.curOp.scrollLeft:$.scroller.scrollLeft-Dt,Nn=Db(k)-$.gutters.offsetWidth,rr=S.right-S.left>Nn;return rr&&(S.right=S.left+Nn),S.left<10?Ie.scrollLeft=0:S.leftNn+kn-3&&(Ie.scrollLeft=S.right+(rr?0:10)-Nn),Ie}function H6(k,S){S!=null&&(bw(k),k.curOp.scrollTop=(k.curOp.scrollTop==null?k.doc.scrollTop:k.curOp.scrollTop)+S)}function py(k){bw(k);var S=k.getCursor();k.curOp.scrollToPos={from:S,to:S,margin:k.options.cursorScrollMargin}}function p4(k,S,$){S==null&&$==null||bw(k),S!=null&&(k.curOp.scrollLeft=S),$!=null&&(k.curOp.scrollTop=$)}function r_(k,S){bw(k),k.curOp.scrollToPos=S}function bw(k){var S=k.curOp.scrollToPos;S&&(k.curOp.scrollToPos=null,F9(k,Ik(k,S.from),Ik(k,S.to),S.margin))}function F9(k,S,$,R){var X=mw(k,{left:Math.min(S.left,$.left),top:Math.min(S.top,$.top)-R,right:Math.max(S.right,$.right),bottom:Math.max(S.bottom,$.bottom)+R});p4(k,X.scrollLeft,X.scrollTop)}function my(k,S){Math.abs(k.doc.scrollTop-S)<2||(h||j6(k,{top:S}),D9(k,S,!0),h&&j6(k),Vg(k,100))}function D9(k,S,$){S=Math.max(0,Math.min(k.display.scroller.scrollHeight-k.display.scroller.clientHeight,S)),(k.display.scroller.scrollTop!=S||$)&&(k.doc.scrollTop=S,k.display.scrollbars.setScrollTop(S),k.display.scroller.scrollTop!=S&&(k.display.scroller.scrollTop=S))}function ww(k,S,$,R){S=Math.max(0,Math.min(S,k.display.scroller.scrollWidth-k.display.scroller.clientWidth)),($?S==k.doc.scrollLeft:Math.abs(k.doc.scrollLeft-S)<2)&&!R||(k.doc.scrollLeft=S,K6(k),k.display.scroller.scrollLeft!=S&&(k.display.scroller.scrollLeft=S),k.display.scrollbars.setScrollLeft(S))}function m4(k){var S=k.display,$=S.gutters.offsetWidth,R=Math.round(k.doc.height+cw(k.display));return{clientHeight:S.scroller.clientHeight,viewHeight:S.wrapper.clientHeight,scrollWidth:S.scroller.scrollWidth,clientWidth:S.scroller.clientWidth,viewWidth:S.wrapper.clientWidth,barLeft:k.options.fixedGutter?$:0,docHeight:R,scrollHeight:R+Gg(k)+S.barHeight,nativeBarWidth:S.nativeBarWidth,gutterWidth:$}}var vw=function(k,S,$){this.cm=$;var R=this.vert=Ee("div",[Ee("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),X=this.horiz=Ee("div",[Ee("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");R.tabIndex=X.tabIndex=-1,k(R),k(X),mi(R,"scroll",function(){R.clientHeight&&S(R.scrollTop,"vertical")}),mi(X,"scroll",function(){X.clientWidth&&S(X.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,w&&x<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};vw.prototype.update=function(k){var S=k.scrollWidth>k.clientWidth+1,$=k.scrollHeight>k.clientHeight+1,R=k.nativeBarWidth;if($){this.vert.style.display="block",this.vert.style.bottom=S?R+"px":"0";var X=k.viewHeight-(S?R:0);this.vert.firstChild.style.height=Math.max(0,k.scrollHeight-k.clientHeight+X)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(S){this.horiz.style.display="block",this.horiz.style.right=$?R+"px":"0",this.horiz.style.left=k.barLeft+"px";var pe=k.viewWidth-k.barLeft-($?R:0);this.horiz.firstChild.style.width=Math.max(0,k.scrollWidth-k.clientWidth+pe)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&k.clientHeight>0&&(R==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:$?R:0,bottom:S?R:0}},vw.prototype.setScrollLeft=function(k){this.horiz.scrollLeft!=k&&(this.horiz.scrollLeft=k),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},vw.prototype.setScrollTop=function(k){this.vert.scrollTop!=k&&(this.vert.scrollTop=k),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},vw.prototype.zeroWidthHack=function(){var k=G&&!z?"12px":"18px";this.horiz.style.height=this.vert.style.width=k,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Rt,this.disableVert=new Rt},vw.prototype.enableZeroWidthBar=function(k,S,$){function R(){var X=k.getBoundingClientRect();($=="vert"?document.elementFromPoint(X.right-1,(X.top+X.bottom)/2):document.elementFromPoint((X.right+X.left)/2,X.bottom-1))!=k?k.style.pointerEvents="none":S.set(1e3,R)}k.style.pointerEvents="auto",S.set(1e3,R)},vw.prototype.clear=function(){var k=this.horiz.parentNode;k.removeChild(this.horiz),k.removeChild(this.vert)};var by=function(){};function Nm(k,S){S||(S=m4(k));var $=k.display.barWidth,R=k.display.barHeight;O9(k,S);for(var X=0;X<4&&$!=k.display.barWidth||R!=k.display.barHeight;X++)$!=k.display.barWidth&&k.options.lineWrapping&&Ay(k),O9(k,m4(k)),$=k.display.barWidth,R=k.display.barHeight}function O9(k,S){var $=k.display,R=$.scrollbars.update(S);$.sizer.style.paddingRight=($.barWidth=R.right)+"px",$.sizer.style.paddingBottom=($.barHeight=R.bottom)+"px",$.heightForcer.style.borderBottom=R.bottom+"px solid transparent",R.right&&R.bottom?($.scrollbarFiller.style.display="block",$.scrollbarFiller.style.height=R.bottom+"px",$.scrollbarFiller.style.width=R.right+"px"):$.scrollbarFiller.style.display="",R.bottom&&k.options.coverGutterNextToScrollbar&&k.options.fixedGutter?($.gutterFiller.style.display="block",$.gutterFiller.style.height=R.bottom+"px",$.gutterFiller.style.width=S.gutterWidth+"px"):$.gutterFiller.style.display=""}by.prototype.update=function(){return{bottom:0,right:0}},by.prototype.setScrollLeft=function(){},by.prototype.setScrollTop=function(){},by.prototype.clear=function(){};var N9={native:vw,null:by};function yw(k){k.display.scrollbars&&(k.display.scrollbars.clear(),k.display.scrollbars.addClass&&ee(k.display.wrapper,k.display.scrollbars.addClass)),k.display.scrollbars=new N9[k.options.scrollbarStyle](function(S){k.display.wrapper.insertBefore(S,k.display.scrollbarFiller),mi(S,"mousedown",function(){k.state.focused&&setTimeout(function(){return k.display.input.focus()},0)}),S.setAttribute("cm-not-content","true")},function(S,$){$=="horizontal"?ww(k,S):my(k,S)},k),k.display.scrollbars.addClass&&Ye(k.display.wrapper,k.display.scrollbars.addClass)}var i_=0;function xw(k){k.curOp={cm:k,viewChanged:!1,startHeight:k.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++i_},k9(k.curOp)}function Ub(k){var S=k.curOp;S&&rw(S,function($){for(var R=0;R<$.ops.length;R++)$.ops[R].cm.curOp=null;a_($)})}function a_(k){for(var S=k.ops,$=0;$=$.viewTo)||$.maxLineChanged&&S.options.lineWrapping,k.update=k.mustUpdate&&new w4(S,k.mustUpdate&&{top:k.scrollTop,ensure:k.scrollToPos},k.forceUpdate)}function Dk(k){k.updatedDisplay=k.mustUpdate&&$6(k.cm,k.update)}function b4(k){var S=k.cm,$=S.display;k.updatedDisplay&&Ay(S),k.barMeasure=m4(S),$.maxLineChanged&&!S.options.lineWrapping&&(k.adjustWidthTo=Lk(S,$.maxLine,$.maxLine.text.length).left+3,S.display.sizerWidth=k.adjustWidthTo,k.barMeasure.scrollWidth=Math.max($.scroller.clientWidth,$.sizer.offsetLeft+k.adjustWidthTo+Gg(S)+S.display.barWidth),k.maxScrollLeft=Math.max(0,$.sizer.offsetLeft+k.adjustWidthTo-Db(S))),(k.updatedDisplay||k.selectionChanged)&&(k.preparedSelection=$.input.prepareSelection())}function s_(k){var S=k.cm;k.adjustWidthTo!=null&&(S.display.sizer.style.minWidth=k.adjustWidthTo+"px",k.maxScrollLeft=k.display.viewTo)){var $=+new Date+k.options.workTime,R=sa(k,S.highlightFrontier),X=[];S.iter(R.line,Math.min(S.first+S.size,k.display.viewTo+500),function(pe){if(R.line>=k.display.viewFrom){var Ie=pe.styles,Oe=pe.text.length>k.options.maxHighlightLength?ws(S.mode,R.state):null,Ge=Qr(k,pe,R,!0);Oe&&(R.state=Oe),pe.styles=Ge.styles;var Je=pe.styleClasses,Pt=Ge.classes;Pt?pe.styleClasses=Pt:Je&&(pe.styleClasses=null);for(var Dt=!Ie||Ie.length!=pe.styles.length||Je!=Pt&&(!Je||!Pt||Je.bgClass!=Pt.bgClass||Je.textClass!=Pt.textClass),kn=0;!Dt&&kn$)return Vg(k,k.options.workDelay),!0}),S.highlightFrontier=R.line,S.modeFrontier=Math.max(S.modeFrontier,R.line),X.length&&KA(k,function(){for(var pe=0;pe=$.viewFrom&&S.visible.to<=$.viewTo&&($.updateLineNumbers==null||$.updateLineNumbers>=$.viewTo)&&$.renderedView==$.view&&Mk(k)==0)return!1;$p(k)&&(jA(k),S.dims=h4(k));var X=R.first+R.size,pe=Math.max(S.visible.from-k.options.viewportMargin,R.first),Ie=Math.min(X,S.visible.to+k.options.viewportMargin);$.viewFromIe&&$.viewTo-Ie<20&&(Ie=Math.min(X,$.viewTo)),Mc&&(pe=La(k.doc,pe),Ie=Yc(k.doc,Ie));var Oe=pe!=$.viewFrom||Ie!=$.viewTo||$.lastWrapHeight!=S.wrapperHeight||$.lastWrapWidth!=S.wrapperWidth;ZB(k,pe,Ie),$.viewOffset=Uh(Ei(k.doc,$.viewFrom)),k.display.mover.style.top=$.viewOffset+"px";var Ge=Mk(k);if(!Oe&&Ge==0&&!S.force&&$.renderedView==$.view&&($.updateLineNumbers==null||$.updateLineNumbers>=$.viewTo))return!1;var Je=U9(k);return Ge>4&&($.lineDiv.style.display="none"),H9(k,$.updateLineNumbers,S.dims),Ge>4&&($.lineDiv.style.display=""),$.renderedView=$.view,Qm(Je),ye($.cursorDiv),ye($.selectionDiv),$.gutters.style.height=$.sizer.style.minHeight=0,Oe&&($.lastWrapHeight=S.wrapperHeight,$.lastWrapWidth=S.wrapperWidth,Vg(k,400)),$.updateLineNumbers=null,!0}function Ok(k,S){for(var $=S.viewport,R=!0;;R=!1){if(R&&k.options.lineWrapping&&S.oldDisplayWidth!=Db(k))R&&(S.visible=g4(k.display,k.doc,$));else if($&&$.top!=null&&($={top:Math.min(k.doc.height+cw(k.display)-O6(k),$.top)}),S.visible=g4(k.display,k.doc,$),S.visible.from>=k.display.viewFrom&&S.visible.to<=k.display.viewTo)break;if(!$6(k,S))break;Ay(k);var X=m4(k);dy(k),Nm(k,X),Hb(k,X),S.force=!1}S.signal(k,"update",k),k.display.viewFrom==k.display.reportedViewFrom&&k.display.viewTo==k.display.reportedViewTo||(S.signal(k,"viewportChange",k,k.display.viewFrom,k.display.viewTo),k.display.reportedViewFrom=k.display.viewFrom,k.display.reportedViewTo=k.display.viewTo)}function j6(k,S){var $=new w4(k,S);if($6(k,$)){Ay(k),Ok(k,$);var R=m4(k);dy(k),Nm(k,R),Hb(k,R),$.finish()}}function H9(k,S,$){var R=k.display,X=k.options.lineNumbers,pe=R.lineDiv,Ie=pe.firstChild;function Oe(rr){var Hr=rr.nextSibling;return C&&G&&k.display.currentWheelTarget==rr?rr.style.display="none":rr.parentNode.removeChild(rr),Hr}for(var Ge=R.view,Je=R.viewFrom,Pt=0;Pt-1&&(kn=!1),ly(k,Dt,Je,$)),kn&&(ye(Dt.lineNumber),Dt.lineNumber.appendChild(document.createTextNode(ts(k.options,Je)))),Ie=Dt.node.nextSibling}else{var Nn=Sk(k,Dt,Je,$);pe.insertBefore(Nn,Ie)}Je+=Dt.size}for(;Ie;)Ie=Oe(Ie)}function Nk(k){var S=k.gutters.offsetWidth;k.sizer.style.marginLeft=S+"px"}function Hb(k,S){k.display.sizer.style.minHeight=S.docHeight+"px",k.display.heightForcer.style.top=S.docHeight+"px",k.display.gutters.style.height=S.docHeight+k.display.barHeight+Gg(k)+"px"}function K6(k){var S=k.display,$=S.view;if(S.alignWidgets||S.gutters.firstChild&&k.options.fixedGutter){for(var R=U6(S)-S.scroller.scrollLeft+k.doc.scrollLeft,X=S.gutters.offsetWidth,pe=R+"px",Ie=0;Ie<$.length;Ie++)if(!$[Ie].hidden){k.options.fixedGutter&&($[Ie].gutter&&($[Ie].gutter.style.left=pe),$[Ie].gutterBackground&&($[Ie].gutterBackground.style.left=pe));var Oe=$[Ie].alignable;if(Oe)for(var Ge=0;GeIe.clientWidth,Ge=Ie.scrollHeight>Ie.clientHeight;if(R&&Oe||X&&Ge){if(X&&G&&C){e:for(var Je=S.target,Pt=pe.view;Je!=Ie;Je=Je.parentNode)for(var Dt=0;Dt=0&&Br(k,R.to())<=0)return $}return-1};var $l=function(k,S){this.anchor=k,this.head=S};function Wg(k,S,$){var R=k&&k.options.selectionsMayTouch,X=S[$];S.sort(function(kn,Nn){return Br(kn.from(),Nn.from())}),$=Et(S,X);for(var pe=1;pe0:Ge>=0){var Je=yn(Oe.from(),Ie.from()),Pt=Ph(Oe.to(),Ie.to()),Dt=Oe.empty()?Ie.from()==Ie.head:Oe.from()==Oe.head;pe<=$&&--$,S.splice(--pe,2,new $l(Dt?Pt:Je,Dt?Je:Pt))}}return new S0(S,$)}function jb(k,S){return new S0([new $l(k,S||k)],0)}function Kb(k){return k.text?ar(k.from.line+k.text.length-1,Ke(k.text).length+(k.text.length==1?k.from.ch:0)):k.to}function Af(k,S){if(Br(k,S.from)<0)return k;if(Br(k,S.to)<=0)return Kb(S);var $=k.line+S.text.length-(S.to.line-S.from.line)-1,R=k.ch;return k.line==S.to.line&&(R+=Kb(S).ch-S.to.ch),ar($,R)}function X6(k,S){for(var $=[],R=0;R1&&k.remove(Oe.line+1,rr-1),k.insert(Oe.line+1,ur)}Jc(k,"change",k,S)}function zb(k,S,$){function R(X,pe,Ie){if(X.linked)for(var Oe=0;Oe1&&!k.done[k.done.length-2].ranges?(k.done.pop(),Ke(k.done)):void 0}function Uk(k,S,$,R){var X=k.history;X.undone.length=0;var pe,Ie,Oe=+new Date;if((X.lastOp==R||X.lastOrigin==S.origin&&S.origin&&(S.origin.charAt(0)=="+"&&X.lastModTime>Oe-(k.cm?k.cm.options.historyEventDelay:500)||S.origin.charAt(0)=="*"))&&(pe=f_(X,X.lastOp==R)))Ie=Ke(pe.changes),Br(S.from,S.to)==0&&Br(S.from,Ie.to)==0?Ie.to=Kb(S):pe.changes.push(y4(k,S));else{var Ge=Ke(X.done);for(Ge&&Ge.ranges||q6(k.sel,X.done),pe={changes:[y4(k,S)],generation:X.generation},X.done.push(pe);X.done.length>X.undoDepth;)X.done.shift(),X.done[0].ranges||X.done.shift()}X.done.push($),X.generation=++X.maxGeneration,X.lastModTime=X.lastSelTime=Oe,X.lastOp=X.lastSelOp=R,X.lastOrigin=X.lastSelOrigin=S.origin,Ie||vr(k,"historyAdded")}function W6(k,S,$,R){var X=S.charAt(0);return X=="*"||X=="+"&&$.ranges.length==R.ranges.length&&$.somethingSelected()==R.somethingSelected()&&new Date-k.history.lastSelTime<=(k.cm?k.cm.options.historyEventDelay:500)}function jp(k,S,$,R){var X=k.history,pe=R&&R.origin;$==X.lastSelOp||pe&&X.lastSelOrigin==pe&&(X.lastModTime==X.lastSelTime&&X.lastOrigin==pe||W6(k,pe,Ke(X.done),S))?X.done[X.done.length-1]=S:q6(S,X.done),X.lastSelTime=+new Date,X.lastSelOrigin=pe,X.lastSelOp=$,R&&R.clearRedo!==!1&&to(X.undone)}function q6(k,S){var $=Ke(S);$&&$.ranges&&$.equals(k)||S.push(k)}function x4(k,S,$,R){var X=S["spans_"+k.id],pe=0;k.iter(Math.max(k.first,$),Math.min(k.first+k.size,R),function(Ie){Ie.markedSpans&&((X||(X=S["spans_"+k.id]={}))[pe]=Ie.markedSpans),++pe})}function k4(k){if(!k)return null;for(var S,$=0;$-1&&(Ke(Oe)[Dt]=Je[Dt],delete Je[Dt])}}}return R}function Hk(k,S,$,R){if(R){var X=k.anchor;if($){var pe=Br(S,X)<0;pe!=Br($,X)<0?(X=S,S=$):pe!=Br(S,$)<0&&(S=$)}return new $l(X,S)}return new $l($||S,S)}function Kp(k,S,$,R,X){X==null&&(X=k.cm&&(k.cm.display.shift||k.extend)),rd(k,new S0([Hk(k.sel.primary(),S,$,X)],0),R)}function C4(k,S,$){for(var R=[],X=k.cm&&(k.cm.display.shift||k.extend),pe=0;pe=S.ch:Oe.to>S.ch))){if(X&&(vr(Ge,"beforeCursorEnter"),Ge.explicitlyCleared)){if(pe.markedSpans){--Ie;continue}break}if(!Ge.atomic)continue;if($){var Dt=Ge.find(R<0?1:-1),kn=void 0;if((R<0?Pt:Je)&&(Dt=kw(k,Dt,-R,Dt&&Dt.line==S.line?pe:null)),Dt&&Dt.line==S.line&&(kn=Br(Dt,$))&&(R<0?kn<0:kn>0))return vy(k,Dt,S,R,X)}var Nn=Ge.find(R<0?-1:1);return(R<0?Je:Pt)&&(Nn=kw(k,Nn,R,Nn.line==S.line?pe:null)),Nn?vy(k,Nn,S,R,X):null}}return S}function T4(k,S,$,R,X){var pe=R||1,Ie=vy(k,S,$,pe,X)||!X&&vy(k,S,$,pe,!0)||vy(k,S,$,-pe,X)||!X&&vy(k,S,$,-pe,!0);return Ie||(k.cantEdit=!0,ar(k.first,0))}function kw(k,S,$,R){return $<0&&S.ch==0?S.line>k.first?co(k,ar(S.line-1)):null:$>0&&S.ch==(R||Ei(k,S.line)).text.length?S.line=0;--X)J6(k,{from:R[X].from,to:R[X].to,text:X?[""]:S.text,origin:S.origin});else J6(k,S)}}function J6(k,S){if(S.text.length!=1||S.text[0]!=""||Br(S.from,S.to)!=0){var $=X6(k,S);Uk(k,S,$,k.cm?k.cm.curOp.id:NaN),Pm(k,S,$,ed(k,S));var R=[];zb(k,function(X,pe){pe||Et(R,X.history)!=-1||(Xk(X.history,S),R.push(X.history)),Pm(X,S,null,ed(X,S))})}}function Cw(k,S,$){var R=k.cm&&k.cm.state.suppressEdits;if(!R||$){for(var X,pe=k.history,Ie=k.sel,Oe=S=="undo"?pe.done:pe.undone,Ge=S=="undo"?pe.undone:pe.done,Je=0;Je=0;--Nn){var rr=kn(Nn);if(rr)return rr.v}}}}function zk(k,S){if(S!=0&&(k.first+=S,k.sel=new S0(mn(k.sel.ranges,function(X){return new $l(ar(X.anchor.line+S,X.anchor.ch),ar(X.head.line+S,X.head.ch))}),k.sel.primIndex),k.cm)){nd(k.cm,k.first,k.first-S,S);for(var $=k.cm.display,R=$.viewFrom;R<$.viewTo;R++)Qb(k.cm,R,"gutter")}}function Pm(k,S,$,R){if(k.cm&&!k.cm.curOp)return b1(k.cm,Pm)(k,S,$,R);if(S.to.linek.lastLine())){if(S.from.linepe&&(S={from:S.from,to:ar(pe,Ei(k,pe).text.length),text:[S.text[0]],origin:S.origin}),S.removed=Nh(k,S.from,S.to),$||($=X6(k,S)),k.cm?d_(k.cm,S,R):Rk(k,S,R),Y6(k,$,on),k.cantEdit&&T4(k,ar(k.firstLine(),0))&&(k.cantEdit=!1)}}function d_(k,S,$){var R=k.doc,X=k.display,pe=S.from,Ie=S.to,Oe=!1,Ge=pe.line;k.options.lineWrapping||(Ge=Rs(iA(Ei(R,pe.line))),R.iter(Ge,Ie.line+1,function(Nn){if(Nn==X.maxLine)return Oe=!0,!0})),R.sel.contains(S.from,S.to)>-1&&Mr(k),Rk(R,S,$,L9(k)),k.options.lineWrapping||(R.iter(Ge,pe.line+S.text.length,function(Nn){var rr=Rp(Nn);rr>X.maxLineLength&&(X.maxLine=Nn,X.maxLineLength=rr,X.maxLineChanged=!0,Oe=!1)}),Oe&&(k.curOp.updateMaxLine=!0)),n1(R,pe.line),Vg(k,400);var Je=S.text.length-(Ie.line-pe.line)-1;S.full?nd(k):pe.line!=Ie.line||S.text.length!=1||G6(k.doc,S)?nd(k,pe.line,Ie.line+1,Je):Qb(k,pe.line,"text");var Pt=oa(k,"changes"),Dt=oa(k,"change");if(Dt||Pt){var kn={from:pe,to:Ie,text:S.text,removed:S.removed,origin:S.origin};Dt&&Jc(k,"change",k,kn),Pt&&(k.curOp.changeObjs||(k.curOp.changeObjs=[])).push(kn)}k.display.selForContextMenu=null}function Ew(k,S,$,R,X){var pe;R||(R=$),Br(R,$)<0&&($=(pe=[R,$])[0],R=pe[1]),typeof S=="string"&&(S=k.splitLines(S)),ky(k,{from:$,to:R,text:S,origin:X})}function Z6(k,S,$,R){$1||!(this.children[0]instanceof Ey))){var Oe=[];this.collapse(Oe),this.children=[new Ey(Oe)],this.children[0].parent=this}},collapse:function(k){for(var S=0;S50){for(var Ie=X.lines.length%25+25,Oe=Ie;Oe10);k.parent.maybeSpill()}},iterN:function(k,S,$){for(var R=0;R0||Ie==0&&pe.clearWhenEmpty!==!1)return pe;if(pe.replacedWith&&(pe.collapsed=!0,pe.widgetNode=fe("span",[pe.replacedWith],"CodeMirror-widget"),R.handleMouseEvents||pe.widgetNode.setAttribute("cm-ignore-events","true"),R.insertLeft&&(pe.widgetNode.insertLeft=!0)),pe.collapsed){if(Rh(k,S.line,S,$,pe)||S.line!=$.line&&Rh(k,$.line,S,$,pe))throw new Error("Inserting collapsed marker partially overlapping an existing one");Fm()}pe.addToHistory&&Uk(k,{from:S,to:$,origin:"markText"},k.sel,NaN);var Oe,Ge=S.line,Je=k.cm;if(k.iter(Ge,$.line+1,function(Dt){Je&&pe.collapsed&&!Je.options.lineWrapping&&iA(Dt)==Je.display.maxLine&&(Oe=!0),pe.collapsed&&Ge!=S.line&&Qh(Dt,0),r1(Dt,new ff(pe,Ge==S.line?S.ch:null,Ge==$.line?$.ch:null)),++Ge}),pe.collapsed&&k.iter(S.line,$.line+1,function(Dt){Hl(k,Dt)&&Qh(Dt,0)}),pe.clearOnEnter&&mi(pe,"beforeCursorEnter",function(){return pe.clear()}),pe.readOnly&&(nc(),(k.history.done.length||k.history.undone.length)&&k.clearHistory()),pe.collapsed&&(pe.id=++Z9,pe.atomic=!0),Je){if(Oe&&(Je.curOp.updateMaxLine=!0),pe.collapsed)nd(Je,S.line,$.line+1);else if(pe.className||pe.startStyle||pe.endStyle||pe.css||pe.attributes||pe.title)for(var Pt=S.line;Pt<=$.line;Pt++)Qb(Je,Pt,"text");pe.atomic&&q9(Je.doc),Jc(Je,"markerAdded",Je,pe)}return pe}w1.prototype.clear=function(){if(!this.explicitlyCleared){var k=this.doc.cm,S=k&&!k.curOp;if(S&&xw(k),oa(this,"clear")){var $=this.find();$&&Jc(this,"clear",$.from,$.to)}for(var R=null,X=null,pe=0;pek.display.maxLineLength&&(k.display.maxLine=Je,k.display.maxLineLength=Pt,k.display.maxLineChanged=!0)}R!=null&&k&&this.collapsed&&nd(k,R,X+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,k&&q9(k.doc)),k&&Jc(k,"markerCleared",k,this,R,X),S&&Ub(k),this.parent&&this.parent.clear()}},w1.prototype.find=function(k,S){var $,R;k==null&&this.type=="bookmark"&&(k=1);for(var X=0;X=0;Ge--)ky(this,R[Ge]);Oe?W9(this,Oe):this.cm&&py(this.cm)}),undo:df(function(){Cw(this,"undo")}),redo:df(function(){Cw(this,"redo")}),undoSelection:df(function(){Cw(this,"undo",!0)}),redoSelection:df(function(){Cw(this,"redo",!0)}),setExtending:function(k){this.extend=k},getExtending:function(){return this.extend},historySize:function(){for(var k=this.history,S=0,$=0,R=0;R=k.ch)&&S.push(X.marker.parent||X.marker)}return S},findMarks:function(k,S,$){k=co(this,k),S=co(this,S);var R=[],X=k.line;return this.iter(k.line,S.line+1,function(pe){var Ie=pe.markedSpans;if(Ie)for(var Oe=0;Oe=Ge.to||Ge.from==null&&X!=k.line||Ge.from!=null&&X==S.line&&Ge.from>=S.ch||$&&!$(Ge.marker)||R.push(Ge.marker.parent||Ge.marker)}++X}),R},getAllMarks:function(){var k=[];return this.iter(function(S){var $=S.markedSpans;if($)for(var R=0;R<$.length;++R)$[R].from!=null&&k.push($[R].marker)}),k},posFromIndex:function(k){var S,$=this.first,R=this.lineSeparator().length;return this.iter(function(X){var pe=X.text.length+R;if(pe>k)return S=k,!0;k-=pe,++$}),co(this,ar($,S))},indexFromPos:function(k){var S=(k=co(this,k)).ch;if(k.lineS&&(S=k.from),k.to!=null&&k.to<$&&($=k.to);var R=new oA(iu(this,S,$),k.mode||this.modeOption,S,this.lineSep,this.direction);return k.sharedHist&&(R.history=this.history),(this.linked||(this.linked=[])).push({doc:R,sharedHist:k.sharedHist}),R.linked=[{doc:this,isParent:!0,sharedHist:k.sharedHist}],g_(R,eE(this)),R},unlinkDoc:function(k){if(k instanceof vh&&(k=k.doc),this.linked){for(var S=0;S-1)return S.state.draggingText(k),void setTimeout(function(){return S.display.input.focus()},20);try{var Pt=k.dataTransfer.getData("Text");if(Pt){var Dt;if(S.state.draggingText&&!S.state.draggingText.copy&&(Dt=S.listSelections()),Y6(S.doc,jb($,$)),Dt)for(var kn=0;kn=0;Oe--)Ew(k.doc,"",R[Oe].from,R[Oe].to,"+delete");py(k)})}function L4(k,S,$){var R=Hn(k.text,S+$,$);return R<0||R>k.text.length?null:R}function Sy(k,S,$){var R=L4(k,S.ch,$);return R==null?null:new ar(S.line,R,$<0?"after":"before")}function Wk(k,S,$,R,X){if(k){S.doc.direction=="rtl"&&(X=-X);var pe=ro($,S.doc.direction);if(pe){var Ie,Oe=X<0?Ke(pe):pe[0],Ge=X<0==(Oe.level==1)?"after":"before";if(Oe.level>0||S.doc.direction=="rtl"){var Je=HA(S,$);Ie=X<0?$.text.length-1:0;var Pt=td(S,Je,Ie).top;Ie=$t(function(Dt){return td(S,Je,Dt).top==Pt},X<0==(Oe.level==1)?Oe.from:Oe.to-1,Ie),Ge=="before"&&(Ie=L4($,Ie,1))}else Ie=X<0?Oe.to:Oe.from;return new ar(R,Ie,Ge)}}return new ar(R,X<0?$.text.length:0,X<0?"before":"after")}function x_(k,S,$,R){var X=ro(S,k.doc.direction);if(!X)return Sy(S,$,R);$.ch>=S.text.length?($.ch=S.text.length,$.sticky="before"):$.ch<=0&&($.ch=0,$.sticky="after");var pe=ti(X,$.ch,$.sticky),Ie=X[pe];if(k.doc.direction=="ltr"&&Ie.level%2==0&&(R>0?Ie.to>$.ch:Ie.from<$.ch))return Sy(S,$,R);var Oe,Ge=function(ur,Fa){return L4(S,ur instanceof ar?ur.ch:ur,Fa)},Je=function(ur){return k.options.lineWrapping?(Oe=Oe||HA(k,S),uw(k,S,Oe,ur)):{begin:0,end:S.text.length}},Pt=Je($.sticky=="before"?Ge($,-1):$.ch);if(k.doc.direction=="rtl"||Ie.level==1){var Dt=Ie.level==1==R<0,kn=Ge($,Dt?1:-1);if(kn!=null&&(Dt?kn<=Ie.to&&kn<=Pt.end:kn>=Ie.from&&kn>=Pt.begin)){var Nn=Dt?"before":"after";return new ar($.line,kn,Nn)}}var rr=function(ur,Fa,ji){for(var Na=function(Tl,P1){return P1?new ar($.line,Ge(Tl,1),"before"):new ar($.line,Tl,"after")};ur>=0&&ur0==(so.level!=1),El=Aa?ji.begin:Ge(ji.end,-1);if(so.from<=El&&El0?Pt.end:Ge(Pt.begin,-1);return fi==null||R>0&&fi==S.text.length||!(Hr=rr(R>0?0:X.length-1,R,Je(fi)))?null:Hr}Rm.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Rm.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Rm.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Rm.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Rm.default=G?Rm.macDefault:Rm.pcDefault;var Ly={selectAll:yy,singleSelection:function(k){return k.setSelection(k.getCursor("anchor"),k.getCursor("head"),on)},killLine:function(k){return Vb(k,function(S){if(S.empty()){var $=Ei(k.doc,S.head.line).text.length;return S.head.ch==$&&S.head.line0)X=new ar(X.line,X.ch+1),k.replaceRange(pe.charAt(X.ch-1)+pe.charAt(X.ch-2),ar(X.line,X.ch-2),X,"+transpose");else if(X.line>k.doc.first){var Ie=Ei(k.doc,X.line-1).text;Ie&&(X=new ar(X.line,1),k.replaceRange(pe.charAt(0)+k.doc.lineSeparator()+Ie.charAt(Ie.length-1),ar(X.line-1,Ie.length-1),X,"+transpose"))}}$.push(new $l(X,X))}k.setSelections($)})},newlineAndIndent:function(k){return KA(k,function(){for(var S=k.listSelections(),$=S.length-1;$>=0;$--)k.replaceRange(k.doc.lineSeparator(),S[$].anchor,S[$].head,"+input");S=k.listSelections();for(var R=0;R-1&&(Br((X=Ie.ranges[X]).from(),S)<0||S.xRel>0)&&(Br(X.to(),S)>0||S.xRel<0)?Zk(k,R,S,pe):fE(k,R,S,pe)}function Zk(k,S,$,R){var X=k.display,pe=!1,Ie=b1(k,function(Je){C&&(X.scroller.draggable=!1),k.state.draggingText=!1,lr(X.wrapper.ownerDocument,"mouseup",Ie),lr(X.wrapper.ownerDocument,"mousemove",Oe),lr(X.scroller,"dragstart",Ge),lr(X.scroller,"drop",Ie),pe||(Xo(Je),R.addNew||Kp(k.doc,$,null,null,R.extend),C&&!P||w&&x==9?setTimeout(function(){X.wrapper.ownerDocument.body.focus({preventScroll:!0}),X.input.focus()},20):X.input.focus())}),Oe=function(Je){pe=pe||Math.abs(S.clientX-Je.clientX)+Math.abs(S.clientY-Je.clientY)>=10},Ge=function(){return pe=!0};C&&(X.scroller.draggable=!0),k.state.draggingText=Ie,Ie.copy=!R.moveOnDrag,X.scroller.dragDrop&&X.scroller.dragDrop(),mi(X.wrapper.ownerDocument,"mouseup",Ie),mi(X.wrapper.ownerDocument,"mousemove",Oe),mi(X.scroller,"dragstart",Ge),mi(X.scroller,"drop",Ie),M9(k),setTimeout(function(){return X.input.focus()},20)}function e7(k,S,$){if($=="char")return new $l(S,S);if($=="word")return k.findWordAt(S);if($=="line")return new $l(ar(S.line,0),co(k.doc,ar(S.line+1,0)));var R=$(k,S);return new $l(R.from,R.to)}function fE(k,S,$,R){var X=k.display,pe=k.doc;Xo(S);var Ie,Oe,Ge=pe.sel,Je=Ge.ranges;if(R.addNew&&!R.extend?(Oe=pe.sel.contains($),Ie=Oe>-1?Je[Oe]:new $l($,$)):(Ie=pe.sel.primary(),Oe=pe.sel.primIndex),R.unit=="rectangle")R.addNew||(Ie=new $l($,$)),$=Aw(k,S,!0,!0),Oe=-1;else{var Pt=e7(k,$,R.unit);Ie=R.extend?Hk(Ie,Pt.anchor,Pt.head,R.extend):Pt}R.addNew?Oe==-1?(Oe=Je.length,rd(pe,Wg(k,Je.concat([Ie]),Oe),{scroll:!1,origin:"*mouse"})):Je.length>1&&Je[Oe].empty()&&R.unit=="char"&&!R.extend?(rd(pe,Wg(k,Je.slice(0,Oe).concat(Je.slice(Oe+1)),0),{scroll:!1,origin:"*mouse"}),Ge=pe.sel):E4(pe,Oe,Ie,Kt):(Oe=0,rd(pe,new S0([Ie],0),Kt),Ge=pe.sel);var Dt=$;function kn(ji){if(Br(Dt,ji)!=0)if(Dt=ji,R.unit=="rectangle"){for(var Na=[],so=k.options.tabSize,Aa=ht(Ei(pe,$.line).text,$.ch,so),El=ht(Ei(pe,ji.line).text,ji.ch,so),Tl=Math.min(Aa,El),P1=Math.max(Aa,El),th=Math.min($.line,ji.line),y1=Math.min(k.lastLine(),Math.max($.line,ji.line));th<=y1;th++){var R1=Ei(pe,th).text,Jh=Vt(R1,Tl,so);Tl==P1?Na.push(new $l(ar(th,Jh),ar(th,Jh))):R1.length>Jh&&Na.push(new $l(ar(th,Jh),ar(th,Vt(R1,P1,so))))}Na.length||Na.push(new $l($,$)),rd(pe,Wg(k,Ge.ranges.slice(0,Oe).concat(Na),Oe),{origin:"*mouse",scroll:!1}),k.scrollIntoView(ji)}else{var id,Dd=Ie,Xu=e7(k,ji,R.unit),Hh=Dd.anchor;Br(Xu.anchor,Hh)>0?(id=Xu.head,Hh=yn(Dd.from(),Xu.anchor)):(id=Xu.anchor,Hh=Ph(Dd.to(),Xu.head));var gf=Ge.ranges.slice(0);gf[Oe]=t7(k,new $l(co(pe,Hh),id)),rd(pe,Wg(k,gf,Oe),Kt)}}var Nn=X.wrapper.getBoundingClientRect(),rr=0;function Hr(ji){var Na=++rr,so=Aw(k,ji,!0,R.unit=="rectangle");if(so)if(Br(so,Dt)!=0){k.curOp.focus=$e(),kn(so);var Aa=g4(X,pe);(so.line>=Aa.to||so.lineNn.bottom?20:0;El&&setTimeout(b1(k,function(){rr==Na&&(X.scroller.scrollTop+=El,Hr(ji))}),50)}}function fi(ji){k.state.selectingText=!1,rr=1/0,ji&&(Xo(ji),X.input.focus()),lr(X.wrapper.ownerDocument,"mousemove",ur),lr(X.wrapper.ownerDocument,"mouseup",Fa),pe.history.lastSelOrigin=null}var ur=b1(k,function(ji){ji.buttons!==0&&Ba(ji)?Hr(ji):fi(ji)}),Fa=b1(k,fi);k.state.selectingText=Fa,mi(X.wrapper.ownerDocument,"mousemove",ur),mi(X.wrapper.ownerDocument,"mouseup",Fa)}function t7(k,S){var $=S.anchor,R=S.head,X=Ei(k.doc,$.line);if(Br($,R)==0&&$.sticky==R.sticky)return S;var pe=ro(X);if(!pe)return S;var Ie=ti(pe,$.ch,$.sticky),Oe=pe[Ie];if(Oe.from!=$.ch&&Oe.to!=$.ch)return S;var Ge,Je=Ie+(Oe.from==$.ch==(Oe.level!=1)?0:1);if(Je==0||Je==pe.length)return S;if(R.line!=$.line)Ge=(R.line-$.line)*(k.doc.direction=="ltr"?1:-1)>0;else{var Pt=ti(pe,R.ch,R.sticky),Dt=Pt-Ie||(R.ch-$.ch)*(Oe.level==1?-1:1);Ge=Pt==Je-1||Pt==Je?Dt<0:Dt>0}var kn=pe[Je+(Ge?-1:0)],Nn=Ge==(kn.level==1),rr=Nn?kn.from:kn.to,Hr=Nn?"after":"before";return $.ch==rr&&$.sticky==Hr?S:new $l(new ar($.line,rr,Hr),R)}function n7(k,S,$,R){var X,pe;if(S.touches)X=S.touches[0].clientX,pe=S.touches[0].clientY;else try{X=S.clientX,pe=S.clientY}catch{return!1}if(X>=Math.floor(k.display.gutters.getBoundingClientRect().right))return!1;R&&Xo(S);var Ie=k.display,Oe=Ie.lineDiv.getBoundingClientRect();if(pe>Oe.bottom||!oa(k,$))return Ya(S);pe-=Oe.top-Ie.viewOffset;for(var Ge=0;Ge=X)return vr(k,$,k,ju(k.doc,pe),k.display.gutterSpecs[Ge].className,S),Ya(S)}}function lx(k,S){return n7(k,S,"gutterClick",!0)}function dE(k,S){ag(k.display,S)||Cl(k,S)||Zr(k,S,"contextmenu")||le||k.display.input.onContextMenu(S)}function Cl(k,S){return!!oa(k,"gutterContextMenu")&&n7(k,S,"gutterContextMenu",!1)}function I4(k){k.display.wrapper.className=k.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+k.options.theme.replace(/(^|\s)\s*/g," cm-s-"),$A(k)}Fy.prototype.compare=function(k,S,$){return this.time+Jk>k&&Br(S,this.pos)==0&&$==this.button};var Gp={toString:function(){return"CodeMirror.Init"}},al={},au={};function oo(k){var S=k.optionHandlers;function $(R,X,pe,Ie){k.defaults[R]=X,pe&&(S[R]=Ie?function(Oe,Ge,Je){Je!=Gp&&pe(Oe,Ge,Je)}:pe)}k.defineOption=$,k.Init=Gp,$("value","",function(R,X){return R.setValue(X)},!0),$("mode",null,function(R,X){R.doc.modeOption=X,Pk(R)},!0),$("indentUnit",2,Pk,!0),$("indentWithTabs",!1),$("smartIndent",!0),$("tabSize",4,function(R){v4(R),$A(R),nd(R)},!0),$("lineSeparator",null,function(R,X){if(R.doc.lineSep=X,X){var pe=[],Ie=R.doc.first;R.doc.iter(function(Ge){for(var Je=0;;){var Pt=Ge.text.indexOf(X,Je);if(Pt==-1)break;Je=Pt+X.length,pe.push(ar(Ie,Pt))}Ie++});for(var Oe=pe.length-1;Oe>=0;Oe--)Ew(R.doc,X,pe[Oe],ar(pe[Oe].line,pe[Oe].ch+X.length))}}),$("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(R,X,pe){R.state.specialChars=new RegExp(X.source+(X.test(" ")?"":"| "),"g"),pe!=Gp&&R.refresh()}),$("specialCharPlaceholder",v9,function(R){return R.refresh()},!0),$("electricChars",!0),$("inputStyle",oe?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),$("spellcheck",!1,function(R,X){return R.getInputField().spellcheck=X},!0),$("autocorrect",!1,function(R,X){return R.getInputField().autocorrect=X},!0),$("autocapitalize",!1,function(R,X){return R.getInputField().autocapitalize=X},!0),$("rtlMoveVisually",!ne),$("wholeLineUpdateBefore",!0),$("theme","default",function(R){I4(R),$b(R)},!0),$("keyMap","default",function(R,X,pe){var Ie=S4(X),Oe=pe!=Gp&&S4(pe);Oe&&Oe.detach&&Oe.detach(R,Ie),Ie.attach&&Ie.attach(R,Oe||null)}),$("extraKeys",null),$("configureMouse",null),$("lineWrapping",!1,C_,!0),$("gutters",[],function(R,X){R.display.gutterSpecs=Qk(X,R.options.lineNumbers),$b(R)},!0),$("fixedGutter",!0,function(R,X){R.display.gutters.style.left=X?U6(R.display)+"px":"0",R.refresh()},!0),$("coverGutterNextToScrollbar",!1,function(R){return Nm(R)},!0),$("scrollbarStyle","native",function(R){yw(R),Nm(R),R.display.scrollbars.setScrollTop(R.doc.scrollTop),R.display.scrollbars.setScrollLeft(R.doc.scrollLeft)},!0),$("lineNumbers",!1,function(R,X){R.display.gutterSpecs=Qk(R.options.gutters,X),$b(R)},!0),$("firstLineNumber",1,$b,!0),$("lineNumberFormatter",function(R){return R},$b,!0),$("showCursorWhenSelecting",!1,dy,!0),$("resetSelectionOnContextMenu",!0),$("lineWiseCopyCut",!0),$("pasteLinesPerSelection",!0),$("selectionsMayTouch",!1),$("readOnly",!1,function(R,X){X=="nocursor"&&(Om(R),R.display.input.blur()),R.display.input.readOnlyChanged(X)}),$("screenReaderLabel",null,function(R,X){X=X===""?null:X,R.display.input.screenReaderLabelChanged(X)}),$("disableInput",!1,function(R,X){X||R.display.input.reset()},!0),$("dragDrop",!0,ux),$("allowDropFileTypes",null),$("cursorBlinkRate",530),$("cursorScrollMargin",0),$("cursorHeight",1,dy,!0),$("singleCursorHeightPerLine",!0,dy,!0),$("workTime",100),$("workDelay",100),$("flattenSpans",!0,v4,!0),$("addModeClass",!1,v4,!0),$("pollInterval",100),$("undoDepth",200,function(R,X){return R.doc.history.undoDepth=X}),$("historyEventDelay",1250),$("viewportMargin",10,function(R){return R.refresh()},!0),$("maxHighlightLength",1e4,v4,!0),$("moveInputWithCursor",!0,function(R,X){X||R.display.input.resetPosition()}),$("tabindex",null,function(R,X){return R.display.input.getField().tabIndex=X||""}),$("autofocus",null),$("direction","ltr",function(R,X){return R.doc.setDirection(X)},!0),$("phrases",null)}function ux(k,S,$){if(!S!=!($&&$!=Gp)){var R=k.display.dragFunctions,X=S?mi:lr;X(k.display.scroller,"dragstart",R.start),X(k.display.scroller,"dragenter",R.enter),X(k.display.scroller,"dragover",R.over),X(k.display.scroller,"dragleave",R.leave),X(k.display.scroller,"drop",R.drop)}}function C_(k){k.options.lineWrapping?(Ye(k.display.wrapper,"CodeMirror-wrap"),k.display.sizer.style.minWidth="",k.display.sizerWidth=null):(ee(k.display.wrapper,"CodeMirror-wrap"),T0(k)),dw(k),nd(k),$A(k),setTimeout(function(){return Nm(k)},100)}function vh(k,S){var $=this;if(!(this instanceof vh))return new vh(k,S);this.options=S=S?Le(S):{},Le(al,S,!1);var R=S.value;typeof R=="string"?R=new oA(R,S.mode,null,S.lineSeparator,S.direction):S.mode&&(R.modeOption=S.mode),this.doc=R;var X=new vh.inputStyles[S.inputStyle](this),pe=this.display=new c_(k,R,X,S);for(var Ie in pe.wrapper.CodeMirror=this,I4(this),S.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),yw(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Rt,keySeq:null,specialChars:null},S.autofocus&&!oe&&pe.input.focus(),w&&x<11&&setTimeout(function(){return $.display.input.reset(!0)},20),Dy(this),zp(),xw(this),this.curOp.forceUpdate=!0,X9(this,R),S.autofocus&&!oe||this.hasFocus()?setTimeout(function(){$.hasFocus()&&!$.state.focused&&A4($)},20):Om(this),au)au.hasOwnProperty(Ie)&&au[Ie](this,S[Ie],Gp);$p(this),S.finishInit&&S.finishInit(this);for(var Oe=0;Oe400}mi(S.scroller,"touchstart",function(Ge){if(!Zr(k,Ge)&&!pe(Ge)&&!lx(k,Ge)){S.input.ensurePolled(),clearTimeout($);var Je=+new Date;S.activeTouch={start:Je,moved:!1,prev:Je-R.end<=300?R:null},Ge.touches.length==1&&(S.activeTouch.left=Ge.touches[0].pageX,S.activeTouch.top=Ge.touches[0].pageY)}}),mi(S.scroller,"touchmove",function(){S.activeTouch&&(S.activeTouch.moved=!0)}),mi(S.scroller,"touchend",function(Ge){var Je=S.activeTouch;if(Je&&!ag(S,Ge)&&Je.left!=null&&!Je.moved&&new Date-Je.start<300){var Pt,Dt=k.coordsChar(S.activeTouch,"page");Pt=!Je.prev||Ie(Je,Je.prev)?new $l(Dt,Dt):!Je.prev.prev||Ie(Je,Je.prev.prev)?k.findWordAt(Dt):new $l(ar(Dt.line,0),co(k.doc,ar(Dt.line+1,0))),k.setSelection(Pt.anchor,Pt.head),k.focus(),Xo(Ge)}X()}),mi(S.scroller,"touchcancel",X),mi(S.scroller,"scroll",function(){S.scroller.clientHeight&&(my(k,S.scroller.scrollTop),ww(k,S.scroller.scrollLeft,!0),vr(k,"scroll",k))}),mi(S.scroller,"mousewheel",function(Ge){return K9(k,Ge)}),mi(S.scroller,"DOMMouseScroll",function(Ge){return K9(k,Ge)}),mi(S.wrapper,"scroll",function(){return S.wrapper.scrollTop=S.wrapper.scrollLeft=0}),S.dragFunctions={enter:function(Ge){Zr(k,Ge)||So(Ge)},over:function(Ge){Zr(k,Ge)||(b_(k,Ge),So(Ge))},start:function(Ge){return nE(k,Ge)},drop:b1(k,m_),leave:function(Ge){Zr(k,Ge)||nx(k)}};var Oe=S.input.getField();mi(Oe,"keyup",function(Ge){return sE.call(k,Ge)}),mi(Oe,"keydown",b1(k,aE)),mi(Oe,"keypress",b1(k,cE)),mi(Oe,"focus",function(Ge){return A4(k,Ge)}),mi(Oe,"blur",function(Ge){return Om(k,Ge)})}vh.defaults=al,vh.optionHandlers=au;var Um=[];function jl(k,S,$,R){var X,pe=k.doc;$==null&&($="add"),$=="smart"&&(pe.mode.indent?X=sa(k,S).state:$="prev");var Ie=k.options.tabSize,Oe=Ei(pe,S),Ge=ht(Oe.text,null,Ie);Oe.stateAfter&&(Oe.stateAfter=null);var Je,Pt=Oe.text.match(/^\s*/)[0];if(R||/\S/.test(Oe.text)){if($=="smart"&&((Je=pe.mode.indent(X,Oe.text.slice(Pt.length),Oe.text))==xt||Je>150)){if(!R)return;$="prev"}}else Je=0,$="not";$=="prev"?Je=S>pe.first?ht(Ei(pe,S-1).text,null,Ie):0:$=="add"?Je=Ge+k.options.indentUnit:$=="subtract"?Je=Ge-k.options.indentUnit:typeof $=="number"&&(Je=Ge+$),Je=Math.max(0,Je);var Dt="",kn=0;if(k.options.indentWithTabs)for(var Nn=Math.floor(Je/Ie);Nn;--Nn)kn+=Ie,Dt+=" ";if(knIe,Ge=qh(S),Je=null;if(Oe&&R.ranges.length>1)if(v1&&v1.text.join(`
+ left: `+S.left+"px; width: "+Math.max(2,S.right-S.left)+"px;");k.display.lineSpace.appendChild(pe),pe.scrollIntoView(X),k.display.lineSpace.removeChild(pe)}}}function e_(k,S,$,R){var X;R==null&&(R=0),k.options.lineWrapping||S!=$||($=(S=S.ch?ar(S.line,S.sticky=="before"?S.ch-1:S.ch,"after"):S).sticky=="before"?ar(S.line,S.ch+1,"before"):S);for(var pe=0;pe<5;pe++){var Me=!1,Oe=Qf(k,S),Ge=$&&$!=S?Qf(k,$):Oe,Je=pw(k,X={left:Math.min(Oe.left,Ge.left),top:Math.min(Oe.top,Ge.top)-R,right:Math.max(Oe.left,Ge.left),bottom:Math.max(Oe.bottom,Ge.bottom)+R}),Pt=k.doc.scrollTop,Dt=k.doc.scrollLeft;if(Je.scrollTop!=null&&(py(k,Je.scrollTop),Math.abs(k.doc.scrollTop-Pt)>1&&(Me=!0)),Je.scrollLeft!=null&&(bw(k,Je.scrollLeft),Math.abs(k.doc.scrollLeft-Dt)>1&&(Me=!0)),!Me)break}return X}function t_(k,S){var $=pw(k,S);$.scrollTop!=null&&py(k,$.scrollTop),$.scrollLeft!=null&&bw(k,$.scrollLeft)}function pw(k,S){var $=k.display,R=uw(k.display);S.top<0&&(S.top=0);var X=k.curOp&&k.curOp.scrollTop!=null?k.curOp.scrollTop:$.scroller.scrollTop,pe=D6(k),Me={};S.bottom-S.top>pe&&(S.bottom=S.top+pe);var Oe=k.doc.height+sw($),Ge=S.topOe-R;if(S.topX+pe){var Pt=Math.min(S.top,(Je?Oe:S.bottom)-pe);Pt!=X&&(Me.scrollTop=Pt)}var Dt=k.options.fixedGutter?0:$.gutters.offsetWidth,kn=k.curOp&&k.curOp.scrollLeft!=null?k.curOp.scrollLeft:$.scroller.scrollLeft-Dt,Nn=Fb(k)-$.gutters.offsetWidth,rr=S.right-S.left>Nn;return rr&&(S.right=S.left+Nn),S.left<10?Me.scrollLeft=0:S.leftNn+kn-3&&(Me.scrollLeft=S.right+(rr?0:10)-Nn),Me}function U6(k,S){S!=null&&(mw(k),k.curOp.scrollTop=(k.curOp.scrollTop==null?k.doc.scrollTop:k.curOp.scrollTop)+S)}function gy(k){mw(k);var S=k.getCursor();k.curOp.scrollToPos={from:S,to:S,margin:k.options.cursorScrollMargin}}function g4(k,S,$){S==null&&$==null||mw(k),S!=null&&(k.curOp.scrollLeft=S),$!=null&&(k.curOp.scrollTop=$)}function n_(k,S){mw(k),k.curOp.scrollToPos=S}function mw(k){var S=k.curOp.scrollToPos;S&&(k.curOp.scrollToPos=null,I9(k,L7(k,S.from),L7(k,S.to),S.margin))}function I9(k,S,$,R){var X=pw(k,{left:Math.min(S.left,$.left),top:Math.min(S.top,$.top)-R,right:Math.max(S.right,$.right),bottom:Math.max(S.bottom,$.bottom)+R});g4(k,X.scrollLeft,X.scrollTop)}function py(k,S){Math.abs(k.doc.scrollTop-S)<2||(h||$6(k,{top:S}),F9(k,S,!0),h&&$6(k),Vg(k,100))}function F9(k,S,$){S=Math.max(0,Math.min(k.display.scroller.scrollHeight-k.display.scroller.clientHeight,S)),(k.display.scroller.scrollTop!=S||$)&&(k.doc.scrollTop=S,k.display.scrollbars.setScrollTop(S),k.display.scroller.scrollTop!=S&&(k.display.scroller.scrollTop=S))}function bw(k,S,$,R){S=Math.max(0,Math.min(S,k.display.scroller.scrollWidth-k.display.scroller.clientWidth)),($?S==k.doc.scrollLeft:Math.abs(k.doc.scrollLeft-S)<2)&&!R||(k.doc.scrollLeft=S,j6(k),k.display.scroller.scrollLeft!=S&&(k.display.scroller.scrollLeft=S),k.display.scrollbars.setScrollLeft(S))}function p4(k){var S=k.display,$=S.gutters.offsetWidth,R=Math.round(k.doc.height+sw(k.display));return{clientHeight:S.scroller.clientHeight,viewHeight:S.wrapper.clientHeight,scrollWidth:S.scroller.scrollWidth,clientWidth:S.scroller.clientWidth,viewWidth:S.wrapper.clientWidth,barLeft:k.options.fixedGutter?$:0,docHeight:R,scrollHeight:R+Gg(k)+S.barHeight,nativeBarWidth:S.nativeBarWidth,gutterWidth:$}}var ww=function(k,S,$){this.cm=$;var R=this.vert=Ee("div",[Ee("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),X=this.horiz=Ee("div",[Ee("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");R.tabIndex=X.tabIndex=-1,k(R),k(X),mi(R,"scroll",function(){R.clientHeight&&S(R.scrollTop,"vertical")}),mi(X,"scroll",function(){X.clientWidth&&S(X.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,w&&x<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ww.prototype.update=function(k){var S=k.scrollWidth>k.clientWidth+1,$=k.scrollHeight>k.clientHeight+1,R=k.nativeBarWidth;if($){this.vert.style.display="block",this.vert.style.bottom=S?R+"px":"0";var X=k.viewHeight-(S?R:0);this.vert.firstChild.style.height=Math.max(0,k.scrollHeight-k.clientHeight+X)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(S){this.horiz.style.display="block",this.horiz.style.right=$?R+"px":"0",this.horiz.style.left=k.barLeft+"px";var pe=k.viewWidth-k.barLeft-($?R:0);this.horiz.firstChild.style.width=Math.max(0,k.scrollWidth-k.clientWidth+pe)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&k.clientHeight>0&&(R==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:$?R:0,bottom:S?R:0}},ww.prototype.setScrollLeft=function(k){this.horiz.scrollLeft!=k&&(this.horiz.scrollLeft=k),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ww.prototype.setScrollTop=function(k){this.vert.scrollTop!=k&&(this.vert.scrollTop=k),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},ww.prototype.zeroWidthHack=function(){var k=G&&!z?"12px":"18px";this.horiz.style.height=this.vert.style.width=k,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Rt,this.disableVert=new Rt},ww.prototype.enableZeroWidthBar=function(k,S,$){function R(){var X=k.getBoundingClientRect();($=="vert"?document.elementFromPoint(X.right-1,(X.top+X.bottom)/2):document.elementFromPoint((X.right+X.left)/2,X.bottom-1))!=k?k.style.pointerEvents="none":S.set(1e3,R)}k.style.pointerEvents="auto",S.set(1e3,R)},ww.prototype.clear=function(){var k=this.horiz.parentNode;k.removeChild(this.horiz),k.removeChild(this.vert)};var my=function(){};function Om(k,S){S||(S=p4(k));var $=k.display.barWidth,R=k.display.barHeight;D9(k,S);for(var X=0;X<4&&$!=k.display.barWidth||R!=k.display.barHeight;X++)$!=k.display.barWidth&&k.options.lineWrapping&&dy(k),D9(k,p4(k)),$=k.display.barWidth,R=k.display.barHeight}function D9(k,S){var $=k.display,R=$.scrollbars.update(S);$.sizer.style.paddingRight=($.barWidth=R.right)+"px",$.sizer.style.paddingBottom=($.barHeight=R.bottom)+"px",$.heightForcer.style.borderBottom=R.bottom+"px solid transparent",R.right&&R.bottom?($.scrollbarFiller.style.display="block",$.scrollbarFiller.style.height=R.bottom+"px",$.scrollbarFiller.style.width=R.right+"px"):$.scrollbarFiller.style.display="",R.bottom&&k.options.coverGutterNextToScrollbar&&k.options.fixedGutter?($.gutterFiller.style.display="block",$.gutterFiller.style.height=R.bottom+"px",$.gutterFiller.style.width=S.gutterWidth+"px"):$.gutterFiller.style.display=""}my.prototype.update=function(){return{bottom:0,right:0}},my.prototype.setScrollLeft=function(){},my.prototype.setScrollTop=function(){},my.prototype.clear=function(){};var O9={native:ww,null:my};function vw(k){k.display.scrollbars&&(k.display.scrollbars.clear(),k.display.scrollbars.addClass&&ee(k.display.wrapper,k.display.scrollbars.addClass)),k.display.scrollbars=new O9[k.options.scrollbarStyle](function(S){k.display.wrapper.insertBefore(S,k.display.scrollbarFiller),mi(S,"mousedown",function(){k.state.focused&&setTimeout(function(){return k.display.input.focus()},0)}),S.setAttribute("cm-not-content","true")},function(S,$){$=="horizontal"?bw(k,S):py(k,S)},k),k.display.scrollbars.addClass&&Ye(k.display.wrapper,k.display.scrollbars.addClass)}var r_=0;function yw(k){k.curOp={cm:k,viewChanged:!1,startHeight:k.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++r_},x9(k.curOp)}function Rb(k){var S=k.curOp;S&&nw(S,function($){for(var R=0;R<$.ops.length;R++)$.ops[R].cm.curOp=null;i_($)})}function i_(k){for(var S=k.ops,$=0;$=$.viewTo)||$.maxLineChanged&&S.options.lineWrapping,k.update=k.mustUpdate&&new b4(S,k.mustUpdate&&{top:k.scrollTop,ensure:k.scrollToPos},k.forceUpdate)}function F7(k){k.updatedDisplay=k.mustUpdate&&H6(k.cm,k.update)}function m4(k){var S=k.cm,$=S.display;k.updatedDisplay&&dy(S),k.barMeasure=p4(S),$.maxLineChanged&&!S.options.lineWrapping&&(k.adjustWidthTo=S7(S,$.maxLine,$.maxLine.text.length).left+3,S.display.sizerWidth=k.adjustWidthTo,k.barMeasure.scrollWidth=Math.max($.scroller.clientWidth,$.sizer.offsetLeft+k.adjustWidthTo+Gg(S)+S.display.barWidth),k.maxScrollLeft=Math.max(0,$.sizer.offsetLeft+k.adjustWidthTo-Fb(S))),(k.updatedDisplay||k.selectionChanged)&&(k.preparedSelection=$.input.prepareSelection())}function o_(k){var S=k.cm;k.adjustWidthTo!=null&&(S.display.sizer.style.minWidth=k.adjustWidthTo+"px",k.maxScrollLeft=k.display.viewTo)){var $=+new Date+k.options.workTime,R=sa(k,S.highlightFrontier),X=[];S.iter(R.line,Math.min(S.first+S.size,k.display.viewTo+500),function(pe){if(R.line>=k.display.viewFrom){var Me=pe.styles,Oe=pe.text.length>k.options.maxHighlightLength?ws(S.mode,R.state):null,Ge=Qr(k,pe,R,!0);Oe&&(R.state=Oe),pe.styles=Ge.styles;var Je=pe.styleClasses,Pt=Ge.classes;Pt?pe.styleClasses=Pt:Je&&(pe.styleClasses=null);for(var Dt=!Me||Me.length!=pe.styles.length||Je!=Pt&&(!Je||!Pt||Je.bgClass!=Pt.bgClass||Je.textClass!=Pt.textClass),kn=0;!Dt&&kn$)return Vg(k,k.options.workDelay),!0}),S.highlightFrontier=R.line,S.modeFrontier=Math.max(S.modeFrontier,R.line),X.length&&zA(k,function(){for(var pe=0;pe=$.viewFrom&&S.visible.to<=$.viewTo&&($.updateLineNumbers==null||$.updateLineNumbers>=$.viewTo)&&$.renderedView==$.view&&M7(k)==0)return!1;Hp(k)&&(KA(k),S.dims=u4(k));var X=R.first+R.size,pe=Math.max(S.visible.from-k.options.viewportMargin,R.first),Me=Math.min(X,S.visible.to+k.options.viewportMargin);$.viewFromMe&&$.viewTo-Me<20&&(Me=Math.min(X,$.viewTo)),Ic&&(pe=La(k.doc,pe),Me=Yc(k.doc,Me));var Oe=pe!=$.viewFrom||Me!=$.viewTo||$.lastWrapHeight!=S.wrapperHeight||$.lastWrapWidth!=S.wrapperWidth;JB(k,pe,Me),$.viewOffset=Uh(Ei(k.doc,$.viewFrom)),k.display.mover.style.top=$.viewOffset+"px";var Ge=M7(k);if(!Oe&&Ge==0&&!S.force&&$.renderedView==$.view&&($.updateLineNumbers==null||$.updateLineNumbers>=$.viewTo))return!1;var Je=R9(k);return Ge>4&&($.lineDiv.style.display="none"),U9(k,$.updateLineNumbers,S.dims),Ge>4&&($.lineDiv.style.display=""),$.renderedView=$.view,Nm(Je),ye($.cursorDiv),ye($.selectionDiv),$.gutters.style.height=$.sizer.style.minHeight=0,Oe&&($.lastWrapHeight=S.wrapperHeight,$.lastWrapWidth=S.wrapperWidth,Vg(k,400)),$.updateLineNumbers=null,!0}function D7(k,S){for(var $=S.viewport,R=!0;;R=!1){if(R&&k.options.lineWrapping&&S.oldDisplayWidth!=Fb(k))R&&(S.visible=A4(k.display,k.doc,$));else if($&&$.top!=null&&($={top:Math.min(k.doc.height+sw(k.display)-D6(k),$.top)}),S.visible=A4(k.display,k.doc,$),S.visible.from>=k.display.viewFrom&&S.visible.to<=k.display.viewTo)break;if(!H6(k,S))break;dy(k);var X=p4(k);fy(k),Om(k,X),Ub(k,X),S.force=!1}S.signal(k,"update",k),k.display.viewFrom==k.display.reportedViewFrom&&k.display.viewTo==k.display.reportedViewTo||(S.signal(k,"viewportChange",k,k.display.viewFrom,k.display.viewTo),k.display.reportedViewFrom=k.display.viewFrom,k.display.reportedViewTo=k.display.viewTo)}function $6(k,S){var $=new b4(k,S);if(H6(k,$)){dy(k),D7(k,$);var R=p4(k);fy(k),Om(k,R),Ub(k,R),$.finish()}}function U9(k,S,$){var R=k.display,X=k.options.lineNumbers,pe=R.lineDiv,Me=pe.firstChild;function Oe(rr){var Hr=rr.nextSibling;return C&&G&&k.display.currentWheelTarget==rr?rr.style.display="none":rr.parentNode.removeChild(rr),Hr}for(var Ge=R.view,Je=R.viewFrom,Pt=0;Pt-1&&(kn=!1),cy(k,Dt,Je,$)),kn&&(ye(Dt.lineNumber),Dt.lineNumber.appendChild(document.createTextNode(ts(k.options,Je)))),Me=Dt.node.nextSibling}else{var Nn=_7(k,Dt,Je,$);pe.insertBefore(Nn,Me)}Je+=Dt.size}for(;Me;)Me=Oe(Me)}function O7(k){var S=k.gutters.offsetWidth;k.sizer.style.marginLeft=S+"px"}function Ub(k,S){k.display.sizer.style.minHeight=S.docHeight+"px",k.display.heightForcer.style.top=S.docHeight+"px",k.display.gutters.style.height=S.docHeight+k.display.barHeight+Gg(k)+"px"}function j6(k){var S=k.display,$=S.view;if(S.alignWidgets||S.gutters.firstChild&&k.options.fixedGutter){for(var R=R6(S)-S.scroller.scrollLeft+k.doc.scrollLeft,X=S.gutters.offsetWidth,pe=R+"px",Me=0;Me<$.length;Me++)if(!$[Me].hidden){k.options.fixedGutter&&($[Me].gutter&&($[Me].gutter.style.left=pe),$[Me].gutterBackground&&($[Me].gutterBackground.style.left=pe));var Oe=$[Me].alignable;if(Oe)for(var Ge=0;GeMe.clientWidth,Ge=Me.scrollHeight>Me.clientHeight;if(R&&Oe||X&&Ge){if(X&&G&&C){e:for(var Je=S.target,Pt=pe.view;Je!=Me;Je=Je.parentNode)for(var Dt=0;Dt=0&&Br(k,R.to())<=0)return $}return-1};var $l=function(k,S){this.anchor=k,this.head=S};function Wg(k,S,$){var R=k&&k.options.selectionsMayTouch,X=S[$];S.sort(function(kn,Nn){return Br(kn.from(),Nn.from())}),$=Et(S,X);for(var pe=1;pe0:Ge>=0){var Je=yn(Oe.from(),Me.from()),Pt=Ph(Oe.to(),Me.to()),Dt=Oe.empty()?Me.from()==Me.head:Oe.from()==Oe.head;pe<=$&&--$,S.splice(--pe,2,new $l(Dt?Pt:Je,Dt?Je:Pt))}}return new S0(S,$)}function $b(k,S){return new S0([new $l(k,S||k)],0)}function jb(k){return k.text?ar(k.from.line+k.text.length-1,Ke(k.text).length+(k.text.length==1?k.from.ch:0)):k.to}function Af(k,S){if(Br(k,S.from)<0)return k;if(Br(k,S.to)<=0)return jb(S);var $=k.line+S.text.length-(S.to.line-S.from.line)-1,R=k.ch;return k.line==S.to.line&&(R+=jb(S).ch-S.to.ch),ar($,R)}function z6(k,S){for(var $=[],R=0;R1&&k.remove(Oe.line+1,rr-1),k.insert(Oe.line+1,ur)}Jc(k,"change",k,S)}function Kb(k,S,$){function R(X,pe,Me){if(X.linked)for(var Oe=0;Oe1&&!k.done[k.done.length-2].ranges?(k.done.pop(),Ke(k.done)):void 0}function R7(k,S,$,R){var X=k.history;X.undone.length=0;var pe,Me,Oe=+new Date;if((X.lastOp==R||X.lastOrigin==S.origin&&S.origin&&(S.origin.charAt(0)=="+"&&X.lastModTime>Oe-(k.cm?k.cm.options.historyEventDelay:500)||S.origin.charAt(0)=="*"))&&(pe=h_(X,X.lastOp==R)))Me=Ke(pe.changes),Br(S.from,S.to)==0&&Br(S.from,Me.to)==0?Me.to=jb(S):pe.changes.push(v4(k,S));else{var Ge=Ke(X.done);for(Ge&&Ge.ranges||W6(k.sel,X.done),pe={changes:[v4(k,S)],generation:X.generation},X.done.push(pe);X.done.length>X.undoDepth;)X.done.shift(),X.done[0].ranges||X.done.shift()}X.done.push($),X.generation=++X.maxGeneration,X.lastModTime=X.lastSelTime=Oe,X.lastOp=X.lastSelOp=R,X.lastOrigin=X.lastSelOrigin=S.origin,Me||vr(k,"historyAdded")}function V6(k,S,$,R){var X=S.charAt(0);return X=="*"||X=="+"&&$.ranges.length==R.ranges.length&&$.somethingSelected()==R.somethingSelected()&&new Date-k.history.lastSelTime<=(k.cm?k.cm.options.historyEventDelay:500)}function $p(k,S,$,R){var X=k.history,pe=R&&R.origin;$==X.lastSelOp||pe&&X.lastSelOrigin==pe&&(X.lastModTime==X.lastSelTime&&X.lastOrigin==pe||V6(k,pe,Ke(X.done),S))?X.done[X.done.length-1]=S:W6(S,X.done),X.lastSelTime=+new Date,X.lastSelOrigin=pe,X.lastSelOp=$,R&&R.clearRedo!==!1&&to(X.undone)}function W6(k,S){var $=Ke(S);$&&$.ranges&&$.equals(k)||S.push(k)}function y4(k,S,$,R){var X=S["spans_"+k.id],pe=0;k.iter(Math.max(k.first,$),Math.min(k.first+k.size,R),function(Me){Me.markedSpans&&((X||(X=S["spans_"+k.id]={}))[pe]=Me.markedSpans),++pe})}function x4(k){if(!k)return null;for(var S,$=0;$