gotty/server/asset.go

357 lines
754 KiB
Go
Raw Normal View History

2015-08-16 09:47:23 +00:00
// Code generated by go-bindata.
// sources:
// bindata/static/css/index.css
// bindata/static/css/xterm.css
// bindata/static/css/xterm_customize.css
2015-08-30 07:27:40 +00:00
// bindata/static/favicon.png
2015-08-23 11:40:18 +00:00
// bindata/static/index.html
// bindata/static/js/bundle.js
2015-08-16 09:47:23 +00:00
// DO NOT EDIT!
2017-02-25 22:37:07 +00:00
package server
2015-08-16 09:47:23 +00:00
import (
"bytes"
"compress/gzip"
"fmt"
"io"
"io/ioutil"
2015-08-20 07:45:06 +00:00
"os"
2015-08-16 09:47:23 +00:00
"path/filepath"
2015-08-20 07:45:06 +00:00
"strings"
"time"
2015-08-16 09:47:23 +00:00
)
func bindataRead(data []byte, name string) ([]byte, error) {
gz, err := gzip.NewReader(bytes.NewBuffer(data))
if err != nil {
return nil, fmt.Errorf("Read %q: %v", name, err)
}
var buf bytes.Buffer
_, err = io.Copy(&buf, gz)
clErr := gz.Close()
if err != nil {
return nil, fmt.Errorf("Read %q: %v", name, err)
}
if clErr != nil {
return nil, err
}
return buf.Bytes(), nil
}
type asset struct {
bytes []byte
info os.FileInfo
}
type bindataFileInfo struct {
2015-08-20 07:45:06 +00:00
name string
size int64
mode os.FileMode
2015-08-16 09:47:23 +00:00
modTime time.Time
}
func (fi bindataFileInfo) Name() string {
return fi.name
}
func (fi bindataFileInfo) Size() int64 {
return fi.size
}
func (fi bindataFileInfo) Mode() os.FileMode {
return fi.mode
}
func (fi bindataFileInfo) ModTime() time.Time {
return fi.modTime
}
func (fi bindataFileInfo) IsDir() bool {
return false
}
func (fi bindataFileInfo) Sys() interface{} {
return nil
}
var _staticCssIndexCss = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x4c\xc8\x41\x0a\x02\x31\x0c\x05\xd0\xbd\xa7\xf8\x20\xee\x66\x31\x6e\xeb\x69\xd2\xc9\x90\x84\xb6\xa9\x94\x88\x88\x78\x77\xc1\x22\xcc\xf2\x3d\x8d\x56\x17\xe4\xce\xaf\x05\xe7\xd8\x47\x33\xa7\x8a\xf7\x09\x00\x32\x6d\x45\x46\x7f\x38\x27\xe4\x4a\x5b\xb9\xfd\x5a\x77\x13\x8d\x84\xeb\xba\x5e\xe6\x3c\x8d\x43\x8f\x71\x27\x66\x73\x49\xf8\x47\xa3\x21\xe6\xd3\x9f\x6f\x00\x00\x00\xff\xff\xd7\x5b\x0e\xbd\x74\x00\x00\x00")
func staticCssIndexCssBytes() ([]byte, error) {
return bindataRead(
_staticCssIndexCss,
"static/css/index.css",
)
}
func staticCssIndexCss() (*asset, error) {
bytes, err := staticCssIndexCssBytes()
if err != nil {
return nil, err
}
2017-08-22 06:56:56 +00:00
info := bindataFileInfo{name: "static/css/index.css", size: 116, mode: os.FileMode(436), modTime: time.Unix(1503381631, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _staticCssXtermCss = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x9d\x5d\x93\xda\x48\xb6\xb5\xef\xfd\x2b\x32\xdc\x17\x6d\x3b\xa0\x0a\x89\x6f\x26\xe2\x8d\xa0\xcb\x54\x9b\x77\xca\xe0\xa8\xc2\xe3\xe9\xcb\x04\xa5\x0a\xb9\x41\x62\x24\x51\x1f\x33\x31\xff\xfd\x44\x4a\x99\x85\x2b\x37\x5a\xb9\x3d\x73\x8e\xb9\xe8\x36\xd4\x5a\x5b\x12\xa9\x07\x69\x79\x19\x5f\x7e\xf8\xf0\x46\x7c\x10\x4f\xa5\xca\xf7\x17\xdf\x8b\x49\xfd\x7f\x2d\x91\xa4\xa2\xdc\x2a\xb1\xce\xb3\xc7\x42\xe5\xfa\x47\xae\xb2\xc3\x73\x9e\xdc\x6f\x4b\xf1\x6e\xf3\x5e\x84\x9d\xa0\xd7\x0e\x3b\xc1\xa0\x25\xee\xb2\x63\xbe\x51\x37\x32\xc9\xc5\x97\x3c\x79\x90\xa5\x12\x57\xd9\xfe\x20\xd3\x67\xf1\xee\xf1\xf1\xf1\xa2\xa8\x5e\xdf\xc9\x24\xbf\xd8\x64\x7b\xf1\xee\xf3\x7c\x25\x6e\x92\x8d\x4a\x0b\xf5\xfe\xac\x71\xa8\x8d\xbb\x2d\x71\xb5\xcd\x93\xa2\xcc\x0e\x5b\x95\x8b\xff\xaf\xe2\x38\x57\xcf\x54\xbd\x2d\xcb\x43\x31\xb9\xbc\xbc\x4f\xca\xed\x71\xad\x27\x5c\x6e\xb6\xdf\xbf\x5f\x9a\x1d\x7a\x23\xaa\xfd\xfb\xa2\xf2\x7d\x52\x14\x49\x96\x8a\xa4\x10\x5b\x95\xab\xf5\xb3\xb8\xcf\x65\x5a\xaa\xa8\x25\xe2\x5c\x29\x91\xc5\x62\xb3\x95\xf9\xbd\x6a\x89\x32\x13\x7a\xeb\x0f\x2a\x2f\xb2\x54\x64\xeb\x52\x26\x69\x92\xde\x0b\x29\x36\xd9\xe1\x59\xfb\x65\xb1\x28\xb7\x49\x21\x8a\x2c\x2e\x1f\x65\xae\x84\x4c\x23\x21\x8b\x22\xdb\x24\xb2\x54\x91\x88\xb2\xcd\x71\xaf\xd2\x52\x96\x7a\x64\x9c\xec\x54\x21\xde\xe9\x03\xfa\xf6\xce\x28\xde\xbe\xaf\xe6\x44\x4a\xee\xb4\xa1\x39\xde\xf6\x55\xf1\x98\x94\xdb\xec\x58\x8a\x5c\x15\x65\x9e\x6c\xb4\x8d\x7e\x53\x36\xbb\x63\xa4\xb7\xc4\xbe\xbc\x4b\xf6\x89\x19\xa2\xe5\xd5\x61\xd4\xfb\xac\xad\x8f\x85\x6a\x55\x1b\xdc\x12\xfb\x2c\x4a\x62\xfd\x5f\x55\xed\xdf\xe1\xb8\xde\x25\xc5\xb6\x25\xa2\x44\xbb\xaf\x8f\xa5\x6a\x89\x42\x3f\x59\x1d\xd7\x96\xde\x9b\xcb\x2c\x17\x85\xda\x55\x1b\xb7\xc9\x0e\x89\x2a\xea\x9d\x3e\x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\xfc\xfe\xd2\xfc\xc0\x65\xfd\x03\x04\x94\x81\x3b\xa8\xfe\x39\x7d\x9a\x64\x66\xeb\x45\xa4\x8a\x
func staticCssXtermCssBytes() ([]byte, error) {
return bindataRead(
_staticCssXtermCss,
"static/css/xterm.css",
)
}
func staticCssXtermCss() (*asset, error) {
bytes, err := staticCssXtermCssBytes()
if err != nil {
return nil, err
}
2017-08-22 06:56:56 +00:00
info := bindataFileInfo{name: "static/css/xterm.css", size: 35782, mode: os.FileMode(436), modTime: time.Unix(1503381631, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _staticCssXterm_customizeCss = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x8e\xc1\x4e\xf3\x40\x0c\x84\xef\x79\x0a\xab\x52\xa5\xff\x97\xb2\x51\x8a\x14\x81\xb6\x57\xe0\xd6\x13\x88\xbb\x9b\x38\x65\xe9\xc6\x8e\xbc\x9b\x92\x80\xfa\xee\x28\x64\x0b\x7d\x01\x2e\xd6\x8c\x35\x9e\xcf\x45\x24\xed\x1c\xa3\x87\xcf\x0c\x00\xa0\x15\x8e\xa6\xc5\xce\xf9\xc9\xc2\xea\x9e\xde\xf0\x65\x80\x27\xe4\x00\x3b\x61\x59\xe5\xb0\x7a\x38\x91\x06\xe1\x8b\x7f\x54\xa2\x59\xe6\xb0\x23\xf6\x92\xc3\x73\x2a\xcc\xa1\x13\x96\xd0\x63\x4d\xdb\xec\x9c\x65\xc5\x38\xa3\x8c\x9c\x48\x3d\x4e\x7f\x8b\x9b\xab\xf7\xa2\x0d\xa9\x51\x6c\xdc\x10\x2c\x6c\xaa\x7e\xdc\xfe\x32\x83\xfb\x20\x0b\xe3\x68\x3c\xea\x21\x5d\xd4\xe2\x45\x2d\xec\x3d\xd6\xc7\xd4\x81\xf5\xf1\xa0\x32\x70\x63\xe1\xfd\xd5\xc5\x14\x94\x1e\x6b\x17\x27\x0b\x65\x71\x5b\x2d\xab\x1e\x9b\xc6\xf1\x61\x5e\xdd\x50\x07\x65\x51\x7d\xcf\x1f\x9d\x52\x12\x5c\x74\xc2\x16\x70\x1f\xc4\x0f\x97\xc2\x28\xbd\x85\xaa\x5c\x2f\xce\x53\x1b\xaf\x6c\x54\xe4\xd0\x8a\x76\x76\x91\x1e\x23\xfd\x33\x55\xb9\xce\x61\x9e\xff\x97\xd4\x10\x48\x4d\x20\x4f\x75\xb4\xc0\xc2\x74\x75\x9c\x98\xe9\x6d\xd8\xdc\x95\x5d\x00\xc2\x40\xc6\xf1\x36\x3b\x7f\x05\x00\x00\xff\xff\xd2\xd9\x6e\xaa\x04\x02\x00\x00")
func staticCssXterm_customizeCssBytes() ([]byte, error) {
return bindataRead(
_staticCssXterm_customizeCss,
"static/css/xterm_customize.css",
)
}
func staticCssXterm_customizeCss() (*asset, error) {
bytes, err := staticCssXterm_customizeCssBytes()
if err != nil {
return nil, err
}
2017-08-22 06:56:56 +00:00
info := bindataFileInfo{name: "static/css/xterm_customize.css", size: 516, mode: os.FileMode(436), modTime: time.Unix(1503381631, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
2017-02-25 22:37:07 +00:00
var _staticFaviconPng = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x00\x5f\x03\xa0\xfc\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\x20\x00\x00\x00\x20\x08\x03\x00\x00\x00\x44\xa4\x8a\xc6\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\x00\x41\x64\x6f\x62\x65\x20\x49\x6d\x61\x67\x65\x52\x65\x61\x64\x79\x71\xc9\x65\x3c\x00\x00\x01\xa4\x50\x4c\x54\x45\x1c\x1c\x1c\x2e\x2e\x2e\x1a\x1a\x1a\x25\x25\x25\x26\x26\x26\x24\x24\x24\x4e\x4e\x4e\x5f\x5f\x5f\x20\x20\x20\x1e\x1e\x1e\x1f\x1f\x1f\x22\x22\x22\x1d\x1d\x1d\x21\x21\x21\x3b\x3b\x3b\x19\x19\x19\x16\x16\x16\x2c\x2c\x2c\x29\x29\x29\x28\x28\x28\x27\x27\x27\x2b\x2b\x2b\x2a\x2a\x2a\x2d\x2d\x2d\x2f\x2f\x2f\x00\xac\x3a\x00\xa9\x3a\x60\x60\x60\x3a\x3a\x3a\x00\xae\x3b\x05\x9a\x38\x5e\x5e\x5e\x25\x24\x24\x52\x52\x52\x18\x18\x18\x39\x39\x39\x55\x55\x55\x5c\x5c\x5c\x5d\x5d\x5d\x37\x37\x37\x32\x32\x32\x50\x50\x50\x61\x61\x61\x5b\x5b\x5b\x4f\x4f\x4f\x58\x58\x58\x53\x53\x53\x59\x59\x59\x30\x27\x2d\x28\x1e\x24\x56\x56\x56\x54\x54\x54\x14\x14\x14\x2f\x2c\x2e\x17\x17\x17\x1b\x1b\x1b\x44\x44\x44\x35\x35\x35\x33\x33\x33\x4a\x4a\x4a\x36\x36\x36\x38\x38\x38\x20\x62\x36\x34\x34\x34\x30\x30\x30\x31\x31\x31\x23\x24\x24\x75\x75\x75\x2a\x22\x27\x20\x55\x32\x2e\x2b\x2d\x27\x1f\x24\x2e\x2a\x2d\x29\x26\x28\x62\x62\x62\x25\x21\x24\x26\x25\x25\x26\x2e\x29\x2b\x28\x2a\x20\x60\x36\x1f\x3b\x29\x2d\x25\x2b\x1f\x53\x32\x11\x70\x32\x25\x24\x25\x1d\x4f\x2e\x25\x29\x27\x1f\x52\x31\x00\xb1\x3b\x27\x2e\x2a\x77\x77\x77\x28\x2f\x2b\x2a\x31\x2d\x00\xb6\x3c\x23\x23\x23\x28\x25\x27\x2f\x2e\x2f\x11\x71\x32\x5a\x5a\x5a\x14\x66\x30\x30\x28\x2d\x2e\x25\x2c\x22\x5a\x35\x1e\x51\x2f\x2e\x31\x2f\x29\x21\x26\x2a\x3e\x31\x25\x26\x26\x2b\x32\x2d\x1c\x4f\x2d\x2c\x24\x2a\x30\x26\x2c\x28\x20\x25\x57\x57\x57\x00\xae\x3a\x27\x25\x26\x2a\x27\x29\x2c\x29\x2b\x25\x2d\x28\x00\xaf\x3b\x2c\x34\x2f\x22\x23\x23\x27\x1e\x24\x29\x30\x2c\x2b\x33\x2e\x04\xa0\x3a\x26\x23\x25\x1a\x50\x2d\x1f\x51\x30\x00\xb5\x3b\x00\xb3\x3b\x2b\x23\x28\x03\xa0\x39\x11\x6e\x31\x05\x99\x38\x1d\x50\x2f\x00\xb4\x3c\x2d\x2a\x2c\x63\x63\x63\x2f\x2b\x2e\x63\xda\xc5\x2e\x00\x00\x01\x51\x49\x44\x41\x54\x38\xcb\x85\xcc\xd5\x76\xc2\x40\x14\x40\xd1\x0b\x24\x78\x25\x81\x00\x2d\x69\x53\xdc\xdd\x1d\xea\xee\xee\xee\xee\xee\xde\x9f\x6e\xf2\x3c\x0c\xec\xe7\xb3\x0e\xcc\x72\x46\x19\x96\x91\x6b\x03\x2e\xc9\xd6\x62\xb1\x49\x1b\xfc\xb2\x54\x2c\x18\x0c\xae\x8b\xca\xa1\x58\x37\xf4\xb2\xdd\xbb\xf9\xa1\xfc\xe6\xf6\xb2\x01\xa5\x67\x8d\xe0\xb6\x1c\x75\xbc\x5c\xbd\x3e\x5c\xc7\xca\x1d\x2c\x42\xb0\x31\x7a\xda\xd8\xd0\x7c\xff\x87\x09\x8c\xb9\x91\xa9\x26\x3e\xd8\xef\xd4\xa3\x98\x9c\x0c\x64\x8e\xc3\x67\x21\x98\xff\xa1\x50\x3a\x07\xc7\x07\x6f\x5b\x42\x70\x77\xc1\xa0\x68\x3e\xe0\xb2\xed\x5f\x42\x30\x37\xa8\x43\x69\xb2\x76\xb0\xa7\x76\x26\x84\x60\xe6\x9c\x46\x69\x53\x36\xb0\x15\x8e\x0f\xf8\xe0\x73\xa0\x47\x83\x22\x0a\x1e\xb0\xa5\x6f\x9f\x16\xa6\xbf\xdf\x2f\x97\xb4\x28\x49\xda\x03\x1e\x67\xdf\xf0\xca\xc7\xd8\xda\xe4\x19\x81\x22\x9d\xab\x10\x70\xb6\x3e\x86\x42\xa1\xae\xfe\xbd\xb2\x81\x0f\x02\xa5\x9b\x16\xc1\xb8\xa4\x8c\xc5\x12\x1f\x14\x55\x24\x96\xaa\xe8\x83\x13\x91\x5c\x85\x25\x17\x85\x21\xac\x57\xd6\x60\x29\xf5\x56\x08\x53\x0a\x39\x96\x82\xb2\x82\x95\x51\x2b\xb1\xd4\x8c\x15\x22\x3a\x50\x60\x81\x2e\x02\x7e\x3a\xa1\xc6\x4a\xd0\x7e\x30\xd1\x62\xc0\x12\x0b\x81\xa6\x52\xa0\x31\x55\x09\xb4\x26\x70\x11\x66\x31\x96\x59\xeb\xaa\x16\x78\xf9\x20\x5e\x87\x15\x27\xbc\xe0\x25\xa3\xf5\x58\x51\x52\x0a\x19\x03\x29\xc1\x22\x0d\x19\xb0\x4b\x2b\xb2\xff\x03\x80\x64\x51\xf1\x29\x1a\xc2\x9c\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\x01\x00\x00\xff\xff\xb0\xaa\xd3\x73\x5f\x03\x00\x00")
2015-08-30 07:27:40 +00:00
func staticFaviconPngBytes() ([]byte, error) {
return bindataRead(
_staticFaviconPng,
"static/favicon.png",
)
}
func staticFaviconPng() (*asset, error) {
bytes, err := staticFaviconPngBytes()
if err != nil {
return nil, err
}
2017-08-22 06:56:56 +00:00
info := bindataFileInfo{name: "static/favicon.png", size: 863, mode: os.FileMode(436), modTime: time.Unix(1503381631, 0)}
2015-08-30 07:27:40 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2017-08-22 06:56:56 +00:00
var _staticIndexHtml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x91\x51\x6a\xc3\x30\x0c\x86\xdf\x77\x0a\xcd\x07\x88\x2e\xa0\xf4\x2a\x25\xb5\x95\x44\xad\x63\x87\x48\x09\xcd\x4a\xef\x3e\x3c\xb7\x30\xe8\x60\x63\x4f\x16\xfa\xbf\xef\xc7\xd8\xf4\x1e\xb2\xb7\x7d\x66\x18\x6d\x8a\x87\x37\xaa\x07\x00\x8d\xdc\x85\x32\x00\x90\x89\x45\x3e\xdc\x6e\xd0\x7c\x4d\x70\xbf\x13\xd6\x5d\xcd\xa3\xa4\x0b\x2c\x1c\x5b\x27\x3e\x27\x07\xa5\xaf\x75\x32\x75\x03\xe3\x9c\x06\x07\xe3\xc2\x7d\xeb\xfa\x6e\x2b\x79\x53\x56\x2f\xa6\xda\x1e\x59\x47\x66\x7b\xe2\x0d\x7a\x55\x94\x14\xf8\xda\x78\x55\x07\xf8\x67\xe9\x6a\xbc\x4c\xff\x92\x8e\x7e\x55\xcb\x93\x7c\xf0\x37\x9d\xf0\xf9\x18\x74\xca\x61\x7f\x34\x06\xd9\x40\x42\xeb\x8a\x26\xa9\x8b\xee\x40\x18\x64\x7b\xa4\xea\x17\x99\x0d\x74\xf1\xa5\xbf\x5b\x6d\x3c\x5a\xbe\x70\x6a\xce\x5a\xc0\x1a\xff\xc8\xfa\x9c\x7a\x19\x7e\xe7\xce\x8a\xa7\x35\x85\xc8\x2f\x28\x61\xbd\x26\x61\xfd\xcd\xcf\x00\x00\x00\xff\xff\x9f\x85\xd7\x0f\xe5\x01\x00\x00")
2015-08-16 09:47:23 +00:00
func staticIndexHtmlBytes() ([]byte, error) {
2015-08-16 09:47:23 +00:00
return bindataRead(
_staticIndexHtml,
"static/index.html",
2015-08-16 09:47:23 +00:00
)
}
func staticIndexHtml() (*asset, error) {
bytes, err := staticIndexHtmlBytes()
2015-08-16 09:47:23 +00:00
if err != nil {
return nil, err
}
2017-08-22 06:56:56 +00:00
info := bindataFileInfo{name: "static/index.html", size: 485, mode: os.FileMode(436), modTime: time.Unix(1503381631, 0)}
2015-08-23 11:40:18 +00:00
a := &asset{bytes: bytes, info: info}
return a, nil
}
2017-08-22 06:56:56 +00:00
var _staticJsBundleJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\x59\x73\x23\x49\xd2\x20\xf6\x3c\xfc\x15\x5e\xec\xdd\x06\x50\x04\x41\x00\x3c\xaa\x8a\x2c\x74\x7d\x28\x1e\xdd\xf5\x4d\x5d\x4b\xb2\xa7\x67\x96\xcd\x8f\x13\xc8\x0c\x00\x59\x95\xc8\xc0\x64\x26\x48\x62\xba\x38\x4f\x92\xcc\xf4\xa8\x17\x99\x1e\xd6\x4c\xd7\x4a\xdf\xae\x4c\x26\x5b\xc9\xd6\xd6\x24\xd3\x4a\x32\x9b\xfe\x63\xb2\xf0\xb8\x33\x23\x01\xb0\x8e\x99\xfe\x6c\x07\xd5\x5d\x05\xc4\xe1\xe1\xe1\xe1\xee\xe1\x11\xe1\xe1\xb1\xf5\x10\x3f\x5b\x50\x1f\xce\x92\x20\x8f\x58\x52\x9f\xb0\x70\x16\xd3\xac\x01\x3f\xc1\xd6\x16\xdc\xd0\xc1\x94\x04\xef\x9f\x33\x96\x67\x79\x4a\xa6\x6b\xba\xc6\xaf\xb6\xb6\xe0\x7c\x4c\x41\x94\x87\x80\x04\x63\x6a\xe5\x5e\x93\x14\xa2\x24\xcb\x49\x1c\xd3\xf0\x95\x80\x09\x3d\xf8\xe9\xee\x40\x17\x2a\xc3\x4a\xe9\x1f\x66\x51\x4a\x41\x21\x63\x95\x50\x49\x70\x75\x25\x71\xba\x92\xa5\xaf\xae\x24\xce\x2f\xc2\x06\xfc\xe4\x83\xce\xc1\x1f\x8e\x69\xf0\x1e\xa2\xa1\xc2\x37\xca\x20\x4a\x4a\x58\xff\x2a\x1a\xd6\x8b\x58\x5f\x28\xe8\x97\x36\x78\xf8\xd5\xaf\x7e\x95\xd2\x7c\x96\x26\xa5\x6e\x9a\x0a\x2d\x7a\x3b\x65\x69\x9e\x1d\xd8\xd5\xee\x8a\x98\xa5\x94\xe4\x14\x08\x24\xf4\x46\x61\x57\x27\x49\x08\xd3\x59\x0e\x51\x0e\x51\x92\x33\xc8\xc7\x92\xc4\x0d\xbb\x36\x27\xb2\xac\xd1\x5b\x80\x06\xa7\xbb\x83\x78\xb4\x0f\x2a\xb3\xe9\x64\xc4\xfb\x30\x24\x71\x46\xdd\x54\xd9\x8b\x7d\xf8\xc9\xc1\xdd\x3f\x94\xbc\x4b\xc7\xb7\x34\x98\xe5\x14\xb1\x96\xf8\x79\x86\xf4\x57\x93\x12\xbd\x02\x12\xc7\x72\x34\x15\xed\x9a\x12\x82\xfa\xd7\xa4\x7b\x38\xa1\x51\x89\xd2\x49\x4c\x46\x36\x3e\x24\x83\x98\x91\x90\x86\x65\x84\x5a\x31\xf4\x20\x4f\x67\xb4\x12\xd8\xa9\x18\x78\x0e\x4e\x62\x03\x6c\x68\x41\xb7\x8b\x4b\x26\x71\x91\xb7\x19\xe2\xae\xdc\x8a\x2b\x19\xbc\x4e\x66\x13\x33\x03\x36\x78\x47\x83\x1c\xea\x86\x04\x32\xe7\xea\xca\x66\x10\x0f\x85\x5a\x13\xe8\x29\x30\x55\xa2\x58\x6a\xb0\x24\x27\x3e\xc0\x81\x87\x07\xab\x5a\x88\x42\x9a\xe4\x51\x3e\xd7\x6c\x01\x43\x96\x02\x1f\xfd\x28\x19\xc1\x98\xa4\x13\x96\xcc\x21\x9a\x08\xda\xde\x44\xf9\x58\x48\x00\x4b\x53\xde\xef\x80\x25\x39\xbd\xcd\x97\x20\x14\x41\x4f\xc3\xaf\x5f\x93\x78\x46\xb9\x52\x93\xe3\x81\xbf\x0f\xa0\x52\x1d\x85\x74\x18\x25\x14\x46\x34\xcf\x69\xea\xa2\xa9\xd0\x93\x63\xb9\x04\x8b\xd0\xc6\x42\xf3\x6e\x42\x26\xb4\x29\xa1\x17\xd4\x4a\x34\xac\x3f\xf0\x01\x62\x6e\xed\x46\x51\x1b\xbd\x41\x9e\x68\x09\xc4\xdf\xa6\x6c\x4a\xd3\x7c\x5e\x6c\xd1\xad\xf2\xab\x80\x25\xc3\x68\x34\x4b\xc9\x20\xa6\x5e\xd1\xff\x15\x4d\x66\x13\x2a\xf3\xb9\x4c\x14\xb2\x47\x34\xdf\x97\xdd\x70\x32\xee\x1a\x95\x3a\xaf\x92\xe4\x23\x9a\x1f\xd1\x21\x99\xc5\xf9\x31\x22\x5d\x60\x0e\x36\x99\x92\x3c\x1a\x44\x31\xe7\x1b\x64\x89\x84\x25\x9b\x6a\x30\x24\x4b\x2f\x19\x8c\xc4\x1e\x0c\x51\xa5\x40\x46\xae\x52\xe5\xa0\x2b\x39\x81\xaf\xbf\x56\xe2\x7b\x75\x45\x33\xc1\xda\xf0\xcc\xe9\xaf\x46\xd5\x74\xa2\x6e\x71\x9b\xa8\x7e\x51\x0b\x45\x56\xed\xf2\x00\xee\x60\xbf\x12\x82\x68\x42\x50\x21\x2b\xc3\x71\xd8\x16\x7e\xe5\x67\xbb\xba\xe8\x45\x13\x6a\xa4\xa6\x39\xed\xc0\xa3\x99\x44\xd6\xc1\x2a\x23\x24\x59\x6c\x9a\xb2\x9c\xe5\xf3\x29\x6d\x8d\x49\xf6\xe6\x26\x51\xcc\x86\xea\x7b\xc9\x08\x30\x7b\x04\x84\x1a\x6b\xc2\x54\x02\xb0\x7a\xba\x4a\x53\xe5\xfa\x0b\x04\xda\x20\x33\x9d\x0d\xe2\x28\xb8\x9a\x92\x7c\x7c\x75\xb5\x04\xdd\x29\xf4\x60\x7d\xbd\x0a\xe6\x4b\x46\x42\xa0\x49\x9e\xce\xf5\xb4\x92\x84\xaa\x07\x65\xf5\x20\x33\x7c\x16\x8c\xaf\x6d\x6e\x2f\x75\x76\xed\x31\xbb\xd3\xca\xfd\xd3\x3f\x56\x57\xea\x17\x6b\x5b\x0f\xa1\x0d\x32\xad\x6c\x0d\x36\x61\xe1\xa4\x0b\x3f\xad\xad\xad\xcf\x32\x0a\x59\x9e\x46\x41\xbe\x7e\xb0\xb6\xb6\x44\x19\xad\x1b\x41\x5a\x6f\xc2\x4f\x42\x1b\x0b\x05\x03\x5c\x75\x70\x29\x3c\x64\x93\x29\xcb\x22\x8e\xc6\x77\x34\x9e\xd2\xf4\xaa\x03\x3d\x2f\xf1\x3a\x7b\xb2\xca\xf1\x35\x4d\xf2\xe3\x49\xc4\x19\xba\xba\xb4\x2c\xfc\x9b\x88\xde\x70\x74\x2a\x0b\x76\xb7\x15\x26\x71\x34\x1d\x30\x92\x86\x95\x45\xb7\xdb\xaa\x68\x94\x06\xb3\x98\xa4\x2f\xa3\xac\x1a\xf0\x76\x57\xe1\x9b\x05\x64\x4a\xcf\xe8\x1f\x66\x34\x09\x68\x56\x8d\x89\x2c\xff\x22\x99\xce\xf2\xef\x48\x12\xc6\x8b\xfa\xf7\x48\x96\x7e\x4b\xd2\x6c\x51\xb9\x27\xb2\xdc\x29\x4d\x42\x9a\x2e\x28\xd9\x55\xbd\x7b\x19\x25\xef\xa3\x61\xb4\x08\xe8\x63\x59\xf4\x8c\xc6\x14\x59\xe8\x15\x49\xc
2015-08-23 11:40:18 +00:00
func staticJsBundleJsBytes() ([]byte, error) {
2015-08-23 11:40:18 +00:00
return bindataRead(
_staticJsBundleJs,
"static/js/bundle.js",
2015-08-23 11:40:18 +00:00
)
}
func staticJsBundleJs() (*asset, error) {
bytes, err := staticJsBundleJsBytes()
2015-08-23 11:40:18 +00:00
if err != nil {
return nil, err
}
2017-08-22 06:56:56 +00:00
info := bindataFileInfo{name: "static/js/bundle.js", size: 773429, mode: os.FileMode(436), modTime: time.Unix(1503385077, 0)}
2015-08-20 07:45:06 +00:00
a := &asset{bytes: bytes, info: info}
2015-08-16 09:47:23 +00:00
return a, nil
}
// Asset loads and returns the asset for the given name.
// It returns an error if the asset could not be found or
// could not be loaded.
func Asset(name string) ([]byte, error) {
cannonicalName := strings.Replace(name, "\\", "/", -1)
if f, ok := _bindata[cannonicalName]; ok {
a, err := f()
if err != nil {
return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err)
}
return a.bytes, nil
}
return nil, fmt.Errorf("Asset %s not found", name)
}
// MustAsset is like Asset but panics when Asset would return an error.
// It simplifies safe initialization of global variables.
func MustAsset(name string) []byte {
a, err := Asset(name)
2015-08-20 07:45:06 +00:00
if err != nil {
2015-08-16 09:47:23 +00:00
panic("asset: Asset(" + name + "): " + err.Error())
}
return a
}
// AssetInfo loads and returns the asset info for the given name.
// It returns an error if the asset could not be found or
// could not be loaded.
func AssetInfo(name string) (os.FileInfo, error) {
cannonicalName := strings.Replace(name, "\\", "/", -1)
if f, ok := _bindata[cannonicalName]; ok {
a, err := f()
if err != nil {
return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err)
}
return a.info, nil
}
return nil, fmt.Errorf("AssetInfo %s not found", name)
}
// AssetNames returns the names of the assets.
func AssetNames() []string {
names := make([]string, 0, len(_bindata))
for name := range _bindata {
names = append(names, name)
}
return names
}
// _bindata is a table, holding each asset generator, mapped to its name.
var _bindata = map[string]func() (*asset, error){
"static/css/index.css": staticCssIndexCss,
"static/css/xterm.css": staticCssXtermCss,
"static/css/xterm_customize.css": staticCssXterm_customizeCss,
"static/favicon.png": staticFaviconPng,
"static/index.html": staticIndexHtml,
"static/js/bundle.js": staticJsBundleJs,
2015-08-16 09:47:23 +00:00
}
// AssetDir returns the file names below a certain
// directory embedded in the file by go-bindata.
// For example if you run go-bindata on data/... and data contains the
// following hierarchy:
// data/
// foo.txt
// img/
// a.png
// b.png
// then AssetDir("data") would return []string{"foo.txt", "img"}
// AssetDir("data/img") would return []string{"a.png", "b.png"}
// AssetDir("foo.txt") and AssetDir("notexist") would return an error
// AssetDir("") will return []string{"data"}.
func AssetDir(name string) ([]string, error) {
node := _bintree
if len(name) != 0 {
cannonicalName := strings.Replace(name, "\\", "/", -1)
pathList := strings.Split(cannonicalName, "/")
for _, p := range pathList {
node = node.Children[p]
if node == nil {
return nil, fmt.Errorf("Asset %s not found", name)
}
}
}
if node.Func != nil {
return nil, fmt.Errorf("Asset %s not found", name)
}
rv := make([]string, 0, len(node.Children))
for childName := range node.Children {
rv = append(rv, childName)
}
return rv, nil
}
type bintree struct {
2015-08-20 07:45:06 +00:00
Func func() (*asset, error)
2015-08-16 09:47:23 +00:00
Children map[string]*bintree
}
2015-08-20 07:45:06 +00:00
2015-08-16 09:47:23 +00:00
var _bintree = &bintree{nil, map[string]*bintree{
"static": &bintree{nil, map[string]*bintree{
"css": &bintree{nil, map[string]*bintree{
"index.css": &bintree{staticCssIndexCss, map[string]*bintree{}},
"xterm.css": &bintree{staticCssXtermCss, map[string]*bintree{}},
"xterm_customize.css": &bintree{staticCssXterm_customizeCss, map[string]*bintree{}},
}},
2015-08-30 07:27:40 +00:00
"favicon.png": &bintree{staticFaviconPng, map[string]*bintree{}},
"index.html": &bintree{staticIndexHtml, map[string]*bintree{}},
"js": &bintree{nil, map[string]*bintree{
"bundle.js": &bintree{staticJsBundleJs, map[string]*bintree{}},
}},
2015-08-16 09:47:23 +00:00
}},
}}
// RestoreAsset restores an asset under the given directory
func RestoreAsset(dir, name string) error {
2015-08-20 07:45:06 +00:00
data, err := Asset(name)
if err != nil {
return err
}
info, err := AssetInfo(name)
if err != nil {
return err
}
err = os.MkdirAll(_filePath(dir, filepath.Dir(name)), os.FileMode(0755))
if err != nil {
return err
}
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
if err != nil {
return err
}
err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime())
if err != nil {
return err
}
return nil
2015-08-16 09:47:23 +00:00
}
// RestoreAssets restores an asset under the given directory recursively
func RestoreAssets(dir, name string) error {
2015-08-20 07:45:06 +00:00
children, err := AssetDir(name)
// File
if err != nil {
return RestoreAsset(dir, name)
}
// Dir
for _, child := range children {
err = RestoreAssets(dir, filepath.Join(name, child))
if err != nil {
return err
}
}
return nil
2015-08-16 09:47:23 +00:00
}
func _filePath(dir, name string) string {
2015-08-20 07:45:06 +00:00
cannonicalName := strings.Replace(name, "\\", "/", -1)
return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
2015-08-16 09:47:23 +00:00
}