提交 633a827d 编写于 作者: J Jason

提交二进制文件

上级 428d888d
......@@ -16,5 +16,3 @@
/.idea
/data
/config.yaml
/www
/www
......@@ -9,7 +9,7 @@ require (
github.com/bmatcuk/doublestar v1.3.2 // indirect
github.com/gin-contrib/cors v1.3.1
github.com/gin-contrib/sessions v0.0.3
github.com/gin-contrib/static v0.0.0-20200815103939-31fb0c56a3d1
github.com/gin-contrib/static v0.0.0-20200815103939-31fb0c56a3d1 // indirect
github.com/gin-gonic/gin v1.6.3
github.com/go-openapi/spec v0.19.9 // indirect
github.com/go-openapi/swag v0.19.9 // indirect
......@@ -26,7 +26,7 @@ require (
github.com/swaggo/swag v1.6.7
github.com/valyala/fasttemplate v1.2.1 // indirect
golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a // indirect
golang.org/x/net v0.0.0-20200822124328-c89045814202
golang.org/x/net v0.0.0-20200822124328-c89045814202 // indirect
golang.org/x/sys v0.0.0-20200831180312-196b9ba8737a // indirect
golang.org/x/tools v0.0.0-20200828161849-5deb26317202 // indirect
google.golang.org/protobuf v1.25.0 // indirect
......
// Code generated by fileb0x at "2020-09-02 16:02:12.7238742 +0800 CST m=+0.038000601" from config file "b0x.yaml" DO NOT EDIT.
// modification hash(1b7a6a234e04fb0efb19b20d6c5234c9.bd80d2e6ce0e511477f067843b9302f7)
package wwwFiles
import (
"bytes"
"context"
"io"
"net/http"
"os"
"path"
"golang.org/x/net/webdav"
)
var (
// CTX is a context for webdav vfs
CTX = context.Background()
// FS is a virtual memory file system
FS = webdav.NewMemFS()
// Handler is used to server files through a http handler
Handler *webdav.Handler
// HTTP is the http file system
HTTP http.FileSystem = new(HTTPFS)
)
// HTTPFS implements http.FileSystem
type HTTPFS struct {
// Prefix allows to limit the path of all requests. F.e. a prefix "css" would allow only calls to /css/*
Prefix string
}
func init() {
err := CTX.Err()
if err != nil {
panic(err)
}
err = FS.Mkdir(CTX, "/assets/", 0777)
if err != nil && err != os.ErrExist {
panic(err)
}
Handler = &webdav.Handler{
FileSystem: FS,
LockSystem: webdav.NewMemLS(),
}
}
// Open a file
func (hfs *HTTPFS) Open(path string) (http.File, error) {
path = hfs.Prefix + path
f, err := FS.OpenFile(CTX, path, os.O_RDONLY, 0644)
if err != nil {
return nil, err
}
return f, nil
}
// ReadFile is adapTed from ioutil
func ReadFile(path string) ([]byte, error) {
f, err := FS.OpenFile(CTX, path, os.O_RDONLY, 0644)
if err != nil {
return nil, err
}
buf := bytes.NewBuffer(make([]byte, 0, bytes.MinRead))
// If the buffer overflows, we will get bytes.ErrTooLarge.
// Return that as an error. Any other panic remains.
defer func() {
e := recover()
if e == nil {
return
}
if panicErr, ok := e.(error); ok && panicErr == bytes.ErrTooLarge {
err = panicErr
} else {
panic(e)
}
}()
_, err = buf.ReadFrom(f)
return buf.Bytes(), err
}
// WriteFile is adapTed from ioutil
func WriteFile(filename string, data []byte, perm os.FileMode) error {
f, err := FS.OpenFile(CTX, filename, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, perm)
if err != nil {
return err
}
n, err := f.Write(data)
if err == nil && n < len(data) {
err = io.ErrShortWrite
}
if err1 := f.Close(); err == nil {
err = err1
}
return err
}
// WalkDirs looks for files in the given dir and returns a list of files in it
// usage for all files in the b0x: WalkDirs("", false)
func WalkDirs(name string, includeDirsInList bool, files ...string) ([]string, error) {
f, err := FS.OpenFile(CTX, name, os.O_RDONLY, 0)
if err != nil {
return nil, err
}
fileInfos, err := f.Readdir(0)
if err != nil {
return nil, err
}
err = f.Close()
if err != nil {
return nil, err
}
for _, info := range fileInfos {
filename := path.Join(name, info.Name())
if includeDirsInList || !info.IsDir() {
files = append(files, filename)
}
if info.IsDir() {
files, err = WalkDirs(filename, includeDirsInList, files...)
if err != nil {
return nil, err
}
}
}
return files, nil
}
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
// Code generaTed by fileb0x at "2020-09-02 16:02:12.7328745 +0800 CST m=+0.047000901" from config file "b0x.yaml" DO NOT EDIT.
// modified(2020-08-28 10:22:10.5065952 +0800 CST)
// original path: portal\dist\favicon.ico
package wwwFiles
import (
"os"
)
// FileFaviconIco is "/favicon.ico"
var FileFaviconIco = []byte("\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\x1c\x00\x00\x00\x1e\x08\x06\x00\x00\x00\x3f\xc5\x7e\x9f\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x12\x00\x00\x0b\x12\x01\xd2\xdd\x7e\xfc\x00\x00\x03\x66\x49\x44\x41\x54\x48\x89\x95\x57\x4b\x4c\x13\x51\x14\xbd\xf3\xe9\xcc\x94\xd2\x16\x75\x47\x91\x96\x09\x65\xa3\x0e\x6e\x8c\x2e\x0c\x36\x71\x63\x62\x04\x82\x6c\x14\x3f\x85\xb8\xd1\x44\x60\xa9\x46\x23\xc6\x0d\x4b\x75\xe3\x46\x0d\x31\x51\x63\x8c\x0a\x18\x8c\xa2\x21\x85\x88\x9f\xf8\x09\xb8\xf1\x43\x04\xa6\x50\xa4\x7c\x42\x3f\x24\x82\x9a\xd4\xdc\xb1\x33\xbc\x0e\x9d\xce\xcc\x49\x26\x7d\xf3\xde\x7d\xef\xcc\xbd\x73\xef\x99\x5b\x2a\x93\xc9\x80\x55\x88\x41\xa9\x1e\x00\x94\x4b\x9e\x8e\x79\x78\x8e\x1b\x67\x59\xf6\x41\x6a\x71\xea\xac\xd5\x33\x4c\x09\xc5\xa0\xb4\x1d\x00\xc2\xd9\xcb\xab\xce\x4f\x44\xa7\x34\x1b\x9a\xa6\x33\x02\xcf\x8f\x3a\x58\xb6\x33\xb1\x10\xbd\x6f\x9b\x50\x0c\x4a\x01\x82\xc4\x9f\x6f\x23\x49\x48\x82\x61\x98\xbf\x02\xcf\x0f\xb3\x2c\x7b\x3e\x31\x2f\xbf\x32\x24\x14\x83\x52\x09\x41\x52\x5d\xe8\x29\x77\xed\xdc\x01\x3f\xe3\x73\x10\x19\x5a\x77\x5e\x0e\x1c\x0e\xf6\x17\xcf\x71\xcf\x59\x86\x6d\x5f\x9a\x97\x65\x85\xb0\xa2\x72\x5b\x38\xfb\x5e\xea\x0a\xee\x26\x70\xef\xce\x2d\x98\x8d\xcf\x41\x7d\x63\x93\xd5\x2d\x20\xf0\xfc\xac\xc3\xc1\xf6\x21\xa1\xf5\xac\x01\x80\x32\x5f\x29\x0c\x45\x9e\x29\xe3\x8a\xaa\x6a\x98\x94\xa3\x76\xb6\x03\x6d\xcb\x1a\x00\xda\x5a\x4f\x69\xe3\x8e\x0b\x67\xec\x6e\x57\x08\x07\xad\x1a\x7b\x3c\x6e\x38\xd8\x50\xab\xdd\xd7\xd7\xee\x87\x92\x12\x6f\xc1\x3d\x24\x38\x8e\x4b\xd8\xf2\xb0\x39\x7c\x24\xe7\xde\xeb\xf5\x40\xfb\xe9\x93\x76\x8e\x50\x3c\x1c\xb1\x6a\xdc\x12\x3e\xba\x6e\x2e\x7c\xec\xb0\x65\x32\x96\x61\x26\x91\x30\x61\xc5\xb8\xb1\xa1\x0e\xdc\xee\x62\x65\x1c\x8b\xcd\x80\x9c\xad\x43\x7f\xf9\x66\xcb\xa4\x14\x45\x25\x2d\x7b\xd8\xd6\xba\x16\xba\xab\xd7\xae\x43\xc7\xe5\x4e\xed\xde\x6a\x58\x69\x9a\x7e\x63\xc9\x43\x2c\x74\x9f\xaf\x54\x19\xa7\xd3\xcb\xd0\xff\x72\x00\xba\x7b\xfb\x20\x99\x4c\x29\x73\xd5\xd2\x56\x08\xd5\xec\x36\x25\xa4\x28\x88\x23\xe1\xa4\x99\x21\xe9\x5d\xff\x8b\x01\x48\xa5\xd2\x90\x48\x24\x15\x52\x15\xed\xad\xe6\x5e\x52\x14\xfd\x41\x91\x36\x31\x28\x19\x16\x3f\x59\xe8\x88\x9a\xd0\x3e\x98\x8e\xcd\x28\x5a\x1a\xf0\x97\xc3\xc4\xf7\x51\x6d\xcd\x4c\x08\x32\xab\x4b\x94\x5a\x16\x49\x63\xef\xd6\x0a\x1d\x93\xa5\xac\xcc\xa7\x84\x18\x43\x88\x84\x32\x21\xe2\x85\x84\x00\xbf\x28\xa0\x8a\xb7\x18\x94\x22\x00\xb0\x47\x6f\x84\x85\x3e\xf2\x71\xd8\xf0\x10\x3d\xf0\x9d\x06\xaa\x24\x25\xdc\x7a\x60\xd1\xaf\xa6\xe3\x1b\x54\x0f\xf3\x26\x8e\xbe\xd0\xcd\x50\x48\x08\x68\x8a\x5a\x21\x3d\xec\x00\x80\x8b\x7a\xa3\xd1\x4f\xaf\xb5\xda\xfb\xf2\xf5\x9b\x92\x2c\x2a\x56\x56\x56\xb5\x31\xca\x1b\x66\x2a\x02\x43\x1c\x08\x4a\xeb\x08\x5d\x45\x45\x83\xcb\x4b\xb1\x10\x6b\xf4\xd0\x64\xa1\x23\x0e\x35\xb5\xe4\x10\x92\x1f\x60\x32\x79\x54\x21\xe8\xba\x7d\x37\xbf\xa7\xd9\xdf\x88\x7e\x81\x2c\x85\x87\x8f\x7a\x73\xc8\xf4\xc0\xcc\xec\x79\xf2\x54\x9b\xcd\x17\x56\x86\xa1\xbb\xc1\xe8\xf3\x44\x16\xfa\x7f\xc2\x1e\x43\x32\x15\xa4\x47\x85\x84\x40\x25\xcc\x91\x37\x32\x59\xb0\x14\xde\xbe\x7b\x6f\x4a\x88\x22\x40\x96\x88\x5e\x08\x68\x8a\x7e\x0c\xba\x9e\x66\xc4\xac\x97\x21\x61\xd4\x44\xe5\x03\xf6\x36\xbf\x97\xe7\x8b\x48\x0f\x61\x7c\xec\x33\xb6\x83\xcd\x00\x20\x5b\x3e\xc9\x04\xd8\xc1\xb9\x8b\x5d\x37\x55\x32\xd0\xbf\xc3\xf1\xb1\xcf\x5d\x00\x80\xc4\x97\x0a\xa9\x8f\x19\x50\x55\xb0\x0c\xdc\x2e\x57\x65\x6a\x71\xfa\x04\x69\x6e\xd8\x08\x67\xdb\xc6\x2b\x00\x70\x3c\xdf\xba\x51\x48\x9d\x82\xf0\x83\xe7\xb8\xbd\x6a\x5b\xa8\x87\x95\xce\x1b\x9b\xe2\x2e\xbd\xf4\xe9\x09\x51\xba\x9c\x82\x70\x20\x5f\xf3\x4b\xc2\xf2\x7f\x0b\x31\x28\x85\xb2\x1e\x2b\x89\xa5\x12\x62\x42\x38\x05\xe1\x5c\x72\x61\x0a\xd7\xcc\x81\x84\x76\x2e\x6c\x9c\xfd\xe2\x96\x28\xe3\xdc\xf4\xc7\xbd\xd1\x77\xc3\xd6\xfe\x4c\x06\xfe\x01\xf9\x77\x8c\x38\xba\x43\x8c\xe1\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82")
func init() {
f, err := FS.OpenFile(CTX, "/favicon.ico", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = f.Write(FileFaviconIco)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
}
// Code generaTed by fileb0x at "2020-09-02 16:02:12.7398758 +0800 CST m=+0.054002201" from config file "b0x.yaml" DO NOT EDIT.
// modified(2020-09-02 16:02:08.5366487 +0800 CST)
// original path: portal\dist\index.html
package wwwFiles
import (
"os"
)
// FileIndexHTML is "/index.html"
var FileIndexHTML = []byte("\x3c\x21\x64\x6f\x63\x74\x79\x70\x65\x20\x68\x74\x6d\x6c\x3e\x0a\x3c\x68\x74\x6d\x6c\x20\x6c\x61\x6e\x67\x3d\x22\x65\x6e\x22\x3e\x0a\x3c\x68\x65\x61\x64\x3e\x0a\x20\x20\x3c\x6d\x65\x74\x61\x20\x63\x68\x61\x72\x73\x65\x74\x3d\x22\x75\x74\x66\x2d\x38\x22\x3e\x0a\x20\x20\x3c\x74\x69\x74\x6c\x65\x3e\x44\x54\x55\x20\x41\x64\x6d\x69\x6e\x3c\x2f\x74\x69\x74\x6c\x65\x3e\x0a\x20\x20\x3c\x62\x61\x73\x65\x20\x68\x72\x65\x66\x3d\x22\x2f\x22\x3e\x0a\x20\x20\x3c\x6d\x65\x74\x61\x20\x6e\x61\x6d\x65\x3d\x22\x76\x69\x65\x77\x70\x6f\x72\x74\x22\x20\x63\x6f\x6e\x74\x65\x6e\x74\x3d\x22\x77\x69\x64\x74\x68\x3d\x64\x65\x76\x69\x63\x65\x2d\x77\x69\x64\x74\x68\x2c\x20\x69\x6e\x69\x74\x69\x61\x6c\x2d\x73\x63\x61\x6c\x65\x3d\x31\x22\x3e\x0a\x20\x20\x3c\x6c\x69\x6e\x6b\x20\x72\x65\x6c\x3d\x22\x69\x63\x6f\x6e\x22\x20\x74\x79\x70\x65\x3d\x22\x69\x6d\x61\x67\x65\x2f\x78\x2d\x69\x63\x6f\x6e\x22\x20\x68\x72\x65\x66\x3d\x22\x66\x61\x76\x69\x63\x6f\x6e\x2e\x69\x63\x6f\x22\x3e\x0a\x3c\x6c\x69\x6e\x6b\x20\x72\x65\x6c\x3d\x22\x73\x74\x79\x6c\x65\x73\x68\x65\x65\x74\x22\x20\x68\x72\x65\x66\x3d\x22\x73\x74\x79\x6c\x65\x73\x2e\x33\x66\x61\x31\x65\x34\x37\x61\x30\x66\x61\x30\x37\x34\x30\x66\x36\x38\x61\x62\x2e\x63\x73\x73\x22\x3e\x3c\x2f\x68\x65\x61\x64\x3e\x0a\x3c\x62\x6f\x64\x79\x3e\x0a\x20\x20\x3c\x61\x70\x70\x2d\x72\x6f\x6f\x74\x3e\x3c\x2f\x61\x70\x70\x2d\x72\x6f\x6f\x74\x3e\x0a\x3c\x73\x63\x72\x69\x70\x74\x20\x73\x72\x63\x3d\x22\x72\x75\x6e\x74\x69\x6d\x65\x2e\x64\x32\x64\x35\x63\x39\x39\x61\x32\x63\x65\x62\x32\x62\x30\x39\x32\x38\x32\x38\x2e\x6a\x73\x22\x20\x64\x65\x66\x65\x72\x3e\x3c\x2f\x73\x63\x72\x69\x70\x74\x3e\x3c\x73\x63\x72\x69\x70\x74\x20\x73\x72\x63\x3d\x22\x70\x6f\x6c\x79\x66\x69\x6c\x6c\x73\x2e\x61\x34\x30\x32\x31\x64\x65\x35\x33\x33\x35\x38\x62\x62\x30\x66\x65\x63\x31\x34\x2e\x6a\x73\x22\x20\x64\x65\x66\x65\x72\x3e\x3c\x2f\x73\x63\x72\x69\x70\x74\x3e\x3c\x73\x63\x72\x69\x70\x74\x20\x73\x72\x63\x3d\x22\x6d\x61\x69\x6e\x2e\x63\x63\x33\x66\x39\x61\x35\x65\x35\x37\x66\x36\x61\x35\x65\x32\x65\x36\x33\x37\x2e\x6a\x73\x22\x20\x64\x65\x66\x65\x72\x3e\x3c\x2f\x73\x63\x72\x69\x70\x74\x3e\x3c\x2f\x62\x6f\x64\x79\x3e\x0a\x3c\x2f\x68\x74\x6d\x6c\x3e\x0a")
func init() {
f, err := FS.OpenFile(CTX, "/index.html", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = f.Write(FileIndexHTML)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
}
此差异已折叠。
此差异已折叠。
// Code generaTed by fileb0x at "2020-09-02 16:02:12.9509083 +0800 CST m=+0.265034701" from config file "b0x.yaml" DO NOT EDIT.
// modified(2020-09-02 16:02:08.3246508 +0800 CST)
// original path: portal\dist\runtime.d2d5c99a2ceb2b092828.js
package wwwFiles
import (
"os"
)
// FileRuntimeD2d5c99a2ceb2b092828Js is "/runtime.d2d5c99a2ceb2b092828.js"
var FileRuntimeD2d5c99a2ceb2b092828Js = []byte("\x21\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x65\x29\x7b\x66\x75\x6e\x63\x74\x69\x6f\x6e\x20\x72\x28\x72\x29\x7b\x66\x6f\x72\x28\x76\x61\x72\x20\x6e\x2c\x69\x2c\x61\x3d\x72\x5b\x30\x5d\x2c\x63\x3d\x72\x5b\x31\x5d\x2c\x6c\x3d\x72\x5b\x32\x5d\x2c\x70\x3d\x30\x2c\x73\x3d\x5b\x5d\x3b\x70\x3c\x61\x2e\x6c\x65\x6e\x67\x74\x68\x3b\x70\x2b\x2b\x29\x69\x3d\x61\x5b\x70\x5d\x2c\x4f\x62\x6a\x65\x63\x74\x2e\x70\x72\x6f\x74\x6f\x74\x79\x70\x65\x2e\x68\x61\x73\x4f\x77\x6e\x50\x72\x6f\x70\x65\x72\x74\x79\x2e\x63\x61\x6c\x6c\x28\x6f\x2c\x69\x29\x26\x26\x6f\x5b\x69\x5d\x26\x26\x73\x2e\x70\x75\x73\x68\x28\x6f\x5b\x69\x5d\x5b\x30\x5d\x29\x2c\x6f\x5b\x69\x5d\x3d\x30\x3b\x66\x6f\x72\x28\x6e\x20\x69\x6e\x20\x63\x29\x4f\x62\x6a\x65\x63\x74\x2e\x70\x72\x6f\x74\x6f\x74\x79\x70\x65\x2e\x68\x61\x73\x4f\x77\x6e\x50\x72\x6f\x70\x65\x72\x74\x79\x2e\x63\x61\x6c\x6c\x28\x63\x2c\x6e\x29\x26\x26\x28\x65\x5b\x6e\x5d\x3d\x63\x5b\x6e\x5d\x29\x3b\x66\x6f\x72\x28\x66\x26\x26\x66\x28\x72\x29\x3b\x73\x2e\x6c\x65\x6e\x67\x74\x68\x3b\x29\x73\x2e\x73\x68\x69\x66\x74\x28\x29\x28\x29\x3b\x72\x65\x74\x75\x72\x6e\x20\x75\x2e\x70\x75\x73\x68\x2e\x61\x70\x70\x6c\x79\x28\x75\x2c\x6c\x7c\x7c\x5b\x5d\x29\x2c\x74\x28\x29\x7d\x66\x75\x6e\x63\x74\x69\x6f\x6e\x20\x74\x28\x29\x7b\x66\x6f\x72\x28\x76\x61\x72\x20\x65\x2c\x72\x3d\x30\x3b\x72\x3c\x75\x2e\x6c\x65\x6e\x67\x74\x68\x3b\x72\x2b\x2b\x29\x7b\x66\x6f\x72\x28\x76\x61\x72\x20\x74\x3d\x75\x5b\x72\x5d\x2c\x6e\x3d\x21\x30\x2c\x61\x3d\x31\x3b\x61\x3c\x74\x2e\x6c\x65\x6e\x67\x74\x68\x3b\x61\x2b\x2b\x29\x30\x21\x3d\x3d\x6f\x5b\x74\x5b\x61\x5d\x5d\x26\x26\x28\x6e\x3d\x21\x31\x29\x3b\x6e\x26\x26\x28\x75\x2e\x73\x70\x6c\x69\x63\x65\x28\x72\x2d\x2d\x2c\x31\x29\x2c\x65\x3d\x69\x28\x69\x2e\x73\x3d\x74\x5b\x30\x5d\x29\x29\x7d\x72\x65\x74\x75\x72\x6e\x20\x65\x7d\x76\x61\x72\x20\x6e\x3d\x7b\x7d\x2c\x6f\x3d\x7b\x30\x3a\x30\x7d\x2c\x75\x3d\x5b\x5d\x3b\x66\x75\x6e\x63\x74\x69\x6f\x6e\x20\x69\x28\x72\x29\x7b\x69\x66\x28\x6e\x5b\x72\x5d\x29\x72\x65\x74\x75\x72\x6e\x20\x6e\x5b\x72\x5d\x2e\x65\x78\x70\x6f\x72\x74\x73\x3b\x76\x61\x72\x20\x74\x3d\x6e\x5b\x72\x5d\x3d\x7b\x69\x3a\x72\x2c\x6c\x3a\x21\x31\x2c\x65\x78\x70\x6f\x72\x74\x73\x3a\x7b\x7d\x7d\x3b\x72\x65\x74\x75\x72\x6e\x20\x65\x5b\x72\x5d\x2e\x63\x61\x6c\x6c\x28\x74\x2e\x65\x78\x70\x6f\x72\x74\x73\x2c\x74\x2c\x74\x2e\x65\x78\x70\x6f\x72\x74\x73\x2c\x69\x29\x2c\x74\x2e\x6c\x3d\x21\x30\x2c\x74\x2e\x65\x78\x70\x6f\x72\x74\x73\x7d\x69\x2e\x65\x3d\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x65\x29\x7b\x76\x61\x72\x20\x72\x3d\x5b\x5d\x2c\x74\x3d\x6f\x5b\x65\x5d\x3b\x69\x66\x28\x30\x21\x3d\x3d\x74\x29\x69\x66\x28\x74\x29\x72\x2e\x70\x75\x73\x68\x28\x74\x5b\x32\x5d\x29\x3b\x65\x6c\x73\x65\x7b\x76\x61\x72\x20\x6e\x3d\x6e\x65\x77\x20\x50\x72\x6f\x6d\x69\x73\x65\x28\x28\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x72\x2c\x6e\x29\x7b\x74\x3d\x6f\x5b\x65\x5d\x3d\x5b\x72\x2c\x6e\x5d\x7d\x29\x29\x3b\x72\x2e\x70\x75\x73\x68\x28\x74\x5b\x32\x5d\x3d\x6e\x29\x3b\x76\x61\x72\x20\x75\x2c\x61\x3d\x64\x6f\x63\x75\x6d\x65\x6e\x74\x2e\x63\x72\x65\x61\x74\x65\x45\x6c\x65\x6d\x65\x6e\x74\x28\x22\x73\x63\x72\x69\x70\x74\x22\x29\x3b\x61\x2e\x63\x68\x61\x72\x73\x65\x74\x3d\x22\x75\x74\x66\x2d\x38\x22\x2c\x61\x2e\x74\x69\x6d\x65\x6f\x75\x74\x3d\x31\x32\x30\x2c\x69\x2e\x6e\x63\x26\x26\x61\x2e\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65\x28\x22\x6e\x6f\x6e\x63\x65\x22\x2c\x69\x2e\x6e\x63\x29\x2c\x61\x2e\x73\x72\x63\x3d\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x65\x29\x7b\x72\x65\x74\x75\x72\x6e\x20\x69\x2e\x70\x2b\x22\x22\x2b\x28\x7b\x7d\x5b\x65\x5d\x7c\x7c\x65\x29\x2b\x22\x2e\x22\x2b\x7b\x34\x3a\x22\x66\x39\x30\x36\x36\x63\x37\x33\x35\x38\x30\x31\x65\x31\x34\x33\x31\x37\x33\x62\x22\x7d\x5b\x65\x5d\x2b\x22\x2e\x6a\x73\x22\x7d\x28\x65\x29\x3b\x76\x61\x72\x20\x63\x3d\x6e\x65\x77\x20\x45\x72\x72\x6f\x72\x3b\x75\x3d\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x72\x29\x7b\x61\x2e\x6f\x6e\x65\x72\x72\x6f\x72\x3d\x61\x2e\x6f\x6e\x6c\x6f\x61\x64\x3d\x6e\x75\x6c\x6c\x2c\x63\x6c\x65\x61\x72\x54\x69\x6d\x65\x6f\x75\x74\x28\x6c\x29\x3b\x76\x61\x72\x20\x74\x3d\x6f\x5b\x65\x5d\x3b\x69\x66\x28\x30\x21\x3d\x3d\x74\x29\x7b\x69\x66\x28\x74\x29\x7b\x76\x61\x72\x20\x6e\x3d\x72\x26\x26\x28\x22\x6c\x6f\x61\x64\x22\x3d\x3d\x3d\x72\x2e\x74\x79\x70\x65\x3f\x22\x6d\x69\x73\x73\x69\x6e\x67\x22\x3a\x72\x2e\x74\x79\x70\x65\x29\x2c\x75\x3d\x72\x26\x26\x72\x2e\x74\x61\x72\x67\x65\x74\x26\x26\x72\x2e\x74\x61\x72\x67\x65\x74\x2e\x73\x72\x63\x3b\x63\x2e\x6d\x65\x73\x73\x61\x67\x65\x3d\x22\x4c\x6f\x61\x64\x69\x6e\x67\x20\x63\x68\x75\x6e\x6b\x20\x22\x2b\x65\x2b\x22\x20\x66\x61\x69\x6c\x65\x64\x2e\x5c\x6e\x28\x22\x2b\x6e\x2b\x22\x3a\x20\x22\x2b\x75\x2b\x22\x29\x22\x2c\x63\x2e\x6e\x61\x6d\x65\x3d\x22\x43\x68\x75\x6e\x6b\x4c\x6f\x61\x64\x45\x72\x72\x6f\x72\x22\x2c\x63\x2e\x74\x79\x70\x65\x3d\x6e\x2c\x63\x2e\x72\x65\x71\x75\x65\x73\x74\x3d\x75\x2c\x74\x5b\x31\x5d\x28\x63\x29\x7d\x6f\x5b\x65\x5d\x3d\x76\x6f\x69\x64\x20\x30\x7d\x7d\x3b\x76\x61\x72\x20\x6c\x3d\x73\x65\x74\x54\x69\x6d\x65\x6f\x75\x74\x28\x28\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x29\x7b\x75\x28\x7b\x74\x79\x70\x65\x3a\x22\x74\x69\x6d\x65\x6f\x75\x74\x22\x2c\x74\x61\x72\x67\x65\x74\x3a\x61\x7d\x29\x7d\x29\x2c\x31\x32\x65\x34\x29\x3b\x61\x2e\x6f\x6e\x65\x72\x72\x6f\x72\x3d\x61\x2e\x6f\x6e\x6c\x6f\x61\x64\x3d\x75\x2c\x64\x6f\x63\x75\x6d\x65\x6e\x74\x2e\x68\x65\x61\x64\x2e\x61\x70\x70\x65\x6e\x64\x43\x68\x69\x6c\x64\x28\x61\x29\x7d\x72\x65\x74\x75\x72\x6e\x20\x50\x72\x6f\x6d\x69\x73\x65\x2e\x61\x6c\x6c\x28\x72\x29\x7d\x2c\x69\x2e\x6d\x3d\x65\x2c\x69\x2e\x63\x3d\x6e\x2c\x69\x2e\x64\x3d\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x65\x2c\x72\x2c\x74\x29\x7b\x69\x2e\x6f\x28\x65\x2c\x72\x29\x7c\x7c\x4f\x62\x6a\x65\x63\x74\x2e\x64\x65\x66\x69\x6e\x65\x50\x72\x6f\x70\x65\x72\x74\x79\x28\x65\x2c\x72\x2c\x7b\x65\x6e\x75\x6d\x65\x72\x61\x62\x6c\x65\x3a\x21\x30\x2c\x67\x65\x74\x3a\x74\x7d\x29\x7d\x2c\x69\x2e\x72\x3d\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x65\x29\x7b\x22\x75\x6e\x64\x65\x66\x69\x6e\x65\x64\x22\x21\x3d\x74\x79\x70\x65\x6f\x66\x20\x53\x79\x6d\x62\x6f\x6c\x26\x26\x53\x79\x6d\x62\x6f\x6c\x2e\x74\x6f\x53\x74\x72\x69\x6e\x67\x54\x61\x67\x26\x26\x4f\x62\x6a\x65\x63\x74\x2e\x64\x65\x66\x69\x6e\x65\x50\x72\x6f\x70\x65\x72\x74\x79\x28\x65\x2c\x53\x79\x6d\x62\x6f\x6c\x2e\x74\x6f\x53\x74\x72\x69\x6e\x67\x54\x61\x67\x2c\x7b\x76\x61\x6c\x75\x65\x3a\x22\x4d\x6f\x64\x75\x6c\x65\x22\x7d\x29\x2c\x4f\x62\x6a\x65\x63\x74\x2e\x64\x65\x66\x69\x6e\x65\x50\x72\x6f\x70\x65\x72\x74\x79\x28\x65\x2c\x22\x5f\x5f\x65\x73\x4d\x6f\x64\x75\x6c\x65\x22\x2c\x7b\x76\x61\x6c\x75\x65\x3a\x21\x30\x7d\x29\x7d\x2c\x69\x2e\x74\x3d\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x65\x2c\x72\x29\x7b\x69\x66\x28\x31\x26\x72\x26\x26\x28\x65\x3d\x69\x28\x65\x29\x29\x2c\x38\x26\x72\x29\x72\x65\x74\x75\x72\x6e\x20\x65\x3b\x69\x66\x28\x34\x26\x72\x26\x26\x22\x6f\x62\x6a\x65\x63\x74\x22\x3d\x3d\x74\x79\x70\x65\x6f\x66\x20\x65\x26\x26\x65\x26\x26\x65\x2e\x5f\x5f\x65\x73\x4d\x6f\x64\x75\x6c\x65\x29\x72\x65\x74\x75\x72\x6e\x20\x65\x3b\x76\x61\x72\x20\x74\x3d\x4f\x62\x6a\x65\x63\x74\x2e\x63\x72\x65\x61\x74\x65\x28\x6e\x75\x6c\x6c\x29\x3b\x69\x66\x28\x69\x2e\x72\x28\x74\x29\x2c\x4f\x62\x6a\x65\x63\x74\x2e\x64\x65\x66\x69\x6e\x65\x50\x72\x6f\x70\x65\x72\x74\x79\x28\x74\x2c\x22\x64\x65\x66\x61\x75\x6c\x74\x22\x2c\x7b\x65\x6e\x75\x6d\x65\x72\x61\x62\x6c\x65\x3a\x21\x30\x2c\x76\x61\x6c\x75\x65\x3a\x65\x7d\x29\x2c\x32\x26\x72\x26\x26\x22\x73\x74\x72\x69\x6e\x67\x22\x21\x3d\x74\x79\x70\x65\x6f\x66\x20\x65\x29\x66\x6f\x72\x28\x76\x61\x72\x20\x6e\x20\x69\x6e\x20\x65\x29\x69\x2e\x64\x28\x74\x2c\x6e\x2c\x28\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x72\x29\x7b\x72\x65\x74\x75\x72\x6e\x20\x65\x5b\x72\x5d\x7d\x29\x2e\x62\x69\x6e\x64\x28\x6e\x75\x6c\x6c\x2c\x6e\x29\x29\x3b\x72\x65\x74\x75\x72\x6e\x20\x74\x7d\x2c\x69\x2e\x6e\x3d\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x65\x29\x7b\x76\x61\x72\x20\x72\x3d\x65\x26\x26\x65\x2e\x5f\x5f\x65\x73\x4d\x6f\x64\x75\x6c\x65\x3f\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x29\x7b\x72\x65\x74\x75\x72\x6e\x20\x65\x2e\x64\x65\x66\x61\x75\x6c\x74\x7d\x3a\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x29\x7b\x72\x65\x74\x75\x72\x6e\x20\x65\x7d\x3b\x72\x65\x74\x75\x72\x6e\x20\x69\x2e\x64\x28\x72\x2c\x22\x61\x22\x2c\x72\x29\x2c\x72\x7d\x2c\x69\x2e\x6f\x3d\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x65\x2c\x72\x29\x7b\x72\x65\x74\x75\x72\x6e\x20\x4f\x62\x6a\x65\x63\x74\x2e\x70\x72\x6f\x74\x6f\x74\x79\x70\x65\x2e\x68\x61\x73\x4f\x77\x6e\x50\x72\x6f\x70\x65\x72\x74\x79\x2e\x63\x61\x6c\x6c\x28\x65\x2c\x72\x29\x7d\x2c\x69\x2e\x70\x3d\x22\x22\x2c\x69\x2e\x6f\x65\x3d\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x65\x29\x7b\x74\x68\x72\x6f\x77\x20\x63\x6f\x6e\x73\x6f\x6c\x65\x2e\x65\x72\x72\x6f\x72\x28\x65\x29\x2c\x65\x7d\x3b\x76\x61\x72\x20\x61\x3d\x77\x69\x6e\x64\x6f\x77\x2e\x77\x65\x62\x70\x61\x63\x6b\x4a\x73\x6f\x6e\x70\x3d\x77\x69\x6e\x64\x6f\x77\x2e\x77\x65\x62\x70\x61\x63\x6b\x4a\x73\x6f\x6e\x70\x7c\x7c\x5b\x5d\x2c\x63\x3d\x61\x2e\x70\x75\x73\x68\x2e\x62\x69\x6e\x64\x28\x61\x29\x3b\x61\x2e\x70\x75\x73\x68\x3d\x72\x2c\x61\x3d\x61\x2e\x73\x6c\x69\x63\x65\x28\x29\x3b\x66\x6f\x72\x28\x76\x61\x72\x20\x6c\x3d\x30\x3b\x6c\x3c\x61\x2e\x6c\x65\x6e\x67\x74\x68\x3b\x6c\x2b\x2b\x29\x72\x28\x61\x5b\x6c\x5d\x29\x3b\x76\x61\x72\x20\x66\x3d\x63\x3b\x74\x28\x29\x7d\x28\x5b\x5d\x29\x3b")
func init() {
f, err := FS.OpenFile(CTX, "/runtime.d2d5c99a2ceb2b092828.js", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = f.Write(FileRuntimeD2d5c99a2ceb2b092828Js)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
}
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册