diff --git a/.dockerignore b/.dockerignore index 7447f89..8ae8fa5 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1 +1,2 @@ -/bin \ No newline at end of file +/bin +/.git \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 9dcb1e6..0010fe7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,13 @@ FROM xena/go-mini:1.9.2 ENV CGO_ENABLED=0 +ENV PATH=$PATH:/root/go/bin -RUN apk add git \ +RUN apk add --no-cache git protobuf \ && go download COPY . /root/go/src/git.xeserv.us/xena/route RUN cd /root/go/src/git.xeserv.us/xena/route \ -&& go run ./cmd/mage/main.go build \ +&& go run ./cmd/mage/main.go -v tools generate build \ && rm -rf /root/go/pkg /root/go/bin diff --git a/Gopkg.lock b/Gopkg.lock index 57ccb14..04ade6f 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -229,12 +229,6 @@ packages = ["."] revision = "3acf1b3de25d89c7688c63bb45f6b07f566555ec" -[[projects]] - branch = "master" - name = "github.com/elazarl/go-bindata-assetfs" - packages = ["."] - revision = "30f82fa23fd844bd5bb1e5f216db87fd77b5eb43" - [[projects]] branch = "master" name = "github.com/facebookgo/flagenv" @@ -253,6 +247,12 @@ revision = "32e4c1e6bc4e7d0d8451aa6b75200d19e37a536a" version = "v1.32.0" +[[projects]] + branch = "master" + name = "github.com/go-serve/bindatafs" + packages = ["."] + revision = "1f30d36183f010db5e83986b3554c1a1d9f32d47" + [[projects]] branch = "master" name = "github.com/golang/protobuf" @@ -907,6 +907,15 @@ ] revision = "e19ae1496984b1c655b8044a65c0300a3c878dd3" +[[projects]] + branch = "master" + name = "golang.org/x/tools" + packages = [ + "godoc/vfs", + "godoc/vfs/httpfs" + ] + revision = "99037e3760ed7d9c772c980caee42b17779b80ce" + [[projects]] branch = "master" name = "google.golang.org/genproto" @@ -983,6 +992,6 @@ [solve-meta] analyzer-name = "dep" analyzer-version = 1 - inputs-digest = "7ecddb07636e18d58d1f17cba24e6d08f8480c86449337ca64ac0812b1af1cf5" + inputs-digest = "d000c14171581755a2ee37649cb969d019d9c197928028a87e83e3ec729421aa" solver-name = "gps-cdcl" solver-version = 1 diff --git a/cmd/construct/main.go b/cmd/construct/main.go index 416d7fe..970469d 100644 --- a/cmd/construct/main.go +++ b/cmd/construct/main.go @@ -17,6 +17,7 @@ import ( "github.com/ailncode/gluaxmlpath" "github.com/cjoudrey/gluahttp" "github.com/cjoudrey/gluaurl" + "github.com/go-serve/bindatafs" "github.com/kohkimakimoto/gluaenv" "github.com/kohkimakimoto/gluafs" "github.com/kohkimakimoto/gluaquestion" @@ -28,6 +29,7 @@ import ( "github.com/otm/gluash" "github.com/yuin/gluare" lua "github.com/yuin/gopher-lua" + "golang.org/x/tools/godoc/vfs/httpfs" json "layeh.com/gopher-json" ) @@ -47,6 +49,8 @@ func init() { cfgHome = flag.String("home", filepath.Join(hDir, ".construct"), "construct's home directory") netrcFile = flag.String("netrc", filepath.Join(hDir, ".netrc"), "location of netrc file to use for authentication") defaultServer = flag.String("default-server", "https://api.route.xeserv.us:7268", "api server to connect to") + + log.SetFlags(log.LstdFlags | log.Llongfile) } func main() { @@ -70,10 +74,12 @@ func main() { fout.Close() } + efs := bindatafs.New("core://", edata.Asset, edata.AssetDir, edata.AssetInfo) + opts := []eclier.RouterOption{ eclier.WithGluaCreationHook(preload), eclier.WithScriptHome(scriptsLoc), - eclier.WithFilesystem("protogen", edata.AssetFS()), + eclier.WithFilesystem("/bindata:core/", httpfs.New(efs)), } err := filepath.Walk(pluginLoc, func(path string, info os.FileInfo, err error) error { diff --git a/mage.go b/mage.go index e7b16c1..d83d6b7 100644 --- a/mage.go +++ b/mage.go @@ -6,18 +6,19 @@ import ( "context" "fmt" "io/ioutil" - "log" "os" "path/filepath" "runtime" "github.com/jtolds/qod" "github.com/magefile/mage/mg" + "github.com/olekukonko/tablewriter" ) var wd string var arches []string var bins []string +var tools []string func init() { lwd, err := os.Getwd() @@ -27,6 +28,13 @@ func init() { arches = []string{"amd64", "ppc64", "386", "arm", "arm64"} bins = []string{"route-httpagent", "route-cli", "routed", "terraform-provider-route", "construct"} + tools = []string{ + "github.com/golang/dep/cmd/dep", + "github.com/golang/protobuf/protoc-gen-go", + "github.com/twitchtv/twirp/protoc-gen-twirp", + "github.com/Xe/twirp-codegens/cmd/protoc-gen-twirp_eclier", + "github.com/jteeuwen/go-bindata/go-bindata", + } } const pkgBase = "git.xeserv.us/xena/route/" @@ -65,9 +73,9 @@ func Docker() { ver, err := gitTag() qod.ANE(err) - shouldWork(ctx, nil, wd, "docker", "build", "-t", "xena/route-core", "-f", "Dockerfile.core", ".") - shouldWork(ctx, nil, wd, "docker", "build", "-t", "xena/routed:"+ver, "-f", "Dockerfile.routed", ".") - shouldWork(ctx, nil, wd, "docker", "build", "-t", "xena/route-httpagent:"+ver, "-f", "Dockerfile.agent", ".") + shouldWork(ctx, nil, wd, "docker", "build", "-t", "xena/route-core", ".") + shouldWork(ctx, nil, wd+"/run", "docker", "build", "-t", "xena/routed:"+ver, "-f", "Dockerfile.routed", ".") + shouldWork(ctx, nil, wd+"/run", "docker", "build", "-t", "xena/route-httpagent:"+ver, "-f", "Dockerfile.agent", ".") } // Linux builds binaries for linux @@ -91,10 +99,6 @@ func Darwin() { // Build builds the binaries for route and routed. func Build() { buildBins(runtime.GOOS, runtime.GOARCH) - - if runtime.GOOS == "linux" { - Plugin() - } } // Plugin builds all of the plugins for programs wanting to augment themselves with route. @@ -164,17 +168,8 @@ func Test() { // Tools installs all of the needed tools for the project. func Tools(ctx context.Context) { - tools := []string{ - "github.com/golang/dep/cmd/dep", - "github.com/golang/protobuf/protoc-gen-go", - "github.com/twitchtv/twirp/protoc-gen-twirp", - "github.com/Xe/twirp-codegens/cmd/protoc-gen-twirp_eclier", - "github.com/jteeuwen/go-bindata/go-bindata", - "github.com/elazarl/go-bindata-assetfs/go-bindata-assetfs", - } - for _, t := range tools { - shouldWork(ctx, nil, wd, "go", "get", "-u", t) + shouldWork(ctx, nil, wd, "go", "get", "-v", "-u", t) } } @@ -183,27 +178,21 @@ func Generate(ctx context.Context) { dir := filepath.Join(wd, "proto") shouldWork(ctx, nil, dir, "sh", "./regen.sh") - - e, err := asarPack("./proto/eclier") - if err != nil { - log.Fatal(err) - } - - fout, err := os.Create("./bin/scripts.asar") - if err != nil { - log.Fatal(err) - } - defer fout.Close() - - e.EncodeTo(fout) - - shouldWork(ctx, nil, filepath.Join("./proto/eclier"), "go-bindata-assetfs", "-pkg", "eclier_data", ".") + shouldWork(ctx, nil, filepath.Join(dir, "eclier"), "go-bindata", "-pkg", "edata", "-ignore", "bindata.go", ".") } // Vars shows the various variables that this magefile uses. func Vars() { - qod.Printlnf("arches:\t%v", arches) - qod.Printlnf("goarch:\t%s", runtime.GOARCH) - qod.Printlnf("goos:\t%s", runtime.GOOS) - qod.Printlnf("wd:\t%s", wd) + table := tablewriter.NewWriter(os.Stdout) + + table.SetHeader([]string{"key", "value"}) + + table.Append([]string{"arches", fmt.Sprint(arches)}) + table.Append([]string{"bins", fmt.Sprint(bins)}) + table.Append([]string{"goarch", runtime.GOARCH}) + table.Append([]string{"goos", runtime.GOOS}) + table.Append([]string{"tools", fmt.Sprint(tools)}) + table.Append([]string{"wd", wd}) + + table.Render() } diff --git a/proto/eclier/assetfs.go b/proto/eclier/assetfs.go deleted file mode 100644 index 6c65710..0000000 --- a/proto/eclier/assetfs.go +++ /dev/null @@ -1,7 +0,0 @@ -package eclier_data - -import "net/http" - -func AssetFS() http.FileSystem { - return assetFS() -} diff --git a/proto/eclier/bindata.go b/proto/eclier/bindata.go new file mode 100644 index 0000000..fd21d68 --- /dev/null +++ b/proto/eclier/bindata.go @@ -0,0 +1,465 @@ +// Code generated by go-bindata. +// sources: +// route_twirp_eclier_backends_kill.lua +// route_twirp_eclier_backends_list.lua +// route_twirp_eclier_routes_delete.lua +// route_twirp_eclier_routes_get.lua +// route_twirp_eclier_routes_get_all.lua +// route_twirp_eclier_routes_put.lua +// route_twirp_eclier_tokens_deactivate.lua +// route_twirp_eclier_tokens_delete.lua +// route_twirp_eclier_tokens_get.lua +// route_twirp_eclier_tokens_get_all.lua +// route_twirp_eclier_tokens_put.lua +// DO NOT EDIT! + +package edata + +import ( + "bytes" + "compress/gzip" + "fmt" + "io" + "io/ioutil" + "os" + "path/filepath" + "strings" + "time" +) + +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 { + 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 _route_twirp_eclier_backends_killLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x5c\x52\x4d\x6b\xdc\x30\x10\xbd\xeb\x57\x3c\x74\xb2\x21\x36\xdb\x43\x2f\x0b\xbe\xb4\xc9\x21\x50\x1a\x28\xe9\xa9\x84\xa2\x95\xc7\xb6\x58\xaf\xe4\xce\x48\x4e\xfa\xef\x8b\xe4\xec\x47\x73\x30\x58\x7a\xef\xcd\x7b\x33\xa3\xa6\xc1\xd7\xd0\x13\x46\xf2\xc4\x26\x52\x8f\xc3\x5f\x2c\x1c\x62\xb0\xcd\x48\xbe\x89\xaf\x8e\x97\xdf\x64\x67\x47\x8c\xf5\x73\xbb\x6b\x77\xf7\x4f\xf8\xfe\xf4\x8c\x87\xfb\xc7\x67\xd5\x34\x90\x90\xd8\xd2\x1e\x1c\x52\xa4\xb6\x48\x95\x12\xcb\x6e\x89\xed\x4a\x7c\x40\x07\x7d\x30\xf6\x48\xbe\x97\xfd\xd1\xcd\xb3\x3e\xa3\x13\xcd\x4b\x46\x1f\xde\xc8\xa6\x48\x82\x13\xc5\x29\xf4\xc8\x24\x04\x0f\x21\x5e\x9d\x25\x9c\xd5\x18\x02\xa3\x04\xc2\x62\xec\xd1\x8c\x84\x37\xca\xa4\x36\x49\xbb\xd9\x9f\xa9\x17\x0f\x93\xe2\x14\x38\xbb\x9c\x8c\x9d\x9c\xa7\xe6\xd2\xa9\xbe\x49\x29\x2e\xf8\x4c\xda\x3a\xbc\x20\x49\xb2\x49\x07\xad\x95\x9a\x83\x35\x33\x86\xd9\x8c\xe8\xc0\xf4\x27\x39\x26\xe8\x7c\xd6\xef\x98\xac\xf6\x16\x92\xd5\x5e\x65\x82\xae\x68\x5b\x4f\xaf\x55\xad\xf2\xe0\xf2\x71\xeb\xe9\xcb\x96\xfa\xb1\x57\x83\xec\x25\xb2\xf3\x63\xa5\x5d\xaf\xef\xa0\xf3\xb7\x9a\x39\x51\x21\x9e\x48\x4a\x22\xc3\x23\x5c\xaf\x6b\xf5\x31\xe8\x20\xfb\xf2\x9b\x2d\x86\xe4\x6d\xcc\x7d\x71\xf2\x95\xe1\xb1\x56\x80\x1b\xb2\xf6\xd7\xa7\x17\x74\x1d\x74\x93\x37\xa0\x11\xf8\xbf\xcb\xf7\xdb\x38\x91\x57\x00\xb0\xb0\xf3\xb1\xba\x56\xae\xcb\x2d\x53\x4c\x9c\x09\xe4\x7b\xa5\x50\x2a\xec\x5e\xd0\xe1\x66\xf5\x0a\xb8\x4e\x4d\xb6\x78\x8b\x61\xa1\x2d\xce\x05\x66\x92\xfc\x10\x64\xb5\x65\x3c\x66\x71\x3f\x7f\x7c\xbb\x43\x0c\x47\xf2\xf5\xfe\xbc\xd3\xaa\x2e\xcf\xa7\x2a\xc5\x6a\xa5\xb2\xf1\xbf\x00\x00\x00\xff\xff\x9b\x1b\x96\x37\xbf\x02\x00\x00") + +func route_twirp_eclier_backends_killLuaBytes() ([]byte, error) { + return bindataRead( + _route_twirp_eclier_backends_killLua, + "route_twirp_eclier_backends_kill.lua", + ) +} + +func route_twirp_eclier_backends_killLua() (*asset, error) { + bytes, err := route_twirp_eclier_backends_killLuaBytes() + if err != nil { + return nil, err + } + + info := bindataFileInfo{name: "route_twirp_eclier_backends_kill.lua", size: 703, mode: os.FileMode(420), modTime: time.Unix(1516605524, 0)} + a := &asset{bytes: bytes, info: info} + return a, nil +} + +var _route_twirp_eclier_backends_listLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x52\xc1\x6e\xdb\x3a\x10\xbc\xf3\x2b\x06\x3c\x59\x40\x24\xe4\x1d\xde\x45\x80\x2e\x6d\x72\x28\x50\x34\x40\x9b\x9e\x9a\xa0\xa0\xa9\x95\x4c\x44\x26\xd5\x5d\x52\x49\xff\xbe\x20\x65\xd9\x6e\x81\xf6\x60\xc0\xdc\x99\xd9\x9d\x5d\x4d\x5d\xe3\x7d\xe8\x09\x23\x79\x62\x13\xa9\xc7\xfe\x27\x66\x0e\x31\xd8\x7a\x24\x5f\xc7\x57\xc7\xf3\x77\xb2\x93\x23\xc6\xf2\x7f\x73\xdb\xdc\xde\x3d\xe0\xd3\xc3\x23\xee\xef\x3e\x3c\xaa\xba\x86\x84\xc4\x96\x5a\x70\x48\x91\x9a\x22\x55\x4a\x2c\xbb\x39\x36\x0b\xf1\x1e\x1d\xf4\xde\xd8\x17\xf2\xbd\xb4\x93\x93\xa8\x37\xf4\x40\xd3\x9c\xd1\xfb\x37\xb2\x29\x92\xe0\x48\xf1\x10\x7a\x64\x12\x82\x87\x10\x2f\xce\x12\x36\x35\x86\xc0\x28\x86\x30\x1b\xfb\x62\x46\xc2\x1b\x65\x52\x93\xa4\x59\xc7\x6f\xd4\xf3\x0c\x93\xe2\x21\x70\x9e\x72\x34\xf6\xe0\x3c\xd5\xe7\x4d\xf5\x95\x4b\x71\xc1\x67\xd2\xba\xe1\x19\x49\x92\x87\x74\xd0\x5a\xa9\x29\x58\x33\x61\x98\xcc\x88\x0e\x4c\x3f\x92\x63\x82\xce\x6f\x7d\xc2\x64\xb1\xd7\x90\x2c\xf6\x22\x13\x74\x45\xdb\x78\x7a\xdd\x55\x2a\x1f\x2e\x3f\xd7\x9d\xde\xad\xae\xbf\xd0\x44\x36\x06\x56\x83\xb4\x12\xd9\xf9\x71\xa7\xfb\x70\x34\xce\xeb\x1b\xe8\xfc\x5b\xcc\x94\xa8\x48\x8e\x24\xc5\x9b\xe1\x11\x27\x4e\x75\xad\x4b\x42\xfc\x6f\x55\x61\x54\xea\xcf\x55\x07\x69\xcb\xdf\x6c\x72\x48\xde\xc6\x7c\x19\x4e\x7e\x67\x78\xac\x14\xe0\x86\xac\xfe\xf6\xdf\x33\xba\x0e\xba\xce\xdf\x50\x23\xf0\x6f\xc5\x53\x35\x1e\xc8\x2b\x00\x98\xd9\xf9\xb8\xbb\x74\xae\x4a\x95\x29\x26\xce\x04\xf2\xbd\x52\x28\x1d\x6e\x9f\xd1\xe1\x2a\x3c\x0a\xb8\xdc\x5d\x56\x7b\xb3\x61\xa1\xd5\xce\x19\x66\x92\x1c\x25\x59\x6c\x39\xb0\x99\xdd\xd7\xcf\x1f\x6f\x10\xc3\x0b\xf9\xaa\xdd\x52\xb1\xab\x4a\x00\x77\xa5\x59\x51\xaf\xce\xf4\x5e\xda\xa7\xf8\x14\x35\x9a\x06\x31\x9c\x6e\x98\x7b\x36\x7b\x29\x6e\x37\xde\x96\xe3\xbf\xb1\x4f\x78\x55\xa9\xbc\xd4\xaf\x00\x00\x00\xff\xff\x5b\x4a\x7f\xf6\x5d\x03\x00\x00") + +func route_twirp_eclier_backends_listLuaBytes() ([]byte, error) { + return bindataRead( + _route_twirp_eclier_backends_listLua, + "route_twirp_eclier_backends_list.lua", + ) +} + +func route_twirp_eclier_backends_listLua() (*asset, error) { + bytes, err := route_twirp_eclier_backends_listLuaBytes() + if err != nil { + return nil, err + } + + info := bindataFileInfo{name: "route_twirp_eclier_backends_list.lua", size: 861, mode: os.FileMode(420), modTime: time.Unix(1516605524, 0)} + a := &asset{bytes: bytes, info: info} + return a, nil +} + +var _route_twirp_eclier_routes_deleteLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x52\x4f\x6b\xdc\x3e\x10\xbd\xeb\x53\x3c\x74\xb2\x21\x36\xfb\x3b\xfc\x2e\x06\x9f\x9a\x1c\x0a\xa5\x81\x90\x9e\x4a\x28\x8a\x3c\xb6\x45\xbc\x92\x3b\x23\x39\xe9\xb7\x2f\x92\x37\xbb\x9b\x1e\x72\x30\x58\xf3\xde\x9b\x79\xf3\xa7\x69\xf0\x25\x0c\x84\x89\x3c\xb1\x89\x34\xe0\xf9\x0f\x56\x0e\x31\xd8\x66\x22\xdf\xc4\x57\xc7\xeb\x2f\xb2\x8b\x23\xc6\xf6\x7f\x7b\x68\x0f\xb7\xf7\xf8\x7e\xff\x88\xbb\xdb\xaf\x8f\xaa\x69\x20\x21\xb1\xa5\x0e\x1c\x52\xa4\xb6\x48\x95\x12\xcb\x6e\x8d\xed\x46\xfc\x8c\x1e\xba\x60\xd2\x0d\xb4\x50\x24\xfd\x8e\xce\xb4\xac\x19\xbd\x7b\x23\x9b\x71\x1c\x29\xce\x61\xc0\x4e\x43\xf0\x10\xe2\xcd\x59\xda\x73\x0b\xc6\xc0\x28\x86\xb0\x1a\xfb\x62\x26\xc2\x1b\x65\x4a\x9b\xa4\xdd\xcb\xef\xc4\x73\x05\x93\xe2\x1c\x38\xd7\x38\x1a\x3b\x3b\x4f\xcd\xb9\x4f\x7d\xe5\x51\x5c\xf0\x99\xb4\xf7\x77\x46\x92\xe4\x12\x3d\xb4\x56\x6a\x09\xd6\x2c\x18\x17\x33\xa1\x07\xd3\xef\xe4\x98\xa0\xf3\x5b\x9f\x30\xd9\xec\x35\x24\x9b\xbd\xc8\x04\x7d\xd1\xb6\x9e\x5e\xab\x5a\xe5\xb1\xe5\xe7\xde\xd1\x43\xf6\xac\x46\xe9\x24\xb2\xf3\x53\xa5\xdd\xa0\x6f\xa0\xf3\xb7\x99\x25\x51\x21\x1d\x49\x8a\x1b\xc3\x13\xdc\xa0\xeb\x6b\xbe\x65\x32\x31\xf0\xe7\xa2\x77\xd2\x07\xe5\x1c\x24\x7e\x2e\x2b\x8c\x5a\xfd\x3b\x92\x51\xba\xf2\x9b\x9b\x19\x93\xb7\x31\x4f\x90\x93\xaf\x0c\x4f\xb5\x02\xdc\x98\xd5\x3f\xff\x7b\x42\xdf\x43\x37\x79\xd3\x1a\x81\x3f\x04\x4f\xd1\x38\x93\x57\x00\xb0\xb2\xf3\xb1\xba\x64\xae\x4b\x94\x29\x26\xce\x04\xf2\x83\x52\x28\x19\x0e\x4f\xe8\x71\x75\x62\x0a\xb8\xec\x47\x76\x7b\xab\x61\xa1\xdd\xce\x19\x66\x92\x7c\x70\xb2\xd9\xb2\x08\xb3\xba\x1f\x0f\xdf\x6e\x10\xc3\x0b\xf9\xba\xdb\x6f\xa7\xaa\x4f\x67\x5a\x95\x64\xb5\x52\xb9\xf0\xdf\x00\x00\x00\xff\xff\x75\x1a\x14\x61\x27\x03\x00\x00") + +func route_twirp_eclier_routes_deleteLuaBytes() ([]byte, error) { + return bindataRead( + _route_twirp_eclier_routes_deleteLua, + "route_twirp_eclier_routes_delete.lua", + ) +} + +func route_twirp_eclier_routes_deleteLua() (*asset, error) { + bytes, err := route_twirp_eclier_routes_deleteLuaBytes() + if err != nil { + return nil, err + } + + info := bindataFileInfo{name: "route_twirp_eclier_routes_delete.lua", size: 807, mode: os.FileMode(420), modTime: time.Unix(1516605524, 0)} + a := &asset{bytes: bytes, info: info} + return a, nil +} + +var _route_twirp_eclier_routes_getLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x84\x52\x4d\x6b\xdc\x30\x10\xbd\xeb\x57\x3c\x74\x5a\x43\x6c\xd2\x43\x2f\x06\x9f\x9a\x50\x0a\xa5\x81\x90\x9e\x9a\x50\x14\x79\x6c\x8b\x38\x92\x33\x92\x9c\xf4\xdf\x97\x91\xdd\xdd\x6d\x21\xf4\xb0\xb0\x9a\xf7\x31\x6f\xc6\x53\xd7\xf8\x14\x7a\xc2\x48\x9e\xd8\x24\xea\xf1\xf8\x0b\x0b\x87\x14\x6c\x3d\x92\xaf\xd3\xab\xe3\xe5\x27\xd9\xd9\x11\x63\xfd\xd8\x5c\x36\x97\x57\x37\xf8\x76\x73\x87\xeb\xab\x2f\x77\xaa\xae\x11\x43\x66\x4b\x2d\x38\xe4\x44\x4d\x91\x2a\x15\x2d\xbb\x25\x35\x2b\xf1\x23\x3a\xe8\x82\xc5\x76\xa4\xa4\xff\x40\x13\xcd\x8b\x40\xd7\x6f\x64\x05\xc4\x33\xa5\x29\xf4\x18\x29\x21\x78\x44\xe2\xd5\x59\xda\x5c\x23\x86\xc0\x28\x51\xb0\x18\xfb\x64\x46\xc2\x1b\x09\xa5\xc9\xb1\xd9\x1a\x6f\xc4\xa3\xbd\xc9\x69\x0a\x2c\x0d\x9e\x8d\x9d\x9c\xa7\xfa\x38\xa1\x3e\x4b\x17\x5d\xf0\x42\xda\x26\x3b\x22\x39\x4a\x8b\x0e\x5a\x2b\x35\x07\x6b\x66\x0c\xb3\x19\xd1\x81\xe9\x25\x3b\x26\x68\x79\xeb\x1d\x8b\xab\x3d\x87\xe2\x6a\x4f\xb2\x88\xae\x68\x1b\x4f\xaf\x87\x4a\xc9\xc2\xe4\xb9\x4d\xf4\x99\xd2\xad\xc4\xbe\xa5\x97\x4c\x31\xa9\x21\xb6\x31\xb1\xf3\xe3\x41\x67\x9f\x23\xf5\xfa\x02\x5a\x7e\xab\x99\x33\x15\xc9\x33\xc5\x92\xcd\xf0\x88\x9d\x53\x9d\xeb\xdc\x7f\x34\x4e\xf8\xff\x8e\x39\xc4\xb6\xfc\x95\x80\x43\xf6\x36\xc9\x56\x38\xfb\x83\xe1\xb1\x52\x80\x1b\x44\xfb\xe3\xc3\x03\xba\x0e\xba\x96\x4f\xa7\x11\xf8\xaf\xe2\x5e\x4d\x13\x79\x05\x00\x0b\x3b\x9f\x0e\x27\xe7\xaa\x54\x99\x52\x66\x21\x90\xef\x95\x42\x71\xb8\x7c\x40\x87\xb3\x83\x51\xc0\x69\xe7\x71\x8b\xb7\x18\x8e\xb4\xc5\x39\xc2\x4c\x51\x2e\x28\xae\xb6\x2c\xd7\x2c\xee\xfb\xed\xd7\x0b\xa4\xf0\x44\xbe\x6a\xb7\x7b\x38\x54\x72\x74\x87\xe2\x54\xa4\x5b\x2c\xed\xfa\xf6\x3e\xdd\x27\x8d\xa6\x41\x0a\xfb\xf2\xc4\xb0\x71\x7d\x89\xba\xf3\x2c\x93\x49\x81\xdf\x23\xef\xf0\xb9\x62\x0a\x31\xbd\x47\x17\xac\xaa\x94\xcc\xfe\x3b\x00\x00\xff\xff\x07\xd9\x95\x3a\x78\x03\x00\x00") + +func route_twirp_eclier_routes_getLuaBytes() ([]byte, error) { + return bindataRead( + _route_twirp_eclier_routes_getLua, + "route_twirp_eclier_routes_get.lua", + ) +} + +func route_twirp_eclier_routes_getLua() (*asset, error) { + bytes, err := route_twirp_eclier_routes_getLuaBytes() + if err != nil { + return nil, err + } + + info := bindataFileInfo{name: "route_twirp_eclier_routes_get.lua", size: 888, mode: os.FileMode(420), modTime: time.Unix(1516605524, 0)} + a := &asset{bytes: bytes, info: info} + return a, nil +} + +var _route_twirp_eclier_routes_get_allLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x5c\x52\x4d\x6f\xdd\x20\x10\xbc\xf3\x2b\x46\x9c\x6c\xa9\xb6\x5e\x0f\xbd\x3c\xc9\xa7\x26\x87\x4a\x55\x22\x55\xe9\xa9\x89\x22\xc2\x5b\xdb\x28\x0e\xb8\xcb\xe2\xa4\xff\xbe\x02\xde\x57\x7b\x83\x9d\xd9\xd9\x19\x96\xae\xc3\xd7\x70\x20\x4c\xe4\x89\x8d\xd0\x01\x2f\x7f\xb0\x72\x90\x60\xbb\x89\x7c\x27\xef\x8e\xd7\x67\xb2\x8b\x23\xc6\xf6\xa5\xdf\xf5\xbb\x9b\x7b\xdc\xdd\x3f\xe0\xf6\xe6\xdb\x83\xea\x3a\xc4\x90\xd8\xd2\x1e\x1c\x92\x50\x5f\x5a\x95\x8a\x96\xdd\x2a\xfd\x46\xfc\x82\x01\xba\x60\x71\x3f\x91\x3c\x9b\x65\xd1\x27\x78\xa6\x65\xcd\xf0\xed\x07\xd9\x4c\xc0\x1b\xc9\x1c\x0e\x38\xf2\x10\x3c\x22\xf1\xe6\x2c\x55\xf5\x88\x31\x30\x8a\x25\xac\xc6\xbe\x9a\x89\xf0\x41\x99\xd2\xa7\xd8\x57\x03\x95\x78\x1e\x61\x92\xcc\x81\xf3\x90\x37\x63\x67\xe7\xa9\x3b\x27\xd5\x57\x2e\xa3\x0b\x3e\x93\x6a\xc2\x33\x92\x62\x1e\x31\x40\x6b\xa5\x96\x60\xcd\x82\x71\x31\x13\x06\x30\xfd\x4e\x8e\x09\x3a\xdf\xf5\x11\x8b\x9b\xbd\x86\xe2\x66\x2f\x6d\x11\x43\xe9\xed\x3d\xbd\x37\xad\xca\x0f\x97\xaf\x35\xd1\x9d\x5b\xd4\xff\x23\xc7\xb8\x2f\xc7\x4c\x1e\x93\xb7\x92\x1d\x72\xf2\x8d\xe1\xa9\x55\x80\x1b\x61\x78\xfa\xf5\xf9\x09\xc3\x00\xdd\xe5\xa7\xd4\x08\xfc\x4f\xf1\x58\x95\x99\xbc\x02\x80\x95\x9d\x97\xe6\xa2\xdc\x96\x2a\x93\x24\xce\x04\xf2\x07\xa5\x50\x14\x76\x4f\x18\x70\xb5\x44\x05\x5c\xf2\xc7\x6a\x6f\x35\x1c\xa9\xda\x39\xc3\x4c\x31\x6f\x34\x6e\xb6\x04\x35\xab\xfb\xf9\xe3\xfb\x27\x48\x78\x25\xdf\xee\xeb\x6e\x9a\xf6\xf4\x11\x9a\xa2\x56\xda\xab\xb5\xd3\x47\x79\x94\x47\xd1\xe8\x7b\x48\x88\xc2\xce\x4f\x4d\x16\x3e\xee\xb6\x6d\x55\x76\xfa\x37\x00\x00\xff\xff\xd4\xa1\xe0\x99\xba\x02\x00\x00") + +func route_twirp_eclier_routes_get_allLuaBytes() ([]byte, error) { + return bindataRead( + _route_twirp_eclier_routes_get_allLua, + "route_twirp_eclier_routes_get_all.lua", + ) +} + +func route_twirp_eclier_routes_get_allLua() (*asset, error) { + bytes, err := route_twirp_eclier_routes_get_allLuaBytes() + if err != nil { + return nil, err + } + + info := bindataFileInfo{name: "route_twirp_eclier_routes_get_all.lua", size: 698, mode: os.FileMode(420), modTime: time.Unix(1516605524, 0)} + a := &asset{bytes: bytes, info: info} + return a, nil +} + +var _route_twirp_eclier_routes_putLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x52\xcd\x6a\xdc\x3c\x14\xdd\xeb\x29\x0e\x5a\x8d\x21\x36\xf9\x16\xdf\xc6\xe0\x55\x93\x45\xa1\x34\x10\xd2\x55\x13\x8a\x22\x5f\xdb\x22\x8e\xe4\x5e\x49\x4e\xfa\xf6\xe5\xca\xce\xcc\xa4\x90\x2c\x0c\x96\xce\x8f\xce\xfd\xa9\x6b\x7c\x09\x3d\x61\x24\x4f\x6c\x12\xf5\x78\xfc\x83\x85\x43\x0a\xb6\x1e\xc9\xd7\xe9\xc5\xf1\xf2\x8b\xec\xec\x88\xb1\xfe\xdf\x5c\x36\x97\x57\x37\xf8\x7e\x73\x87\xeb\xab\xaf\x77\xaa\xae\x11\x43\x66\x4b\x2d\x38\xe4\x44\x4d\x91\x2a\x15\x2d\xbb\x25\x35\x2b\xf1\x23\x3a\xe8\x82\xc5\x76\xc9\x49\xbf\x41\x13\xcd\x8b\x40\xd7\xaf\x64\x05\xc4\x33\xa5\x29\xf4\x58\x72\x42\xf0\x88\xc4\xab\xb3\xb4\xb9\x46\x0c\x81\x51\xa2\x60\x31\xf6\xc9\x8c\x84\x57\x12\x4a\x93\x63\xb3\x3d\xbc\x11\x8f\xf6\x26\xa7\x29\xb0\x3c\xf0\x6c\xec\xe4\x3c\xd5\xc7\x0a\xf5\x59\xba\xe8\x82\x17\xd2\x56\xd9\x11\xc9\x51\x9e\xe8\xa0\xb5\x52\x73\xb0\x66\xc6\x30\x9b\x11\x1d\x98\x7e\x67\xc7\x04\x2d\x67\xbd\x63\x71\xb5\xe7\x50\x5c\xed\x49\x16\xd1\x15\x6d\xe3\xe9\xe5\x50\x29\x69\x98\x1c\xb7\x8a\x6e\x25\xb3\x1a\x62\x1b\x13\x3b\x3f\x1e\xf4\x14\x62\xd2\x17\xd0\xf2\xad\x66\xce\x54\x68\xcf\x14\x4b\x1e\xc3\x23\x0a\xa3\x3a\xd7\xb8\xfe\x73\x85\xeb\xdf\xf3\x2d\x93\x49\x81\x3f\x17\xbd\x91\x2a\xf5\x6f\x4b\x86\xd8\x96\x5f\x29\x66\xc8\xde\x26\xe9\x20\x67\x7f\x30\x3c\x56\x0a\x70\x83\x18\xfc\xfc\xef\x01\x5d\x07\x5d\xcb\x98\x35\x02\xbf\xbb\xdc\x6f\xd3\x44\x5e\x01\xc0\xc2\xce\xa7\xc3\xc9\xb9\x2a\xb7\x4c\x29\xb3\x10\xc8\xf7\x4a\xa1\x38\x5c\x3e\xa0\xc3\xd9\x72\x29\xe0\x34\x9f\xb8\xc5\x5b\x0c\x47\xda\xe2\x1c\x61\xa6\x28\xdb\x16\x57\x5b\x06\x61\x16\xf7\xe3\xf6\xdb\x05\x52\x78\x22\x5f\xb5\xdb\xee\x1c\x2a\x59\xd0\x43\x71\x2a\xd2\x2d\x96\x76\x7d\x7b\x9f\xee\x93\x46\xd3\x20\x85\xbd\x8d\x62\xd8\xb8\xbe\x44\xdd\x79\x7b\xcf\x3e\x22\xef\xf0\xb9\x42\x86\xf9\x11\x5d\xb0\xaa\x52\x52\xfb\xdf\x00\x00\x00\xff\xff\x86\x08\x46\x8f\xa4\x03\x00\x00") + +func route_twirp_eclier_routes_putLuaBytes() ([]byte, error) { + return bindataRead( + _route_twirp_eclier_routes_putLua, + "route_twirp_eclier_routes_put.lua", + ) +} + +func route_twirp_eclier_routes_putLua() (*asset, error) { + bytes, err := route_twirp_eclier_routes_putLuaBytes() + if err != nil { + return nil, err + } + + info := bindataFileInfo{name: "route_twirp_eclier_routes_put.lua", size: 932, mode: os.FileMode(420), modTime: time.Unix(1516605524, 0)} + a := &asset{bytes: bytes, info: info} + return a, nil +} + +var _route_twirp_eclier_tokens_deactivateLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x92\x41\x6f\xdb\x30\x0c\x85\xef\xfa\x15\x0f\x3a\xd9\x40\x6c\x64\x87\x5d\x02\xf8\xb4\xf6\x30\x60\x58\x81\x21\x3b\x0d\xc5\xa0\xc8\xb4\x23\xd4\x91\x3c\x52\x72\xdb\x7f\x3f\x48\xce\x92\x74\x40\x7b\xb3\xc9\xef\x91\x8f\x14\x9b\x06\x5f\x42\x4f\x18\xc9\x13\x9b\x48\x3d\x0e\xaf\x98\x39\xc4\x60\x9b\x91\x7c\x13\x9f\x1d\xcf\xbf\xc9\x4e\x8e\x18\xcb\xe7\x76\xdb\x6e\xef\x1e\xf0\xfd\x61\x8f\xfb\xbb\xaf\x7b\xd5\x34\x90\x90\xd8\xd2\x0e\x1c\x52\xa4\xb6\x48\x95\x12\xcb\x6e\x8e\xed\x42\x7c\x40\x07\x1d\xc3\x13\x79\xd9\xf5\x64\x6c\x74\x8b\x89\xa4\xff\x11\x47\x9a\xe6\x4c\xdc\xbf\x90\x4d\x91\x04\x27\x8a\xc7\xd0\xe3\x8a\x22\x78\x08\xf1\xe2\x2c\x61\xad\x83\x21\x30\x8a\x31\xcc\xc6\x3e\x99\x91\xf0\x42\x19\x69\x93\xb4\xab\x8d\x15\xbc\x74\x31\x29\x1e\x03\xe7\x3e\x27\x63\x8f\xce\x53\x73\x99\x57\xdf\x78\x15\x17\x7c\x86\xd6\x39\x2f\x99\x24\xb9\x45\x07\xad\x95\x9a\x82\x35\x13\x86\xc9\x8c\xe8\xc0\xf4\x27\x39\x26\xe8\xfc\xaf\xcf\x39\x59\xec\x6d\x4a\x16\x7b\x95\x09\xba\xa2\x6d\x3d\x3d\x57\xb5\xca\xeb\xcb\xbf\xeb\x44\xfb\xec\x59\x0d\xb2\x3b\x84\x30\x55\xba\xcc\x4f\x7a\x83\xc1\x4c\x42\x1b\xe8\xc5\x4c\x89\x0a\x79\x22\x29\x96\x0c\x8f\x38\x63\x75\x16\x4a\x64\xe7\xc7\x4a\xbb\x5e\x6f\xa0\xf5\xbb\x1a\xd7\xbf\xe5\x0f\xa1\x7f\xfd\x58\x51\x88\x1b\x8d\x54\x5a\x6c\x98\x49\xde\x97\x9c\xf3\xb5\xfa\x7f\x8d\x83\xec\xca\x67\x5e\xc0\x90\xbc\x8d\x79\xeb\x9c\x7c\x65\x78\xac\x15\xe0\x86\xac\xff\xf5\xe9\x11\x5d\x07\xdd\xe4\x0b\xd1\x08\xfc\x26\x78\x8e\xc6\x23\x79\x05\x00\x33\x3b\x1f\xab\x6b\xe5\xba\x44\x99\x62\xe2\x0c\x90\xef\x95\x42\xa9\xb0\x7d\x44\x87\x9b\xf3\x54\xc0\xf5\x4d\x65\xb5\x37\x1b\x16\x5a\xed\x5c\xd2\x4c\x92\x0f\x55\x16\x5b\x1e\xcf\xcc\xee\xe7\x8f\x6f\x9b\xf5\x22\xeb\xdd\x7a\x6f\x55\x7d\x73\xe2\x55\x29\x58\x2b\x95\x9b\xff\x0d\x00\x00\xff\xff\x41\x42\x7e\x72\x67\x03\x00\x00") + +func route_twirp_eclier_tokens_deactivateLuaBytes() ([]byte, error) { + return bindataRead( + _route_twirp_eclier_tokens_deactivateLua, + "route_twirp_eclier_tokens_deactivate.lua", + ) +} + +func route_twirp_eclier_tokens_deactivateLua() (*asset, error) { + bytes, err := route_twirp_eclier_tokens_deactivateLuaBytes() + if err != nil { + return nil, err + } + + info := bindataFileInfo{name: "route_twirp_eclier_tokens_deactivate.lua", size: 871, mode: os.FileMode(420), modTime: time.Unix(1516605524, 0)} + a := &asset{bytes: bytes, info: info} + return a, nil +} + +var _route_twirp_eclier_tokens_deleteLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x52\xc1\x6a\xdc\x30\x10\xbd\xeb\x2b\x1e\x3a\xd9\x10\x9b\xed\xa1\x97\x05\x9f\x9a\x1c\x0a\xa5\x81\xb2\x3d\x95\x50\xb4\xf2\xd8\x2b\xe2\x95\xdc\x19\xc9\x49\xfe\xbe\x48\xde\xee\xba\x85\xf4\x60\xb0\xf4\xde\x9b\x79\x33\x7a\x4d\x83\x4f\xa1\x27\x8c\xe4\x89\x4d\xa4\x1e\xc7\x37\xcc\x1c\x62\xb0\xcd\x48\xbe\x89\x2f\x8e\xe7\x9f\x64\x27\x47\x8c\xe5\x63\xbb\x6b\x77\xf7\x8f\xf8\xfa\x78\xc0\xc3\xfd\xe7\x83\x6a\x1a\x48\x48\x6c\x69\x0f\x0e\x29\x52\x5b\xa4\x4a\x89\x65\x37\xc7\x76\x21\x3e\xa2\x83\x8e\xe1\x99\xbc\xec\x7b\x9a\x28\x92\xfe\x83\x9e\x68\x9a\x33\xfa\xf0\x4a\x36\x45\x12\x9c\x29\x9e\x42\x8f\x95\x86\xe0\x21\xc4\x8b\xb3\x84\x55\x8f\x21\x30\x8a\x21\xcc\xc6\x3e\x9b\x91\xf0\x4a\x99\xd2\x26\x69\xd7\xf6\x2b\xf1\xda\xc1\xa4\x78\x0a\x9c\x7b\x9c\x8d\x3d\x39\x4f\xcd\x75\x4e\xbd\xf1\x28\x2e\xf8\x4c\x5a\xe7\xbb\x22\x49\x72\x8b\x0e\x5a\x2b\x35\x05\x6b\x26\x0c\x93\x19\xd1\x81\xe9\x57\x72\x4c\xd0\xf9\xac\x2f\x98\x2c\x76\x0b\xc9\x62\x6f\x32\x41\x57\xb4\xad\xa7\x97\xaa\x56\x79\x6d\xf9\xb8\x4e\x74\xc8\x9e\xd5\x20\x7b\x89\xec\xfc\x58\x69\xd7\xeb\x3b\xe8\xfc\x2d\x66\x4a\x54\x48\x67\x92\xe2\xc6\xf0\x08\xd7\xeb\x7a\xcb\x3f\x86\xfe\xed\xff\x8a\xc2\xd8\x68\xa4\xd2\x62\xc3\x4c\xf2\xbe\xe4\x82\x17\xd1\x31\x84\xa9\xd2\xc6\x46\xb7\x90\xbe\xc3\x60\x26\xa1\x77\x85\x17\x5a\xad\xfe\x5d\xe3\x20\xfb\xf2\x9b\x17\x30\x24\x6f\x63\xde\x3a\x27\x5f\x19\x1e\x6b\x05\xb8\x21\xeb\x7f\x7c\x78\x42\xd7\x41\x37\x39\x1d\x1a\x81\xff\xba\xbc\xdc\xc6\x13\x79\x05\x00\x33\x3b\x1f\xab\x5b\xe5\xba\xdc\x32\xc5\xc4\x99\x40\xbe\x57\x0a\xa5\xc2\xee\x09\x1d\x36\xb1\x54\xc0\xed\x4d\x65\xb5\x37\x1b\x16\x5a\xed\x5c\x61\x26\xc9\x21\x95\xc5\x96\xc7\x33\xb3\xfb\xfe\xed\xcb\xdd\x9a\xc8\x7a\xbf\xe6\xad\xaa\x2f\xd1\xae\x4a\xb1\x5a\xa9\xdc\xf8\x77\x00\x00\x00\xff\xff\x50\xe4\x70\xe6\x5b\x03\x00\x00") + +func route_twirp_eclier_tokens_deleteLuaBytes() ([]byte, error) { + return bindataRead( + _route_twirp_eclier_tokens_deleteLua, + "route_twirp_eclier_tokens_delete.lua", + ) +} + +func route_twirp_eclier_tokens_deleteLua() (*asset, error) { + bytes, err := route_twirp_eclier_tokens_deleteLuaBytes() + if err != nil { + return nil, err + } + + info := bindataFileInfo{name: "route_twirp_eclier_tokens_delete.lua", size: 859, mode: os.FileMode(420), modTime: time.Unix(1516605524, 0)} + a := &asset{bytes: bytes, info: info} + return a, nil +} + +var _route_twirp_eclier_tokens_getLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x92\x41\x6b\xdc\x3e\x10\xc5\xef\xfa\x14\x0f\x9d\x6c\x88\x4d\xfe\x87\xff\xc5\xe0\x53\x13\x4a\xa1\x34\x10\xb6\xa7\x26\x14\xad\x3c\xf6\x8a\x78\x25\x67\x24\x39\xc9\xb7\x2f\x92\xb6\xbb\x6e\x61\x7b\x58\x58\xe9\xfd\xde\xe8\xcd\x78\x9a\x06\x9f\xdc\x40\x98\xc8\x12\xab\x40\x03\xf6\x1f\x58\xd8\x05\xa7\x9b\x89\x6c\x13\xde\x0c\x2f\x3f\x49\xcf\x86\x18\xeb\xff\xed\x6d\x7b\x7b\xf7\x80\x6f\x0f\x3b\xdc\xdf\x7d\xd9\x89\xa6\x81\x77\x91\x35\x75\x60\x17\x03\xb5\xd9\x2a\x84\xd7\x6c\x96\xd0\xae\xc4\x7b\xf4\x90\xc1\xbd\x90\xf5\xdd\x44\x41\xfe\x96\x0e\x34\x2f\x49\xba\x7f\x27\x1d\x03\x79\x1c\x29\x1c\xdc\x80\x89\x02\x9c\x85\x27\x5e\x8d\x26\x14\x27\x46\xc7\xc8\x51\xb0\x28\xfd\xa2\x26\xc2\x3b\x25\xa4\x8d\xbe\x2d\x0f\x17\xf0\x5c\x5e\xc5\x70\x70\x9c\x1e\x38\x2a\x7d\x30\x96\x9a\x73\x87\x72\x93\xce\x1b\x67\x13\x54\x3a\x3b\x2b\xd1\xa7\x27\x7a\x48\x29\xc4\xec\xb4\x9a\x31\xce\x6a\x42\x0f\xa6\xd7\x68\x98\x20\xd3\x59\x9e\x34\xbf\xea\xad\xe4\x57\x7d\xb1\x79\xf4\xd9\xdb\x5a\x7a\xab\x6a\x91\x06\x96\x8e\xa5\xa3\xcf\x14\x76\x29\xf6\x23\xbd\x46\xf2\x41\x8c\xbe\xf3\x81\x8d\x9d\x2a\x69\x06\x79\x03\x99\x7e\xab\x9a\x23\x65\xfc\x48\x3e\xe7\x52\x3c\xc1\x0c\xb2\xde\xf2\xb9\xfd\x7f\x5b\x0a\x52\x8b\xbf\x9b\x1c\x7d\x97\xff\xa6\x78\x63\xb4\x3a\xa4\x99\x70\xb4\x95\xe2\xa9\x16\x80\x19\x93\xfd\xc7\x7f\xcf\xe8\x7b\xc8\x26\x7d\x38\x09\xc7\x7f\x5c\x9e\x6e\xc3\x81\xac\x00\x80\x85\x8d\x0d\xd5\xa5\x72\x9d\x6f\x99\x42\xe4\x04\x90\x1d\x84\x40\xae\x70\xfb\x8c\x1e\x9b\x75\x11\xc0\x65\xe2\xbe\xc4\x5b\x14\x7b\x2a\x71\xce\x32\x93\x4f\xfb\xe3\x57\x9d\x47\xab\x16\xf3\xfd\xf1\xeb\x4d\x69\xb2\xee\xca\x36\x54\x75\x5a\xb9\x2a\x57\xca\xd6\x12\x4b\x9a\xa1\x7b\x0a\x4f\x41\xa2\x6d\x11\xdc\x69\x84\xa9\x60\x6b\x86\x1c\xf5\xc4\xed\xdd\xf0\x71\x8d\x4c\xda\x96\xf5\xda\x2d\xe4\xaf\xd1\x45\xdd\xf2\x4a\x07\xb3\xd2\x35\xbe\xa8\x75\x2d\xd2\xa4\x7e\x05\x00\x00\xff\xff\x6f\x53\x96\xcd\xa4\x03\x00\x00") + +func route_twirp_eclier_tokens_getLuaBytes() ([]byte, error) { + return bindataRead( + _route_twirp_eclier_tokens_getLua, + "route_twirp_eclier_tokens_get.lua", + ) +} + +func route_twirp_eclier_tokens_getLua() (*asset, error) { + bytes, err := route_twirp_eclier_tokens_getLuaBytes() + if err != nil { + return nil, err + } + + info := bindataFileInfo{name: "route_twirp_eclier_tokens_get.lua", size: 932, mode: os.FileMode(420), modTime: time.Unix(1516605524, 0)} + a := &asset{bytes: bytes, info: info} + return a, nil +} + +var _route_twirp_eclier_tokens_get_allLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x5c\x52\x4d\x6f\xdd\x20\x10\xbc\xf3\x2b\x46\x9c\x6c\xa9\xb6\x5e\x0f\xbd\x3c\xc9\xa7\x26\x87\x4a\x55\x22\x55\xe9\xa9\x89\x22\xc2\x5b\xdb\x28\x0e\xb8\xcb\xe2\xa4\xff\xbe\x02\xde\x57\x7b\x83\x9d\xd9\xdd\x19\x86\xae\xc3\xd7\x70\x20\x4c\xe4\x89\x8d\xd0\x01\x2f\x7f\xb0\x72\x90\x60\xbb\x89\x7c\x27\xef\x8e\xd7\x67\xb2\x8b\x23\xc6\xf6\xa5\xdf\xf5\xbb\x9b\x7b\xdc\xdd\x3f\xe0\xf6\xe6\xdb\x83\xea\x3a\xc4\x90\xd8\xd2\x1e\x1c\x92\x50\x5f\x5a\x95\x8a\x96\xdd\x2a\xfd\x46\xfc\x82\x01\x5a\xc2\x2b\xf9\xb8\x9f\x48\x9e\xcd\xb2\xe8\x13\x3c\xd3\xb2\x66\xf8\xf6\x83\x6c\x12\x8a\x78\x23\x99\xc3\x01\x47\x1e\x82\x47\x24\xde\x9c\x25\xd4\x09\x18\x03\xa3\x48\xc2\x6a\xec\xab\x99\x08\x1f\x94\x29\x7d\x8a\x7d\x15\x50\x89\xe7\x15\x26\xc9\x1c\x38\x2f\x79\x33\x76\x76\x9e\xba\xb3\x53\x7d\xa5\x32\xba\xe0\x33\xa9\x3a\x3c\x23\x29\xe6\x15\x03\xb4\x56\x6a\x09\xd6\x2c\x18\x17\x33\x61\x00\xd3\xef\xe4\x98\xa0\xf3\x5d\x1f\xb1\xb8\xd9\x6b\x28\x6e\xf6\xd2\x16\x31\x94\xde\xde\xd3\x7b\xd3\xaa\xfc\x70\xf9\x5a\x1d\xdd\xb9\x45\xfd\xbf\x72\x8c\xfb\x72\xcc\xe4\x31\x79\x2b\x59\x21\x27\xdf\x18\x9e\x5a\x05\xb8\x11\x86\xa7\x5f\x9f\x9f\x30\x0c\xd0\x5d\x7e\x4a\x8d\xc0\xff\x14\x8f\x55\x99\xc9\x2b\x00\x58\xd9\x79\x69\x2e\x93\xdb\x52\x65\x92\xc4\x99\x40\xfe\xa0\x14\xca\x84\xdd\x13\x06\x5c\x85\xa8\x80\x8b\xff\x58\xe5\xad\x86\x23\x55\x39\x67\x98\x29\xe6\x44\xe3\x66\x8b\x51\xb3\xba\x9f\x3f\xbe\x7f\xaa\xe9\xb5\xfb\x9a\x4d\xd3\x9e\x3e\x42\x53\xa6\x95\xf6\x2a\xed\xf4\x51\x1e\xe5\x51\x34\xfa\x1e\x12\xa2\xb0\xf3\x53\x93\x07\x1f\xb3\x6d\x5b\x95\x95\xfe\x0d\x00\x00\xff\xff\xe9\x8f\x90\xdc\xba\x02\x00\x00") + +func route_twirp_eclier_tokens_get_allLuaBytes() ([]byte, error) { + return bindataRead( + _route_twirp_eclier_tokens_get_allLua, + "route_twirp_eclier_tokens_get_all.lua", + ) +} + +func route_twirp_eclier_tokens_get_allLua() (*asset, error) { + bytes, err := route_twirp_eclier_tokens_get_allLuaBytes() + if err != nil { + return nil, err + } + + info := bindataFileInfo{name: "route_twirp_eclier_tokens_get_all.lua", size: 698, mode: os.FileMode(420), modTime: time.Unix(1516605524, 0)} + a := &asset{bytes: bytes, info: info} + return a, nil +} + +var _route_twirp_eclier_tokens_putLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x92\x41\x6b\xdc\x30\x10\x85\xef\xfa\x15\x0f\x9d\x6c\x88\x4d\x7a\xe8\xc5\xe0\x53\x93\x43\xa1\x34\x50\xd2\x53\x13\x8a\x56\x1e\x7b\x45\xbc\x92\xab\x91\x9c\xe4\xdf\x17\x49\xee\xae\x5b\xd8\x1e\x16\xd6\x7a\xdf\x1b\x3d\xcd\x4c\xd3\xe0\x93\x1b\x08\x13\x59\xf2\x2a\xd0\x80\xc3\x3b\x16\xef\x82\xd3\xcd\x44\xb6\x09\xaf\xc6\x2f\x3f\x49\xcf\x86\x3c\xd6\x8f\xed\x6d\x7b\x7b\xf7\x80\xaf\x0f\x8f\xb8\xbf\xfb\xfc\x28\x9a\x06\xec\xa2\xd7\xd4\xc1\xbb\x18\xa8\xcd\x56\x21\x58\x7b\xb3\x84\x76\x25\x7f\x40\x0f\x19\xdc\x0b\x59\xee\x96\x18\xe4\x1f\xe9\x48\xf3\x92\xa4\xfb\x37\xd2\x31\x10\xe3\x44\xe1\xe8\x06\x2c\x31\xc0\x59\x30\xf9\xd5\x68\x42\x71\x62\x74\x1e\x39\x0a\x16\xa5\x5f\xd4\x44\x78\xa3\x84\xb4\x91\xdb\x72\x71\x01\xcf\xe5\x55\x0c\x47\xe7\xd3\x05\x27\xa5\x8f\xc6\x52\x73\x7e\xa1\xdc\xa5\x63\xe3\x6c\x82\xca\xcb\xce\x4a\xe4\x74\x45\x0f\x29\x85\x98\x9d\x56\x33\xc6\x59\x4d\xe8\xe1\xe9\x57\x34\x9e\x20\xd3\xb7\xdc\x34\x5e\xf5\x5e\xe2\x55\x5f\x6c\x8c\x3e\x7b\x5b\x4b\xaf\x55\x2d\x52\xc3\xd2\x67\x79\xd1\x63\xca\x2c\x46\xee\x38\x78\x63\xa7\x4a\x9a\x41\xde\x40\xa6\xdf\xaa\xe6\x48\x19\x3a\x11\xe7\x34\xca\x4f\x30\x83\xac\xf7\xfc\xc1\x0d\xef\xff\x77\x64\x62\xe7\xe1\x4a\xb2\x76\x0b\xf1\x75\xcb\xa6\x67\xd3\xc1\xb9\xb9\x92\x4a\x07\xb3\x92\xbc\xc1\xa8\x66\xa6\xab\xc6\x0d\xab\xc5\xbf\x6d\x1c\xb9\xcb\x7f\x53\x03\xc6\x68\x75\x48\x5d\xf7\xd1\x56\xca\x4f\xb5\x00\xcc\x98\xfc\x3f\x3e\x3c\xa3\xef\x21\x9b\xb4\x1a\x12\xce\xff\x75\xb8\x9d\x86\x23\x59\x01\x00\x8b\x37\x36\x54\x97\xca\x75\x3e\xf5\x14\xa2\x4f\x00\xd9\x41\x08\xe4\x0a\xb7\xcf\xe8\xb1\x5b\x48\x01\x5c\x66\xca\x25\xde\xa2\x3c\x53\x89\x73\x96\x3d\x71\xda\x50\x5e\x75\x1e\x9e\x5a\xcc\xf7\x6f\x5f\x6e\xca\x46\xd6\x5d\xd9\xb7\xaa\x4e\x4b\x5d\xe5\x4a\xd9\x5a\x62\x49\x33\x74\x4f\xe1\x29\x48\xb4\x2d\x82\xdb\xc6\x95\x0a\xb6\x66\xc8\x51\x37\x2e\x8d\xe7\x1a\x99\xb4\x3d\x5b\xe6\x72\x8d\x2e\xea\x9e\x2f\xe3\xb8\xc6\x17\xb5\xae\x45\xea\xd4\xef\x00\x00\x00\xff\xff\x38\x3f\xda\x56\x06\x04\x00\x00") + +func route_twirp_eclier_tokens_putLuaBytes() ([]byte, error) { + return bindataRead( + _route_twirp_eclier_tokens_putLua, + "route_twirp_eclier_tokens_put.lua", + ) +} + +func route_twirp_eclier_tokens_putLua() (*asset, error) { + bytes, err := route_twirp_eclier_tokens_putLuaBytes() + if err != nil { + return nil, err + } + + info := bindataFileInfo{name: "route_twirp_eclier_tokens_put.lua", size: 1030, mode: os.FileMode(420), modTime: time.Unix(1516605524, 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){ + "route_twirp_eclier_backends_kill.lua": route_twirp_eclier_backends_killLua, + "route_twirp_eclier_backends_list.lua": route_twirp_eclier_backends_listLua, + "route_twirp_eclier_routes_delete.lua": route_twirp_eclier_routes_deleteLua, + "route_twirp_eclier_routes_get.lua": route_twirp_eclier_routes_getLua, + "route_twirp_eclier_routes_get_all.lua": route_twirp_eclier_routes_get_allLua, + "route_twirp_eclier_routes_put.lua": route_twirp_eclier_routes_putLua, + "route_twirp_eclier_tokens_deactivate.lua": route_twirp_eclier_tokens_deactivateLua, + "route_twirp_eclier_tokens_delete.lua": route_twirp_eclier_tokens_deleteLua, + "route_twirp_eclier_tokens_get.lua": route_twirp_eclier_tokens_getLua, + "route_twirp_eclier_tokens_get_all.lua": route_twirp_eclier_tokens_get_allLua, + "route_twirp_eclier_tokens_put.lua": route_twirp_eclier_tokens_putLua, +} + +// 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{ + "route_twirp_eclier_backends_kill.lua": &bintree{route_twirp_eclier_backends_killLua, map[string]*bintree{}}, + "route_twirp_eclier_backends_list.lua": &bintree{route_twirp_eclier_backends_listLua, map[string]*bintree{}}, + "route_twirp_eclier_routes_delete.lua": &bintree{route_twirp_eclier_routes_deleteLua, map[string]*bintree{}}, + "route_twirp_eclier_routes_get.lua": &bintree{route_twirp_eclier_routes_getLua, map[string]*bintree{}}, + "route_twirp_eclier_routes_get_all.lua": &bintree{route_twirp_eclier_routes_get_allLua, map[string]*bintree{}}, + "route_twirp_eclier_routes_put.lua": &bintree{route_twirp_eclier_routes_putLua, map[string]*bintree{}}, + "route_twirp_eclier_tokens_deactivate.lua": &bintree{route_twirp_eclier_tokens_deactivateLua, map[string]*bintree{}}, + "route_twirp_eclier_tokens_delete.lua": &bintree{route_twirp_eclier_tokens_deleteLua, map[string]*bintree{}}, + "route_twirp_eclier_tokens_get.lua": &bintree{route_twirp_eclier_tokens_getLua, map[string]*bintree{}}, + "route_twirp_eclier_tokens_get_all.lua": &bintree{route_twirp_eclier_tokens_get_allLua, map[string]*bintree{}}, + "route_twirp_eclier_tokens_put.lua": &bintree{route_twirp_eclier_tokens_putLua, 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, 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 +} + +// 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, filepath.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, "/")...)...) +} + diff --git a/proto/eclier/bindata_assetfs.go b/proto/eclier/bindata_assetfs.go deleted file mode 100644 index d92af8a..0000000 --- a/proto/eclier/bindata_assetfs.go +++ /dev/null @@ -1,522 +0,0 @@ -// Code generated by go-bindata. -// sources: -// assetfs.go -// bindata_assetfs.go -// route_twirp_eclier_backends_kill.lua -// route_twirp_eclier_backends_list.lua -// route_twirp_eclier_routes_delete.lua -// route_twirp_eclier_routes_get.lua -// route_twirp_eclier_routes_get_all.lua -// route_twirp_eclier_routes_put.lua -// route_twirp_eclier_tokens_deactivate.lua -// route_twirp_eclier_tokens_delete.lua -// route_twirp_eclier_tokens_get.lua -// route_twirp_eclier_tokens_get_all.lua -// route_twirp_eclier_tokens_put.lua -// DO NOT EDIT! - -package eclier_data - -import ( - "github.com/elazarl/go-bindata-assetfs" - "bytes" - "compress/gzip" - "fmt" - "io" - "io/ioutil" - "os" - "path/filepath" - "strings" - "time" -) - -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 { - 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 _assetfsGo = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x2a\x48\x4c\xce\x4e\x4c\x4f\x55\x48\x4d\xce\xc9\x4c\x2d\x8a\x4f\x49\x2c\x49\xe4\xe2\xca\xcc\x2d\xc8\x2f\x2a\x51\x50\xca\x4b\x2d\xd1\xcf\x28\x29\x29\x50\xe2\xe2\x4a\x2b\xcd\x4b\x56\x70\x2c\x2e\x4e\x2d\x71\x0b\xd6\xd0\x54\x00\x89\xea\xb9\x65\xe6\xa4\x06\x57\x16\x97\xa4\xe6\x2a\x54\x73\x71\x16\xa5\x96\x94\x16\xe5\x29\x24\xc2\xd4\x70\xd5\x72\x01\x02\x00\x00\xff\xff\x9b\xd5\x6b\x90\x5d\x00\x00\x00") - -func assetfsGoBytes() ([]byte, error) { - return bindataRead( - _assetfsGo, - "assetfs.go", - ) -} - -func assetfsGo() (*asset, error) { - bytes, err := assetfsGoBytes() - if err != nil { - return nil, err - } - - info := bindataFileInfo{name: "assetfs.go", size: 93, mode: os.FileMode(420), modTime: time.Unix(1516601587, 0)} - a := &asset{bytes: bytes, info: info} - return a, nil -} - -var _bindata_assetfsGo = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xfd\x6b\x6f\x5c\x49\x76\xef\x09\xbf\x16\x3f\x45\x5a\x80\xfd\x48\x3e\xb2\x6a\xef\x1d\xfb\x16\x7a\x50\x2f\x6c\xb7\x7d\xe0\xc1\xb1\xcf\x81\xdd\x83\x79\xd1\xd9\x10\x22\x62\x47\xa8\x12\x45\x91\x1a\x92\xaa\xce\xea\x42\x7d\xf7\xc1\x5a\xf1\x5b\x19\x49\xea\xc6\xba\x74\x4f\x0d\x70\x1a\xa8\x16\x99\xcc\x7d\x89\xdb\xba\xfe\xd7\x7f\x7d\xf5\xd5\xee\x9f\xaf\xb7\xbc\x7b\x93\xaf\xf2\x4d\xb8\xcb\xdb\x2e\x7e\xbf\x7b\x73\xfd\x0f\xf1\x70\xb5\x85\xbb\xf0\xf2\xe2\xab\xaf\x76\xb7\xd7\xef\x6f\x52\xbe\x7d\x25\x3f\xf3\xf9\xeb\x70\x7b\x9b\xef\xca\xed\xcb\x37\xd7\xf2\xe9\xcd\xf5\xfb\xbb\xfc\xfa\xee\x4f\x87\x9b\x77\xaf\x73\xba\x3c\xe4\x9b\xd7\x31\xa4\x6f\xf3\xd5\x76\xfb\xfa\xdb\xc3\xe5\xe5\xcb\xcb\xf7\xe1\x4b\xdf\xbb\x3c\xdc\xde\x7d\xe6\x7b\xfa\xd1\xed\xeb\x2d\x5f\xe6\xbb\xfc\xe5\xef\xbd\xc9\x8f\xb8\xd9\x9b\x7c\xf7\x3a\x7c\xf6\xed\xf8\xe2\xbb\xf7\x9f\xbb\xdb\xdd\xf5\xb7\xf9\x4a\x5e\x2d\xa4\xbb\xc3\x77\xe1\xb3\xaf\x77\xfa\xee\x17\x86\xc1\xf7\x3e\x3f\x8c\xf6\xa5\x2f\x0c\x83\x2f\x9e\x0d\xe3\x77\xff\x73\xf7\x1f\xff\xf3\xf7\xbb\x7f\xf9\xdd\xbf\xfd\xfe\x6f\x2e\x2e\xde\x85\xf4\x6d\x78\x93\x77\x7c\x5d\x56\xf8\xe2\xe2\xf0\xf6\xdd\xf5\xcd\xdd\xee\xd9\xc5\x93\xa7\x6f\x0e\x77\xdf\xbc\x8f\x2f\xd3\xf5\xdb\xaf\xf2\x65\xf8\x73\xb8\xb9\xfc\xaa\xed\x91\x7f\x60\x2f\x3c\xbd\x78\xf2\x34\x7e\x7f\x97\xf5\x87\x74\xfd\xf6\xdd\x4d\xbe\xbd\xfd\xea\xcd\x9f\x0f\xef\xe4\x83\xf2\xf6\x4e\xfe\x39\x5c\xd7\xff\xff\xea\x70\xfd\xfe\xee\x70\x29\xbf\x5c\xeb\x05\xef\xc2\xdd\x37\x5f\x95\xc3\x65\x96\x1f\xe4\x83\xdb\xbb\x9b\xc3\xd5\x1b\xfd\xdb\xdd\xe1\x6d\x7e\x7a\xf1\xfc\xe2\xa2\xbc\xbf\x4a\xb6\x05\xff\x33\x87\xed\x99\xfc\xb0\xfb\xc3\x1f\xe5\xb1\x2f\x76\x57\xe1\x6d\xde\xd5\xcb\x9e\xef\x9e\xd9\xa7\xf9\xe6\xe6\xfa\xe6\xf9\xee\x87\x8b\x27\x6f\xfe\xac\xbf\xed\x5e\x7d\xbd\x93\xb7\x7a\xf9\x1f\xf9\x4f\x72\x93\x7c\xf3\x4c\x5f\x5b\x7e\xff\xa7\xf7\xa5\xe4\x1b\xbd\xed\xf3\xe7\x17\x4f\x0e\x45\x2f\xf8\x9b\xaf\x77\x57\x87\x4b\xb9\xc5\x93\x9b\x7c\xf7\xfe\xe6\x4a\x7e\x7d\xb1\x2b\x6f\xef\x5e\xfe\x8b\xdc\xbd\x3c\x7b\x2a\x37\xda\xfd\xed\xff\xfd\x6a\xf7\xb7\xdf\x3d\xad\x6f\xa2\xcf\x7a\x7e\xf1\xe4\xc7\x8b\x8b\x27\xdf\x85\x9b\x5d\x7c\x5f\x76\xf5\x39\xf5\x21\x17\x4f\x5e\xd7\xd7\xf9\x7a\x77\xb8\x7e\xf9\xcf\xd7\xef\xbe\x7f\xf6\x77\xf1\x7d\x79\xb1\x7b\xf3\xe7\xe7\x17\x4f\xd2\xe5\xbf\xd8\x9b\xbe\xfc\xe7\xcb\xeb\xdb\xfc\xec\xf9\xc5\xaf\xf5\x3e\x72\x9b\x7a\xff\x4f\xdc\x28\xdf\xdc\xd4\xf7\xe6\xc3\xf8\xbe\xbc\xfc\x27\x79\xf5\x67\xcf\x5f\xc8\x37\x2e\x7e\xbc\xb8\xb8\xfb\xfe\x5d\xde\xe9\xca\xcb\x94\xbf\x4f\x77\x72\x17\x1d\x1f\xeb\x71\xf1\xe4\x70\x55\xae\x77\xbb\xeb\xdb\x97\xff\x7a\xb8\xcc\xff\x76\x55\xae\x4f\xd7\xb1\x84\xf6\xf9\xd9\x1d\x74\x0d\x77\x3b\x96\xf1\xe2\xc9\xed\xe1\xcf\xfa\xfb\xe1\xea\x6e\x1e\x2f\x9e\xbc\x15\x59\xb5\x3b\xdd\xf4\xdf\xaf\xb7\xac\x1f\xfe\xfe\xf0\x36\xef\x64\x9b\xbc\x94\x9f\xe4\x39\xba\x55\x9e\x95\xc3\xc3\x67\x3d\xdf\xfd\x47\x78\x9b\x9f\x3d\xe7\x09\xf2\x4c\x46\x59\x0e\x2f\xe5\xe9\x17\x3f\x7e\xe6\xda\xff\x3a\xfc\x59\xae\xd5\xb7\xb9\x7f\xa9\xbc\xe8\x67\x2f\x95\x77\x7d\xf6\xfc\xfc\xcd\xef\xdf\x40\x86\xf6\xa5\x1b\xc8\xe0\x9e\x3d\x6f\x03\xfd\xe0\x0e\x8c\xfe\xd3\x37\xf9\xb7\xdb\xdf\x1d\x6e\x9e\x3d\xdf\xc5\xeb\xeb\xcb\xf3\xab\xc3\xe5\xed\x17\x46\xfe\xfd\x6d\x1d\x78\xbe\x29\x21\xe5\x1f\x7e\x3c\xbb\x9a\x2d\x21\xbb\xfc\xf5\x03\x05\xf1\xdf\xaf\x77\x5f\xb3\x21\x9e\x3d\xdd\x1f\xfb\xb2\x3f\xae\x71\x7f\xec\xd6\xfd\xb1\xeb\x3e\xfe\x5f\x29\xfb\x63\x4e\xfb\xe3\xb2\xed\x8f\x73\xdc\x1f\xe7\xb2\x3f\x0e\x6e\x7f\x1c\x97\xfd\x31\x0e\xfb\x63\x9e\xf6\xc7\x79\xd9\x1f\x4b\xbf\x3f\x4e\xcb\xfe\xb8\x8d\xfb\x63\x3f\xed\x8f\xae\xdb\x1f\xa3\xdb\x1f\xb7\x61\x7f\x8c\xdb\xfe\xd8\x87\xfd\x31\xf8\xfd\x71\xcb\xfb\x63\x27\xf7\xd8\xf6\xc7\x12\xf6\xc7\xd5\xed\x8f\xa1\xec\x8f\x6e\xdb\x1f\xbb\x79\x7f\x8c\x69\x7f\x8c\xeb\xfe\x98\xdd\xfe\xb8\xc4\xfd\xd1\xf5\xfb\xa3\xcf\xfb\x63\x9a\xf6\xc7\x25\xef\x8f\x4b\xb7\x3f\xf6\x7e\x7f\x5c\xb7\xfd\x31\xa4\xfa\xdf\x20\xef\x37\xed\x8f\xa1\xdf\x1f\x07\xbf\x3f\x4e\xc3\xfe\x38\xc6\xfa\x6f\x96\xf7\x0e\xfb\xa3\x93\x77\x1c\xf7\xc7\xad\xec\x8f\xfd\xb2\x3f\x0e\xcb\xfe\x98\x87\xfd\x71\x18\xf7\xc7\x10\xf7\xc7\x71\xdd\x1f\xa7\x7e\x7f\xec\x87\xfd\xb1\xc8\x38\xfb\x3a\xd6\x5c\xf6\xc7\x79\xd8\x1f\xbb\xb4\x3f\xa6\x75\x7f\x1c\x65\x2c\x73\xbd\xa6\x0c\xfb\x63\xdf\xd7\xf7\x91\xff\x96\x7e\x7f\x74\x43\xbd\xef\x2c\xcf\x9a\xf7\xc7\x6d\xda\x1f\xa7\x69\x7f\x2c\x5d\x7d\x17\x99\x33\x79\xd7\xd4\xd7\x31\x4c\xb1\x8e\xd7\x4f\xfb\xe3\xe6\xeb\xcf\x6e\xde\x1f\xe7\x95\xb9\x5a\xea\xbb\x27\xf9\x9e\xcc\xd3\xb8\x3f\x16\x19\xfb\xb0\x3f\xba\x69\x7f\xec\xe3\xfe\xb8\xb8\xfd\xd1\xc9\xb5\xf2\x9d\xb0\x3f\x76\xa1\x3e\x5b\xae\x91\xb1\xc8\xbd\xe5\x99\x39\xd6\x35\x5c\xd2\xfe\x38\xe5\xba\x06\x32\x3e\xb9\x7f\xce\xfb\x63\x91\xef\xc8\x3b\x2f\xcc\xb5\xbc\xb7\xac\x69\xa8\xef\xb6\xf8\xfa\xfd\x69\xae\x6b\x26\xcf\x9e\x5d\x9d\x53\x79\xee\x38\xd5\x77\x90\x6b\xe5\x1d\xe3\xbc\x3f\xfa\xb2\x3f\x26\x59\x6f\x99\xcb\xa5\xde\x4f\x9e\x11\xa6\xfa\x6e\xf2\xb3\x7c\x77\x09\xfb\x63\x71\xfb\x63\x62\xaf\x2d\x32\x87\x9e\xfb\x84\xfa\x2e\x32\xce\xb8\xd4\x79\x96\xfb\xc9\x73\x97\xa5\xee\x95\x55\xc6\xb3\xd6\xbd\x9a\x64\xfe\xb6\x3a\x46\x1f\xeb\xfe\x94\x79\x4e\x4b\x7d\x67\x19\x83\x8c\x57\xde\x6d\x88\xf5\xbb\xb2\x57\x65\x5e\x64\x8e\x7a\xe6\xdf\x87\xfd\x31\xf6\xf5\x1e\x45\xbe\xbf\xd5\x39\x90\x71\xc9\xbf\x5b\xac\x7b\x74\x92\xfb\xad\x75\xff\xca\xbd\xe5\xb3\x98\x79\x96\xab\x7b\x46\xde\x77\x19\xeb\x7e\x97\xf9\x1e\x73\x1d\x97\x9c\x9b\x4d\xee\x5b\xea\xf5\xae\xd4\x67\xc9\x5c\xc9\xcf\xeb\x50\xd7\x5d\xe7\x54\xf6\x81\x6b\xdf\x99\xa7\xba\x57\x64\xce\x9d\xdb\x1f\x8b\xcc\xab\x8c\x85\xbd\x28\x7b\x4c\x7e\xcf\xbe\xee\x79\x19\xe3\xe4\xeb\xb3\xf4\x1d\x65\x5e\x52\x1d\xbf\x3e\xc7\xd5\x75\x4e\xbe\x5e\x23\xef\xad\xcf\xf6\x75\xee\x65\xbe\xe5\xfb\xb2\x1f\xe4\xdc\xcb\x7e\x96\xbd\x25\xf3\x23\xff\xc9\xdf\x65\xfd\xe4\xbc\xc9\xfb\xca\xfe\x0c\xa1\xbe\xc7\xc4\xdf\x64\x9d\xe5\x3a\x79\xef\x0d\x19\x20\xf3\xb2\xcc\x75\xcd\xe5\xde\x22\x03\xe4\x5e\x6e\xdd\x1f\x8b\xdf\x1f\xe7\x6e\x7f\xf4\x0b\x6b\xbf\xd4\x35\xd3\x77\xcf\xf5\xbe\x7a\x9f\xc4\x79\x93\xb5\xe8\xf7\xc7\x71\xa8\xdf\x95\xb9\x91\xe7\xeb\x9c\x6d\x55\x26\x88\x4c\x93\x39\x90\xb3\x39\x94\x76\x06\xe4\xef\x7d\xaa\xf7\xf4\x73\x3d\xdf\xa9\xab\xeb\xae\x67\x33\xd5\xb9\xcd\xa1\xbe\xb7\xfc\x2c\xeb\xd1\x31\x8f\xd3\x5a\x65\xc6\xc4\x9e\x16\x39\x30\xce\x75\x2e\x64\xaf\x88\xfc\x89\x9c\x35\x1b\xb3\x63\x8f\xda\x59\xeb\x62\xdd\x37\xb1\x63\x2e\xe4\xdd\x64\x6e\x5d\x95\x83\x3a\x36\x57\xe5\x89\x9c\x17\x79\xff\xb0\xd6\xb5\x1f\x86\xfa\x0e\x7e\xad\xfb\x5d\xd6\x5c\xf6\xa5\x9c\x51\xd9\x4f\x32\x0f\xde\xd7\x7b\xca\x18\x26\xe4\x98\xae\xa5\xc8\xc8\xb4\x3f\x96\xb5\xca\x6e\x79\xa6\x8c\xaf\xd8\x3e\x10\x59\x34\x55\xd9\x20\x67\xbf\x93\xfd\x32\x32\x17\x43\xd5\x07\x85\xb5\x11\xf9\x23\xfb\x2f\xb0\x2f\xe5\x1c\xeb\x3e\xcd\x75\xee\xe5\xdc\xcb\x19\x97\x7b\xc9\x33\x64\x0f\xf5\x63\xdd\x93\xba\x6f\x72\x7d\xbe\xec\x41\xf9\x57\xe5\x4e\x57\xd7\x65\xe2\x3d\x56\xbe\xab\xe7\x7e\xa8\xe7\x49\xc6\x33\x67\xe4\x84\x7c\x37\xd4\xeb\xe4\x4c\x8b\x6c\xda\xba\xba\x57\xe4\x3b\x03\xef\xb2\x06\x74\x54\xe4\x7c\xb8\xfa\x2e\xf2\x9f\xec\xa9\xcc\x79\x91\x67\xcb\x3a\xeb\xd9\x09\x75\x6f\xc9\xde\x16\x19\xea\xfb\x7a\x96\x53\xae\xb2\x46\x74\x8b\xe8\xb8\xf3\xf3\xe4\xb8\xbf\xcc\x8d\xc8\x15\x99\x03\x79\x07\x79\x27\xb9\x9f\xcc\xa5\x1f\xda\xf7\x67\xe4\x92\xdc\x53\xe6\x31\x9c\x8d\x5f\xc6\xad\xef\x9b\x98\xb3\x52\xd7\x3f\x23\x5b\x23\x7f\x17\xbd\x3e\xf3\x7d\x79\xbe\xc8\x3b\xdd\xcb\x9c\x2b\xb9\x9f\xac\x83\xe8\x4a\xd9\x47\x91\xbf\xab\x6c\x65\x9f\xaa\xee\x4f\xc8\x96\xa9\xee\x49\x91\x61\x33\xeb\x2f\x73\xa4\xe3\x0d\xf5\xfc\x06\xf4\x8d\xca\x7e\xf6\xa0\x47\x0f\xa9\x8e\x19\xea\x19\xdd\x7a\xce\x83\xab\xfb\x58\xf6\xfd\x96\xaa\xbe\x97\x31\xc9\x1e\x4e\xc8\x89\xcc\x19\x95\x33\x36\x74\xd5\xfe\x90\xf9\x95\x79\xd7\x7b\xc9\x58\x65\x1c\xa1\x7e\x26\xb2\x51\x75\xb1\xc8\xa2\xb9\xbe\x9f\xe9\x4c\x39\x17\x22\x67\xe5\x2c\xc8\xfb\xca\xf8\x65\x2e\xe4\x5f\x87\x3e\x91\x7f\xc5\xa6\x88\xc8\x39\x19\xbb\xe8\xd7\x2e\x57\x1b\x43\xcf\x64\xae\xb6\xc6\xd8\x57\x7d\x23\x67\x46\xe6\x5b\x64\xd6\x9a\xea\xb8\xbc\xe3\x5c\x17\xce\x78\xaa\xe3\xb0\x39\x91\xf7\x93\xf9\xd6\x35\x11\xbd\x35\x54\xf9\xa3\xe7\x2c\x56\x19\x26\xd7\xca\x5c\xce\x7c\x57\xe6\x40\xe6\x7c\x64\x2f\xca\xde\x96\xb3\x28\x32\x40\xf6\xcd\x30\xd5\x77\x93\xf7\xec\x73\xb5\x69\x74\x3d\xc4\xce\xca\x75\xbe\x02\xd7\xd9\x79\x97\xb5\xd8\x18\xaf\xea\x41\x57\x65\xe9\x2a\x72\x00\xdd\x2f\xb6\x84\x5c\x2f\x63\x1f\x47\x6c\x19\xd1\xbb\x4b\xdd\xf3\x1e\x9d\x2f\x36\x9e\xbc\xb3\xac\x87\xe8\x7d\x59\x13\xb5\x39\xe6\x6a\x6f\xca\x39\x14\xf9\xe5\xd9\x7b\x72\xce\x64\x9f\x8b\xfd\x67\x7b\x54\xf5\x6b\xaa\xb2\x52\x6c\xd0\x85\xe7\xc9\xfe\x93\xb1\xca\x99\x11\xb9\x61\x7b\x47\x74\x74\x90\x77\xb1\xe7\x75\x75\x9e\x55\xbf\xcb\x1e\x1e\xeb\x7b\x8a\x7d\xb3\xb0\x17\x44\x6e\xc9\xde\xd6\x3d\xb2\x56\x79\xaf\xf6\x92\xaf\xfb\x52\x65\x96\xab\x67\x44\xc6\xbc\x21\x6f\x45\xc6\xc9\x78\x74\xfc\xc8\x59\xb5\xe7\x66\x6c\xaf\xc2\xde\x94\xf9\x5e\xea\x7c\xf4\xbc\xb3\xee\xfd\xa5\x9e\x2f\x79\xce\x8a\x7d\xad\x36\x1f\xf2\x59\xe4\xa7\xea\xcc\xb5\xce\xbb\xbe\xc7\x56\xe7\x7c\x62\x9e\xfc\x58\x65\xb2\xfc\xbc\x8e\xd8\x01\xfc\x2c\xfa\x21\xb3\x47\x03\xb2\x43\xc6\x9e\xd0\x8f\x32\xf7\x3d\x36\x9e\xfc\xbc\x85\xf6\xb9\xd8\x9b\x62\xbf\xcb\xcf\x3a\x46\x91\x0b\xfd\xfe\xd8\xf9\xb3\x9f\x43\xfd\x59\xf6\xd7\xcc\xe7\xaa\x5f\xa7\x3a\xbf\xbe\xab\xf6\xbf\xfd\x2c\xb2\x46\xe4\x9b\xd8\x66\x22\x67\xe5\x67\x99\xef\xcc\xcf\xeb\x5a\xd7\x4e\x7e\x16\x1b\xbc\x9c\x7d\x47\xcf\x0c\x9f\x7b\xd7\xbe\x1f\xf9\xbc\x3b\xfb\x8e\x7c\x5f\xce\x86\xee\xa3\xb1\xcd\x9b\x3c\x5f\xf6\x84\xec\x07\x39\x1f\x53\x57\x75\x86\xac\x8b\xcc\x8b\xcc\xbd\xf8\x10\xaa\xc3\x97\x6a\x13\xa8\x4f\x82\x9e\x97\x71\x8e\xa9\x8d\x33\x8d\x75\x6c\x72\x9f\x99\x71\xca\x7e\x5b\xcf\xde\xc3\xc6\x20\x6b\x98\x42\xfd\x59\xe4\x83\xad\x9f\xc8\x08\xc7\x3d\xe5\x19\x32\xaf\x6a\x8b\x33\xc7\x0b\xf7\x95\x3d\x23\xfa\x5a\xf5\x4d\x57\xf7\x6b\x67\xb6\xb9\xab\xe7\x44\xce\xb8\xcc\xab\xc8\x36\xf9\x59\xf4\x99\xec\x15\x91\x1f\x32\x57\x19\xd9\x2c\x6b\xab\xb6\x7a\x6c\xeb\xe1\xc3\xd9\xfc\x0e\xed\x3d\x45\x26\xa4\xd8\xc6\x2c\x36\x8c\xbd\x4f\x7f\xf6\xb3\x3e\x53\xf6\x26\x73\x1d\xc6\xaa\xab\xe5\x67\xb5\x6f\xfa\xb6\x06\xa2\x2b\xe4\xfd\x64\xdd\x55\x86\xc5\x3a\x1f\x19\x9d\x17\xf8\xbb\xf8\x47\xb2\x6f\xe5\xe7\xd9\xe4\x35\xb2\x5e\x6c\x59\x59\x33\x99\x3b\xf9\x8e\xfc\x3c\xcc\x75\xcf\x8a\xdf\x25\x72\x4c\xdf\x0f\x9f\x4e\xd6\x55\x9e\xbb\x22\x3b\xec\x2c\xc8\x7c\xc8\xda\x2d\x73\xdb\xa7\x61\x39\xdb\xbf\xf8\x3c\x61\xae\x73\x6b\xe7\x43\x6c\xd0\x19\xbb\x5f\xe6\x4e\xe6\x45\xee\x23\x36\x75\x3f\xb6\x79\x91\xf3\x27\x72\xc2\xc6\xa1\x72\x95\xf5\x11\x79\x2a\xef\x27\xba\x43\xf6\x9a\xe8\x3a\xd1\xbf\x66\xbf\x8a\x1c\x17\x5f\x53\xf6\xd7\x88\x0e\xdd\x4c\x66\x9e\xbd\x4b\x8f\xcd\xa6\x36\x41\x3c\xfb\x3c\xb6\xb3\x2d\x72\x2f\x22\x2b\x64\x5f\xaa\x9f\xeb\xab\x3f\x2a\x76\x84\x7c\xd6\xf3\x3d\x19\x73\xe8\x9b\x3d\xb9\x22\xe3\x64\x9f\xe9\xb5\xa5\x9d\x19\x91\xc1\xa2\x3b\x55\x5f\xad\xf5\x59\x13\xbe\x87\xec\x77\x95\x5f\xf8\x5b\x62\x8b\x88\xed\xa2\xb6\xf7\xd6\xd6\x73\xb6\xfd\xb2\x55\xdd\x26\x7a\x7d\x2c\x75\x1d\xe4\xde\x72\x06\x7d\xaa\xdf\x11\x9d\xb5\x72\xef\x8e\xfd\x2b\x6b\x1e\xd9\xbf\x62\x2b\xcb\xfa\xca\xdf\x7b\xe4\xa1\xc8\x48\xb1\x25\xf4\xdc\x9f\x9d\x33\xd5\x61\x63\x7d\x96\xda\xba\x5b\xb5\x1d\xed\xec\xc9\xf9\x56\x5f\x85\x98\x86\xe8\x59\x79\x6f\xd3\x51\xfa\x77\xf6\xf8\x34\x62\xeb\x47\xe6\xa1\xaf\x3a\x4e\xce\x99\xcc\x85\xbc\xab\xf9\xcf\x62\x97\x8b\x2d\x21\xe3\x10\x7d\x35\xda\xda\x8f\xf8\xfb\xdc\x73\x18\xeb\xdf\xf4\xfe\x26\x1b\x65\xdf\xcf\xc8\xf3\xa9\xea\x73\x19\x6b\x9c\xf0\xef\x90\x53\xba\x1f\xc6\xba\x4f\xe5\x6c\x8a\xfd\x90\xd1\x27\x76\xbe\x45\x8e\x9c\xd6\x9d\x18\x40\xc1\x66\xd8\xd0\x93\xb2\x57\x65\xff\xb9\xd2\xfc\x13\x93\x2f\x13\x67\x4f\xce\x5b\xc2\xae\x90\x33\xd3\xb9\xfa\x4e\x32\x9e\x42\x5c\x20\xe0\x9b\xab\x2e\x1c\xaa\x4d\x10\x90\x59\xa2\x13\x27\xec\x38\x3d\x9f\x76\xb6\xd7\x1a\x3b\x89\xcc\x93\xd8\x72\x1d\x3e\x80\xc7\x67\xd1\x33\x57\x9a\x6c\x14\x59\x26\x6b\x27\xf6\xc2\x68\xb1\xa0\x5c\x75\x9e\xcc\x91\xee\xb5\x15\x1f\xea\x4c\x66\x8f\xfc\x2e\xe7\x6f\xc5\xb7\x9b\x90\xfd\x11\x5f\x4b\xce\xab\xe8\x76\x79\x6f\xb1\x47\x27\xe2\x5d\xa2\xa7\x55\x47\xe3\x03\xa9\x9e\x39\x93\x7f\xb2\x0e\xf2\xfe\x09\x3d\xa5\xe7\x05\x7f\xc8\xec\x31\x91\xad\x79\x69\xb2\x21\x0e\x4d\xd6\xaa\x2d\x19\xaa\x1d\x3c\x63\x77\x8b\xfd\x29\xfe\x9c\x7c\x4f\xf7\xd6\x54\xcf\x86\xf8\x3f\xea\xc3\xf8\x2a\xff\xe5\x1d\xc4\xc6\xf5\x8c\x5b\x9e\xed\xb1\x6f\x47\xce\x9d\xd8\x32\x72\xe6\xd5\xf7\x9f\xea\xf8\x1d\xf2\x53\x9e\x21\xe7\xc3\x2f\xcd\x1e\x10\x9d\x29\xf7\x5d\x87\xea\xfb\x4e\xf8\x3b\x72\x4f\x39\x6b\x3d\x3e\xe5\x6c\xcf\xe8\xf1\x2d\xd0\x45\x32\x5e\xd1\x33\x89\x38\x84\xea\x48\x57\xf7\xa1\xc6\xaf\xb0\x43\xe4\x19\xf2\x99\xd8\xec\x73\x68\xbe\xae\xc8\xfc\x05\x1d\x21\xdf\x17\x79\xb1\xfa\x7a\x96\x45\x36\xa9\xdc\x26\xc6\x22\x36\xb4\xda\x8b\xb1\xe9\xb8\x15\x5b\x4d\x7d\x4d\x57\xfd\x24\x8d\x37\x64\x6c\x5d\xc7\x79\x0a\xd5\x6e\x94\x33\xa2\xe7\x13\x5b\x5d\xfc\x48\x99\xe7\x88\x2f\x20\xcf\x94\xfd\xaa\xf1\x42\x74\xf1\x8c\xef\x22\xef\x27\xf3\x9d\x4c\x2e\x2c\xcc\x6f\xac\xb2\x4e\x6c\x72\xdb\x37\x62\xa7\xc9\x77\x16\x8b\x21\xc5\xba\xd6\x32\x4e\x95\x03\xa1\xda\xa6\x3a\xa7\xc8\xc6\xd4\x55\x7d\xb1\xf2\x1c\x59\x13\x8d\x85\x8c\x75\x2d\xc4\x7f\x98\x89\x63\x58\xbc\x48\xfc\xd8\x01\x39\x28\xf6\x91\xac\x9f\xc6\x40\xb1\xbf\x45\x07\xcb\x3c\x0c\xbc\x9f\xde\xb7\xab\xe7\x4f\xec\x4a\xf3\xe9\x44\xbf\x88\xbc\x52\xdd\x37\x62\x4b\xa2\x7b\xf4\x99\x23\x67\x7c\xc5\x8f\x5c\xeb\xcf\xb2\x4e\x0e\x9f\x40\xce\x90\xec\x4f\x39\xb3\x33\xb2\xd8\xe1\x97\xa9\xdd\xc2\x1e\xd6\xf5\x1a\xeb\x3e\x48\xc4\x5b\x65\x3f\xeb\xdc\xa0\x1b\xd4\xf6\xee\xea\x3a\xca\x3e\x16\x99\xe0\xb0\x0d\x0a\xf2\x3f\x10\xb3\x92\x39\xda\xb0\xf5\xc5\x6e\x90\xb3\xee\x18\xa7\xec\x17\x91\x67\x99\xbd\x34\x11\xbb\x36\xdd\x2b\xb6\x85\xda\xf2\xc4\xb5\x64\x3c\xb2\x76\x32\x06\xb9\x76\x20\xe6\xab\xf6\x69\x20\x7e\xbc\x54\xdd\x17\x89\x77\x27\xec\x6e\x3d\x93\xc4\x84\x46\xe2\x78\x2a\xfb\x66\x6c\xb4\x5c\xf7\xe7\x88\x6e\x51\xd9\x36\x10\x2f\x1e\xeb\x38\x0a\x31\xc6\xae\xaf\x7b\x47\xe7\x78\xa9\xcf\x97\xf3\xd9\x8d\x35\x26\x9d\x88\xb5\x44\x7c\x02\x19\xdf\x46\x1c\x52\xce\xa2\xf8\xd2\xe2\xfb\xc9\x99\x10\x1b\x4b\xce\xb4\xda\xf9\x63\xdd\x33\x1a\x9f\xec\xea\xef\x2b\x7f\x1f\xf9\x4f\x64\x82\xfc\x7d\x39\x8b\x2f\x7a\xfe\x13\x59\x3b\xe3\x47\xca\xfe\x97\xbd\x7b\xfe\x1d\x8d\x5d\x31\xf7\x7a\x9e\x98\x3f\x8d\x29\xa0\x83\x35\xce\x43\xcc\x5d\xf6\xc2\x80\xad\x2a\xfb\x4c\x75\xc2\x52\x7d\x3e\x19\x53\x41\x8e\xeb\x59\x22\x9e\x20\xfa\x46\x7d\xe9\x54\x75\xb8\xfa\x71\xa1\xda\xd0\x62\x03\x8a\xbc\x10\xff\x32\x60\x17\xc8\x9c\xc8\x7c\x88\x7f\xd1\x87\xfa\x37\x59\x6b\xb9\x56\xae\x91\xf3\xe8\xf1\x33\x64\x3e\x12\x3a\x52\xd6\x54\xf6\xcb\xb2\x56\xf9\xa3\xbe\xe4\x8c\x1f\xe6\xf9\x3e\xf1\x22\xfd\x1d\x9b\xb5\x70\x36\x7b\x7c\xd2\x05\xfb\x5a\xf5\x1b\x79\x0f\xd9\x17\xfa\x73\xaa\xba\x42\xbe\x2b\x76\x86\x3c\x4b\xce\xa6\xc5\xea\x44\x76\xcf\xc4\x00\x3c\x7e\xb6\xe8\x10\x19\xa3\x9c\x13\xb9\x56\xde\x53\xf6\x8b\xce\x6b\x57\x63\x23\xb2\x97\xf4\x6c\x95\xfa\x5d\x39\xe3\x22\x33\x54\xc7\xb1\xc6\xa3\xc9\x85\xb5\xee\x41\xd9\xbb\xb2\x16\x62\x9f\x8b\x1d\xab\x72\x6b\xab\xe3\xdd\xf8\x57\xe3\xb6\xc4\x38\x45\x66\xc8\xf9\xb0\xbc\x89\x43\xde\x8f\xc8\x52\x8d\xa3\x66\xec\xbd\x54\x63\xb4\xa2\x47\xe4\xfd\x35\xf6\x33\xd6\xb1\xc9\x5a\x88\x1c\xd6\x78\xc5\x50\x65\x80\xec\xa1\x8e\x38\x8f\xce\x31\xf2\xab\xc7\x97\x96\x7b\xa9\xdf\x96\xaa\x0d\x25\x32\x4f\xe3\x35\x8e\xd8\x5b\xae\xe3\x32\x7b\x6b\x24\x86\xaa\x6b\xe2\xeb\xfb\xca\x5a\xd9\x7d\xc4\xee\x91\xf9\x14\xbd\x26\xb2\x7f\xc0\x76\x91\xf7\x93\xf1\x88\x2c\x93\x73\x22\xe3\x16\xfb\x58\xe6\x52\xf6\x89\xd8\xcc\x9a\x47\x62\x7e\xe5\xf9\xb2\xb7\x45\xc7\xae\xd8\x5e\x9e\x7c\x9a\xea\x4e\xec\x06\x91\x1f\x72\x7f\xd9\x3b\x1a\xbf\x22\xfe\x10\xd1\xd9\x22\x1f\x8b\xe5\x5f\xc6\xfa\x5d\xd9\xc3\xb2\x5e\xb2\x36\xea\xdb\x12\xcf\xd2\x9c\x08\x72\x4c\x65\xc5\x58\xed\x53\xd5\x33\xb1\xee\x89\x9e\x3d\x25\xb2\x49\xd6\x71\xc6\x56\x1a\x88\xa9\xcb\x39\x96\x33\x2d\xd7\x6b\xac\x09\x3b\xd3\x33\x6e\x39\x9b\x0b\xba\x58\x9e\x29\x9f\x6f\xfc\x2b\x76\x9a\x3b\x5b\x8f\x80\x9e\x4d\x7d\x8b\xa3\xca\x7f\x13\x32\x7a\xc4\x96\x17\x7d\x20\xfb\x52\xf6\xbd\xca\x1e\xd6\x45\x63\xc1\xe8\x1f\xb5\xcb\x2d\xc6\x86\xdd\xa2\xbe\x06\x67\x78\xec\x88\xd1\x74\xf5\x1d\xd4\x67\xe8\xea\xbf\x1a\x97\x44\x87\xc8\xf7\xe4\xf9\xf2\xb9\xc8\x12\x91\xa1\xb2\x4f\x44\xee\xa8\xfd\xc2\xba\xab\x2e\x48\xd8\x88\xc4\xa7\x2d\x3e\x20\xbe\x93\x5c\xb3\x92\xfb\x50\x5f\xa8\xab\xff\x8a\x9d\x2c\xf3\xad\xbe\x53\x20\xb6\x12\xf0\x2b\x2d\xf6\x80\xad\x6c\x76\x98\xcc\x83\xca\xb3\xa5\xca\x7f\x8d\xd9\x74\xc4\xb0\x5c\xd5\xa9\xa6\x27\x55\xff\x85\xba\xa7\xf4\xdd\x03\xfe\x69\x5f\xe5\xa8\xda\x0e\xb1\xfa\x19\x39\xd5\x33\xe2\xc8\xb9\xc9\x7b\x89\x3c\x15\xbb\xaa\xcc\x75\xbc\x0e\x5b\x2e\xf1\xae\x32\xd7\x96\x1f\xeb\xb0\x53\xe4\xac\x24\xfc\x56\x91\x31\xba\x0f\xd0\x81\x9a\x33\xeb\x6b\x9c\x40\x6d\x4d\xfc\x02\xcd\x17\x94\xba\xd7\x66\xe2\xe0\x3d\x39\xb8\x11\x3b\x57\x9e\x2b\x7e\x88\xec\x5f\x59\x3b\xd3\x07\xf2\x1e\x2b\xf9\x36\x79\x9e\x63\x0d\x65\xbc\xb2\x5f\xe4\x3d\xc4\x0f\xd4\x98\x51\x4f\x9c\x7c\xa8\x36\x63\xc0\x47\x4a\xc8\x42\x8f\xcd\x11\xb0\x87\x45\xae\xca\xfa\x27\xc6\xa7\xba\x74\xae\x3a\x40\xce\x8b\xd8\xe0\x23\xe7\x70\x33\xbb\x63\xac\xef\x2b\xb2\xb7\xc7\x86\x54\x59\x4a\xcc\x2f\xe0\xcf\xae\xe4\x39\x3b\xec\x14\x59\x53\xb1\x59\xd4\xb7\xc2\x07\x91\xfd\xe1\x90\x61\x6a\x4b\xf9\x2a\x87\x45\x67\x64\xf4\xb4\xfc\x5d\xce\x5e\x64\x9c\x89\xfd\xdf\x77\x55\x66\xc9\x9e\x97\xb3\x22\xf7\x8a\xac\xb9\xc6\xcc\xc9\x39\xdb\xef\xea\x27\x12\x47\xe8\x89\xc7\x6b\xfc\x80\x73\x25\xfb\x4a\xee\xa1\x71\xee\xae\xda\x27\xea\xeb\xe1\xd3\x6a\x8e\x83\x18\x6e\x46\xef\xc9\xd8\x0b\xb2\x45\x74\x88\xdc\x47\xf6\x82\x3c\x57\xf6\x95\xc8\x69\x91\x83\x19\xbf\x4d\xfe\x95\x77\x77\xd8\xb3\x62\xbb\xc9\x1c\xca\xf9\x4d\xe4\x5a\xe5\x5c\x88\x9d\xb1\x92\x5b\x91\xb3\x23\xba\x42\x7d\xf4\x54\xed\x33\x47\x6e\xaf\x23\x0f\xa2\x71\xa1\xae\x9e\x23\x87\x6f\x23\xf3\x25\xbf\xcb\xbb\xcb\xf5\x72\x8e\xd5\x56\x26\x7f\x24\xeb\xa1\xf2\x6c\xad\x73\xdf\xb1\xb7\x74\xdc\x6b\x95\x91\x13\xb1\x24\xd9\x4f\xf2\x37\xf5\x6f\xa6\x7a\x9f\xcc\xf7\x37\x62\xa4\x19\xd9\x26\x9f\xa9\x9d\x42\x0c\x50\xce\x87\xc6\x35\x3a\x72\xe3\xa1\xda\xc4\xa2\x3b\xf5\x9c\x8e\xf5\x7a\xb1\x25\xd4\x8f\xed\xc8\xa3\x0d\x55\x4f\xae\xc4\x8b\x06\xfc\x3a\xd9\x8b\x8a\x2f\xe8\xea\x7b\xc8\x3d\x3c\xb6\xe7\x8c\xdf\x2f\xb6\x9c\x8c\x79\xe4\x9c\x46\xfc\x51\x91\xed\x13\x7b\x6f\x41\x56\x4c\xec\x43\xd5\x79\xa9\xae\x9b\xac\x91\xe8\xf3\x80\x3e\x10\xbb\x7b\x34\x5f\x81\x67\x65\xae\xd5\xbc\x30\x79\x90\x1e\xd9\xa1\x79\x15\xf2\xc2\xf6\x8e\xa2\x53\x64\x3f\x0d\xe4\xec\x45\x46\xc8\x77\x64\xed\x3a\xf2\x12\xf2\xbd\x8e\x98\xa8\xc3\x86\xef\xc9\x69\xda\xfd\x0b\xbe\x92\xfa\x7f\x7d\x9d\x63\x39\x0b\x23\x58\x10\xd9\xa7\x13\xbe\xb0\xc8\xa0\x91\xb8\xbe\xac\xb5\xfa\xce\xd8\xed\xf2\xcc\x89\x9c\xd7\x8c\xaf\xa1\xb9\xd3\xad\xea\x65\x95\x7d\x1d\xb6\x96\x03\x7b\xd2\x55\x7b\x53\xe6\x29\xe1\xbb\x24\x7c\x94\x88\xdf\xa6\xef\x12\x88\x25\xe4\x7a\x66\x74\xbe\xe7\xe6\x3f\xea\xb9\x9e\xeb\xfe\xd4\xf8\x4c\xc2\x8e\xdd\xd0\x99\xae\xce\xa9\xc9\x1e\x67\xf8\x99\xbe\x7e\x47\xe6\x21\x92\x37\x13\x99\xae\xf8\x09\xe2\x3e\x3a\x47\x5b\x3d\xc3\xea\xdb\x82\xa5\x91\x3d\x27\x72\x40\xef\x83\x4c\x9d\x18\x9f\x3c\x63\x60\xdf\x89\xcf\x24\x6b\x26\x6b\xec\x88\x6b\x58\x3c\x36\x63\xa7\xc8\xde\xd0\x7d\xb5\xb5\x38\x98\xdc\x47\xf4\x97\xea\x01\xc7\x1e\xc2\x4f\x55\x99\xb0\x54\x3f\x54\xfd\x4a\x6c\x1e\xd1\x83\x3d\x18\x01\x59\x37\x95\xbf\xe9\x0c\xc7\x01\x3e\xa6\xc7\x2e\x52\x5b\x13\xdb\x6e\x63\xae\x3b\x64\x8f\xac\x9f\xe6\xf2\xa6\x3a\x1e\x99\x6b\x8d\x4f\x79\x72\xf3\x0b\x3e\xfd\x44\x3c\x96\xdc\xa4\xcc\x99\xcc\xa1\xac\x9d\xe6\xd5\x7d\xf5\x69\x67\x62\x54\xea\xdb\xf7\x75\x5e\x44\x16\x89\xee\x49\xd8\x7c\xb2\xb7\x64\xaf\xcb\xde\x15\x59\x24\x73\x26\x9f\xcb\x7a\x5b\x1e\x57\xee\x69\xfb\x44\xf6\xbe\xca\x37\xe4\xa9\xc5\x28\x57\xc3\x65\xcc\xcd\x77\xf4\xc4\x5a\x65\xed\x64\x4e\x45\xb7\xc8\xf9\x5b\x2d\x5e\x0b\x86\x27\x61\x6f\x8b\xde\xd0\x78\x78\xa8\xbf\xcb\x98\xe5\x1a\x59\x3b\xf1\x2f\xc5\x76\x50\xfc\xd2\x42\x0c\x9a\xf8\x9e\xac\x53\x24\x07\xa9\x79\x42\xf2\xfd\x8b\x61\x96\xb6\x3a\xa7\x8a\x9f\x02\xb7\x23\xb2\x2e\x93\xb3\x9c\x88\x75\x2c\xec\xbb\x84\x3f\xa2\x58\x13\x5f\x73\x5d\x2b\x36\x89\xe6\xf1\xb6\x7a\xa6\x27\x72\xb2\x0e\x5b\x7a\xb0\x9c\x00\x7f\x53\xac\x9a\x27\x5e\x57\x6a\xcc\xa2\xc3\xde\x5a\xc1\x36\xa8\xee\xe8\xf1\x21\xba\xaa\x37\xe5\xdd\x7b\xe2\xde\xa2\xe3\x16\x72\xb7\x72\x86\xf5\x39\xc4\x51\x4d\xce\xa9\xbe\xb0\x98\x99\xc7\x16\x1c\xaa\xbe\xea\xc0\x86\x74\xc4\x8d\x44\x36\x65\xd3\x0b\x89\xf8\x20\xb9\xaa\x01\x7c\x4f\xe1\x5c\x6b\xee\x6f\xab\xfa\x55\xce\x83\x3c\x43\xdf\x6f\xac\xe3\x19\xf0\x8d\xc4\x07\x96\xf1\xca\xf8\x57\x62\x12\xb2\x0f\xe4\xb9\x3d\x31\x50\xf5\xd7\xf1\x67\x66\xf2\xf0\xea\xc7\xe2\xa7\xc9\x1e\x94\xb1\xc8\xdc\xcb\xfd\xd2\xda\x6c\x5f\xd9\x3b\xea\x8f\xdb\x9e\xe6\x0c\x2e\x96\x03\xc2\x17\x52\x19\x88\x2d\xbf\xe2\x1b\x8a\x4c\x50\x7c\xca\xd8\x64\x93\xcc\xa5\x67\x6d\x44\xf7\x25\xe4\x49\xb4\xf7\xdd\xc8\x3b\xbb\xe6\x87\xc9\xbc\x18\x5e\x45\x65\xe8\x8a\x4f\xbd\x92\x33\x20\xb6\xb3\xe2\xd7\x69\xdc\x76\x25\x3e\xbb\x30\x6f\xb9\xbe\x7f\x47\xee\xf5\x14\xc3\xcd\x5c\x97\xf0\x65\xf9\x4f\xf6\xa0\xcc\xbf\xfd\xac\xf1\xd2\x5c\xf7\xd3\x6c\x79\x91\xb9\xea\x52\xd1\x41\x22\x2f\x03\xff\x9a\xbe\x52\xbb\x8c\xd8\x8c\xd8\x3c\x1b\x31\x66\xb5\x67\xce\xee\xbf\x98\x4c\x22\x07\x3b\x93\x63\x97\x39\x2b\xf8\x73\x2b\xfb\x5c\x7d\x86\x50\x65\x94\xd9\xfa\x9e\xf9\xd1\x38\x95\xc7\xe6\x72\xf5\x5c\x8d\x60\x13\x57\xe6\x6d\x46\xb6\x6c\xc4\xdd\x3c\xfe\x59\x20\x17\xab\xb8\x29\xf0\x20\xf6\x2e\x6a\xab\xf7\x55\xfe\xcb\x9e\x59\xd8\xdb\xf2\xb7\x15\xff\x70\x0e\x2d\xce\x15\x89\x39\x66\x72\x12\x2a\x3b\xf0\x89\xe4\xdc\xc9\x59\x94\xfd\x2a\xf6\x9b\xec\x47\xf1\xb9\x64\x7d\xc4\x16\x1d\xc0\xb1\x29\x8e\xa6\xaf\x3a\x40\xb1\x0d\x5b\xb5\x21\xe4\x6c\x5a\xfc\x70\x20\xb6\x3c\x83\xb7\x1c\x58\xf3\x91\x1c\xa0\xcc\x85\xe6\x62\x16\xec\xdf\x0e\xfd\x95\xab\xbe\x91\xe7\x28\xbe\x0e\x0c\x9b\xac\x8d\xe8\x52\xb9\x76\x24\xef\xac\xf9\xa1\xb9\x9e\x5b\xb9\x56\xb1\xa9\x2b\xb6\xf2\x86\xac\x58\x38\x7f\x43\xdb\x7b\x6a\xff\x8c\xe0\x65\xb9\x9f\xc8\x6e\xcd\x33\x21\x53\x44\x37\x0e\xf8\x9a\x32\xb7\x6a\x93\x61\x03\x8e\x16\x0f\xc4\x5e\xdb\xb0\xe7\x02\xf8\xd4\x84\xec\x53\x9f\x9f\x38\xa4\x03\x77\x66\xff\x2e\x16\x87\xc0\xc6\x48\x9c\xb1\x05\x1c\x9a\xcf\xe4\x0f\x0d\x67\xcb\xba\x66\x74\x97\xcc\xbd\x5c\x3b\xa0\xff\x46\x62\x29\x6a\xa7\xe1\xbb\xa9\xef\x03\x36\x46\x6c\x4f\x99\x3f\xc5\x49\xb9\x3a\x56\xd1\x2b\x96\x5f\x1b\x72\xb3\xf5\xd5\xde\xb4\x7c\x90\xf9\x13\xa1\xee\x99\x0d\x1f\x43\x31\x89\x03\x58\x10\x72\x30\xba\xc7\xf1\xf7\x2d\x6e\x39\x81\x8d\x33\x1f\x4f\xd6\x72\x63\xde\x1d\x7a\xdf\x11\xcf\x1e\x89\x81\x75\x9c\x3d\xb5\x8d\xc0\x1e\xe8\xf8\x17\x72\x0d\x05\x5b\x0b\x4c\x4f\x67\xf1\x0b\x62\xb4\xea\x23\x10\x03\x58\x89\x09\x2c\xd8\x3e\x1a\xff\x45\xbe\x6a\xdc\x7b\xc5\xa7\x22\x17\x37\x0e\x2d\x46\xa9\xbe\x6a\x00\x73\x3a\xe3\xf7\xe1\x8b\xa8\x8d\xe0\x89\x31\x83\x97\x89\xe8\xa8\x25\xb4\x3c\x4b\x07\x6e\xa5\x03\xbb\x60\xbe\x63\xc0\x26\x53\xbc\x26\x3a\x6e\x29\x4d\x5f\x6d\xc4\xb5\x64\xbf\xe8\x79\x25\xe6\xed\x88\xfb\x2a\xbe\x90\xf7\x29\xc4\x5a\x7b\x7c\x01\x93\xdb\x9a\xff\x4f\xc4\xb2\x87\x2a\x67\x02\xba\xac\xb3\x3c\x0c\xb8\x5c\xd9\x07\x32\xb7\xa2\xa7\xe4\x3e\x3d\x76\x42\x67\xbe\x1d\x71\x0d\xf5\x5f\xc9\xf9\x4c\xe0\xc3\xc5\x06\xf1\x36\xb7\x67\x72\x70\xb3\x58\xf0\x44\x5c\x67\xaa\xf3\x2a\xdf\xd7\xb5\x9f\xeb\x9e\xd4\xf7\xed\xea\x67\x9a\x4f\xf4\x55\xae\xcb\xbb\x8e\xe8\x23\xb5\x29\xfa\x6a\x7f\x5b\xfe\x68\x24\xce\x2e\xb6\x97\xc6\xf9\x02\xf9\x23\xcb\xa7\x80\x75\x9a\x38\xdf\x09\x79\x21\xb2\x73\xc0\x26\x9a\xc1\xd2\xca\x79\xdf\x90\x21\x9a\x7b\xe9\x6b\x7c\x45\x6d\x56\x5f\xcf\x98\xe3\x3d\x66\x72\xa7\x11\xfb\x56\x75\x1f\x67\x56\xe7\x8f\xf3\x16\xf1\x85\x65\x0d\x06\xf2\x29\x1b\x31\x5e\xc5\x70\xe1\xcb\x68\x7c\x1b\x3b\x50\xde\x71\x26\xee\xaf\xf1\x9f\xb1\x7e\xde\x91\xdf\x15\x39\xac\x3a\x72\xe2\xf3\xb1\xfa\x34\x0b\xf9\x48\x79\x7f\x47\xfc\x47\x6d\xd7\x8c\xdd\xd8\xb1\x0f\xc8\xed\x28\x96\xca\xb0\x1d\x99\x7d\xba\x55\x9f\x49\x31\x89\xf3\x99\xbc\x9f\x39\x67\xe4\x20\x3a\xc3\xfe\xb2\x76\x8a\xe9\x2d\xf5\xfe\xf6\x5d\xb3\x43\x47\xcb\x05\x38\xe2\x9a\x60\x76\xb5\xee\x80\x3d\xa7\x72\x32\x82\x2b\x21\x3e\x93\xb0\xf5\x65\x1f\x2f\xe0\x41\x37\xc3\x28\x2e\xf5\x99\x19\x9d\xa1\xbe\x01\x7e\xa7\xc8\x19\x95\xa1\xf8\x73\x1e\x79\x67\xf8\x34\xcd\x67\xf4\xec\x11\xea\x13\x14\x33\x42\xcc\x42\xd6\xaa\x90\x63\x49\xf8\xf0\x62\x5f\x29\xd6\xa5\x43\x5e\xe2\xfb\xf4\xe4\x26\xe5\x1d\x2d\x76\x2c\x6b\x33\x10\xc3\x91\xfd\xaf\xb8\x53\xf2\xf1\xea\xbb\x3b\xc6\xc6\x98\x57\xe2\xdb\xa2\x3f\x0d\x3f\x22\x67\xdd\x30\x5d\x03\x31\xec\x0d\x3d\xbd\x75\xed\x9d\x56\x72\xc5\x1e\x2c\x8a\xcc\x93\x9c\x73\xb1\xb3\xe5\xbe\x23\x7a\x53\xde\xdd\x9b\x0d\x9d\xaa\x0d\xa0\xe7\x11\x1f\x61\xe1\x73\x8d\x0f\xba\x3a\xae\x4c\x3d\x47\x40\x8e\xcb\x7c\x77\x60\x64\x12\x98\x5e\xd9\xbf\x16\x8f\x91\xb5\x91\x77\x9b\x90\xab\xe2\x5f\x6e\x7d\x8b\xe9\xab\x9f\x43\xfe\x63\x20\xbf\x6f\x39\xf4\x8c\xdc\xed\x59\x2f\xf5\x6f\x7b\x62\xd1\x4b\xcb\x2d\x44\x8b\x7f\x80\x6b\xd0\x38\x5d\x57\x75\x97\x62\x6d\x87\xaa\xf7\xd5\x06\xf0\xf8\x52\x96\x67\xef\xea\x19\x17\x7f\x42\xec\xb9\x4c\xde\x52\xf3\x44\xc4\x38\x1c\x31\x20\xc5\x21\x86\xfa\xb9\xc8\x50\xd9\x8f\x32\x97\xa2\x57\x33\xf6\x9a\xbe\xbf\xf9\xe1\x03\x31\x54\xcf\xbe\x18\xaa\xee\x9d\xc1\x15\xc8\x98\x65\xfe\x1c\x78\x88\x40\x3e\x67\xeb\xce\xf2\x7e\xf8\x63\x1a\xdb\xb1\x18\x7c\x4f\xfc\x7f\xac\x67\x64\x04\x13\xe2\xc9\xc3\x75\xe4\x7e\x45\x77\x28\x46\xc9\x91\x3f\x58\xeb\x7b\x69\xce\x77\xa8\x36\xe3\x0a\xce\x42\x7d\x56\xe2\x91\x7a\x36\x63\x7b\xa6\xe6\xa5\x3a\x7c\xea\x8e\xb3\x44\xce\xb2\x07\xe3\x22\xf7\x9b\x63\xd5\xbd\x2b\x36\x5d\x8f\x4f\x1a\xb8\xdf\x88\xcf\x23\xe7\x4b\xf1\xe1\x23\x72\x9a\xdc\xf0\x44\x6d\x40\x38\xc3\xea\x38\xc3\x27\xf6\xd8\xeb\x60\xb8\x34\xae\x3c\x12\x3f\xde\xea\x5e\x8a\xb1\xc5\x7b\x14\xd3\x32\x13\x5b\x0b\xd5\xa6\xd5\xf5\x76\x2d\xd7\xa9\x71\xb1\x01\x8c\x28\xf9\xb8\x88\x7d\xa4\x6b\x1b\xc9\x19\x82\x13\x98\xc8\x99\xc8\x39\xd4\x18\xc4\xcc\xda\x07\x64\x25\x35\x51\xea\xaf\x61\x87\x29\x6e\xbc\x6b\x58\xb2\x81\xb3\xbd\xe2\xc3\x24\x30\x48\x32\xe6\x8e\xfc\x86\x7e\x7f\xc0\xc6\x9d\x88\xdb\x73\xb6\x2d\xe7\xab\x58\xa8\xb3\x33\xb2\x91\xaf\x19\x88\x21\xf4\xf8\xbf\x89\xf3\x3b\x81\x19\xea\xc0\xd3\x9e\x72\x3d\xe0\x3f\x0c\x2f\x21\xfb\x77\x05\xbf\xe4\x0d\x2b\xbf\x22\x7b\xa8\x05\x91\xfd\xa9\x38\x10\x7c\x0e\x8b\xc5\xae\xc4\x86\xe4\x7e\xb2\x66\x3d\xf9\x14\xd9\x8f\x72\x56\x07\x70\x78\x8a\xb7\x21\xbf\x12\x6c\x9f\x0f\xd5\x8e\x11\xfb\xa0\xc7\x57\x94\x33\x28\x32\x72\xb4\x5c\x99\x6b\xe7\x22\x58\x6c\xd5\xd7\x31\xcd\x60\x69\x44\x4e\x65\x62\x36\x26\x47\x26\xe2\x0f\xf2\xbb\x9c\x31\xb5\xcf\xd6\xaa\x2b\xcd\xe6\x52\xbb\x09\x1b\x59\xe6\x50\xf6\xc3\x84\x7f\xa4\x31\xa4\x54\xe7\xdb\x5b\x0c\x0d\x79\xea\x4d\x96\x14\x6c\x3b\xb3\x3b\xb1\x7d\x3b\x64\x8f\xca\x85\x82\x7d\x98\xd0\xa1\x91\x3d\x0b\x1e\xba\x33\xec\x23\xf9\x7e\xab\xfb\x88\xec\x71\xc5\xd1\xaf\xad\xbe\x4c\x64\x86\xe1\x23\x3d\xb1\x6d\x0f\xd6\x32\x81\xc5\x74\xc4\x56\x3b\xb3\xad\x12\xf1\x17\x62\x15\xea\xb7\x4e\x55\x06\x99\x8f\xee\x97\x76\x3f\xcd\xc9\x8e\xf5\x3c\x2b\x0e\x1c\x99\xb6\x32\x1f\x23\xfb\x4f\xce\x4e\x4f\x4e\x22\x21\xc3\x0c\x97\xe0\xd9\xbf\x09\x7d\xa3\x79\xaa\xb5\xea\xe9\x88\xaf\xa9\xfb\x7e\xab\x73\xbf\x10\x7f\x18\xfb\x96\x27\x54\x9b\x80\xe7\x67\xf4\xf1\x84\xef\xda\x21\x2f\x7d\x6c\x7b\x78\x72\xcd\x06\x94\x3d\xe6\xa8\x95\x91\x35\xd1\xdc\x3d\x58\xf3\x05\xbc\x5f\x20\x2f\x18\xcc\xbe\x1a\xaa\xac\x99\x90\x43\x23\xf6\xbc\xec\xaf\xd3\xcf\x03\xf2\x82\xbc\x92\xcc\x85\xd9\xb7\x16\x8f\xf7\xe0\x79\x06\xe4\xb6\xa3\x86\x43\xeb\x53\xa8\xc1\x9b\xf1\xb1\x06\x6a\x23\x7b\xce\x62\x22\x37\xa9\xba\x94\xf8\x75\x01\x53\xb1\x51\x03\xe0\x91\xe5\x8e\xd8\xc0\x42\xec\xd2\x6a\x17\x17\x62\x14\x6a\xd3\x12\xd7\x98\x90\xaf\xb2\x8f\x37\xec\xca\x85\x67\x69\xac\x8d\x1c\xb1\xf8\x95\x0e\x99\x63\xb5\x52\x72\x0e\x3c\xe7\x72\x61\xaf\x2d\x60\x69\x02\xfe\xa6\x62\x9d\xc1\x69\x17\xf2\x61\x96\x97\x90\x77\x54\x7b\x90\xdc\x40\x00\xcf\xb4\x82\x97\x9b\x3d\xf9\x17\xc3\xd7\x4f\xc8\x1e\xc6\x22\xba\x73\xa6\x4e\x2e\xe3\xd7\x25\x7c\x8d\x11\x3c\xf4\x02\x96\x54\xf3\x2b\x9c\x65\xd1\x5f\xea\xfb\x21\x37\x55\x37\x0f\xd4\x0a\x81\xcf\xc9\x5d\x8b\x99\x39\xf2\x6e\x1d\x98\x30\xbd\x7e\x06\x8b\xc9\xb3\x3d\xb1\xd7\xcd\x6c\x62\xec\x2a\x8d\xc7\x81\xb9\x5d\xb9\xa7\x61\x19\x13\x72\x78\x00\xdb\x50\x0c\x2b\xd3\x81\xa5\xc9\x55\xe7\x2e\xf6\x9f\xc5\x9f\xc8\xd3\x1a\x8e\x5d\xb1\xe9\x3c\x6f\xa5\x2e\x67\x63\x6f\x29\x76\x90\x58\xae\xe2\x30\x72\x95\x5b\xea\xef\x12\xaf\xd4\xba\x89\xa9\xda\x55\x6a\xe3\x21\xaf\xe4\xdd\x44\x6f\x46\xe2\xf4\x1a\x23\xc1\x3e\x8d\xc8\x72\x99\xef\x99\x38\xbc\xc6\x56\x89\x99\x8b\x2d\xd1\xb1\x56\x0e\x0c\x63\xc2\x1e\x9a\x89\xb5\x8a\xdc\xe9\x79\xf7\x8e\xfa\xcb\xd1\x70\xa7\x89\xba\xa8\xa1\xee\x55\x47\x6d\xa0\xec\x97\x01\x7d\xdb\x93\x6b\x1b\xa8\x5f\xd6\x35\xea\xaa\x2e\xed\xd9\xe7\x19\xec\x84\xc6\xe7\xc9\xc5\x29\xce\x29\xd7\xf5\x54\xbb\x86\x9c\x65\x20\x56\xd3\x81\xa7\x09\x60\xec\x65\x6f\x7a\xf2\x4f\x81\xba\xaf\x09\xfc\xb4\xcc\x97\xe6\x40\x0c\x6f\x67\xf6\xd6\x5c\xf7\xea\x44\x8c\x46\xed\x15\xe2\x84\x6a\xc7\x14\xf2\xc7\x89\x5c\x21\xb9\xae\x11\x3b\x47\xe6\x7d\x21\x46\x32\x50\xe7\x39\x92\x17\x9d\x89\xe7\xc8\xbd\x66\xb0\x11\x0e\xdd\xdb\x83\x91\x12\x1f\x7a\x31\x9c\x79\x46\xae\x4f\x55\x76\x68\xac\x0a\xdc\xb3\xa7\x76\x4f\xd6\x6e\x44\x7e\x88\x7f\xd1\x5b\x4d\x17\xf8\x34\xb5\x35\xf0\xaf\x55\xbe\xb2\x06\x13\xb5\x0d\x2b\xb9\x81\x40\x7d\x8e\xc7\x96\x76\xe8\x88\x4c\xdc\xd9\xea\x77\x44\xbe\x5a\x4d\xf0\x4c\x8d\xb9\xc8\xaf\x80\x5f\x36\x76\x6d\xae\x02\x76\x40\x00\x93\xef\xa9\x53\x14\x7d\x9f\x18\x4f\x32\xfd\xc4\x7e\x98\xf1\xcb\x22\x7a\x4d\xc6\x95\xa9\x1f\x97\xfd\xd9\x63\x7b\x4c\xcc\xa7\xc8\xdc\xd5\x6a\x0c\xc9\xc1\x3b\x6c\x18\x99\x7b\x07\xf6\xad\x8b\xcd\x5e\xd3\xb9\x21\x6f\xa7\x3e\x4f\x47\xfd\x14\xb1\x3d\xab\x9b\xf4\xd4\x8c\xaa\xbe\x71\xe8\x5c\xe4\x4d\xc7\x33\x34\x86\xef\xab\xee\xd0\x18\x7c\x22\x7e\x35\xe3\xdf\xb1\x17\x14\xd3\x90\x88\xaf\x92\x6b\xea\xf1\x9b\xd7\xd4\x62\xba\x23\xf5\xd3\x89\xfd\x25\x7b\x43\xf6\x84\x61\x7f\x14\xdf\xd5\xe1\x93\x91\xc3\x49\xe0\x58\x74\xee\x97\xba\x56\x1d\xb1\x8e\x1e\x1b\x70\x5a\xda\x5e\xd9\xc0\x4f\x6b\x1c\xb1\x54\x3b\x4f\xe4\xaa\x23\xb6\x61\x36\xd9\x42\x5e\x42\xce\x48\x47\xec\x56\x73\xfb\x0b\xe7\x11\x5b\x25\x93\x23\x91\x33\x3b\xa4\x86\x83\xec\x99\x93\x19\x79\x35\x51\x87\x97\x86\x86\xdf\x1e\xf1\xcf\x74\x0c\xe4\xb7\xe5\xbc\x6e\xac\x5b\xc1\x26\x94\xfd\xbe\x60\xb3\x8a\xfe\x9a\x5d\xab\xd1\x55\x0c\x29\xd8\x9e\x48\xbe\x54\xe3\x10\xe4\x88\x35\x86\x43\x0d\xa1\x03\x7f\xb5\x80\x2f\x1a\xc9\xc1\x89\xcd\xd6\x71\xdf\xce\x30\xc1\x91\x58\xa6\xe5\x51\x1c\x3a\x60\x04\x9f\x32\x80\x63\x88\x60\x7a\xa8\xed\x33\x5c\xd1\x86\x9e\xcb\xc4\x24\x12\x76\x58\xc6\x37\x37\xdc\xb0\xd8\xcd\xeb\xd2\x62\x0b\xca\x23\x80\xee\x8f\xc4\x73\x3a\x7c\xee\xcc\x78\x1c\x36\xd0\x44\x6c\x5e\xf6\xa7\xea\xa9\x8d\xfc\x2c\xf9\x1e\x4f\x3c\x78\xa4\x46\x25\x5b\xae\x64\xa9\xb6\xf3\x0c\x5e\x71\x06\x87\x36\x81\xef\x57\xec\x78\xaa\x67\x7f\xe5\xf9\x8a\x9d\x1f\xea\xfc\xa9\x2f\x4d\x1c\x76\x66\xae\x13\x73\xa8\x75\x53\xf8\x1d\x9e\xf8\xd6\x68\x75\x9b\x8e\xba\x96\xbe\xbe\x57\x21\x86\x3d\x53\x17\x37\x82\xd9\xd4\x18\x59\x87\x5c\x83\x93\x62\x46\x77\x99\xde\xd0\x33\x3f\xd6\x3d\x6d\xbe\x41\x82\x3f\x41\xe7\x66\x25\xf6\x62\x98\x99\x99\x98\x11\x71\xbd\x15\xfc\x75\xc0\xf6\xd4\x78\xdb\xdc\x64\xb7\xd8\x57\x8e\xbc\xc6\x4a\x8e\x67\x26\x3f\xa9\x71\x14\xc3\xfd\x9d\x8d\x49\x71\x72\xc8\x4b\xf5\x9d\x72\xdd\x8b\x8a\x65\x4a\x75\xbe\x47\xe2\x83\x09\x9f\xc1\xe2\x2f\x1d\xf5\x92\x19\x5c\xd9\xc0\x9a\x9e\x70\xb7\x4b\xd5\xe7\x33\xf5\xbf\x3d\xb1\x33\x3d\x4f\xe4\x88\x7a\xe6\x2d\x13\x23\x53\xcc\xd2\x46\x2e\x8f\x58\xca\xba\x36\x1c\x50\x40\x06\xab\x0f\x9c\xc8\x9b\x8c\xf5\x5d\x16\x6a\x5d\xad\x96\xca\x81\x0b\x56\xcc\x77\x57\xe7\x59\xf7\x2f\xb9\xd1\xce\xf4\x1c\x75\x3f\x96\xb7\x57\xdc\x07\xfe\x4e\xa2\xee\xd7\x72\xa1\x8a\x31\xcb\xcd\xe6\x11\x1b\x52\x64\x8d\xd9\x65\xa2\x87\xb4\x8e\x9e\xda\xba\x42\x9e\xb3\x3b\xc3\x2f\x16\xab\xdb\xc6\xef\xd7\x39\x29\xe0\x65\x3b\xf0\x20\x43\x95\x41\x9e\xfd\x3f\x10\xaf\x8c\xe0\xa4\x35\xbf\x09\x1f\x41\x21\x6f\xdd\xe3\x37\x4e\xf8\xf0\xa2\xa7\x16\x8b\x7d\xd8\x3e\x21\xc6\x9a\xa8\xb9\xee\xa7\x86\x77\x1d\xf0\xb1\x14\x5b\x56\xd8\xeb\xc4\xcf\x66\x30\x99\x5a\xe7\x46\xae\x66\xc1\x96\x52\xfc\xe1\xd0\x7c\x3f\x95\x2b\x60\xbf\x65\x9f\x14\x30\x03\xde\xe4\x3c\x58\x8f\x48\xcc\xb8\x03\xd3\x15\x5c\xc3\xf9\x28\xbe\xa1\x54\xbf\x59\xe3\x8b\x53\xd5\x5f\xa2\x77\x3b\xb8\x3b\x2c\x97\xb5\x52\xcf\x21\xe7\x56\xf6\x8e\xee\x95\x54\xf5\xbc\xe2\x7e\x7c\x1d\xe3\x08\x8e\x54\xd6\x73\xa6\x0e\xd2\xfe\xae\xb1\x7f\xfc\x00\xd9\x8f\x03\x31\xd3\x48\x7c\xd5\xec\x85\x88\x8e\x30\x9d\x9e\xf0\x99\x1d\x76\x8b\xd6\xc8\x50\xeb\xaa\x72\x1c\x3f\xcf\x72\xfc\xa3\x3f\xc3\x56\x53\x47\x38\x70\xce\x35\x06\x3e\xb6\x58\xfc\x68\x76\x50\xc2\xa7\xc7\x66\xd7\x78\x54\x22\xd7\x42\x1d\xeb\x8c\xed\x3f\xc1\xa5\xe0\x88\x51\xc8\x1e\x92\x31\x3b\xab\x51\x80\x5f\xa4\x07\x57\x3e\x10\xf3\x5d\x2c\xdf\x8d\x7f\xa9\x76\x04\xb2\x42\x7c\x64\x91\x8b\x72\x0e\x15\x53\x0a\xb6\xc9\xce\x6c\xf2\x67\x98\x25\x70\x1b\x1d\x36\xfe\x48\xdc\x3d\x93\x47\xb0\x1c\x86\x27\xb7\x1b\xc9\x45\x58\x4c\xd1\x64\x87\xee\xd5\x48\x3c\xaf\xc7\x5e\xc0\x47\x0d\xc4\x43\x66\xf0\x6b\xea\xeb\x91\x77\x0f\xf0\x78\x98\x0f\xaf\x76\x04\x38\x55\xc5\x41\x20\x4f\x32\xfc\x27\x9a\x3f\xc7\xd7\x9d\xbb\x86\xa1\x9b\xe1\x5b\x90\xb3\xa8\xf6\x2d\xbe\xf2\x00\x76\xc6\x70\xf8\x23\xb9\xd0\x69\x6e\xd8\x75\xc5\x4a\x13\xe7\xd5\x39\x20\x7f\x1c\xc1\xd7\x26\x6c\xa9\x09\xff\x76\x4e\xf5\xac\x7a\xc3\xde\x51\xe7\xa1\xb2\x11\x1d\x3e\xe2\x3f\x8a\x8d\xad\x36\x2f\xb9\x41\xad\x25\x81\xbf\x46\xf1\x92\xf8\x5f\x91\x9a\xee\x8e\x7a\x2a\x8b\x9b\xa9\x5d\x6e\xfc\x14\xae\xfe\x6c\xb1\xa3\x81\x7a\x8f\x81\x1c\xbf\xee\x39\x72\xaa\x1d\x7e\x4c\xb1\x9a\xea\x08\x07\x92\x47\x2f\x74\xad\x66\x58\x71\xd9\x63\xd5\x05\xaa\x47\x88\xab\x89\x4e\x5a\xc1\xf3\x8d\xc8\xab\x11\xfb\xa7\xc7\x3f\xd7\xfa\x19\x30\x86\x1b\xeb\x6a\x75\xb2\x0b\xf1\x97\x04\xe6\xb7\x27\x5f\xdb\x11\x3b\xef\xc9\xcf\x0f\xd4\xc7\xcf\x16\xc3\x26\x8e\xb3\x62\xbb\x26\x72\x19\x23\x3c\x1e\x9a\x3b\x29\x2d\xef\x2e\x67\xb8\x50\x57\xe6\xc8\x73\x39\xfc\x3a\xcf\x5a\x29\x16\xa7\x10\x57\x89\xc4\x85\xa9\x69\x52\x3f\x02\x79\xd1\x13\x0f\xe8\xc0\xe4\xcb\x7c\xce\xd8\xd3\x0e\x5b\x68\xc5\xbe\x1c\xc1\xa3\x7b\x38\xa4\xca\xd2\xb0\x8b\xba\x7f\xb6\xaa\x13\x67\xb0\xb2\xe6\xab\x0f\xf0\x69\x89\x0d\xa3\xe3\x82\x27\x68\x05\x1b\xd1\xa7\x86\x5b\xcc\xe4\x91\xfb\xb9\xe5\xc9\x3b\x72\x85\x33\x79\xa9\x08\xe7\x44\x26\x66\x19\x89\x67\x0c\xc4\xde\x87\xae\xe5\x04\x07\x62\x70\x23\x71\x1e\xad\x27\x30\x8e\x9a\x91\x3c\xb6\xe9\x64\xf6\xee\x8a\x3f\x2d\xf2\x66\x22\x26\x52\x38\xbf\xc6\x7b\xe2\xc0\xb0\x39\xb0\xc7\xc9\xc6\x4c\x6c\x4f\xde\x39\xe2\x6f\xa8\x0f\x00\x6e\x70\x61\xcf\x64\xce\xf2\x44\x8e\x77\x8d\x2d\x8f\xe3\xe7\x33\x3c\x5f\x46\xb7\xe3\x23\x64\xf8\xb2\x26\xe3\x3f\x00\xef\x5c\xcc\xf7\x0f\xc8\x6e\x7c\xfb\x05\xdc\xf7\x08\xfe\xb1\x63\xae\xcd\x0f\x88\xc4\x99\xbd\xdd\xc3\x57\xfd\x2c\x72\xb9\x27\x5f\x12\xa9\xeb\x91\xf9\xd5\xf9\x5a\x88\xdf\x4d\xf5\xfd\x65\xef\x9b\x0f\x3a\xc2\x49\xa5\x3e\xf5\xda\x70\x60\x22\x7b\xe5\x6f\x61\x68\xbe\x99\xd8\x2e\x09\x8c\xbc\xc8\x0b\x07\x17\x4d\x24\xf6\xa0\xb1\x52\x70\xd1\x11\xcc\x9f\xee\x81\xd8\x70\x11\x09\xfc\xbd\x47\x3f\x2a\xd7\x46\xa9\xfa\xaa\x37\xac\x29\xb1\x56\x87\xfc\xf1\xbc\x8b\x9f\x1b\x67\x94\xd6\x37\x53\xaf\xb2\x81\xdf\x8f\xe0\x1d\x5d\xd7\xf2\xcb\x71\x68\x39\x68\x07\x56\x73\x00\x8b\xaa\x7c\x2d\xd4\x02\x6b\xde\x01\x3d\x91\x90\xeb\xb2\xce\x09\x7e\xa1\x81\x78\x74\x64\x5d\x95\x7b\xc2\x38\x14\xc0\x41\x44\xe6\x2a\x62\x83\xc8\xef\x66\xdb\xea\xde\xb0\xda\x39\xf0\xac\x96\x1f\xcf\x86\xed\x04\x7f\x25\x63\x4d\xf8\xde\x61\x68\xf5\xd8\x29\xb4\x1c\xc8\x0a\x7f\xc9\x40\xec\x6d\x23\xf6\x94\xb1\x85\x65\x8e\x7b\x64\xd7\x8a\xfc\xed\xa9\xef\xea\xe1\x45\xe9\xa8\xd1\x33\xbd\xe2\xe0\x62\xc9\xc4\x73\x3c\x75\x1f\x86\x47\x2f\x63\xab\x5b\xea\xa9\x67\x8b\xe0\x94\x15\x53\x01\x76\x52\xf6\xca\x50\x1a\xae\x4a\xfc\x54\x19\xbb\x23\x3e\xb3\x8c\x2d\x1e\xe2\xe1\x2c\x8a\xd8\x68\x0b\xf5\x0c\x05\x5b\x38\xb0\xdf\x3a\xf3\xd3\x89\x25\x0c\xe4\xa7\x22\xf8\x8a\x0d\x7b\x4f\xf6\x8b\xf2\x6e\x95\xb6\xfe\x7a\xbd\xc9\x39\xf4\x5e\x3f\x34\x6c\xb3\xe2\x9b\xc8\xf1\x17\xd6\x36\x71\xee\x12\x31\x0a\xb5\x01\xb0\x0f\x3d\xf6\xb2\xc6\x96\xd9\x37\x8a\xe3\x1c\x5b\x0c\xd0\x91\x9b\xd6\x78\xf3\x44\x4c\xde\x62\x99\x05\xdb\x1a\xdb\x31\xa1\xab\xfb\x8c\x2f\xcd\x7e\xdc\xc0\xc2\x27\xb8\x2a\x44\xc6\xaf\xe0\x05\x1d\x98\xfb\x05\x1e\x36\xcd\x91\x51\xcb\xe3\xc9\xcf\x24\xdf\x6a\x93\x7b\x78\x03\x3b\xce\xc7\xec\xce\x70\x10\x5b\xdd\x6f\x89\xba\x2e\xd5\xaf\x85\xd8\x44\x00\x7f\xe5\xeb\xfc\x77\xc4\x10\x1c\x18\x59\x59\x83\x02\x86\x69\x61\xad\x67\xce\x4e\x0f\xd7\x61\x60\x5f\xaf\x86\xab\xcc\xcd\x4f\x4c\x60\x8f\x95\x47\x86\x18\x91\x9c\xa5\x11\x7f\x71\xa2\x3e\xc1\xe3\xef\x6d\xf8\x78\x19\xcc\xb7\x3c\x6f\xa5\x26\x59\xd7\x80\xf7\x1b\xc9\x69\x76\xb1\xd5\x04\xeb\x3c\x9a\x9d\x4b\x5d\xa9\xc3\x56\x16\xbf\x36\xf7\x0d\xab\xe2\xa9\x3f\x59\x3c\xb9\x34\x64\xbc\x43\xaf\x2f\xd8\x91\xd3\xd2\x6a\x73\xfb\xa1\x61\xc1\x03\x35\x07\xf6\xce\x03\x72\x7d\xe6\x8c\x24\xea\x55\xbc\xf1\x70\x81\x0b\x51\x19\x04\xde\x37\x52\x63\xd1\xaf\x2d\x46\xb1\xc0\x7d\xe1\xb0\x13\xd4\xff\x32\x7d\x04\x0e\x4c\x6d\xad\x50\xf7\xec\x46\xde\xdc\xf8\x9a\x1c\xf8\x25\xc5\x5f\x83\xe1\x51\x9c\x18\x7a\xce\x51\xdf\x2e\xef\x5f\xf0\xc1\x67\xec\xdf\x99\xda\x7d\x8b\xb5\x44\x72\x7d\xb2\x7e\x19\xdf\xc7\x33\xdf\x1a\x4f\xa2\x5e\xd5\xc1\x35\xa4\x31\x2a\xe2\x18\x1b\x76\x68\xc1\x1e\xf0\xe0\xc4\x8d\x17\x60\x41\x07\xac\xc8\x22\x79\xae\xd5\x0d\x7a\xb8\x15\x44\x7f\x39\x72\x5b\x19\x2e\x29\xcd\x81\x4c\x70\xfc\x0d\x0d\xff\x21\x7e\x97\xf2\x00\x82\x07\x12\x3b\x2f\x4c\x0d\x2f\xaf\xe7\x1d\xf9\x14\xcc\xee\x1d\xc0\xea\xf7\x75\xef\x66\xd7\x72\x40\x33\x76\xeb\x40\x9d\xd8\x02\x97\x63\x4f\x1d\xf5\x06\x07\xc9\x84\xdf\x3c\x53\xc7\x2f\xe3\xc8\x56\x9f\xb0\x62\xff\x10\xff\xd4\x1c\xca\x84\xed\x6b\xb6\x27\xdc\xa4\x8a\xb3\x25\x0f\xec\xc0\x74\xf7\xc4\x0f\x74\x0f\x83\x3d\x59\xb1\xa9\x7a\xb0\xd4\x2b\xfc\x59\x11\xee\x43\x91\x51\x2b\x6b\x3c\xcf\x0d\x13\xaf\xfa\xda\xce\xac\xf9\x66\xd8\xd8\x0e\x7b\xc2\x83\x07\xd6\xb3\x4b\x1c\xc8\xe4\xcd\x02\xcf\x8b\xe2\x30\xe1\x45\x4c\xe4\x83\x8d\x93\x60\xe3\x6c\x26\x78\x22\x0d\x7f\x35\x92\x63\xeb\x89\x13\x5a\x0c\x77\x22\xee\xe4\xc6\x86\x9d\xea\xc8\xeb\x27\x6a\x1f\x46\x72\xc4\x72\xcd\x46\xdc\x48\xcf\x0a\x36\xfc\x0a\xef\x4e\x8a\x4d\x57\x18\xd6\x7a\xb5\xb8\x3d\xf9\xb7\x0e\x8e\x8e\xc0\x1e\x48\xd4\x5f\x25\xea\x6a\x54\x47\x13\x47\x9e\x58\xbb\x95\x78\xa6\xea\x8c\xb1\xee\xf1\x95\xba\x3b\x8d\x01\xc5\x7a\xbd\xc6\xe0\xe0\xd2\x18\xf1\xed\x47\x6a\x63\x23\xe7\x3e\x19\x7f\x1d\x79\x17\xf3\x61\xec\x7d\x03\x3c\x14\x5a\xd3\x83\x0d\x34\x91\x37\xf5\xe6\xf7\x3a\xb0\x79\x23\x36\x61\x41\x66\xe5\x3a\xbe\x15\x1f\xc4\xf2\x08\x3d\xb5\xe1\x33\x78\xde\x00\xaf\xa5\xf8\xcf\xdb\x99\xbd\x30\xc2\x09\xe5\x97\xe6\x4b\x2f\xd4\x3f\x14\x72\x93\x1d\x7c\x35\x81\xb8\x69\x2a\x0d\x6b\x1f\xe7\x16\x0f\xf5\xd4\x69\x15\x30\x29\x01\x5b\xe3\x54\xa7\x08\xa7\x53\xa0\x3e\x46\xeb\xa9\xd1\x95\x3d\xb5\xd6\xfd\x74\xc6\xd5\x60\xbe\x8d\x61\x1f\xa8\xb1\x73\xa1\x71\x12\x0d\x70\x61\xcd\x86\xe5\xa6\x5e\x22\x82\x6b\xd6\x5a\x32\xe3\xa5\x20\x8e\x9f\xe0\xc0\x58\xd9\xe7\xb9\x6f\x18\xa1\x11\x3b\x6b\xa6\xa6\x5f\xde\x4f\xe3\x0b\xc4\x98\x46\x30\x56\x86\xf9\x4e\xe0\xf9\x02\x5c\x90\x3d\x31\xa4\x6c\xef\x00\x77\x87\xd6\x0d\xfb\x33\x8e\x9d\x8c\x8c\xf1\x0d\xf3\xd1\xc1\xd1\x53\xc0\x4a\xea\x19\x19\x5a\xad\x72\x01\xcf\x94\xac\x56\x06\x3c\x95\x62\x5f\x8c\xe7\x2f\xf2\xee\xf8\xec\x8e\x7a\x05\xb5\xbd\x88\xc9\xc4\xae\xf1\xd0\x76\xd4\xec\xaa\xae\x5e\xb1\xc1\xb0\x99\x56\xb0\x86\x85\x3d\xda\x31\x7e\x3d\x07\x67\x9c\x00\x2b\xb5\x09\xc6\x6f\xa5\xfe\x4d\xa0\xfe\xcc\x6a\x20\xc1\xe7\x8d\xe0\x08\x95\x27\x67\xad\x63\x14\xbb\x29\xc1\x67\x94\xb0\x4f\x72\xdf\x7c\xf1\x89\x5a\xe4\x05\x3e\x97\x4c\x1d\xb8\xea\x0e\x72\x53\x9a\x17\x36\xce\x28\xe2\xc1\xc5\x72\x8f\xe4\x3c\x0c\x77\xde\x4d\xad\x6e\x51\xe6\x6b\x80\x73\x6c\x66\x9f\x7b\xea\xdd\x03\xbc\x88\x1a\x47\x02\x23\x3f\x32\xa7\xca\xe9\x05\x66\x35\x12\x47\x55\xdc\xc3\x52\xe5\x61\x31\x6e\x84\x84\xcf\x9c\x5a\x1c\x2d\x96\x56\x6b\x12\xbb\xc6\x8f\x33\x63\xb3\x24\xea\xd1\x33\xf9\x50\x07\x56\x27\xc3\x43\x5b\x90\x1b\x9e\x1c\x79\x0f\xd7\x49\x82\x93\xb6\x80\x75\x2d\xe4\x2e\x3c\x3c\x5d\x56\xfb\x60\x18\x2a\xe5\xa0\x41\xe7\x75\xe4\x91\x66\x70\xe5\x7e\x6d\x5c\x58\x3d\x78\x0c\xab\x81\x57\xff\xd9\x6a\xd2\x2d\x47\xd4\xb7\x1c\x4d\x34\x4c\x29\x35\x31\x2b\x35\xae\xab\xe5\xc0\xb6\xb3\x9c\x11\x7b\x7f\xb2\x7b\x81\x8f\x37\x9c\xb4\xbe\x1b\xfa\x39\xc0\x07\xa6\xf7\x07\xa7\x16\xa9\xaf\x35\x59\xa5\x71\x23\x7c\x0d\x4f\x8d\xa8\xe2\xd5\xc8\x2b\x2b\x96\x0c\xff\x55\x74\xb8\xfa\x97\x0e\xdb\x9c\x5c\xd6\x86\x7e\x90\xfd\xa4\x7b\x1e\xde\x71\x39\x57\xaa\x6b\xc0\x44\x17\x78\x22\x0d\x47\x3f\xc2\x97\xa4\x71\x6f\xec\x26\xd9\x07\xca\xff\x74\x56\x4b\x30\xc0\x4b\x9b\xc0\xbc\x19\xe7\xe2\x08\xd7\xf6\x08\xcf\xde\x04\x26\x79\x83\x27\xc9\x21\xff\x3d\x7e\x7f\xb6\xd8\x54\xdf\xf6\x85\xa3\x06\x41\x6d\x29\xe2\x69\xc6\x7d\xa6\xf2\x93\x9c\xb2\xf1\x5a\xe6\xb1\xf1\x03\xda\x77\x26\xfc\xfe\x0d\xfe\x2f\xcd\x83\xc3\x41\xdd\x1b\x46\x0f\x7e\xda\x8d\x78\xab\xac\xcd\x80\x5f\x60\x9f\x2b\x26\x93\x6b\x3c\x72\x7d\xc0\x66\x2b\xf0\xe1\x6a\x2d\x1b\xf9\xcd\x00\xce\x4d\x71\xef\xd4\x0d\x6d\xf0\x62\x66\x38\xcd\x4e\xbf\x13\x6f\xb1\x7d\x2e\x7b\x6c\x05\x4b\xa2\x38\x18\xb8\xcd\x0b\xbc\x5a\x1b\xdc\x63\x29\x36\xcc\x9b\xe6\xaa\xc9\x93\x38\xf8\xe2\x1c\xfc\x74\x66\xbf\x78\x70\xa5\x7d\x6e\xdc\x8d\x23\xf1\x1a\xe3\xa9\x56\x3e\x74\x30\x24\x13\x9c\x76\xb6\x27\x06\x62\xb4\x23\xf1\x84\x82\x7e\x3f\x71\x11\x51\x17\xe9\x88\xcb\x9a\x1d\x94\xb1\xcb\x0d\xf3\x1e\xa9\xab\x5a\xc0\x91\x68\x0c\x3c\x55\x1b\x41\xf1\xf7\xf0\x09\x7b\x6c\xeb\xc0\xbc\xce\xd8\x2c\xeb\xdc\x7c\xb9\x3e\x34\x2c\xc1\x80\xaf\xbc\xc1\xa5\xa8\x39\xb4\x04\xff\x00\x35\xd8\x72\x9e\x36\x30\xfa\x05\xae\x03\xab\x99\xe8\xe1\x67\x4b\x4b\xc3\xab\xf6\xb1\xe5\xd8\x57\x78\x3c\x06\x74\x70\xc1\x66\x54\x2e\x6f\xd6\x61\xb6\x38\x5c\x06\x87\x03\xa7\x5b\xc4\x97\xeb\xf0\xef\xd4\xd6\xf5\x60\x5e\xa6\xc6\x39\x61\xfe\x54\xb2\xf8\x1c\x78\xd8\x1e\x8e\xa2\x11\x6e\x82\x15\x7b\x6d\x76\x2d\x86\xad\x18\x9e\xb1\xca\xa9\x19\x9d\x1a\xf0\x5b\x02\xba\x2d\xb3\x17\x15\x33\xd6\xb5\x7a\x8c\x35\xb5\x98\x83\x03\x3f\xeb\x4c\xef\x80\x77\xed\x78\xdf\x0e\xbd\x2f\xf3\x27\x7a\xc2\xc1\x61\x35\x11\x9f\x4d\xc4\x7f\x3d\x3c\xa1\x2a\x23\xa9\x0b\xec\xc0\xdb\x0c\xd4\x5c\x5b\xde\x67\x01\xb7\xbe\x51\xcb\x93\x88\x87\x29\xff\x1e\xf9\xcc\x9e\x79\x18\xb7\x16\x6f\x35\x7c\x4a\x22\x8e\xa8\x78\x50\xe4\xce\x8a\x0d\x56\xf0\x63\x3a\xf4\x58\x26\xd7\x5e\xa8\x1b\x70\xf0\x0e\x28\x3f\xbb\xd5\xc5\x53\xfb\x10\x58\xe3\x99\xb8\x56\xcf\x5e\xd2\x1c\x19\x7b\x29\x18\x57\x31\x9c\x4f\x1b\xf5\x15\x93\x71\x02\x83\x27\x4d\xe0\x26\x65\x3f\xf4\xb9\xd9\xdf\xc5\x38\xf4\x88\x5f\x8f\xe4\xc5\x27\x6a\xa8\x3b\x7b\x1e\xdc\x66\x2b\x9c\x79\x39\x34\xfe\x90\x02\x17\x96\xf1\x16\x69\xed\xcd\x19\xb7\x91\x7d\x67\x05\x67\xb5\x10\x9f\xf2\xf4\x55\x98\xa8\xef\xf6\x67\xf1\x01\xbb\x26\x98\x1c\x40\xbf\x0f\xc4\x0e\x37\xb8\x29\x13\xbe\x82\xc6\xf1\xc8\xa9\x2e\x86\xfb\x2f\xad\x56\x63\xa2\xd6\x24\x13\xb3\xe8\xac\x27\x05\x35\x84\xc6\xd1\xe2\x2d\x1f\x46\xae\x37\x81\x33\x1a\x89\x0b\x9f\x78\x56\xa8\x9d\xb0\x58\xd6\x02\xce\x77\xe3\x8c\x4d\xc4\x93\x37\xb8\xaf\x15\xab\x80\xad\x30\x85\x56\xb3\xbd\xc2\x91\x35\x12\xc7\xb5\x58\xa7\xfc\x57\x38\x2b\xe6\xef\x1a\x8e\x42\x64\xcd\x0a\x46\x69\x46\xe6\x6e\xd4\x27\x8d\x53\x9b\x83\x04\xf7\x4b\x31\x9e\x75\xf6\x55\x34\x0e\x00\xd6\x73\x80\xcf\x33\xc1\x93\xd9\x83\xf7\x95\x79\xd6\x3c\xf9\x58\xf7\xc0\x4a\x0e\x3e\x52\x4b\x25\x3f\x4f\xf4\xad\x50\xee\x01\x78\x5b\x37\x64\xfc\x0a\x37\x8d\x07\xbb\xd5\x53\x1b\x6c\xfc\x2a\x01\x59\x61\xbc\x90\x62\x77\xc8\x9a\xcc\xe5\xec\xdd\xe0\x78\x1e\xe1\xac\x99\x88\x91\x58\xde\xce\xc6\xe5\xf1\x49\x3c\x78\xb5\x05\x5f\x47\x6b\x04\xe0\x65\x4e\x60\x55\x34\x6e\x85\xbe\xef\xa9\x65\x99\x88\x65\x5b\x1e\x6d\xa6\xde\x70\x82\xef\x68\x06\xf3\xa2\xd8\x25\x6c\xef\x08\xbe\x44\x63\x6b\x70\xb6\x2d\x70\x5f\x75\xe0\x74\x65\x7d\x17\xce\x47\x07\xc7\x4d\x07\xb7\xe9\x0a\xdf\x84\x07\xcf\x34\xc0\x77\x21\x7b\x4b\x31\xdf\xe4\x6b\x0a\x38\xbd\x4c\x3c\x72\x46\x36\x75\xf0\xb4\xd8\x7b\x8d\xd4\xb8\xc8\xb5\xb3\xe9\x5d\xf4\x97\xa7\x9e\xa5\xdb\xce\xc6\x09\xb7\xe8\x48\x0c\xaa\x23\xbf\x34\xa7\x56\x13\xe9\xe1\xac\xd1\x98\xf1\x04\x9f\x24\x76\xa8\xd6\xb8\xa4\xc6\x5d\xdb\x93\xbf\xd4\x9a\x66\x62\xe6\x05\xbe\x86\x11\x5c\xb8\xc6\xdd\x8c\x27\x87\x78\xd2\x48\xcd\x80\x07\x3b\x97\xe8\x69\xd2\x19\x27\x70\xaa\xb1\x74\xdd\xf7\x86\x83\xb3\x1c\x17\x67\x36\x5a\xff\x01\xf8\xd6\x9d\xf1\xd0\xe0\x63\xf5\xc4\xd3\x17\xf2\x1a\x8b\xd9\xc9\xac\x91\x8d\x61\xa2\x96\x65\x80\x4b\x26\xe4\x56\x37\x35\xa0\xe7\x35\x3e\x30\x37\x39\xa6\x5c\x18\xd4\xa1\x79\x30\x87\x1e\x5b\x60\xa6\x86\x74\x86\xb3\xc2\xb8\x39\xbc\xf9\xe2\xf8\xf6\x8e\xfd\xe8\x89\x4b\x25\x78\xe6\xb2\x61\x0c\xd1\x7d\x99\xdc\x4b\x47\x3d\x9b\xbc\xbf\x3c\xbb\x07\x7f\xb0\x72\x2e\x1c\x1c\x5b\xd1\xf8\xdf\xc1\xc9\x2c\x86\xdb\x21\x37\x3e\x53\x2b\x30\x5b\xaf\x05\xce\x6d\xa2\x67\x80\xe6\x52\xc0\x50\x68\x8f\x1c\xe3\x77\xc7\x97\x8c\xbe\xe5\xab\x4e\x7a\xdd\x7c\x5a\xeb\xc9\x33\x60\xff\xc1\x21\x62\x31\xb2\x40\x6d\x8e\x27\x17\xae\xfe\x1b\xb8\xe3\x4c\x7c\x49\x79\xaf\xc1\xf4\xac\x56\x77\xb9\x82\x41\x44\xc6\x45\xf6\xe1\x6c\xfc\xec\xa1\xe5\x35\x07\xb8\x82\x17\xea\x8f\x1c\xb6\x64\x47\x9d\x95\xe2\xe6\xa9\x63\x89\x70\x46\x2c\x56\x57\x49\xfe\xd8\x19\x97\x23\x76\x7e\xa1\xef\x50\x24\x5f\x2c\xb2\xc2\x71\xee\x32\x58\x91\x8e\x3e\x3f\x27\x7c\x0e\x31\x8a\x99\x33\x39\x10\x53\x57\xdb\x1a\xac\xf1\x46\x3f\x88\x0c\x6f\x76\x24\xd6\xaf\xf1\xaa\x05\xdc\x30\x7d\x1c\x64\xdf\x0c\xc8\xb2\xb4\xb6\x1a\xc5\x01\x3e\x25\xdb\x4f\x1d\xf5\x3c\xf6\xef\x8a\x0d\xd6\x83\x89\xd0\x1c\x15\x3a\x6f\xe0\x8c\x18\xa7\x49\xc2\xfe\x15\xdd\x67\x35\xb4\x2b\xfb\xd1\x13\x07\xc9\x63\xe3\xe1\x4d\xc4\xc9\x15\x57\x0d\x66\xc4\x30\xbb\x8a\xa3\x21\x76\x93\xe0\xe2\x12\xbf\x63\x03\x5f\xb3\xae\x2d\x4f\x5a\xb8\x97\x27\x5f\x21\xf7\xec\xa8\x97\x57\xfe\xd4\xb9\xd5\x3f\x6c\xc4\x50\x37\xfa\x0c\x19\xe6\x26\x8c\x2d\xce\xaa\xb5\xf3\x0e\x5f\x0b\x8c\x8f\xe9\x94\x00\xf6\xf3\xd4\xdf\xc6\x74\x38\x1c\x22\x13\x18\x20\xe5\xcc\x24\x0f\xb7\x92\x67\xd5\xbe\x1c\xf8\xe8\xd3\xd2\x6a\xd9\x7c\xdf\xf8\x8f\xd5\xbe\x89\xad\xa6\x3d\xc6\x56\x43\x15\xf0\x35\x66\xd7\xb0\x27\x13\xfc\xdc\x0b\xf9\x4e\x8b\xfb\x0f\xc8\x9a\x0e\xff\xac\x8f\x8d\x53\x76\x26\x8f\xb5\xc0\x89\xba\x90\xc7\x4b\xa6\xaf\x3c\x36\x78\xc4\x46\x83\xf3\x65\xb3\x1a\x7a\x64\x87\xa3\x46\xac\x18\xae\xc6\x70\x78\xc4\x5c\xb4\x26\xc7\x38\xa1\xe9\xdf\xe0\xf1\x15\x74\x0f\x7a\x6a\xd5\x0d\x6f\x43\xde\x33\xc3\xcb\x33\x10\x87\xcb\x8c\x53\xe3\xa6\x03\x35\xbc\x86\x59\x27\xb6\xa3\x79\x1d\xfc\xb5\x9e\x9a\xf3\xcd\xec\x4b\xfc\x96\xc5\x38\xee\xc0\x72\xf4\x60\xc0\x3c\xb8\x05\xb5\x4f\xba\xb6\x2f\xbb\xa5\xd9\x27\xf2\x3c\xc3\xb3\xcc\xf4\x91\xda\x7c\xeb\x85\x61\x78\xae\x48\x8e\x6d\x80\x73\x22\x6f\x4d\x6e\x2b\x56\x09\x9c\x4c\x21\x9f\x95\xac\x66\xb0\xd4\xbd\x93\x58\x8f\xce\xf0\xad\xf4\x1e\xf3\xe0\x01\x8c\x2b\xb4\x18\x5f\xfc\x59\x5d\x88\x23\x4e\x3c\x22\xdf\x0b\x32\xba\x47\x86\x16\x6a\x74\x57\xb0\xfa\x1b\x39\xa0\x0c\x2f\x61\xa1\x47\x87\xa7\xd6\x7b\xdb\x5a\x7d\x76\x4f\xed\x8c\xe5\x1d\x3b\xf8\x8e\xc6\xf5\xec\xfd\x62\xe3\xc7\x54\x9c\x6b\xc0\x47\x2b\xc4\x63\xe0\xef\x9d\x91\xd5\x8e\xf8\xac\xc8\xa8\x15\xbb\xac\x03\xbb\xa1\x78\x75\xb0\x3d\xc6\xdf\x69\x3e\x79\x42\xae\x0e\xd6\x8b\x89\x5c\xf0\x0c\xff\x70\xa6\xbe\xa5\xa3\x56\xc4\xb0\x06\xca\x71\x41\xfe\x4d\xe6\x45\x63\x7b\xd4\x92\x58\xff\xb7\x11\x1d\xa6\xbd\x3e\xa8\x27\xb5\x78\x5a\x47\x9c\x41\xe3\x6f\xd4\x2f\x07\xf0\xb7\x1d\x31\x9e\x80\x0c\xb3\xba\x69\xc5\x97\xf4\x60\x05\x2d\x3e\x4a\xff\x9d\x38\x34\xce\xac\x1e\xae\x7d\xc5\xcc\x5a\x2c\x07\x19\xbf\x51\xd3\x31\xc2\x95\x94\xa8\x17\x39\xe1\xf9\xb6\xaa\x63\x14\x73\xb6\xc1\xeb\xee\x5a\x3c\x7c\x81\xd3\x67\x32\xd9\x4f\x1d\xc1\x60\xbd\xf9\x7c\xbd\x5e\xed\x31\xfc\x63\xc5\xb2\x83\x4f\x4d\xe0\x59\x7a\xea\x15\x07\x74\xae\xb3\xfe\x69\x73\xf3\xd7\x8c\x1b\x7f\xa3\xfe\x6d\xc5\x0e\x77\xd4\x08\x28\x5f\x0b\xb1\x89\x84\xdf\x39\x1a\xef\x05\xb8\x4d\xe3\xfd\x5b\xc8\x8b\x1b\xe7\x85\x87\x8f\x22\x83\xbd\x54\x7c\x3f\x78\x78\x07\xaf\x93\x62\xd8\xc0\x58\x5a\x5c\xb5\x47\x8e\x28\x67\x1f\xf8\x0c\xe5\x21\x5c\x91\x17\xa9\xf1\x5d\x4e\xe4\xe8\x55\x9f\xa7\x16\xc3\xb0\x1e\x27\xcb\x99\x1e\xcd\xf4\x73\xca\xbc\xb3\xc5\xd1\xca\xd4\xbe\xd3\x81\xc9\x4c\xe8\x6d\xef\x1a\x26\x2f\x19\xcf\x34\xf9\x87\x15\x5c\xb1\xca\x6d\xe6\xbf\x94\xc6\xb9\x79\xe2\x00\x31\x4e\x45\x0f\x0e\x92\xda\xe7\x91\x3d\x1d\x8d\xdf\xa9\xaf\xb9\x15\xc5\xb6\x72\xde\x92\xf5\x0d\xe8\xc0\x3c\x90\xe7\x8e\xf8\xa7\x13\x7c\x58\xf2\x6e\x1d\x3e\x77\xa1\xbe\x79\xa2\xaf\x99\xbe\x27\x32\x6a\xce\xad\xe6\xca\xea\xeb\x56\xf4\xa6\xe1\xfc\x0d\xa3\x97\xc9\x17\xcc\xe4\xd6\xa2\xf5\x56\xda\xa8\xa7\xc6\x67\x1d\xc0\x4e\x19\x66\x40\xfb\x88\x51\x77\xa0\x3d\x44\x78\xaf\x4c\x3d\x7e\x67\x3d\x0f\xc9\x2b\xc8\x9a\x2b\x47\x35\x3a\x5b\xd7\x3b\xd4\xbf\x95\xd8\xb8\xfa\x56\x6a\xd0\x06\x6a\x89\x57\xea\xdf\x34\x7f\x8e\x0f\x92\xc1\x9d\x9c\x78\x38\x72\xe3\xf0\xf2\xd8\x4d\x85\x7e\x09\x85\x1c\xff\x44\xfe\x59\xf9\xa1\x2d\xc6\x38\x81\x25\xa7\xe7\xd0\x02\x86\xcf\xc3\xb5\xd6\x93\x5b\xeb\xe0\x14\x32\x4e\xb0\xce\x70\x7f\x60\xd6\xd4\x2e\x98\xea\xdf\x2d\x2e\x33\xe0\x73\xad\xd4\x30\x8c\xd8\xd4\x1b\x36\xec\x10\x1a\x76\x4a\xed\x2a\x30\x66\x0b\xb8\x72\x07\xb7\xac\xe6\x0a\xb0\x0d\xf4\xf9\xf0\xce\x39\x78\xe9\x0a\x9c\x4a\x89\xb3\x95\xc0\xc7\x66\x72\x17\x1b\x31\x18\xb5\x9d\xa8\xe1\x35\x1e\xb9\x15\x9c\x6e\x9f\xdb\xbd\x02\xd8\x9f\x02\x07\xde\x88\x1d\x9f\xf1\xc1\x57\x7c\xad\x80\x1e\xd6\x1a\x1c\xf0\x0e\x01\x7e\xa1\x95\xda\xbb\xde\xf0\x71\xc6\xd9\x8f\x9e\x5e\xc1\xbc\x3a\xeb\xb7\x67\xb1\x4e\xb8\x71\x0c\x8f\x34\x70\x0e\x02\xf1\xde\x0e\x3f\xa7\xc0\x29\xe3\x89\x17\xab\x5f\x0a\x17\x80\xf6\x5e\xdb\xe0\x2c\xc1\x4e\xf4\x70\x86\x99\x5e\x1a\xe9\x43\x37\x1b\xa7\x2a\xb5\x1c\xda\xe7\x07\xfb\x78\x60\x4d\x47\x78\xa3\x57\x62\x6b\x0e\xb9\x98\x89\x75\x74\xf8\x5b\x3d\x78\x6b\xf5\x05\xa8\x49\x57\x3c\xad\x6b\xfc\xa1\x2b\x31\xd8\x02\x9e\xa7\x80\x41\xf0\xe4\x7f\x33\x5c\x6f\x1b\x31\xbb\x91\x58\xea\x44\x4d\x43\x81\x73\x78\x25\xbe\x68\x35\x41\xca\x29\x0f\xe6\x28\xd3\x47\x6b\x03\x2f\x60\x35\xdf\x1e\xbe\x2e\xf5\xf5\xe0\xf4\x4e\xf0\x7b\x5a\xdf\x4d\x8d\x57\xe3\x03\x0f\xf0\x77\x4e\xe8\xf0\xd5\xf8\x62\x52\xd3\xa7\x03\x35\x5b\x23\x1c\xcf\x69\x6d\x7c\xfd\x0b\xb8\xa5\x89\x79\x5f\xc8\x9f\x38\xe2\xe1\x9e\x1a\x01\x87\x5d\x19\xc0\x55\x64\xc6\x34\xa0\x3f\xb5\x26\x8a\x3c\xc3\x08\x1f\x8e\x4f\x0d\x17\x1f\xe0\xe0\xcd\xd4\x04\x64\xe6\xc1\x38\x57\x3d\x71\x7b\x3f\x9c\xbd\x27\x1c\x33\x62\xdb\x8e\xd4\x3a\xa9\x8d\x02\x1f\xae\x03\x07\x9b\x5d\xeb\x5f\xb7\x9d\xe5\xb2\x13\xf5\x1b\x7d\xdf\x7a\x01\x24\xb8\xbf\x02\xb1\xbb\x8e\x3e\xa2\xd6\xa7\xb2\xc7\x9e\x33\x2e\x4e\x8f\x3c\x3b\xc7\x46\x4e\xf4\x95\x08\xf4\x78\xb0\x1a\xf4\x02\xe6\xc6\x51\x47\xa1\xf1\x12\x6a\xf7\x47\x78\x53\x3c\x5c\xc6\x9e\x5e\x2f\xe3\xdc\x6a\xdb\x7b\xe4\xb0\x83\xf3\x6e\x20\x76\xa8\x39\x9f\x84\x4d\x4c\x8f\xc6\x09\xbd\xb6\x1a\x4f\x33\x3a\xa0\xd0\x3f\xc0\x70\x9b\x99\x58\xc8\x00\xb7\x7f\x02\x53\xde\x11\xb7\x55\xbc\x03\x31\xb8\x8d\xda\xc9\x19\x8e\x84\x8c\xbe\x1d\xcd\x4f\x20\xc6\x61\x58\x77\x47\xcf\x8e\x42\xbf\x87\x35\x9e\x61\x65\x2d\x27\x3e\xc1\x05\x82\xdd\xb4\xa0\x1b\x27\xea\xfe\x3c\x75\x65\x03\x38\x9e\x15\x1c\x8d\xe8\xf5\x60\x38\x6a\x07\x8f\x2f\x3d\x03\x46\xb8\xf1\x02\x35\xbb\x1d\x76\xd8\x4a\xbd\xbb\xd9\xbb\x03\xb6\x6e\x66\x9f\xcf\xe0\xb3\x7b\x78\xf0\x46\xea\x62\x47\x70\xdc\x01\x9c\x7f\x0f\x97\x8c\xc5\x80\x0d\x27\x6a\x35\xd0\xea\xaf\x0c\xe0\x86\xb0\x63\x35\x1e\x0a\xd6\xcc\xc3\x67\x95\x5d\xd3\xcd\x91\x38\xa1\x83\x8f\xc7\xc5\x86\xe9\x5d\xbb\x16\xfb\x9f\xe9\x5b\x1a\x89\xb7\x24\x7a\x60\x6e\x66\xcb\x13\xef\x9f\xce\x38\x4b\x16\x72\xfe\x91\xd8\xaa\xf3\xad\x96\x54\x6c\xa6\x13\x27\x16\x7d\x06\x06\xec\x84\x84\x8d\x69\xdc\xd2\x0b\xf3\x95\xb0\x35\x37\xb8\x76\x7a\x7c\x45\xc3\x9e\x39\xb0\xd9\x89\xdc\xd8\x44\xee\x4b\x31\x21\xf8\xc5\x23\x31\x2a\x8b\x3f\x27\x72\x7a\x8a\x41\x43\x46\x28\x2e\x92\xba\x9e\x05\x9d\x34\x81\x7d\x93\x35\x99\xba\xc6\x6b\xa9\xf5\x3e\xe6\x2f\x81\xf5\x56\x8e\x21\xe2\x9b\x05\xbe\x8d\x91\xb8\x90\x71\xc6\x8c\xe0\x0f\x95\xb7\x27\xa0\x33\x8d\xeb\x7f\x81\x03\x19\xcc\x80\xa3\x6f\xab\xa3\x2f\x42\xc2\xf7\x32\x7f\xcb\x81\xad\x3a\xc9\xcc\x19\x7f\x97\x1a\xaa\x02\x0e\x2d\x10\xb3\x9f\x88\x85\xf9\x7c\x16\xf3\xb1\xfa\x17\xb0\x37\x33\xbd\xbe\x66\x93\x99\xbe\xf5\xcf\xcc\xe0\x62\xbd\xf1\x2f\x2e\x70\x56\x78\x74\x31\xb5\x16\x03\xf1\xe6\xc5\x35\x3e\xfb\x11\x7e\xdf\x38\xb7\x3a\xe1\x9e\x78\x69\x02\x47\xdb\xf5\xad\x1e\xb4\xc0\x59\x12\xe8\x07\xe4\x88\xed\xc9\x7a\xf5\xd4\x38\x6b\x7c\xc5\xf8\x3a\x8c\xcf\x10\xcc\x4c\x86\xb3\x6b\xa1\x16\x71\xb5\x7c\xef\xd2\xea\xd0\xac\x7e\x35\x22\x67\x0b\xf6\xab\x71\xa6\xeb\xba\x82\x85\xf2\xec\xb5\x0d\x2c\x9a\xd9\x1d\xda\x27\x66\xc0\xe7\x81\xab\xca\x70\xf6\xc9\x6a\xbc\xa8\xf9\x18\xc9\x51\x65\xea\x29\x27\x62\xa7\x2b\x18\x89\x81\x5a\x32\x93\x4f\x8b\xf5\xc7\x81\x8b\xc5\x62\x89\x1e\xbb\xb9\xc0\xd9\xde\xc1\xa5\x39\x13\xb7\x1a\xe1\x9e\x57\xd9\x4b\x6e\x35\x22\xa3\x57\xab\x39\x25\x86\x1f\x89\xf9\xcf\xc6\xb7\x41\xed\xa0\xe6\x67\x97\x6a\xb7\x18\x87\xbb\x47\x66\x8d\xf4\xf3\x9a\x0c\x6f\x01\x6e\x68\x2d\xcd\xde\xed\x88\x5b\x18\x0e\x36\xc0\xdb\x3b\x62\x57\x79\xfa\x89\xf4\xf0\x01\x38\xd6\x36\x20\xfb\xac\x86\x5b\x73\xff\xe0\x02\x36\xf6\x9e\x83\x8b\xd6\x51\x33\x1b\x89\xe9\xf7\x70\xff\x8c\xd6\x83\x12\x19\xe0\xc8\xe5\xce\xac\xdd\x48\x3d\xe5\x48\x5c\xdc\xb8\x73\x06\x62\xdb\x9a\xdf\xa7\x57\x68\x02\xd7\xd5\x11\x7f\x74\xf4\x5c\xd1\xfe\xdf\x99\x78\xc2\x44\xcc\x83\x1e\x02\x13\x38\xe0\x0d\x8e\x5f\xed\xcf\x0c\x77\x60\x01\xaf\x33\x82\x71\xcf\xe0\x82\xcd\x36\x19\x89\xb1\xf7\xe8\x74\x07\xa6\x4f\x39\x16\xc1\x9c\x75\xf4\x45\xd9\xe8\x87\x3a\x92\x7b\xea\x88\x6d\xf6\xc4\x24\x26\xeb\x2f\xe6\x1b\x0f\xc9\x08\xb7\x8c\xf5\x72\xb5\xef\x64\xec\xf6\x64\xfc\xeb\xe4\xa1\x94\x9f\x1b\x9e\xb2\x85\xda\xae\x65\x6a\x72\x5e\x71\x38\xc6\x3b\xc1\x1e\x1e\x89\x75\x76\xf0\xf8\x58\x3f\x8c\x42\xfc\x5b\xae\x8f\xe4\x23\x32\x7d\xc9\xd5\xc7\xc1\x7e\x53\x5c\x19\x71\x1b\xe5\xcc\x30\x8e\x32\xe2\x93\x1e\x9e\x86\xc5\xb7\x7e\x26\x1d\xd8\xbd\x4c\x6c\x79\xa6\x86\x6c\x1c\x1a\x0f\xf9\x4c\xff\x62\x4f\x3f\xa1\x8d\x18\xff\x06\x3e\x3e\x1a\xc7\x2f\xb5\xa2\x5d\x3c\xeb\x21\xbc\xb5\x71\x58\x9c\xd9\x11\x4b\x52\xde\x26\x70\x56\x8a\xf7\xb6\x5e\xb7\x19\xfb\x98\xda\x71\xdd\x03\x53\xe3\xa6\x9d\xa8\xe9\x9e\xd6\xc6\x65\x19\xc1\x05\x14\xd7\xf8\xf0\x33\xbd\x2d\x07\x7a\x3b\x44\xc3\xff\x18\x67\x23\x75\x11\xbd\xf5\xfc\x64\x9f\xc9\xda\x1a\x0f\xd8\x42\xcc\xd1\x38\x14\x3c\x1c\xb3\x1e\x6c\x76\x87\x4f\xb6\x1a\x87\x01\xf7\x5e\x99\x9b\x42\x6d\xf0\x08\xc7\x42\x26\x7e\xae\xfd\xfd\x2d\x0f\x48\xcc\xce\xf6\x4b\xa4\x97\x62\xa2\x4e\x43\xeb\x36\x4b\x3d\xeb\xd9\xb8\xc3\x7a\xf8\x80\xf0\x6b\xb4\x26\x7c\x6e\x75\x93\x7a\xd6\x91\xc9\x33\xbd\xfd\xad\x3f\xb1\xe2\x7b\xcd\x97\xc3\x97\xcf\x70\x76\xac\x60\x1f\x7b\xfa\x33\x3b\xc3\x2a\x05\x7a\x4a\xe3\x3b\xce\xe0\x2e\x14\x63\x00\xbe\xda\xfa\x25\x2f\xf4\x9d\x59\xe9\xd5\x30\xa5\x86\xe7\x3e\xd5\xaa\x6f\xe0\xa9\x8c\xdf\xd5\x51\xfb\x31\xc1\xc9\xc4\x79\x53\x19\x35\x35\x5f\x25\x13\x7f\xe9\xa9\x4f\x3a\xd5\x9d\x82\x39\x4e\xe4\x08\x66\xfa\xef\xac\xf4\x0d\x50\x1f\x68\x22\x3e\x8f\x1f\x91\xc9\xb9\x16\x7a\xb6\x4c\x60\xc8\xad\xdf\xbe\xf6\xb7\x03\xf3\xb4\x51\x67\x33\x11\xaf\x48\xe4\xa4\x6d\x7f\x6f\xe4\xfc\x67\x78\xa5\x0a\x98\x4a\x47\x4f\xfc\x05\xee\x89\x81\xfd\x91\xe9\x43\x65\x7a\x24\x51\x6b\xb9\xe0\x6b\x4e\xe8\x06\xab\x7b\x39\xe5\x78\xad\x67\xb5\xf5\xdd\x5b\xaa\x7d\xbe\x4c\xcd\xbe\x17\x19\x3a\x51\xb7\xaf\x78\x07\xfa\x78\x0d\xc6\xc3\x4c\x4d\x76\xa6\x56\xb5\x27\xde\xe0\xc1\x97\x7a\x7c\x29\x8d\x95\xb3\xf7\xac\xbe\x2c\x1a\x8f\x28\xdc\xeb\x0e\xde\xa3\x89\x79\x9b\xc0\x28\xac\x16\x6f\x46\x56\xc8\x7b\x4e\xd4\x49\x88\xff\x13\xc8\xd5\x0f\x60\x17\x16\xeb\x85\x6c\x18\x8d\xa9\xce\x4f\x81\x97\x75\x26\xce\x31\x99\x9c\xc0\x76\xca\x70\x8f\x4c\xf4\x83\x4a\x60\xe3\x62\x69\x36\x96\xf6\x3d\x5c\xe0\x28\xe0\x8c\x29\x5f\x77\x68\x98\x99\x19\x9b\xd2\xd3\xf7\x66\x81\x5f\x73\x01\x67\xbe\x81\x3d\xcb\x70\x7c\xc8\x9e\x56\xde\x5d\xf0\x30\xd6\x27\xb5\xdf\x5a\xdf\xce\x4c\x3e\xdf\xc3\x85\x14\x89\xb7\x8d\x60\xba\xa3\xe1\x97\xc0\x7d\x7a\x9b\x5f\xe3\x55\x2d\x6d\xdf\xac\xd4\xce\x27\xd6\x7f\xa0\x47\x7e\x34\x3e\x25\x7a\xa3\x4d\x60\x7e\x3a\xe2\x2a\x33\xb9\x92\x1e\xff\x76\xa6\x1e\x6c\xce\x4d\x9e\x59\xac\x63\xc0\x17\x5f\xd8\xff\x33\x38\x88\x44\x6f\x71\xe5\x78\x81\xc3\x35\x20\x23\x12\x75\x35\x0b\x98\xd9\x02\x57\x63\x34\xce\x2b\xe3\x4f\x85\xe3\xd2\xfa\xf3\x6f\xd8\x00\x19\xbe\xbd\x1e\xfb\x6e\x35\xac\x10\xb8\x1e\xf5\xad\x23\x38\x17\xf8\x20\xd7\xd8\x38\xc9\x12\x3c\xef\xca\x91\x66\x9c\x6c\xc6\xfb\x47\xcf\xd3\xc9\x70\xe8\x9c\xe7\x81\x9a\xbc\x4c\x7e\x6e\x26\x86\x95\xc0\x8a\xe4\xb5\xf5\x72\x1d\x96\x26\x1f\x16\xfc\x51\xc5\xc2\x83\x19\x54\xac\x8a\xaf\xfe\x81\xd5\xbb\x75\x67\x75\x40\x9d\x61\x3b\xb0\x7b\x2c\x4e\x96\xd7\x56\x0f\xdd\x59\x2f\x36\xf2\x66\x1b\x58\xbb\x80\x3d\x6d\x39\x59\xeb\x0f\x15\xcf\x71\x6e\x60\x10\x07\x38\x55\x3a\xfc\x27\xe3\xec\x76\xf0\x4e\x2d\x60\x26\x2d\xb6\x97\xb1\xd1\x36\xe3\xf4\xe3\xdc\x79\xb0\x3d\x1d\xb9\xcf\x05\xbc\xc1\x80\x0c\xed\xa9\x15\xcc\xd4\xb0\xf6\xd4\xd2\x2b\x4f\x93\xd5\x21\xc3\xa3\xb4\xb8\xd6\xd3\xd7\xfa\x5c\x76\x60\xd9\x45\x27\x0d\xc4\x56\x0a\xb9\xbc\x9e\x39\x09\x7d\xc3\x71\x24\xf0\x7b\x33\x35\xf7\x11\x9e\xde\x0d\x5f\x27\x50\x1b\xbf\xd2\xaf\xae\xc0\x91\x37\x97\xd6\x37\xc2\x51\xbb\x59\xcc\x77\x24\x77\x15\x2d\x47\xcf\xfe\xef\xb0\x4d\x36\xf0\x43\x03\xbd\x57\x1c\xfe\xba\xe6\x7e\xe1\x86\xda\xa8\x99\x0a\xc4\x72\xd5\xf6\x8b\xf5\x3e\x2b\x71\xf0\x08\x07\xee\x4c\x5e\xb2\xd0\x43\x30\xc2\xf1\x66\xf8\x0b\x39\x67\x99\x3a\x7d\xe5\x95\x06\x5f\x21\xdf\x57\x7c\xae\x71\x72\x63\x6b\x5b\xbe\xda\xe2\x40\x23\x7d\x0d\x35\x96\x42\xef\x7f\xfd\x5e\x61\x3f\xc2\xfb\xa7\xbd\x1f\x22\x39\x3b\x72\x25\x33\x6b\xb8\x1a\x57\x30\xe7\xa4\xc0\x6d\xa8\x18\x4a\xb0\xa1\x56\xdf\x3f\x81\xbb\xb7\x7c\x6c\x81\xab\x67\xa2\xb6\x5b\xf9\xcf\xac\x7f\x21\x39\xd8\x01\x1e\xb9\x93\x5d\x48\x4e\xce\xd1\xff\x20\x19\x3f\x1f\xb8\x6a\xcb\x6f\x66\xeb\xc7\xc3\xf9\x5f\xd8\x97\x1e\x4e\xe5\x95\xf5\x9b\xa8\x43\x98\x53\xe3\xf2\x5f\xe8\x2f\x99\xc1\xc3\xf5\xe4\x12\x3c\xf1\xd0\x5c\x1a\x86\x76\xc6\x66\x70\xd8\xd4\xd6\x9b\x78\x59\x5b\xac\xb7\x58\xbc\x73\x04\x9f\x11\xc0\xd3\x91\x23\xd6\x35\x45\x7f\x2e\x66\x27\xda\x59\xa6\x6e\x43\x6b\x61\xb6\xc6\xc7\x98\xd9\xe7\xda\xd3\x8a\x9c\x4d\xa1\xc7\x64\x04\x7b\xa5\xfc\x65\xd4\x5b\x65\xb8\x8d\x72\x6c\x35\x40\xb3\xf5\x60\xa0\xcf\x85\x47\x0f\xca\x99\x9c\xe8\x67\xa9\x71\x3a\xcb\x73\xc1\xdb\xbe\x99\x9c\xc6\x0f\x54\x7b\x03\xcc\x92\x7c\xbf\x80\xa9\xd9\x88\x45\xe4\xd2\xe2\xa4\x03\xb5\x30\x09\x2c\x96\xe5\x60\xc5\x97\xdb\xa8\x5f\x95\x67\xab\x2f\x33\x55\xfb\x74\xc1\x8f\x57\x8c\x0f\x72\xcc\x81\xa3\x75\x4b\xd3\xf5\xca\x0d\x43\x9d\xa9\xd5\x23\x28\xe7\x3e\x7d\xc5\x3d\xdc\x44\x1b\x35\x8c\x19\xbb\x4e\xeb\x43\xe1\x30\x2a\x4b\xeb\xff\x13\xa9\xab\x53\x6e\x65\x6c\x27\xeb\x65\xd1\x81\xcd\xcb\xec\x75\xcb\x17\x44\xfa\x08\x14\xf0\x22\x8e\xfd\x31\xa1\x17\x0b\xb5\x95\x76\x26\x15\x77\xeb\xf1\x33\xe9\xf1\xb1\xc0\x41\x39\x50\x73\xa5\xbd\xd2\x56\xb0\x4c\xec\xd5\x05\xfe\xc9\x80\x7f\xea\xa9\xf3\x88\xb9\xf1\x3e\x19\x1e\xb2\xc0\xd5\xba\xa0\x1b\x13\x78\x53\xb5\x91\xc1\x32\x6c\xf0\xfe\x15\xe2\x7f\xc5\x64\x78\x04\x53\x4b\xed\x95\xc3\x07\xf1\x60\x5d\xe3\x59\xdf\xf8\x11\x1d\xa1\xf7\xb5\x1e\x66\xe0\xe3\x22\x71\xfa\x42\xde\x25\x21\xf3\x3a\x6c\xba\x1e\xae\xbe\x04\x3f\xa0\xd6\xce\x4c\xad\xef\x4f\xa6\xc7\x83\xf5\x02\xd8\xfc\x59\xbf\x3b\xe2\xd1\x2b\x7d\x59\x4f\x3c\x41\xe4\x6f\x27\x30\x58\x8a\x2d\x82\x2b\x4d\xed\x37\xec\xa5\x95\x3d\x3f\x1a\x37\x32\xf1\x39\xe5\xd4\xa4\xb7\x98\x62\x12\xb7\x56\x03\x3d\xe2\x03\x44\xd3\xe7\x0b\xff\x19\x7f\x2e\x5c\x17\x13\x7d\xee\x7a\xec\xeb\xc4\x67\x0b\xb1\x3c\x8d\x97\x10\x9b\xda\xa8\x29\x1e\x99\xa3\xd1\xb7\xfc\xf6\x9c\x5b\x7d\xb9\xe1\xf2\x32\x79\xae\x38\x35\xec\x60\x8f\xce\xb0\x9e\xf3\x19\x9e\x1f\x07\x46\x42\xd6\x7e\xa3\xf6\xad\x27\xef\xd3\xfb\xd6\x27\xc2\xde\xaf\x60\xdf\x7b\xb8\x6c\x03\x76\xc8\x4a\xfe\x33\xd3\x53\x49\xfb\xd3\xe2\x1b\xda\x3d\x33\x78\x6f\xb1\x2b\x42\x68\xfb\x46\xf4\x88\xd6\xee\xe3\x73\x7a\x30\x36\x1b\x31\xaa\x15\x9d\xdd\xc3\x39\xb5\x70\xdf\x15\xbc\x83\x62\x56\xce\x71\x86\xe4\x66\x83\xe1\xa7\xa7\xc6\xeb\xb8\x20\xeb\x12\x3e\x54\x9e\x5a\x0f\xf1\x50\x9a\xbe\x35\xee\xd0\x65\x6a\x58\xb4\x48\xed\xe2\xe9\x77\xfc\x82\x04\xbe\x2c\xe3\xab\x28\x7e\xa5\x80\xd1\xc4\xa7\x9b\x91\x77\x8e\xda\xba\x9e\x7a\xf7\xb2\xb6\xde\xc3\x2b\x7d\xcf\x1d\x7c\xc0\x01\x6e\xe6\x19\xae\xe7\xc5\xb8\xe1\x91\x0b\xd6\x5b\x77\xa3\xde\x21\x22\x6f\x56\xae\xd1\x5c\x36\x3a\x6e\x81\x2f\x61\x83\xbf\x7e\x29\x67\x35\x49\xd4\x80\xcc\xd8\x0c\x85\x3c\xf5\xb6\x34\xae\xd0\x42\xbf\x3b\x87\xff\x16\xa9\x37\xd5\x5c\x1d\x39\x30\xcf\xf9\x58\xc8\x95\xeb\x3a\xc2\xd3\x63\xfc\x7e\x09\x9e\xa8\x44\xfc\x7b\x31\x99\x01\x27\xdc\x84\x4e\x9b\xe1\xf2\xb0\x9e\xca\xd6\x1b\xca\x2d\xcd\xe7\xcb\xf0\xb4\x0c\xec\x4d\xeb\x27\x3d\x10\x5b\x31\xbc\xdc\x84\x3f\x3d\x90\x3f\xb3\xbe\xec\x85\x98\x7a\x22\xbe\x95\x88\xe1\x95\xd4\xf0\xfe\xc6\x85\xb6\x58\x8f\x3c\xf2\x07\x22\x3b\x67\xea\x52\x95\xa3\xc7\xe2\x45\x63\xf3\xfb\x02\xd8\x9e\x53\x3f\x63\xf2\x7c\x91\x98\x66\xb0\xfc\x79\x69\xbc\x35\x1d\xfe\x82\xfa\x6b\x70\x4d\x05\x7a\x22\x14\xeb\x8f\x40\x9f\xd5\x88\xef\x19\xe6\xc6\x7d\x91\xc1\x04\x38\xf6\xba\xd5\x0e\x64\xb8\xb8\xac\xe7\x74\x58\x5b\x6d\x63\x17\x5a\x5c\x62\x5a\x5a\xdc\x78\x83\xa7\xdb\xfa\x0a\x06\xf8\x2c\x06\xdf\x7a\xab\x46\x64\xcb\x4c\xae\x61\xa2\x6e\xbf\x90\x67\x54\xfc\x14\xb2\x66\x04\x2b\xe3\xf1\x9f\x13\xfd\x25\xd6\xb9\xd5\x02\x77\xf4\xa8\x8e\x86\xe5\xe2\xd9\x3d\x5c\xa5\xca\xa1\xb2\x81\x1d\x9f\x5b\x3f\xe0\x00\xd7\xec\x66\xbd\x51\xf0\x9f\xf4\xf3\x0d\xbf\x0b\x5f\x68\x18\xce\x6a\xb7\x0a\x72\x8a\x5c\xea\x8a\xdf\x6b\xf6\xee\x40\xfd\x93\xe2\x72\xe0\x4c\x48\x70\x59\x8c\xf0\xc9\x14\xe2\x19\x9a\x27\x85\xfb\x2e\x93\x7b\x15\xb9\x30\xc1\xbb\x16\xe0\xf4\x1a\xe0\x7c\x31\x0c\xf9\x98\x5b\x5f\xf5\x89\xda\x73\xe3\x34\x88\xf8\x31\x1b\x58\xc2\x95\x38\x61\xc0\x26\x5f\xa8\x5f\xf7\x67\x39\xfe\x00\x06\x63\xb5\xda\x63\x62\x93\x3d\x58\xcc\x15\xbe\x9e\x8d\xf3\xe8\xb1\x6d\x0a\xf9\xd9\x62\x75\x4e\x70\x56\x78\x72\x95\x1b\xf9\xb4\x19\x1e\xec\x09\x79\xb2\x51\xbb\xa3\xdc\x3d\xd4\x9d\x46\xd3\xcb\xd8\x3b\xa7\xf8\x49\x86\x97\x08\xbb\x64\x21\xa7\xd9\x81\x03\x32\x5c\x86\x71\x1b\xeb\xbb\x17\xfc\x59\xb0\x67\x1b\xf9\x77\xe3\x81\x1e\x73\xeb\x81\x5a\x4a\xe3\x21\xeb\xf8\xdd\x6a\x11\x34\x3f\x07\xbf\xf7\x4a\x6e\xaf\x7e\xef\xe9\xf3\x8b\x8b\xf2\xfe\x2a\xed\xe2\xe1\x6a\x0b\x77\xe1\x75\xb8\xbd\xcd\x77\xe5\xf6\xbf\x5f\xff\xd3\xf7\x77\xf9\xf6\xd9\xf3\xdd\xb3\x3f\xfc\x31\x7e\x7f\x97\x5f\xec\xf2\xcd\xcd\xf5\xcd\xf3\xdd\x0f\x17\x4f\x6e\xf2\xdd\xfb\x9b\x2b\xbb\xe4\x3f\x73\xd8\x9e\x5d\x3c\x79\xf2\xfa\x83\x5b\xbc\xb8\x78\xf2\xe4\xe9\x83\x4f\x5f\xbe\xb9\x7e\xfa\xe2\xe2\xc9\xf3\x8b\x1f\x3f\xf5\x60\x79\xe6\xdf\xeb\x6f\xe7\xcf\x94\x77\xb8\xd5\x0f\x76\xaf\xbe\xfe\xe4\xdb\x5e\x3c\x39\x14\xfd\xce\xdf\x7c\xbd\xbb\x3a\x5c\xca\x85\xf6\xb6\x57\x87\x4b\xbd\xfc\xe2\xc9\x8f\x17\x17\x4f\x0e\x57\xe5\xfa\xec\x46\xff\x7a\xb8\xcc\xff\x76\x55\xae\x7f\xb8\x0a\x6f\xf3\xab\xdd\x47\x5f\x7a\x77\x7b\xf8\x73\x7e\xb5\x73\x6e\x9e\xe7\x17\xbb\xb7\xd7\x5b\x7e\xb5\xbb\xbe\x7d\x29\x97\xfe\xfb\xf5\x96\x9f\x8d\x43\xf7\x5c\x3f\xff\xfd\x41\xee\x71\x77\x78\x9b\x5f\xfe\x9f\x57\x87\xe3\xb3\x7e\xea\xe7\xb9\xeb\x47\xb9\xac\x7b\xfe\xe3\xc5\x93\x20\x4f\xfe\x3b\xbd\xf7\x0f\x3a\xae\x57\x3b\x86\x27\xaf\xf5\x4a\xff\xff\xc7\xd3\x34\x87\x17\xf2\xee\x32\x5f\xdf\x85\x9b\xdd\xeb\x9b\xeb\xf7\x77\xf9\xf5\xdd\x9f\x0e\x37\xef\x5e\xe7\x74\x79\xc8\x37\xaf\x63\x48\xdf\xe6\xab\xed\xf6\xf5\xb7\x87\xcb\xcb\xff\xf1\x3e\xec\xbe\xde\xd5\x45\x7b\xf6\x94\x78\x02\xb1\x22\xdb\x1b\x0f\xff\x53\x1b\x91\xda\xa1\x11\xdf\x65\x03\x8f\xa6\xbc\xf4\xdb\x99\x8c\x04\x8f\x1d\x87\xc6\x6f\xb3\x51\xc7\x33\x60\x7b\x5b\x7c\x26\xf9\xd6\x07\xa0\xb7\x7e\xcd\xbe\xc5\x35\x03\x7a\x41\xe5\x25\xb5\x7f\x01\x7f\x37\xc1\xbf\x3c\xd2\x47\x2a\x33\x0e\xe3\x28\x1e\xa9\x91\x72\xf0\x4e\x2f\x7c\x27\xe1\x9f\x39\xf8\x0e\x02\x78\xfd\x6d\x69\x3d\xc2\x47\xf2\x38\x89\x1c\xd3\x04\x67\x57\x02\x5b\x33\x18\xbe\x84\xbc\xa5\xd6\x1a\x93\xab\x54\x3c\x3b\x38\x70\xad\x47\x2a\x60\xea\xe0\x9a\x59\x53\x8b\x9d\x44\xf8\x7e\xd5\x7f\xc6\x36\x2a\xc8\x82\x62\x9c\x51\x0b\xb1\x90\xa5\x71\x60\x39\x30\x28\x9e\x1e\x74\x1b\x3e\x74\x9f\x5a\x8d\x90\xd5\xaa\xfb\xa9\xf5\x5f\x9b\x79\x3f\x39\xeb\x96\x93\x1b\xe9\xb7\xbd\x50\xdf\x62\x7d\xd9\x23\xef\xaf\xf9\x83\xbe\x8e\x31\x52\xb7\x14\xe8\x27\x9c\xc8\xe3\x8d\xc6\x45\x02\xee\x39\x70\x8f\x75\x68\xdc\xd1\x03\xf1\x42\xcb\xff\x77\x63\xeb\x47\x6b\x79\x9e\x81\xfa\x14\x19\x63\x0f\x97\x79\x00\xdb\x96\xe0\x8b\xcb\xf4\x95\x5c\xa9\x93\x77\xc4\xae\x94\xa3\x0b\xbc\xbd\xd5\x10\x7b\x6c\xf8\x1e\xfc\xa8\xa7\x37\x4b\x6f\x7e\x31\x79\xcd\x15\x7e\x76\xab\x17\x10\x5b\x6f\x3b\xe7\xf9\xa6\xe6\x71\x80\x2f\x4b\xeb\xbb\x2c\xd6\x9c\x5a\x6d\x5c\x34\x8c\xf9\x52\x75\xb1\x71\x37\xac\x67\x38\xca\x15\x9b\x64\xa5\xd7\x65\x22\xc6\x3f\x80\xeb\x1f\xe0\xf5\x31\x1e\xfd\x8c\x4c\x0f\xf8\xc8\x3d\x75\x5c\x1b\x35\xec\xf3\xd4\xe2\x8a\x33\x38\x97\x91\xf8\xd4\x44\xdf\xd9\x02\xf6\xbc\xd0\x3b\x2f\x13\xd3\x49\xb1\x71\x15\x47\xe3\xc3\x72\x70\xd6\x53\x7b\x63\x3c\x14\x01\xfe\xa2\x40\x2e\x56\xfb\x0c\x53\xbf\xed\x43\xeb\x41\x37\x98\x2f\x43\x3f\x92\xc1\xb8\x6a\x1d\xf1\xb0\x52\xf7\x7c\xb1\xbe\x96\xf4\x67\x95\x3d\xae\xb9\xcf\x58\xed\xd1\x95\x18\xb0\xd8\x16\x89\x58\xf5\x62\xfc\x5e\xf0\x7d\x45\x30\xe0\xab\xf5\x8c\x25\x9e\xb8\x61\xdf\xf4\x4b\xeb\x25\xb8\xd0\xaf\xdf\x59\xdf\x52\xf0\xb3\x91\xba\x9a\x82\xbe\x76\x60\xff\x26\xb0\xce\x91\xff\x8a\xe1\x11\xe9\x8f\x1b\xc0\x33\x0f\xd4\xef\x2a\x56\xd3\xf0\xf4\xe0\x58\x02\xb5\x98\x56\x27\x3a\x81\xa1\xcd\xc4\xd0\x8b\x71\x7d\x21\xc7\x46\xf0\x27\x0b\xf5\xa5\x33\x3d\x21\x2d\x07\xd1\x91\xab\xf1\xd6\x2f\xa1\x6b\x7d\x0c\x67\xb8\x23\x66\xea\x7f\xdc\x79\xff\x0e\xe4\x6f\x87\x5c\x2c\xf0\x34\x16\xf2\x1a\x1b\xfc\x14\x03\x39\x24\xc5\xa0\x84\xd6\xf3\x2f\xd8\x5e\xe8\xcf\xfa\xdd\x3c\xb0\x23\x2c\xbf\xeb\x8d\x9f\x94\xf8\xcc\x03\x3b\xe2\x11\xea\xe9\xa7\x5b\x16\x8f\xb8\xa9\xda\x1a\x5f\xfa\xde\xcb\xcb\xf7\xe1\xbe\xf5\xf1\x88\x3b\x3f\xc6\x1e\x79\xfc\xa8\x7f\x2d\x0b\xe5\x71\x43\xc5\x66\x59\x3a\xf7\x73\x2c\x96\xe1\x2f\x6f\xb1\x5c\x1e\x6e\xef\x7e\xae\xc5\x62\xd5\xce\x89\x6a\x38\x3d\xdd\x58\xd1\x91\xe8\x99\x75\x7e\x73\x96\x65\xa4\x82\x27\x23\x35\xb6\xdc\xa2\xfe\x03\x19\x88\x85\x4e\xdd\x13\x68\x53\x45\xc0\xc7\x33\xef\xb6\xe3\x3f\x22\xf7\xc6\xe2\x3f\x80\x52\x9a\x8c\xa5\x81\x88\x7d\xcc\x8d\xe1\x6a\x23\xe3\xbf\xd2\x75\x62\xee\xc8\x82\xa4\xd6\x05\xd9\x93\x05\x19\xf9\x37\x83\x40\xce\x30\x51\x18\xf3\xe1\x8c\xf6\x0d\x64\x47\x4a\x6e\x5d\x62\xac\x23\xc6\xb6\x9e\x55\x0a\x5b\x95\x3d\xe8\xb7\x42\xa7\xf9\x48\xc4\x7c\xa0\x62\xac\x80\x26\xd5\xaa\x37\x2c\xc1\x8d\x0e\x1c\xca\xf6\xe5\x9a\xc4\xcf\xb9\x45\xdd\x1c\x2c\x97\xc6\xae\xb3\xd2\xa5\xc8\xd3\x79\x6f\xe9\xb0\x58\x60\xab\x1b\x60\xe0\x1b\x43\xcb\xe6\x3b\x58\x0e\xad\xc3\x90\x5a\x3d\x5b\xab\x9c\xdb\x60\x90\x2b\xa0\x3b\x23\x52\xdf\xd3\x79\xcd\x81\xee\x1f\x79\x4f\x8f\x35\x51\x88\x8c\x47\xeb\x36\x8e\xc6\xb4\xc8\xa2\x56\xd3\x05\x98\xd5\x07\xbc\x24\xba\x12\x0e\x44\x29\x7a\xd8\xdc\x1c\xac\x5e\x09\x24\xb9\x7a\xac\x68\xa8\x42\x77\xa1\x91\x4e\x22\x3d\x4c\x5e\x13\x73\x1c\x40\xdd\x58\x36\x6b\xa3\x43\x69\x97\x9a\xf5\x32\xd0\x4d\x44\xa3\x44\x03\x95\xcd\x33\x55\x36\x58\x4f\x9a\x85\xa7\x33\xab\x87\xe5\xcc\xd8\x77\x67\x22\xf1\x1a\x15\x25\x9a\x39\x32\x66\xab\x84\xda\xba\x86\x30\x18\x7c\xeb\xda\x61\xc8\x3f\xeb\xde\x6b\x99\x67\x07\x23\xc7\x4c\xd5\x50\x32\xb4\x01\x5d\xca\x66\x58\x13\x37\x98\x58\x07\xab\x14\xb6\xec\x3f\xcc\x29\x1b\x68\xd1\xc5\x3a\x5d\x80\x3a\xef\xc9\xb6\x39\x8b\xd4\x71\x36\xb5\x83\x05\xe8\x15\xeb\x40\xaa\xfb\x83\x8e\xcf\x2b\x95\x2d\x3d\xd9\x95\x42\xa6\x27\x60\x55\x2f\x5d\x63\x35\xcc\x86\x50\xa2\x7a\x6a\x82\x6d\xc6\x53\x01\x32\xae\xad\x6b\x47\xa2\x62\x39\xc3\xe4\x38\x80\x20\x5f\xb0\xb8\x46\xa2\x20\x05\x54\xf4\x04\xaa\x7b\x22\xa2\x7a\x62\x06\x82\x19\x34\xc1\xf0\x38\xd3\x81\x7b\x24\x73\x6f\x5d\x36\x7a\x10\x10\x0b\x59\xf4\x65\x6d\x1d\x33\x32\x91\x48\xb5\x10\xc9\x9e\x6d\x78\xf6\x1a\xc5\x22\x0b\x20\x63\x54\x16\x49\x2a\x9d\x0a\xdd\x4f\x12\x28\x55\x65\x0e\xc0\x82\x1f\xa8\x5c\x93\xb5\xb6\x79\x8b\x58\xcc\x56\xf5\xa1\xac\x23\xc6\x08\x32\xb7\x28\x95\x9d\xbd\x09\x39\xd9\x6f\x67\x55\xac\x30\xf1\x0d\xb0\x7a\x9b\xf5\xb3\x81\x78\xd3\x28\x19\x59\x27\xb3\x7e\x34\x73\x0c\x2a\xc4\xac\x9f\x1e\x0b\x75\x82\xa5\xc3\x81\xb4\xb7\xac\xfa\xb6\xb4\xcc\xdc\x4c\x94\x2d\xd1\x1d\x47\xd9\x6d\x6c\x7f\xd1\xe1\x40\xab\x01\x02\xdd\x79\xc9\x20\x4e\x58\xb4\xa1\x9c\x21\xd6\x32\x95\xac\x44\xcd\x7a\x2a\xce\x0c\xcd\xe2\x40\x7a\xcc\xb0\x54\xa9\xa7\xc9\x98\x06\x7f\xc6\x88\x02\x23\x76\x26\x5a\x19\xa9\x9e\x58\x60\x1b\x0f\x74\x63\xdf\xe8\xf4\xf1\x31\x8b\x6b\xe2\x9d\x45\x16\x17\xaa\xd6\xbb\x0f\x23\x37\x8f\x50\xaf\xbf\xae\xc5\xc5\x4d\xbf\x68\x71\xc9\xf7\x7e\x9a\xc5\xc5\x9d\x7f\xa9\xc5\x75\x7f\xd4\x7f\x0d\x8b\xab\x0d\x15\x8b\x6b\x9d\xfb\xdf\x96\xc5\xa5\x1f\xdd\xbe\xde\xf2\x65\xbe\xcb\xbf\xd4\xe2\x1a\xcb\x59\x8c\x28\x3f\x88\x11\xb9\x8f\xc7\x88\x54\x03\xc3\xb7\x37\xd0\x97\xdf\x1b\xb7\x3c\x92\x42\xb9\x18\x88\x67\x7a\x24\xd0\x40\x0d\xed\xa9\x1e\x7d\xa2\x47\x24\x75\x78\x03\x35\x39\x19\xac\xf7\x80\xa6\x52\x6d\x1f\x5b\xbf\x39\xd5\xa4\xc4\x8a\x34\xdf\x4c\x9d\xe5\x02\x7e\xd6\xfa\xc0\x15\xb8\x93\x3a\xe2\x0f\x2b\x31\xff\x08\xf7\x8b\x43\x22\x6b\x2e\x14\x1c\xdd\xb9\xb5\x35\xa3\xf5\x36\xe3\xc3\xc4\xda\xca\xe0\x74\x22\x35\x1a\x27\x6b\x6b\x6e\x39\xa9\x19\xbe\x88\x48\xbc\xc8\xb8\xad\x0a\x5c\x9e\x91\xbc\x55\x80\x93\x24\x80\x3b\x19\xe0\x87\x89\x7d\xc3\xfd\x3e\x2a\x56\x04\x46\x44\xe3\x61\x67\x5c\x7a\x11\x9c\xda\x06\xde\x38\xd2\x07\x59\xf9\x64\x37\x7a\x5b\x10\xe3\x0b\x68\xaf\x48\xdc\x6d\x00\x87\xb0\xd0\x8b\x62\xa0\x37\xc1\x0c\xc6\x62\xcc\x67\xbc\xe7\xe4\xf5\x12\xbd\xee\x36\x6a\xd1\xba\xd8\x72\x1c\x66\x61\x45\x62\x88\x66\x61\x0d\x0f\x2c\xac\x11\x5c\x43\x80\x4b\x2d\x91\xa7\x4f\xf4\x0f\xed\xa6\xb3\xf8\x10\x35\x3b\x1b\xfd\xc4\x7a\x7a\xd8\x39\x62\x2b\xc9\x7a\x23\x62\xe1\x64\xfa\xb4\x9e\x7a\xb1\x83\x15\x2b\xe4\x18\x47\xb4\x56\xc6\x12\x71\x36\x67\xf0\xa7\x75\xd4\x0e\x0c\xa9\xf1\x85\x3b\xd7\xfa\x6d\x6e\xf4\x4e\xcc\xf4\x6f\xb2\xd8\xcb\x04\x06\xc5\x19\xe7\x74\x6a\x9c\xf6\x8a\xdd\xa0\xcf\x6d\x47\x9e\x6e\xa3\x9e\xd2\x1b\x86\x28\xc2\xab\x43\x1e\x2d\x63\x39\x6e\xe0\x11\x47\x7a\x06\x85\xd4\xea\xee\x2c\x47\x53\xa8\x29\x0a\x53\xc3\x0e\x4d\xc6\xf1\xd6\xd5\xcf\x66\xac\x90\x11\xfe\xc0\x91\x33\xe9\x2d\x06\x07\x47\xf4\x40\x7f\x1b\xed\x13\xb2\x91\xc7\x22\xff\x9f\xe1\x9b\x75\x70\x59\x64\x6a\x1d\x07\xf2\xe9\x1d\xfd\xf2\x06\xe3\x6e\x23\x46\x9a\xe1\xe6\x39\xd5\xc5\x10\x37\xda\xc0\x2b\x27\x6a\x6b\x23\xf5\x2d\x0b\x1c\xa6\x1e\x6e\xa1\x19\xcc\x77\xb0\x3e\xd7\xd4\x9d\x7b\xf2\xdf\x99\x5c\xf1\x48\x5e\x72\xc1\x72\x1c\xe6\xc6\x57\x64\x56\x96\xf5\x76\x1d\xe8\x69\x3a\xe3\xa1\x74\x58\x1c\x6a\xf5\xcc\xe0\xcf\x66\xb8\x3a\x12\xb8\x16\xea\x43\xc4\x4a\x33\x0c\xd0\x48\xbe\x72\x02\x37\x21\xf2\x48\xe7\x8a\x5e\xe5\x0e\xab\x78\xc4\x3a\xef\xfa\x16\xcb\xb5\x1e\x63\xb3\xf5\x3f\x48\x75\x2f\x6e\x78\x57\xc9\x62\x59\xd4\x25\x8c\xd4\x4d\x4d\x60\xdb\x67\xe3\x5d\xa0\x1e\x33\xc3\x1b\xa1\x3d\xd0\xa9\x1b\x1c\xe0\xab\x59\xb0\xb2\xb3\xe1\x86\x27\x6a\x4b\xe8\xb1\xee\xe1\xdf\x9d\xc0\xd3\xf7\x78\xa9\x7d\xfc\xd0\xda\xe9\xfa\x56\x8b\xeb\xd9\x33\x8f\xb3\x76\x1e\xaa\xb6\x5f\xc5\xda\x79\x78\xd3\x4f\x59\x3b\xf7\xbe\xf7\x28\x6b\xe7\xe1\x9d\x7f\xa6\xb5\xf3\x89\x51\xff\x05\xad\x9d\x8f\x0c\xd5\xac\x9d\x6e\xf9\x4d\x5a\x3b\x6f\xf2\xcf\x0e\x2e\x29\x65\xf5\x4f\x48\x87\x4d\x50\x2e\xcc\x88\xa2\x53\x3a\xec\xcc\xcc\xb1\xe3\xfc\xd0\xcc\xb1\xbf\xf5\xb4\xbc\x56\xe8\xa5\x85\xaa\x81\x76\xfa\xa1\xb5\x81\x53\xb1\x07\x65\x91\x3a\x43\xb4\x61\x19\x80\x4a\x58\x48\xdb\x87\x46\xbd\x3e\x5b\x1b\x3b\xe0\x2d\xe6\xdc\x68\x29\x09\x0e\xa9\x27\xc0\x32\xe0\xc4\x1a\x05\x85\xd2\x9c\x40\xdf\x25\xd7\xcc\x50\x81\x7b\xca\xdf\x37\x60\x4f\xd9\x28\x24\x29\x61\xd9\x28\x95\x55\x38\xfb\x56\xef\x3d\x41\x77\xeb\x09\x44\x39\x33\x73\x28\x6d\x5f\x31\x95\x02\xe6\xd2\x02\xcd\x7d\xb0\xd6\x53\x0e\x7a\x41\x42\xf3\xda\xba\x8a\xf6\x9f\x23\x94\xdb\x43\x68\xad\x0e\x23\xed\x5a\x8c\xda\xb5\xd0\x7a\xc0\x4a\x80\x56\x44\xef\x02\xec\x28\x50\xfe\x30\x76\x2d\x05\xb6\x02\x53\xdf\x50\x79\x33\x30\xbd\x04\x6d\x56\x38\x4b\x7f\xf5\x6b\xa3\xaf\x5a\x68\x8f\x91\x2d\x9d\xe3\x5b\x49\xaf\xb5\x48\x33\x13\x47\x21\x25\xb4\x15\x28\x50\xf6\x9d\x07\x91\x3a\xe0\x30\x0a\xf1\xa3\xe5\x8b\xaa\x1a\xa3\x9d\x05\x32\x2e\x7f\x9f\x81\x45\x8b\xe8\xef\xa0\x7e\x5e\xb7\xfb\x29\x30\x85\xd8\x00\x6f\x57\xba\xbe\x48\x4b\x41\x5a\x57\x8d\x40\x4a\x94\x36\x0b\x4a\x69\x67\xd4\xf1\x94\xd6\x4d\xb4\x50\x70\x16\xe8\xa0\x05\xbc\x52\x16\xd2\xa2\x6d\x03\x96\x95\xa1\x52\x73\xa8\x76\x31\x75\xb5\xb4\xe3\x0c\x76\x6e\xd0\xb9\x15\x8a\xbb\x99\x76\x3c\x71\x68\x74\xc8\x33\x10\x54\x4b\x81\xad\x46\xcb\x0c\x94\x2f\x03\x4f\x1b\xad\xdc\xcf\x68\x1a\x36\x28\x94\x32\x30\xca\x85\xc0\x56\x4f\x10\x0c\xd3\xc9\x61\x46\x17\x28\x47\x46\x02\x6a\x1e\xfa\xf0\x02\x4c\xab\x83\x4a\x75\xc1\xcc\xf2\x40\x70\x7b\xd6\xc8\xb9\xd6\x3a\x28\x31\xa7\x2b\x34\x83\x13\xd4\x89\x19\xb9\xb2\x40\xd7\x37\x92\x7e\x2c\xa4\x97\x1d\xf4\x39\x11\xf3\xdc\x13\xa8\x36\xb3\xcd\x51\x2e\xaf\x25\xee\x6b\x6b\xcb\x74\x4a\x9d\x0d\x2d\x75\x36\x52\x6e\x91\x09\xde\x76\x0f\x82\x47\x1e\xa8\x56\x58\x5a\xea\x2c\x40\x2d\x31\xe5\x46\x01\xbe\x00\x57\x54\x59\x89\xc9\xec\x29\x51\x19\x28\x87\xd0\x76\xd2\xcc\xfd\x44\xab\x75\x83\xa9\x64\xca\xc7\x46\x52\x95\x71\x6d\x69\x6a\x6d\x2d\xe2\xea\x18\x26\x83\x64\x03\xeb\x5e\xa0\x53\x88\xc0\xe8\xd7\xdc\xda\xf2\x38\xd6\x7e\x04\x9a\x35\x00\x0b\x0e\xc0\x70\x06\x83\xcb\x41\x6f\x68\x26\x8b\xb6\x81\xc1\x65\x28\x04\x17\x23\xe5\x4c\xd1\xe8\xa2\x57\x60\x70\x50\x33\xda\xde\x9c\x90\x15\x13\x2d\x62\x32\x2d\x1f\x0a\x66\xde\x06\xf4\x6a\x05\xa6\x36\xd2\x0e\xd5\xd2\xa0\x09\x39\xbd\x00\x7b\x5f\x29\xdd\xd6\xa4\x05\xc1\xe0\x11\x0a\x87\xad\xb4\xf6\xea\x05\xea\xbb\x19\xf3\xd2\x51\x32\x3e\x92\x0e\x0d\x04\xe1\x3d\xb4\x68\x85\x76\x3a\x1f\x98\x5b\xc8\x68\x2d\x67\x86\xb2\xf7\x27\x99\x5b\x55\xb7\xfe\x9a\xb6\x56\xbd\xe3\x17\x0c\xad\x37\xf9\x71\x31\xa5\x7b\xf7\xfc\x65\x26\xd6\xbd\x91\xfe\xe5\xed\xab\xd3\x08\xcd\xb8\x5a\xd7\xdf\xaa\x71\xf5\x3a\xfc\x4a\x78\xa3\xc2\x81\xe9\x3e\xcc\xde\x8d\xf8\x64\x73\x6a\x7c\xfc\x5a\xff\x58\xa8\x55\xb6\x5e\xbe\xf0\x2a\x98\x42\xd0\xcc\x02\x19\xa6\x13\xe6\x88\x9e\x4d\xc9\xfa\xa9\xd2\x37\xa4\x33\x7e\x11\xfa\x06\x9a\x11\x10\xe1\xe2\x13\x7f\x79\x42\x20\xac\x08\xef\x93\x81\x43\xad\x4f\x80\x9f\x52\x71\xc7\xf0\x0c\x8d\xf8\xb3\x8a\xc5\x87\x6f\x54\xfb\x97\x92\xbb\x8f\x5d\xe3\x7c\xd1\xfa\xef\x48\xfd\x33\xfd\xa2\x32\x8a\x60\x03\x1b\xf4\xb1\xd8\x51\x98\x5a\x0d\x97\xc5\xbb\x16\xcb\xda\x51\x6f\x91\xbb\x56\x73\xb3\x99\x92\x00\xdf\x92\xc6\x8f\xe3\x8c\x3c\x3c\x26\x13\xbe\xae\x2a\x1f\x14\xc5\x06\xcf\x59\x39\x8f\x1d\x0d\xf4\xd6\x25\x76\x64\x18\x05\xdf\x37\x0e\x18\xcd\x80\x92\x4d\x59\xc0\x11\x29\x77\x1f\x0a\x32\x6f\x4d\x30\x8d\xf4\xe7\xeb\xe1\x0d\xed\xe9\x59\xe6\xa8\xd3\xee\xc9\x86\x0d\xe0\x16\x32\x82\x7e\xa2\x56\x71\xa5\xff\x98\xa3\xdf\xfd\x00\xcf\x61\xa2\x56\x58\x71\x3b\xc4\xfb\x94\x13\xc2\x0c\x85\x05\x43\x15\xff\xd3\x13\x27\xe8\x89\x61\x19\x2f\xd3\x8a\x91\xe0\xe1\xaf\x9b\xe1\x82\xcc\xf4\x12\x51\x43\x87\x58\x85\xd5\x0e\x05\x62\x5b\xa2\x20\x3c\xf5\xfa\xe9\xcc\xc0\x9f\x99\x7f\x07\x7f\xd9\x1c\x1b\x77\xca\x0c\x0e\x6d\x45\x71\x3a\xfa\x71\x75\x64\x1f\x0b\x78\xda\xf5\xac\x1f\x90\xed\x8b\xbe\x6f\xb5\x5e\xd1\xb0\x37\xa6\x98\xc1\xf7\x9a\x71\x9d\xc1\x8f\x39\x78\x0c\x1c\x58\xa7\x04\x37\x94\xb7\x5a\x12\xd6\xd2\x53\xc7\xb6\x71\x66\x06\x6a\x3a\x22\x58\xe2\x84\xa1\xd5\x33\xe6\x08\xd7\x76\x4f\xa6\xbd\x80\xc9\xcd\x18\x62\xd3\xd4\x8c\x96\x19\x23\x5a\x15\xeb\x44\xcc\xd5\x78\x3a\xa9\x1d\x14\x87\x43\xd7\x6c\x04\x67\x9b\xc0\xd9\xf5\xd4\x98\xc3\x2f\x15\x53\xe3\x8e\xd3\xcf\x36\xea\xbf\xe8\x63\xbb\x51\xbf\x3b\x84\xc6\x11\x74\x9e\xf1\xea\x96\x86\xf7\xe9\xe1\x37\x54\xec\xef\x4a\xdd\x0b\x75\xe3\x1d\x78\xfc\x42\x3f\x8d\x39\xb4\x58\x4c\x8f\x0c\xdb\xc2\xfd\x58\x8c\x39\x68\xda\x7b\x1d\xa3\xc5\xb8\x0e\x03\x59\x65\xeb\x97\x52\xd8\x57\x5a\xab\x0e\xb7\xec\x46\x2d\x52\x36\x3e\x59\x0c\x91\x42\x5f\x33\xeb\x85\x34\x51\x2b\x1e\xe0\xd1\x3f\xd5\x85\x79\x38\x0a\xe1\x61\xb5\x78\xd7\x48\xff\xa8\x44\xc6\x77\x84\x5b\xa3\xc7\xc8\xc9\xbc\xeb\x4c\x26\x77\xb1\xbe\xf8\xcb\x87\x06\x87\x66\xba\xe0\x8a\xf4\x18\x3b\x8f\xc3\x0f\x7d\xa0\x6f\x7e\x65\xa3\x83\xbb\x7e\xd9\xf0\x90\x2f\xfe\x44\xe3\x83\x7b\xff\x62\x03\xe4\xfe\xc8\xff\x2a\x46\x48\x1b\x2d\x86\xc8\xec\x7f\x9b\x86\xc8\xbb\xf7\xbf\x18\x42\x34\x42\x6e\xba\x61\x50\x98\x11\x62\x51\x1e\x23\xb6\x74\x5b\x8b\xf2\x14\x84\x98\x82\x82\xcf\x9a\xe2\x9d\x8c\x90\xa1\x25\x67\xc2\x19\xf1\x93\x35\x42\x9f\x80\x2c\x0d\x90\x6a\x67\xd2\xee\x03\x60\xd1\x02\x91\xe0\x0c\xf8\x2f\x53\x34\xec\xb9\xf7\x79\x42\xcb\xd3\x44\x67\xa3\x38\x28\x03\x2e\x75\x14\xf7\xad\x14\xe7\x68\xf1\x2f\x45\xe8\x8e\x22\xc1\x85\xe4\x9a\x35\x7e\x4d\x24\xed\x3a\x8a\xbb\xd6\xd2\x88\x34\xcb\x19\x79\x5c\x81\x30\x64\x99\x5b\x51\xfc\x84\xf7\x3a\x13\xb0\x57\x82\x0f\x3c\xfb\xfe\x8c\xd0\x20\x22\xfc\x44\xa8\xcb\x3b\x6b\x22\xc6\x08\x83\x96\x2a\x74\x06\x9a\x7a\x05\x48\x17\x7a\xa0\x13\xda\xd4\xed\x2c\xa1\x75\x6e\x94\x68\x94\x0c\x63\x45\x23\x5c\x7d\x03\x87\x26\x88\xb2\x22\x20\xf2\x30\xb6\x66\x8a\x2b\xe4\x20\x32\x9e\xd0\xb5\x75\x8f\x10\x5a\xca\x98\xcd\x40\xb0\xa8\xd9\x00\x2c\xe1\x73\x91\x9e\x00\xf1\x58\x97\x5a\x83\xbd\x40\xb1\xba\x03\x02\x96\x7c\x03\x3b\x4f\x90\x92\x8d\x28\xa1\x99\x82\x34\x07\xc9\x8d\x2a\x72\x0a\x73\xac\xc1\xe6\xe4\x30\xb8\x28\x82\x52\xc3\x14\x22\xa8\x05\x28\xc4\x4a\xc1\x94\x1a\x7d\xc0\xbe\x36\xd6\x78\x80\xc8\x3b\x00\x00\x1f\x30\x46\x8c\xe0\x6a\xeb\xdb\xf9\x08\xd6\xd4\xca\x8c\x11\xc8\x69\xdd\xdc\xa2\x6a\x66\x8c\xa4\x33\x63\x64\x32\xc2\x1a\x88\xef\x2c\xba\xa3\x60\x54\xa2\x00\x9b\x29\x5e\x08\x9b\x06\x0a\x71\xc5\x60\x53\xc8\x59\xac\xdf\x9d\x28\x34\xf7\x56\x88\x4a\xb3\xfd\xd9\x0a\xa4\x1d\x91\x31\x6b\xb6\x0a\xb9\xa0\x12\xe3\xe6\xd6\x68\xaa\xd0\xfc\x48\x0b\x27\xd3\x87\x51\x9c\x6d\x68\x51\x9c\x0c\x99\x75\xa1\x11\xe9\x46\x94\x32\x87\x46\x8c\xe8\x31\x5a\x3b\x0a\xe9\x94\x78\x81\xe2\xa4\x42\x74\xc7\x51\x68\x2f\xef\xee\x00\xe0\xf7\x14\x7f\x06\x00\xbb\x5a\xdc\x4a\x03\xb0\x99\x62\x3d\x0f\x30\x78\x85\xc4\x69\x66\xaf\x77\x10\x91\x7e\x31\xf2\x03\xb9\x40\xc4\xf3\x3f\x07\x4d\x0f\x1b\xc5\x45\x73\x33\xa0\x32\x09\xf3\x58\x1e\x17\xf9\x09\x80\xf4\x27\x0a\xa0\x4e\x09\x59\x6b\xd8\x45\xc3\x9a\x69\x69\x11\xf0\x44\x11\x6a\xc7\xbe\xf1\x90\xb1\x78\x9a\xf3\x6a\x34\xcc\xd5\xb3\x79\x4a\x76\xd2\x80\x37\x40\xdc\x9e\x88\x0a\xcf\x34\x92\xb4\x86\xe2\x4b\xdf\x40\xd3\x7d\x77\x1f\x34\x3d\x03\x27\x9b\x70\x38\x57\x22\xd6\x05\x67\x31\x12\x1d\x4a\x10\x4a\xeb\x3c\x43\xbe\xe1\x29\x88\x1e\x29\xe2\xda\xcc\x69\x20\xe1\x96\x4b\x6b\xb8\xb7\xd1\xb8\xa7\xa7\x78\x21\x52\x88\x31\x58\x23\x68\x88\xcd\x7b\x0a\x22\x1d\x85\xa8\x46\x88\xac\xd1\x46\x88\xe0\x35\xfa\x18\x89\xcc\x53\xac\x62\xd1\xeb\x09\x08\xa0\x1f\x1a\x61\x52\x37\x7f\x68\x80\x69\x41\x77\x68\x84\xa3\x4a\x60\xf9\x53\x22\x3e\x55\xcf\xfe\x9a\xc6\x57\xbd\xe3\x17\x0c\xaf\x77\xef\x7f\x52\xc4\xa7\xde\xf3\x97\x19\x5c\xf7\x46\xfa\x97\x37\xb6\x4e\x23\xc4\xd0\xf2\x6e\xf8\x6d\x19\x5a\x77\xd7\xdf\xe6\xab\xdb\xd7\x5b\x0e\xe9\xee\xf0\x5d\xf8\xe5\x00\xa2\x04\x11\xd5\xc7\xb2\x6a\x03\x80\x1d\xc7\xf9\xea\xbb\x46\xac\x67\x8d\xdb\x4f\xe4\x23\x1f\x01\x0f\xc5\xe1\xac\x79\xa6\x91\x74\x0d\x64\xb6\x08\xf0\xf8\xa9\x35\x66\x4a\xc0\x63\x0b\x05\xfd\x06\xcd\xcc\x44\xc6\x57\x8a\x9b\x67\xb2\x6a\x46\x4c\x66\xe0\x21\x07\xb1\xa1\x41\x04\x3d\xe4\xcc\xe6\x1c\x26\x88\xb3\x3c\x0e\x95\x03\x40\x33\x53\xf8\x63\x51\xfe\xd9\x60\xe6\x90\xcd\x9f\x9a\x98\x40\xbc\x2a\xb2\x2b\xf9\xe6\xe4\xf7\xd6\x08\x93\xa6\x34\x1b\x84\x57\x19\x72\xc5\x42\xf3\x00\x25\x69\xeb\xce\x0a\xcd\x2c\xfa\xfb\x13\x0a\xcd\xa6\xee\x23\xe0\xa1\x0c\x78\x88\x62\xe0\x91\xe6\x78\x4a\x66\x05\xe9\xfb\x42\x90\xac\x40\xc0\x61\x0d\x74\x57\x02\x5d\x16\x68\x1b\x00\x06\x39\xe4\xba\x92\x4f\xf5\x04\x67\x02\x85\x5f\x3c\xdf\x03\x2a\xf2\xd6\x08\xb7\xa0\xe7\xb1\xf1\x46\x0a\x80\x7b\x82\x66\xda\xb8\x83\x2c\xd3\xb9\x1d\xb6\x8e\xcd\x76\x29\x67\x45\x5b\x66\x87\x69\xc1\x76\x77\xbf\xe8\xec\xd4\xd4\x01\xa8\xb3\x66\x1a\xe6\x06\xb1\xcd\x5d\x6b\xaa\x3c\x63\x87\x9b\x1d\x36\x93\xc5\x2c\x04\xdf\x56\x83\xc3\x9e\xc3\xb6\x69\x98\x95\x69\x04\x6e\x81\x88\x08\x61\x49\x20\xd0\xa0\xe4\x12\xae\xed\xc7\x84\x2f\xe0\x7d\xb3\x79\x3d\xe0\xb1\x81\x02\xcb\x8e\xc6\xf9\x1b\x64\x94\x1e\x48\x7a\xa2\xd9\xad\xde\x8f\x73\xd2\xd3\xc0\x7d\xa3\x51\xc5\x9c\x5b\x51\x59\x80\x24\x75\xc2\x87\x39\x15\x79\x43\x26\xa8\x3e\x11\xc1\x25\x47\xa3\x82\x09\x72\x5f\xb3\xc3\x2c\x10\x71\xca\xa6\x71\xde\x17\xe4\x88\x87\x4c\x49\xed\x30\xc6\x15\x80\x69\x3b\x02\x8a\x89\x22\x27\xd5\xc3\xb9\xe9\x45\x25\x70\x2b\x00\x0e\x21\x6a\x1d\x58\x47\x0b\xc0\x28\x20\x06\x02\x0a\x4f\xa3\x1d\x6b\x28\x96\x21\xb0\xb2\xc6\x5c\x89\x6c\x4f\xb6\xe6\x65\x9c\x93\x85\x4c\x54\x4a\x00\xe3\x68\xdc\x26\xfb\xb6\xa3\x50\x5c\x49\x0b\x00\x4b\xf6\x10\xe4\xda\x7c\x15\x1a\x42\x3f\x2c\x84\x9b\x20\x04\xca\x34\x12\x48\x56\xa0\xb7\xd1\x9c\x63\x69\x64\xce\x2b\xa4\x43\x06\x52\xb2\xac\xb6\x65\x6d\xc7\xb1\x81\x94\xb4\xfc\x83\x06\xa0\x0e\x7f\xf0\x53\x50\xf0\x13\x49\x56\x68\x4d\xf5\x95\x5c\x7b\xac\x6b\x6c\x8d\x42\xf4\xbb\x90\x26\x29\x29\x3c\x0d\xf6\x06\x2b\x33\x58\x09\xa6\x3a\x82\xc3\x90\x0e\x29\x69\x89\x05\xc6\xe6\x06\x52\xb2\xc6\x73\xe2\xdf\x79\xc0\x68\x3d\x7e\x61\x0f\x48\x69\x05\x22\x3f\x03\x52\x32\x02\x4c\x0f\xe0\x53\x89\x82\x91\x7d\x3a\xcf\xf8\xb1\x13\xe4\x96\x83\x11\x4a\x51\x58\x69\xe7\x29\x32\xf6\xfc\x09\x38\x76\x47\x03\xe7\xde\x88\x3b\x1f\x0d\x50\xfa\x98\xfa\xfc\x55\xcc\xa8\x8f\xdd\xf8\x53\xd6\xd4\x07\xdf\x7d\x94\x51\xf5\xb1\x27\xfc\x4c\xdb\xea\x33\xb3\xf0\x17\x34\xb1\x3e\x31\x6c\xcb\xad\x2d\xbf\x31\x98\xf6\xe9\x75\x7f\x0d\x98\xf6\x6f\xdd\xca\x5a\xa0\xdf\x8b\xcb\x87\x56\x96\x15\x7c\x9d\x5b\x59\x0b\xd4\xea\x2b\x14\x8d\x81\x54\xd2\x7a\x96\x66\xd3\x56\xde\x23\x85\x2e\x46\x39\xf8\x85\x72\xfe\x81\x34\x5b\x06\xe7\x31\x13\x81\xb3\x72\xfe\x4c\xcb\x95\x87\xe5\xfc\xab\x95\xf3\x5b\xcb\x5b\x8a\x50\x8c\x96\x6e\x25\xc5\xa3\xed\x78\x28\x30\x9a\x69\x95\xdd\x95\xd6\x9e\x67\x22\x1d\x19\xf0\x2e\x57\x3c\x68\xb7\x34\xeb\x6e\x00\xa7\x13\xa0\xef\x58\x8d\x56\x8a\xd4\x86\x58\x1a\x0b\xd4\xb3\x03\xb8\xb1\x02\x3d\x95\x07\x37\xe3\x89\xfe\x94\xf0\x78\xcb\xca\x53\xec\x96\x81\x98\x27\xac\x37\xc5\x69\x40\xf1\xbc\x52\xe6\x7f\x4a\xb5\xd1\x72\x2d\x91\x26\x30\xab\xd6\x9e\xe9\xcf\x5a\xf2\xcd\xb4\xf0\x34\x9a\x48\xd1\x9e\x1b\x7b\x37\x40\xc1\xd9\x11\x1d\x58\x62\xa3\xab\xb7\x56\xed\x06\xd7\xd6\x88\x03\xb4\x4a\xd9\x7d\x1c\xae\xad\x11\xa8\x85\x74\x9f\xc1\xb5\x67\x2c\x96\x73\xb8\x76\xa8\xd1\x90\x11\xb8\xf6\x60\x2d\xc7\x68\x61\xad\x78\xb7\x8f\xc1\xb5\x7d\xb3\xea\x87\x07\xe5\xfc\xe9\x0b\xe5\xfc\xc3\x83\x72\xfe\x2d\xb4\x72\x7e\x4f\xf1\xa7\xb5\x42\xd1\x62\x26\xa2\x87\xe7\x85\x6f\xd1\xe6\x0e\x4b\xd2\xda\xdb\xbb\xb3\xa2\xb7\x01\x6a\xf2\x11\x8c\xce\x0c\x4d\xb2\x27\xca\xa9\x85\xa1\x5d\x4b\xfb\x04\x70\x40\x7d\xf8\xb4\xe5\x34\xd0\xbe\xb0\xd0\x2e\xc9\x85\x56\x14\x39\xd1\xca\x69\xa3\x45\x5a\x3f\x7f\xda\x7a\x0a\x50\x68\x05\xda\x98\x45\x28\xaf\x14\x93\x76\xd6\x9a\x30\x90\x12\x8f\x58\x8f\x8b\xb5\x77\x82\xda\x20\x11\x49\x91\xf9\x4e\x78\x37\xe7\x30\xf0\x1c\x3f\x02\x03\x4f\x0d\x06\x7e\x2a\xb6\xdb\x48\x2d\x03\xbb\x9e\x2c\x3d\x0d\xa5\xe6\xc2\xfc\x75\x58\x63\x99\x36\xe7\xd6\x66\x73\x78\x00\x03\x9f\x1f\xc0\xc0\x37\xa3\xf7\x3f\x8b\x9a\xad\x9c\x7f\xa5\x92\xc0\x13\xd4\xf9\x37\xd9\x00\x2d\x5b\x4f\xd4\x4c\xa1\xee\x60\x55\x3b\xbc\x12\x47\x4b\xea\x0d\xca\xb5\x19\x3a\x5c\xa5\x97\x82\x9a\x64\xed\x9b\x85\xa5\x6d\x55\xc7\x66\x61\xf5\xd0\x04\xa4\x33\xbc\x94\x95\xd6\x2c\xe0\xfc\x06\xda\x37\x2b\xf5\x21\x78\xa9\x80\x25\x1e\x68\x1d\xa8\x51\xcb\x87\x16\x56\xff\x69\x0b\x2b\x51\x80\x37\x40\x51\x2a\xef\xf2\x13\x2d\xac\x5f\x13\x02\xfe\xf0\xa6\x5f\xb4\xac\x1e\x0d\x01\x7f\x78\xe7\x5f\x6a\x51\xfd\xd5\x20\xe0\x1f\x19\xaa\x59\x52\x93\xff\x4d\x5a\x52\xbf\x00\x02\xfe\x41\x72\x30\x9d\x25\x07\xb7\x0f\x93\x83\xe7\x66\xd4\x02\xb3\x8f\x31\xe3\x16\xf8\x02\x0c\xc6\x6b\x8c\x48\x9a\x4c\xa0\x6a\x4e\x3b\xab\xc2\x3e\xa2\x15\x6b\xf1\x41\xb5\x9b\x05\x55\xe8\x0e\xb6\xc0\x32\x38\xe0\x3c\x2e\x88\xa6\x04\x4b\xca\x43\x18\xf8\x06\xbb\xa7\xc7\xc1\x9c\x81\x10\x1b\x14\xbc\xa3\x66\xdf\x2a\x4c\x3c\x8c\xe9\xbd\x75\xb7\xa6\x4a\xa3\xa3\xa3\xb3\x75\xb0\x51\x75\x8e\x63\xaa\x4c\x34\xc0\x7b\x0b\x88\x2b\x4b\x10\x8e\x74\x59\x2e\xd4\x29\x6f\xa0\x07\xac\x4b\x40\x57\x1a\x0a\x68\xa6\x32\xca\x2a\xac\xd4\x69\x9e\x5b\xc5\x9b\xc1\x60\x07\xcc\x11\x51\xe1\x13\x6a\x6b\x25\x09\x60\x68\x8e\x04\x82\x66\x03\x2d\x94\xad\xa3\x25\xa2\xcf\x92\x42\xc6\x0c\x5f\xe8\x4c\x2b\xa6\xe4\xb0\x36\x44\x83\x26\x11\x49\xb4\x8d\x8c\xb9\xc0\xb8\xb7\x85\xd6\x11\x7c\xb1\x3a\x75\x58\xae\xba\xbe\x25\x7e\x3b\x90\x44\x3d\x9d\x3c\x17\x1c\x5b\x35\x65\x57\xc6\x9d\x5a\xf7\x38\x83\x71\x9f\x50\x4b\x70\x40\x64\x63\x06\x24\x41\xba\x6e\x0d\xc1\x22\xa6\xd3\x8a\x5a\xb3\x4a\xa0\x40\xd5\x5b\x47\x97\xb6\x8e\x6e\x53\x33\x8c\x87\x89\x4e\x5b\x0b\x95\x91\x53\xd7\x3a\x3f\xc4\xfe\x0c\xb5\x64\x2c\xf6\x73\x35\x1b\x06\xa0\xb1\x3d\xac\xa5\x2b\x89\x24\x85\x64\xd3\xd9\xda\xd3\x35\x2b\xcd\x0d\xd9\xb5\xd1\x21\x2b\x73\xb6\x16\xe6\x3f\xc0\xdb\x70\x5e\xf9\x36\x11\x68\xec\xe7\xb3\x04\x2b\x1d\xa4\x3a\x98\x83\xe4\x99\x91\x73\xb3\x51\x19\x39\x59\xa2\x89\x4a\xc6\x68\x89\xfb\x91\x5a\x73\x60\xe0\x33\xfc\x06\x19\x36\xf5\x11\x55\xe8\x26\x3a\xe4\x92\x70\x37\x04\x8c\x72\x56\xd8\x38\x60\xa5\x1f\x8d\xa3\xc0\xba\x25\x91\xbc\xce\xd6\x29\x31\x55\xd3\x4e\xd1\x82\x74\x58\x73\x63\x0b\x5e\x05\x54\xb9\xd5\xec\xaf\x74\xbb\x5f\x48\xcc\x16\x2a\xfa\x16\xcc\xd6\x81\x44\xcf\x08\x63\x76\x82\x55\x2a\xe0\xfe\x8c\xa9\xed\xdd\x44\xb7\xb4\x69\x6c\xc1\x1e\x07\x18\x21\xd3\x35\xa9\xc0\xe4\x1d\x8c\xb9\xb8\xa7\x8b\x1f\x89\xfa\x19\xe6\xdf\x02\x4a\xa8\xf4\xad\x73\x6a\x87\x6b\x66\xc9\xc1\x88\xc9\x55\xe8\x48\x36\xd1\xf1\x43\x4d\x36\xdf\xaa\x7a\x65\x2f\xf5\x98\x2d\xda\xfd\x03\x64\x95\x06\xe0\x32\xdd\x08\xe0\x7d\x48\x74\x07\x9f\xe0\x44\x48\x54\xe9\x2e\xc0\xbd\xcd\xd4\xd6\xe0\x6f\xa2\x9a\x0e\x4e\x81\x61\x6e\xe6\x9a\xa3\x7b\xcc\x86\x4b\x1b\xac\xf2\x34\xd1\x6d\x69\x69\xac\xd9\xca\x56\xc6\x1a\x0d\x24\xeb\xe4\x5c\x6c\x20\x4a\x15\x44\xc0\xba\x69\x37\x4e\xd8\xa1\x07\xaa\x6a\x57\x63\x69\x34\x97\x6a\xa4\x43\x2f\x9d\x00\xd4\x7d\x82\x9d\x31\xd0\x75\x4b\x74\x8a\x5c\x37\xc3\x22\x97\xa8\xdc\x5b\xe9\x4c\x9c\x49\x6e\x1b\x57\xc7\x44\xd7\x60\xed\xde\x0f\xea\x74\xa2\xeb\x8d\xb1\x63\x25\xb8\x4f\x26\x64\xe0\x1a\x5a\x09\x50\x87\xcb\x31\xc7\x96\x44\x2c\x94\xcf\x3c\x34\xcf\x66\x02\xbc\xe2\x22\x4d\xdb\x4f\x49\x20\xde\xd3\xc5\xbf\xa6\x6d\xf6\x79\xc8\x78\xfb\xd2\x4f\xb1\xca\x7e\x11\x64\xfc\x63\x23\xfd\xcb\xdb\x63\x0f\x21\xe3\xbf\xd5\x04\xe2\xff\x86\x8c\x57\xdf\xcd\xe3\x63\xfe\x6f\xc8\x78\x2d\xfb\x05\x06\x3d\xc4\x46\x44\x63\xed\x52\x3d\xf4\xd0\x32\x0e\x8d\x1f\x18\x2a\xc9\xb5\x2c\x53\xa1\xfd\xe6\x8a\x82\xb7\x36\x1c\x0a\x8f\x75\xad\xad\x82\x19\x3d\xd6\x26\x76\xc4\x80\xd9\x68\xcd\x3b\x40\x89\xde\x91\xf9\xe9\xa0\x10\x1d\x89\x85\xcc\xd0\xfc\x19\x52\xa8\x3b\x6b\x6b\x3b\x40\xcf\xbe\x42\x89\xdd\x63\xe4\xaf\xd4\x2f\x69\x3d\xe2\xdc\xa0\xec\x0e\x78\xf4\x29\xb6\x89\x91\xec\xc9\x3a\x47\xca\xef\x17\x5a\xb9\x39\x23\x74\xea\xce\xda\xdf\x83\xdc\x1b\x68\x6f\xa3\x14\xf4\x28\xe4\xc7\xd0\x0f\xa8\xb1\xd9\x7d\x86\x7e\x60\xa3\xbd\x92\x21\xb4\xc8\xa4\x0e\x18\x96\x85\x58\x8e\xb5\x50\xf4\x46\xd2\x95\x41\xc1\xc4\x46\x3d\x68\xd4\xe2\x05\x34\x58\x4f\xdd\x6a\x04\x45\x58\xa0\x4a\xd6\xd6\xa3\x09\xf2\x26\xa0\xf6\x99\x96\x0a\x32\x57\xb2\x47\x26\x50\x77\x03\xf4\xab\x3d\xfb\x64\xc2\x08\x89\x20\xff\x56\x5a\x48\x4e\x50\xd2\x9b\x41\xd9\x61\x80\x4e\xb4\x91\x19\xc9\xc6\x26\xa3\x51\xa6\x55\xc4\x04\x74\x3c\xf9\x66\x38\x4d\x6b\xa3\xbb\x9e\xa1\x0c\xf5\x28\x75\xad\x75\xb3\x9a\xbf\xb3\x52\x7e\x6b\xeb\xdc\x93\xe1\x5a\xc7\x16\xc3\xe9\x30\x6a\xc4\x60\x0f\x2b\x99\x7a\x6b\xdb\x40\xbb\xe0\x80\x31\xa1\x14\x9b\x53\xcb\x3e\xf9\xb5\xad\xfb\x48\x3b\x89\x19\x8a\xee\x09\x03\x54\x6b\xfb\x40\x0f\x44\x5a\x6f\x06\x5a\xd4\x44\xda\xf0\x78\xe2\xea\x1b\xb1\x62\x47\xfc\x77\x82\x3e\x57\xd1\x94\x38\x53\x19\x34\xdb\xa9\xb5\x01\xd4\x18\x4a\x52\x46\x0b\xe6\x1e\x94\xa6\xd1\x6a\x4e\x10\xb4\x75\xb4\x97\x8d\xb4\x52\x9b\xcc\xe8\x00\xf9\xd6\x6d\x1f\x1a\x1d\x99\xb6\x4d\x9e\xcc\xfa\xe3\x61\xe3\x1f\xe8\x9c\x5f\xd9\xf0\xf8\x02\x6c\xfc\xfe\x17\x7f\xa2\x01\xf2\xcb\x60\xe3\x9f\x1a\xf9\x5f\xc5\x10\xf9\xed\xc3\xc6\x79\xd7\x5f\x08\x1b\xf7\x0f\x23\x43\x18\x22\xab\xf5\x8d\x31\x2b\xba\x54\xe5\x3f\xc3\xa8\x37\xd2\xa7\x51\xb9\x81\x09\x38\xdb\x01\x19\xe1\x84\x71\xf0\xed\x6c\xc3\xe3\x22\x43\x81\x04\x8b\x47\x58\x6e\x70\xd2\x6b\xbf\x0c\xa0\x19\xd6\x1f\x53\x0f\x28\x3d\x62\x16\x6a\x84\x7a\x0a\xaf\x35\x31\x86\x72\xcd\x04\xf8\x7b\xe6\xa3\x27\xc1\x51\x06\x60\x01\xf4\x0e\x4f\xc0\x6b\x7b\xb8\x8c\x45\xb1\x6e\xc6\x1d\x0d\x7c\xa8\x83\x33\xdb\xfa\xc2\x69\x6f\x08\x7a\x72\xaf\xb0\x73\x6a\xcf\x9a\x42\xf4\x07\x2e\xa1\x05\xde\xde\xd5\xfa\xfa\xc0\x7b\x14\xe1\xf5\x2d\xc6\x27\xb5\x36\xf8\x55\x06\x3e\xbc\x51\x13\x94\x7a\x7a\x00\xac\x55\xc0\x5a\x1f\xd0\x81\xfa\xa0\xe5\x2c\x99\xa5\x89\xb6\x09\xde\x97\xae\xf5\x10\xd6\x9e\xac\x28\x9e\x0c\xb3\x5b\x0f\xf1\x40\x8f\x90\x1a\xe1\x95\xf2\x66\x0c\xe2\x75\x29\x8c\x18\x86\x49\x2d\x28\xa7\xb7\x80\xb2\x79\xa2\x94\xad\xff\x94\xdc\xdf\xa1\x24\xc5\xcb\x9c\xd7\x56\x28\x3d\x53\x80\x6c\xf0\x83\x2e\x10\x39\x9a\xe8\x47\x00\x09\x82\x7a\x93\x8c\x47\xd9\x31\xe1\x6f\x59\xb8\x8f\x18\x41\x09\x08\xf9\x34\x35\xce\xe0\x0c\x0f\x51\x07\x1c\x36\x90\xd8\x4b\xf0\xa3\x6b\x5f\x49\x22\x04\x1b\x7d\x64\x67\x8a\xe4\x67\x8c\x39\x51\x6e\x89\x9e\x9e\xa2\x54\xcd\xeb\x1e\x39\x07\xc3\x19\xfc\xd9\x5b\x6f\x76\x0c\xd3\x89\xe4\x6d\xa6\x77\x83\xcc\xa9\x12\x44\x00\x55\x19\x30\x54\xe2\xc2\x79\x23\x59\x50\x88\x06\x65\x0c\xf7\x09\x96\xc5\x15\x6e\xb2\x85\x5e\x14\x63\x6c\x9c\xd9\x03\xcc\x80\x6a\x7c\x0f\x30\x2e\x42\x56\xa0\x3d\x67\x88\xba\x8d\x73\xeb\xd5\xa3\xd1\x34\x78\xc2\x34\x89\x49\xcf\x70\x65\x90\xed\xe8\x45\x62\xca\x95\x68\x67\x8f\x91\xd6\xd3\x43\xd7\x59\xaf\x71\x0c\x11\x31\x58\x03\x91\x07\xd9\xc7\x89\xfe\xe3\x19\xe5\xb7\x18\x6c\x6e\x00\x12\xd4\xd7\x67\x47\xfa\x10\x1a\x4b\xea\x42\xff\xba\x40\x54\x4e\xcf\x1f\x3d\x4a\x22\xcc\x9f\xd6\xc7\x29\xb2\x47\x23\xcf\x0b\x70\x96\x05\x7a\xe1\x68\xff\x38\x92\x8c\xc9\xe0\x4b\x1b\x50\x7b\xeb\x4b\x5b\x80\xf4\xb0\x76\xb3\xf5\x4d\x5d\x49\xd6\x51\x5e\xa0\xfd\xe0\x8d\xc4\x81\x88\x82\xf1\x32\x15\xa2\x6e\x27\xe6\x58\xd7\x7a\x40\x7b\xfa\x68\xf5\xf4\x45\x4f\x44\xbb\x16\x8c\x3b\x7f\x6e\x10\x79\xa2\xd2\x18\x4e\xce\x7a\x64\x8f\xf0\x2c\x91\x60\x73\xec\x95\x9e\xbe\x03\x23\x49\x28\x8d\x48\xf6\x55\xc6\x65\x83\x30\x11\x79\xd2\x1e\x91\x44\x59\x46\xfa\x9c\x4d\x70\x70\x27\x6a\x4a\x2d\xe1\xa5\x0c\xc3\xc0\xd5\x17\xfa\x6e\x3b\xa0\xe8\x1b\x04\x2f\x13\x0c\xa2\x5a\x0b\x89\xc1\x9a\x58\xff\x99\x68\xbe\x96\x31\x58\xbf\x7a\x58\x1f\x37\xdf\x12\x6c\x23\x64\x1d\x13\xb5\x8f\x23\x99\x87\x89\x92\x87\xd1\x1c\x8a\x11\x58\x58\x4f\x74\x6a\xa5\xbf\x25\x35\xa4\x1b\x6b\xed\x8d\xa3\x7c\x66\x5c\x90\x91\x38\xe0\x8d\x2b\x60\x86\x3e\xb4\x44\xba\xc3\x78\xcb\xf4\x77\xd5\x64\x27\x3d\x4c\x3c\xfd\x59\x94\xf9\x92\x5e\x35\x3d\xc9\xda\x00\xdb\xb2\x72\x77\x8d\x9f\x4e\x04\xca\x79\x73\xf4\x77\x99\x60\x7b\xd5\x7e\x02\x8f\x35\xfa\x7e\x45\xa8\xfa\xbd\x3b\x7e\xc1\xd8\x7b\x2c\x54\xfd\xde\x3d\x7f\x99\x91\xf7\xd7\x82\xaa\x3f\x1c\x21\xc6\x5d\xdf\xb9\xee\xff\x1d\xeb\xee\xab\xaf\x76\xff\x28\x17\xed\x2e\xaf\xc3\x76\xbb\x0b\x57\xdb\xae\x7e\xe7\x76\x77\xf7\x4d\xde\xe9\x0d\x77\xe5\xfa\x46\x7f\x7b\x73\xf8\x2e\x5f\xed\x64\x74\x2f\xe5\xc2\x7f\xbb\x3b\x7d\x37\x5c\xd5\x49\xdf\x1d\xca\xd9\x75\xe9\xfa\xfd\xe5\xb6\xbb\xba\xbe\xdb\xc5\xbc\x2b\xd7\xef\xaf\xb6\xdd\xf5\x8d\x5c\x79\xef\x0f\xf2\xe4\xbc\xbd\xac\xcb\xac\x2f\xf3\x4c\x1e\xb1\xbb\xbd\xbb\x39\x5c\xbd\xf9\xe8\xbe\x4b\xe1\xea\xea\xfa\xea\x90\xc2\xe5\x7f\xc8\x37\x5f\x7d\xcd\x97\x6f\x5f\xfe\x67\x7e\x77\x19\x52\xd6\x3b\xbc\xd8\x3d\xdd\xef\x9f\xbe\xd8\x3d\xfd\xea\xe9\x8b\xdd\x3f\xf4\x75\x5d\xcb\x8b\xdd\xf5\xb7\x72\x85\x35\xda\xf9\xc3\xfd\x9b\xfd\xf1\xff\x2f\x7f\x97\x25\x0f\xa7\x7d\x53\x64\x4f\x7c\x64\x53\xdc\xdb\x15\xe5\xed\xdd\xcb\x7f\x91\x37\x2c\xcf\x9e\xd6\x29\xfd\xdb\xdb\x5d\x0a\x57\xff\x3f\x99\xa5\xb0\xed\xe2\xf7\x75\x00\xaf\x76\x7f\xfb\xdd\xd3\x17\xbb\xfa\x82\xf9\xe6\x46\x6e\xfd\x63\xdb\x61\xe1\x25\xeb\x26\x0b\xf4\xa4\x2d\xd9\xa7\x9f\x21\xd3\xa8\x93\xcb\x5d\x9f\xb3\xae\xff\xfe\xfe\xf6\xae\x7e\xe9\x70\xbb\xbb\x3c\x7c\x9b\x59\xe9\xf8\xfe\x6e\xf7\x2e\x5c\x1d\xd2\xed\xee\x4f\xdf\xe4\x2b\x3e\xfd\x93\x2e\x89\xbd\x04\xcb\x69\xcb\x7c\x7b\x78\xfb\xee\xf2\x50\x0e\xf9\x76\x77\x1b\x4a\xde\x1d\xae\x0e\x77\x87\x70\x79\xf8\x73\xb8\x3b\x5c\x5f\xed\xae\xcb\xee\xcd\xe5\x75\x0c\x97\xbb\xef\xc2\xcd\x21\xc4\xcb\x7c\xcb\x72\x9e\xde\xe1\xfe\x92\xd6\x15\x95\x39\x6c\x93\xdc\xbe\xf6\xd1\x03\xa8\x6f\xfc\xec\xa9\x6e\xac\x57\x7c\xf9\xe9\xee\xbf\xe9\x88\x77\xff\x6d\xf7\xf4\xf9\xab\x9d\xfc\x9a\x6f\x6e\xea\x0c\x3d\x7b\xfe\xbc\x1e\x52\x1b\xd2\xf9\x6e\x97\x53\xfa\xd9\x1d\xaf\x27\xfb\xaf\xbd\xed\xe5\xad\x1e\x6c\x7d\x84\x81\xfc\xe5\xff\x73\xfb\x5f\x27\xf9\x67\x9e\x81\x83\x0e\xf8\x51\x47\xc0\x1e\xf3\xa9\x63\xa0\x5f\x92\x91\xdd\xde\x5b\xe7\x2b\xfd\xe4\xfa\x6c\xdd\x6e\xcf\xd7\x42\x2f\x78\x26\x3b\xb5\xce\xac\x8c\xb7\x5e\xf2\xea\xeb\xdd\xdb\xf0\x6d\x7e\x66\x7f\x79\xb1\xeb\x5e\xec\x2e\xf3\xd5\x33\x9b\x50\xd9\x78\xb2\x75\xae\x58\x9a\x9b\x70\xf5\x26\x9f\xa6\x5b\x27\xae\xde\xe9\xeb\x5d\x78\xf7\x2e\x5f\x6d\xba\x58\xb7\xf6\xd6\xe7\x03\x96\xcf\x19\xc6\xe9\xfa\xc3\xed\x2e\xec\xee\xe4\x90\xbd\xd8\x7d\x73\x7d\xb9\xc9\xcb\xe5\x90\xbe\x61\xf3\xbd\xc9\x57\xf9\x26\xdc\x5d\xdf\xbc\xd8\xbd\x95\xdb\x6f\xbb\xbb\xeb\xdd\xe1\xee\x96\xfd\xab\xde\xbc\xdd\x4a\x46\xf2\xee\x0f\x75\x18\x7f\x94\xb1\x7f\xa8\x44\x7f\xb8\xf8\x68\xef\xb1\x57\x1f\xf6\x0e\x7b\x71\xf1\xc8\xce\x21\xaf\x1e\xd3\xe7\xe3\x4b\x77\x3b\x51\x45\x7f\xfe\x6e\x8d\x64\xfb\x71\x54\x8c\x1f\xbd\xdb\x47\x48\x2c\x1f\x41\x3c\xf4\xb9\x5b\x9d\x12\x6e\x8f\xe4\x0e\xf8\xc2\xbd\x5a\x0c\xed\x11\xe5\x71\x9f\xbb\xd7\xc9\x3c\x7b\x3c\x06\xfc\xa3\xb7\xfb\x04\xa2\xfe\x71\x58\xa8\xcf\xdf\xf1\xf3\x6b\xf0\x20\x93\xf7\xb9\x5b\x7d\x76\x0d\x3e\x12\x88\xfb\xc2\xbd\x3e\xbf\x06\x0f\xec\xbe\xcf\xdd\xcb\xd6\xe0\x4c\x7a\xfd\xee\x70\x73\x4f\x76\x95\xc3\xa5\x09\xb0\x98\x2f\xaf\xff\xb4\x0b\xbb\x94\x6f\xee\xc2\xe1\x4a\x2e\xd9\x0e\x37\x39\xdd\x5d\xdf\x7c\xbf\xcb\x6f\x63\xde\xb6\xbc\xed\x0e\x57\xed\xba\xf8\xfd\xee\xcd\xf5\x3f\x70\x7c\x55\xa1\xfd\xeb\xf5\xcd\x2e\x1f\xc3\xdb\x77\x97\x59\x14\xd9\xf7\xd7\xef\x77\x37\xef\xaf\xce\xbe\xb5\xbb\xbe\xda\xc9\xbf\x5f\xbd\x7c\xf9\x52\x15\xa6\x7e\x98\xae\xaf\xe4\x91\xfa\x4a\x72\x9b\x72\x7d\x79\x79\xfd\x27\x11\x47\xdf\x1c\xf2\x4d\xb8\x49\xdf\x7c\xff\x4a\x3e\x97\xff\xe9\xd5\xf6\xcb\x6e\x57\xae\xaf\x5f\xde\x1d\xef\xda\x07\x87\xb7\x6f\xce\xfe\xbc\xdb\x85\x97\xef\xae\xde\x9c\x7f\x10\xed\x83\xbb\x93\xc9\xf2\xbb\xc3\xcd\xb3\xa7\x72\xe3\xa7\xcf\xef\x5b\x2f\x26\x99\x7f\x78\xca\x73\x44\x07\x1e\xde\xbe\x79\xfa\xe3\xf9\x8c\xd6\x6b\xbf\x92\xcf\x3f\x79\xbd\xbe\x86\x5c\xad\x8f\x7f\x78\xbd\xdd\xfd\xb9\xce\x49\xfb\xfc\xea\xfa\x2e\x1f\x0f\xb7\x77\x0f\xef\x6b\xd6\xc2\xfd\xbb\xc8\xb7\x0e\x97\x97\x1f\x3e\x5c\x87\xf6\xe3\xb9\x52\x92\xef\x3f\x34\x8d\x4d\x09\x35\xe3\xe0\xea\x7a\xcb\xa6\xe0\xef\x6e\x72\x56\xb5\x2f\x0a\x4a\xf5\x8b\xe8\xef\x4e\x95\xd0\xcf\x35\x22\x9e\xbc\x0b\x77\xdf\xfc\x8f\xc3\xed\xdd\xf9\x25\xff\xf5\xee\xf2\x70\xf7\xec\xfe\x2d\xf5\x22\xb9\x40\xb4\xe1\xeb\x17\xbb\x77\x4d\x1b\x9e\x6e\xa1\x66\x84\xbe\xf1\xd7\x3b\xf9\xe7\xe5\x3f\x7f\x73\xb8\xdc\x6e\xf2\xd5\x1f\xde\xfd\x51\xfe\x74\x28\xbb\xfa\xd7\x33\xab\xe3\xe7\x98\xc4\x4f\xaa\x81\xf1\xa3\xaa\x57\x6e\xfa\xf2\x5f\x65\x66\x3f\xe1\xe4\x3d\xf6\xbe\xa2\xad\xbf\xfb\xb4\x51\x70\x6f\x4c\x66\x19\x24\xf9\xfd\x3f\xee\x99\x07\xf7\xbe\x57\x5f\xe6\xbb\x66\x20\xdc\x7c\xf7\xa2\x5d\x74\xcf\x44\x90\xbf\xe0\xca\xdd\x7d\xff\x2e\xef\x58\x73\x59\x97\xf7\x49\xa7\x57\x07\xa9\x87\xee\xa3\x0a\xfe\xe2\xc9\xe9\xa9\x67\xc6\xc0\xdf\xdb\xde\xf9\xf1\x64\x31\xe8\x6d\xbf\xde\xfd\x1d\x3f\xfe\xa0\xb3\xf4\x91\x4b\x3e\x69\x31\x9c\xae\xfc\xd0\x74\xf8\xe8\x7d\x7e\xfc\xf1\x27\x98\x14\xa7\x9b\x3f\xc6\xb6\xf8\x99\x8f\x3b\xb3\x39\x1e\xf5\x38\x33\x3e\x7e\xda\xe3\x3e\x66\x94\x7c\xee\x71\x1f\x58\x27\x3f\xeb\x71\x4d\x63\x3e\xe2\x59\xa8\xce\x9f\xfb\xa0\x33\x95\xfa\xb8\x87\x99\x6e\xfd\x59\x0f\x6c\x3a\xf7\x11\x0f\x43\xf9\xfe\xb4\x07\x7d\xca\x30\xfa\xdc\xf3\x3e\x6a\x21\xfd\xcc\xc7\x3e\x72\xa3\x7c\x60\x42\xfd\xac\xc7\x3d\x6e\xa3\xdc\xb7\xb1\x7e\xee\x83\x1e\xb9\x51\x3e\x34\xc2\x7e\xd6\x03\x1f\xb7\x51\xee\x5b\x69\x9f\x7c\xd0\x8f\xd5\x7c\xfb\xcf\x7c\x7b\x77\x7d\x93\xab\x02\xb9\xa9\xbf\x68\xd8\xa0\x3a\x6b\xef\xaf\xb6\x7c\x1e\x63\x38\x99\x6e\x55\xe9\x9f\x5f\xfd\x6c\x3b\xdc\x54\xa5\x73\xd2\xfe\x35\xf4\xf0\xc3\xc5\x13\x91\xa6\x8f\x8d\xa3\xa0\x37\x88\x61\x3e\x39\x58\x64\xe1\x74\xe9\x29\x0a\xf1\x98\xcb\xe5\xaf\x5f\xef\xae\x6f\x5f\xfe\xfb\xb7\xdb\xe1\xe6\x1f\x2f\x2f\x9f\xbd\x16\x23\xf3\x7f\x85\xbb\x6f\xea\x0b\xcb\x6f\xa2\xec\x5f\x9a\xed\xf2\xfc\xf9\x8b\x7b\x21\xce\x6e\x99\xa6\xe7\x8f\x7f\xd4\xe1\xfa\xfd\xdd\xe1\xf2\xe5\xff\x75\x73\xb8\xcb\x72\x8f\x87\xcf\xd3\x47\xbc\xd8\xd5\x19\x91\xc1\xbd\xd4\xa7\xfc\x84\x27\x5c\xdf\xbe\xfc\xe7\x6f\xee\x0e\xe2\xfe\x7f\xfc\xde\x76\xd7\xdf\x1f\xde\xe6\x67\x1f\xfc\xfe\x98\x07\x35\x3b\xe3\xe2\xc3\x6d\x72\xfb\x53\xf6\xc9\xee\x26\xa7\xf7\x37\xb7\x87\xef\xf2\xe5\x47\xf6\xcc\xed\xe7\x36\x4d\x42\xed\xdf\x5f\xfd\xd3\x32\x5d\x3c\x11\xcf\xe0\x70\x99\x3f\x33\x9e\x8f\xef\xcf\x6a\x9f\x7c\xf5\xd5\xee\x77\x87\x9b\x0b\xb3\xfd\xf4\x69\xcd\xdc\x49\xe7\x96\x4e\x9d\xf7\x8f\xbc\xf8\x69\xf3\xfc\x1f\xd7\x87\x2b\xac\x51\xbd\xf2\xf9\xe7\xe3\x51\x3a\xcf\xd8\x7a\xf7\xe7\x5a\xa7\xe8\x23\xcb\x7a\x9a\x9e\x16\xed\xf9\xb9\xe6\x31\x0f\xbc\xff\xee\xd8\x71\x27\xe3\x7e\x3b\xdc\xfc\xf8\xe2\x11\xc6\xf3\xcb\x97\x2f\xf5\x3f\x79\xf7\xfa\xf2\xba\x21\xfe\xf5\xbf\x9e\x3d\xdf\xfd\xbd\x59\x57\xff\x58\x3f\xd2\x70\xea\x29\x22\xf6\xea\xeb\x6a\xf0\xc9\x3b\x7c\x31\x9e\x68\x2f\x7d\x7d\xfb\xf2\xbf\xee\xc2\x9d\x5e\x54\x97\x51\x96\xef\xdb\xfb\x51\x2c\x91\x71\x0f\x4c\xd5\x7a\xf5\xdf\x3d\x78\xa1\x1f\xfe\xf1\x2c\x58\xfb\xe2\xb4\xbf\x5e\x9d\x7e\x7a\xd1\x24\xce\xab\xdd\xe9\xd5\x5f\xec\xfe\xd7\x4d\x2e\x87\xe3\xab\xdd\xb7\x75\x09\x09\xfd\xbe\xbf\xba\xc9\x21\x7d\x13\xe2\x65\x7e\x2a\x13\xf2\xff\x04\x00\x00\xff\xff\x97\xe0\x27\xc8\xa6\x1d\x01\x00") - -func bindata_assetfsGoBytes() ([]byte, error) { - return bindataRead( - _bindata_assetfsGo, - "bindata_assetfs.go", - ) -} - -func bindata_assetfsGo() (*asset, error) { - bytes, err := bindata_assetfsGoBytes() - if err != nil { - return nil, err - } - - info := bindataFileInfo{name: "bindata_assetfs.go", size: 73126, mode: os.FileMode(420), modTime: time.Unix(1516601545, 0)} - a := &asset{bytes: bytes, info: info} - return a, nil -} - -var _route_twirp_eclier_backends_killLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x5c\x52\x4d\x6b\xdc\x30\x10\xbd\xeb\x57\x3c\x74\xb2\x21\x36\xdb\x43\x2f\x0b\xbe\xb4\xc9\x21\x50\x1a\x28\xe9\xa9\x84\xa2\x95\xc7\xb6\x58\xaf\xe4\xce\x48\x4e\xfa\xef\x8b\xe4\xec\x47\x73\x30\x58\x7a\xef\xcd\x7b\x33\xa3\xa6\xc1\xd7\xd0\x13\x46\xf2\xc4\x26\x52\x8f\xc3\x5f\x2c\x1c\x62\xb0\xcd\x48\xbe\x89\xaf\x8e\x97\xdf\x64\x67\x47\x8c\xf5\x73\xbb\x6b\x77\xf7\x4f\xf8\xfe\xf4\x8c\x87\xfb\xc7\x67\xd5\x34\x90\x90\xd8\xd2\x1e\x1c\x52\xa4\xb6\x48\x95\x12\xcb\x6e\x89\xed\x4a\x7c\x40\x07\x7d\x30\xf6\x48\xbe\x97\xfd\xd1\xcd\xb3\x3e\xa3\x13\xcd\x4b\x46\x1f\xde\xc8\xa6\x48\x82\x13\xc5\x29\xf4\xc8\x24\x04\x0f\x21\x5e\x9d\x25\x9c\xd5\x18\x02\xa3\x04\xc2\x62\xec\xd1\x8c\x84\x37\xca\xa4\x36\x49\xbb\xd9\x9f\xa9\x17\x0f\x93\xe2\x14\x38\xbb\x9c\x8c\x9d\x9c\xa7\xe6\xd2\xa9\xbe\x49\x29\x2e\xf8\x4c\xda\x3a\xbc\x20\x49\xb2\x49\x07\xad\x95\x9a\x83\x35\x33\x86\xd9\x8c\xe8\xc0\xf4\x27\x39\x26\xe8\x7c\xd6\xef\x98\xac\xf6\x16\x92\xd5\x5e\x65\x82\xae\x68\x5b\x4f\xaf\x55\xad\xf2\xe0\xf2\x71\xeb\xe9\xcb\x96\xfa\xb1\x57\x83\xec\x25\xb2\xf3\x63\xa5\x5d\xaf\xef\xa0\xf3\xb7\x9a\x39\x51\x21\x9e\x48\x4a\x22\xc3\x23\x5c\xaf\x6b\xf5\x31\xe8\x20\xfb\xf2\x9b\x2d\x86\xe4\x6d\xcc\x7d\x71\xf2\x95\xe1\xb1\x56\x80\x1b\xb2\xf6\xd7\xa7\x17\x74\x1d\x74\x93\x37\xa0\x11\xf8\xbf\xcb\xf7\xdb\x38\x91\x57\x00\xb0\xb0\xf3\xb1\xba\x56\xae\xcb\x2d\x53\x4c\x9c\x09\xe4\x7b\xa5\x50\x2a\xec\x5e\xd0\xe1\x66\xf5\x0a\xb8\x4e\x4d\xb6\x78\x8b\x61\xa1\x2d\xce\x05\x66\x92\xfc\x10\x64\xb5\x65\x3c\x66\x71\x3f\x7f\x7c\xbb\x43\x0c\x47\xf2\xf5\xfe\xbc\xd3\xaa\x2e\xcf\xa7\x2a\xc5\x6a\xa5\xb2\xf1\xbf\x00\x00\x00\xff\xff\x9b\x1b\x96\x37\xbf\x02\x00\x00") - -func route_twirp_eclier_backends_killLuaBytes() ([]byte, error) { - return bindataRead( - _route_twirp_eclier_backends_killLua, - "route_twirp_eclier_backends_kill.lua", - ) -} - -func route_twirp_eclier_backends_killLua() (*asset, error) { - bytes, err := route_twirp_eclier_backends_killLuaBytes() - if err != nil { - return nil, err - } - - info := bindataFileInfo{name: "route_twirp_eclier_backends_kill.lua", size: 703, mode: os.FileMode(420), modTime: time.Unix(1516602076, 0)} - a := &asset{bytes: bytes, info: info} - return a, nil -} - -var _route_twirp_eclier_backends_listLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x52\xc1\x6e\xdb\x3a\x10\xbc\xf3\x2b\x06\x3c\x59\x40\x24\xe4\x1d\xde\x45\x80\x2e\x6d\x72\x28\x50\x34\x40\x9b\x9e\x9a\xa0\xa0\xa9\x95\x4c\x44\x26\xd5\x5d\x52\x49\xff\xbe\x20\x65\xd9\x6e\x81\xf6\x60\xc0\xdc\x99\xd9\x9d\x5d\x4d\x5d\xe3\x7d\xe8\x09\x23\x79\x62\x13\xa9\xc7\xfe\x27\x66\x0e\x31\xd8\x7a\x24\x5f\xc7\x57\xc7\xf3\x77\xb2\x93\x23\xc6\xf2\x7f\x73\xdb\xdc\xde\x3d\xe0\xd3\xc3\x23\xee\xef\x3e\x3c\xaa\xba\x86\x84\xc4\x96\x5a\x70\x48\x91\x9a\x22\x55\x4a\x2c\xbb\x39\x36\x0b\xf1\x1e\x1d\xf4\xde\xd8\x17\xf2\xbd\xb4\x93\x93\xa8\x37\xf4\x40\xd3\x9c\xd1\xfb\x37\xb2\x29\x92\xe0\x48\xf1\x10\x7a\x64\x12\x82\x87\x10\x2f\xce\x12\x36\x35\x86\xc0\x28\x86\x30\x1b\xfb\x62\x46\xc2\x1b\x65\x52\x93\xa4\x59\xc7\x6f\xd4\xf3\x0c\x93\xe2\x21\x70\x9e\x72\x34\xf6\xe0\x3c\xd5\xe7\x4d\xf5\x95\x4b\x71\xc1\x67\xd2\xba\xe1\x19\x49\x92\x87\x74\xd0\x5a\xa9\x29\x58\x33\x61\x98\xcc\x88\x0e\x4c\x3f\x92\x63\x82\xce\x6f\x7d\xc2\x64\xb1\xd7\x90\x2c\xf6\x22\x13\x74\x45\xdb\x78\x7a\xdd\x55\x2a\x1f\x2e\x3f\xd7\x9d\xde\xad\xae\xbf\xd0\x44\x36\x06\x56\x83\xb4\x12\xd9\xf9\x71\xa7\xfb\x70\x34\xce\xeb\x1b\xe8\xfc\x5b\xcc\x94\xa8\x48\x8e\x24\xc5\x9b\xe1\x11\x27\x4e\x75\xad\x4b\x42\xfc\x6f\x55\x61\x54\xea\xcf\x55\x07\x69\xcb\xdf\x6c\x72\x48\xde\xc6\x7c\x19\x4e\x7e\x67\x78\xac\x14\xe0\x86\xac\xfe\xf6\xdf\x33\xba\x0e\xba\xce\xdf\x50\x23\xf0\x6f\xc5\x53\x35\x1e\xc8\x2b\x00\x98\xd9\xf9\xb8\xbb\x74\xae\x4a\x95\x29\x26\xce\x04\xf2\xbd\x52\x28\x1d\x6e\x9f\xd1\xe1\x2a\x3c\x0a\xb8\xdc\x5d\x56\x7b\xb3\x61\xa1\xd5\xce\x19\x66\x92\x1c\x25\x59\x6c\x39\xb0\x99\xdd\xd7\xcf\x1f\x6f\x10\xc3\x0b\xf9\xaa\xdd\x52\xb1\xab\x4a\x00\x77\xa5\x59\x51\xaf\xce\xf4\x5e\xda\xa7\xf8\x14\x35\x9a\x06\x31\x9c\x6e\x98\x7b\x36\x7b\x29\x6e\x37\xde\x96\xe3\xbf\xb1\x4f\x78\x55\xa9\xbc\xd4\xaf\x00\x00\x00\xff\xff\x5b\x4a\x7f\xf6\x5d\x03\x00\x00") - -func route_twirp_eclier_backends_listLuaBytes() ([]byte, error) { - return bindataRead( - _route_twirp_eclier_backends_listLua, - "route_twirp_eclier_backends_list.lua", - ) -} - -func route_twirp_eclier_backends_listLua() (*asset, error) { - bytes, err := route_twirp_eclier_backends_listLuaBytes() - if err != nil { - return nil, err - } - - info := bindataFileInfo{name: "route_twirp_eclier_backends_list.lua", size: 861, mode: os.FileMode(420), modTime: time.Unix(1516602076, 0)} - a := &asset{bytes: bytes, info: info} - return a, nil -} - -var _route_twirp_eclier_routes_deleteLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x52\x4f\x6b\xdc\x3e\x10\xbd\xeb\x53\x3c\x74\xb2\x21\x36\xfb\x3b\xfc\x2e\x06\x9f\x9a\x1c\x0a\xa5\x81\x90\x9e\x4a\x28\x8a\x3c\xb6\x45\xbc\x92\x3b\x23\x39\xe9\xb7\x2f\x92\x37\xbb\x9b\x1e\x72\x30\x58\xf3\xde\x9b\x79\xf3\xa7\x69\xf0\x25\x0c\x84\x89\x3c\xb1\x89\x34\xe0\xf9\x0f\x56\x0e\x31\xd8\x66\x22\xdf\xc4\x57\xc7\xeb\x2f\xb2\x8b\x23\xc6\xf6\x7f\x7b\x68\x0f\xb7\xf7\xf8\x7e\xff\x88\xbb\xdb\xaf\x8f\xaa\x69\x20\x21\xb1\xa5\x0e\x1c\x52\xa4\xb6\x48\x95\x12\xcb\x6e\x8d\xed\x46\xfc\x8c\x1e\xba\x60\xd2\x0d\xb4\x50\x24\xfd\x8e\xce\xb4\xac\x19\xbd\x7b\x23\x9b\x71\x1c\x29\xce\x61\xc0\x4e\x43\xf0\x10\xe2\xcd\x59\xda\x73\x0b\xc6\xc0\x28\x86\xb0\x1a\xfb\x62\x26\xc2\x1b\x65\x4a\x9b\xa4\xdd\xcb\xef\xc4\x73\x05\x93\xe2\x1c\x38\xd7\x38\x1a\x3b\x3b\x4f\xcd\xb9\x4f\x7d\xe5\x51\x5c\xf0\x99\xb4\xf7\x77\x46\x92\xe4\x12\x3d\xb4\x56\x6a\x09\xd6\x2c\x18\x17\x33\xa1\x07\xd3\xef\xe4\x98\xa0\xf3\x5b\x9f\x30\xd9\xec\x35\x24\x9b\xbd\xc8\x04\x7d\xd1\xb6\x9e\x5e\xab\x5a\xe5\xb1\xe5\xe7\xde\xd1\x43\xf6\xac\x46\xe9\x24\xb2\xf3\x53\xa5\xdd\xa0\x6f\xa0\xf3\xb7\x99\x25\x51\x21\x1d\x49\x8a\x1b\xc3\x13\xdc\xa0\xeb\x6b\xbe\x65\x32\x31\xf0\xe7\xa2\x77\xd2\x07\xe5\x1c\x24\x7e\x2e\x2b\x8c\x5a\xfd\x3b\x92\x51\xba\xf2\x9b\x9b\x19\x93\xb7\x31\x4f\x90\x93\xaf\x0c\x4f\xb5\x02\xdc\x98\xd5\x3f\xff\x7b\x42\xdf\x43\x37\x79\xd3\x1a\x81\x3f\x04\x4f\xd1\x38\x93\x57\x00\xb0\xb2\xf3\xb1\xba\x64\xae\x4b\x94\x29\x26\xce\x04\xf2\x83\x52\x28\x19\x0e\x4f\xe8\x71\x75\x62\x0a\xb8\xec\x47\x76\x7b\xab\x61\xa1\xdd\xce\x19\x66\x92\x7c\x70\xb2\xd9\xb2\x08\xb3\xba\x1f\x0f\xdf\x6e\x10\xc3\x0b\xf9\xba\xdb\x6f\xa7\xaa\x4f\x67\x5a\x95\x64\xb5\x52\xb9\xf0\xdf\x00\x00\x00\xff\xff\x75\x1a\x14\x61\x27\x03\x00\x00") - -func route_twirp_eclier_routes_deleteLuaBytes() ([]byte, error) { - return bindataRead( - _route_twirp_eclier_routes_deleteLua, - "route_twirp_eclier_routes_delete.lua", - ) -} - -func route_twirp_eclier_routes_deleteLua() (*asset, error) { - bytes, err := route_twirp_eclier_routes_deleteLuaBytes() - if err != nil { - return nil, err - } - - info := bindataFileInfo{name: "route_twirp_eclier_routes_delete.lua", size: 807, mode: os.FileMode(420), modTime: time.Unix(1516602076, 0)} - a := &asset{bytes: bytes, info: info} - return a, nil -} - -var _route_twirp_eclier_routes_getLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x84\x52\x4d\x6b\xdc\x30\x10\xbd\xeb\x57\x3c\x74\x5a\x43\x6c\xd2\x43\x2f\x06\x9f\x9a\x50\x0a\xa5\x81\x90\x9e\x9a\x50\x14\x79\x6c\x8b\x38\x92\x33\x92\x9c\xf4\xdf\x97\x91\xdd\xdd\x6d\x21\xf4\xb0\xb0\x9a\xf7\x31\x6f\xc6\x53\xd7\xf8\x14\x7a\xc2\x48\x9e\xd8\x24\xea\xf1\xf8\x0b\x0b\x87\x14\x6c\x3d\x92\xaf\xd3\xab\xe3\xe5\x27\xd9\xd9\x11\x63\xfd\xd8\x5c\x36\x97\x57\x37\xf8\x76\x73\x87\xeb\xab\x2f\x77\xaa\xae\x11\x43\x66\x4b\x2d\x38\xe4\x44\x4d\x91\x2a\x15\x2d\xbb\x25\x35\x2b\xf1\x23\x3a\xe8\x82\xc5\x76\xa4\xa4\xff\x40\x13\xcd\x8b\x40\xd7\x6f\x64\x05\xc4\x33\xa5\x29\xf4\x18\x29\x21\x78\x44\xe2\xd5\x59\xda\x5c\x23\x86\xc0\x28\x51\xb0\x18\xfb\x64\x46\xc2\x1b\x09\xa5\xc9\xb1\xd9\x1a\x6f\xc4\xa3\xbd\xc9\x69\x0a\x2c\x0d\x9e\x8d\x9d\x9c\xa7\xfa\x38\xa1\x3e\x4b\x17\x5d\xf0\x42\xda\x26\x3b\x22\x39\x4a\x8b\x0e\x5a\x2b\x35\x07\x6b\x66\x0c\xb3\x19\xd1\x81\xe9\x25\x3b\x26\x68\x79\xeb\x1d\x8b\xab\x3d\x87\xe2\x6a\x4f\xb2\x88\xae\x68\x1b\x4f\xaf\x87\x4a\xc9\xc2\xe4\xb9\x4d\xf4\x99\xd2\xad\xc4\xbe\xa5\x97\x4c\x31\xa9\x21\xb6\x31\xb1\xf3\xe3\x41\x67\x9f\x23\xf5\xfa\x02\x5a\x7e\xab\x99\x33\x15\xc9\x33\xc5\x92\xcd\xf0\x88\x9d\x53\x9d\xeb\xdc\x7f\x34\x4e\xf8\xff\x8e\x39\xc4\xb6\xfc\x95\x80\x43\xf6\x36\xc9\x56\x38\xfb\x83\xe1\xb1\x52\x80\x1b\x44\xfb\xe3\xc3\x03\xba\x0e\xba\x96\x4f\xa7\x11\xf8\xaf\xe2\x5e\x4d\x13\x79\x05\x00\x0b\x3b\x9f\x0e\x27\xe7\xaa\x54\x99\x52\x66\x21\x90\xef\x95\x42\x71\xb8\x7c\x40\x87\xb3\x83\x51\xc0\x69\xe7\x71\x8b\xb7\x18\x8e\xb4\xc5\x39\xc2\x4c\x51\x2e\x28\xae\xb6\x2c\xd7\x2c\xee\xfb\xed\xd7\x0b\xa4\xf0\x44\xbe\x6a\xb7\x7b\x38\x54\x72\x74\x87\xe2\x54\xa4\x5b\x2c\xed\xfa\xf6\x3e\xdd\x27\x8d\xa6\x41\x0a\xfb\xf2\xc4\xb0\x71\x7d\x89\xba\xf3\x2c\x93\x49\x81\xdf\x23\xef\xf0\xb9\x62\x0a\x31\xbd\x47\x17\xac\xaa\x94\xcc\xfe\x3b\x00\x00\xff\xff\x07\xd9\x95\x3a\x78\x03\x00\x00") - -func route_twirp_eclier_routes_getLuaBytes() ([]byte, error) { - return bindataRead( - _route_twirp_eclier_routes_getLua, - "route_twirp_eclier_routes_get.lua", - ) -} - -func route_twirp_eclier_routes_getLua() (*asset, error) { - bytes, err := route_twirp_eclier_routes_getLuaBytes() - if err != nil { - return nil, err - } - - info := bindataFileInfo{name: "route_twirp_eclier_routes_get.lua", size: 888, mode: os.FileMode(420), modTime: time.Unix(1516602076, 0)} - a := &asset{bytes: bytes, info: info} - return a, nil -} - -var _route_twirp_eclier_routes_get_allLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x5c\x52\x4d\x6f\xdd\x20\x10\xbc\xf3\x2b\x46\x9c\x6c\xa9\xb6\x5e\x0f\xbd\x3c\xc9\xa7\x26\x87\x4a\x55\x22\x55\xe9\xa9\x89\x22\xc2\x5b\xdb\x28\x0e\xb8\xcb\xe2\xa4\xff\xbe\x02\xde\x57\x7b\x83\x9d\xd9\xd9\x19\x96\xae\xc3\xd7\x70\x20\x4c\xe4\x89\x8d\xd0\x01\x2f\x7f\xb0\x72\x90\x60\xbb\x89\x7c\x27\xef\x8e\xd7\x67\xb2\x8b\x23\xc6\xf6\xa5\xdf\xf5\xbb\x9b\x7b\xdc\xdd\x3f\xe0\xf6\xe6\xdb\x83\xea\x3a\xc4\x90\xd8\xd2\x1e\x1c\x92\x50\x5f\x5a\x95\x8a\x96\xdd\x2a\xfd\x46\xfc\x82\x01\xba\x60\x71\x3f\x91\x3c\x9b\x65\xd1\x27\x78\xa6\x65\xcd\xf0\xed\x07\xd9\x4c\xc0\x1b\xc9\x1c\x0e\x38\xf2\x10\x3c\x22\xf1\xe6\x2c\x55\xf5\x88\x31\x30\x8a\x25\xac\xc6\xbe\x9a\x89\xf0\x41\x99\xd2\xa7\xd8\x57\x03\x95\x78\x1e\x61\x92\xcc\x81\xf3\x90\x37\x63\x67\xe7\xa9\x3b\x27\xd5\x57\x2e\xa3\x0b\x3e\x93\x6a\xc2\x33\x92\x62\x1e\x31\x40\x6b\xa5\x96\x60\xcd\x82\x71\x31\x13\x06\x30\xfd\x4e\x8e\x09\x3a\xdf\xf5\x11\x8b\x9b\xbd\x86\xe2\x66\x2f\x6d\x11\x43\xe9\xed\x3d\xbd\x37\xad\xca\x0f\x97\xaf\x35\xd1\x9d\x5b\xd4\xff\x23\xc7\xb8\x2f\xc7\x4c\x1e\x93\xb7\x92\x1d\x72\xf2\x8d\xe1\xa9\x55\x80\x1b\x61\x78\xfa\xf5\xf9\x09\xc3\x00\xdd\xe5\xa7\xd4\x08\xfc\x4f\xf1\x58\x95\x99\xbc\x02\x80\x95\x9d\x97\xe6\xa2\xdc\x96\x2a\x93\x24\xce\x04\xf2\x07\xa5\x50\x14\x76\x4f\x18\x70\xb5\x44\x05\x5c\xf2\xc7\x6a\x6f\x35\x1c\xa9\xda\x39\xc3\x4c\x31\x6f\x34\x6e\xb6\x04\x35\xab\xfb\xf9\xe3\xfb\x27\x48\x78\x25\xdf\xee\xeb\x6e\x9a\xf6\xf4\x11\x9a\xa2\x56\xda\xab\xb5\xd3\x47\x79\x94\x47\xd1\xe8\x7b\x48\x88\xc2\xce\x4f\x4d\x16\x3e\xee\xb6\x6d\x55\x76\xfa\x37\x00\x00\xff\xff\xd4\xa1\xe0\x99\xba\x02\x00\x00") - -func route_twirp_eclier_routes_get_allLuaBytes() ([]byte, error) { - return bindataRead( - _route_twirp_eclier_routes_get_allLua, - "route_twirp_eclier_routes_get_all.lua", - ) -} - -func route_twirp_eclier_routes_get_allLua() (*asset, error) { - bytes, err := route_twirp_eclier_routes_get_allLuaBytes() - if err != nil { - return nil, err - } - - info := bindataFileInfo{name: "route_twirp_eclier_routes_get_all.lua", size: 698, mode: os.FileMode(420), modTime: time.Unix(1516602076, 0)} - a := &asset{bytes: bytes, info: info} - return a, nil -} - -var _route_twirp_eclier_routes_putLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x52\xcd\x6a\xdc\x3c\x14\xdd\xeb\x29\x0e\x5a\x8d\x21\x36\xf9\x16\xdf\xc6\xe0\x55\x93\x45\xa1\x34\x10\xd2\x55\x13\x8a\x22\x5f\xdb\x22\x8e\xe4\x5e\x49\x4e\xfa\xf6\xe5\xca\xce\xcc\xa4\x90\x2c\x0c\x96\xce\x8f\xce\xfd\xa9\x6b\x7c\x09\x3d\x61\x24\x4f\x6c\x12\xf5\x78\xfc\x83\x85\x43\x0a\xb6\x1e\xc9\xd7\xe9\xc5\xf1\xf2\x8b\xec\xec\x88\xb1\xfe\xdf\x5c\x36\x97\x57\x37\xf8\x7e\x73\x87\xeb\xab\xaf\x77\xaa\xae\x11\x43\x66\x4b\x2d\x38\xe4\x44\x4d\x91\x2a\x15\x2d\xbb\x25\x35\x2b\xf1\x23\x3a\xe8\x82\xc5\x76\xc9\x49\xbf\x41\x13\xcd\x8b\x40\xd7\xaf\x64\x05\xc4\x33\xa5\x29\xf4\x58\x72\x42\xf0\x88\xc4\xab\xb3\xb4\xb9\x46\x0c\x81\x51\xa2\x60\x31\xf6\xc9\x8c\x84\x57\x12\x4a\x93\x63\xb3\x3d\xbc\x11\x8f\xf6\x26\xa7\x29\xb0\x3c\xf0\x6c\xec\xe4\x3c\xd5\xc7\x0a\xf5\x59\xba\xe8\x82\x17\xd2\x56\xd9\x11\xc9\x51\x9e\xe8\xa0\xb5\x52\x73\xb0\x66\xc6\x30\x9b\x11\x1d\x98\x7e\x67\xc7\x04\x2d\x67\xbd\x63\x71\xb5\xe7\x50\x5c\xed\x49\x16\xd1\x15\x6d\xe3\xe9\xe5\x50\x29\x69\x98\x1c\xb7\x8a\x6e\x25\xb3\x1a\x62\x1b\x13\x3b\x3f\x1e\xf4\x14\x62\xd2\x17\xd0\xf2\xad\x66\xce\x54\x68\xcf\x14\x4b\x1e\xc3\x23\x0a\xa3\x3a\xd7\xb8\xfe\x73\x85\xeb\xdf\xf3\x2d\x93\x49\x81\x3f\x17\xbd\x91\x2a\xf5\x6f\x4b\x86\xd8\x96\x5f\x29\x66\xc8\xde\x26\xe9\x20\x67\x7f\x30\x3c\x56\x0a\x70\x83\x18\xfc\xfc\xef\x01\x5d\x07\x5d\xcb\x98\x35\x02\xbf\xbb\xdc\x6f\xd3\x44\x5e\x01\xc0\xc2\xce\xa7\xc3\xc9\xb9\x2a\xb7\x4c\x29\xb3\x10\xc8\xf7\x4a\xa1\x38\x5c\x3e\xa0\xc3\xd9\x72\x29\xe0\x34\x9f\xb8\xc5\x5b\x0c\x47\xda\xe2\x1c\x61\xa6\x28\xdb\x16\x57\x5b\x06\x61\x16\xf7\xe3\xf6\xdb\x05\x52\x78\x22\x5f\xb5\xdb\xee\x1c\x2a\x59\xd0\x43\x71\x2a\xd2\x2d\x96\x76\x7d\x7b\x9f\xee\x93\x46\xd3\x20\x85\xbd\x8d\x62\xd8\xb8\xbe\x44\xdd\x79\x7b\xcf\x3e\x22\xef\xf0\xb9\x42\x86\xf9\x11\x5d\xb0\xaa\x52\x52\xfb\xdf\x00\x00\x00\xff\xff\x86\x08\x46\x8f\xa4\x03\x00\x00") - -func route_twirp_eclier_routes_putLuaBytes() ([]byte, error) { - return bindataRead( - _route_twirp_eclier_routes_putLua, - "route_twirp_eclier_routes_put.lua", - ) -} - -func route_twirp_eclier_routes_putLua() (*asset, error) { - bytes, err := route_twirp_eclier_routes_putLuaBytes() - if err != nil { - return nil, err - } - - info := bindataFileInfo{name: "route_twirp_eclier_routes_put.lua", size: 932, mode: os.FileMode(420), modTime: time.Unix(1516602076, 0)} - a := &asset{bytes: bytes, info: info} - return a, nil -} - -var _route_twirp_eclier_tokens_deactivateLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x52\xc1\x6a\xdc\x30\x10\xbd\xeb\x2b\x1e\x3a\xd9\x10\x9b\xed\xa1\x97\x05\x9f\x9a\x1c\x0a\xa5\x81\xb2\x3d\x95\x50\xb4\xf2\xd8\x2b\xe2\x95\xdc\x19\xc9\x49\xfe\xbe\x48\xde\xee\xba\x85\xf4\x60\xb0\x34\xef\xcd\xbc\x79\x7a\x4d\x83\x4f\xa1\x27\x8c\xe4\x89\x4d\xa4\x1e\xc7\x37\xcc\x1c\x62\xb0\xcd\x48\xbe\x89\x2f\x8e\xe7\x9f\x64\x27\x47\x8c\xe5\x63\xbb\x6b\x77\xf7\x8f\xf8\xfa\x78\xc0\xc3\xfd\xe7\x83\x6a\x1a\x48\x48\x6c\x69\x0f\x0e\x29\x52\x5b\xa8\x4a\x89\x65\x37\xc7\x76\x21\x3e\xa2\x83\x8e\xe1\x99\xbc\xec\x7b\x32\x36\xba\xc5\x44\xd2\x7f\x10\x27\x9a\xe6\x8c\x78\x78\x25\x9b\x22\x09\xce\x14\x4f\xa1\xc7\x0d\x8a\xe0\x21\xc4\x8b\xb3\x84\xb5\x0f\x86\xc0\x28\xc2\x30\x1b\xfb\x6c\x46\xc2\x2b\x65\x48\x9b\xa4\x5d\x65\xac\xc0\xeb\x14\x93\xe2\x29\x70\x9e\x73\x36\xf6\xe4\x3c\x35\xd7\x7d\xf5\x46\xab\xb8\xe0\x33\x68\xdd\xf3\x5a\x49\x92\x47\x74\xd0\x5a\xa9\x29\x58\x33\x61\x98\xcc\x88\x0e\x4c\xbf\x92\x63\x82\xce\x67\x7d\xa9\xc9\x62\xb7\x25\x59\xec\x8d\x26\xe8\x0a\xb7\xf5\xf4\x52\xd5\x2a\xdb\x97\x8f\xeb\x46\x87\xac\x59\x0d\xb2\x97\xc8\xce\x8f\x95\x3e\x86\xfe\x4d\xdf\x41\xe7\x6f\x31\x53\xa2\x02\x3b\x93\x14\x3d\x86\x47\x14\x44\x7d\xe3\x48\xa5\xc5\x86\x99\xe4\x7d\xca\xa5\x5e\x48\xc7\x10\xa6\x4a\x17\xa3\x49\xdf\x61\x30\x93\xd0\xbb\xc4\x0b\xac\xde\x2a\x74\xfd\xff\xf5\xb9\x5e\xd7\xea\x5f\x1b\x07\xd9\x97\xdf\x6c\xc0\x90\xbc\x8d\xd9\x75\x4e\xbe\x32\x3c\xd6\x0a\x70\x43\xe6\xfe\xf8\xf0\x84\xae\x83\x6e\x72\x42\x34\x02\xff\x75\x79\xb9\x8d\x27\xf2\x0a\x00\x66\x76\x3e\x56\xb7\xce\x75\xb9\x65\x8a\x89\x33\x80\x7c\xaf\x14\x4a\x87\xdd\x13\x3a\x6c\xe2\xa9\x80\xdb\x9b\xca\x2a\x6f\x36\x2c\xb4\xca\xb9\x96\x99\x24\x07\x55\x16\x5b\x1e\xcf\xcc\xee\xfb\xb7\x2f\x77\x6b\x22\xeb\xfd\x9a\xb7\xaa\xde\x44\xbc\x2a\x0d\x6b\xa5\xf2\xf0\xdf\x01\x00\x00\xff\xff\xc6\x94\x4c\x5e\x67\x03\x00\x00") - -func route_twirp_eclier_tokens_deactivateLuaBytes() ([]byte, error) { - return bindataRead( - _route_twirp_eclier_tokens_deactivateLua, - "route_twirp_eclier_tokens_deactivate.lua", - ) -} - -func route_twirp_eclier_tokens_deactivateLua() (*asset, error) { - bytes, err := route_twirp_eclier_tokens_deactivateLuaBytes() - if err != nil { - return nil, err - } - - info := bindataFileInfo{name: "route_twirp_eclier_tokens_deactivate.lua", size: 871, mode: os.FileMode(420), modTime: time.Unix(1516602076, 0)} - a := &asset{bytes: bytes, info: info} - return a, nil -} - -var _route_twirp_eclier_tokens_deleteLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x52\xc1\x6a\xdc\x30\x10\xbd\xeb\x2b\x1e\x3a\xd9\x10\x9b\xed\xa1\x97\x05\x9f\x9a\x1c\x0a\xa5\x81\xb2\x3d\x95\x50\xb4\xf2\xd8\x2b\xe2\x95\xdc\x19\xc9\x49\xfe\xbe\x48\xde\xee\xba\x85\xf4\x60\xb0\xf4\xde\x9b\x79\x33\x7a\x4d\x83\x4f\xa1\x27\x8c\xe4\x89\x4d\xa4\x1e\xc7\x37\xcc\x1c\x62\xb0\xcd\x48\xbe\x89\x2f\x8e\xe7\x9f\x64\x27\x47\x8c\xe5\x63\xbb\x6b\x77\xf7\x8f\xf8\xfa\x78\xc0\xc3\xfd\xe7\x83\x6a\x1a\x48\x48\x6c\x69\x0f\x0e\x29\x52\x5b\xa4\x4a\x89\x65\x37\xc7\x76\x21\x3e\xa2\x83\x8e\xe1\x99\xbc\xec\x7b\x9a\x28\x92\xfe\x83\x9e\x68\x9a\x33\xfa\xf0\x4a\x36\x45\x12\x9c\x29\x9e\x42\x8f\x95\x86\xe0\x21\xc4\x8b\xb3\x84\x55\x8f\x21\x30\x8a\x21\xcc\xc6\x3e\x9b\x91\xf0\x4a\x99\xd2\x26\x69\xd7\xf6\x2b\xf1\xda\xc1\xa4\x78\x0a\x9c\x7b\x9c\x8d\x3d\x39\x4f\xcd\x75\x4e\xbd\xf1\x28\x2e\xf8\x4c\x5a\xe7\xbb\x22\x49\x72\x8b\x0e\x5a\x2b\x35\x05\x6b\x26\x0c\x93\x19\xd1\x81\xe9\x57\x72\x4c\xd0\xf9\xac\x2f\x98\x2c\x76\x0b\xc9\x62\x6f\x32\x41\x57\xb4\xad\xa7\x97\xaa\x56\x79\x6d\xf9\xb8\x4e\x74\xc8\x9e\xd5\x20\x7b\x89\xec\xfc\x58\x69\xd7\xeb\x3b\xe8\xfc\x2d\x66\x4a\x54\x48\x67\x92\xe2\xc6\xf0\x08\xd7\xeb\x7a\xcb\x3f\x86\xfe\xed\xff\x8a\xc2\xd8\x68\xa4\xd2\x62\xc3\x4c\xf2\xbe\xe4\x82\x17\xd1\x31\x84\xa9\xd2\xc6\x46\xb7\x90\xbe\xc3\x60\x26\xa1\x77\x85\x17\x5a\xad\xfe\x5d\xe3\x20\xfb\xf2\x9b\x17\x30\x24\x6f\x63\xde\x3a\x27\x5f\x19\x1e\x6b\x05\xb8\x21\xeb\x7f\x7c\x78\x42\xd7\x41\x37\x39\x1d\x1a\x81\xff\xba\xbc\xdc\xc6\x13\x79\x05\x00\x33\x3b\x1f\xab\x5b\xe5\xba\xdc\x32\xc5\xc4\x99\x40\xbe\x57\x0a\xa5\xc2\xee\x09\x1d\x36\xb1\x54\xc0\xed\x4d\x65\xb5\x37\x1b\x16\x5a\xed\x5c\x61\x26\xc9\x21\x95\xc5\x96\xc7\x33\xb3\xfb\xfe\xed\xcb\xdd\x9a\xc8\x7a\xbf\xe6\xad\xaa\x2f\xd1\xae\x4a\xb1\x5a\xa9\xdc\xf8\x77\x00\x00\x00\xff\xff\x50\xe4\x70\xe6\x5b\x03\x00\x00") - -func route_twirp_eclier_tokens_deleteLuaBytes() ([]byte, error) { - return bindataRead( - _route_twirp_eclier_tokens_deleteLua, - "route_twirp_eclier_tokens_delete.lua", - ) -} - -func route_twirp_eclier_tokens_deleteLua() (*asset, error) { - bytes, err := route_twirp_eclier_tokens_deleteLuaBytes() - if err != nil { - return nil, err - } - - info := bindataFileInfo{name: "route_twirp_eclier_tokens_delete.lua", size: 859, mode: os.FileMode(420), modTime: time.Unix(1516602076, 0)} - a := &asset{bytes: bytes, info: info} - return a, nil -} - -var _route_twirp_eclier_tokens_getLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x52\x41\x6b\xdc\x3c\x10\xbd\xeb\x57\x0c\x3a\xd9\x10\x9b\x7c\x87\xef\x62\xf0\xa9\x09\xa5\x50\x1a\x08\xdb\x53\x13\x8a\x56\x1e\x7b\x45\xbc\x92\x33\x33\x72\x92\x7f\x5f\x24\x6d\x77\xdd\xc2\xf6\xb0\xb0\x9a\xf7\xde\xcc\x9b\xe7\x69\x1a\xf8\x14\x06\x84\x09\x3d\x92\x11\x1c\x60\xff\x01\x0b\x05\x09\xb6\x99\xd0\x37\xf2\xe6\x68\xf9\x89\x76\x76\x48\xb0\xfe\xdf\xde\xb6\xb7\x77\x0f\xf0\xed\x61\x07\xf7\x77\x5f\x76\xaa\x69\x80\x43\x24\x8b\x1d\x50\x88\x82\x6d\x96\x2a\xc5\x96\xdc\x22\xed\x8a\xb4\x87\x1e\xb4\x84\x17\xf4\xdc\x4d\x28\xfa\x37\x74\xc0\x79\x49\xd0\xfd\x3b\xda\x28\xc8\x70\x44\x39\x84\x01\x26\x14\x08\x1e\x18\x69\x75\x16\xa1\x28\x61\x0c\x04\xd9\x0a\x2c\xc6\xbe\x98\x09\xe1\x1d\x13\xa5\x8d\xdc\x96\xc1\x85\x78\x6e\x6f\xa2\x1c\x02\xa5\x01\x47\x63\x0f\xce\x63\x73\xde\x50\x6f\xdc\xb1\x0b\x3e\x91\xca\x66\x67\x24\x72\x1a\xd1\x83\xd6\x4a\xcd\xc1\x9a\x19\xc6\xd9\x4c\xd0\x03\xe1\x6b\x74\x84\xa0\xd3\x5b\x9f\x30\x5e\xed\x16\xe2\xd5\x5e\x64\x0c\x7d\xd6\xb6\x1e\xdf\xaa\x5a\xa5\xc0\xd2\xb3\x6c\xf4\x19\x65\x97\x6c\x3f\xe2\x6b\x44\x16\x35\x72\xc7\x42\xce\x4f\x55\x49\x4c\xdf\x80\x4e\xbf\xd5\xcc\x11\xb3\xe2\x88\x9c\xad\x19\x9a\x4a\x34\xba\xde\xaa\xdc\xf0\x6f\x89\x1b\x74\xad\xfe\x5e\x72\xe4\x2e\xff\x4d\xf6\xc6\xe8\xad\xa4\x4c\x28\xfa\xca\xd0\x54\x2b\x00\x37\x26\xed\x8f\xff\x9e\xa1\xef\x41\x37\xe9\xc3\x69\x08\xf4\x47\xf1\x54\x95\x03\x7a\x05\x00\xb0\x90\xf3\x52\x5d\x3a\xd7\xb9\x4a\x28\x91\x12\x01\xfd\xa0\x14\xe4\x0e\xb7\xcf\xd0\xc3\xe6\x5c\x14\xc0\x25\x71\x2e\xf6\x16\x43\x8c\xc5\xce\x19\x26\xe4\x74\x3f\xbc\xda\x1c\xad\x59\xdc\xf7\xc7\xaf\x37\x25\x94\xba\x2b\xd7\x50\xd5\xe9\xe4\xaa\xdc\x29\x4b\x8b\x2d\xed\x86\xee\x49\x9e\x44\x43\xdb\x82\x84\x53\x78\xa9\x61\xeb\x86\x6c\xf5\xc4\xdb\x87\xe1\xe3\x1a\x33\x61\x5b\x2e\xdb\xb0\x20\x5f\x63\x17\x74\xcb\x37\x56\xdc\x8a\xd7\xf8\x05\xad\x6b\x95\x92\xfa\x15\x00\x00\xff\xff\x6e\x13\x6a\x5d\xa4\x03\x00\x00") - -func route_twirp_eclier_tokens_getLuaBytes() ([]byte, error) { - return bindataRead( - _route_twirp_eclier_tokens_getLua, - "route_twirp_eclier_tokens_get.lua", - ) -} - -func route_twirp_eclier_tokens_getLua() (*asset, error) { - bytes, err := route_twirp_eclier_tokens_getLuaBytes() - if err != nil { - return nil, err - } - - info := bindataFileInfo{name: "route_twirp_eclier_tokens_get.lua", size: 932, mode: os.FileMode(420), modTime: time.Unix(1516602076, 0)} - a := &asset{bytes: bytes, info: info} - return a, nil -} - -var _route_twirp_eclier_tokens_get_allLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x5c\x52\x4d\x6f\xdd\x20\x10\xbc\xf3\x2b\x46\x9c\x6c\xa9\xb6\x5e\x0f\xbd\x3c\xc9\xa7\x26\x87\x4a\x55\x22\x55\xe9\xa9\x89\x22\xc2\x5b\xdb\x28\x0e\xb8\xcb\xe2\xa4\xff\xbe\x02\xde\x57\x7b\x83\x9d\xd9\xdd\x19\x86\xae\xc3\xd7\x70\x20\x4c\xe4\x89\x8d\xd0\x01\x2f\x7f\xb0\x72\x90\x60\xbb\x89\x7c\x27\xef\x8e\xd7\x67\xb2\x8b\x23\xc6\xf6\xa5\xdf\xf5\xbb\x9b\x7b\xdc\xdd\x3f\xe0\xf6\xe6\xdb\x83\xea\x3a\xc4\x90\xd8\xd2\x1e\x1c\x92\x50\x5f\x5a\x95\x8a\x96\xdd\x2a\xfd\x46\xfc\x82\x01\x5a\xc2\x2b\xf9\xb8\x9f\x48\x9e\xcd\xb2\xe8\x13\x3c\xd3\xb2\x66\xf8\xf6\x83\x6c\x12\x8a\x78\x23\x99\xc3\x01\x47\x1e\x82\x47\x24\xde\x9c\x25\xd4\x09\x18\x03\xa3\x48\xc2\x6a\xec\xab\x99\x08\x1f\x94\x29\x7d\x8a\x7d\x15\x50\x89\xe7\x15\x26\xc9\x1c\x38\x2f\x79\x33\x76\x76\x9e\xba\xb3\x53\x7d\xa5\x32\xba\xe0\x33\xa9\x3a\x3c\x23\x29\xe6\x15\x03\xb4\x56\x6a\x09\xd6\x2c\x18\x17\x33\x61\x00\xd3\xef\xe4\x98\xa0\xf3\x5d\x1f\xb1\xb8\xd9\x6b\x28\x6e\xf6\xd2\x16\x31\x94\xde\xde\xd3\x7b\xd3\xaa\xfc\x70\xf9\x5a\x1d\xdd\xb9\x45\xfd\xbf\x72\x8c\xfb\x72\xcc\xe4\x31\x79\x2b\x59\x21\x27\xdf\x18\x9e\x5a\x05\xb8\x11\x86\xa7\x5f\x9f\x9f\x30\x0c\xd0\x5d\x7e\x4a\x8d\xc0\xff\x14\x8f\x55\x99\xc9\x2b\x00\x58\xd9\x79\x69\x2e\x93\xdb\x52\x65\x92\xc4\x99\x40\xfe\xa0\x14\xca\x84\xdd\x13\x06\x5c\x85\xa8\x80\x8b\xff\x58\xe5\xad\x86\x23\x55\x39\x67\x98\x29\xe6\x44\xe3\x66\x8b\x51\xb3\xba\x9f\x3f\xbe\x7f\xaa\xe9\xb5\xfb\x9a\x4d\xd3\x9e\x3e\x42\x53\xa6\x95\xf6\x2a\xed\xf4\x51\x1e\xe5\x51\x34\xfa\x1e\x12\xa2\xb0\xf3\x53\x93\x07\x1f\xb3\x6d\x5b\x95\x95\xfe\x0d\x00\x00\xff\xff\xe9\x8f\x90\xdc\xba\x02\x00\x00") - -func route_twirp_eclier_tokens_get_allLuaBytes() ([]byte, error) { - return bindataRead( - _route_twirp_eclier_tokens_get_allLua, - "route_twirp_eclier_tokens_get_all.lua", - ) -} - -func route_twirp_eclier_tokens_get_allLua() (*asset, error) { - bytes, err := route_twirp_eclier_tokens_get_allLuaBytes() - if err != nil { - return nil, err - } - - info := bindataFileInfo{name: "route_twirp_eclier_tokens_get_all.lua", size: 698, mode: os.FileMode(420), modTime: time.Unix(1516602076, 0)} - a := &asset{bytes: bytes, info: info} - return a, nil -} - -var _route_twirp_eclier_tokens_putLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x92\x41\x6b\xdc\x3e\x10\xc5\xef\xfa\x14\x0f\x9d\x6c\x88\xcd\xfe\x0f\xff\x8b\xc1\xa7\x26\x87\x42\x69\xa0\x6c\x4f\x4d\x28\x5a\x79\xec\x15\xf1\x4a\xae\x46\x72\x92\x6f\x5f\x24\xb9\xbb\x9b\xc2\xf6\x66\xeb\xfd\xde\xcc\xd3\x68\x9a\x06\x9f\xdc\x40\x98\xc8\x92\x57\x81\x06\x1c\xde\xb1\x78\x17\x9c\x6e\x26\xb2\x4d\x78\x35\x7e\xf9\x49\x7a\x36\xe4\xb1\xfe\xdf\xee\xda\xdd\xfd\x23\xbe\x3e\xee\xf1\x70\xff\x79\x2f\x9a\x06\xec\xa2\xd7\xd4\xc1\xbb\x18\xa8\xcd\x56\x21\x58\x7b\xb3\x84\x76\x25\x7f\x40\x0f\x19\xdc\x0b\x59\xee\x96\x18\xe4\x1f\xe9\x48\xf3\x92\xa4\x87\x37\xd2\x31\x10\xe3\x44\xe1\xe8\x06\x2c\x31\xc0\x59\x30\xf9\xd5\x68\x42\x71\x62\x74\x1e\x39\x0a\x16\xa5\x5f\xd4\x44\x78\xa3\x84\xb4\x91\xdb\xd2\xb8\x80\xe7\xf2\x2a\x86\xa3\xf3\xa9\xc1\x49\xe9\xa3\xb1\xd4\x9c\x6f\x28\xaf\xd2\xb1\x71\x36\x41\xe5\x66\x67\x25\x72\x6a\xd1\x43\x4a\x21\x66\xa7\xd5\x8c\x71\x56\x13\x7a\x78\xfa\x15\x8d\x27\xc8\xf4\x2f\x37\x8d\x57\x7d\x2d\xf1\xaa\x2f\x36\x46\x9f\xbd\xad\xa5\xd7\xaa\x16\x69\x60\xe9\xb7\xdc\x68\x9f\x32\x8b\x91\x3b\x0e\xde\xd8\x89\x2b\xc9\xda\x2d\xc4\xf2\x0e\x72\x55\x73\xa4\x4c\x9d\x88\x73\x1c\xe5\x27\x6c\x7a\x9d\x4c\x07\xe7\xe6\x4a\x2a\x1d\xcc\x4a\xf2\x0e\xa3\x9a\x99\x6e\x1a\x37\xac\xbe\x74\xab\xa4\x19\x52\xa3\xdb\xcd\xcc\xf0\x91\x3f\xb8\xe1\xfd\xdf\x8e\x4c\xd4\xe2\xef\x31\x8e\xdc\xe5\xcf\x34\x80\x31\x5a\x1d\xd2\xd4\x7d\xb4\x95\xf2\x53\x2d\x00\x33\x26\xf7\x8f\xff\x9e\xd1\xf7\x90\x4d\x5a\x0d\x09\xe7\x3f\x1c\x6e\xa7\xe1\x48\x56\x00\xc0\xe2\x8d\x0d\xd5\xa5\x72\x9d\x4f\x3d\x85\xe8\x13\x40\x76\x10\x02\xb9\xc2\xee\x19\x3d\xae\x16\x52\x00\x97\x37\xe5\x12\x6f\x51\x9e\xa9\xc4\x39\xcb\x9e\x38\x6d\x28\xaf\x3a\x3f\x9e\x5a\xcc\xf7\x6f\x5f\xee\xca\x46\xd6\x5d\xd9\xb7\xaa\x4e\x4b\x5d\xe5\x4a\xd9\x5a\x62\x49\x33\x74\x4f\xe1\x29\x48\xb4\x2d\x82\xdb\x06\x98\x0a\xb6\x66\xc8\x51\x37\x2e\x0d\xec\x16\x99\xb4\x6b\xb6\xbc\xfd\x2d\xba\xa8\xd7\x7c\x79\xf2\x5b\x7c\x51\xeb\x5a\xa4\x49\xfd\x0e\x00\x00\xff\xff\x15\xcb\xb0\x10\x06\x04\x00\x00") - -func route_twirp_eclier_tokens_putLuaBytes() ([]byte, error) { - return bindataRead( - _route_twirp_eclier_tokens_putLua, - "route_twirp_eclier_tokens_put.lua", - ) -} - -func route_twirp_eclier_tokens_putLua() (*asset, error) { - bytes, err := route_twirp_eclier_tokens_putLuaBytes() - if err != nil { - return nil, err - } - - info := bindataFileInfo{name: "route_twirp_eclier_tokens_put.lua", size: 1030, mode: os.FileMode(420), modTime: time.Unix(1516602076, 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){ - "assetfs.go": assetfsGo, - "bindata_assetfs.go": bindata_assetfsGo, - "route_twirp_eclier_backends_kill.lua": route_twirp_eclier_backends_killLua, - "route_twirp_eclier_backends_list.lua": route_twirp_eclier_backends_listLua, - "route_twirp_eclier_routes_delete.lua": route_twirp_eclier_routes_deleteLua, - "route_twirp_eclier_routes_get.lua": route_twirp_eclier_routes_getLua, - "route_twirp_eclier_routes_get_all.lua": route_twirp_eclier_routes_get_allLua, - "route_twirp_eclier_routes_put.lua": route_twirp_eclier_routes_putLua, - "route_twirp_eclier_tokens_deactivate.lua": route_twirp_eclier_tokens_deactivateLua, - "route_twirp_eclier_tokens_delete.lua": route_twirp_eclier_tokens_deleteLua, - "route_twirp_eclier_tokens_get.lua": route_twirp_eclier_tokens_getLua, - "route_twirp_eclier_tokens_get_all.lua": route_twirp_eclier_tokens_get_allLua, - "route_twirp_eclier_tokens_put.lua": route_twirp_eclier_tokens_putLua, -} - -// 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{ - "assetfs.go": &bintree{assetfsGo, map[string]*bintree{}}, - "bindata_assetfs.go": &bintree{bindata_assetfsGo, map[string]*bintree{}}, - "route_twirp_eclier_backends_kill.lua": &bintree{route_twirp_eclier_backends_killLua, map[string]*bintree{}}, - "route_twirp_eclier_backends_list.lua": &bintree{route_twirp_eclier_backends_listLua, map[string]*bintree{}}, - "route_twirp_eclier_routes_delete.lua": &bintree{route_twirp_eclier_routes_deleteLua, map[string]*bintree{}}, - "route_twirp_eclier_routes_get.lua": &bintree{route_twirp_eclier_routes_getLua, map[string]*bintree{}}, - "route_twirp_eclier_routes_get_all.lua": &bintree{route_twirp_eclier_routes_get_allLua, map[string]*bintree{}}, - "route_twirp_eclier_routes_put.lua": &bintree{route_twirp_eclier_routes_putLua, map[string]*bintree{}}, - "route_twirp_eclier_tokens_deactivate.lua": &bintree{route_twirp_eclier_tokens_deactivateLua, map[string]*bintree{}}, - "route_twirp_eclier_tokens_delete.lua": &bintree{route_twirp_eclier_tokens_deleteLua, map[string]*bintree{}}, - "route_twirp_eclier_tokens_get.lua": &bintree{route_twirp_eclier_tokens_getLua, map[string]*bintree{}}, - "route_twirp_eclier_tokens_get_all.lua": &bintree{route_twirp_eclier_tokens_get_allLua, map[string]*bintree{}}, - "route_twirp_eclier_tokens_put.lua": &bintree{route_twirp_eclier_tokens_putLua, 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, 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 -} - -// 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, filepath.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, "/")...)...) -} - - -func assetFS() *assetfs.AssetFS { - assetInfo := func(path string) (os.FileInfo, error) { - return os.Stat(path) - } - for k := range _bintree.Children { - return &assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir, AssetInfo: assetInfo, Prefix: k} - } - panic("unreachable") -} diff --git a/proto/eclier/route_twirp_eclier_tokens_deactivate.lua b/proto/eclier/route_twirp_eclier_tokens_deactivate.lua index 7cdde7e..7661224 100644 --- a/proto/eclier/route_twirp_eclier_tokens_deactivate.lua +++ b/proto/eclier/route_twirp_eclier_tokens_deactivate.lua @@ -13,10 +13,10 @@ local svc = require "svc" local fs = flag.new() -- flags for Token -fs:string("body", "", "value for message arg body") -fs:strings("scopes", "value for message arg scopes") fs:bool("active", false, "value for message arg active") fs:string("id", "", "value for message arg id") +fs:string("body", "", "value for message arg body") +fs:strings("scopes", "value for message arg scopes") script.usage = fs:usage() diff --git a/proto/eclier/route_twirp_eclier_tokens_get.lua b/proto/eclier/route_twirp_eclier_tokens_get.lua index b8e6642..cd3d3d4 100644 --- a/proto/eclier/route_twirp_eclier_tokens_get.lua +++ b/proto/eclier/route_twirp_eclier_tokens_get.lua @@ -13,8 +13,8 @@ local svc = require "svc" local fs = flag.new() -- flags for GetTokenRequest -fs:string("token", "", "value for message arg token") fs:string("id", "", "value for message arg id") +fs:string("token", "", "value for message arg token") script.usage = fs:usage() diff --git a/proto/eclier/route_twirp_eclier_tokens_put.lua b/proto/eclier/route_twirp_eclier_tokens_put.lua index 1ecf15d..8a456b4 100644 --- a/proto/eclier/route_twirp_eclier_tokens_put.lua +++ b/proto/eclier/route_twirp_eclier_tokens_put.lua @@ -13,10 +13,10 @@ local svc = require "svc" local fs = flag.new() -- flags for Token -fs:strings("scopes", "value for message arg scopes") -fs:bool("active", false, "value for message arg active") fs:string("id", "", "value for message arg id") fs:string("body", "", "value for message arg body") +fs:strings("scopes", "value for message arg scopes") +fs:bool("active", false, "value for message arg active") script.usage = fs:usage() diff --git a/vendor/github.com/elazarl/go-bindata-assetfs/LICENSE b/vendor/github.com/elazarl/go-bindata-assetfs/LICENSE deleted file mode 100644 index 5782c72..0000000 --- a/vendor/github.com/elazarl/go-bindata-assetfs/LICENSE +++ /dev/null @@ -1,23 +0,0 @@ -Copyright (c) 2014, Elazar Leibovich -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/vendor/github.com/elazarl/go-bindata-assetfs/README.md b/vendor/github.com/elazarl/go-bindata-assetfs/README.md deleted file mode 100644 index 27ee48f..0000000 --- a/vendor/github.com/elazarl/go-bindata-assetfs/README.md +++ /dev/null @@ -1,46 +0,0 @@ -# go-bindata-assetfs - -Serve embedded files from [jteeuwen/go-bindata](https://github.com/jteeuwen/go-bindata) with `net/http`. - -[GoDoc](http://godoc.org/github.com/elazarl/go-bindata-assetfs) - -### Installation - -Install with - - $ go get github.com/jteeuwen/go-bindata/... - $ go get github.com/elazarl/go-bindata-assetfs/... - -### Creating embedded data - -Usage is identical to [jteeuwen/go-bindata](https://github.com/jteeuwen/go-bindata) usage, -instead of running `go-bindata` run `go-bindata-assetfs`. - -The tool will create a `bindata_assetfs.go` file, which contains the embedded data. - -A typical use case is - - $ go-bindata-assetfs data/... - -### Using assetFS in your code - -The generated file provides an `assetFS()` function that returns a `http.Filesystem` -wrapping the embedded files. What you usually want to do is: - - http.Handle("/", http.FileServer(assetFS())) - -This would run an HTTP server serving the embedded files. - -## Without running binary tool - -You can always just run the `go-bindata` tool, and then - -use - - import "github.com/elazarl/go-bindata-assetfs" - ... - http.Handle("/", - http.FileServer( - &assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir, AssetInfo: AssetInfo, Prefix: "data"})) - -to serve files embedded from the `data` directory. diff --git a/vendor/github.com/elazarl/go-bindata-assetfs/assetfs.go b/vendor/github.com/elazarl/go-bindata-assetfs/assetfs.go deleted file mode 100644 index 04f6d7a..0000000 --- a/vendor/github.com/elazarl/go-bindata-assetfs/assetfs.go +++ /dev/null @@ -1,167 +0,0 @@ -package assetfs - -import ( - "bytes" - "errors" - "io" - "io/ioutil" - "net/http" - "os" - "path" - "path/filepath" - "strings" - "time" -) - -var ( - defaultFileTimestamp = time.Now() -) - -// FakeFile implements os.FileInfo interface for a given path and size -type FakeFile struct { - // Path is the path of this file - Path string - // Dir marks of the path is a directory - Dir bool - // Len is the length of the fake file, zero if it is a directory - Len int64 - // Timestamp is the ModTime of this file - Timestamp time.Time -} - -func (f *FakeFile) Name() string { - _, name := filepath.Split(f.Path) - return name -} - -func (f *FakeFile) Mode() os.FileMode { - mode := os.FileMode(0644) - if f.Dir { - return mode | os.ModeDir - } - return mode -} - -func (f *FakeFile) ModTime() time.Time { - return f.Timestamp -} - -func (f *FakeFile) Size() int64 { - return f.Len -} - -func (f *FakeFile) IsDir() bool { - return f.Mode().IsDir() -} - -func (f *FakeFile) Sys() interface{} { - return nil -} - -// AssetFile implements http.File interface for a no-directory file with content -type AssetFile struct { - *bytes.Reader - io.Closer - FakeFile -} - -func NewAssetFile(name string, content []byte, timestamp time.Time) *AssetFile { - if timestamp.IsZero() { - timestamp = defaultFileTimestamp - } - return &AssetFile{ - bytes.NewReader(content), - ioutil.NopCloser(nil), - FakeFile{name, false, int64(len(content)), timestamp}} -} - -func (f *AssetFile) Readdir(count int) ([]os.FileInfo, error) { - return nil, errors.New("not a directory") -} - -func (f *AssetFile) Size() int64 { - return f.FakeFile.Size() -} - -func (f *AssetFile) Stat() (os.FileInfo, error) { - return f, nil -} - -// AssetDirectory implements http.File interface for a directory -type AssetDirectory struct { - AssetFile - ChildrenRead int - Children []os.FileInfo -} - -func NewAssetDirectory(name string, children []string, fs *AssetFS) *AssetDirectory { - fileinfos := make([]os.FileInfo, 0, len(children)) - for _, child := range children { - _, err := fs.AssetDir(filepath.Join(name, child)) - fileinfos = append(fileinfos, &FakeFile{child, err == nil, 0, time.Time{}}) - } - return &AssetDirectory{ - AssetFile{ - bytes.NewReader(nil), - ioutil.NopCloser(nil), - FakeFile{name, true, 0, time.Time{}}, - }, - 0, - fileinfos} -} - -func (f *AssetDirectory) Readdir(count int) ([]os.FileInfo, error) { - if count <= 0 { - return f.Children, nil - } - if f.ChildrenRead+count > len(f.Children) { - count = len(f.Children) - f.ChildrenRead - } - rv := f.Children[f.ChildrenRead : f.ChildrenRead+count] - f.ChildrenRead += count - return rv, nil -} - -func (f *AssetDirectory) Stat() (os.FileInfo, error) { - return f, nil -} - -// AssetFS implements http.FileSystem, allowing -// embedded files to be served from net/http package. -type AssetFS struct { - // Asset should return content of file in path if exists - Asset func(path string) ([]byte, error) - // AssetDir should return list of files in the path - AssetDir func(path string) ([]string, error) - // AssetInfo should return the info of file in path if exists - AssetInfo func(path string) (os.FileInfo, error) - // Prefix would be prepended to http requests - Prefix string -} - -func (fs *AssetFS) Open(name string) (http.File, error) { - name = path.Join(fs.Prefix, name) - if len(name) > 0 && name[0] == '/' { - name = name[1:] - } - if b, err := fs.Asset(name); err == nil { - timestamp := defaultFileTimestamp - if fs.AssetInfo != nil { - if info, err := fs.AssetInfo(name); err == nil { - timestamp = info.ModTime() - } - } - return NewAssetFile(name, b, timestamp), nil - } - if children, err := fs.AssetDir(name); err == nil { - return NewAssetDirectory(name, children, fs), nil - } else { - // If the error is not found, return an error that will - // result in a 404 error. Otherwise the server returns - // a 500 error for files not found. - if strings.Contains(err.Error(), "not found") { - return nil, os.ErrNotExist - } - return nil, err - } -} diff --git a/vendor/github.com/elazarl/go-bindata-assetfs/doc.go b/vendor/github.com/elazarl/go-bindata-assetfs/doc.go deleted file mode 100644 index a664249..0000000 --- a/vendor/github.com/elazarl/go-bindata-assetfs/doc.go +++ /dev/null @@ -1,13 +0,0 @@ -// assetfs allows packages to serve static content embedded -// with the go-bindata tool with the standard net/http package. -// -// See https://github.com/jteeuwen/go-bindata for more information -// about embedding binary data with go-bindata. -// -// Usage example, after running -// $ go-bindata data/... -// use: -// http.Handle("/", -// http.FileServer( -// &assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir, Prefix: "data"})) -package assetfs diff --git a/vendor/github.com/go-serve/bindatafs/.gitignore b/vendor/github.com/go-serve/bindatafs/.gitignore new file mode 100644 index 0000000..68da9a7 --- /dev/null +++ b/vendor/github.com/go-serve/bindatafs/.gitignore @@ -0,0 +1,2 @@ +# Ignore dependency flags generated by make +*.dep diff --git a/vendor/github.com/go-serve/bindatafs/.travis.yml b/vendor/github.com/go-serve/bindatafs/.travis.yml new file mode 100644 index 0000000..baadbb7 --- /dev/null +++ b/vendor/github.com/go-serve/bindatafs/.travis.yml @@ -0,0 +1,21 @@ +language: go + +sudo: false + +before_script: + - go get github.com/mattn/goveralls + +script: + - make test + - $HOME/gopath/bin/goveralls -service=travis-ci -ignore='examples/*' + +os: + - linux + - osx + +go: + - 1.4 + - 1.5 + - 1.6 + - 1.7 + - tip diff --git a/vendor/github.com/go-serve/bindatafs/CONTRIBUTING.md b/vendor/github.com/go-serve/bindatafs/CONTRIBUTING.md new file mode 100644 index 0000000..d0e2d90 --- /dev/null +++ b/vendor/github.com/go-serve/bindatafs/CONTRIBUTING.md @@ -0,0 +1,77 @@ +## Contribution guidelines. + +So you wish to contribute to this project? Fantastic! +Here are a few guidelines to help you do this in a +streamlined fashion. + + +## Bug reports + +When supplying a bug report, please consider the following guidelines. +These serve to make it easier for us to address the issue and find a solution. +Most of these are pretty self-evident, but sometimes it is still necessary +to reiterate them. + +* Be clear in the way you express the problem. Use simple language and + just enough of it to clearly define the issue. Not everyone is a native + English speaker. And while most can handle themselves pretty well, + it helps to stay away from more esoteric vocabulary. + + Be patient with non-native English speakers. If their bug reports + or comments are hard to understand, just ask for clarification. + Do not start guessing at their meaning, as this may just lead to + more confusion and misunderstandings. +* Clearly define any information which is relevant to the problem. + This includes library versions, operating system and any other + external dependencies which may be needed. +* Where applicable, provide a step-by-step listing of the way to + reproduce the problem. Make sure this is the simplest possible + way to do so. Omit any and all unneccesary steps, because they may + just complicate our understanding of the real problem. + If need be, create a whole new code project on your local machine, + which specifically tries to create the problem you are running into; + nothing more, nothing less. + + Include this program in the bug report. It often suffices to paste + the code in a [Gist](https://gist.github.com) or on the + [Go playground](http://play.golang.org). +* If possible, provide us with a listing of the steps you have already + undertaken to solve the problem. This can save us a great deal of + wasted time, trying out solutions you have already covered. + + +## Pull requests + +Bug reports are great. Supplying fixes to bugs is even better. +When submitting a pull request, the following guidelines are +good to keep in mind: + +* `go fmt`: **Always** run your code through `go fmt`, before + committing it. Code has to be readable by many different + people. And the only way this will be as painless as possible, + is if we all stick to the same code style. + + Some of our projects may have automated build-servers hooked up + to commit hooks. These will vet any submitted code and determine + if it meets a set of properties. One of which is code formatting. + These servers will outright deny a submission which has not been + run through `go fmt`, even if the code itself is correct. + + We try to maintain a zero-tolerance policy on this matter, + because consistently formatted code makes life a great deal + easier for everyone involved. +* Commit log messages: When committing changes, do so often and + clearly -- Even if you have changed only 1 character in a code + comment. This means that commit log messages should clearly state + exactly what the change does and why. If it fixes a known issue, + then mention the issue number in the commit log. E.g.: + + > Fixes return value for `foo/boo.Baz()` to be consistent with + > the rest of the API. This addresses issue #32 + + Do not pile a lot of unrelated changes into a single commit. + Pick and choose only those changes for a single commit, which are + directly related. We would much rather see a hundred commits + saying nothing but `"Runs go fmt"` in between any real fixes + than have these style changes embedded in those real fixes. + It creates a lot of noise when trying to review code. diff --git a/vendor/github.com/go-serve/bindatafs/LICENSE.md b/vendor/github.com/go-serve/bindatafs/LICENSE.md new file mode 100644 index 0000000..0346264 --- /dev/null +++ b/vendor/github.com/go-serve/bindatafs/LICENSE.md @@ -0,0 +1,26 @@ +The MIT License (MIT) +===================== + +Copyright © 2016 Yeung Shu Hung ([Koala Yeung](https://github,com/yookoala), +koalay at gmail.com) + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the “Software”), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. diff --git a/vendor/github.com/go-serve/bindatafs/Makefile b/vendor/github.com/go-serve/bindatafs/Makefile new file mode 100644 index 0000000..ad8df51 --- /dev/null +++ b/vendor/github.com/go-serve/bindatafs/Makefile @@ -0,0 +1,30 @@ +# +# This file is only used to standardize testing +# environment. It doesn't build any binary. Nor +# does it needed in the installation process. +# +# For installation details, please read README.md +# + +test: timestamp test.dep + @echo + @echo "== Run tests" + go test -v -cover ./... + +test.dep: + @echo + @echo "== Install test dependencies" + go get -u golang.org/x/tools/godoc/vfs + touch test.dep + +generate: timestamp + @echo + @echo "== Generate assets.go" + go generate ./examples/... + +timestamp: + @echo + @echo "== Ensure timestamp of local assets" + TZ=Asia/Hong_Kong find ./examples/. -type f -exec touch -t 201611210125.30 "{}" \; + +.PHONY: test generate timestamp diff --git a/vendor/github.com/go-serve/bindatafs/README.md b/vendor/github.com/go-serve/bindatafs/README.md new file mode 100644 index 0000000..adb5c95 --- /dev/null +++ b/vendor/github.com/go-serve/bindatafs/README.md @@ -0,0 +1,73 @@ +# bindatafs [![Documentations][godoc-badge]][godoc] [![Travis CI results][travis-badge]][travis] [![Coverage Status][coveralls-badge]][coveralls] + +[travis]: https://travis-ci.org/go-serve/bindatafs +[travis-badge]: https://api.travis-ci.org/go-serve/bindatafs.svg?branch=master +[godoc]: https://godoc.org/github.com/go-serve/bindatafs +[godoc-badge]: https://img.shields.io/badge/godoc-reference-5272B4.svg +[coveralls]: https://coveralls.io/github/go-restit/lzjson?branch=master +[coveralls-badge]: https://coveralls.io/repos/github/go-restit/lzjson/badge.svg?branch=master + +[repository]: https://github.com/go-serve/bindatafs +[go-bindata]: https://github.com/jteeuwen/go-bindata +[http.FileServer]: https://golang.org/pkg/net/http/#FileServer + + +**bindatafs** helps to serve [go-bindata][go-bindata]-generated assets with +[http.FileServer][http.FileServer]. + + +## Install + +``` +go get -u github.com/go-serve/bindatafs +``` + + +## Example + +```go + +package main + +import ( + "net/http" + + "github.com/go-serve/bindatafs" + "golang.org/x/tools/godoc/vfs/httpfs" +) + +// FileSystem returns a Filesystem implementation for the given assets +func FileSystem() bindatafs.FileSystem { + // assume you have Asset, AssetDir, AssetInfo are generated by go-bindata + return bindatafs.New("assets://", Asset, AssetDir, AssetInfo) +} + +func main() { + handler := http.FileServer(httpfs.New(FileSystem())) + http.ListenAndServe(":8080", handler) +} + +``` + +For more examples, please read the [Documentations][godoc]. + + +## Author +This software is written by [Koala Yeung](https://github.com/yookoala) (koalay at gmail.com). + + +## Licence +This software is licenced under the MIT License. You may obtain a copy of the +licence in the [LICENSE.md][LICENSE.md] file in this repository. + +[LICENSE.md]: LICENSE.md + + +## Contributing and Bug Report +Pull requests are welcomed. Please read the [CONTRIBUTING.md][CONTRIBUTING.md] +for details. + +Bug reports are always welcome to our [issue tracker][issues]. + +[CONTRIBUTING.md]: CONTRIBUTING.md +[issues]: https://github.com/go-serve/goserve/issues diff --git a/vendor/github.com/go-serve/bindatafs/bindatafs.go b/vendor/github.com/go-serve/bindatafs/bindatafs.go new file mode 100644 index 0000000..44ebfe6 --- /dev/null +++ b/vendor/github.com/go-serve/bindatafs/bindatafs.go @@ -0,0 +1,170 @@ +// Package bindatafs provides wrapper vfs.FileSystem implementation to bridge +// go-bindata-generated assets to be served by http.FileServer. +package bindatafs + +import ( + "bytes" + "os" + "path" + "syscall" + + "golang.org/x/tools/godoc/vfs" +) + +// FileSystem is a copy of vfs interface FileSystem +type FileSystem interface { + vfs.Opener + Lstat(path string) (os.FileInfo, error) + Stat(path string) (os.FileInfo, error) + ReadDir(path string) ([]os.FileInfo, error) + String() string +} + +// New returns a FileSystem implementation of the given go-bindata generated assets +func New(name string, Asset AssetFunc, AssetDir AssetDirFunc, AssetInfo AssetInfoFunc) FileSystem { + return &binAssets{ + name: name, + Asset: Asset, + AssetDir: AssetDir, + AssetInfo: AssetInfo, + } +} + +// AssetFunc is the Assets() function generated by go-bindata +type AssetFunc func(name string) ([]byte, error) + +// AssetDirFunc is the AssetDir() function generated by go-bindata +type AssetDirFunc func(name string) ([]string, error) + +// AssetInfoFunc is the AssetInfo() function generated by go-bindata +type AssetInfoFunc func(name string) (os.FileInfo, error) + +type binAssets struct { + name string + Asset AssetFunc + AssetDir AssetDirFunc + AssetInfo AssetInfoFunc +} + +func (binAssets *binAssets) Open(pathname string) (file vfs.ReadSeekCloser, err error) { + + pathname = binAssets.pathname(pathname) + + // if is dir, return a dummy assetDir + if _, err = binAssets.AssetDir(pathname); err == nil { + err = &os.PathError{ + Op: "Open", + Path: pathname, + Err: syscall.ENOENT, + } + return + } + + // if is a file, return buffered data + var data []byte + if data, err = binAssets.Asset(pathname); err == nil { + file = &FileReader{Reader: bytes.NewReader(data)} + return + } + + err = &os.PathError{ + Op: "Open", + Path: pathname, + Err: syscall.ENOENT, + } + return +} + +func (binAssets *binAssets) Lstat(pathname string) (fi os.FileInfo, err error) { + return binAssets.Stat(pathname) +} + +func (binAssets binAssets) pathname(pathname string) string { + if len(pathname) > 0 && pathname[0] == '/' { + return pathname[1:] + } + return pathname +} + +func (binAssets *binAssets) Stat(pathname string) (fi os.FileInfo, err error) { + + pathname = binAssets.pathname(pathname) + + // if is dir, return a dummy assetDir + if _, err = binAssets.AssetDir(pathname); err == nil { + fi = &dirInfo{name: path.Base(pathname)} + return + } + + // if is a file, return buffered data + if fi, err = binAssets.AssetInfo(pathname); err == nil { + fi = &fileInfo{name: path.Base(pathname), FileInfo: fi} + return + } + + // return standard not found signal + err = &os.PathError{ + Op: "Stat", + Path: pathname, + Err: syscall.ENOENT, + } + return +} + +func (binAssets *binAssets) ReadDir(pathname string) (fiList []os.FileInfo, err error) { + + pathname = binAssets.pathname(pathname) + + // if is a file, return error + if _, err = binAssets.AssetInfo(pathname); err == nil { + err = &os.PathError{ + Op: "ReadDir", + Path: pathname, + Err: syscall.ENOENT, + } + return + } + + // if is dir, return a dummy assetDir + var names []string + if names, err = binAssets.AssetDir(pathname); err != nil { + err = &os.PathError{ + Op: "ReadDir", + Path: pathname, + Err: syscall.ENOENT, + } + return + } + + // read all names entity to file info + fiList = make([]os.FileInfo, len(names)) + for i, name := range names { + fiList[i], err = binAssets.Stat(path.Join(pathname, name)) + } + + return +} + +func (binAssets *binAssets) String() string { + return binAssets.name +} + +// FileReader implements vfs.ReadSeekCloser +type FileReader struct { + *bytes.Reader +} + +// Read implements io.Reader +func (r *FileReader) Read(p []byte) (int, error) { + return r.Reader.Read(p) +} + +// Seek implements io.Seeker +func (r *FileReader) Seek(offset int64, whence int) (int64, error) { + return r.Reader.Seek(offset, whence) +} + +// Close implements io.Closer +func (r *FileReader) Close() error { + return nil +} diff --git a/vendor/github.com/go-serve/bindatafs/bindatafs_test.go b/vendor/github.com/go-serve/bindatafs/bindatafs_test.go new file mode 100644 index 0000000..3cf114a --- /dev/null +++ b/vendor/github.com/go-serve/bindatafs/bindatafs_test.go @@ -0,0 +1,353 @@ +package bindatafs_test + +import ( + "fmt" + "io/ioutil" + "os" + "testing" + + "golang.org/x/tools/godoc/vfs" + + "github.com/go-serve/bindatafs" + "github.com/go-serve/bindatafs/examples/example1" +) + +const ASSETS_PATH = "./examples/example1/assets/" + +func TestFileSystem(t *testing.T) { + var vfsFS vfs.FileSystem = bindatafs.New("assets://", nil, nil, nil) + _ = vfsFS // just to prove bindatafs.FileSystem implements http.FileSystem +} + +func msgNotFound(op, pathname string) string { + return fmt.Sprintf("%s %s: no such file or directory", op, pathname) +} + +func fileInfoEqual(src, target os.FileInfo) (err error) { + if want, have := src.Name(), target.Name(); want != have { + err = fmt.Errorf("Name(): expected %#v, got %#v", want, have) + return + } + if want, have := src.IsDir(), target.IsDir(); want != have { + err = fmt.Errorf("IsDir(): expected %#v, got %#v", want, have) + return + } + if src.IsDir() { + if want, have := int64(0), target.Size(); want != have { + err = fmt.Errorf("Size(): expected %#v, got %#v", want, have) + return + } + if want, have := os.ModeDir, target.Mode()&os.ModeType; want != have { + err = fmt.Errorf("Mode():\nexpected %b\ngot %b", want, have) + return + } + if want, have := os.FileMode(0777), target.Mode()&os.ModePerm; want != have { + err = fmt.Errorf("Mode():\nexpected %b\ngot %b", want, have) + return + } + if want, have := int64(0), target.ModTime().Unix(); want != have { + err = fmt.Errorf("Modtime(): expected %#v, got %#v", want, have) + return + } + } else { + if want, have := src.Size(), target.Size(); want != have { + err = fmt.Errorf("Size(): expected %#v, got %#v", want, have) + return + } + if want, have := os.FileMode(0444), target.Mode()&os.ModePerm; want != have { + err = fmt.Errorf("Mode():\nexpected %b\ngot %b", want, have) + return + } + if want, have := src.ModTime().Unix(), target.ModTime().Unix(); want != have { + err = fmt.Errorf("Modtime(): expected %#v, got %#v", want, have) + return + } + } + return +} + +func TestFileSystem_Open(t *testing.T) { + fs := example1.FileSystem() + tests := []struct { + desc string + path string + err string + }{ + { + desc: "test open file", + path: "hello.txt", + }, + { + desc: "test open sub-directory file", + path: "hello/world.txt", + }, + { + desc: "test open directory", + path: "hello", + err: msgNotFound("Open", "hello"), + }, + { + desc: "test open non-exists path", + path: "notfound", + err: msgNotFound("Open", "notfound"), + }, + } + + for i, test := range tests { + t.Logf("test fs.Open %d: %s", i+1, test.desc) + + // get the file/dir in the bindatafs + file, err := fs.Open(test.path) + if test.err != "" { + if err == nil { + t.Errorf("expected error %#v, got nil", test.err) + } else if want, have := test.err, err.Error(); want != have { + t.Errorf("expected error %#v, got %#v", want, have) + } + continue + } + if err != nil { + t.Errorf("unexpected error: %s", err.Error()) + } + + fileBytes, err := ioutil.ReadAll(file) + if err != nil { + t.Errorf("unexpected error: %s", err.Error()) + } + + if err != nil { + t.Errorf("unexpected error: %s", err.Error()) + } + defer file.Close() + + // get the counter part in the source assets + srcFile, err := os.Open(ASSETS_PATH + test.path) + if err != nil { + t.Errorf("unexpected error: %s", err.Error()) + } + defer srcFile.Close() + srcFileBytes, err := ioutil.ReadAll(srcFile) + if err != nil { + t.Errorf("unexpected error: %s", err.Error()) + } + + if want, have := string(srcFileBytes), string(fileBytes); want != have { + t.Errorf("unexpected content for %#v", test.path) + t.Logf("expected:\n%s\ngot:\n%s", want, have) + } + + } +} + +func TestFileSystem_Stat(t *testing.T) { + + fs := example1.FileSystem() + assetvfs := vfs.OS(ASSETS_PATH) + + tests := []struct { + desc string + path string + err string + }{ + { + desc: "test open file", + path: "hello.txt", + }, + { + desc: "test open sub-directory file", + path: "hello/world.txt", + }, + { + desc: "test open directory", + path: "hello", + }, + { + desc: "test open non-exists path", + path: "notfound", + err: msgNotFound("Stat", "notfound"), + }, + } + + for i, test := range tests { + t.Logf("test fs.Stat %d: %s", i+1, test.desc) + + // get the file/dir in the bindatafs + targetStat, err := fs.Stat(test.path) + if test.err != "" { + if err == nil { + t.Errorf("expected error %#v, got nil", test.err) + } else if want, have := test.err, err.Error(); want != have { + t.Errorf("expected error %#v, got %#v", want, have) + } + continue + } + if err != nil { + t.Errorf("unexpected error: %s", err.Error()) + } + if targetStat == nil { + t.Errorf("targetStat is nil") + continue + } + + // get the counter part in the source assets + srcFile, err := os.Open(ASSETS_PATH + test.path) + if err != nil { + t.Errorf("unexpected error: %s", err.Error()) + continue + } + defer srcFile.Close() + srcStat, err := srcFile.Stat() + + if err = fileInfoEqual(srcStat, targetStat); err != nil { + t.Errorf("error: %s", err.Error()) + } + + // get the counter part in vfs.OS file system + vfsStat, err := assetvfs.Stat(test.path) + if err != nil { + t.Errorf("unexpected error: %s", err.Error()) + continue + } + if err = fileInfoEqual(vfsStat, targetStat); err != nil { + t.Errorf("error: %s", err.Error()) + } + + } + + for i, test := range tests { + t.Logf("test fs.Lstat %d: %s", i+1, test.desc) + + // get the file/dir in the bindatafs + targetStat, err := fs.Lstat(test.path) + if test.err != "" { + if err == nil { + t.Errorf("expected error %#v, got nil", test.err) + } else if want, have := test.err, err.Error(); want != have { + t.Errorf("expected error %#v, got %#v", want, have) + } + continue + } + if err != nil { + t.Errorf("unexpected error: %s", err.Error()) + } + if targetStat == nil { + t.Errorf("targetStat is nil") + continue + } + + // get the counter part in the source assets + srcFile, err := os.Open(ASSETS_PATH + test.path) + if err != nil { + t.Errorf("unexpected error: %s", err.Error()) + continue + } + defer srcFile.Close() + srcStat, err := srcFile.Stat() + + if err = fileInfoEqual(srcStat, targetStat); err != nil { + t.Errorf("error: %s", err.Error()) + } + + // get the counter part in vfs.OS file system + vfsStat, err := assetvfs.Stat(test.path) + if err != nil { + t.Errorf("unexpected error: %s", err.Error()) + continue + } + if err = fileInfoEqual(vfsStat, targetStat); err != nil { + t.Errorf("error: %s", err.Error()) + } + } + +} + +func TestFileSystem_Readdir(t *testing.T) { + + fs := example1.FileSystem() + assetvfs := vfs.OS(ASSETS_PATH) + + tests := []struct { + desc string + path string + err string + files map[string]string + }{ + { + desc: "test open file", + path: "hello.txt", + err: msgNotFound("ReadDir", "hello.txt"), + }, + { + desc: "test open sub-directory file", + path: "hello/world.txt", + err: msgNotFound("ReadDir", "hello/world.txt"), + }, + { + desc: "test open directory", + path: "hello", + files: map[string]string{ + "bar.txt": "file", + "world.txt": "file", + }, + }, + { + desc: "test open root directory", + path: "", + files: map[string]string{ + "hello": "dir", + "hello.txt": "file", + "index.html": "file", + }, + }, + { + desc: "test open non-exists path", + path: "notfound", + err: msgNotFound("ReadDir", "notfound"), + }, + } + + for i, test := range tests { + t.Logf("test fs.ReadDir %d: %s", i+1, test.desc) + + fsList, err := fs.ReadDir(test.path) + if test.err != "" { + if err == nil { + t.Errorf("expected error %#v, got nil", test.err) + } else if want, have := test.err, err.Error(); want != have { + t.Errorf("expected %#v, got %#v", want, have) + } + continue + } + + if want, have := len(test.files), len(fsList); want != have { + t.Errorf("expected len(fsList) to be %d, got %d", want, have) + } + + vfsList, err := assetvfs.ReadDir(test.path) + if err != nil { + t.Errorf("unexpected error: %s", err.Error()) + } + vfsMap := make(map[string]os.FileInfo) + for _, fi := range vfsList { + vfsMap[fi.Name()] = fi + } + + for _, fi := range fsList { + if _, ok := test.files[fi.Name()]; !ok { + t.Errorf("unexpected entity: %s", fi.Name()) + } + if _, ok := vfsMap[fi.Name()]; !ok { + t.Errorf("unexpected entity: %s", fi.Name()) + } + } + + } + +} + +func TestFileSystem_String(t *testing.T) { + fs := bindatafs.New("hello", nil, nil, nil) + if want, have := "hello", fs.String(); want != have { + t.Logf("expected %#v, got %#v", want, have) + } +} diff --git a/vendor/github.com/go-serve/bindatafs/example_bindatafs_fs_test.go b/vendor/github.com/go-serve/bindatafs/example_bindatafs_fs_test.go new file mode 100644 index 0000000..f36f04b --- /dev/null +++ b/vendor/github.com/go-serve/bindatafs/example_bindatafs_fs_test.go @@ -0,0 +1,59 @@ +package bindatafs_test + +import ( + "fmt" + "io/ioutil" + "net/http" + "net/http/httptest" + + "github.com/go-serve/bindatafs" + "github.com/go-serve/bindatafs/examples/example1" + "golang.org/x/tools/godoc/vfs/httpfs" +) + +func exampleFsIndex(w http.ResponseWriter, r *http.Request) { + w.WriteHeader(http.StatusOK) + fmt.Fprintf(w, "Hello Index\n") +} + +func ExampleFileSystem() { + + // create vfs.FileSystem implementation for + // the go-bindata generated assets + assetsfs := bindatafs.New( + "assets://", + example1.Asset, + example1.AssetDir, + example1.AssetInfo, + ) + + // serve the files with http + mux := http.NewServeMux() + mux.Handle("/assets/", http.StripPrefix("/assets/", http.FileServer(httpfs.New(assetsfs)))) + mux.Handle("/", http.HandlerFunc(exampleFsIndex)) + + // production: uncomment this + //http.ListenAndServe(":8080", mux) + + // below are for testings, can be removed for production + + // test the mux with httptest server + server := httptest.NewServer(mux) + defer server.Close() + + // examine the index + resp, _ := http.Get(server.URL) + defer resp.Body.Close() + body, _ := ioutil.ReadAll(resp.Body) + fmt.Printf("%s", body) + + // examine an asset + resp, _ = http.Get(server.URL + "/assets/hello.txt") + defer resp.Body.Close() + body, _ = ioutil.ReadAll(resp.Body) + fmt.Printf("%s", body) + + // Output: + // Hello Index + // Hello World +} diff --git a/vendor/github.com/go-serve/bindatafs/example_bindatafs_test.go b/vendor/github.com/go-serve/bindatafs/example_bindatafs_test.go new file mode 100644 index 0000000..7474205 --- /dev/null +++ b/vendor/github.com/go-serve/bindatafs/example_bindatafs_test.go @@ -0,0 +1,35 @@ +package bindatafs_test + +import ( + "fmt" + "net/http" + + "github.com/go-serve/bindatafs" + "github.com/go-serve/bindatafs/examples/example1" + "golang.org/x/tools/godoc/vfs/httpfs" +) + +func exampleIndex(w http.ResponseWriter, r *http.Request) { + w.WriteHeader(http.StatusOK) + fmt.Fprintf(w, "Hello Index\n") +} + +func Example() { + + // create vfs.FileSystem implementation for + // the go-bindata generated assets + assetsfs := bindatafs.New( + "assets://", + example1.Asset, + example1.AssetDir, + example1.AssetInfo, + ) + + // serve the files with http + mux := http.NewServeMux() + mux.Handle("/assets/", http.StripPrefix("/assets/", http.FileServer(httpfs.New(assetsfs)))) + mux.Handle("/", http.HandlerFunc(exampleIndex)) + + // serve the mux + http.ListenAndServe(":8080", mux) +} diff --git a/vendor/github.com/go-serve/bindatafs/example_bindatafs_union_test.go b/vendor/github.com/go-serve/bindatafs/example_bindatafs_union_test.go new file mode 100644 index 0000000..6f374b4 --- /dev/null +++ b/vendor/github.com/go-serve/bindatafs/example_bindatafs_union_test.go @@ -0,0 +1,81 @@ +package bindatafs_test + +import ( + "fmt" + "io/ioutil" + "net/http" + "net/http/httptest" + + "github.com/go-serve/bindatafs" + "github.com/go-serve/bindatafs/examples/example1" + "github.com/go-serve/bindatafs/examples/example2" + "golang.org/x/tools/godoc/vfs" + "golang.org/x/tools/godoc/vfs/httpfs" +) + +func exampleUnionIndex(w http.ResponseWriter, r *http.Request) { + w.WriteHeader(http.StatusOK) + fmt.Fprintf(w, "Hello Index\n") +} + +func ExampleFileSystem_union() { + + // create vfs.FileSystem implementation for + // the go-bindata generated assets + assetsfs1 := bindatafs.New( + "assets1://", + example1.Asset, + example1.AssetDir, + example1.AssetInfo, + ) + + assetsfs2 := bindatafs.New( + "assets2://", + example2.Asset, + example2.AssetDir, + example2.AssetInfo, + ) + + // compose 2 assets set into the same + // namespace + assetsfs := vfs.NameSpace{} + assetsfs.Bind("/", assetsfs2, "/", vfs.BindAfter) + assetsfs.Bind("/", assetsfs1, "/", vfs.BindAfter) + + // serve the files with http + mux := http.NewServeMux() + mux.Handle("/assets/", http.StripPrefix("/assets/", http.FileServer(httpfs.New(assetsfs)))) + mux.Handle("/", http.HandlerFunc(exampleUnionIndex)) + + // production: uncomment this + //http.ListenAndServe(":8080", mux) + + // below are for testings, can be removed for production + + // test the mux with httptest server + server := httptest.NewServer(mux) + defer server.Close() + + // examine the index + resp, _ := http.Get(server.URL) + defer resp.Body.Close() + body, _ := ioutil.ReadAll(resp.Body) + fmt.Printf("%s", body) + + // examine an asset + resp, _ = http.Get(server.URL + "/assets/hello.txt") + defer resp.Body.Close() + body, _ = ioutil.ReadAll(resp.Body) + fmt.Printf("%s", body) + + // examine an asset + resp, _ = http.Get(server.URL + "/assets/css/style.css") + defer resp.Body.Close() + body, _ = ioutil.ReadAll(resp.Body) + fmt.Printf("%s", body) + + // Output: + // Hello Index + // Hello CSS Assets + // body { background-color: #AFA; } +} diff --git a/vendor/github.com/go-serve/bindatafs/fileinfo.go b/vendor/github.com/go-serve/bindatafs/fileinfo.go new file mode 100644 index 0000000..0b3b2ed --- /dev/null +++ b/vendor/github.com/go-serve/bindatafs/fileinfo.go @@ -0,0 +1,79 @@ +package bindatafs + +import ( + "os" + "time" +) + +// fileInfo implements FileInfo +type fileInfo struct { + name string + os.FileInfo +} + +// Name implements os.FileInfo +func (fi *fileInfo) Name() string { + return fi.name +} + +// Size gives length in bytes for regular files; +// system-dependent for others +func (fi *fileInfo) Size() int64 { + return fi.FileInfo.Size() +} + +// Mode gives file mode bits +func (fi *fileInfo) Mode() os.FileMode { + return fi.FileInfo.Mode()&os.ModeType | 0444 +} + +// ModTime gives modification time +func (fi *fileInfo) ModTime() (t time.Time) { + return fi.FileInfo.ModTime() +} + +// IsDir is abbreviation for Mode().IsDir() +func (fi *fileInfo) IsDir() bool { + return fi.Mode().IsDir() +} + +// Sys gives underlying data source (can return nil) +func (fi *fileInfo) Sys() interface{} { + return nil +} + +// dirInfo implements FileInfo for directory in the assets +type dirInfo struct { + name string +} + +// Name gives base name of the file +func (fi *dirInfo) Name() string { + return fi.name +} + +// Size gives length in bytes for regular files; +// system-dependent for others +func (fi *dirInfo) Size() int64 { + return 0 // hard code 0 for now (originally system-dependent) +} + +// Mode gives file mode bits +func (fi *dirInfo) Mode() os.FileMode { + return os.ModeDir | 0777 +} + +// ModTime gives modification time +func (fi *dirInfo) ModTime() (t time.Time) { + return time.Unix(0, 0) +} + +// IsDir is abbreviation for Mode().IsDir() +func (fi *dirInfo) IsDir() bool { + return fi.Mode().IsDir() +} + +// Sys gives underlying data source (can return nil) +func (fi *dirInfo) Sys() interface{} { + return nil +} diff --git a/vendor/github.com/go-serve/bindatafs/fileinfo_test.go b/vendor/github.com/go-serve/bindatafs/fileinfo_test.go new file mode 100644 index 0000000..55aadd8 --- /dev/null +++ b/vendor/github.com/go-serve/bindatafs/fileinfo_test.go @@ -0,0 +1,18 @@ +package bindatafs + +import ( + "os" + "testing" +) + +func Test_fileInfo(t *testing.T) { + var i os.FileInfo = &fileInfo{} + _ = i + t.Log("*bindatafs.FileInfo{} implements os.FileInfo interface") +} + +func Test_dirInfo(t *testing.T) { + var i os.FileInfo = &dirInfo{} + _ = i + t.Log("*bindatafs.DirInfo{} implements os.FileInfo interface") +} diff --git a/vendor/golang.org/x/tools/.gitattributes b/vendor/golang.org/x/tools/.gitattributes new file mode 100644 index 0000000..d2f212e --- /dev/null +++ b/vendor/golang.org/x/tools/.gitattributes @@ -0,0 +1,10 @@ +# Treat all files in this repo as binary, with no git magic updating +# line endings. Windows users contributing to Go will need to use a +# modern version of git and editors capable of LF line endings. +# +# We'll prevent accidental CRLF line endings from entering the repo +# via the git-review gofmt checks. +# +# See golang.org/issue/9281 + +* -text diff --git a/vendor/golang.org/x/tools/.gitignore b/vendor/golang.org/x/tools/.gitignore new file mode 100644 index 0000000..5a9d62e --- /dev/null +++ b/vendor/golang.org/x/tools/.gitignore @@ -0,0 +1,2 @@ +# Add no patterns to .gitignore except for files generated by the build. +last-change diff --git a/vendor/golang.org/x/tools/AUTHORS b/vendor/golang.org/x/tools/AUTHORS new file mode 100644 index 0000000..15167cd --- /dev/null +++ b/vendor/golang.org/x/tools/AUTHORS @@ -0,0 +1,3 @@ +# This source code refers to The Go Authors for copyright purposes. +# The master list of authors is in the main Go distribution, +# visible at http://tip.golang.org/AUTHORS. diff --git a/vendor/golang.org/x/tools/CONTRIBUTING.md b/vendor/golang.org/x/tools/CONTRIBUTING.md new file mode 100644 index 0000000..88dff59 --- /dev/null +++ b/vendor/golang.org/x/tools/CONTRIBUTING.md @@ -0,0 +1,31 @@ +# Contributing to Go + +Go is an open source project. + +It is the work of hundreds of contributors. We appreciate your help! + + +## Filing issues + +When [filing an issue](https://golang.org/issue/new), make sure to answer these five questions: + +1. What version of Go are you using (`go version`)? +2. What operating system and processor architecture are you using? +3. What did you do? +4. What did you expect to see? +5. What did you see instead? + +General questions should go to the [golang-nuts mailing list](https://groups.google.com/group/golang-nuts) instead of the issue tracker. +The gophers there will answer or ask you to file an issue if you've tripped over a bug. + +## Contributing code + +Please read the [Contribution Guidelines](https://golang.org/doc/contribute.html) +before sending patches. + +**We do not accept GitHub pull requests** +(we use [Gerrit](https://code.google.com/p/gerrit/) instead for code review). + +Unless otherwise noted, the Go source files are distributed under +the BSD-style license found in the LICENSE file. + diff --git a/vendor/golang.org/x/tools/CONTRIBUTORS b/vendor/golang.org/x/tools/CONTRIBUTORS new file mode 100644 index 0000000..1c4577e --- /dev/null +++ b/vendor/golang.org/x/tools/CONTRIBUTORS @@ -0,0 +1,3 @@ +# This source code was written by the Go contributors. +# The master list of contributors is in the main Go distribution, +# visible at http://tip.golang.org/CONTRIBUTORS. diff --git a/vendor/golang.org/x/tools/LICENSE b/vendor/golang.org/x/tools/LICENSE new file mode 100644 index 0000000..6a66aea --- /dev/null +++ b/vendor/golang.org/x/tools/LICENSE @@ -0,0 +1,27 @@ +Copyright (c) 2009 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/vendor/golang.org/x/tools/PATENTS b/vendor/golang.org/x/tools/PATENTS new file mode 100644 index 0000000..7330990 --- /dev/null +++ b/vendor/golang.org/x/tools/PATENTS @@ -0,0 +1,22 @@ +Additional IP Rights Grant (Patents) + +"This implementation" means the copyrightable works distributed by +Google as part of the Go project. + +Google hereby grants to You a perpetual, worldwide, non-exclusive, +no-charge, royalty-free, irrevocable (except as stated in this section) +patent license to make, have made, use, offer to sell, sell, import, +transfer and otherwise run, modify and propagate the contents of this +implementation of Go, where such license applies only to those patent +claims, both currently owned or controlled by Google and acquired in +the future, licensable by Google that are necessarily infringed by this +implementation of Go. This grant does not include claims that would be +infringed only as a consequence of further modification of this +implementation. If you or your agent or exclusive licensee institute or +order or agree to the institution of patent litigation against any +entity (including a cross-claim or counterclaim in a lawsuit) alleging +that this implementation of Go or any code incorporated within this +implementation of Go constitutes direct or contributory patent +infringement, or inducement of patent infringement, then any patent +rights granted to you under this License for this implementation of Go +shall terminate as of the date such litigation is filed. diff --git a/vendor/golang.org/x/tools/README.md b/vendor/golang.org/x/tools/README.md new file mode 100644 index 0000000..20be9e1 --- /dev/null +++ b/vendor/golang.org/x/tools/README.md @@ -0,0 +1,27 @@ +# Go Tools + +This subrepository holds the source for various packages and tools that support +the Go programming language. + +Some of the tools, `godoc` and `vet` for example, are included in binary Go +distributions. + +Others, including the Go `guru` and the test coverage tool, can be fetched with +`go get`. + +Packages include a type-checker for Go and an implementation of the +Static Single Assignment form (SSA) representation for Go programs. + +## Download/Install + +The easiest way to install is to run `go get -u golang.org/x/tools/...`. You can +also manually git clone the repository to `$GOPATH/src/golang.org/x/tools`. + +## Report Issues / Send Patches + +This repository uses Gerrit for code changes. To learn how to submit changes to +this repository, see https://golang.org/doc/contribute.html. + +The main issue tracker for the tools repository is located at +https://github.com/golang/go/issues. Prefix your issue with "x/tools/(your +subdir):" in the subject line, so it is easy to find. diff --git a/vendor/golang.org/x/tools/codereview.cfg b/vendor/golang.org/x/tools/codereview.cfg new file mode 100644 index 0000000..3f8b14b --- /dev/null +++ b/vendor/golang.org/x/tools/codereview.cfg @@ -0,0 +1 @@ +issuerepo: golang/go diff --git a/vendor/golang.org/x/tools/godoc/README.md b/vendor/golang.org/x/tools/godoc/README.md new file mode 100644 index 0000000..52bc8a4 --- /dev/null +++ b/vendor/golang.org/x/tools/godoc/README.md @@ -0,0 +1,31 @@ +# godoc + +This directory contains most of the code for running a godoc server. The +executable lives at golang.org/x/tools/cmd/godoc. + +## Development mode + +In production, CSS/JS/template assets need to be compiled into the godoc +binary. It can be tedious to recompile assets every time, but you can pass a +flag to load CSS/JS/templates from disk every time a page loads: + +``` +godoc -templates=$GOPATH/src/golang.org/x/tools/godoc/static -http=:6060 +``` + +## Recompiling static assets + +The files that live at `static/style.css`, `static/jquery.js` and so on are not +present in the final binary. They are placed into `static/static.go` by running +`go generate`. So to compile a change and test it in your browser: + +1) Make changes to e.g. `static/style.css`. + +2) Run `go generate golang.org/x/tools/godoc/static` so `static/static.go` picks +up the change. + +3) Run `go install golang.org/x/tools/cmd/godoc` so the compiled `godoc` binary +picks up the change. + +4) Run `godoc -http=:6060` and view your changes in the browser. You may need +to disable your browser's cache to avoid reloading a stale file. diff --git a/vendor/golang.org/x/tools/godoc/appengine.go b/vendor/golang.org/x/tools/godoc/appengine.go new file mode 100644 index 0000000..fe5e687 --- /dev/null +++ b/vendor/golang.org/x/tools/godoc/appengine.go @@ -0,0 +1,13 @@ +// Copyright 2015 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// +build appengine + +package godoc + +import "google.golang.org/appengine" + +func init() { + onAppengine = !appengine.IsDevAppServer() +} diff --git a/vendor/golang.org/x/tools/godoc/cmdline.go b/vendor/golang.org/x/tools/godoc/cmdline.go new file mode 100644 index 0000000..7c53681 --- /dev/null +++ b/vendor/golang.org/x/tools/godoc/cmdline.go @@ -0,0 +1,207 @@ +// Copyright 2013 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package godoc + +import ( + "fmt" + "go/ast" + "go/build" + "io" + "log" + "os" + pathpkg "path" + "path/filepath" + "regexp" + "strings" + + "golang.org/x/tools/godoc/vfs" +) + +const ( + target = "/target" + cmdPrefix = "cmd/" + srcPrefix = "src/" + toolsPath = "golang.org/x/tools/cmd/" +) + +// CommandLine returns godoc results to w. +// Note that it may add a /target path to fs. +func CommandLine(w io.Writer, fs vfs.NameSpace, pres *Presentation, args []string) error { + path := args[0] + srcMode := pres.SrcMode + cmdMode := strings.HasPrefix(path, cmdPrefix) + if strings.HasPrefix(path, srcPrefix) { + path = strings.TrimPrefix(path, srcPrefix) + srcMode = true + } + var abspath, relpath string + if cmdMode { + path = strings.TrimPrefix(path, cmdPrefix) + } else { + abspath, relpath = paths(fs, pres, path) + } + + var mode PageInfoMode + if relpath == builtinPkgPath { + // the fake built-in package contains unexported identifiers + mode = NoFiltering | NoTypeAssoc + } + if srcMode { + // only filter exports if we don't have explicit command-line filter arguments + if len(args) > 1 { + mode |= NoFiltering + } + mode |= ShowSource + } + + // First, try as package unless forced as command. + var info *PageInfo + if !cmdMode { + info = pres.GetPkgPageInfo(abspath, relpath, mode) + } + + // Second, try as command (if the path is not absolute). + var cinfo *PageInfo + if !filepath.IsAbs(path) { + // First try go.tools/cmd. + abspath = pathpkg.Join(pres.PkgFSRoot(), toolsPath+path) + cinfo = pres.GetCmdPageInfo(abspath, relpath, mode) + if cinfo.IsEmpty() { + // Then try $GOROOT/cmd. + abspath = pathpkg.Join(pres.CmdFSRoot(), path) + cinfo = pres.GetCmdPageInfo(abspath, relpath, mode) + } + } + + // determine what to use + if info == nil || info.IsEmpty() { + if cinfo != nil && !cinfo.IsEmpty() { + // only cinfo exists - switch to cinfo + info = cinfo + } + } else if cinfo != nil && !cinfo.IsEmpty() { + // both info and cinfo exist - use cinfo if info + // contains only subdirectory information + if info.PAst == nil && info.PDoc == nil { + info = cinfo + } else if relpath != target { + // The above check handles the case where an operating system path + // is provided (see documentation for paths below). In that case, + // relpath is set to "/target" (in anticipation of accessing packages there), + // and is therefore not expected to match a command. + fmt.Fprintf(w, "use 'godoc %s%s' for documentation on the %s command \n\n", cmdPrefix, relpath, relpath) + } + } + + if info == nil { + return fmt.Errorf("%s: no such directory or package", args[0]) + } + if info.Err != nil { + return info.Err + } + + if info.PDoc != nil && info.PDoc.ImportPath == target { + // Replace virtual /target with actual argument from command line. + info.PDoc.ImportPath = args[0] + } + + // If we have more than one argument, use the remaining arguments for filtering. + if len(args) > 1 { + info.IsFiltered = true + filterInfo(args[1:], info) + } + + packageText := pres.PackageText + if pres.HTMLMode { + packageText = pres.PackageHTML + } + if err := packageText.Execute(w, info); err != nil { + return err + } + return nil +} + +// paths determines the paths to use. +// +// If we are passed an operating system path like . or ./foo or /foo/bar or c:\mysrc, +// we need to map that path somewhere in the fs name space so that routines +// like getPageInfo will see it. We use the arbitrarily-chosen virtual path "/target" +// for this. That is, if we get passed a directory like the above, we map that +// directory so that getPageInfo sees it as /target. +// Returns the absolute and relative paths. +func paths(fs vfs.NameSpace, pres *Presentation, path string) (string, string) { + if filepath.IsAbs(path) { + fs.Bind(target, vfs.OS(path), "/", vfs.BindReplace) + return target, target + } + if build.IsLocalImport(path) { + cwd, _ := os.Getwd() // ignore errors + path = filepath.Join(cwd, path) + fs.Bind(target, vfs.OS(path), "/", vfs.BindReplace) + return target, target + } + if bp, _ := build.Import(path, "", build.FindOnly); bp.Dir != "" && bp.ImportPath != "" { + fs.Bind(target, vfs.OS(bp.Dir), "/", vfs.BindReplace) + return target, bp.ImportPath + } + return pathpkg.Join(pres.PkgFSRoot(), path), path +} + +// filterInfo updates info to include only the nodes that match the given +// filter args. +func filterInfo(args []string, info *PageInfo) { + rx, err := makeRx(args) + if err != nil { + log.Fatalf("illegal regular expression from %v: %v", args, err) + } + + filter := func(s string) bool { return rx.MatchString(s) } + switch { + case info.PAst != nil: + newPAst := map[string]*ast.File{} + for name, a := range info.PAst { + cmap := ast.NewCommentMap(info.FSet, a, a.Comments) + a.Comments = []*ast.CommentGroup{} // remove all comments. + ast.FilterFile(a, filter) + if len(a.Decls) > 0 { + newPAst[name] = a + } + for _, d := range a.Decls { + // add back the comments associated with d only + comments := cmap.Filter(d).Comments() + a.Comments = append(a.Comments, comments...) + } + } + info.PAst = newPAst // add only matching files. + case info.PDoc != nil: + info.PDoc.Filter(filter) + } +} + +// Does s look like a regular expression? +func isRegexp(s string) bool { + return strings.ContainsAny(s, ".(|)*+?^$[]") +} + +// Make a regular expression of the form +// names[0]|names[1]|...names[len(names)-1]. +// Returns an error if the regular expression is illegal. +func makeRx(names []string) (*regexp.Regexp, error) { + if len(names) == 0 { + return nil, fmt.Errorf("no expression provided") + } + s := "" + for i, name := range names { + if i > 0 { + s += "|" + } + if isRegexp(name) { + s += name + } else { + s += "^" + name + "$" // must match exactly + } + } + return regexp.Compile(s) +} diff --git a/vendor/golang.org/x/tools/godoc/cmdline_test.go b/vendor/golang.org/x/tools/godoc/cmdline_test.go new file mode 100644 index 0000000..602f2bb --- /dev/null +++ b/vendor/golang.org/x/tools/godoc/cmdline_test.go @@ -0,0 +1,294 @@ +// Copyright 2013 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package godoc + +import ( + "bytes" + "go/build" + "io/ioutil" + "os" + "path/filepath" + "reflect" + "regexp" + "runtime" + "testing" + "text/template" + + "golang.org/x/tools/godoc/vfs" + "golang.org/x/tools/godoc/vfs/mapfs" +) + +// setupGoroot creates temporary directory to act as GOROOT when running tests +// that depend upon the build package. It updates build.Default to point to the +// new GOROOT. +// It returns a function that can be called to reset build.Default and remove +// the temporary directory. +func setupGoroot(t *testing.T) (cleanup func()) { + var stdLib = map[string]string{ + "src/fmt/fmt.go": `// Package fmt implements formatted I/O. +package fmt + +type Stringer interface { + String() string +} +`, + } + goroot, err := ioutil.TempDir("", "cmdline_test") + if err != nil { + t.Fatal(err) + } + origContext := build.Default + build.Default = build.Context{ + GOROOT: goroot, + Compiler: "gc", + } + for relname, contents := range stdLib { + name := filepath.Join(goroot, relname) + if err := os.MkdirAll(filepath.Dir(name), 0770); err != nil { + t.Fatal(err) + } + if err := ioutil.WriteFile(name, []byte(contents), 0770); err != nil { + t.Fatal(err) + } + } + + return func() { + if err := os.RemoveAll(goroot); err != nil { + t.Log(err) + } + build.Default = origContext + } +} + +func TestPaths(t *testing.T) { + cleanup := setupGoroot(t) + defer cleanup() + + pres := &Presentation{ + pkgHandler: handlerServer{ + fsRoot: "/fsroot", + }, + } + fs := make(vfs.NameSpace) + + absPath := "/foo/fmt" + if runtime.GOOS == "windows" { + absPath = `c:\foo\fmt` + } + + for _, tc := range []struct { + desc string + path string + expAbs string + expRel string + }{ + { + "Absolute path", + absPath, + "/target", + "/target", + }, + { + "Local import", + "../foo/fmt", + "/target", + "/target", + }, + { + "Import", + "fmt", + "/target", + "fmt", + }, + { + "Default", + "unknownpkg", + "/fsroot/unknownpkg", + "unknownpkg", + }, + } { + abs, rel := paths(fs, pres, tc.path) + if abs != tc.expAbs || rel != tc.expRel { + t.Errorf("%s: paths(%q) = %s,%s; want %s,%s", tc.desc, tc.path, abs, rel, tc.expAbs, tc.expRel) + } + } +} + +func TestMakeRx(t *testing.T) { + for _, tc := range []struct { + desc string + names []string + exp string + }{ + { + desc: "empty string", + names: []string{""}, + exp: `^$`, + }, + { + desc: "simple text", + names: []string{"a"}, + exp: `^a$`, + }, + { + desc: "two words", + names: []string{"foo", "bar"}, + exp: `^foo$|^bar$`, + }, + { + desc: "word & non-trivial", + names: []string{"foo", `ab?c`}, + exp: `^foo$|ab?c`, + }, + { + desc: "bad regexp", + names: []string{`(."`}, + exp: `(."`, + }, + } { + expRE, expErr := regexp.Compile(tc.exp) + if re, err := makeRx(tc.names); !reflect.DeepEqual(err, expErr) && !reflect.DeepEqual(re, expRE) { + t.Errorf("%s: makeRx(%v) = %q,%q; want %q,%q", tc.desc, tc.names, re, err, expRE, expErr) + } + } +} + +func TestCommandLine(t *testing.T) { + cleanup := setupGoroot(t) + defer cleanup() + mfs := mapfs.New(map[string]string{ + "src/bar/bar.go": `// Package bar is an example. +package bar +`, + "src/foo/foo.go": `// Package foo. +package foo + +// First function is first. +func First() { +} + +// Second function is second. +func Second() { +} +`, + "src/gen/gen.go": `// Package gen +package gen + +//line notgen.go:3 +// F doc //line 1 should appear +// line 2 should appear +func F() +//line foo.go:100`, // no newline on end to check corner cases! + "src/vet/vet.go": `// Package vet +package vet +`, + "src/cmd/go/doc.go": `// The go command +package main +`, + "src/cmd/gofmt/doc.go": `// The gofmt command +package main +`, + "src/cmd/vet/vet.go": `// The vet command +package main +`, + }) + fs := make(vfs.NameSpace) + fs.Bind("/", mfs, "/", vfs.BindReplace) + c := NewCorpus(fs) + p := &Presentation{Corpus: c} + p.cmdHandler = handlerServer{ + p: p, + c: c, + pattern: "/cmd/", + fsRoot: "/src/cmd", + } + p.pkgHandler = handlerServer{ + p: p, + c: c, + pattern: "/pkg/", + fsRoot: "/src", + exclude: []string{"/src/cmd"}, + } + p.initFuncMap() + p.PackageText = template.Must(template.New("PackageText").Funcs(p.FuncMap()).Parse(`{{$info := .}}{{$filtered := .IsFiltered}}{{if $filtered}}{{range .PAst}}{{range .Decls}}{{node $info .}}{{end}}{{end}}{{else}}{{with .PAst}}{{range $filename, $ast := .}}{{$filename}}: +{{node $ $ast}}{{end}}{{end}}{{end}}{{with .PDoc}}{{if $.IsMain}}COMMAND {{.Doc}}{{else}}PACKAGE {{.Doc}}{{end}}{{with .Funcs}} +{{range .}}{{node $ .Decl}} +{{comment_text .Doc " " "\t"}}{{end}}{{end}}{{end}}`)) + + for _, tc := range []struct { + desc string + args []string + exp string + err bool + }{ + { + desc: "standard package", + args: []string{"fmt"}, + exp: "PACKAGE Package fmt implements formatted I/O.\n", + }, + { + desc: "package", + args: []string{"bar"}, + exp: "PACKAGE Package bar is an example.\n", + }, + { + desc: "package w. filter", + args: []string{"foo", "First"}, + exp: "PACKAGE \nfunc First()\n First function is first.\n", + }, + { + desc: "package w. bad filter", + args: []string{"foo", "DNE"}, + exp: "PACKAGE ", + }, + { + desc: "source mode", + args: []string{"src/bar"}, + exp: "bar/bar.go:\n// Package bar is an example.\npackage bar\n", + }, + { + desc: "source mode w. filter", + args: []string{"src/foo", "Second"}, + exp: "// Second function is second.\nfunc Second() {\n}", + }, + { + desc: "package w. //line comments", + args: []string{"gen", "F"}, + exp: "PACKAGE \nfunc F()\n F doc //line 1 should appear line 2 should appear\n", + }, + { + desc: "command", + args: []string{"go"}, + exp: "COMMAND The go command\n", + }, + { + desc: "forced command", + args: []string{"cmd/gofmt"}, + exp: "COMMAND The gofmt command\n", + }, + { + desc: "bad arg", + args: []string{"doesnotexist"}, + err: true, + }, + { + desc: "both command and package", + args: []string{"vet"}, + exp: "use 'godoc cmd/vet' for documentation on the vet command \n\nPACKAGE Package vet\n", + }, + { + desc: "root directory", + args: []string{"/"}, + exp: "", + }, + } { + w := new(bytes.Buffer) + err := CommandLine(w, fs, p, tc.args) + if got, want := w.String(), tc.exp; got != want || tc.err == (err == nil) { + t.Errorf("%s: CommandLine(%v) = %q (%v); want %q (%v)", + tc.desc, tc.args, got, err, want, tc.err) + } + } +} diff --git a/vendor/golang.org/x/tools/godoc/corpus.go b/vendor/golang.org/x/tools/godoc/corpus.go new file mode 100644 index 0000000..f2c7ebb --- /dev/null +++ b/vendor/golang.org/x/tools/godoc/corpus.go @@ -0,0 +1,157 @@ +// Copyright 2013 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package godoc + +import ( + "errors" + pathpkg "path" + "time" + + "golang.org/x/tools/godoc/analysis" + "golang.org/x/tools/godoc/util" + "golang.org/x/tools/godoc/vfs" +) + +// A Corpus holds all the state related to serving and indexing a +// collection of Go code. +// +// Construct a new Corpus with NewCorpus, then modify options, +// then call its Init method. +type Corpus struct { + fs vfs.FileSystem + + // Verbose logging. + Verbose bool + + // IndexEnabled controls whether indexing is enabled. + IndexEnabled bool + + // IndexFiles specifies a glob pattern specifying index files. + // If not empty, the index is read from these files in sorted + // order. + IndexFiles string + + // IndexThrottle specifies the indexing throttle value + // between 0.0 and 1.0. At 0.0, the indexer always sleeps. + // At 1.0, the indexer never sleeps. Because 0.0 is useless + // and redundant with setting IndexEnabled to false, the + // zero value for IndexThrottle means 0.9. + IndexThrottle float64 + + // IndexInterval specifies the time to sleep between reindexing + // all the sources. + // If zero, a default is used. If negative, the index is only + // built once. + IndexInterval time.Duration + + // IndexDocs enables indexing of Go documentation. + // This will produce search results for exported types, functions, + // methods, variables, and constants, and will link to the godoc + // documentation for those identifiers. + IndexDocs bool + + // IndexGoCode enables indexing of Go source code. + // This will produce search results for internal and external identifiers + // and will link to both declarations and uses of those identifiers in + // source code. + IndexGoCode bool + + // IndexFullText enables full-text indexing. + // This will provide search results for any matching text in any file that + // is indexed, including non-Go files (see whitelisted in index.go). + // Regexp searching is supported via full-text indexing. + IndexFullText bool + + // MaxResults optionally specifies the maximum results for indexing. + MaxResults int + + // SummarizePackage optionally specifies a function to + // summarize a package. It exists as an optimization to + // avoid reading files to parse package comments. + // + // If SummarizePackage returns false for ok, the caller + // ignores all return values and parses the files in the package + // as if SummarizePackage were nil. + // + // If showList is false, the package is hidden from the + // package listing. + SummarizePackage func(pkg string) (summary string, showList, ok bool) + + // IndexDirectory optionally specifies a function to determine + // whether the provided directory should be indexed. The dir + // will be of the form "/src/cmd/6a", "/doc/play", + // "/src/io", etc. + // If nil, all directories are indexed if indexing is enabled. + IndexDirectory func(dir string) bool + + testDir string // TODO(bradfitz,adg): migrate old godoc flag? looks unused. + + // Send a value on this channel to trigger a metadata refresh. + // It is buffered so that if a signal is not lost if sent + // during a refresh. + refreshMetadataSignal chan bool + + // file system information + fsTree util.RWValue // *Directory tree of packages, updated with each sync (but sync code is removed now) + fsModified util.RWValue // timestamp of last call to invalidateIndex + docMetadata util.RWValue // mapping from paths to *Metadata + + // SearchIndex is the search index in use. + searchIndex util.RWValue + + // Analysis is the result of type and pointer analysis. + Analysis analysis.Result +} + +// NewCorpus returns a new Corpus from a filesystem. +// The returned corpus has all indexing enabled and MaxResults set to 1000. +// Change or set any options on Corpus before calling the Corpus.Init method. +func NewCorpus(fs vfs.FileSystem) *Corpus { + c := &Corpus{ + fs: fs, + refreshMetadataSignal: make(chan bool, 1), + + MaxResults: 1000, + IndexEnabled: true, + IndexDocs: true, + IndexGoCode: true, + IndexFullText: true, + } + return c +} + +func (c *Corpus) CurrentIndex() (*Index, time.Time) { + v, t := c.searchIndex.Get() + idx, _ := v.(*Index) + return idx, t +} + +func (c *Corpus) FSModifiedTime() time.Time { + _, ts := c.fsModified.Get() + return ts +} + +// Init initializes Corpus, once options on Corpus are set. +// It must be called before any subsequent method calls. +func (c *Corpus) Init() error { + // TODO(bradfitz): do this in a goroutine because newDirectory might block for a long time? + // It used to be sometimes done in a goroutine before, at least in HTTP server mode. + if err := c.initFSTree(); err != nil { + return err + } + c.updateMetadata() + go c.refreshMetadataLoop() + return nil +} + +func (c *Corpus) initFSTree() error { + dir := c.newDirectory(pathpkg.Join("/", c.testDir), -1) + if dir == nil { + return errors.New("godoc: corpus fstree is nil") + } + c.fsTree.Set(dir) + c.invalidateIndex() + return nil +} diff --git a/vendor/golang.org/x/tools/godoc/dirtrees.go b/vendor/golang.org/x/tools/godoc/dirtrees.go new file mode 100644 index 0000000..2b14a41 --- /dev/null +++ b/vendor/golang.org/x/tools/godoc/dirtrees.go @@ -0,0 +1,342 @@ +// Copyright 2010 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// This file contains the code dealing with package directory trees. + +package godoc + +import ( + "go/doc" + "go/parser" + "go/token" + "log" + "os" + pathpkg "path" + "strings" +) + +// Conventional name for directories containing test data. +// Excluded from directory trees. +// +const testdataDirName = "testdata" + +type Directory struct { + Depth int + Path string // directory path; includes Name + Name string // directory name + HasPkg bool // true if the directory contains at least one package + Synopsis string // package documentation, if any + Dirs []*Directory // subdirectories +} + +func isGoFile(fi os.FileInfo) bool { + name := fi.Name() + return !fi.IsDir() && + len(name) > 0 && name[0] != '.' && // ignore .files + pathpkg.Ext(name) == ".go" +} + +func isPkgFile(fi os.FileInfo) bool { + return isGoFile(fi) && + !strings.HasSuffix(fi.Name(), "_test.go") // ignore test files +} + +func isPkgDir(fi os.FileInfo) bool { + name := fi.Name() + return fi.IsDir() && len(name) > 0 && + name[0] != '_' && name[0] != '.' // ignore _files and .files +} + +type treeBuilder struct { + c *Corpus + maxDepth int +} + +// ioGate is a semaphore controlling VFS activity (ReadDir, parseFile, etc). +// Send before an operation and receive after. +var ioGate = make(chan bool, 20) + +func (b *treeBuilder) newDirTree(fset *token.FileSet, path, name string, depth int) *Directory { + if name == testdataDirName { + return nil + } + + if depth >= b.maxDepth { + // return a dummy directory so that the parent directory + // doesn't get discarded just because we reached the max + // directory depth + return &Directory{ + Depth: depth, + Path: path, + Name: name, + } + } + + var synopses [3]string // prioritized package documentation (0 == highest priority) + + show := true // show in package listing + hasPkgFiles := false + haveSummary := false + + if hook := b.c.SummarizePackage; hook != nil { + if summary, show0, ok := hook(strings.TrimPrefix(path, "/src/")); ok { + hasPkgFiles = true + show = show0 + synopses[0] = summary + haveSummary = true + } + } + + ioGate <- true + list, err := b.c.fs.ReadDir(path) + <-ioGate + if err != nil { + // TODO: propagate more. See golang.org/issue/14252. + // For now: + if b.c.Verbose { + log.Printf("newDirTree reading %s: %v", path, err) + } + } + + // determine number of subdirectories and if there are package files + var dirchs []chan *Directory + + for _, d := range list { + filename := pathpkg.Join(path, d.Name()) + switch { + case isPkgDir(d): + ch := make(chan *Directory, 1) + dirchs = append(dirchs, ch) + name := d.Name() + go func() { + ch <- b.newDirTree(fset, filename, name, depth+1) + }() + case !haveSummary && isPkgFile(d): + // looks like a package file, but may just be a file ending in ".go"; + // don't just count it yet (otherwise we may end up with hasPkgFiles even + // though the directory doesn't contain any real package files - was bug) + // no "optimal" package synopsis yet; continue to collect synopses + ioGate <- true + const flags = parser.ParseComments | parser.PackageClauseOnly + file, err := b.c.parseFile(fset, filename, flags) + <-ioGate + if err != nil { + if b.c.Verbose { + log.Printf("Error parsing %v: %v", filename, err) + } + break + } + + hasPkgFiles = true + if file.Doc != nil { + // prioritize documentation + i := -1 + switch file.Name.Name { + case name: + i = 0 // normal case: directory name matches package name + case "main": + i = 1 // directory contains a main package + default: + i = 2 // none of the above + } + if 0 <= i && i < len(synopses) && synopses[i] == "" { + synopses[i] = doc.Synopsis(file.Doc.Text()) + } + } + haveSummary = synopses[0] != "" + } + } + + // create subdirectory tree + var dirs []*Directory + for _, ch := range dirchs { + if d := <-ch; d != nil { + dirs = append(dirs, d) + } + } + + // if there are no package files and no subdirectories + // containing package files, ignore the directory + if !hasPkgFiles && len(dirs) == 0 { + return nil + } + + // select the highest-priority synopsis for the directory entry, if any + synopsis := "" + for _, synopsis = range synopses { + if synopsis != "" { + break + } + } + + return &Directory{ + Depth: depth, + Path: path, + Name: name, + HasPkg: hasPkgFiles && show, // TODO(bradfitz): add proper Hide field? + Synopsis: synopsis, + Dirs: dirs, + } +} + +// newDirectory creates a new package directory tree with at most maxDepth +// levels, anchored at root. The result tree is pruned such that it only +// contains directories that contain package files or that contain +// subdirectories containing package files (transitively). If a non-nil +// pathFilter is provided, directory paths additionally must be accepted +// by the filter (i.e., pathFilter(path) must be true). If a value >= 0 is +// provided for maxDepth, nodes at larger depths are pruned as well; they +// are assumed to contain package files even if their contents are not known +// (i.e., in this case the tree may contain directories w/o any package files). +// +func (c *Corpus) newDirectory(root string, maxDepth int) *Directory { + // The root could be a symbolic link so use Stat not Lstat. + d, err := c.fs.Stat(root) + // If we fail here, report detailed error messages; otherwise + // is is hard to see why a directory tree was not built. + switch { + case err != nil: + log.Printf("newDirectory(%s): %s", root, err) + return nil + case root != "/" && !isPkgDir(d): + log.Printf("newDirectory(%s): not a package directory", root) + return nil + case root == "/" && !d.IsDir(): + log.Printf("newDirectory(%s): not a directory", root) + return nil + } + if maxDepth < 0 { + maxDepth = 1e6 // "infinity" + } + b := treeBuilder{c, maxDepth} + // the file set provided is only for local parsing, no position + // information escapes and thus we don't need to save the set + return b.newDirTree(token.NewFileSet(), root, d.Name(), 0) +} + +func (dir *Directory) walk(c chan<- *Directory, skipRoot bool) { + if dir != nil { + if !skipRoot { + c <- dir + } + for _, d := range dir.Dirs { + d.walk(c, false) + } + } +} + +func (dir *Directory) iter(skipRoot bool) <-chan *Directory { + c := make(chan *Directory) + go func() { + dir.walk(c, skipRoot) + close(c) + }() + return c +} + +func (dir *Directory) lookupLocal(name string) *Directory { + for _, d := range dir.Dirs { + if d.Name == name { + return d + } + } + return nil +} + +func splitPath(p string) []string { + p = strings.TrimPrefix(p, "/") + if p == "" { + return nil + } + return strings.Split(p, "/") +} + +// lookup looks for the *Directory for a given path, relative to dir. +func (dir *Directory) lookup(path string) *Directory { + d := splitPath(dir.Path) + p := splitPath(path) + i := 0 + for i < len(d) { + if i >= len(p) || d[i] != p[i] { + return nil + } + i++ + } + for dir != nil && i < len(p) { + dir = dir.lookupLocal(p[i]) + i++ + } + return dir +} + +// DirEntry describes a directory entry. The Depth and Height values +// are useful for presenting an entry in an indented fashion. +// +type DirEntry struct { + Depth int // >= 0 + Height int // = DirList.MaxHeight - Depth, > 0 + Path string // directory path; includes Name, relative to DirList root + Name string // directory name + HasPkg bool // true if the directory contains at least one package + Synopsis string // package documentation, if any +} + +type DirList struct { + MaxHeight int // directory tree height, > 0 + List []DirEntry +} + +// listing creates a (linear) directory listing from a directory tree. +// If skipRoot is set, the root directory itself is excluded from the list. +// If filter is set, only the directory entries whose paths match the filter +// are included. +// +func (root *Directory) listing(skipRoot bool, filter func(string) bool) *DirList { + if root == nil { + return nil + } + + // determine number of entries n and maximum height + n := 0 + minDepth := 1 << 30 // infinity + maxDepth := 0 + for d := range root.iter(skipRoot) { + n++ + if minDepth > d.Depth { + minDepth = d.Depth + } + if maxDepth < d.Depth { + maxDepth = d.Depth + } + } + maxHeight := maxDepth - minDepth + 1 + + if n == 0 { + return nil + } + + // create list + list := make([]DirEntry, 0, n) + for d := range root.iter(skipRoot) { + if filter != nil && !filter(d.Path) { + continue + } + var p DirEntry + p.Depth = d.Depth - minDepth + p.Height = maxHeight - p.Depth + // the path is relative to root.Path - remove the root.Path + // prefix (the prefix should always be present but avoid + // crashes and check) + path := strings.TrimPrefix(d.Path, root.Path) + // remove leading separator if any - path must be relative + path = strings.TrimPrefix(path, "/") + p.Path = path + p.Name = d.Name + p.HasPkg = d.HasPkg + p.Synopsis = d.Synopsis + list = append(list, p) + } + + return &DirList{maxHeight, list} +} diff --git a/vendor/golang.org/x/tools/godoc/format.go b/vendor/golang.org/x/tools/godoc/format.go new file mode 100644 index 0000000..6013238 --- /dev/null +++ b/vendor/golang.org/x/tools/godoc/format.go @@ -0,0 +1,371 @@ +// Copyright 2011 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// This file implements FormatSelections and FormatText. +// FormatText is used to HTML-format Go and non-Go source +// text with line numbers and highlighted sections. It is +// built on top of FormatSelections, a generic formatter +// for "selected" text. + +package godoc + +import ( + "fmt" + "go/scanner" + "go/token" + "io" + "regexp" + "strconv" + "text/template" +) + +// ---------------------------------------------------------------------------- +// Implementation of FormatSelections + +// A Segment describes a text segment [start, end). +// The zero value of a Segment is a ready-to-use empty segment. +// +type Segment struct { + start, end int +} + +func (seg *Segment) isEmpty() bool { return seg.start >= seg.end } + +// A Selection is an "iterator" function returning a text segment. +// Repeated calls to a selection return consecutive, non-overlapping, +// non-empty segments, followed by an infinite sequence of empty +// segments. The first empty segment marks the end of the selection. +// +type Selection func() Segment + +// A LinkWriter writes some start or end "tag" to w for the text offset offs. +// It is called by FormatSelections at the start or end of each link segment. +// +type LinkWriter func(w io.Writer, offs int, start bool) + +// A SegmentWriter formats a text according to selections and writes it to w. +// The selections parameter is a bit set indicating which selections provided +// to FormatSelections overlap with the text segment: If the n'th bit is set +// in selections, the n'th selection provided to FormatSelections is overlapping +// with the text. +// +type SegmentWriter func(w io.Writer, text []byte, selections int) + +// FormatSelections takes a text and writes it to w using link and segment +// writers lw and sw as follows: lw is invoked for consecutive segment starts +// and ends as specified through the links selection, and sw is invoked for +// consecutive segments of text overlapped by the same selections as specified +// by selections. The link writer lw may be nil, in which case the links +// Selection is ignored. +// +func FormatSelections(w io.Writer, text []byte, lw LinkWriter, links Selection, sw SegmentWriter, selections ...Selection) { + // If we have a link writer, make the links + // selection the last entry in selections + if lw != nil { + selections = append(selections, links) + } + + // compute the sequence of consecutive segment changes + changes := newMerger(selections) + + // The i'th bit in bitset indicates that the text + // at the current offset is covered by selections[i]. + bitset := 0 + lastOffs := 0 + + // Text segments are written in a delayed fashion + // such that consecutive segments belonging to the + // same selection can be combined (peephole optimization). + // last describes the last segment which has not yet been written. + var last struct { + begin, end int // valid if begin < end + bitset int + } + + // flush writes the last delayed text segment + flush := func() { + if last.begin < last.end { + sw(w, text[last.begin:last.end], last.bitset) + } + last.begin = last.end // invalidate last + } + + // segment runs the segment [lastOffs, end) with the selection + // indicated by bitset through the segment peephole optimizer. + segment := func(end int) { + if lastOffs < end { // ignore empty segments + if last.end != lastOffs || last.bitset != bitset { + // the last segment is not adjacent to or + // differs from the new one + flush() + // start a new segment + last.begin = lastOffs + } + last.end = end + last.bitset = bitset + } + } + + for { + // get the next segment change + index, offs, start := changes.next() + if index < 0 || offs > len(text) { + // no more segment changes or the next change + // is past the end of the text - we're done + break + } + // determine the kind of segment change + if lw != nil && index == len(selections)-1 { + // we have a link segment change (see start of this function): + // format the previous selection segment, write the + // link tag and start a new selection segment + segment(offs) + flush() + lastOffs = offs + lw(w, offs, start) + } else { + // we have a selection change: + // format the previous selection segment, determine + // the new selection bitset and start a new segment + segment(offs) + lastOffs = offs + mask := 1 << uint(index) + if start { + bitset |= mask + } else { + bitset &^= mask + } + } + } + segment(len(text)) + flush() +} + +// A merger merges a slice of Selections and produces a sequence of +// consecutive segment change events through repeated next() calls. +// +type merger struct { + selections []Selection + segments []Segment // segments[i] is the next segment of selections[i] +} + +const infinity int = 2e9 + +func newMerger(selections []Selection) *merger { + segments := make([]Segment, len(selections)) + for i, sel := range selections { + segments[i] = Segment{infinity, infinity} + if sel != nil { + if seg := sel(); !seg.isEmpty() { + segments[i] = seg + } + } + } + return &merger{selections, segments} +} + +// next returns the next segment change: index specifies the Selection +// to which the segment belongs, offs is the segment start or end offset +// as determined by the start value. If there are no more segment changes, +// next returns an index value < 0. +// +func (m *merger) next() (index, offs int, start bool) { + // find the next smallest offset where a segment starts or ends + offs = infinity + index = -1 + for i, seg := range m.segments { + switch { + case seg.start < offs: + offs = seg.start + index = i + start = true + case seg.end < offs: + offs = seg.end + index = i + start = false + } + } + if index < 0 { + // no offset found => all selections merged + return + } + // offset found - it's either the start or end offset but + // either way it is ok to consume the start offset: set it + // to infinity so it won't be considered in the following + // next call + m.segments[index].start = infinity + if start { + return + } + // end offset found - consume it + m.segments[index].end = infinity + // advance to the next segment for that selection + seg := m.selections[index]() + if !seg.isEmpty() { + m.segments[index] = seg + } + return +} + +// ---------------------------------------------------------------------------- +// Implementation of FormatText + +// lineSelection returns the line segments for text as a Selection. +func lineSelection(text []byte) Selection { + i, j := 0, 0 + return func() (seg Segment) { + // find next newline, if any + for j < len(text) { + j++ + if text[j-1] == '\n' { + break + } + } + if i < j { + // text[i:j] constitutes a line + seg = Segment{i, j} + i = j + } + return + } +} + +// tokenSelection returns, as a selection, the sequence of +// consecutive occurrences of token sel in the Go src text. +// +func tokenSelection(src []byte, sel token.Token) Selection { + var s scanner.Scanner + fset := token.NewFileSet() + file := fset.AddFile("", fset.Base(), len(src)) + s.Init(file, src, nil, scanner.ScanComments) + return func() (seg Segment) { + for { + pos, tok, lit := s.Scan() + if tok == token.EOF { + break + } + offs := file.Offset(pos) + if tok == sel { + seg = Segment{offs, offs + len(lit)} + break + } + } + return + } +} + +// makeSelection is a helper function to make a Selection from a slice of pairs. +// Pairs describing empty segments are ignored. +// +func makeSelection(matches [][]int) Selection { + i := 0 + return func() Segment { + for i < len(matches) { + m := matches[i] + i++ + if m[0] < m[1] { + // non-empty segment + return Segment{m[0], m[1]} + } + } + return Segment{} + } +} + +// regexpSelection computes the Selection for the regular expression expr in text. +func regexpSelection(text []byte, expr string) Selection { + var matches [][]int + if rx, err := regexp.Compile(expr); err == nil { + matches = rx.FindAllIndex(text, -1) + } + return makeSelection(matches) +} + +var selRx = regexp.MustCompile(`^([0-9]+):([0-9]+)`) + +// RangeSelection computes the Selection for a text range described +// by the argument str; the range description must match the selRx +// regular expression. +func RangeSelection(str string) Selection { + m := selRx.FindStringSubmatch(str) + if len(m) >= 2 { + from, _ := strconv.Atoi(m[1]) + to, _ := strconv.Atoi(m[2]) + if from < to { + return makeSelection([][]int{{from, to}}) + } + } + return nil +} + +// Span tags for all the possible selection combinations that may +// be generated by FormatText. Selections are indicated by a bitset, +// and the value of the bitset specifies the tag to be used. +// +// bit 0: comments +// bit 1: highlights +// bit 2: selections +// +var startTags = [][]byte{ + /* 000 */ []byte(``), + /* 001 */ []byte(``), + /* 010 */ []byte(``), + /* 011 */ []byte(``), + /* 100 */ []byte(``), + /* 101 */ []byte(``), + /* 110 */ []byte(``), + /* 111 */ []byte(``), +} + +var endTag = []byte(``) + +func selectionTag(w io.Writer, text []byte, selections int) { + if selections < len(startTags) { + if tag := startTags[selections]; len(tag) > 0 { + w.Write(tag) + template.HTMLEscape(w, text) + w.Write(endTag) + return + } + } + template.HTMLEscape(w, text) +} + +// FormatText HTML-escapes text and writes it to w. +// Consecutive text segments are wrapped in HTML spans (with tags as +// defined by startTags and endTag) as follows: +// +// - if line >= 0, line number (ln) spans are inserted before each line, +// starting with the value of line +// - if the text is Go source, comments get the "comment" span class +// - each occurrence of the regular expression pattern gets the "highlight" +// span class +// - text segments covered by selection get the "selection" span class +// +// Comments, highlights, and selections may overlap arbitrarily; the respective +// HTML span classes are specified in the startTags variable. +// +func FormatText(w io.Writer, text []byte, line int, goSource bool, pattern string, selection Selection) { + var comments, highlights Selection + if goSource { + comments = tokenSelection(text, token.COMMENT) + } + if pattern != "" { + highlights = regexpSelection(text, pattern) + } + if line >= 0 || comments != nil || highlights != nil || selection != nil { + var lineTag LinkWriter + if line >= 0 { + lineTag = func(w io.Writer, _ int, start bool) { + if start { + fmt.Fprintf(w, "%6d\t", line, line) + line++ + } + } + } + FormatSelections(w, text, lineTag, lineSelection(text), selectionTag, comments, highlights, selection) + } else { + template.HTMLEscape(w, text) + } +} diff --git a/vendor/golang.org/x/tools/godoc/godoc.go b/vendor/golang.org/x/tools/godoc/godoc.go new file mode 100644 index 0000000..d6c27d0 --- /dev/null +++ b/vendor/golang.org/x/tools/godoc/godoc.go @@ -0,0 +1,911 @@ +// Copyright 2013 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// Package godoc is a work-in-progress (2013-07-17) package to +// begin splitting up the godoc binary into multiple pieces. +// +// This package comment will evolve over time as this package splits +// into smaller pieces. +package godoc // import "golang.org/x/tools/godoc" + +import ( + "bytes" + "fmt" + "go/ast" + "go/doc" + "go/format" + "go/printer" + "go/token" + htmltemplate "html/template" + "io" + "log" + "os" + pathpkg "path" + "regexp" + "strconv" + "strings" + "text/template" + "time" + "unicode" + "unicode/utf8" +) + +// Fake relative package path for built-ins. Documentation for all globals +// (not just exported ones) will be shown for packages in this directory. +const builtinPkgPath = "builtin" + +// FuncMap defines template functions used in godoc templates. +// +// Convention: template function names ending in "_html" or "_url" produce +// HTML- or URL-escaped strings; all other function results may +// require explicit escaping in the template. +func (p *Presentation) FuncMap() template.FuncMap { + p.initFuncMapOnce.Do(p.initFuncMap) + return p.funcMap +} + +func (p *Presentation) TemplateFuncs() template.FuncMap { + p.initFuncMapOnce.Do(p.initFuncMap) + return p.templateFuncs +} + +func (p *Presentation) initFuncMap() { + if p.Corpus == nil { + panic("nil Presentation.Corpus") + } + p.templateFuncs = template.FuncMap{ + "code": p.code, + } + p.funcMap = template.FuncMap{ + // various helpers + "filename": filenameFunc, + "repeat": strings.Repeat, + + // access to FileInfos (directory listings) + "fileInfoName": fileInfoNameFunc, + "fileInfoTime": fileInfoTimeFunc, + + // access to search result information + "infoKind_html": infoKind_htmlFunc, + "infoLine": p.infoLineFunc, + "infoSnippet_html": p.infoSnippet_htmlFunc, + + // formatting of AST nodes + "node": p.nodeFunc, + "node_html": p.node_htmlFunc, + "comment_html": comment_htmlFunc, + "comment_text": comment_textFunc, + "sanitize": sanitizeFunc, + + // support for URL attributes + "pkgLink": pkgLinkFunc, + "srcLink": srcLinkFunc, + "posLink_url": newPosLink_urlFunc(srcPosLinkFunc), + "docLink": docLinkFunc, + "queryLink": queryLinkFunc, + "srcBreadcrumb": srcBreadcrumbFunc, + "srcToPkgLink": srcToPkgLinkFunc, + + // formatting of Examples + "example_html": p.example_htmlFunc, + "example_text": p.example_textFunc, + "example_name": p.example_nameFunc, + "example_suffix": p.example_suffixFunc, + + // formatting of analysis information + "callgraph_html": p.callgraph_htmlFunc, + "implements_html": p.implements_htmlFunc, + "methodset_html": p.methodset_htmlFunc, + + // formatting of Notes + "noteTitle": noteTitle, + + // Number operation + "multiply": multiply, + + // formatting of PageInfoMode query string + "modeQueryString": modeQueryString, + } + if p.URLForSrc != nil { + p.funcMap["srcLink"] = p.URLForSrc + } + if p.URLForSrcPos != nil { + p.funcMap["posLink_url"] = newPosLink_urlFunc(p.URLForSrcPos) + } + if p.URLForSrcQuery != nil { + p.funcMap["queryLink"] = p.URLForSrcQuery + } +} + +func multiply(a, b int) int { return a * b } + +func filenameFunc(path string) string { + _, localname := pathpkg.Split(path) + return localname +} + +func fileInfoNameFunc(fi os.FileInfo) string { + name := fi.Name() + if fi.IsDir() { + name += "/" + } + return name +} + +func fileInfoTimeFunc(fi os.FileInfo) string { + if t := fi.ModTime(); t.Unix() != 0 { + return t.Local().String() + } + return "" // don't return epoch if time is obviously not set +} + +// The strings in infoKinds must be properly html-escaped. +var infoKinds = [nKinds]string{ + PackageClause: "package clause", + ImportDecl: "import decl", + ConstDecl: "const decl", + TypeDecl: "type decl", + VarDecl: "var decl", + FuncDecl: "func decl", + MethodDecl: "method decl", + Use: "use", +} + +func infoKind_htmlFunc(info SpotInfo) string { + return infoKinds[info.Kind()] // infoKind entries are html-escaped +} + +func (p *Presentation) infoLineFunc(info SpotInfo) int { + line := info.Lori() + if info.IsIndex() { + index, _ := p.Corpus.searchIndex.Get() + if index != nil { + line = index.(*Index).Snippet(line).Line + } else { + // no line information available because + // we don't have an index - this should + // never happen; be conservative and don't + // crash + line = 0 + } + } + return line +} + +func (p *Presentation) infoSnippet_htmlFunc(info SpotInfo) string { + if info.IsIndex() { + index, _ := p.Corpus.searchIndex.Get() + // Snippet.Text was HTML-escaped when it was generated + return index.(*Index).Snippet(info.Lori()).Text + } + return `no snippet text available` +} + +func (p *Presentation) nodeFunc(info *PageInfo, node interface{}) string { + var buf bytes.Buffer + p.writeNode(&buf, info.FSet, node) + return buf.String() +} + +func (p *Presentation) node_htmlFunc(info *PageInfo, node interface{}, linkify bool) string { + var buf1 bytes.Buffer + p.writeNode(&buf1, info.FSet, node) + + var buf2 bytes.Buffer + if n, _ := node.(ast.Node); n != nil && linkify && p.DeclLinks { + LinkifyText(&buf2, buf1.Bytes(), n) + if st, name := isStructTypeDecl(n); st != nil { + addStructFieldIDAttributes(&buf2, name, st) + } + } else { + FormatText(&buf2, buf1.Bytes(), -1, true, "", nil) + } + + return buf2.String() +} + +// isStructTypeDecl checks whether n is a struct declaration. +// It either returns a non-nil StructType and its name, or zero values. +func isStructTypeDecl(n ast.Node) (st *ast.StructType, name string) { + gd, ok := n.(*ast.GenDecl) + if !ok || gd.Tok != token.TYPE { + return nil, "" + } + if gd.Lparen > 0 { + // Parenthesized type. Who does that, anyway? + // TODO: Reportedly gri does. Fix this to handle that too. + return nil, "" + } + if len(gd.Specs) != 1 { + return nil, "" + } + ts, ok := gd.Specs[0].(*ast.TypeSpec) + if !ok { + return nil, "" + } + st, ok = ts.Type.(*ast.StructType) + if !ok { + return nil, "" + } + return st, ts.Name.Name +} + +// addStructFieldIDAttributes modifies the contents of buf such that +// all struct fields of the named struct have +// in them, so people can link to /#Struct.Field. +func addStructFieldIDAttributes(buf *bytes.Buffer, name string, st *ast.StructType) { + if st.Fields == nil { + return + } + // needsLink is a set of identifiers that still need to be + // linked, where value == key, to avoid an allocation in func + // linkedField. + needsLink := make(map[string]string) + + for _, f := range st.Fields.List { + if len(f.Names) == 0 { + continue + } + fieldName := f.Names[0].Name + needsLink[fieldName] = fieldName + } + var newBuf bytes.Buffer + foreachLine(buf.Bytes(), func(line []byte) { + if fieldName := linkedField(line, needsLink); fieldName != "" { + fmt.Fprintf(&newBuf, ``, name, fieldName) + delete(needsLink, fieldName) + } + newBuf.Write(line) + }) + buf.Reset() + buf.Write(newBuf.Bytes()) +} + +// foreachLine calls fn for each line of in, where a line includes +// the trailing "\n", except on the last line, if it doesn't exist. +func foreachLine(in []byte, fn func(line []byte)) { + for len(in) > 0 { + nl := bytes.IndexByte(in, '\n') + if nl == -1 { + fn(in) + return + } + fn(in[:nl+1]) + in = in[nl+1:] + } +} + +// commentPrefix is the line prefix for comments after they've been HTMLified. +var commentPrefix = []byte(`// `) + +// linkedField determines whether the given line starts with an +// identifer in the provided ids map (mapping from identifier to the +// same identifier). The line can start with either an identifier or +// an identifier in a comment. If one matches, it returns the +// identifier that matched. Otherwise it returns the empty string. +func linkedField(line []byte, ids map[string]string) string { + line = bytes.TrimSpace(line) + + // For fields with a doc string of the + // conventional form, we put the new span into + // the comment instead of the field. + // The "conventional" form is a complete sentence + // per https://golang.org/s/style#comment-sentences like: + // + // // Foo is an optional Fooer to foo the foos. + // Foo Fooer + // + // In this case, we want the #StructName.Foo + // link to make the browser go to the comment + // line "Foo is an optional Fooer" instead of + // the "Foo Fooer" line, which could otherwise + // obscure the docs above the browser's "fold". + // + // TODO: do this better, so it works for all + // comments, including unconventional ones. + if bytes.HasPrefix(line, commentPrefix) { + line = line[len(commentPrefix):] + } + id := scanIdentifier(line) + if len(id) == 0 { + // No leading identifier. Avoid map lookup for + // somewhat common case. + return "" + } + return ids[string(id)] +} + +// scanIdentifier scans a valid Go identifier off the front of v and +// either returns a subslice of v if there's a valid identifier, or +// returns a zero-length slice. +func scanIdentifier(v []byte) []byte { + var n int // number of leading bytes of v belonging to an identifier + for { + r, width := utf8.DecodeRune(v[n:]) + if !(isLetter(r) || n > 0 && isDigit(r)) { + break + } + n += width + } + return v[:n] +} + +func isLetter(ch rune) bool { + return 'a' <= ch && ch <= 'z' || 'A' <= ch && ch <= 'Z' || ch == '_' || ch >= utf8.RuneSelf && unicode.IsLetter(ch) +} + +func isDigit(ch rune) bool { + return '0' <= ch && ch <= '9' || ch >= utf8.RuneSelf && unicode.IsDigit(ch) +} + +func comment_htmlFunc(comment string) string { + var buf bytes.Buffer + // TODO(gri) Provide list of words (e.g. function parameters) + // to be emphasized by ToHTML. + doc.ToHTML(&buf, comment, nil) // does html-escaping + return buf.String() +} + +// punchCardWidth is the number of columns of fixed-width +// characters to assume when wrapping text. Very few people +// use terminals or cards smaller than 80 characters, so 80 it is. +// We do not try to sniff the environment or the tty to adapt to +// the situation; instead, by using a constant we make sure that +// godoc always produces the same output regardless of context, +// a consistency that is lost otherwise. For example, if we sniffed +// the environment or tty, then http://golang.org/pkg/math/?m=text +// would depend on the width of the terminal where godoc started, +// which is clearly bogus. More generally, the Unix tools that behave +// differently when writing to a tty than when writing to a file have +// a history of causing confusion (compare `ls` and `ls | cat`), and we +// want to avoid that mistake here. +const punchCardWidth = 80 + +func containsOnlySpace(buf []byte) bool { + isNotSpace := func(r rune) bool { return !unicode.IsSpace(r) } + return bytes.IndexFunc(buf, isNotSpace) == -1 +} + +func comment_textFunc(comment, indent, preIndent string) string { + var buf bytes.Buffer + doc.ToText(&buf, comment, indent, preIndent, punchCardWidth-2*len(indent)) + if containsOnlySpace(buf.Bytes()) { + return "" + } + return buf.String() +} + +// sanitizeFunc sanitizes the argument src by replacing newlines with +// blanks, removing extra blanks, and by removing trailing whitespace +// and commas before closing parentheses. +func sanitizeFunc(src string) string { + buf := make([]byte, len(src)) + j := 0 // buf index + comma := -1 // comma index if >= 0 + for i := 0; i < len(src); i++ { + ch := src[i] + switch ch { + case '\t', '\n', ' ': + // ignore whitespace at the beginning, after a blank, or after opening parentheses + if j == 0 { + continue + } + if p := buf[j-1]; p == ' ' || p == '(' || p == '{' || p == '[' { + continue + } + // replace all whitespace with blanks + ch = ' ' + case ',': + comma = j + case ')', '}', ']': + // remove any trailing comma + if comma >= 0 { + j = comma + } + // remove any trailing whitespace + if j > 0 && buf[j-1] == ' ' { + j-- + } + default: + comma = -1 + } + buf[j] = ch + j++ + } + // remove trailing blank, if any + if j > 0 && buf[j-1] == ' ' { + j-- + } + return string(buf[:j]) +} + +type PageInfo struct { + Dirname string // directory containing the package + Err error // error or nil + GoogleCN bool // page is being served from golang.google.cn + + Mode PageInfoMode // display metadata from query string + + // package info + FSet *token.FileSet // nil if no package documentation + PDoc *doc.Package // nil if no package documentation + Examples []*doc.Example // nil if no example code + Notes map[string][]*doc.Note // nil if no package Notes + PAst map[string]*ast.File // nil if no AST with package exports + IsMain bool // true for package main + IsFiltered bool // true if results were filtered + + // analysis info + TypeInfoIndex map[string]int // index of JSON datum for type T (if -analysis=type) + AnalysisData htmltemplate.JS // array of TypeInfoJSON values + CallGraph htmltemplate.JS // array of PCGNodeJSON values (if -analysis=pointer) + CallGraphIndex map[string]int // maps func name to index in CallGraph + + // directory info + Dirs *DirList // nil if no directory information + DirTime time.Time // directory time stamp + DirFlat bool // if set, show directory in a flat (non-indented) manner +} + +func (info *PageInfo) IsEmpty() bool { + return info.Err != nil || info.PAst == nil && info.PDoc == nil && info.Dirs == nil +} + +func pkgLinkFunc(path string) string { + // because of the irregular mapping under goroot + // we need to correct certain relative paths + path = strings.TrimPrefix(path, "/") + path = strings.TrimPrefix(path, "src/") + path = strings.TrimPrefix(path, "pkg/") + return "pkg/" + path +} + +// srcToPkgLinkFunc builds an tag linking to the package +// documentation of relpath. +func srcToPkgLinkFunc(relpath string) string { + relpath = pkgLinkFunc(relpath) + relpath = pathpkg.Dir(relpath) + if relpath == "pkg" { + return `Index` + } + return fmt.Sprintf(`%s`, relpath, relpath[len("pkg/"):]) +} + +// srcBreadcrumbFun converts each segment of relpath to a HTML . +// Each segment links to its corresponding src directories. +func srcBreadcrumbFunc(relpath string) string { + segments := strings.Split(relpath, "/") + var buf bytes.Buffer + var selectedSegment string + var selectedIndex int + + if strings.HasSuffix(relpath, "/") { + // relpath is a directory ending with a "/". + // Selected segment is the segment before the last slash. + selectedIndex = len(segments) - 2 + selectedSegment = segments[selectedIndex] + "/" + } else { + selectedIndex = len(segments) - 1 + selectedSegment = segments[selectedIndex] + } + + for i := range segments[:selectedIndex] { + buf.WriteString(fmt.Sprintf(`%s/`, + strings.Join(segments[:i+1], "/"), + segments[i], + )) + } + + buf.WriteString(``) + buf.WriteString(selectedSegment) + buf.WriteString(``) + return buf.String() +} + +func newPosLink_urlFunc(srcPosLinkFunc func(s string, line, low, high int) string) func(info *PageInfo, n interface{}) string { + // n must be an ast.Node or a *doc.Note + return func(info *PageInfo, n interface{}) string { + var pos, end token.Pos + + switch n := n.(type) { + case ast.Node: + pos = n.Pos() + end = n.End() + case *doc.Note: + pos = n.Pos + end = n.End + default: + panic(fmt.Sprintf("wrong type for posLink_url template formatter: %T", n)) + } + + var relpath string + var line int + var low, high int // selection offset range + + if pos.IsValid() { + p := info.FSet.Position(pos) + relpath = p.Filename + line = p.Line + low = p.Offset + } + if end.IsValid() { + high = info.FSet.Position(end).Offset + } + + return srcPosLinkFunc(relpath, line, low, high) + } +} + +func srcPosLinkFunc(s string, line, low, high int) string { + s = srcLinkFunc(s) + var buf bytes.Buffer + template.HTMLEscape(&buf, []byte(s)) + // selection ranges are of form "s=low:high" + if low < high { + fmt.Fprintf(&buf, "?s=%d:%d", low, high) // no need for URL escaping + // if we have a selection, position the page + // such that the selection is a bit below the top + line -= 10 + if line < 1 { + line = 1 + } + } + // line id's in html-printed source are of the + // form "L%d" where %d stands for the line number + if line > 0 { + fmt.Fprintf(&buf, "#L%d", line) // no need for URL escaping + } + return buf.String() +} + +func srcLinkFunc(s string) string { + s = pathpkg.Clean("/" + s) + if !strings.HasPrefix(s, "/src/") { + s = "/src" + s + } + return s +} + +// queryLinkFunc returns a URL for a line in a source file with a highlighted +// query term. +// s is expected to be a path to a source file. +// query is expected to be a string that has already been appropriately escaped +// for use in a URL query. +func queryLinkFunc(s, query string, line int) string { + url := pathpkg.Clean("/"+s) + "?h=" + query + if line > 0 { + url += "#L" + strconv.Itoa(line) + } + return url +} + +func docLinkFunc(s string, ident string) string { + return pathpkg.Clean("/pkg/"+s) + "/#" + ident +} + +func (p *Presentation) example_textFunc(info *PageInfo, funcName, indent string) string { + if !p.ShowExamples { + return "" + } + + var buf bytes.Buffer + first := true + for _, eg := range info.Examples { + name := stripExampleSuffix(eg.Name) + if name != funcName { + continue + } + + if !first { + buf.WriteString("\n") + } + first = false + + // print code + cnode := &printer.CommentedNode{Node: eg.Code, Comments: eg.Comments} + config := &printer.Config{Mode: printer.UseSpaces, Tabwidth: p.TabWidth} + var buf1 bytes.Buffer + config.Fprint(&buf1, info.FSet, cnode) + code := buf1.String() + + // Additional formatting if this is a function body. Unfortunately, we + // can't print statements individually because we would lose comments + // on later statements. + if n := len(code); n >= 2 && code[0] == '{' && code[n-1] == '}' { + // remove surrounding braces + code = code[1 : n-1] + // unindent + code = replaceLeadingIndentation(code, strings.Repeat(" ", p.TabWidth), indent) + } + code = strings.Trim(code, "\n") + + buf.WriteString(indent) + buf.WriteString("Example:\n") + buf.WriteString(code) + buf.WriteString("\n\n") + } + return buf.String() +} + +func (p *Presentation) example_htmlFunc(info *PageInfo, funcName string) string { + var buf bytes.Buffer + for _, eg := range info.Examples { + name := stripExampleSuffix(eg.Name) + + if name != funcName { + continue + } + + // print code + cnode := &printer.CommentedNode{Node: eg.Code, Comments: eg.Comments} + code := p.node_htmlFunc(info, cnode, true) + out := eg.Output + wholeFile := true + + // Additional formatting if this is a function body. + if n := len(code); n >= 2 && code[0] == '{' && code[n-1] == '}' { + wholeFile = false + // remove surrounding braces + code = code[1 : n-1] + // unindent + code = replaceLeadingIndentation(code, strings.Repeat(" ", p.TabWidth), "") + // remove output comment + if loc := exampleOutputRx.FindStringIndex(code); loc != nil { + code = strings.TrimSpace(code[:loc[0]]) + } + } + + // Write out the playground code in standard Go style + // (use tabs, no comment highlight, etc). + play := "" + if eg.Play != nil && p.ShowPlayground { + var buf bytes.Buffer + if err := format.Node(&buf, info.FSet, eg.Play); err != nil { + log.Print(err) + } else { + play = buf.String() + } + } + + // Drop output, as the output comment will appear in the code. + if wholeFile && play == "" { + out = "" + } + + if p.ExampleHTML == nil { + out = "" + return "" + } + + err := p.ExampleHTML.Execute(&buf, struct { + Name, Doc, Code, Play, Output string + GoogleCN bool + }{eg.Name, eg.Doc, code, play, out, info.GoogleCN}) + if err != nil { + log.Print(err) + } + } + return buf.String() +} + +// example_nameFunc takes an example function name and returns its display +// name. For example, "Foo_Bar_quux" becomes "Foo.Bar (Quux)". +func (p *Presentation) example_nameFunc(s string) string { + name, suffix := splitExampleName(s) + // replace _ with . for method names + name = strings.Replace(name, "_", ".", 1) + // use "Package" if no name provided + if name == "" { + name = "Package" + } + return name + suffix +} + +// example_suffixFunc takes an example function name and returns its suffix in +// parenthesized form. For example, "Foo_Bar_quux" becomes " (Quux)". +func (p *Presentation) example_suffixFunc(name string) string { + _, suffix := splitExampleName(name) + return suffix +} + +// implements_html returns the "> Implements" toggle for a package-level named type. +// Its contents are populated from JSON data by client-side JS at load time. +func (p *Presentation) implements_htmlFunc(info *PageInfo, typeName string) string { + if p.ImplementsHTML == nil { + return "" + } + index, ok := info.TypeInfoIndex[typeName] + if !ok { + return "" + } + var buf bytes.Buffer + err := p.ImplementsHTML.Execute(&buf, struct{ Index int }{index}) + if err != nil { + log.Print(err) + } + return buf.String() +} + +// methodset_html returns the "> Method set" toggle for a package-level named type. +// Its contents are populated from JSON data by client-side JS at load time. +func (p *Presentation) methodset_htmlFunc(info *PageInfo, typeName string) string { + if p.MethodSetHTML == nil { + return "" + } + index, ok := info.TypeInfoIndex[typeName] + if !ok { + return "" + } + var buf bytes.Buffer + err := p.MethodSetHTML.Execute(&buf, struct{ Index int }{index}) + if err != nil { + log.Print(err) + } + return buf.String() +} + +// callgraph_html returns the "> Call graph" toggle for a package-level func. +// Its contents are populated from JSON data by client-side JS at load time. +func (p *Presentation) callgraph_htmlFunc(info *PageInfo, recv, name string) string { + if p.CallGraphHTML == nil { + return "" + } + if recv != "" { + // Format must match (*ssa.Function).RelString(). + name = fmt.Sprintf("(%s).%s", recv, name) + } + index, ok := info.CallGraphIndex[name] + if !ok { + return "" + } + var buf bytes.Buffer + err := p.CallGraphHTML.Execute(&buf, struct{ Index int }{index}) + if err != nil { + log.Print(err) + } + return buf.String() +} + +func noteTitle(note string) string { + return strings.Title(strings.ToLower(note)) +} + +func startsWithUppercase(s string) bool { + r, _ := utf8.DecodeRuneInString(s) + return unicode.IsUpper(r) +} + +var exampleOutputRx = regexp.MustCompile(`(?i)//[[:space:]]*(unordered )?output:`) + +// stripExampleSuffix strips lowercase braz in Foo_braz or Foo_Bar_braz from name +// while keeping uppercase Braz in Foo_Braz. +func stripExampleSuffix(name string) string { + if i := strings.LastIndex(name, "_"); i != -1 { + if i < len(name)-1 && !startsWithUppercase(name[i+1:]) { + name = name[:i] + } + } + return name +} + +func splitExampleName(s string) (name, suffix string) { + i := strings.LastIndex(s, "_") + if 0 <= i && i < len(s)-1 && !startsWithUppercase(s[i+1:]) { + name = s[:i] + suffix = " (" + strings.Title(s[i+1:]) + ")" + return + } + name = s + return +} + +// replaceLeadingIndentation replaces oldIndent at the beginning of each line +// with newIndent. This is used for formatting examples. Raw strings that +// span multiple lines are handled specially: oldIndent is not removed (since +// go/printer will not add any indentation there), but newIndent is added +// (since we may still want leading indentation). +func replaceLeadingIndentation(body, oldIndent, newIndent string) string { + // Handle indent at the beginning of the first line. After this, we handle + // indentation only after a newline. + var buf bytes.Buffer + if strings.HasPrefix(body, oldIndent) { + buf.WriteString(newIndent) + body = body[len(oldIndent):] + } + + // Use a state machine to keep track of whether we're in a string or + // rune literal while we process the rest of the code. + const ( + codeState = iota + runeState + interpretedStringState + rawStringState + ) + searchChars := []string{ + "'\"`\n", // codeState + `\'`, // runeState + `\"`, // interpretedStringState + "`\n", // rawStringState + // newlineState does not need to search + } + state := codeState + for { + i := strings.IndexAny(body, searchChars[state]) + if i < 0 { + buf.WriteString(body) + break + } + c := body[i] + buf.WriteString(body[:i+1]) + body = body[i+1:] + switch state { + case codeState: + switch c { + case '\'': + state = runeState + case '"': + state = interpretedStringState + case '`': + state = rawStringState + case '\n': + if strings.HasPrefix(body, oldIndent) { + buf.WriteString(newIndent) + body = body[len(oldIndent):] + } + } + + case runeState: + switch c { + case '\\': + r, size := utf8.DecodeRuneInString(body) + buf.WriteRune(r) + body = body[size:] + case '\'': + state = codeState + } + + case interpretedStringState: + switch c { + case '\\': + r, size := utf8.DecodeRuneInString(body) + buf.WriteRune(r) + body = body[size:] + case '"': + state = codeState + } + + case rawStringState: + switch c { + case '`': + state = codeState + case '\n': + buf.WriteString(newIndent) + } + } + } + return buf.String() +} + +// Write an AST node to w. +func (p *Presentation) writeNode(w io.Writer, fset *token.FileSet, x interface{}) { + // convert trailing tabs into spaces using a tconv filter + // to ensure a good outcome in most browsers (there may still + // be tabs in comments and strings, but converting those into + // the right number of spaces is much harder) + // + // TODO(gri) rethink printer flags - perhaps tconv can be eliminated + // with an another printer mode (which is more efficiently + // implemented in the printer than here with another layer) + mode := printer.TabIndent | printer.UseSpaces + err := (&printer.Config{Mode: mode, Tabwidth: p.TabWidth}).Fprint(&tconv{p: p, output: w}, fset, x) + if err != nil { + log.Print(err) + } +} + +// WriteNode writes x to w. +// TODO(bgarcia) Is this method needed? It's just a wrapper for p.writeNode. +func (p *Presentation) WriteNode(w io.Writer, fset *token.FileSet, x interface{}) { + p.writeNode(w, fset, x) +} diff --git a/vendor/golang.org/x/tools/godoc/godoc17_test.go b/vendor/golang.org/x/tools/godoc/godoc17_test.go new file mode 100644 index 0000000..d153991 --- /dev/null +++ b/vendor/golang.org/x/tools/godoc/godoc17_test.go @@ -0,0 +1,35 @@ +// Copyright 2017 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// +build go1.7 + +package godoc + +import ( + "bytes" + "fmt" + "testing" +) + +// Verify that scanIdentifier isn't quadratic. +// This doesn't actually measure and fail on its own, but it was previously +// very obvious when running by hand. +// +// TODO: if there's a reliable and non-flaky way to test this, do so. +// Maybe count user CPU time instead of wall time? But that's not easy +// to do portably in Go. +func TestStructField(t *testing.T) { + for _, n := range []int{10, 100, 1000, 10000} { + n := n + t.Run(fmt.Sprint(n), func(t *testing.T) { + var buf bytes.Buffer + fmt.Fprintf(&buf, "package foo\n\ntype T struct {\n") + for i := 0; i < n; i++ { + fmt.Fprintf(&buf, "\t// Field%d is foo.\n\tField%d int\n\n", i, i) + } + fmt.Fprintf(&buf, "}\n") + linkifySource(t, buf.Bytes()) + }) + } +} diff --git a/vendor/golang.org/x/tools/godoc/godoc_test.go b/vendor/golang.org/x/tools/godoc/godoc_test.go new file mode 100644 index 0000000..c1d631c --- /dev/null +++ b/vendor/golang.org/x/tools/godoc/godoc_test.go @@ -0,0 +1,323 @@ +// Copyright 2013 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package godoc + +import ( + "bytes" + "go/parser" + "go/token" + "strings" + "testing" +) + +func TestPkgLinkFunc(t *testing.T) { + for _, tc := range []struct { + path string + want string + }{ + {"/src/fmt", "pkg/fmt"}, + {"src/fmt", "pkg/fmt"}, + {"/fmt", "pkg/fmt"}, + {"fmt", "pkg/fmt"}, + } { + if got := pkgLinkFunc(tc.path); got != tc.want { + t.Errorf("pkgLinkFunc(%v) = %v; want %v", tc.path, got, tc.want) + } + } +} + +func TestSrcPosLinkFunc(t *testing.T) { + for _, tc := range []struct { + src string + line int + low int + high int + want string + }{ + {"/src/fmt/print.go", 42, 30, 50, "/src/fmt/print.go?s=30:50#L32"}, + {"/src/fmt/print.go", 2, 1, 5, "/src/fmt/print.go?s=1:5#L1"}, + {"/src/fmt/print.go", 2, 0, 0, "/src/fmt/print.go#L2"}, + {"/src/fmt/print.go", 0, 0, 0, "/src/fmt/print.go"}, + {"/src/fmt/print.go", 0, 1, 5, "/src/fmt/print.go?s=1:5#L1"}, + {"fmt/print.go", 0, 0, 0, "/src/fmt/print.go"}, + {"fmt/print.go", 0, 1, 5, "/src/fmt/print.go?s=1:5#L1"}, + } { + if got := srcPosLinkFunc(tc.src, tc.line, tc.low, tc.high); got != tc.want { + t.Errorf("srcLinkFunc(%v, %v, %v, %v) = %v; want %v", tc.src, tc.line, tc.low, tc.high, got, tc.want) + } + } +} + +func TestSrcLinkFunc(t *testing.T) { + for _, tc := range []struct { + src string + want string + }{ + {"/src/fmt/print.go", "/src/fmt/print.go"}, + {"src/fmt/print.go", "/src/fmt/print.go"}, + {"/fmt/print.go", "/src/fmt/print.go"}, + {"fmt/print.go", "/src/fmt/print.go"}, + } { + if got := srcLinkFunc(tc.src); got != tc.want { + t.Errorf("srcLinkFunc(%v) = %v; want %v", tc.src, got, tc.want) + } + } +} + +func TestQueryLinkFunc(t *testing.T) { + for _, tc := range []struct { + src string + query string + line int + want string + }{ + {"/src/fmt/print.go", "Sprintf", 33, "/src/fmt/print.go?h=Sprintf#L33"}, + {"/src/fmt/print.go", "Sprintf", 0, "/src/fmt/print.go?h=Sprintf"}, + {"src/fmt/print.go", "EOF", 33, "/src/fmt/print.go?h=EOF#L33"}, + {"src/fmt/print.go", "a%3f+%26b", 1, "/src/fmt/print.go?h=a%3f+%26b#L1"}, + } { + if got := queryLinkFunc(tc.src, tc.query, tc.line); got != tc.want { + t.Errorf("queryLinkFunc(%v, %v, %v) = %v; want %v", tc.src, tc.query, tc.line, got, tc.want) + } + } +} + +func TestDocLinkFunc(t *testing.T) { + for _, tc := range []struct { + src string + ident string + want string + }{ + {"fmt", "Sprintf", "/pkg/fmt/#Sprintf"}, + {"fmt", "EOF", "/pkg/fmt/#EOF"}, + } { + if got := docLinkFunc(tc.src, tc.ident); got != tc.want { + t.Errorf("docLinkFunc(%v, %v) = %v; want %v", tc.src, tc.ident, got, tc.want) + } + } +} + +func TestSanitizeFunc(t *testing.T) { + for _, tc := range []struct { + src string + want string + }{ + {}, + {"foo", "foo"}, + {"func f()", "func f()"}, + {"func f(a int,)", "func f(a int)"}, + {"func f(a int,\n)", "func f(a int)"}, + {"func f(\n\ta int,\n\tb int,\n\tc int,\n)", "func f(a int, b int, c int)"}, + {" ( a, b, c ) ", "(a, b, c)"}, + {"( a, b, c int, foo bar , )", "(a, b, c int, foo bar)"}, + {"{ a, b}", "{a, b}"}, + {"[ a, b]", "[a, b]"}, + } { + if got := sanitizeFunc(tc.src); got != tc.want { + t.Errorf("sanitizeFunc(%v) = %v; want %v", tc.src, got, tc.want) + } + } +} + +// Test that we add elements +// to the HTML of struct fields. +func TestStructFieldsIDAttributes(t *testing.T) { + got := linkifySource(t, []byte(` +package foo + +type T struct { + NoDoc string + + // Doc has a comment. + Doc string + + // Opt, if non-nil, is an option. + Opt *int + + // Опция - другое поле. + Опция bool +} +`)) + want := `type T struct { +NoDoc string + +// Doc has a comment. +Doc string + +// Opt, if non-nil, is an option. +Opt *int + +// Опция - другое поле. +Опция bool +}` + if got != want { + t.Errorf("got: %s\n\nwant: %s\n", got, want) + } +} + +// Test that we add elements to the HTML +// of definitions in const and var specs. +func TestValueSpecIDAttributes(t *testing.T) { + got := linkifySource(t, []byte(` +package foo + +const ( + NoDoc string = "NoDoc" + + // Doc has a comment + Doc = "Doc" + + NoVal +)`)) + want := `const ( +NoDoc string = "NoDoc" + +// Doc has a comment +Doc = "Doc" + +NoVal +)` + if got != want { + t.Errorf("got: %s\n\nwant: %s\n", got, want) + } +} + +func TestCompositeLitLinkFields(t *testing.T) { + got := linkifySource(t, []byte(` +package foo + +type T struct { + X int +} + +var S T = T{X: 12}`)) + want := `type T struct { +X int +} +var S T = T{X: 12}` + if got != want { + t.Errorf("got: %s\n\nwant: %s\n", got, want) + } +} + +func TestFuncDeclNotLink(t *testing.T) { + // Function. + got := linkifySource(t, []byte(` +package http + +func Get(url string) (resp *Response, err error)`)) + want := `func Get(url string) (resp *Response, err error)` + if got != want { + t.Errorf("got: %s\n\nwant: %s\n", got, want) + } + + // Method. + got = linkifySource(t, []byte(` +package http + +func (h Header) Get(key string) string`)) + want = `func (h Header) Get(key string) string` + if got != want { + t.Errorf("got: %s\n\nwant: %s\n", got, want) + } +} + +func linkifySource(t *testing.T, src []byte) string { + p := &Presentation{ + DeclLinks: true, + } + fset := token.NewFileSet() + af, err := parser.ParseFile(fset, "foo.go", src, parser.ParseComments) + if err != nil { + t.Fatal(err) + } + var buf bytes.Buffer + pi := &PageInfo{ + FSet: fset, + } + sep := "" + for _, decl := range af.Decls { + buf.WriteString(sep) + sep = "\n" + buf.WriteString(p.node_htmlFunc(pi, decl, true)) + } + return buf.String() +} + +func TestScanIdentifier(t *testing.T) { + tests := []struct { + in, want string + }{ + {"foo bar", "foo"}, + {"foo/bar", "foo"}, + {" foo", ""}, + {"фоо", "фоо"}, + {"f123", "f123"}, + {"123f", ""}, + } + for _, tt := range tests { + got := scanIdentifier([]byte(tt.in)) + if string(got) != tt.want { + t.Errorf("scanIdentifier(%q) = %q; want %q", tt.in, got, tt.want) + } + } +} + +func TestReplaceLeadingIndentation(t *testing.T) { + oldIndent := strings.Repeat(" ", 2) + newIndent := strings.Repeat(" ", 4) + tests := []struct { + src, want string + }{ + {" foo\n bar\n baz", " foo\n bar\n baz"}, + {" '`'\n '`'\n", " '`'\n '`'\n"}, + {" '\\''\n '`'\n", " '\\''\n '`'\n"}, + {" \"`\"\n \"`\"\n", " \"`\"\n \"`\"\n"}, + {" `foo\n bar`", " `foo\n bar`"}, + {" `foo\\`\n bar", " `foo\\`\n bar"}, + {" '\\`'`foo\n bar", " '\\`'`foo\n bar"}, + { + " if true {\n foo := `One\n \tTwo\nThree`\n }\n", + " if true {\n foo := `One\n \tTwo\n Three`\n }\n", + }, + } + for _, tc := range tests { + if got := replaceLeadingIndentation(tc.src, oldIndent, newIndent); got != tc.want { + t.Errorf("replaceLeadingIndentation:\n%v\n---\nhave:\n%v\n---\nwant:\n%v\n", + tc.src, got, tc.want) + } + } +} + +func TestSrcBreadcrumbFunc(t *testing.T) { + for _, tc := range []struct { + path string + want string + }{ + {"src/", `src/`}, + {"src/fmt/", `src/fmt/`}, + {"src/fmt/print.go", `src/fmt/print.go`}, + } { + if got := srcBreadcrumbFunc(tc.path); got != tc.want { + t.Errorf("srcBreadcrumbFunc(%v) = %v; want %v", tc.path, got, tc.want) + } + } +} + +func TestSrcToPkgLinkFunc(t *testing.T) { + for _, tc := range []struct { + path string + want string + }{ + {"src/", `Index`}, + {"src/fmt/", `fmt`}, + {"pkg/", `Index`}, + {"pkg/LICENSE", `Index`}, + } { + if got := srcToPkgLinkFunc(tc.path); got != tc.want { + t.Errorf("srcToPkgLinkFunc(%v) = %v; want %v", tc.path, got, tc.want) + } + } +} diff --git a/vendor/golang.org/x/tools/godoc/index.go b/vendor/golang.org/x/tools/godoc/index.go new file mode 100644 index 0000000..8cefd14 --- /dev/null +++ b/vendor/golang.org/x/tools/godoc/index.go @@ -0,0 +1,1581 @@ +// Copyright 2009 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// This file contains the infrastructure to create an +// identifier and full-text index for a set of Go files. +// +// Algorithm for identifier index: +// - traverse all .go files of the file tree specified by root +// - for each identifier (word) encountered, collect all occurrences (spots) +// into a list; this produces a list of spots for each word +// - reduce the lists: from a list of spots to a list of FileRuns, +// and from a list of FileRuns into a list of PakRuns +// - make a HitList from the PakRuns +// +// Details: +// - keep two lists per word: one containing package-level declarations +// that have snippets, and one containing all other spots +// - keep the snippets in a separate table indexed by snippet index +// and store the snippet index in place of the line number in a SpotInfo +// (the line number for spots with snippets is stored in the snippet) +// - at the end, create lists of alternative spellings for a given +// word +// +// Algorithm for full text index: +// - concatenate all source code in a byte buffer (in memory) +// - add the files to a file set in lockstep as they are added to the byte +// buffer such that a byte buffer offset corresponds to the Pos value for +// that file location +// - create a suffix array from the concatenated sources +// +// String lookup in full text index: +// - use the suffix array to lookup a string's offsets - the offsets +// correspond to the Pos values relative to the file set +// - translate the Pos values back into file and line information and +// sort the result + +package godoc + +import ( + "bufio" + "bytes" + "encoding/gob" + "errors" + "fmt" + "go/ast" + "go/doc" + "go/parser" + "go/token" + "index/suffixarray" + "io" + "log" + "os" + pathpkg "path" + "path/filepath" + "regexp" + "runtime" + "sort" + "strconv" + "strings" + "sync" + "time" + "unicode" + + "golang.org/x/tools/godoc/util" + "golang.org/x/tools/godoc/vfs" +) + +// ---------------------------------------------------------------------------- +// InterfaceSlice is a helper type for sorting interface +// slices according to some slice-specific sort criteria. + +type comparer func(x, y interface{}) bool + +type interfaceSlice struct { + slice []interface{} + less comparer +} + +// ---------------------------------------------------------------------------- +// RunList + +// A RunList is a list of entries that can be sorted according to some +// criteria. A RunList may be compressed by grouping "runs" of entries +// which are equal (according to the sort critera) into a new RunList of +// runs. For instance, a RunList containing pairs (x, y) may be compressed +// into a RunList containing pair runs (x, {y}) where each run consists of +// a list of y's with the same x. +type RunList []interface{} + +func (h RunList) sort(less comparer) { + sort.Sort(&interfaceSlice{h, less}) +} + +func (p *interfaceSlice) Len() int { return len(p.slice) } +func (p *interfaceSlice) Less(i, j int) bool { return p.less(p.slice[i], p.slice[j]) } +func (p *interfaceSlice) Swap(i, j int) { p.slice[i], p.slice[j] = p.slice[j], p.slice[i] } + +// Compress entries which are the same according to a sort criteria +// (specified by less) into "runs". +func (h RunList) reduce(less comparer, newRun func(h RunList) interface{}) RunList { + if len(h) == 0 { + return nil + } + // len(h) > 0 + + // create runs of entries with equal values + h.sort(less) + + // for each run, make a new run object and collect them in a new RunList + var hh RunList + i, x := 0, h[0] + for j, y := range h { + if less(x, y) { + hh = append(hh, newRun(h[i:j])) + i, x = j, h[j] // start a new run + } + } + // add final run, if any + if i < len(h) { + hh = append(hh, newRun(h[i:])) + } + + return hh +} + +// ---------------------------------------------------------------------------- +// KindRun + +// Debugging support. Disable to see multiple entries per line. +const removeDuplicates = true + +// A KindRun is a run of SpotInfos of the same kind in a given file. +// The kind (3 bits) is stored in each SpotInfo element; to find the +// kind of a KindRun, look at any of its elements. +type KindRun []SpotInfo + +// KindRuns are sorted by line number or index. Since the isIndex bit +// is always the same for all infos in one list we can compare lori's. +func (k KindRun) Len() int { return len(k) } +func (k KindRun) Less(i, j int) bool { return k[i].Lori() < k[j].Lori() } +func (k KindRun) Swap(i, j int) { k[i], k[j] = k[j], k[i] } + +// FileRun contents are sorted by Kind for the reduction into KindRuns. +func lessKind(x, y interface{}) bool { return x.(SpotInfo).Kind() < y.(SpotInfo).Kind() } + +// newKindRun allocates a new KindRun from the SpotInfo run h. +func newKindRun(h RunList) interface{} { + run := make(KindRun, len(h)) + for i, x := range h { + run[i] = x.(SpotInfo) + } + + // Spots were sorted by file and kind to create this run. + // Within this run, sort them by line number or index. + sort.Sort(run) + + if removeDuplicates { + // Since both the lori and kind field must be + // same for duplicates, and since the isIndex + // bit is always the same for all infos in one + // list we can simply compare the entire info. + k := 0 + prev := SpotInfo(1<<32 - 1) // an unlikely value + for _, x := range run { + if x != prev { + run[k] = x + k++ + prev = x + } + } + run = run[0:k] + } + + return run +} + +// ---------------------------------------------------------------------------- +// FileRun + +// A Pak describes a Go package. +type Pak struct { + Path string // path of directory containing the package + Name string // package name as declared by package clause +} + +// Paks are sorted by name (primary key) and by import path (secondary key). +func (p *Pak) less(q *Pak) bool { + return p.Name < q.Name || p.Name == q.Name && p.Path < q.Path +} + +// A File describes a Go file. +type File struct { + Name string // directory-local file name + Pak *Pak // the package to which the file belongs +} + +// Path returns the file path of f. +func (f *File) Path() string { + return pathpkg.Join(f.Pak.Path, f.Name) +} + +// A Spot describes a single occurrence of a word. +type Spot struct { + File *File + Info SpotInfo +} + +// A FileRun is a list of KindRuns belonging to the same file. +type FileRun struct { + File *File + Groups []KindRun +} + +// Spots are sorted by file path for the reduction into FileRuns. +func lessSpot(x, y interface{}) bool { + fx := x.(Spot).File + fy := y.(Spot).File + // same as "return fx.Path() < fy.Path()" but w/o computing the file path first + px := fx.Pak.Path + py := fy.Pak.Path + return px < py || px == py && fx.Name < fy.Name +} + +// newFileRun allocates a new FileRun from the Spot run h. +func newFileRun(h RunList) interface{} { + file := h[0].(Spot).File + + // reduce the list of Spots into a list of KindRuns + h1 := make(RunList, len(h)) + for i, x := range h { + h1[i] = x.(Spot).Info + } + h2 := h1.reduce(lessKind, newKindRun) + + // create the FileRun + groups := make([]KindRun, len(h2)) + for i, x := range h2 { + groups[i] = x.(KindRun) + } + return &FileRun{file, groups} +} + +// ---------------------------------------------------------------------------- +// PakRun + +// A PakRun describes a run of *FileRuns of a package. +type PakRun struct { + Pak *Pak + Files []*FileRun +} + +// Sorting support for files within a PakRun. +func (p *PakRun) Len() int { return len(p.Files) } +func (p *PakRun) Less(i, j int) bool { return p.Files[i].File.Name < p.Files[j].File.Name } +func (p *PakRun) Swap(i, j int) { p.Files[i], p.Files[j] = p.Files[j], p.Files[i] } + +// FileRuns are sorted by package for the reduction into PakRuns. +func lessFileRun(x, y interface{}) bool { + return x.(*FileRun).File.Pak.less(y.(*FileRun).File.Pak) +} + +// newPakRun allocates a new PakRun from the *FileRun run h. +func newPakRun(h RunList) interface{} { + pak := h[0].(*FileRun).File.Pak + files := make([]*FileRun, len(h)) + for i, x := range h { + files[i] = x.(*FileRun) + } + run := &PakRun{pak, files} + sort.Sort(run) // files were sorted by package; sort them by file now + return run +} + +// ---------------------------------------------------------------------------- +// HitList + +// A HitList describes a list of PakRuns. +type HitList []*PakRun + +// PakRuns are sorted by package. +func lessPakRun(x, y interface{}) bool { return x.(*PakRun).Pak.less(y.(*PakRun).Pak) } + +func reduce(h0 RunList) HitList { + // reduce a list of Spots into a list of FileRuns + h1 := h0.reduce(lessSpot, newFileRun) + // reduce a list of FileRuns into a list of PakRuns + h2 := h1.reduce(lessFileRun, newPakRun) + // sort the list of PakRuns by package + h2.sort(lessPakRun) + // create a HitList + h := make(HitList, len(h2)) + for i, p := range h2 { + h[i] = p.(*PakRun) + } + return h +} + +// filter returns a new HitList created by filtering +// all PakRuns from h that have a matching pakname. +func (h HitList) filter(pakname string) HitList { + var hh HitList + for _, p := range h { + if p.Pak.Name == pakname { + hh = append(hh, p) + } + } + return hh +} + +// ---------------------------------------------------------------------------- +// AltWords + +type wordPair struct { + canon string // canonical word spelling (all lowercase) + alt string // alternative spelling +} + +// An AltWords describes a list of alternative spellings for a +// canonical (all lowercase) spelling of a word. +type AltWords struct { + Canon string // canonical word spelling (all lowercase) + Alts []string // alternative spelling for the same word +} + +// wordPairs are sorted by their canonical spelling. +func lessWordPair(x, y interface{}) bool { return x.(*wordPair).canon < y.(*wordPair).canon } + +// newAltWords allocates a new AltWords from the *wordPair run h. +func newAltWords(h RunList) interface{} { + canon := h[0].(*wordPair).canon + alts := make([]string, len(h)) + for i, x := range h { + alts[i] = x.(*wordPair).alt + } + return &AltWords{canon, alts} +} + +func (a *AltWords) filter(s string) *AltWords { + var alts []string + for _, w := range a.Alts { + if w != s { + alts = append(alts, w) + } + } + if len(alts) > 0 { + return &AltWords{a.Canon, alts} + } + return nil +} + +// Ident stores information about external identifiers in order to create +// links to package documentation. +type Ident struct { + Path string // e.g. "net/http" + Package string // e.g. "http" + Name string // e.g. "NewRequest" + Doc string // e.g. "NewRequest returns a new Request..." +} + +// byImportCount sorts the given slice of Idents by the import +// counts of the packages to which they belong. +type byImportCount struct { + Idents []Ident + ImportCount map[string]int +} + +func (ic byImportCount) Len() int { + return len(ic.Idents) +} + +func (ic byImportCount) Less(i, j int) bool { + ri := ic.ImportCount[ic.Idents[i].Path] + rj := ic.ImportCount[ic.Idents[j].Path] + if ri == rj { + return ic.Idents[i].Path < ic.Idents[j].Path + } + return ri > rj +} + +func (ic byImportCount) Swap(i, j int) { + ic.Idents[i], ic.Idents[j] = ic.Idents[j], ic.Idents[i] +} + +func (ic byImportCount) String() string { + buf := bytes.NewBuffer([]byte("[")) + for _, v := range ic.Idents { + buf.WriteString(fmt.Sprintf("\n\t%s, %s (%d)", v.Path, v.Name, ic.ImportCount[v.Path])) + } + buf.WriteString("\n]") + return buf.String() +} + +// filter creates a new Ident list where the results match the given +// package name. +func (ic byImportCount) filter(pakname string) []Ident { + if ic.Idents == nil { + return nil + } + var res []Ident + for _, i := range ic.Idents { + if i.Package == pakname { + res = append(res, i) + } + } + return res +} + +// top returns the top n identifiers. +func (ic byImportCount) top(n int) []Ident { + if len(ic.Idents) > n { + return ic.Idents[:n] + } + return ic.Idents +} + +// ---------------------------------------------------------------------------- +// Indexer + +type IndexResult struct { + Decls RunList // package-level declarations (with snippets) + Others RunList // all other occurrences +} + +// Statistics provides statistics information for an index. +type Statistics struct { + Bytes int // total size of indexed source files + Files int // number of indexed source files + Lines int // number of lines (all files) + Words int // number of different identifiers + Spots int // number of identifier occurrences +} + +// An Indexer maintains the data structures and provides the machinery +// for indexing .go files under a file tree. It implements the path.Visitor +// interface for walking file trees, and the ast.Visitor interface for +// walking Go ASTs. +type Indexer struct { + c *Corpus + fset *token.FileSet // file set for all indexed files + fsOpenGate chan bool // send pre fs.Open; receive on close + + mu sync.Mutex // guards all the following + sources bytes.Buffer // concatenated sources + strings map[string]string // interned string + packages map[Pak]*Pak // interned *Paks + words map[string]*IndexResult // RunLists of Spots + snippets []*Snippet // indices are stored in SpotInfos + current *token.File // last file added to file set + file *File // AST for current file + decl ast.Decl // AST for current decl + stats Statistics + throttle *util.Throttle + importCount map[string]int // package path ("net/http") => count + packagePath map[string]map[string]bool // "template" => "text/template" => true + exports map[string]map[string]SpotKind // "net/http" => "ListenAndServe" => FuncDecl + curPkgExports map[string]SpotKind + idents map[SpotKind]map[string][]Ident // kind => name => list of Idents +} + +func (x *Indexer) intern(s string) string { + if s, ok := x.strings[s]; ok { + return s + } + x.strings[s] = s + return s +} + +func (x *Indexer) lookupPackage(path, name string) *Pak { + // In the source directory tree, more than one package may + // live in the same directory. For the packages map, construct + // a key that includes both the directory path and the package + // name. + key := Pak{Path: x.intern(path), Name: x.intern(name)} + pak := x.packages[key] + if pak == nil { + pak = &key + x.packages[key] = pak + } + return pak +} + +func (x *Indexer) addSnippet(s *Snippet) int { + index := len(x.snippets) + x.snippets = append(x.snippets, s) + return index +} + +func (x *Indexer) visitIdent(kind SpotKind, id *ast.Ident) { + if id == nil { + return + } + name := x.intern(id.Name) + + switch kind { + case TypeDecl, FuncDecl, ConstDecl, VarDecl: + x.curPkgExports[name] = kind + } + + lists, found := x.words[name] + if !found { + lists = new(IndexResult) + x.words[name] = lists + } + + if kind == Use || x.decl == nil { + if x.c.IndexGoCode { + // not a declaration or no snippet required + info := makeSpotInfo(kind, x.current.Line(id.Pos()), false) + lists.Others = append(lists.Others, Spot{x.file, info}) + } + } else { + // a declaration with snippet + index := x.addSnippet(NewSnippet(x.fset, x.decl, id)) + info := makeSpotInfo(kind, index, true) + lists.Decls = append(lists.Decls, Spot{x.file, info}) + } + + x.stats.Spots++ +} + +func (x *Indexer) visitFieldList(kind SpotKind, flist *ast.FieldList) { + for _, f := range flist.List { + x.decl = nil // no snippets for fields + for _, name := range f.Names { + x.visitIdent(kind, name) + } + ast.Walk(x, f.Type) + // ignore tag - not indexed at the moment + } +} + +func (x *Indexer) visitSpec(kind SpotKind, spec ast.Spec) { + switch n := spec.(type) { + case *ast.ImportSpec: + x.visitIdent(ImportDecl, n.Name) + if n.Path != nil { + if imp, err := strconv.Unquote(n.Path.Value); err == nil { + x.importCount[x.intern(imp)]++ + } + } + + case *ast.ValueSpec: + for _, n := range n.Names { + x.visitIdent(kind, n) + } + ast.Walk(x, n.Type) + for _, v := range n.Values { + ast.Walk(x, v) + } + + case *ast.TypeSpec: + x.visitIdent(TypeDecl, n.Name) + ast.Walk(x, n.Type) + } +} + +func (x *Indexer) visitGenDecl(decl *ast.GenDecl) { + kind := VarDecl + if decl.Tok == token.CONST { + kind = ConstDecl + } + x.decl = decl + for _, s := range decl.Specs { + x.visitSpec(kind, s) + } +} + +func (x *Indexer) Visit(node ast.Node) ast.Visitor { + switch n := node.(type) { + case nil: + // nothing to do + + case *ast.Ident: + x.visitIdent(Use, n) + + case *ast.FieldList: + x.visitFieldList(VarDecl, n) + + case *ast.InterfaceType: + x.visitFieldList(MethodDecl, n.Methods) + + case *ast.DeclStmt: + // local declarations should only be *ast.GenDecls; + // ignore incorrect ASTs + if decl, ok := n.Decl.(*ast.GenDecl); ok { + x.decl = nil // no snippets for local declarations + x.visitGenDecl(decl) + } + + case *ast.GenDecl: + x.decl = n + x.visitGenDecl(n) + + case *ast.FuncDecl: + kind := FuncDecl + if n.Recv != nil { + kind = MethodDecl + ast.Walk(x, n.Recv) + } + x.decl = n + x.visitIdent(kind, n.Name) + ast.Walk(x, n.Type) + if n.Body != nil { + ast.Walk(x, n.Body) + } + + case *ast.File: + x.decl = nil + x.visitIdent(PackageClause, n.Name) + for _, d := range n.Decls { + ast.Walk(x, d) + } + + default: + return x + } + + return nil +} + +// addFile adds a file to the index if possible and returns the file set file +// and the file's AST if it was successfully parsed as a Go file. If addFile +// failed (that is, if the file was not added), it returns file == nil. +func (x *Indexer) addFile(f vfs.ReadSeekCloser, filename string, goFile bool) (file *token.File, ast *ast.File) { + defer f.Close() + + // The file set's base offset and x.sources size must be in lock-step; + // this permits the direct mapping of suffix array lookup results to + // to corresponding Pos values. + // + // When a file is added to the file set, its offset base increases by + // the size of the file + 1; and the initial base offset is 1. Add an + // extra byte to the sources here. + x.sources.WriteByte(0) + + // If the sources length doesn't match the file set base at this point + // the file set implementation changed or we have another error. + base := x.fset.Base() + if x.sources.Len() != base { + panic("internal error: file base incorrect") + } + + // append file contents (src) to x.sources + if _, err := x.sources.ReadFrom(f); err == nil { + src := x.sources.Bytes()[base:] + + if goFile { + // parse the file and in the process add it to the file set + if ast, err = parser.ParseFile(x.fset, filename, src, parser.ParseComments); err == nil { + file = x.fset.File(ast.Pos()) // ast.Pos() is inside the file + return + } + // file has parse errors, and the AST may be incorrect - + // set lines information explicitly and index as ordinary + // text file (cannot fall through to the text case below + // because the file has already been added to the file set + // by the parser) + file = x.fset.File(token.Pos(base)) // token.Pos(base) is inside the file + file.SetLinesForContent(src) + ast = nil + return + } + + if util.IsText(src) { + // only add the file to the file set (for the full text index) + file = x.fset.AddFile(filename, x.fset.Base(), len(src)) + file.SetLinesForContent(src) + return + } + } + + // discard possibly added data + x.sources.Truncate(base - 1) // -1 to remove added byte 0 since no file was added + return +} + +// Design note: Using an explicit white list of permitted files for indexing +// makes sure that the important files are included and massively reduces the +// number of files to index. The advantage over a blacklist is that unexpected +// (non-blacklisted) files won't suddenly explode the index. + +// Files are whitelisted if they have a file name or extension +// present as key in whitelisted. +var whitelisted = map[string]bool{ + ".bash": true, + ".c": true, + ".cc": true, + ".cpp": true, + ".cxx": true, + ".css": true, + ".go": true, + ".goc": true, + ".h": true, + ".hh": true, + ".hpp": true, + ".hxx": true, + ".html": true, + ".js": true, + ".out": true, + ".py": true, + ".s": true, + ".sh": true, + ".txt": true, + ".xml": true, + "AUTHORS": true, + "CONTRIBUTORS": true, + "LICENSE": true, + "Makefile": true, + "PATENTS": true, + "README": true, +} + +// isWhitelisted returns true if a file is on the list +// of "permitted" files for indexing. The filename must +// be the directory-local name of the file. +func isWhitelisted(filename string) bool { + key := pathpkg.Ext(filename) + if key == "" { + // file has no extension - use entire filename + key = filename + } + return whitelisted[key] +} + +func (x *Indexer) indexDocs(dirname string, filename string, astFile *ast.File) { + pkgName := x.intern(astFile.Name.Name) + if pkgName == "main" { + return + } + pkgPath := x.intern(strings.TrimPrefix(strings.TrimPrefix(dirname, "/src/"), "pkg/")) + astPkg := ast.Package{ + Name: pkgName, + Files: map[string]*ast.File{ + filename: astFile, + }, + } + var m doc.Mode + docPkg := doc.New(&astPkg, dirname, m) + addIdent := func(sk SpotKind, name string, docstr string) { + if x.idents[sk] == nil { + x.idents[sk] = make(map[string][]Ident) + } + name = x.intern(name) + x.idents[sk][name] = append(x.idents[sk][name], Ident{ + Path: pkgPath, + Package: pkgName, + Name: name, + Doc: doc.Synopsis(docstr), + }) + } + + if x.idents[PackageClause] == nil { + x.idents[PackageClause] = make(map[string][]Ident) + } + // List of words under which the package identifier will be stored. + // This includes the package name and the components of the directory + // in which it resides. + words := strings.Split(pathpkg.Dir(pkgPath), "/") + if words[0] == "." { + words = []string{} + } + name := x.intern(docPkg.Name) + synopsis := doc.Synopsis(docPkg.Doc) + words = append(words, name) + pkgIdent := Ident{ + Path: pkgPath, + Package: pkgName, + Name: name, + Doc: synopsis, + } + for _, word := range words { + word = x.intern(word) + found := false + pkgs := x.idents[PackageClause][word] + for i, p := range pkgs { + if p.Path == pkgPath { + if docPkg.Doc != "" { + p.Doc = synopsis + pkgs[i] = p + } + found = true + break + } + } + if !found { + x.idents[PackageClause][word] = append(x.idents[PackageClause][word], pkgIdent) + } + } + + for _, c := range docPkg.Consts { + for _, name := range c.Names { + addIdent(ConstDecl, name, c.Doc) + } + } + for _, t := range docPkg.Types { + addIdent(TypeDecl, t.Name, t.Doc) + for _, c := range t.Consts { + for _, name := range c.Names { + addIdent(ConstDecl, name, c.Doc) + } + } + for _, v := range t.Vars { + for _, name := range v.Names { + addIdent(VarDecl, name, v.Doc) + } + } + for _, f := range t.Funcs { + addIdent(FuncDecl, f.Name, f.Doc) + } + for _, f := range t.Methods { + addIdent(MethodDecl, f.Name, f.Doc) + // Change the name of methods to be ".". + // They will still be indexed as . + idents := x.idents[MethodDecl][f.Name] + idents[len(idents)-1].Name = x.intern(t.Name + "." + f.Name) + } + } + for _, v := range docPkg.Vars { + for _, name := range v.Names { + addIdent(VarDecl, name, v.Doc) + } + } + for _, f := range docPkg.Funcs { + addIdent(FuncDecl, f.Name, f.Doc) + } +} + +func (x *Indexer) indexGoFile(dirname string, filename string, file *token.File, astFile *ast.File) { + pkgName := astFile.Name.Name + + if x.c.IndexGoCode { + x.current = file + pak := x.lookupPackage(dirname, pkgName) + x.file = &File{filename, pak} + ast.Walk(x, astFile) + } + + if x.c.IndexDocs { + // Test files are already filtered out in visitFile if IndexGoCode and + // IndexFullText are false. Otherwise, check here. + isTestFile := (x.c.IndexGoCode || x.c.IndexFullText) && + (strings.HasSuffix(filename, "_test.go") || strings.HasPrefix(dirname, "/test/")) + if !isTestFile { + x.indexDocs(dirname, filename, astFile) + } + } + + ppKey := x.intern(pkgName) + if _, ok := x.packagePath[ppKey]; !ok { + x.packagePath[ppKey] = make(map[string]bool) + } + pkgPath := x.intern(strings.TrimPrefix(strings.TrimPrefix(dirname, "/src/"), "pkg/")) + x.packagePath[ppKey][pkgPath] = true + + // Merge in exported symbols found walking this file into + // the map for that package. + if len(x.curPkgExports) > 0 { + dest, ok := x.exports[pkgPath] + if !ok { + dest = make(map[string]SpotKind) + x.exports[pkgPath] = dest + } + for k, v := range x.curPkgExports { + dest[k] = v + } + } +} + +func (x *Indexer) visitFile(dirname string, fi os.FileInfo) { + if fi.IsDir() || !x.c.IndexEnabled { + return + } + + filename := pathpkg.Join(dirname, fi.Name()) + goFile := isGoFile(fi) + + switch { + case x.c.IndexFullText: + if !isWhitelisted(fi.Name()) { + return + } + case x.c.IndexGoCode: + if !goFile { + return + } + case x.c.IndexDocs: + if !goFile || + strings.HasSuffix(fi.Name(), "_test.go") || + strings.HasPrefix(dirname, "/test/") { + return + } + default: + // No indexing turned on. + return + } + + x.fsOpenGate <- true + defer func() { <-x.fsOpenGate }() + + // open file + f, err := x.c.fs.Open(filename) + if err != nil { + return + } + + x.mu.Lock() + defer x.mu.Unlock() + + x.throttle.Throttle() + + x.curPkgExports = make(map[string]SpotKind) + file, fast := x.addFile(f, filename, goFile) + if file == nil { + return // addFile failed + } + + if fast != nil { + x.indexGoFile(dirname, fi.Name(), file, fast) + } + + // update statistics + x.stats.Bytes += file.Size() + x.stats.Files++ + x.stats.Lines += file.LineCount() +} + +// indexOptions contains information that affects the contents of an index. +type indexOptions struct { + // Docs provides documentation search results. + // It is only consulted if IndexEnabled is true. + // The default values is true. + Docs bool + + // GoCode provides Go source code search results. + // It is only consulted if IndexEnabled is true. + // The default values is true. + GoCode bool + + // FullText provides search results from all files. + // It is only consulted if IndexEnabled is true. + // The default values is true. + FullText bool + + // MaxResults optionally specifies the maximum results for indexing. + // The default is 1000. + MaxResults int +} + +// ---------------------------------------------------------------------------- +// Index + +type LookupResult struct { + Decls HitList // package-level declarations (with snippets) + Others HitList // all other occurrences +} + +type Index struct { + fset *token.FileSet // file set used during indexing; nil if no textindex + suffixes *suffixarray.Index // suffixes for concatenated sources; nil if no textindex + words map[string]*LookupResult // maps words to hit lists + alts map[string]*AltWords // maps canonical(words) to lists of alternative spellings + snippets []*Snippet // all snippets, indexed by snippet index + stats Statistics + importCount map[string]int // package path ("net/http") => count + packagePath map[string]map[string]bool // "template" => "text/template" => true + exports map[string]map[string]SpotKind // "net/http" => "ListenAndServe" => FuncDecl + idents map[SpotKind]map[string][]Ident + opts indexOptions +} + +func canonical(w string) string { return strings.ToLower(w) } + +// Somewhat arbitrary, but I figure low enough to not hurt disk-based filesystems +// consuming file descriptors, where some systems have low 256 or 512 limits. +// Go should have a built-in way to cap fd usage under the ulimit. +const ( + maxOpenFiles = 200 + maxOpenDirs = 50 +) + +func (c *Corpus) throttle() float64 { + if c.IndexThrottle <= 0 { + return 0.9 + } + if c.IndexThrottle > 1.0 { + return 1.0 + } + return c.IndexThrottle +} + +// NewIndex creates a new index for the .go files provided by the corpus. +func (c *Corpus) NewIndex() *Index { + // initialize Indexer + // (use some reasonably sized maps to start) + x := &Indexer{ + c: c, + fset: token.NewFileSet(), + fsOpenGate: make(chan bool, maxOpenFiles), + strings: make(map[string]string), + packages: make(map[Pak]*Pak, 256), + words: make(map[string]*IndexResult, 8192), + throttle: util.NewThrottle(c.throttle(), 100*time.Millisecond), // run at least 0.1s at a time + importCount: make(map[string]int), + packagePath: make(map[string]map[string]bool), + exports: make(map[string]map[string]SpotKind), + idents: make(map[SpotKind]map[string][]Ident, 4), + } + + // index all files in the directories given by dirnames + var wg sync.WaitGroup // outstanding ReadDir + visitFile + dirGate := make(chan bool, maxOpenDirs) + for dirname := range c.fsDirnames() { + if c.IndexDirectory != nil && !c.IndexDirectory(dirname) { + continue + } + dirGate <- true + wg.Add(1) + go func(dirname string) { + defer func() { <-dirGate }() + defer wg.Done() + + list, err := c.fs.ReadDir(dirname) + if err != nil { + log.Printf("ReadDir(%q): %v; skipping directory", dirname, err) + return // ignore this directory + } + for _, fi := range list { + wg.Add(1) + go func(fi os.FileInfo) { + defer wg.Done() + x.visitFile(dirname, fi) + }(fi) + } + }(dirname) + } + wg.Wait() + + if !c.IndexFullText { + // the file set, the current file, and the sources are + // not needed after indexing if no text index is built - + // help GC and clear them + x.fset = nil + x.sources.Reset() + x.current = nil // contains reference to fset! + } + + // for each word, reduce the RunLists into a LookupResult; + // also collect the word with its canonical spelling in a + // word list for later computation of alternative spellings + words := make(map[string]*LookupResult) + var wlist RunList + for w, h := range x.words { + decls := reduce(h.Decls) + others := reduce(h.Others) + words[w] = &LookupResult{ + Decls: decls, + Others: others, + } + wlist = append(wlist, &wordPair{canonical(w), w}) + x.throttle.Throttle() + } + x.stats.Words = len(words) + + // reduce the word list {canonical(w), w} into + // a list of AltWords runs {canonical(w), {w}} + alist := wlist.reduce(lessWordPair, newAltWords) + + // convert alist into a map of alternative spellings + alts := make(map[string]*AltWords) + for i := 0; i < len(alist); i++ { + a := alist[i].(*AltWords) + alts[a.Canon] = a + } + + // create text index + var suffixes *suffixarray.Index + if c.IndexFullText { + suffixes = suffixarray.New(x.sources.Bytes()) + } + + // sort idents by the number of imports of their respective packages + for _, idMap := range x.idents { + for _, ir := range idMap { + sort.Sort(byImportCount{ir, x.importCount}) + } + } + + return &Index{ + fset: x.fset, + suffixes: suffixes, + words: words, + alts: alts, + snippets: x.snippets, + stats: x.stats, + importCount: x.importCount, + packagePath: x.packagePath, + exports: x.exports, + idents: x.idents, + opts: indexOptions{ + Docs: x.c.IndexDocs, + GoCode: x.c.IndexGoCode, + FullText: x.c.IndexFullText, + MaxResults: x.c.MaxResults, + }, + } +} + +var ErrFileIndexVersion = errors.New("file index version out of date") + +const fileIndexVersion = 3 + +// fileIndex is the subset of Index that's gob-encoded for use by +// Index.Write and Index.Read. +type fileIndex struct { + Version int + Words map[string]*LookupResult + Alts map[string]*AltWords + Snippets []*Snippet + Fulltext bool + Stats Statistics + ImportCount map[string]int + PackagePath map[string]map[string]bool + Exports map[string]map[string]SpotKind + Idents map[SpotKind]map[string][]Ident + Opts indexOptions +} + +func (x *fileIndex) Write(w io.Writer) error { + return gob.NewEncoder(w).Encode(x) +} + +func (x *fileIndex) Read(r io.Reader) error { + return gob.NewDecoder(r).Decode(x) +} + +// WriteTo writes the index x to w. +func (x *Index) WriteTo(w io.Writer) (n int64, err error) { + w = countingWriter{&n, w} + fulltext := false + if x.suffixes != nil { + fulltext = true + } + fx := fileIndex{ + Version: fileIndexVersion, + Words: x.words, + Alts: x.alts, + Snippets: x.snippets, + Fulltext: fulltext, + Stats: x.stats, + ImportCount: x.importCount, + PackagePath: x.packagePath, + Exports: x.exports, + Idents: x.idents, + Opts: x.opts, + } + if err := fx.Write(w); err != nil { + return 0, err + } + if fulltext { + encode := func(x interface{}) error { + return gob.NewEncoder(w).Encode(x) + } + if err := x.fset.Write(encode); err != nil { + return 0, err + } + if err := x.suffixes.Write(w); err != nil { + return 0, err + } + } + return n, nil +} + +// ReadFrom reads the index from r into x; x must not be nil. +// If r does not also implement io.ByteReader, it will be wrapped in a bufio.Reader. +// If the index is from an old version, the error is ErrFileIndexVersion. +func (x *Index) ReadFrom(r io.Reader) (n int64, err error) { + // We use the ability to read bytes as a plausible surrogate for buffering. + if _, ok := r.(io.ByteReader); !ok { + r = bufio.NewReader(r) + } + r = countingReader{&n, r.(byteReader)} + var fx fileIndex + if err := fx.Read(r); err != nil { + return n, err + } + if fx.Version != fileIndexVersion { + return 0, ErrFileIndexVersion + } + x.words = fx.Words + x.alts = fx.Alts + x.snippets = fx.Snippets + x.stats = fx.Stats + x.importCount = fx.ImportCount + x.packagePath = fx.PackagePath + x.exports = fx.Exports + x.idents = fx.Idents + x.opts = fx.Opts + if fx.Fulltext { + x.fset = token.NewFileSet() + decode := func(x interface{}) error { + return gob.NewDecoder(r).Decode(x) + } + if err := x.fset.Read(decode); err != nil { + return n, err + } + x.suffixes = new(suffixarray.Index) + if err := x.suffixes.Read(r); err != nil { + return n, err + } + } + return n, nil +} + +// Stats returns index statistics. +func (x *Index) Stats() Statistics { + return x.stats +} + +// ImportCount returns a map from import paths to how many times they were seen. +func (x *Index) ImportCount() map[string]int { + return x.importCount +} + +// PackagePath returns a map from short package name to a set +// of full package path names that use that short package name. +func (x *Index) PackagePath() map[string]map[string]bool { + return x.packagePath +} + +// Exports returns a map from full package path to exported +// symbol name to its type. +func (x *Index) Exports() map[string]map[string]SpotKind { + return x.exports +} + +// Idents returns a map from identifier type to exported +// symbol name to the list of identifiers matching that name. +func (x *Index) Idents() map[SpotKind]map[string][]Ident { + return x.idents +} + +func (x *Index) lookupWord(w string) (match *LookupResult, alt *AltWords) { + match = x.words[w] + alt = x.alts[canonical(w)] + // remove current spelling from alternatives + // (if there is no match, the alternatives do + // not contain the current spelling) + if match != nil && alt != nil { + alt = alt.filter(w) + } + return +} + +// isIdentifier reports whether s is a Go identifier. +func isIdentifier(s string) bool { + for i, ch := range s { + if unicode.IsLetter(ch) || ch == '_' || i > 0 && unicode.IsDigit(ch) { + continue + } + return false + } + return len(s) > 0 +} + +// For a given query, which is either a single identifier or a qualified +// identifier, Lookup returns a SearchResult containing packages, a LookupResult, a +// list of alternative spellings, and identifiers, if any. Any and all results +// may be nil. If the query syntax is wrong, an error is reported. +func (x *Index) Lookup(query string) (*SearchResult, error) { + ss := strings.Split(query, ".") + + // check query syntax + for _, s := range ss { + if !isIdentifier(s) { + return nil, errors.New("all query parts must be identifiers") + } + } + rslt := &SearchResult{ + Query: query, + Idents: make(map[SpotKind][]Ident, 5), + } + // handle simple and qualified identifiers + switch len(ss) { + case 1: + ident := ss[0] + rslt.Hit, rslt.Alt = x.lookupWord(ident) + if rslt.Hit != nil { + // found a match - filter packages with same name + // for the list of packages called ident, if any + rslt.Pak = rslt.Hit.Others.filter(ident) + } + for k, v := range x.idents { + const rsltLimit = 50 + ids := byImportCount{v[ident], x.importCount} + rslt.Idents[k] = ids.top(rsltLimit) + } + + case 2: + pakname, ident := ss[0], ss[1] + rslt.Hit, rslt.Alt = x.lookupWord(ident) + if rslt.Hit != nil { + // found a match - filter by package name + // (no paks - package names are not qualified) + decls := rslt.Hit.Decls.filter(pakname) + others := rslt.Hit.Others.filter(pakname) + rslt.Hit = &LookupResult{decls, others} + } + for k, v := range x.idents { + ids := byImportCount{v[ident], x.importCount} + rslt.Idents[k] = ids.filter(pakname) + } + + default: + return nil, errors.New("query is not a (qualified) identifier") + } + + return rslt, nil +} + +func (x *Index) Snippet(i int) *Snippet { + // handle illegal snippet indices gracefully + if 0 <= i && i < len(x.snippets) { + return x.snippets[i] + } + return nil +} + +type positionList []struct { + filename string + line int +} + +func (list positionList) Len() int { return len(list) } +func (list positionList) Less(i, j int) bool { return list[i].filename < list[j].filename } +func (list positionList) Swap(i, j int) { list[i], list[j] = list[j], list[i] } + +// unique returns the list sorted and with duplicate entries removed +func unique(list []int) []int { + sort.Ints(list) + var last int + i := 0 + for _, x := range list { + if i == 0 || x != last { + last = x + list[i] = x + i++ + } + } + return list[0:i] +} + +// A FileLines value specifies a file and line numbers within that file. +type FileLines struct { + Filename string + Lines []int +} + +// LookupRegexp returns the number of matches and the matches where a regular +// expression r is found in the full text index. At most n matches are +// returned (thus found <= n). +// +func (x *Index) LookupRegexp(r *regexp.Regexp, n int) (found int, result []FileLines) { + if x.suffixes == nil || n <= 0 { + return + } + // n > 0 + + var list positionList + // FindAllIndex may returns matches that span across file boundaries. + // Such matches are unlikely, buf after eliminating them we may end up + // with fewer than n matches. If we don't have enough at the end, redo + // the search with an increased value n1, but only if FindAllIndex + // returned all the requested matches in the first place (if it + // returned fewer than that there cannot be more). + for n1 := n; found < n; n1 += n - found { + found = 0 + matches := x.suffixes.FindAllIndex(r, n1) + // compute files, exclude matches that span file boundaries, + // and map offsets to file-local offsets + list = make(positionList, len(matches)) + for _, m := range matches { + // by construction, an offset corresponds to the Pos value + // for the file set - use it to get the file and line + p := token.Pos(m[0]) + if file := x.fset.File(p); file != nil { + if base := file.Base(); base <= m[1] && m[1] <= base+file.Size() { + // match [m[0], m[1]) is within the file boundaries + list[found].filename = file.Name() + list[found].line = file.Line(p) + found++ + } + } + } + if found == n || len(matches) < n1 { + // found all matches or there's no chance to find more + break + } + } + list = list[0:found] + sort.Sort(list) // sort by filename + + // collect matches belonging to the same file + var last string + var lines []int + addLines := func() { + if len(lines) > 0 { + // remove duplicate lines + result = append(result, FileLines{last, unique(lines)}) + lines = nil + } + } + for _, m := range list { + if m.filename != last { + addLines() + last = m.filename + } + lines = append(lines, m.line) + } + addLines() + + return +} + +// InvalidateIndex should be called whenever any of the file systems +// under godoc's observation change so that the indexer is kicked on. +func (c *Corpus) invalidateIndex() { + c.fsModified.Set(nil) + c.refreshMetadata() +} + +// feedDirnames feeds the directory names of all directories +// under the file system given by root to channel c. +// +func (c *Corpus) feedDirnames(ch chan<- string) { + if dir, _ := c.fsTree.Get(); dir != nil { + for d := range dir.(*Directory).iter(false) { + ch <- d.Path + } + } +} + +// fsDirnames() returns a channel sending all directory names +// of all the file systems under godoc's observation. +// +func (c *Corpus) fsDirnames() <-chan string { + ch := make(chan string, 256) // buffered for fewer context switches + go func() { + c.feedDirnames(ch) + close(ch) + }() + return ch +} + +// CompatibleWith reports whether the Index x is compatible with the corpus +// indexing options set in c. +func (x *Index) CompatibleWith(c *Corpus) bool { + return x.opts.Docs == c.IndexDocs && + x.opts.GoCode == c.IndexGoCode && + x.opts.FullText == c.IndexFullText && + x.opts.MaxResults == c.MaxResults +} + +func (c *Corpus) readIndex(filenames string) error { + matches, err := filepath.Glob(filenames) + if err != nil { + return err + } else if matches == nil { + return fmt.Errorf("no index files match %q", filenames) + } + sort.Strings(matches) // make sure files are in the right order + files := make([]io.Reader, 0, len(matches)) + for _, filename := range matches { + f, err := os.Open(filename) + if err != nil { + return err + } + defer f.Close() + files = append(files, f) + } + return c.ReadIndexFrom(io.MultiReader(files...)) +} + +// ReadIndexFrom sets the current index from the serialized version found in r. +func (c *Corpus) ReadIndexFrom(r io.Reader) error { + x := new(Index) + if _, err := x.ReadFrom(r); err != nil { + return err + } + if !x.CompatibleWith(c) { + return fmt.Errorf("index file options are incompatible: %v", x.opts) + } + c.searchIndex.Set(x) + return nil +} + +func (c *Corpus) UpdateIndex() { + if c.Verbose { + log.Printf("updating index...") + } + start := time.Now() + index := c.NewIndex() + stop := time.Now() + c.searchIndex.Set(index) + if c.Verbose { + secs := stop.Sub(start).Seconds() + stats := index.Stats() + log.Printf("index updated (%gs, %d bytes of source, %d files, %d lines, %d unique words, %d spots)", + secs, stats.Bytes, stats.Files, stats.Lines, stats.Words, stats.Spots) + } + memstats := new(runtime.MemStats) + runtime.ReadMemStats(memstats) + if c.Verbose { + log.Printf("before GC: bytes = %d footprint = %d", memstats.HeapAlloc, memstats.Sys) + } + runtime.GC() + runtime.ReadMemStats(memstats) + if c.Verbose { + log.Printf("after GC: bytes = %d footprint = %d", memstats.HeapAlloc, memstats.Sys) + } +} + +// RunIndexer runs forever, indexing. +func (c *Corpus) RunIndexer() { + // initialize the index from disk if possible + if c.IndexFiles != "" { + c.initFSTree() + if err := c.readIndex(c.IndexFiles); err != nil { + log.Printf("error reading index from file %s: %v", c.IndexFiles, err) + } + return + } + + // Repeatedly update the package directory tree and index. + // TODO(bgarcia): Use fsnotify to only update when notified of a filesystem change. + for { + c.initFSTree() + c.UpdateIndex() + if c.IndexInterval < 0 { + return + } + delay := 5 * time.Minute // by default, reindex every 5 minutes + if c.IndexInterval > 0 { + delay = c.IndexInterval + } + time.Sleep(delay) + } +} + +type countingWriter struct { + n *int64 + w io.Writer +} + +func (c countingWriter) Write(p []byte) (n int, err error) { + n, err = c.w.Write(p) + *c.n += int64(n) + return +} + +type byteReader interface { + io.Reader + io.ByteReader +} + +type countingReader struct { + n *int64 + r byteReader +} + +func (c countingReader) Read(p []byte) (n int, err error) { + n, err = c.r.Read(p) + *c.n += int64(n) + return +} + +func (c countingReader) ReadByte() (b byte, err error) { + b, err = c.r.ReadByte() + *c.n += 1 + return +} diff --git a/vendor/golang.org/x/tools/godoc/index_test.go b/vendor/golang.org/x/tools/godoc/index_test.go new file mode 100644 index 0000000..97f31e7 --- /dev/null +++ b/vendor/golang.org/x/tools/godoc/index_test.go @@ -0,0 +1,323 @@ +// Copyright 2013 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package godoc + +import ( + "bytes" + "reflect" + "sort" + "strings" + "testing" + + "golang.org/x/tools/godoc/vfs/mapfs" +) + +func newCorpus(t *testing.T) *Corpus { + c := NewCorpus(mapfs.New(map[string]string{ + "src/foo/foo.go": `// Package foo is an example. +package foo + +import "bar" + +const Pi = 3.1415 + +var Foos []Foo + +// Foo is stuff. +type Foo struct{} + +func New() *Foo { + return new(Foo) +} +`, + "src/bar/bar.go": `// Package bar is another example to test races. +package bar +`, + "src/other/bar/bar.go": `// Package bar is another bar package. +package bar +func X() {} +`, + "src/skip/skip.go": `// Package skip should be skipped. +package skip +func Skip() {} +`, + "src/bar/readme.txt": `Whitelisted text file. +`, + "src/bar/baz.zzz": `Text file not whitelisted. +`, + })) + c.IndexEnabled = true + c.IndexDirectory = func(dir string) bool { + return !strings.Contains(dir, "skip") + } + + if err := c.Init(); err != nil { + t.Fatal(err) + } + return c +} + +func TestIndex(t *testing.T) { + for _, docs := range []bool{true, false} { + for _, goCode := range []bool{true, false} { + for _, fullText := range []bool{true, false} { + c := newCorpus(t) + c.IndexDocs = docs + c.IndexGoCode = goCode + c.IndexFullText = fullText + c.UpdateIndex() + ix, _ := c.CurrentIndex() + if ix == nil { + t.Fatal("no index") + } + t.Logf("docs, goCode, fullText = %v,%v,%v", docs, goCode, fullText) + testIndex(t, c, ix) + } + } + } +} + +func TestIndexWriteRead(t *testing.T) { + type key struct { + docs, goCode, fullText bool + } + type val struct { + buf *bytes.Buffer + c *Corpus + } + m := map[key]val{} + + for _, docs := range []bool{true, false} { + for _, goCode := range []bool{true, false} { + for _, fullText := range []bool{true, false} { + k := key{docs, goCode, fullText} + c := newCorpus(t) + c.IndexDocs = docs + c.IndexGoCode = goCode + c.IndexFullText = fullText + c.UpdateIndex() + ix, _ := c.CurrentIndex() + if ix == nil { + t.Fatal("no index") + } + var buf bytes.Buffer + nw, err := ix.WriteTo(&buf) + if err != nil { + t.Fatalf("Index.WriteTo: %v", err) + } + m[k] = val{bytes.NewBuffer(buf.Bytes()), c} + ix2 := new(Index) + nr, err := ix2.ReadFrom(&buf) + if err != nil { + t.Fatalf("Index.ReadFrom: %v", err) + } + if nr != nw { + t.Errorf("Wrote %d bytes to index but read %d", nw, nr) + } + testIndex(t, c, ix) + } + } + } + // Test CompatibleWith + for k1, v1 := range m { + ix := new(Index) + if _, err := ix.ReadFrom(v1.buf); err != nil { + t.Fatalf("Index.ReadFrom: %v", err) + } + for k2, v2 := range m { + if got, want := ix.CompatibleWith(v2.c), k1 == k2; got != want { + t.Errorf("CompatibleWith = %v; want %v for %v, %v", got, want, k1, k2) + } + } + } +} + +func testIndex(t *testing.T, c *Corpus, ix *Index) { + if _, ok := ix.words["Skip"]; ok { + t.Errorf("the word Skip was found; expected it to be skipped") + } + checkStats(t, c, ix) + checkImportCount(t, c, ix) + checkPackagePath(t, c, ix) + checkExports(t, c, ix) + checkIdents(t, c, ix) +} + +// checkStats checks the Index's statistics. +// Some statistics are only set when we're indexing Go code. +func checkStats(t *testing.T, c *Corpus, ix *Index) { + want := Statistics{} + if c.IndexFullText { + want.Bytes = 314 + want.Files = 4 + want.Lines = 21 + } else if c.IndexDocs || c.IndexGoCode { + want.Bytes = 291 + want.Files = 3 + want.Lines = 20 + } + if c.IndexGoCode { + want.Words = 8 + want.Spots = 12 + } + if got := ix.Stats(); !reflect.DeepEqual(got, want) { + t.Errorf("Stats = %#v; want %#v", got, want) + } +} + +// checkImportCount checks the Index's import count map. +// It is only set when we're indexing Go code. +func checkImportCount(t *testing.T, c *Corpus, ix *Index) { + want := map[string]int{} + if c.IndexGoCode { + want = map[string]int{ + "bar": 1, + } + } + if got := ix.ImportCount(); !reflect.DeepEqual(got, want) { + t.Errorf("ImportCount = %v; want %v", got, want) + } +} + +// checkPackagePath checks the Index's package path map. +// It is set if at least one of the indexing options is enabled. +func checkPackagePath(t *testing.T, c *Corpus, ix *Index) { + want := map[string]map[string]bool{} + if c.IndexDocs || c.IndexGoCode || c.IndexFullText { + want = map[string]map[string]bool{ + "foo": { + "foo": true, + }, + "bar": { + "bar": true, + "other/bar": true, + }, + } + } + if got := ix.PackagePath(); !reflect.DeepEqual(got, want) { + t.Errorf("PackagePath = %v; want %v", got, want) + } +} + +// checkExports checks the Index's exports map. +// It is only set when we're indexing Go code. +func checkExports(t *testing.T, c *Corpus, ix *Index) { + want := map[string]map[string]SpotKind{} + if c.IndexGoCode { + want = map[string]map[string]SpotKind{ + "foo": { + "Pi": ConstDecl, + "Foos": VarDecl, + "Foo": TypeDecl, + "New": FuncDecl, + }, + "other/bar": { + "X": FuncDecl, + }, + } + } + if got := ix.Exports(); !reflect.DeepEqual(got, want) { + t.Errorf("Exports = %v; want %v", got, want) + } +} + +// checkIdents checks the Index's indents map. +// It is only set when we're indexing documentation. +func checkIdents(t *testing.T, c *Corpus, ix *Index) { + want := map[SpotKind]map[string][]Ident{} + if c.IndexDocs { + want = map[SpotKind]map[string][]Ident{ + PackageClause: { + "bar": { + {"bar", "bar", "bar", "Package bar is another example to test races."}, + {"other/bar", "bar", "bar", "Package bar is another bar package."}, + }, + "foo": {{"foo", "foo", "foo", "Package foo is an example."}}, + "other": {{"other/bar", "bar", "bar", "Package bar is another bar package."}}, + }, + ConstDecl: { + "Pi": {{"foo", "foo", "Pi", ""}}, + }, + VarDecl: { + "Foos": {{"foo", "foo", "Foos", ""}}, + }, + TypeDecl: { + "Foo": {{"foo", "foo", "Foo", "Foo is stuff."}}, + }, + FuncDecl: { + "New": {{"foo", "foo", "New", ""}}, + "X": {{"other/bar", "bar", "X", ""}}, + }, + } + } + if got := ix.Idents(); !reflect.DeepEqual(got, want) { + t.Errorf("Idents = %v; want %v", got, want) + } +} + +func TestIdentResultSort(t *testing.T) { + ic := map[string]int{ + "/a/b/pkg1": 10, + "/a/b/pkg2": 2, + "/b/d/pkg3": 20, + } + for _, tc := range []struct { + ir []Ident + exp []Ident + }{ + { + ir: []Ident{ + {"/a/b/pkg2", "pkg2", "MyFunc2", ""}, + {"/b/d/pkg3", "pkg3", "MyFunc3", ""}, + {"/a/b/pkg1", "pkg1", "MyFunc1", ""}, + }, + exp: []Ident{ + {"/b/d/pkg3", "pkg3", "MyFunc3", ""}, + {"/a/b/pkg1", "pkg1", "MyFunc1", ""}, + {"/a/b/pkg2", "pkg2", "MyFunc2", ""}, + }, + }, + { + ir: []Ident{ + {"/a/a/pkg1", "pkg1", "MyFunc1", ""}, + {"/a/b/pkg1", "pkg1", "MyFunc1", ""}, + }, + exp: []Ident{ + {"/a/b/pkg1", "pkg1", "MyFunc1", ""}, + {"/a/a/pkg1", "pkg1", "MyFunc1", ""}, + }, + }, + } { + if sort.Sort(byImportCount{tc.ir, ic}); !reflect.DeepEqual(tc.ir, tc.exp) { + t.Errorf("got: %v, want %v", tc.ir, tc.exp) + } + } +} + +func TestIdentFilter(t *testing.T) { + ic := map[string]int{} + for _, tc := range []struct { + ir []Ident + pak string + exp []Ident + }{ + { + ir: []Ident{ + {"/a/b/pkg2", "pkg2", "MyFunc2", ""}, + {"/b/d/pkg3", "pkg3", "MyFunc3", ""}, + {"/a/b/pkg1", "pkg1", "MyFunc1", ""}, + }, + pak: "pkg2", + exp: []Ident{ + {"/a/b/pkg2", "pkg2", "MyFunc2", ""}, + }, + }, + } { + res := byImportCount{tc.ir, ic}.filter(tc.pak) + if !reflect.DeepEqual(res, tc.exp) { + t.Errorf("got: %v, want %v", res, tc.exp) + } + } +} diff --git a/vendor/golang.org/x/tools/godoc/linkify.go b/vendor/golang.org/x/tools/godoc/linkify.go new file mode 100644 index 0000000..e4add22 --- /dev/null +++ b/vendor/golang.org/x/tools/godoc/linkify.go @@ -0,0 +1,195 @@ +// Copyright 2013 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// This file implements LinkifyText which introduces +// links for identifiers pointing to their declarations. +// The approach does not cover all cases because godoc +// doesn't have complete type information, but it's +// reasonably good for browsing. + +package godoc + +import ( + "fmt" + "go/ast" + "go/doc" + "go/token" + "io" + "strconv" +) + +// LinkifyText HTML-escapes source text and writes it to w. +// Identifiers that are in a "use" position (i.e., that are +// not being declared), are wrapped with HTML links pointing +// to the respective declaration, if possible. Comments are +// formatted the same way as with FormatText. +// +func LinkifyText(w io.Writer, text []byte, n ast.Node) { + links := linksFor(n) + + i := 0 // links index + prev := "" // prev HTML tag + linkWriter := func(w io.Writer, _ int, start bool) { + // end tag + if !start { + if prev != "" { + fmt.Fprintf(w, ``, prev) + prev = "" + } + return + } + + // start tag + prev = "" + if i < len(links) { + switch info := links[i]; { + case info.path != "" && info.name == "": + // package path + fmt.Fprintf(w, ``, info.path) + prev = "a" + case info.path != "" && info.name != "": + // qualified identifier + fmt.Fprintf(w, ``, info.path, info.name) + prev = "a" + case info.path == "" && info.name != "": + // local identifier + if info.isVal { + fmt.Fprintf(w, ``, info.name) + prev = "span" + } else if ast.IsExported(info.name) { + fmt.Fprintf(w, ``, info.name) + prev = "a" + } + } + i++ + } + } + + idents := tokenSelection(text, token.IDENT) + comments := tokenSelection(text, token.COMMENT) + FormatSelections(w, text, linkWriter, idents, selectionTag, comments) +} + +// A link describes the (HTML) link information for an identifier. +// The zero value of a link represents "no link". +// +type link struct { + path, name string // package path, identifier name + isVal bool // identifier is defined in a const or var declaration +} + +// linksFor returns the list of links for the identifiers used +// by node in the same order as they appear in the source. +// +func linksFor(node ast.Node) (links []link) { + // linkMap tracks link information for each ast.Ident node. Entries may + // be created out of source order (for example, when we visit a parent + // definition node). These links are appended to the returned slice when + // their ast.Ident nodes are visited. + linkMap := make(map[*ast.Ident]link) + + ast.Inspect(node, func(node ast.Node) bool { + switch n := node.(type) { + case *ast.Field: + for _, n := range n.Names { + linkMap[n] = link{} + } + case *ast.ImportSpec: + if name := n.Name; name != nil { + linkMap[name] = link{} + } + case *ast.ValueSpec: + for _, n := range n.Names { + linkMap[n] = link{name: n.Name, isVal: true} + } + case *ast.FuncDecl: + linkMap[n.Name] = link{} + case *ast.TypeSpec: + linkMap[n.Name] = link{} + case *ast.AssignStmt: + // Short variable declarations only show up if we apply + // this code to all source code (as opposed to exported + // declarations only). + if n.Tok == token.DEFINE { + // Some of the lhs variables may be re-declared, + // so technically they are not defs. We don't + // care for now. + for _, x := range n.Lhs { + // Each lhs expression should be an + // ident, but we are conservative and check. + if n, _ := x.(*ast.Ident); n != nil { + linkMap[n] = link{isVal: true} + } + } + } + case *ast.SelectorExpr: + // Detect qualified identifiers of the form pkg.ident. + // If anything fails we return true and collect individual + // identifiers instead. + if x, _ := n.X.(*ast.Ident); x != nil { + // Create links only if x is a qualified identifier. + if obj := x.Obj; obj != nil && obj.Kind == ast.Pkg { + if spec, _ := obj.Decl.(*ast.ImportSpec); spec != nil { + // spec.Path.Value is the import path + if path, err := strconv.Unquote(spec.Path.Value); err == nil { + // Register two links, one for the package + // and one for the qualified identifier. + linkMap[x] = link{path: path} + linkMap[n.Sel] = link{path: path, name: n.Sel.Name} + } + } + } + } + case *ast.CompositeLit: + // Detect field names within composite literals. These links should + // be prefixed by the type name. + fieldPath := "" + prefix := "" + switch typ := n.Type.(type) { + case *ast.Ident: + prefix = typ.Name + "." + case *ast.SelectorExpr: + if x, _ := typ.X.(*ast.Ident); x != nil { + // Create links only if x is a qualified identifier. + if obj := x.Obj; obj != nil && obj.Kind == ast.Pkg { + if spec, _ := obj.Decl.(*ast.ImportSpec); spec != nil { + // spec.Path.Value is the import path + if path, err := strconv.Unquote(spec.Path.Value); err == nil { + // Register two links, one for the package + // and one for the qualified identifier. + linkMap[x] = link{path: path} + linkMap[typ.Sel] = link{path: path, name: typ.Sel.Name} + fieldPath = path + prefix = typ.Sel.Name + "." + } + } + } + } + } + for _, e := range n.Elts { + if kv, ok := e.(*ast.KeyValueExpr); ok { + if k, ok := kv.Key.(*ast.Ident); ok { + // Note: there is some syntactic ambiguity here. We cannot determine + // if this is a struct literal or a map literal without type + // information. We assume struct literal. + name := prefix + k.Name + linkMap[k] = link{path: fieldPath, name: name} + } + } + } + case *ast.Ident: + if l, ok := linkMap[n]; ok { + links = append(links, l) + } else { + l := link{name: n.Name} + if n.Obj == nil && doc.IsPredeclared(n.Name) { + l.path = builtinPkgPath + } + links = append(links, l) + } + } + return true + }) + return +} diff --git a/vendor/golang.org/x/tools/godoc/meta.go b/vendor/golang.org/x/tools/godoc/meta.go new file mode 100644 index 0000000..41ade39 --- /dev/null +++ b/vendor/golang.org/x/tools/godoc/meta.go @@ -0,0 +1,144 @@ +// Copyright 2009 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package godoc + +import ( + "bytes" + "encoding/json" + "log" + pathpkg "path" + "strings" + "time" + + "golang.org/x/tools/godoc/vfs" +) + +var ( + doctype = []byte("") +) + +// ---------------------------------------------------------------------------- +// Documentation Metadata + +// TODO(adg): why are some exported and some aren't? -brad +type Metadata struct { + Title string + Subtitle string + Template bool // execute as template + Path string // canonical path for this page + filePath string // filesystem path relative to goroot +} + +func (m *Metadata) FilePath() string { return m.filePath } + +// extractMetadata extracts the Metadata from a byte slice. +// It returns the Metadata value and the remaining data. +// If no metadata is present the original byte slice is returned. +// +func extractMetadata(b []byte) (meta Metadata, tail []byte, err error) { + tail = b + if !bytes.HasPrefix(b, jsonStart) { + return + } + end := bytes.Index(b, jsonEnd) + if end < 0 { + return + } + b = b[len(jsonStart)-1 : end+1] // drop leading %s", command, buf.Bytes()) + return text, nil +} + +// parseArg returns the integer or string value of the argument and tells which it is. +func parseArg(arg interface{}, file string, max int) (ival int, sval string, isInt bool) { + switch n := arg.(type) { + case int: + if n <= 0 || n > max { + log.Panicf("%q:%d is out of range", file, n) + } + return n, "", true + case string: + return 0, n, false + } + log.Panicf("unrecognized argument %v type %T", arg, arg) + return +} + +// oneLine returns the single line generated by a two-argument code invocation. +func (c *Corpus) oneLine(file, text string, arg interface{}) string { + lines := strings.SplitAfter(c.contents(file), "\n") + line, pattern, isInt := parseArg(arg, file, len(lines)) + if isInt { + return lines[line-1] + } + return lines[match(file, 0, lines, pattern)-1] +} + +// multipleLines returns the text generated by a three-argument code invocation. +func (c *Corpus) multipleLines(file, text string, arg1, arg2 interface{}) string { + lines := strings.SplitAfter(c.contents(file), "\n") + line1, pattern1, isInt1 := parseArg(arg1, file, len(lines)) + line2, pattern2, isInt2 := parseArg(arg2, file, len(lines)) + if !isInt1 { + line1 = match(file, 0, lines, pattern1) + } + if !isInt2 { + line2 = match(file, line1, lines, pattern2) + } else if line2 < line1 { + log.Panicf("lines out of order for %q: %d %d", text, line1, line2) + } + for k := line1 - 1; k < line2; k++ { + if strings.HasSuffix(lines[k], "OMIT\n") { + lines[k] = "" + } + } + return strings.Join(lines[line1-1:line2], "") +} + +// match identifies the input line that matches the pattern in a code invocation. +// If start>0, match lines starting there rather than at the beginning. +// The return value is 1-indexed. +func match(file string, start int, lines []string, pattern string) int { + // $ matches the end of the file. + if pattern == "$" { + if len(lines) == 0 { + log.Panicf("%q: empty file", file) + } + return len(lines) + } + // /regexp/ matches the line that matches the regexp. + if len(pattern) > 2 && pattern[0] == '/' && pattern[len(pattern)-1] == '/' { + re, err := regexp.Compile(pattern[1 : len(pattern)-1]) + if err != nil { + log.Panic(err) + } + for i := start; i < len(lines); i++ { + if re.MatchString(lines[i]) { + return i + 1 + } + } + log.Panicf("%s: no match for %#q", file, pattern) + } + log.Panicf("unrecognized pattern: %q", pattern) + return 0 +} diff --git a/vendor/golang.org/x/tools/godoc/vfs/emptyvfs.go b/vendor/golang.org/x/tools/godoc/vfs/emptyvfs.go new file mode 100644 index 0000000..01b6942 --- /dev/null +++ b/vendor/golang.org/x/tools/godoc/vfs/emptyvfs.go @@ -0,0 +1,85 @@ +// Copyright 2016 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package vfs + +import ( + "fmt" + "os" + "time" +) + +// NewNameSpace returns a NameSpace pre-initialized with an empty +// emulated directory mounted on the root mount point "/". This +// allows directory traversal routines to work properly even if +// a folder is not explicitly mounted at root by the user. +func NewNameSpace() NameSpace { + ns := NameSpace{} + ns.Bind("/", &emptyVFS{}, "/", BindReplace) + return ns +} + +// type emptyVFS emulates a FileSystem consisting of an empty directory +type emptyVFS struct{} + +// Open implements Opener. Since emptyVFS is an empty directory, all +// attempts to open a file should returns errors. +func (e *emptyVFS) Open(path string) (ReadSeekCloser, error) { + if path == "/" { + return nil, fmt.Errorf("open: / is a directory") + } + return nil, os.ErrNotExist +} + +// Stat returns os.FileInfo for an empty directory if the path is +// is root "/" or error. os.FileInfo is implemented by emptyVFS +func (e *emptyVFS) Stat(path string) (os.FileInfo, error) { + if path == "/" { + return e, nil + } + return nil, os.ErrNotExist +} + +func (e *emptyVFS) Lstat(path string) (os.FileInfo, error) { + return e.Stat(path) +} + +// ReadDir returns an empty os.FileInfo slice for "/", else error. +func (e *emptyVFS) ReadDir(path string) ([]os.FileInfo, error) { + if path == "/" { + return []os.FileInfo{}, nil + } + return nil, os.ErrNotExist +} + +func (e *emptyVFS) String() string { + return "emptyVFS(/)" +} + +// These functions below implement os.FileInfo for the single +// empty emulated directory. + +func (e *emptyVFS) Name() string { + return "/" +} + +func (e *emptyVFS) Size() int64 { + return 0 +} + +func (e *emptyVFS) Mode() os.FileMode { + return os.ModeDir | os.ModePerm +} + +func (e *emptyVFS) ModTime() time.Time { + return time.Time{} +} + +func (e *emptyVFS) IsDir() bool { + return true +} + +func (e *emptyVFS) Sys() interface{} { + return nil +} diff --git a/vendor/golang.org/x/tools/godoc/vfs/emptyvfs_test.go b/vendor/golang.org/x/tools/godoc/vfs/emptyvfs_test.go new file mode 100644 index 0000000..8ea9b01 --- /dev/null +++ b/vendor/golang.org/x/tools/godoc/vfs/emptyvfs_test.go @@ -0,0 +1,58 @@ +// Copyright 2016 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package vfs_test + +import ( + "testing" + "time" + + "golang.org/x/tools/godoc/vfs" + "golang.org/x/tools/godoc/vfs/mapfs" +) + +func TestNewNameSpace(t *testing.T) { + + // We will mount this filesystem under /fs1 + mount := mapfs.New(map[string]string{"fs1file": "abcdefgh"}) + + // Existing process. This should give error on Stat("/") + t1 := vfs.NameSpace{} + t1.Bind("/fs1", mount, "/", vfs.BindReplace) + + // using NewNameSpace. This should work fine. + t2 := vfs.NewNameSpace() + t2.Bind("/fs1", mount, "/", vfs.BindReplace) + + testcases := map[string][]bool{ + "/": {false, true}, + "/fs1": {true, true}, + "/fs1/fs1file": {true, true}, + } + + fss := []vfs.FileSystem{t1, t2} + + for j, fs := range fss { + for k, v := range testcases { + _, err := fs.Stat(k) + result := err == nil + if result != v[j] { + t.Errorf("fs: %d, testcase: %s, want: %v, got: %v, err: %s", j, k, v[j], result, err) + } + } + } + + fi, err := t2.Stat("/") + if err != nil { + t.Fatal(err) + } + + if fi.Name() != "/" { + t.Errorf("t2.Name() : want:%s got:%s", "/", fi.Name()) + } + + if !fi.ModTime().IsZero() { + t.Errorf("t2.Modime() : want:%v got:%v", time.Time{}, fi.ModTime()) + } +} diff --git a/vendor/golang.org/x/tools/godoc/vfs/httpfs/httpfs.go b/vendor/golang.org/x/tools/godoc/vfs/httpfs/httpfs.go new file mode 100644 index 0000000..f232f03 --- /dev/null +++ b/vendor/golang.org/x/tools/godoc/vfs/httpfs/httpfs.go @@ -0,0 +1,94 @@ +// Copyright 2013 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// Package httpfs implements http.FileSystem using a godoc vfs.FileSystem. +package httpfs // import "golang.org/x/tools/godoc/vfs/httpfs" + +import ( + "fmt" + "io" + "net/http" + "os" + + "golang.org/x/tools/godoc/vfs" +) + +func New(fs vfs.FileSystem) http.FileSystem { + return &httpFS{fs} +} + +type httpFS struct { + fs vfs.FileSystem +} + +func (h *httpFS) Open(name string) (http.File, error) { + fi, err := h.fs.Stat(name) + if err != nil { + return nil, err + } + if fi.IsDir() { + return &httpDir{h.fs, name, nil}, nil + } + f, err := h.fs.Open(name) + if err != nil { + return nil, err + } + return &httpFile{h.fs, f, name}, nil +} + +// httpDir implements http.File for a directory in a FileSystem. +type httpDir struct { + fs vfs.FileSystem + name string + pending []os.FileInfo +} + +func (h *httpDir) Close() error { return nil } +func (h *httpDir) Stat() (os.FileInfo, error) { return h.fs.Stat(h.name) } +func (h *httpDir) Read([]byte) (int, error) { + return 0, fmt.Errorf("cannot Read from directory %s", h.name) +} + +func (h *httpDir) Seek(offset int64, whence int) (int64, error) { + if offset == 0 && whence == 0 { + h.pending = nil + return 0, nil + } + return 0, fmt.Errorf("unsupported Seek in directory %s", h.name) +} + +func (h *httpDir) Readdir(count int) ([]os.FileInfo, error) { + if h.pending == nil { + d, err := h.fs.ReadDir(h.name) + if err != nil { + return nil, err + } + if d == nil { + d = []os.FileInfo{} // not nil + } + h.pending = d + } + + if len(h.pending) == 0 && count > 0 { + return nil, io.EOF + } + if count <= 0 || count > len(h.pending) { + count = len(h.pending) + } + d := h.pending[:count] + h.pending = h.pending[count:] + return d, nil +} + +// httpFile implements http.File for a file (not directory) in a FileSystem. +type httpFile struct { + fs vfs.FileSystem + vfs.ReadSeekCloser + name string +} + +func (h *httpFile) Stat() (os.FileInfo, error) { return h.fs.Stat(h.name) } +func (h *httpFile) Readdir(int) ([]os.FileInfo, error) { + return nil, fmt.Errorf("cannot Readdir from file %s", h.name) +} diff --git a/vendor/golang.org/x/tools/godoc/vfs/namespace.go b/vendor/golang.org/x/tools/godoc/vfs/namespace.go new file mode 100644 index 0000000..ca1213e --- /dev/null +++ b/vendor/golang.org/x/tools/godoc/vfs/namespace.go @@ -0,0 +1,389 @@ +// Copyright 2011 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package vfs + +import ( + "fmt" + "io" + "os" + pathpkg "path" + "sort" + "strings" + "time" +) + +// Setting debugNS = true will enable debugging prints about +// name space translations. +const debugNS = false + +// A NameSpace is a file system made up of other file systems +// mounted at specific locations in the name space. +// +// The representation is a map from mount point locations +// to the list of file systems mounted at that location. A traditional +// Unix mount table would use a single file system per mount point, +// but we want to be able to mount multiple file systems on a single +// mount point and have the system behave as if the union of those +// file systems were present at the mount point. +// For example, if the OS file system has a Go installation in +// c:\Go and additional Go path trees in d:\Work1 and d:\Work2, then +// this name space creates the view we want for the godoc server: +// +// NameSpace{ +// "/": { +// {old: "/", fs: OS(`c:\Go`), new: "/"}, +// }, +// "/src/pkg": { +// {old: "/src/pkg", fs: OS(`c:\Go`), new: "/src/pkg"}, +// {old: "/src/pkg", fs: OS(`d:\Work1`), new: "/src"}, +// {old: "/src/pkg", fs: OS(`d:\Work2`), new: "/src"}, +// }, +// } +// +// This is created by executing: +// +// ns := NameSpace{} +// ns.Bind("/", OS(`c:\Go`), "/", BindReplace) +// ns.Bind("/src/pkg", OS(`d:\Work1`), "/src", BindAfter) +// ns.Bind("/src/pkg", OS(`d:\Work2`), "/src", BindAfter) +// +// A particular mount point entry is a triple (old, fs, new), meaning that to +// operate on a path beginning with old, replace that prefix (old) with new +// and then pass that path to the FileSystem implementation fs. +// +// If you do not explicitly mount a FileSystem at the root mountpoint "/" of the +// NameSpace like above, Stat("/") will return a "not found" error which could +// break typical directory traversal routines. In such cases, use NewNameSpace() +// to get a NameSpace pre-initialized with an emulated empty directory at root. +// +// Given this name space, a ReadDir of /src/pkg/code will check each prefix +// of the path for a mount point (first /src/pkg/code, then /src/pkg, then /src, +// then /), stopping when it finds one. For the above example, /src/pkg/code +// will find the mount point at /src/pkg: +// +// {old: "/src/pkg", fs: OS(`c:\Go`), new: "/src/pkg"}, +// {old: "/src/pkg", fs: OS(`d:\Work1`), new: "/src"}, +// {old: "/src/pkg", fs: OS(`d:\Work2`), new: "/src"}, +// +// ReadDir will when execute these three calls and merge the results: +// +// OS(`c:\Go`).ReadDir("/src/pkg/code") +// OS(`d:\Work1').ReadDir("/src/code") +// OS(`d:\Work2').ReadDir("/src/code") +// +// Note that the "/src/pkg" in "/src/pkg/code" has been replaced by +// just "/src" in the final two calls. +// +// OS is itself an implementation of a file system: it implements +// OS(`c:\Go`).ReadDir("/src/pkg/code") as ioutil.ReadDir(`c:\Go\src\pkg\code`). +// +// Because the new path is evaluated by fs (here OS(root)), another way +// to read the mount table is to mentally combine fs+new, so that this table: +// +// {old: "/src/pkg", fs: OS(`c:\Go`), new: "/src/pkg"}, +// {old: "/src/pkg", fs: OS(`d:\Work1`), new: "/src"}, +// {old: "/src/pkg", fs: OS(`d:\Work2`), new: "/src"}, +// +// reads as: +// +// "/src/pkg" -> c:\Go\src\pkg +// "/src/pkg" -> d:\Work1\src +// "/src/pkg" -> d:\Work2\src +// +// An invariant (a redundancy) of the name space representation is that +// ns[mtpt][i].old is always equal to mtpt (in the example, ns["/src/pkg"]'s +// mount table entries always have old == "/src/pkg"). The 'old' field is +// useful to callers, because they receive just a []mountedFS and not any +// other indication of which mount point was found. +// +type NameSpace map[string][]mountedFS + +// A mountedFS handles requests for path by replacing +// a prefix 'old' with 'new' and then calling the fs methods. +type mountedFS struct { + old string + fs FileSystem + new string +} + +// hasPathPrefix returns true if x == y or x == y + "/" + more +func hasPathPrefix(x, y string) bool { + return x == y || strings.HasPrefix(x, y) && (strings.HasSuffix(y, "/") || strings.HasPrefix(x[len(y):], "/")) +} + +// translate translates path for use in m, replacing old with new. +// +// mountedFS{"/src/pkg", fs, "/src"}.translate("/src/pkg/code") == "/src/code". +func (m mountedFS) translate(path string) string { + path = pathpkg.Clean("/" + path) + if !hasPathPrefix(path, m.old) { + panic("translate " + path + " but old=" + m.old) + } + return pathpkg.Join(m.new, path[len(m.old):]) +} + +func (NameSpace) String() string { + return "ns" +} + +// Fprint writes a text representation of the name space to w. +func (ns NameSpace) Fprint(w io.Writer) { + fmt.Fprint(w, "name space {\n") + var all []string + for mtpt := range ns { + all = append(all, mtpt) + } + sort.Strings(all) + for _, mtpt := range all { + fmt.Fprintf(w, "\t%s:\n", mtpt) + for _, m := range ns[mtpt] { + fmt.Fprintf(w, "\t\t%s %s\n", m.fs, m.new) + } + } + fmt.Fprint(w, "}\n") +} + +// clean returns a cleaned, rooted path for evaluation. +// It canonicalizes the path so that we can use string operations +// to analyze it. +func (NameSpace) clean(path string) string { + return pathpkg.Clean("/" + path) +} + +type BindMode int + +const ( + BindReplace BindMode = iota + BindBefore + BindAfter +) + +// Bind causes references to old to redirect to the path new in newfs. +// If mode is BindReplace, old redirections are discarded. +// If mode is BindBefore, this redirection takes priority over existing ones, +// but earlier ones are still consulted for paths that do not exist in newfs. +// If mode is BindAfter, this redirection happens only after existing ones +// have been tried and failed. +func (ns NameSpace) Bind(old string, newfs FileSystem, new string, mode BindMode) { + old = ns.clean(old) + new = ns.clean(new) + m := mountedFS{old, newfs, new} + var mtpt []mountedFS + switch mode { + case BindReplace: + mtpt = append(mtpt, m) + case BindAfter: + mtpt = append(mtpt, ns.resolve(old)...) + mtpt = append(mtpt, m) + case BindBefore: + mtpt = append(mtpt, m) + mtpt = append(mtpt, ns.resolve(old)...) + } + + // Extend m.old, m.new in inherited mount point entries. + for i := range mtpt { + m := &mtpt[i] + if m.old != old { + if !hasPathPrefix(old, m.old) { + // This should not happen. If it does, panic so + // that we can see the call trace that led to it. + panic(fmt.Sprintf("invalid Bind: old=%q m={%q, %s, %q}", old, m.old, m.fs.String(), m.new)) + } + suffix := old[len(m.old):] + m.old = pathpkg.Join(m.old, suffix) + m.new = pathpkg.Join(m.new, suffix) + } + } + + ns[old] = mtpt +} + +// resolve resolves a path to the list of mountedFS to use for path. +func (ns NameSpace) resolve(path string) []mountedFS { + path = ns.clean(path) + for { + if m := ns[path]; m != nil { + if debugNS { + fmt.Printf("resolve %s: %v\n", path, m) + } + return m + } + if path == "/" { + break + } + path = pathpkg.Dir(path) + } + return nil +} + +// Open implements the FileSystem Open method. +func (ns NameSpace) Open(path string) (ReadSeekCloser, error) { + var err error + for _, m := range ns.resolve(path) { + if debugNS { + fmt.Printf("tx %s: %v\n", path, m.translate(path)) + } + tp := m.translate(path) + r, err1 := m.fs.Open(tp) + if err1 == nil { + return r, nil + } + // IsNotExist errors in overlay FSes can mask real errors in + // the underlying FS, so ignore them if there is another error. + if err == nil || os.IsNotExist(err) { + err = err1 + } + } + if err == nil { + err = &os.PathError{Op: "open", Path: path, Err: os.ErrNotExist} + } + return nil, err +} + +// stat implements the FileSystem Stat and Lstat methods. +func (ns NameSpace) stat(path string, f func(FileSystem, string) (os.FileInfo, error)) (os.FileInfo, error) { + var err error + for _, m := range ns.resolve(path) { + fi, err1 := f(m.fs, m.translate(path)) + if err1 == nil { + return fi, nil + } + if err == nil { + err = err1 + } + } + if err == nil { + err = &os.PathError{Op: "stat", Path: path, Err: os.ErrNotExist} + } + return nil, err +} + +func (ns NameSpace) Stat(path string) (os.FileInfo, error) { + return ns.stat(path, FileSystem.Stat) +} + +func (ns NameSpace) Lstat(path string) (os.FileInfo, error) { + return ns.stat(path, FileSystem.Lstat) +} + +// dirInfo is a trivial implementation of os.FileInfo for a directory. +type dirInfo string + +func (d dirInfo) Name() string { return string(d) } +func (d dirInfo) Size() int64 { return 0 } +func (d dirInfo) Mode() os.FileMode { return os.ModeDir | 0555 } +func (d dirInfo) ModTime() time.Time { return startTime } +func (d dirInfo) IsDir() bool { return true } +func (d dirInfo) Sys() interface{} { return nil } + +var startTime = time.Now() + +// ReadDir implements the FileSystem ReadDir method. It's where most of the magic is. +// (The rest is in resolve.) +// +// Logically, ReadDir must return the union of all the directories that are named +// by path. In order to avoid misinterpreting Go packages, of all the directories +// that contain Go source code, we only include the files from the first, +// but we include subdirectories from all. +// +// ReadDir must also return directory entries needed to reach mount points. +// If the name space looks like the example in the type NameSpace comment, +// but c:\Go does not have a src/pkg subdirectory, we still want to be able +// to find that subdirectory, because we've mounted d:\Work1 and d:\Work2 +// there. So if we don't see "src" in the directory listing for c:\Go, we add an +// entry for it before returning. +// +func (ns NameSpace) ReadDir(path string) ([]os.FileInfo, error) { + path = ns.clean(path) + + var ( + haveGo = false + haveName = map[string]bool{} + all []os.FileInfo + err error + first []os.FileInfo + ) + + for _, m := range ns.resolve(path) { + dir, err1 := m.fs.ReadDir(m.translate(path)) + if err1 != nil { + if err == nil { + err = err1 + } + continue + } + + if dir == nil { + dir = []os.FileInfo{} + } + + if first == nil { + first = dir + } + + // If we don't yet have Go files in 'all' and this directory + // has some, add all the files from this directory. + // Otherwise, only add subdirectories. + useFiles := false + if !haveGo { + for _, d := range dir { + if strings.HasSuffix(d.Name(), ".go") { + useFiles = true + haveGo = true + break + } + } + } + + for _, d := range dir { + name := d.Name() + if (d.IsDir() || useFiles) && !haveName[name] { + haveName[name] = true + all = append(all, d) + } + } + } + + // We didn't find any directories containing Go files. + // If some directory returned successfully, use that. + if !haveGo { + for _, d := range first { + if !haveName[d.Name()] { + haveName[d.Name()] = true + all = append(all, d) + } + } + } + + // Built union. Add any missing directories needed to reach mount points. + for old := range ns { + if hasPathPrefix(old, path) && old != path { + // Find next element after path in old. + elem := old[len(path):] + elem = strings.TrimPrefix(elem, "/") + if i := strings.Index(elem, "/"); i >= 0 { + elem = elem[:i] + } + if !haveName[elem] { + haveName[elem] = true + all = append(all, dirInfo(elem)) + } + } + } + + if len(all) == 0 { + return nil, err + } + + sort.Sort(byName(all)) + return all, nil +} + +// byName implements sort.Interface. +type byName []os.FileInfo + +func (f byName) Len() int { return len(f) } +func (f byName) Less(i, j int) bool { return f[i].Name() < f[j].Name() } +func (f byName) Swap(i, j int) { f[i], f[j] = f[j], f[i] } diff --git a/vendor/golang.org/x/tools/godoc/vfs/os.go b/vendor/golang.org/x/tools/godoc/vfs/os.go new file mode 100644 index 0000000..fa98142 --- /dev/null +++ b/vendor/golang.org/x/tools/godoc/vfs/os.go @@ -0,0 +1,65 @@ +// Copyright 2013 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package vfs + +import ( + "fmt" + "io/ioutil" + "os" + pathpkg "path" + "path/filepath" +) + +// OS returns an implementation of FileSystem reading from the +// tree rooted at root. Recording a root is convenient everywhere +// but necessary on Windows, because the slash-separated path +// passed to Open has no way to specify a drive letter. Using a root +// lets code refer to OS(`c:\`), OS(`d:\`) and so on. +func OS(root string) FileSystem { + return osFS(root) +} + +type osFS string + +func (root osFS) String() string { return "os(" + string(root) + ")" } + +func (root osFS) resolve(path string) string { + // Clean the path so that it cannot possibly begin with ../. + // If it did, the result of filepath.Join would be outside the + // tree rooted at root. We probably won't ever see a path + // with .. in it, but be safe anyway. + path = pathpkg.Clean("/" + path) + + return filepath.Join(string(root), path) +} + +func (root osFS) Open(path string) (ReadSeekCloser, error) { + f, err := os.Open(root.resolve(path)) + if err != nil { + return nil, err + } + fi, err := f.Stat() + if err != nil { + f.Close() + return nil, err + } + if fi.IsDir() { + f.Close() + return nil, fmt.Errorf("Open: %s is a directory", path) + } + return f, nil +} + +func (root osFS) Lstat(path string) (os.FileInfo, error) { + return os.Lstat(root.resolve(path)) +} + +func (root osFS) Stat(path string) (os.FileInfo, error) { + return os.Stat(root.resolve(path)) +} + +func (root osFS) ReadDir(path string) ([]os.FileInfo, error) { + return ioutil.ReadDir(root.resolve(path)) // is sorted +} diff --git a/vendor/golang.org/x/tools/godoc/vfs/vfs.go b/vendor/golang.org/x/tools/godoc/vfs/vfs.go new file mode 100644 index 0000000..ad06b1a --- /dev/null +++ b/vendor/golang.org/x/tools/godoc/vfs/vfs.go @@ -0,0 +1,45 @@ +// Copyright 2013 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// Package vfs defines types for abstract file system access and provides an +// implementation accessing the file system of the underlying OS. +package vfs // import "golang.org/x/tools/godoc/vfs" + +import ( + "io" + "io/ioutil" + "os" +) + +// The FileSystem interface specifies the methods godoc is using +// to access the file system for which it serves documentation. +type FileSystem interface { + Opener + Lstat(path string) (os.FileInfo, error) + Stat(path string) (os.FileInfo, error) + ReadDir(path string) ([]os.FileInfo, error) + String() string +} + +// Opener is a minimal virtual filesystem that can only open regular files. +type Opener interface { + Open(name string) (ReadSeekCloser, error) +} + +// A ReadSeekCloser can Read, Seek, and Close. +type ReadSeekCloser interface { + io.Reader + io.Seeker + io.Closer +} + +// ReadFile reads the file named by path from fs and returns the contents. +func ReadFile(fs Opener, path string) ([]byte, error) { + rc, err := fs.Open(path) + if err != nil { + return nil, err + } + defer rc.Close() + return ioutil.ReadAll(rc) +}