// Code generated by go-bindata. // sources: // pub/index.css // pub/index.html // pub/index.js // DO NOT EDIT! package web import ( "bytes" "compress/gzip" "fmt" "io" "strings" "os" "time" "io/ioutil" "path" "path/filepath" ) func bindataRead(data, name string) ([]byte, error) { gz, err := gzip.NewReader(strings.NewReader(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 { name string size int64 mode os.FileMode 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 _indexCss = "\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x94\x52\xd1\x6a\xdc\x30\x10\x7c\xbf\xaf\x58\xb8\x87\x24\x10\x15\xc5\x69\x0e\x4e\x81\x7e\x44\xdf\xfa\x28\x4b\x2b\x9f\x88\xac\x35\x92\x8c\x7d\x29\xf9\xf7\xca\xd2\xd9\x49\xd3\x04\x52\xb0\xc1\xde\x9d\x65\x76\x67\xa6\x25\x7d\x86\xdf\x3b\x80\x56\xaa\xa7\x2e\xd0\xe8\xb5\x80\xbd\x31\xe6\x31\xd7\x0c\xf9\xc4\x8c\xec\xad\x3b\x0b\xb8\xfa\x29\x1d\x4e\xf2\x7c\x75\x0b\x51\xfa\xc8\x22\x06\xfb\x8a\x8a\xf6\x19\x05\x7c\x6f\x86\x79\x2b\x4d\x68\xbb\x53\x12\x70\xcf\xf9\xe3\xee\x65\xb7\x33\x14\xfa\x42\x95\x70\x4e\x4c\x3a\xdb\x79\x01\x0a\x7d\xc2\x50\xfa\xfb\x31\xb8\xd2\xff\x6f\xda\xfb\x4f\x69\x01\x26\xab\xd3\x49\xc0\x81\xf3\x8a\xe9\x65\xe8\x6c\x26\xe6\x20\xc7\x44\x4b\x65\x90\x5a\x5b\xdf\x09\x68\x1e\x2a\x44\x91\xa3\x90\x55\x38\x1e\x8f\xcb\x6f\x4b\x41\x63\x60\x41\x6a\x3b\xc6\x7c\x63\x05\xd5\xaa\x80\xbb\x61\x86\x48\xce\x6a\xd8\x2b\xa5\x96\x0e\x8d\xc9\x59\x9f\xd7\xf2\xe4\xb1\x42\x67\x16\x4f\x52\xd3\xb4\xd0\xe6\x5d\xe1\x90\xdf\xd0\xb5\xf2\x9a\xdf\xc2\xe5\xf9\xd6\xdc\x6c\x2a\x08\x43\x6a\x8c\xd5\x96\x7f\x69\xf8\xd1\xbc\x22\x45\xbe\xb7\x7d\xb2\x89\x59\x3f\x8c\x89\x0d\x4e\x2a\x3c\x91\xcb\x33\x65\x7c\xbb\x45\x6b\xfd\x76\xa8\xa7\xe7\x2f\x60\x55\x3f\xbc\xcb\x06\x5b\x31\x88\xf8\xa1\x76\x17\xb9\x1f\x0e\x9f\xca\xfd\xd6\x7d\x87\x26\xbd\xf3\xb2\xb9\xab\x83\x29\x64\xb7\x6d\xb2\x94\x61\xe5\xbb\xc4\xa7\xe1\xbc\x8f\x80\x32\x62\x3e\x98\x65\xa5\x37\xe8\xd2\x16\x10\x55\x4e\xcb\xaf\x6b\x7e\xf3\x57\x9d\x51\xb0\x65\x8b\x44\xc3\x96\xb8\xcd\xd8\x96\x52\xa2\x9e\x2d\xbb\x7c\x6c\xf2\x8a\x08\x4b\xb0\xbe\x9a\x83\x55\xbf\x1f\x20\x8b\x86\xab\x70\xc5\xbd\x8b\x0a\x1a\x15\x05\x59\x6f\xac\x61\x79\xf9\x13\x00\x00\xff\xff\xd4\x2f\x34\x18\x90\x03\x00\x00" func indexCssBytes() ([]byte, error) { return bindataRead( _indexCss, "index.css", ) } func indexCss() (*asset, error) { bytes, err := indexCssBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "index.css", size: 912, mode: os.FileMode(420), modTime: time.Unix(1435805882, 0)} a := &asset{bytes: bytes, info: info} return a, nil } var _indexHtml = "\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x9c\x92\x41\x73\xd3\x30\x10\x85\xef\xfd\x15\x8b\xce\x44\x9b\x10\x0e\xa4\xd8\x66\x86\x24\x43\x99\x29\xd0\x29\x61\x80\xa3\x6a\xaf\x63\x05\xd9\x72\xa5\x75\x13\xff\x7b\x24\xdb\x29\x4c\xe9\x09\x9f\x56\xd2\xbe\xef\xad\x9e\x9c\xbc\xd8\x7c\x59\xef\x7e\xde\x6c\xa1\xe2\xda\xc0\xcd\xb7\xf7\xd7\x1f\xd7\x20\x66\x88\xdf\x97\x6b\xc4\xcd\x6e\x03\x3f\xae\x76\x9f\xae\x61\x21\xe7\xf0\x95\x9d\xce\x19\x71\xfb\x59\x80\xa8\x98\xdb\x4b\xc4\xe3\xf1\x28\x8f\x4b\x69\xdd\x1e\x77\xb7\x78\x8a\x94\x45\x94\x4d\xe5\xcc\x0f\x1a\x59\x70\x21\xb2\x8b\x64\x30\x39\xd5\xa6\xf1\xe9\x33\x80\xc5\x6a\xb5\x1a\x75\xa1\x17\x20\xa9\x48\x15\xb1\x08\x25\x6b\x36\x94\x7d\xb0\x09\x8e\xd5\xb8\x5b\x13\x2b\x88\x9c\x19\xdd\x77\xfa\x21\x15\x6b\xdb\x30\x35\x3c\xdb\xf5\x2d\x09\xc8\xc7\x55\x2a\x98\x4e\x8c\x91\xfb\x16\xf2\x4a\x39\x4f\x9c\x76\x5c\xce\xde\x08\x9c\x40\x46\x37\xbf\xa0\x72\x54\xa6\x02\x3d\xea\xa6\xa0\x93\xcc\xbd\x17\xc3\x69\xfc\x1c\x99\x54\x78\xee\x0d\xf9\x8a\x88\xff\x1c\x70\x70\x9a\x0c\xa2\x20\x83\x7f\x80\xd3\x3d\xcb\x30\x8c\x97\x7b\x6b\xf7\x86\x54\xab\xbd\xcc\x6d\x1d\x25\xef\x4a\x55\x6b\xd3\xa7\xb7\xca\xd0\x51\xf5\x97\xaf\xe7\xf3\x97\xcb\xf9\xfc\x3f\xac\x63\x64\x78\xce\x2c\xb9\xb3\x45\x3f\xdd\xae\xb4\xae\x06\xd5\xb1\x0d\x96\xad\x21\x0e\x2a\x5b\x96\x22\x9b\x48\x89\x6e\xda\x8e\xff\xc2\x09\xd0\x45\x2a\x3a\x67\x04\xb4\x46\xe5\x54\x59\x53\x90\x4b\xc5\x36\xc4\xe9\x80\x2b\x82\x70\x06\x6c\xc1\x57\xd6\x85\x84\x45\x96\xe0\xc0\x78\x24\x16\xfa\x61\x60\xe4\x75\xfb\x68\x73\x45\xc6\xd8\x73\x03\x86\x8e\x69\x3a\x8c\xe3\x65\x17\xe3\xc2\xe7\x4e\xb7\x0c\xde\xe5\xe1\x25\x50\x1d\xd4\xe9\x69\x64\x71\x0f\x8d\xbe\xf3\x78\xb8\xef\xc8\xf5\xf8\x4a\x2e\xe4\x72\x5a\xc8\x5a\x37\xf2\xe0\xe3\x40\x23\x29\x7b\x06\x7b\x7e\xe0\xa7\x7d\x09\x8e\x99\x25\xc3\xaf\x92\x5d\xfc\x0e\x00\x00\xff\xff\x48\x15\x39\x70\x1c\x03\x00\x00" func indexHtmlBytes() ([]byte, error) { return bindataRead( _indexHtml, "index.html", ) } func indexHtml() (*asset, error) { bytes, err := indexHtmlBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "index.html", size: 796, mode: os.FileMode(420), modTime: time.Unix(1435805882, 0)} a := &asset{bytes: bytes, info: info} return a, nil } var _indexJs = "\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xac\x54\x4b\x6f\x13\x31\x10\xbe\xf7\x57\x18\x51\xc9\x5e\x91\x3a\x2d\xdc\xa8\x38\xf0\x28\x42\xa8\xa2\x88\xf4\x82\x10\x87\x61\x77\x92\xb8\x78\xed\x95\xed\xed\x83\x76\xff\x3b\x33\xf6\x66\x93\x54\x08\x71\x20\x87\xac\x3d\x2f\x7f\x33\xdf\x67\xab\x65\xef\xea\x64\xbc\x53\x95\xb8\x3f\x38\xb8\x86\x20\x02\x46\xf3\x0b\xc5\x2b\xb1\xe7\x12\xa2\xf8\xea\xc4\x1e\x1f\x5a\xbd\xc2\xa4\x8e\x2b\xfe\xbc\xf1\xbd\x6b\x8c\x5b\xbd\xb5\x06\x5d\xfa\x42\x31\xaa\x3a\xa5\x8c\x1c\x56\xc7\xa8\x64\x0b\x61\x65\xdc\x51\xf2\x9d\x9c\x89\x1b\xe3\x1a\x7f\xa3\x8d\x73\x18\x3e\xa0\x59\xad\xd3\xfc\x85\x38\xca\xb5\xf5\xba\xec\x9f\x53\xfe\x70\x5a\xf0\x38\x68\xf1\x7d\xf0\xed\x2e\xa2\x3e\x98\x2d\xa8\x0e\x42\x8a\xe4\x25\xa3\x8e\xfd\x8f\x98\x02\x61\x51\x27\x95\x8e\x9d\x35\x49\xc9\xb9\xcc\x68\x02\xa6\x3e\xb8\x12\xfd\xed\xe4\xfb\xf6\x00\xeb\xa1\xf9\x73\xbb\x7c\x34\x79\x36\x08\x94\xf5\x35\x70\x88\xee\x20\xad\xd9\x9a\x0b\x1f\x6a\xb8\x82\x5b\xc5\x49\x82\x40\xd8\x97\x42\xce\xa1\x33\x73\x5a\xce\xa5\x78\x96\xd3\x67\xd9\xd9\x40\x82\xcb\xbb\x0e\x29\xe2\x2a\x7a\x27\xc9\x38\x10\xcc\xbe\xae\x91\xa6\x34\x01\xe0\xb0\x02\xa2\xc0\xa0\x42\x84\x82\xad\x9a\x97\x0f\x0f\x42\xca\xd3\xec\x3d\x54\xf2\x29\x99\x64\xa5\xaf\xc1\xd2\x54\x6c\x06\x34\xf0\xf4\x4a\x6f\x71\xed\x6f\xce\x8d\xfb\xb9\xdb\x5f\x06\x3e\xf5\x58\xb7\x1d\x39\xb9\x10\xad\x64\x55\x80\x0a\x61\x73\xce\xd4\xb0\x0f\x86\x08\xa4\x66\xe4\xd4\x12\x4d\xaf\x54\x80\x9c\xdf\xf8\xba\x6f\x89\x7e\x5d\x07\x84\x84\x67\x16\x79\xa7\x24\xc8\xaa\xca\x35\x35\xa4\x14\x94\x5c\x07\x5c\x92\x08\xa8\xfe\x68\x4e\x78\x9b\xd4\x76\x0b\x5d\x87\xae\xb9\xf4\x8a\xe0\x14\x9f\xa4\x0a\xf9\x30\xb6\x64\x39\xa5\x00\x2e\xb2\xba\xa8\x90\x8c\x35\x58\xfc\x4a\x7c\xcb\x12\x45\x82\x5c\xa0\xc5\x91\x4b\x1d\x49\x9f\x10\xf1\xb5\x6b\xce\x6e\x13\x23\x82\x51\xb9\x33\x71\x3c\x13\xdb\xcd\xc9\x8e\xe4\xb8\x74\x19\x4a\x3e\xa4\xd2\x54\x49\x92\xb4\x5a\x93\xe8\xc4\x69\x90\xe3\x14\x51\x77\x01\xaf\xa9\xf4\x3b\x5c\x42\x6f\x47\xf1\xff\x9b\x7e\x36\xe3\x2e\x14\xef\xd3\x59\x69\x52\x72\xab\x4a\x57\x66\x29\xd4\x13\x26\x78\xd4\x45\x51\x73\x66\xfb\xe0\xb1\x06\x53\x91\xd8\xe7\x8b\xc5\xa5\x9c\x6d\x54\x29\xfe\x2e\x4b\x72\x7f\x5c\x5c\x7c\xd2\xe5\xf6\x98\xe5\x9d\xba\x1f\xb3\xf8\x7f\xa8\xf6\x05\x2c\xfe\x9b\x82\xb9\xaf\x9d\xb6\x84\x58\x9b\x98\x7c\xb8\xd3\x01\x3b\x0b\x35\x2e\x12\x89\x49\xdd\x0f\x33\xe1\x7a\x6b\x89\xee\x39\x36\x26\xe5\x06\x72\xb9\xe9\x16\xf2\x6f\xa3\x76\xf5\xd8\x35\x6c\x6e\x05\x0f\x73\x7c\x7f\xa0\x69\xce\x98\xb5\x73\x3a\x10\xe9\x29\x52\xb2\xbc\x7c\xc4\x70\x59\x50\x6c\x59\x30\x05\xfc\x48\x64\x2a\x86\x8a\x3f\xbf\x03\x00\x00\xff\xff\x1d\x65\x3b\x26\x38\x05\x00\x00" func indexJsBytes() ([]byte, error) { return bindataRead( _indexJs, "index.js", ) } func indexJs() (*asset, error) { bytes, err := indexJsBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "index.js", size: 1336, mode: os.FileMode(420), modTime: time.Unix(1435895304, 0)} a := &asset{bytes: bytes, info: info} 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) if (err != nil) { 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){ "index.css": indexCss, "index.html": indexHtml, "index.js": indexJs, } // 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 { Func func() (*asset, error) Children map[string]*bintree } var _bintree = &bintree{nil, map[string]*bintree{ "index.css": &bintree{indexCss, map[string]*bintree{ }}, "index.html": &bintree{indexHtml, map[string]*bintree{ }}, "index.js": &bintree{indexJs, map[string]*bintree{ }}, }} // RestoreAsset restores an asset under the given directory func RestoreAsset(dir, name string) error { data, err := Asset(name) if err != nil { return err } info, err := AssetInfo(name) if err != nil { return err } err = os.MkdirAll(_filePath(dir, path.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 } // RestoreAssets restores an asset under the given directory recursively func RestoreAssets(dir, name string) error { children, err := AssetDir(name) // File if err != nil { return RestoreAsset(dir, name) } // Dir for _, child := range children { err = RestoreAssets(dir, path.Join(name, child)) if err != nil { return err } } return nil } func _filePath(dir, name string) string { cannonicalName := strings.Replace(name, "\\", "/", -1) return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...) }