From cc231211b5b437a9ec54d0e6c5db2d332742946a Mon Sep 17 00:00:00 2001 From: Unrud Date: Fri, 7 Sep 2018 09:29:09 +0200 Subject: [PATCH] format source --- bindata.generated.go | 10 +++--- webdata/fn.js | 81 ++++++++++++++++++++++++-------------------- webdata/index.html | 61 +++++++++++++++++---------------- webdata/main.css | 24 ++++++++++--- 4 files changed, 100 insertions(+), 76 deletions(-) diff --git a/bindata.generated.go b/bindata.generated.go index 9d3866e..43157ce 100644 --- a/bindata.generated.go +++ b/bindata.generated.go @@ -75,7 +75,7 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var _webdataFnJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3a\xeb\x6f\xdb\x38\xf2\xdf\xf3\x57\x4c\xf5\xa1\x90\x1b\xc7\x8f\x14\xfd\xed\x22\xae\xfb\x3b\x6f\xea\x6c\x82\xcd\x0b\xb6\x7b\x5b\x23\x08\x16\xb4\x34\xb6\xb5\x95\x49\xad\x48\xc5\x71\xaf\xf9\xdf\x0f\xd4\x93\xa2\x28\x39\xed\x5d\xee\xc3\xe1\x0c\x6c\x57\x21\x67\x86\xf3\x9e\xe1\x48\xdd\x37\x07\xf0\x06\x00\xe0\x94\x05\xbb\xd0\x5b\xad\x05\xd8\x4e\x0b\x8e\x7b\xfd\x9f\xe1\x13\x0d\x23\xf7\x7d\x24\xff\xfd\x1b\x8b\x84\xcf\xd8\x97\x8e\xc3\x36\x1f\x0e\x20\x43\x9a\xad\x3d\x0e\x4b\xcf\x47\xf0\x38\x04\x24\x14\xc0\x96\x30\xc1\x0d\x13\x78\x34\x63\x91\xb3\x0e\x88\xdb\x29\xc0\xcf\x18\x5b\x90\x50\xc2\x2e\x43\x44\xe0\x6c\x29\xb6\x24\xc4\x13\xd8\xb1\x08\x1c\x42\x21\x44\xd7\xe3\x22\xf4\x16\x91\x40\xf0\x04\x10\xea\x76\x59\x08\x1b\xe6\x7a\xcb\x5d\x4a\xc4\x13\x10\x51\x17\x43\x10\x6b\x04\x81\xe1\x86\xcb\x43\xe5\x1f\xbf\x5e\x7f\x82\x5f\x91\x62\x48\x7c\xb8\x8d\x16\xbe\xe7\xc0\xa5\xe7\x20\xe5\x08\x84\x43\x20\x57\xf8\x1a\x5d\x58\x64\xa4\x24\xd2\x99\xe4\x64\x9a\x72\x02\x67\x2c\xa2\x2e\x11\x1e\xa3\x6d\x40\x4f\xac\x31\x84\x07\x0c\xb9\xc7\x28\xbc\xcd\x8e\x49\x69\xb6\x81\x85\x29\x1d\x9b\x08\x29\x42\x08\x2c\x90\xa8\x2d\x20\x74\x07\x3e\x11\x05\xb6\xa2\x04\x4d\x3d\x52\x1b\x85\xd0\x2e\x78\x34\x3e\x64\xcd\x02\x04\xb1\x26\x42\xca\xbb\xf5\x7c\x1f\x16\x08\x11\xc7\x65\xe4\xb7\x53\x42\x8b\x48\xc0\xef\x17\xb3\xf3\x9b\x4f\x33\x18\x5d\xcf\xe1\xf7\xd1\x64\x32\xba\x9e\xcd\x07\xb0\xf5\xc4\x9a\x45\x02\xf0\x01\x13\x6a\xde\x26\xf0\x3d\x74\x61\x4b\xc2\x90\x50\xb1\x03\xb6\x4c\x89\x5c\x8d\x27\xa7\xe7\xa3\xeb\xd9\xe8\x97\x8b\xcb\x8b\xd9\x1c\x58\x08\x67\x17\xb3\xeb\xf1\x74\x0a\x67\x37\x13\x18\xc1\xed\x68\x32\xbb\x38\xfd\x74\x39\x9a\xc0\xed\xa7\xc9\xed\xcd\x74\xdc\x01\x98\xa2\x64\x0e\x53\x1a\x0d\x7a\x5f\xc6\xd6\x0b\x11\x5c\x14\xc4\xf3\x79\xa1\x87\x39\x8b\x80\xaf\x59\xe4\xbb\xb0\x26\x0f\x08\x21\x3a\xe8\x3d\xa0\x0b\x04\x1c\x16\xec\xf6\xdb\x34\x21\x43\x7c\x46\x57\xb1\xc0\xa9\x77\x75\x00\x2e\x96\x40\x99\x68\x03\x47\x84\xf7\x6b\x21\x82\x93\x6e\x77\xbb\xdd\x76\x56\x34\xea\xb0\x70\xd5\xf5\x13\x02\xbc\xfb\x41\xb2\xd3\x3d\x38\x80\x6e\x17\xee\xfa\x10\x9b\xa4\x0d\xc7\xc9\x03\xf2\x36\xbc\xcd\x1e\xef\x0f\x1c\x46\xb9\x80\xd9\xcd\xa7\xd3\xf3\x3f\xae\x6e\xfe\x3e\xfe\x63\x76\x3e\x19\x4f\xcf\x6f\x2e\x3f\xc2\x10\xee\xfa\xbd\x36\xf4\xdf\xc9\xff\xee\x07\x25\xd0\xd9\xc5\xd5\x58\x1a\x68\x08\xc7\xef\x7a\x83\x03\x79\xd0\x5d\xf0\xd8\xe5\x6d\xd8\x44\xbe\xb8\x6f\x43\xa7\xd3\xc9\x88\xdf\xde\x5c\x5c\xcf\xc6\x93\x3f\x46\xa7\xa7\xe3\xcb\xf1\x64\x34\xbb\xb8\xb9\x96\xc4\xef\x7a\x6d\xe8\xdd\xb7\xe1\xee\xe7\x9f\xda\xd0\x97\x0f\xfd\x9f\xde\xa6\x4f\xef\xde\xbd\x6d\xc3\xf1\xfd\xfd\xe0\xe0\xe0\x81\x84\xb0\xe5\x83\xf8\xff\x01\x71\xf3\x07\x9f\x2c\xd0\x4f\xf7\x85\x14\xe7\x8a\x49\x3d\x0f\x61\x49\x7c\x8e\x83\x62\x7d\x2a\x64\x04\x0f\xa1\xa7\xac\x5d\x12\x2e\xc6\xd4\xd5\x56\x27\xe8\x23\xe1\xe8\x9e\xb2\x88\x2a\x18\x8c\xae\x98\x47\x57\xa9\xce\x24\xeb\xf7\xc9\xc6\x86\x3d\xe0\xe7\x69\xb4\x29\x40\xe5\xca\xbc\xb4\xc2\x9d\x90\xf9\xfe\x67\xc3\x5a\x19\xce\x0d\xc9\x6a\xe5\xd1\x55\x59\x80\x6c\x75\xe6\x6d\x50\xba\xfe\x10\x68\xe4\xfb\x2a\x95\x12\xca\xc1\x32\xa2\x8e\x8c\x55\x58\x46\xbe\xcf\x9d\x10\x91\x8e\x29\x59\xf8\xe8\xda\x2d\xf8\xc7\x81\x74\xeb\x10\x45\x14\x52\xb0\x5d\xe6\x44\x1b\xa4\xa2\x53\x01\x85\x6f\xdf\x62\x48\xf9\xcb\xa1\xb6\xb8\xf8\xe2\x89\xb3\x67\xc1\x6e\xd8\x57\x09\x38\xdd\x0f\xc8\x1b\x09\xc6\x52\xb5\x06\x07\x4f\x8a\x60\x21\xfe\x15\x21\x57\x18\xb1\x31\x93\xcc\x5b\x82\x8d\x9d\x0a\x40\xb6\x2d\x7f\x86\x6d\xbb\x35\x88\xb7\x9f\x00\x7d\x8e\x29\x91\x44\xda\x49\x33\xa9\x1a\x20\x23\xc1\x0d\xfb\xaa\x00\x4e\x0d\xd4\x4c\x10\x66\x52\x7c\x0f\x5f\x06\x80\x9c\x50\x49\x97\xf8\xe8\x95\x60\x14\x3d\xe6\x26\x2a\xc3\xa8\x07\xd5\x80\x18\x78\xd6\x9c\x68\xbc\x9f\xa4\x09\xb0\x89\xf0\x86\x7d\x3d\x25\xd4\x41\xdf\xac\xdd\x26\xb8\x46\xb2\xfc\x19\xbc\xea\x40\x66\x5d\x2b\x51\xe6\xa3\xc4\x7b\x56\x40\x26\xa0\xcf\x0b\xc8\x06\xd8\x72\x40\x36\x01\xf2\x46\x82\x32\xf9\x68\xf1\x48\x5c\xb7\x40\x71\xd6\x84\xae\x70\xfc\x80\x54\x5c\x7a\x5c\xc8\x02\x67\xfb\xe9\x83\xd1\xbb\xaa\xa2\xbe\x1a\x0e\xe3\x46\x68\xe9\x51\x74\x8d\xfa\x26\xae\x5b\x3e\xc1\x5a\x6a\x0c\x58\x6d\xc8\x4f\xdd\xe7\x8c\x55\x79\x7f\x84\x83\x84\xd6\x8f\xf1\x61\x34\xce\x8f\x30\xb1\x61\x5f\x7f\x90\x03\x83\xd5\x7f\x84\x81\xab\x69\x41\xe7\xb4\xee\xfc\x92\xf7\xc8\x9e\x28\xae\xab\xb6\x48\xba\x14\xe1\x6d\x70\x2a\xc8\x26\xd0\xa2\xa3\x38\xdf\x73\x91\x0a\x6f\xe9\x61\x78\x92\x54\xed\x4e\xb1\xd2\xce\xa1\x02\xb2\xc2\xcf\x19\x40\xfc\x87\xb6\x17\x77\x05\x0d\x00\x73\x75\x6f\xae\xed\x55\x90\x15\x80\x5c\x82\x93\xe2\x31\x91\xbc\x1c\x38\x6a\x57\x71\x41\x5d\x7c\xfc\x65\x77\xe1\xda\x9e\x3b\x63\x67\x1e\xcd\x35\x2e\x3b\x4d\x5b\x56\x7b\x2f\x6e\x15\xc0\x83\xf7\x5a\x3f\xd2\xf1\x91\xae\xc4\x7a\x00\xde\xe1\xa1\x6a\xa7\x18\x49\x76\x38\x65\xf0\x3b\xef\x5e\x51\xd8\xe0\xa0\xd0\xeb\x12\x6c\x09\x3f\x04\x9d\x87\xec\x97\x9a\xc2\x1b\xe4\xab\x4f\x07\xc5\xbf\xe9\xee\x51\xbf\x2c\xa6\x43\x7c\x27\x92\x97\x86\x5b\xe6\x51\x81\xe1\xc8\x71\xd0\xc7\x30\xbe\x8c\x5c\x45\xbe\xb0\x79\x80\xd8\x28\xae\xa9\x7f\xac\x13\x9a\x1f\xc3\xd0\x88\x70\xe7\xdd\xdf\xf5\xee\x0b\xce\x49\x13\x60\x5f\x01\x94\x6a\xe1\xc7\xf0\x7e\x08\x25\x46\xb3\x9f\xc3\xa8\xf0\x68\x84\xba\x4e\x72\x8d\x4a\x85\xf6\x6a\x34\x49\x8e\x4d\x68\xbc\x5f\xcb\xda\x51\x5f\x93\xa2\x19\x54\x95\x23\xab\x32\x89\xbe\x8f\x78\xbf\x05\x5d\x29\x99\x7c\x6a\xc1\x1b\xb0\xc9\xf1\x11\xe9\xb7\xe0\x10\x48\x7f\xa0\x98\x55\x0a\xd1\x60\x01\xf8\x50\x96\x2e\x3d\xc6\xc8\x53\x03\x19\x95\xdb\x92\x3b\xf5\xf5\xa0\xf9\x58\xee\x88\xf3\x2a\x5a\xd7\x29\xcb\xbd\x2d\xef\x70\xa4\xae\x6d\x2d\xfa\x83\x9e\xa5\x15\xb0\x28\x70\x89\x40\x79\x79\x18\x51\x77\x1a\xf7\xd4\x39\xd1\xbc\xc9\x87\x21\x5c\x11\xb1\xee\x88\x30\xa2\x8e\x9d\xf5\xfd\x69\x4a\xcb\x1b\xff\x2a\xd4\xbc\x80\x92\x8a\x8c\x77\xc9\x82\x27\x14\x5a\xf0\x61\x08\x7d\xf8\xf6\x0d\x4a\xeb\xf3\x64\x5d\xd5\x6a\x7e\xd1\x38\x1a\x26\xcf\x83\xd2\xd6\x5c\xd9\x9a\x17\x5b\xb9\xd8\x1b\x0b\x0e\x53\x39\x0e\xc1\x1a\x64\x7f\xcd\x5b\xaa\xc2\x95\xcb\x4a\x59\x8e\xe2\x06\xa3\xc8\x9b\x5e\x61\x4c\x90\x75\x32\xa7\x74\x0c\x52\xa7\x78\x55\xb9\x95\xcb\xd3\xd1\x30\xfb\x6b\xa0\x6d\xcf\x4b\xdb\x73\x7d\x3b\xb9\x20\x89\x50\x8d\xd1\x5c\x33\x5c\xea\x22\x93\x3a\xd3\x4d\xc6\x8e\xa9\x60\xad\x09\x75\x7d\x8c\xf3\xbf\x8d\x0f\x42\x6d\x6a\x8c\x69\xb9\x12\xfe\xa5\x2b\x29\x3e\x88\x4e\x5e\x24\x06\x65\x18\xed\x3a\x5b\xda\x33\x5c\x54\xb3\xfd\xea\x3d\xb2\x6c\x62\x91\xdf\x62\xe5\xe1\x49\x97\xe0\xa6\x3c\x0f\x6a\x73\xb0\x68\xae\x35\x52\x7c\x51\xd4\x17\x41\xc2\x15\x26\x2d\x44\x40\x5c\x78\xfd\x1a\x6a\x37\xe3\x5b\xfc\xf7\x24\x55\xc9\x75\x10\xa2\x6c\x3c\x3e\xe2\x92\xc8\x0a\xd2\x2a\xe0\x34\x1b\x04\x11\x5f\xdb\x5a\x8f\x11\x73\xd1\x2e\xab\xbe\xd5\xd2\x14\x5c\x9a\x0f\xa8\x52\xbe\xca\xf4\xab\xf3\xac\xcc\x02\xea\x33\x45\x25\x68\x9b\x12\x46\x59\xee\xd2\x1c\xa1\x29\x3a\xb5\xc0\x68\x0e\xd0\x4c\x2c\x3d\x7b\x4a\xeb\xc4\xcd\xbe\x6e\x19\x1f\x49\x98\xa5\x5e\x0d\x49\x93\xb1\x29\x21\x1b\x9c\xb5\x1c\xa0\xe5\x22\x9a\x07\xb2\xce\x4e\x11\xc7\x4b\x4b\x3b\xde\x30\x1d\x29\x13\x37\xc5\xf5\x98\xba\x6a\x54\xbf\x58\xbc\x24\xbd\xd9\xa3\xd6\x9c\x15\x5d\xa0\x30\xf5\x6a\x9a\xc9\x24\xfe\xfb\x6a\x6b\xd1\x14\x3b\x5a\x74\xf0\xc0\xf7\x1c\x94\x84\xda\xd0\xd7\x23\xa0\x94\x62\x0e\x0f\x6b\xe3\xa3\x26\x85\xbd\xa0\xd9\x40\x4d\x38\xe5\x4c\xf8\xc1\x38\xc9\x4c\xad\x50\xc9\xc2\x59\x86\x2d\x5c\xef\xe9\x19\xc9\x3c\x4f\x67\xda\xd1\xb2\xa8\xbd\x7e\x6d\x74\x6f\xf5\xe4\x4a\x2f\xf2\x02\xe7\xbe\x52\xc4\x7b\xfd\xba\x6c\x22\x38\x52\x4b\xd0\xfb\xf2\x3c\x57\xf7\xd1\x45\x24\x04\xa3\xd5\x2c\x68\x2a\x42\x5a\xe9\x86\x64\x94\x9f\xa0\xf7\x15\x2b\x16\xf7\x4f\x33\x95\xe3\x5a\x2a\x6f\x15\x2a\x7b\x88\xbc\xad\x25\x62\x6c\xb9\x0b\xa3\xc8\xfa\x9f\xc2\xca\x76\xa0\x6f\x69\x51\x97\xd1\x31\x48\x5b\x4d\x78\x1c\x45\x96\x2b\x2b\x8d\x6b\x5b\xd3\x7c\x45\x43\x35\x21\xa3\x73\xd8\xb3\x2a\xe5\xc2\x94\xd9\x92\xa9\xd7\xff\x92\xdb\xbf\x25\xb9\xd5\x64\x0f\xf8\x4f\x97\x2b\xc9\x82\x6e\x52\x1e\x6d\x3e\x17\x01\x9b\xae\xcc\xcb\x2b\xff\x4d\x66\x8f\x9b\xb2\xc2\x20\x3a\x6a\xfc\x12\xc5\xe3\x22\xeb\x83\xf8\x5f\xa1\x48\xae\x24\x01\xdb\xaa\x3c\xc5\x23\x20\x38\xaa\x4c\x4b\xdc\xc7\x74\x2f\x4e\x98\x6d\x99\x9e\x0e\xa1\x8e\xc0\xbc\x81\xc0\x3c\x27\xa0\x99\xbe\x3e\xed\x37\x96\x33\x79\x83\x8a\x25\x33\x43\xdd\x99\x49\x1e\x41\xff\x5e\x62\x36\xd4\x84\x0f\xc3\xfa\xa2\xf0\x8c\x08\x28\x9b\xe7\xa9\xe4\x1f\xb1\x7b\x7c\x8f\xd2\x07\x65\xf4\x5d\x15\xbd\x51\xe5\x65\x74\x29\xef\x47\xf4\x05\xd1\x23\xbb\x86\x84\x21\xf2\xe3\xe8\x3a\x1c\x4a\x41\xde\xec\x1f\x6d\xe5\x17\x5c\xf7\xb1\x05\x5d\xe5\xfc\x37\xd0\xef\xf5\x7a\xad\x12\xdd\x79\x4c\x77\xf7\x7d\x74\x77\x7b\xe8\xd6\x2a\xd6\x60\x87\xfd\x58\x73\x83\xfa\x9b\xb1\x0a\x15\x1b\x93\xa9\xd6\xcc\x35\x77\x2c\x59\x5a\x6e\xf2\xcf\xc6\x16\x2a\x1e\x3a\xec\xbd\xbf\x1d\x0e\x63\x2b\xd7\x5c\xd8\x92\xdd\xb9\xb1\x9f\xa9\x3d\xb8\xd2\xd2\x68\x73\x8d\xca\x71\xda\x60\xa3\x7c\x60\xfe\x64\x9c\x5c\x19\xa7\xec\x6b\xe2\x4b\x6e\x70\x82\x3c\x60\x94\xa3\xbd\x41\xce\xc9\x0a\x4b\x85\x63\x4d\x6e\x16\x7f\xca\x6b\x1a\x6e\xe1\x4f\x3e\x3d\x1f\xd9\xd6\xf4\x7c\x74\x74\xfc\xee\xff\xac\x36\x58\xb3\xf1\xe7\x59\x56\xb4\x12\xd0\x0e\x47\x71\x7e\x35\x3a\xfd\x0d\x77\x19\x3d\x33\x5c\xc2\xa7\xbd\xf5\xa8\xcb\xb6\x1d\x9f\x39\xb1\x27\x77\xd6\x84\xaf\x3b\x3c\x5a\x70\x11\xda\xfd\x2c\x29\xa6\x63\xbf\x85\x60\xc4\x4e\xd1\x57\xc9\x31\xb6\xf5\xcb\x7c\x36\x9e\x5a\xad\x64\x7e\x97\x52\xab\xbe\x84\xf0\x19\x71\xad\x36\x64\xc2\x97\x66\x79\x24\x12\x6b\x59\x7a\x1c\x22\xf4\xd9\x4a\xfc\xa2\x3f\x40\x9a\x94\xe0\xfc\x25\xc7\x0a\x45\xfa\x46\x24\x2e\x62\x56\x0a\x62\x29\xa3\x30\xc7\x67\x3c\xa6\x56\x8b\x94\x40\x64\x38\x01\x69\x04\x0e\x88\x0a\x19\xcf\x47\xf6\x80\xc7\x30\x2a\x47\x5f\x70\xb7\x60\x24\x6c\x3c\x26\x83\x51\xf1\x8a\xb7\x47\x79\xbb\x5c\x8b\xaf\xc3\xaa\x74\x04\x3e\x8a\x26\x5c\xb9\x9f\xc1\x27\xba\xe9\x70\xb1\xf3\xb1\xe3\x7a\x3c\xf0\x89\xcc\xf2\x16\x65\x14\xad\x5c\x0d\x8d\xfb\x99\x28\x8d\x40\xf2\xcc\xce\x03\xf1\x23\x94\x1b\x56\xfa\xe2\x23\xf9\xb8\xe4\x36\x64\x82\x39\x4c\xea\xd9\xda\x72\x7e\x62\x15\xd3\xcb\xdc\x5b\x83\x1c\x66\x08\x56\xfc\xf5\x8d\x55\xbe\xd6\x95\x89\x64\x34\x92\x68\xdd\xf2\x34\xae\x7e\xc7\xc5\x94\x39\x5f\x50\xd8\x0a\xc2\x21\x58\xdd\xae\x6c\xeb\x8b\xd0\x60\x5c\x50\xb2\x41\x38\xac\x54\xde\xf4\xa7\x30\xc6\x42\x01\xff\x0f\xd6\x49\x89\x42\xbc\x7a\x02\x96\xd5\xaa\xa7\x61\x75\xb7\x5c\x9a\x21\x65\xb1\xc3\x68\x1a\xc6\x32\x32\xb2\xf0\x89\x27\x6d\x7a\x8a\x2d\xc5\x91\xa1\xcb\x8d\x8d\x6a\x6b\x7d\x4e\x12\xda\xa6\x44\xa6\x87\xa5\x79\x58\x5b\xcd\x62\x31\x6f\x1d\x97\x08\xa2\xf6\x54\x69\x88\x36\x7a\x43\x26\xc8\xda\xe3\x82\x85\xbb\x0e\x17\x44\x60\x6c\xda\x22\x2e\x34\xb1\xea\xbd\x6c\xe9\xe3\xa3\x55\x96\x35\xf6\xb6\x25\x73\x22\x6e\xef\xbb\xd9\x19\xbd\x5b\x23\x99\xaa\xea\x29\x7b\x5d\x17\x1b\x2b\x56\xb2\x6a\x2a\xdd\x4a\x86\x4f\x0e\x74\xa1\xcc\x9f\x6e\x94\xad\xf3\x5c\x7d\xee\x0b\xd3\x66\x25\xc6\x80\x39\x5c\x5d\x56\x50\xf5\x92\x69\x63\x6f\x8a\xcb\x12\x94\xa1\x58\x38\xbe\xe7\x7c\xb1\xda\x75\x11\xf2\xdc\x5f\x11\x2d\x2f\x64\x83\x7f\x4d\xb7\x9a\x37\x99\x9d\x33\x0b\x85\x20\xe2\xf2\x22\x20\x50\xa9\x11\x6d\xb0\x92\xef\x3b\xe1\x37\xad\x6c\x3c\x29\x6f\x7a\x5e\x19\x3e\x3a\x53\x85\xd5\x4b\x46\xa3\x44\x89\xec\x15\x94\x5a\x13\xbe\x98\x0d\x4c\x31\x5b\xfd\x88\x2c\x20\x6e\x75\x0e\x93\xad\xd4\x7a\xa8\xcc\x6b\x2f\xec\x9d\xf5\x6a\x51\x2a\xe2\xab\x61\x5c\x29\x6a\xa6\x15\x42\x56\x96\x02\xba\x65\x48\x75\x6a\x61\x2d\x2b\x21\xa6\x94\xf4\x6a\x99\x87\x2d\x88\xf3\xc5\xd6\xfc\x27\x05\x61\x34\x60\x41\x9a\x8c\xf7\xd4\xa0\x3a\x77\xcf\xfc\x5d\x17\xe7\x39\x79\x16\x9e\xdb\x4d\x40\xed\x9c\xae\x5e\xd4\x42\x27\x4f\x83\xe6\xc4\x15\xa2\x6c\x62\x5f\x3a\x6d\x99\x3d\x23\xef\x20\x12\x26\x74\x3b\x49\x2d\x56\xf9\x89\xef\x67\x5c\x90\x50\x58\x6d\xf5\x15\x69\x3b\xff\x84\x73\x0f\x2e\x52\x37\xc7\x1c\x53\xf7\xd9\x78\x4e\x3c\xd6\xcc\x51\x93\x29\xe7\xb3\xb1\xe5\xad\x2e\xc7\x95\xf7\xa8\x02\xf3\xa9\x78\xfc\x67\x00\x00\x00\xff\xff\xa7\x57\xf8\xa2\x4c\x30\x00\x00") +var _webdataFnJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3a\x5d\x6f\xdb\x38\xb6\xef\xf9\x15\xa7\x7a\x28\xe4\xc6\xb1\xe3\x14\xbd\x33\xa8\xeb\xde\xeb\x49\xdd\x49\x30\x4d\x13\xd8\xee\x9d\x1a\x41\x30\xa0\xa5\x63\x5b\x53\x59\xd4\x88\x54\x1c\x77\xdb\xff\xbe\x20\xf5\x45\x52\x94\x9c\x76\x3b\xfb\xb0\x58\x01\x4d\x65\xf1\x9c\xc3\xf3\xfd\x41\xa9\xff\xec\x08\x9e\x01\x00\x9c\xd3\x78\x9f\x04\xeb\x0d\x07\xd7\xeb\xc0\xd9\xe9\xe0\x67\xf8\x10\x25\xa9\xff\x2a\x15\x7f\xff\x8f\xa6\x3c\xa4\xf4\x53\xcf\xa3\xdb\xd7\x47\x50\x20\xcd\x37\x01\x83\x55\x10\x22\x04\x0c\x62\x92\x70\xa0\x2b\x98\xe2\x96\x72\x3c\x99\xd3\xd4\xdb\xc4\xc4\xef\x55\xe0\x6f\x29\x5d\x92\x44\xc0\xae\x12\x44\x60\x74\xc5\x77\x24\xc1\x97\xb0\xa7\x29\x78\x24\x82\x04\xfd\x80\xf1\x24\x58\xa6\x1c\x21\xe0\x40\x22\xbf\x4f\x13\xd8\x52\x3f\x58\xed\x73\x22\x01\x87\x34\xf2\x31\x01\xbe\x41\xe0\x98\x6c\x99\xd8\x54\xfc\xf8\xf5\xfd\x07\xf8\x15\x23\x4c\x48\x08\x37\xe9\x32\x0c\x3c\x78\x17\x78\x18\x31\x04\xc2\x20\x16\x4f\xd8\x06\x7d\x58\x16\xa4\x04\xd2\x5b\xc1\xc9\x2c\xe7\x04\xde\xd2\x34\xf2\x09\x0f\x68\xd4\x05\x0c\xf8\x06\x13\xb8\xc7\x84\x05\x34\x82\xe7\xc5\x36\x39\xcd\x2e\xd0\x24\xa7\xe3\x12\x2e\x44\x48\x80\xc6\x02\xb5\x03\x24\xda\x43\x48\x78\x85\xad\x28\xc1\x50\x8f\xd0\x46\x25\xb4\x0f\x41\x24\x37\xd9\xd0\x18\x81\x6f\x08\x17\xf2\xee\x82\x30\x84\x25\x42\xca\x70\x95\x86\xdd\x9c\xd0\x32\xe5\xf0\xfb\xe5\xfc\xe2\xfa\xc3\x1c\xc6\xef\x17\xf0\xfb\x78\x3a\x1d\xbf\x9f\x2f\x86\xb0\x0b\xf8\x86\xa6\x1c\xf0\x1e\x33\x6a\xc1\x36\x0e\x03\xf4\x61\x47\x92\x84\x44\x7c\x0f\x74\x95\x13\xb9\x9a\x4c\xcf\x2f\xc6\xef\xe7\xe3\x5f\x2e\xdf\x5d\xce\x17\x40\x13\x78\x7b\x39\x7f\x3f\x99\xcd\xe0\xed\xf5\x14\xc6\x70\x33\x9e\xce\x2f\xcf\x3f\xbc\x1b\x4f\xe1\xe6\xc3\xf4\xe6\x7a\x36\xe9\x01\xcc\x50\x30\x87\x39\x8d\x16\xbd\xaf\xa4\xf5\x12\x04\x1f\x39\x09\x42\x56\xe9\x61\x41\x53\x60\x1b\x9a\x86\x3e\x6c\xc8\x3d\x42\x82\x1e\x06\xf7\xe8\x03\x01\x8f\xc6\xfb\xc3\x36\xcd\xc8\x90\x90\x46\x6b\x29\x70\xee\x5d\x3d\x80\xcb\x15\x44\x94\x77\x81\x21\xc2\xab\x0d\xe7\xf1\xcb\x7e\x7f\xb7\xdb\xf5\xd6\x51\xda\xa3\xc9\xba\x1f\x66\x04\x58\xff\xb5\x60\xa7\x7f\xd4\xef\xc3\xed\x00\xa4\x41\xba\x70\x96\xdd\x20\xeb\xc2\xf3\xe2\xf6\xee\xc8\xa3\x11\xe3\x30\xbf\xfe\x70\x7e\xf1\xc7\xd5\xf5\xff\x4f\xfe\x98\x5f\x4c\x27\xb3\x8b\xeb\x77\x6f\x60\x04\xb7\x83\xd3\x2e\x0c\x5e\x88\x7f\x77\x43\x0d\x74\x7e\x79\x35\x11\xe6\x19\xc1\xd9\x8b\xd3\xa1\xdc\xe8\x36\x7e\xe8\xb3\x2e\x6c\xd3\x90\xdf\x75\xa1\xd7\xeb\x15\xc4\x6f\xae\x2f\xdf\xcf\x27\xd3\x3f\xc6\xe7\xe7\x93\x77\x93\xe9\x78\x7e\x79\xfd\x5e\x10\x3f\x12\x2a\xbe\x3d\xed\xc2\xe9\x5d\x37\xbb\xff\xf9\xa7\x2e\x0c\x8a\x1f\x83\x9f\x9e\x2b\xbf\x5e\xbc\x78\xde\x85\xb3\xbb\xa3\xbb\xe1\xd1\xd1\x3d\x49\x60\xc7\x86\xf2\xff\x98\xf8\xe5\x4d\x48\x96\x18\xe6\xeb\x5c\x08\x78\x45\x85\xde\x47\xb0\x22\x21\xc3\x61\xf5\x7c\xc6\x45\x44\x8f\xe0\x54\x79\xf6\x8e\x30\x3e\x89\x7c\xe3\xe9\x14\x43\x24\x0c\xfd\x73\x9a\x46\x0a\x06\x8d\xd6\x34\x88\xd6\xb9\x16\x85\x30\x77\xd9\xc2\x96\xde\xe3\xc7\x59\xba\xad\x40\xc5\x93\x85\xf6\x84\x79\x09\x0d\xc3\x8f\x96\x67\x3a\x9c\x9f\x90\xf5\x3a\x88\xd6\xba\x00\xc5\xd3\x79\xb0\x45\x11\x0a\x23\x88\xd2\x30\x54\xa9\x68\x28\x47\xab\x34\xf2\x44\xec\xc2\x2a\x0d\x43\xe6\x25\x88\xd1\x24\x22\xcb\x10\x7d\xb7\x03\xff\x90\xca\x4d\x90\xa7\x49\x04\xae\x4f\xbd\x74\x8b\x11\xef\xd5\x40\xe1\xcb\x17\x09\x29\xae\x12\x6a\x87\xcb\x4f\x01\x7f\xfb\x28\xd8\x2d\xfd\x2c\x00\x67\x87\x01\x59\x2b\x41\x29\x55\x67\x78\xf4\x55\x11\x2c\xc1\xbf\x52\x64\x0a\x23\x2e\x16\x92\x05\x2b\x70\xb1\x57\x03\x28\x96\xc5\x65\x59\x76\x3b\x43\xb9\xfc\x15\x30\x64\x98\x13\xc9\xa4\x9d\xb6\x93\x6a\x00\xb2\x12\xdc\xd2\xcf\x0a\xe0\xcc\x42\xcd\x06\x61\x27\xc5\x0e\xf0\x65\x01\x28\x09\x69\xba\xc4\x87\x40\x83\x51\xf4\x58\x9a\x48\x87\x51\x37\x6a\x00\xb1\xf0\x6c\x38\xd1\xe4\x30\x49\x1b\x60\x1b\xe1\x2d\xfd\x7c\x4e\x22\x0f\x43\xbb\x76\xdb\xe0\x5a\xc9\xb2\x47\xf0\x6a\x02\xd9\x75\xad\x44\x59\x88\x02\xef\x51\x01\x99\x81\x3e\x2e\x20\x5b\x60\xf5\x80\x6c\x03\x64\xad\x04\x45\xf2\x31\xe2\x91\xf8\x7e\x85\xe2\x6d\x48\xb4\xc6\xc9\x3d\x46\xfc\x5d\xc0\xb8\x28\x78\x6e\x98\xdf\x58\xbd\xab\x2e\xea\x93\xd1\x48\x36\x46\xab\x20\x42\xdf\xaa\x6f\xe2\xfb\xfa\x0e\xce\xca\x60\xc0\xe9\x42\xb9\xeb\x21\x67\xac\xcb\xfb\x3d\x1c\x64\xb4\xbe\x8f\x0f\xab\x71\xbe\x87\x89\x2d\xfd\xfc\x9d\x1c\x58\xac\xfe\x3d\x0c\x5c\xcd\x2a\x3a\xe7\x4d\xfb\x6b\xde\x23\x7a\x24\x59\x57\x5d\x9e\xf5\x2d\x3c\xd8\xe2\x8c\x93\x6d\x6c\x44\x47\xb5\x7f\xe0\x63\xc4\x83\x55\x80\xc9\xcb\xac\x6a\xf7\xaa\x27\xdd\x12\x2a\x26\x6b\xfc\x58\x00\xc8\x1f\xc6\x9a\xec\x0a\x5a\x00\x16\xea\xda\xc2\x58\xab\x21\x2b\x00\xa5\x04\x2f\xab\xdb\x4c\x72\x3d\x70\xd4\xae\xe2\x32\xf2\xf1\xe1\x97\xfd\xa5\xef\x06\xfe\x9c\xbe\x0d\xa2\x52\xe3\xa2\xf3\x74\x45\xb5\x0f\x64\xab\x00\x01\xbc\x32\xfa\x91\x5e\x88\xd1\x9a\x6f\x86\x10\x1c\x1f\xab\x76\x92\x48\xa2\xc3\xd1\xc1\x6f\x83\x3b\x45\x61\xc3\xa3\x4a\xaf\x2b\x70\x05\xfc\x08\x4c\x1e\x8a\x2b\x37\x45\x30\x2c\x9f\x7e\x3d\xaa\xfe\xe6\xab\x27\x03\x5d\x4c\x8f\x84\x5e\x2a\x86\x88\x1b\x1a\x44\x1c\x93\xb1\xe7\x61\x88\x89\x1c\x4e\xae\xd2\x90\xbb\x2c\x46\x6c\x15\xd7\xd6\x51\x36\x09\xcd\xce\x60\x64\x45\xb8\x0d\xee\x6e\x4f\xef\x2a\xce\x49\x1b\xe0\x40\x01\x14\x6a\x61\x67\xf0\x6a\x04\x1a\xa3\xc5\xe5\xd1\x88\x07\x51\x8a\xa6\x4e\x4a\x8d\x0a\x85\x9e\x36\x68\x92\x9c\xd9\xd0\xd8\xa0\x91\x35\x38\x81\x81\x21\xc7\x21\x60\x55\x96\xa2\xd2\x64\x3a\x87\x13\x60\x83\x0e\xf4\xa5\x7c\xf2\xbe\x03\xcf\xc0\x25\xe2\x07\x19\x74\xe0\x18\xc8\x60\xa8\x18\x58\x88\xd3\x62\x0b\x78\xad\xcb\x99\x6f\x66\xe5\xad\x8d\x8c\xc6\xb5\xe6\x5a\x03\x33\x80\xde\xe8\xdd\x71\x59\x51\x9b\xba\x66\xb1\xb6\x63\x3d\x86\x91\xef\x3a\xcb\xc1\xf0\xd4\x31\x8a\x59\x1a\xfb\x84\xa3\x18\x24\xc6\x91\x3f\x93\xfd\x75\x49\xb4\x6c\xf8\x61\x04\x57\x84\x6f\x7a\x3c\x49\x23\xcf\x2d\x66\x80\x3c\xbd\x95\x43\x40\x1d\x6a\x51\x41\x09\x55\xca\x55\xb2\x64\x19\x85\x0e\xbc\x1e\xc1\x00\xbe\x7c\x01\xed\xf9\x22\x7b\xae\xea\xb5\x1c\x3a\x4e\x46\xd9\xfd\x50\x5b\x5a\x28\x4b\x8b\x6a\xa9\x14\x7b\xeb\xc0\x71\x2e\xc7\x31\x38\xc3\xe2\xd7\xa2\xa3\x2a\x5c\x19\x5c\x74\x39\xaa\x69\x46\x91\x37\x1f\x67\x6c\x90\x4d\x32\xe7\x74\x2c\x52\xe7\x78\x75\xb9\x95\x41\xea\x64\x54\xfc\x1a\x1a\xcb\x0b\x6d\x79\x61\x2e\x67\xc3\x12\x4f\xd4\x78\x2d\x35\xc3\x84\x2e\x0a\xa9\x0b\xdd\x14\xec\xd8\x8a\xd7\x86\x44\x7e\x88\xb2\x16\xb8\x78\xcf\xd5\x06\xc7\x9a\xa2\x6b\xa9\x40\x1b\x4f\xf1\x9e\xf7\xca\x82\x31\xd4\x61\x8c\xd1\x56\x5b\xb3\x0c\xad\xc5\x7a\x7d\xa6\xd4\x4d\xcc\xcb\x89\x56\x6c\x9e\x75\x0c\x7e\xce\xf3\xb0\x31\x1f\xf3\xf6\xba\x23\xc4\xe7\x55\xad\xe1\x24\x59\x63\xd6\x4e\xc4\xc4\x87\xa7\x4f\xa1\x71\x51\x4e\xf4\xdf\x92\x60\x05\xd7\x71\x82\xa2\x09\x79\x83\x2b\x22\xaa\x49\xa7\x82\x33\x6c\x10\xa7\x6c\xe3\x1a\xfd\x86\xe4\xa2\xab\xab\xbe\xd3\x31\x14\xac\x9d\x15\xa8\x52\x3e\x29\xf4\x6b\xf2\xac\x9c\x0b\x34\x67\x8a\x5a\xd0\xb6\x25\x0c\x5d\x6e\xed\x4c\xa1\x2d\x3a\x8d\xc0\x68\x0f\xd0\x42\x2c\x33\x7b\x0a\xeb\xc8\xc6\xdf\xb4\x4c\x88\x24\x29\x52\xaf\x81\x64\xc8\xd8\x96\x90\x2d\xce\xaa\x07\xa8\x5e\x50\xcb\x40\x36\xd9\xa9\xe2\x78\xe5\x18\xdb\x5b\x4e\x4a\x74\xe2\xb6\xb8\x9e\x44\xbe\x1a\xd5\x7f\x5b\xbc\x64\x7d\xda\x83\xd1\xa8\x55\x1d\x21\xb7\xf5\x6d\x86\xc9\x04\xfe\xab\x7a\x9b\xd1\x16\x3b\x46\x74\xb0\x38\x0c\x3c\x14\x84\xba\x30\x30\x23\x40\x4b\x31\xc7\xc7\x8d\xf1\xd1\x90\xc2\xfe\x46\xb3\x81\x9a\x70\xf4\x4c\xf8\xda\x7a\xce\x99\x5b\xa1\x96\x85\x8b\x0c\x5b\xb9\xde\xd7\x47\x24\xf3\x32\x9d\x19\x5b\x8b\xa2\xf6\xf4\x69\x2d\x0f\xab\xbb\xd6\xfa\x90\x1f\xbc\xe7\x13\x45\xac\xa7\x4f\x75\xd3\xc0\x89\x5a\x7a\x5e\xe9\xa7\xbc\xa6\x6f\x2e\x53\xce\x69\x54\xcf\x7e\xb6\xe2\x63\x94\x6c\xc8\x8e\xf7\x33\xf4\x81\x62\xbd\x6a\x06\xb5\x53\x39\x6b\xa4\xf2\xfc\x1b\xa8\x3c\x6f\xa4\x62\xed\xbb\x2b\x8b\x88\xc2\x9f\xc3\x8a\x3e\x60\xe0\x18\xe1\x56\xd0\xb1\x88\x5b\xcf\x74\x0c\x79\x91\x24\x6b\x1d\x6b\xd7\x50\x7d\x4d\xb8\x86\x58\x31\x39\x3c\x75\x6a\x75\xc2\x96\xd2\xb2\xa3\xaf\xff\x66\xb5\x1f\x92\xd5\x1a\xd2\x06\xfc\xbb\xeb\x94\x60\xc1\x34\x29\x4b\xb7\x1f\xab\x88\xcd\x9f\x2c\xf4\x27\xff\x49\x66\x97\xdd\x58\x65\x10\x13\x55\xbe\x49\x09\x18\x2f\x1a\x20\xf6\x57\xc2\xb3\x59\x24\xa6\x3b\x95\x27\x79\x0e\x04\x27\xb5\x23\x13\xff\x21\x5f\x93\x19\xb3\x2b\xf2\xd3\xb1\xb6\x83\xb8\x9a\x08\x2e\x5a\x08\x2e\x4a\x82\x86\x2b\x34\xd7\x80\xd6\xba\xa6\x1e\xd6\x16\x97\x94\xdc\x8e\x75\x6b\xdf\x42\x8c\xe0\x36\x4a\x2d\x45\xe4\xf5\xa8\xb9\x8a\x14\x57\x4b\xc4\xe8\xe6\xfc\xaa\xf9\x93\x74\xa7\x6f\x31\xd2\x50\x47\xdf\xd7\xd1\x5b\x4d\xa2\xa3\x0b\x79\xdf\x60\xc8\x89\x99\x09\x1a\x48\x58\x32\x85\x8c\xc6\xe3\x91\x10\xe4\xd9\xe1\xf3\xb0\x72\x12\xf6\x1f\x3a\xd0\x57\xf6\x7f\x06\x83\xd3\xd3\xd3\x8e\x46\x77\x21\xe9\xee\xbf\x8d\xee\xfe\x00\xdd\x46\xc5\x5a\xec\x70\x18\x6b\x61\x51\x7f\x3b\x56\xa5\x62\x6b\xf2\x35\xba\xbe\xf6\x16\xa7\x48\xe3\x6d\xfe\xd9\xda\x6f\xc9\xd3\x89\x83\x83\xde\xf1\x48\x5a\xb9\x61\xb2\xcb\x56\x17\xd6\xd6\xa5\x71\xe3\x5a\x0f\x64\x1c\x80\xd4\xb6\x33\x4e\x40\xf4\x0d\xcb\x3b\xeb\x11\x97\xf5\x68\x7e\x43\x42\xc1\x0d\x4e\x91\xc5\x34\x62\xe8\x6e\x91\x31\xb2\x46\xad\xd0\x6c\xc8\xf5\xf2\x4f\x31\xcf\xe1\x0e\xfe\x64\xb3\x8b\xb1\xeb\xcc\x2e\xc6\x27\x67\x2f\xfe\xc7\xe9\x82\x33\x9f\x7c\x9c\x17\x45\x2e\x03\xed\x31\xe4\x17\x57\xe3\xf3\xdf\x70\x5f\xd0\xb3\xc3\x65\x7c\xba\xbb\x20\xf2\xe9\xae\x17\x52\x4f\x7a\x72\x6f\x43\xd8\xa6\xc7\xd2\x25\xe3\x89\x3b\x28\x92\x66\x7e\x3e\xb8\xe4\x94\xb8\x39\xfa\x3a\xdb\xc6\x75\x7e\x59\xcc\x27\x33\xa7\x93\x1d\xf4\xe5\xd4\xea\x6f\x2e\x42\x4a\x7c\xa7\x0b\x85\xf0\xda\xa1\x1f\x49\xf9\x46\x94\x2a\x8f\x70\xf3\x10\x46\x7e\x1d\x10\x63\x94\x95\xec\xf2\xcd\xc8\x1a\x79\xfe\x1a\x45\x16\x3d\x27\x07\x71\x94\x33\x33\x2f\xa4\x4c\x52\x6b\x44\xca\x20\x0a\x9c\x98\xb4\x02\xc7\x44\x85\x94\x07\x29\x07\xc0\x25\x8c\xca\xd1\x27\xdc\x2f\x29\x49\x5a\xb7\x29\x60\x54\xbc\xea\x95\x53\xd9\x5e\x37\xe2\x9b\xb0\x2a\x1d\x8e\x0f\xbc\x0d\x57\xac\x17\xf0\x99\x6e\x7a\x8c\xef\x43\xec\xf9\x01\x8b\x43\x22\xb2\xbc\x13\xd1\x08\x9d\x52\x0d\xad\xeb\x85\x28\xad\x40\x62\xcf\xde\x3d\x09\x53\x14\x0b\x4e\xfe\xb6\x24\xfb\x22\xe5\x26\xa1\x9c\x7a\x54\xe8\xd9\xd9\x31\xf6\xd2\xa9\x8e\x39\x4b\x6f\x8d\x4b\x98\x11\x38\xf2\x13\x1e\x47\x9f\x01\x75\x22\x05\x8d\x2c\x5a\x77\x2c\x8f\xab\xdf\x71\x39\xa3\xde\x27\xe4\xae\x82\x70\x0c\x4e\xbf\x2f\xc6\x80\x2a\x34\x28\xe3\x11\xd9\xa2\xd2\x9a\x28\x9c\xd0\x84\xc3\xff\x82\xf3\x52\x43\x91\x4f\x5f\x82\xe3\xa8\xfd\x8c\xd3\xdf\x31\xa1\xe8\x9c\x89\x1e\x8d\xf2\x40\x15\xbe\x5f\x04\x88\x3c\x74\x33\x93\xa8\x16\x29\x96\xbe\x57\x9a\xcd\x35\x3a\x9d\x2c\x78\x6d\xa9\xca\x0c\x3c\xfb\xb9\x6d\x3d\x4f\x49\xde\x7a\x3e\xe1\x44\xed\xaa\xf2\x20\x6c\xb5\x77\x21\xc8\x26\x60\x9c\x26\xfb\x1e\xe3\x84\xa3\x34\x5e\xe5\xf9\x86\x58\xcd\x7e\xb4\x0a\xf1\xc1\xd1\x65\x95\xfe\xb4\xa2\x5e\xca\xdc\x43\xb3\x9e\xd5\x7f\x0d\x92\xf9\x50\xa0\x9a\x4a\xaa\x58\x35\x94\x69\x23\xcb\x77\x08\xa6\x48\xf6\xef\x39\x74\xdb\x3c\x56\x9b\x87\xc2\xb0\x5d\x85\x12\xb0\x84\x6b\x8a\x7a\x45\x2b\x85\x2e\x0e\x66\xb0\x22\xff\x58\x6a\x81\x17\x06\xde\x27\xa7\x7a\xa1\x5b\xf9\xbc\xa9\xa8\x47\xea\xb3\x5d\xa7\xba\x5e\x1f\xab\xb3\x1f\xe4\x7a\xe2\x2a\x9c\x3d\x4e\x99\x68\xe6\x39\x2a\x79\xbe\x0b\x4e\xf6\xa1\x27\xfc\x66\xa4\x7e\xc9\xb6\xf2\x6a\xe7\x89\xe5\x8b\x33\x55\x11\x66\xea\x6f\x95\x30\xd3\x47\x0d\xa5\xd1\x56\x0d\x36\xfa\xd7\xfd\xdd\x16\x99\xf5\x2f\xc8\x62\xe2\xd7\xcf\x5f\xf2\x27\x8d\x9e\x28\x92\xd7\x0f\xf3\x42\xa5\x50\x3d\x19\xc9\x7c\x5e\x77\xc1\xf2\xe0\x81\x8b\x1a\x50\x61\x18\xee\x00\xb6\xba\xa7\x2e\xea\xce\x9a\xb7\x54\x85\x13\x2d\x89\xf7\xc9\xb5\xb8\x48\x0e\x46\xa3\x98\xc6\x79\x56\x3d\x50\x4c\x9a\xbc\xbb\x70\x6f\x53\xc4\xc7\x24\x4c\x78\x6c\xe1\x6f\x34\xfe\x21\x71\x8b\x2c\xd4\x6a\xfa\x04\x45\xbf\xf9\x43\x8c\x5f\x96\xf2\x8c\xa6\x4d\xf5\x42\x31\xf5\x2d\xe4\x74\xc4\xc4\xec\xee\x74\xd5\x37\x99\xdd\xf2\xab\xcb\x03\xb8\x18\xf9\x25\xe6\x24\xf2\x1f\x8d\xe7\xc9\x43\xc8\x12\x35\x3b\x93\x7c\x34\xb6\x98\xa9\x4a\x5c\x31\xc5\x54\x98\x5f\xab\xdb\x7f\x06\x00\x00\xff\xff\x26\xc1\x7d\x14\x0f\x30\x00\x00") func webdataFnJsBytes() ([]byte, error) { return bindataRead( @@ -90,7 +90,7 @@ func webdataFnJs() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/fn.js", size: 12364, mode: os.FileMode(436), modTime: time.Unix(1, 0)} + info := bindataFileInfo{name: "webdata/fn.js", size: 12303, mode: os.FileMode(436), modTime: time.Unix(1, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -135,7 +135,7 @@ func webdataIconWoff() (*asset, error) { return a, nil } -var _webdataIndexHtml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x94\xcf\x6e\xd4\x30\x10\xc6\xef\x7d\x0a\x33\x67\x92\x00\x12\x88\x43\x1c\x09\xb5\x3d\x70\x02\xa1\x22\xc1\x71\xd6\x9e\x4d\x86\x3a\x76\xb0\x27\xdb\xee\x0b\x70\xe2\x19\x38\x00\x07\xde\x81\xb7\xe1\x49\xd0\xc6\xb4\xd9\xee\x9f\x96\xd3\xee\xcc\x7c\xfe\xcd\xe7\x19\x2b\xf5\xa3\xb3\x37\xa7\x17\x1f\xdf\x9e\xab\x4e\x7a\xd7\x9c\xd4\x9b\x1f\xe5\xd0\xb7\x1a\xc8\x43\x73\xa2\x94\x52\x75\x47\x68\xf3\xdf\x29\xec\x49\x50\x99\x0e\x63\x22\xd1\x30\xca\xb2\x78\x09\xaa\xda\x15\x78\xec\x49\xc3\x8a\xe9\x6a\x08\x51\x40\x99\xe0\x85\xbc\x68\xb8\x62\x2b\x9d\xb6\xb4\x62\x43\xc5\x14\x28\xf6\x2c\x8c\xae\x48\x06\x1d\xe9\xa7\x8f\x55\x8f\xd7\xdc\x8f\xfd\x9c\x18\x13\xc5\x29\xc2\x85\x23\xfd\xe4\x40\xbf\x4e\x64\x28\xe8\xf3\xc8\x2b\x0d\x1f\x8a\xf7\xaf\x8a\xd3\xd0\x0f\x28\xbc\x70\xb4\xd5\xfc\xf5\xb9\x26\xdb\xd2\xdd\xf3\xc9\x44\x1e\x44\xa5\x68\x34\x2c\x7d\xf9\x29\x41\x53\x57\x39\x79\x44\x95\x3a\x7c\xf6\xfc\xc5\x31\xa5\xb0\x38\x6a\xde\x51\x1f\x84\xd4\x45\x18\x4d\x37\xa0\xad\xab\x9c\x9e\x65\x8e\xfd\xa5\xea\x22\x2d\x35\xf4\xc8\xbe\x34\x29\x81\xea\xc9\x32\x6a\x48\x26\x12\x79\x50\x91\x9c\x86\x24\x6b\x47\xa9\x23\x92\xbb\xbe\xb7\x00\x6c\x82\x2f\x07\xdf\x82\x92\xf5\x40\x1a\xb8\xc7\x96\xaa\x29\x91\x11\x5d\x88\x62\x46\x51\x1b\xe1\x2d\xa5\xae\xe6\xd5\xd6\x8b\x60\xd7\x5b\x70\xcb\x2b\xc5\x56\x43\x18\xc8\xb3\x6f\x61\x2e\x4d\xe5\xa1\x39\x0d\xde\x93\x11\xf6\x6d\x59\x96\x75\x35\x6c\x9d\xad\x2c\xaf\x0e\xa0\x8c\x0b\x89\xec\x3e\xe9\x8c\x93\xc9\x30\xb2\x77\x40\xd9\xd7\x28\x12\xbc\x32\x0e\x53\xca\x17\x85\x89\x16\xc9\x05\xb4\xb9\x0a\xcd\x9f\x2f\xbf\xeb\x2a\x07\x0f\x1b\x19\x70\xdf\xc5\x4d\xc1\xe1\x82\x1c\x34\xf3\xda\x76\xfd\x6c\x20\xff\xcc\xe4\x7e\x69\x87\x75\xaf\xeb\xe5\xe8\x5c\x5e\xee\xad\xf3\x9f\xdf\xf7\x9d\x3f\xc8\xb9\xa4\xf5\x22\x60\x9c\xef\xff\xf5\xd7\x21\xca\xee\x04\x8e\x0c\xe4\x86\xb6\x3b\x15\xa1\x6b\xc1\x48\x38\x89\x36\xc1\xe6\xbd\xdf\x24\xff\x73\x4f\x89\xfc\xec\xf2\xdb\x8f\x7b\xb7\x54\x57\xf9\x15\xd6\x55\xfe\x1e\xfd\x0d\x00\x00\xff\xff\xa0\x16\x9c\x8c\xa0\x04\x00\x00") +var _webdataIndexHtml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x54\x4d\x8e\xd4\x3c\x10\xdd\xf7\x29\xfc\x79\xfd\x25\x01\x24\x10\x8b\x38\x12\x9a\x99\x05\x2b\x10\x1a\x24\x58\x56\xec\xea\xa4\x18\xc7\x36\x76\xa5\x67\xfa\x02\xac\x38\x03\x0b\x60\xc1\x1d\xb8\x0d\x27\x41\x89\xa7\x27\xe9\xa1\xf9\x59\x45\xf5\xaa\xde\x7b\x55\xae\x52\xea\xff\xce\x5f\x9c\x5d\xbe\x7d\x79\x21\x7a\x1e\x6c\xb3\xa9\xa7\x8f\xb0\xe0\x3a\x25\xd1\xc9\x66\xb3\xa9\x7b\x04\xd3\x6c\x84\x10\xa2\x1e\x90\x41\xe8\x1e\x62\x42\x56\x72\xe4\x6d\xf1\x54\x8a\x6a\x9d\x74\x30\xa0\x92\x3b\xc2\xeb\xe0\x23\x4b\xa1\xbd\x63\x74\xac\xe4\x35\x19\xee\x95\xc1\x1d\x69\x2c\xe6\x40\x90\x23\x26\xb0\x45\xd2\x60\x51\x3d\xfc\x5f\x0c\x70\x43\xc3\x38\x2c\xc0\x98\x30\xce\x11\xb4\x16\xd5\x83\x7b\x5e\x3d\x73\x28\xf0\xfd\x48\x3b\x25\xdf\x14\xaf\x9f\x15\x67\x7e\x08\xc0\xd4\x5a\x5c\x19\x3f\xbf\x50\x68\x3a\x5c\xb8\x49\x47\x0a\x2c\x52\xd4\x4a\x6e\x5d\xf9\x2e\xc9\xa6\xae\x32\x78\xa2\x22\xf5\xf0\xe8\xf1\x93\x53\x55\x4c\x6c\xb1\x79\x85\x83\x67\x14\x97\x7e\xd4\x7d\x00\x53\x57\x19\xce\x25\x96\xdc\x95\xe8\x23\x6e\x95\x1c\x80\x5c\xa9\x53\x92\x62\x40\x43\xa0\x64\xd2\x11\xd1\x49\x11\xd1\x2a\x99\x78\x6f\x31\xf5\x88\xbc\xf4\xb9\x22\x93\xf6\xae\x0c\xae\x93\x82\xf7\x01\x95\xa4\x01\x3a\xac\x66\x20\xd3\x7b\x1f\x59\x8f\x2c\xa6\xc2\x59\xa1\xae\xf2\xda\x36\x75\xeb\xcd\xfe\x56\xd1\xd0\x4e\x90\x51\xd2\x07\x74\xe4\x3a\x99\xe1\x39\x15\x9a\x33\xef\x1c\x6a\x26\xd7\x95\x65\x59\x57\xe1\x96\x53\x19\xda\xdd\xa3\x6b\xeb\x13\x9a\x63\xf6\x39\x25\x9d\x05\xd0\xdc\x91\xe7\x5c\x3b\x32\x7b\x27\xb4\x85\x94\xf2\x24\x72\x56\x89\x68\x3d\x98\x9c\x95\xcd\x8f\x0f\xdf\xeb\x2a\x07\xbf\x37\x0e\x70\xec\x7a\x00\x2d\xb4\x68\x65\xb3\xec\x60\xed\x3f\x91\x6f\xcd\xb3\x7e\x5a\x69\xfc\xb1\xc3\xed\x68\x6d\xde\xd2\x5d\x97\x5f\x3f\x1f\x77\xf9\x57\x8d\x2b\xdc\xb7\x1e\xe2\x32\xe7\xc7\x6f\xbf\x2a\xac\x67\x3d\x31\xf6\x41\x63\x3d\x3b\xe3\x0d\x43\x44\x98\x0b\xa6\x60\x3a\xcf\x03\xf8\x0f\xaf\x9f\xd0\x2d\x3d\x7d\xfa\x72\xf2\xed\xeb\x2a\xdf\xce\x74\x4c\xf3\xcf\xe1\x67\x00\x00\x00\xff\xff\x60\x0f\xb9\x90\x2d\x04\x00\x00") func webdataIndexHtmlBytes() ([]byte, error) { return bindataRead( @@ -150,12 +150,12 @@ func webdataIndexHtml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/index.html", size: 1184, mode: os.FileMode(436), modTime: time.Unix(1, 0)} + info := bindataFileInfo{name: "webdata/index.html", size: 1069, mode: os.FileMode(436), modTime: time.Unix(1, 0)} a := &asset{bytes: bytes, info: info} return a, nil } -var _webdataMainCss = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x55\xed\x6e\xe2\x3a\x10\xfd\x9f\xa7\xf0\x05\x5d\xa9\x95\x30\x97\xf6\x76\xa5\x95\xfb\x67\x5f\xc5\x71\x26\xc1\x8b\xe3\x89\xec\x89\x42\xba\xe2\xdd\x57\xb1\x4d\x48\x5a\xdc\xee\x82\x84\xc8\x99\xef\x33\xc7\xf1\x91\x5a\xb3\x63\x25\x56\xe3\x8e\x6d\x3b\x59\xed\xd8\xf6\x04\x63\x89\xd2\x4d\x7f\xb1\x03\xab\x6d\xb3\x63\x5b\x65\xd0\x43\xc5\x7e\x15\x8c\x31\x36\xe8\x8a\x8e\x82\x3d\x1d\x0e\xff\xbe\x06\xe0\x08\xba\x39\xd2\x12\x69\xa5\x6b\xb4\x15\xec\xf0\x5a\x5c\x8a\x62\xca\x9f\x62\x6b\xb4\xc4\x6b\xd9\x6a\x33\x0a\xe6\xa5\xf5\xc1\x21\x95\xf6\x60\xab\xb2\x27\x42\x9b\x2f\x5e\x4a\x75\x6a\x1c\xf6\xb6\xe2\x0a\x0d\x3a\xc1\xb6\x2f\x87\xe9\xcb\xfe\xd1\x6d\x87\x8e\xa4\xa5\xd7\xf7\x9e\xba\x95\x0d\x08\xd6\x3b\xf3\x40\x70\xde\x77\xb6\x79\x8c\x75\x33\x45\x2a\xed\x3b\x23\x47\xc1\x6a\x03\xe7\x98\x4d\x1a\xdd\x58\xae\x09\x5a\x2f\x98\x02\x4b\xe0\xa2\xe1\x67\xef\x49\xd7\x23\x57\x68\x09\x2c\xad\x8d\x61\x5c\xaf\xdf\x40\xb0\x67\x68\x23\x96\xda\x1e\x8e\x9a\x20\x22\x03\xba\x8a\x0f\x4e\x76\x82\x95\x0e\xe4\x89\x4f\x40\x4a\x60\xe0\xcc\x2b\xed\x40\x91\x46\x2b\xa6\xe0\xbe\xb5\x33\x69\xf9\x7e\xbf\x08\x34\xb2\x04\x93\xa2\x53\x43\x8d\x93\x63\x8c\x25\x38\x13\xf7\x47\x59\xe1\x20\x02\x30\x7d\xf8\x53\x77\x8e\x3f\x07\x56\x1a\xa9\x4e\xbb\xd9\x94\xb7\x04\x34\x1b\xb3\x30\xc4\xc2\xd8\x49\xa5\x69\x14\xec\xb0\x3f\x7c\x5f\x30\x38\x24\x81\x95\x68\xaa\xa5\xc0\x38\x61\x27\x98\xec\x09\x57\x68\x89\x44\xd8\x2e\x0d\x61\xa2\xb0\xc2\xec\x7e\x5e\xae\xfb\xc9\x6c\x63\x22\xae\xee\x8d\xf1\xca\x01\xd8\x59\xa6\xd7\xe3\x32\x03\x2b\x11\x3b\x30\x28\xd3\x63\x56\xc0\xe4\xa4\xf5\x9d\x74\x30\x2b\x17\x5d\x05\x4e\x04\x7e\x3c\x1a\x5d\x2d\x39\x9a\x0f\xdb\xfe\xdb\xdc\x71\x3c\x90\xb3\xc2\xbe\x56\xdd\xdf\x0f\x73\xed\x3e\xb4\x36\x33\x6c\xd1\x66\xb2\xad\xfd\x0d\xd4\xb4\xf4\x5e\x17\x5a\xfb\xba\x38\x5f\x74\x5e\x6c\x35\xe6\x88\x3b\x5d\xe6\xf8\xf3\x33\xe0\x70\x88\xa1\x93\x1c\xae\x2f\x24\x03\x67\xc1\x9e\xd7\xc4\xdf\x6a\x3b\x88\x3c\xde\x90\x7b\xe4\x7e\xdc\xe9\xe2\x74\x27\x24\xad\xf0\x52\x14\xfb\x38\xb5\xbf\xdf\xf8\xd4\x5f\x8e\xf6\x0f\xd4\x24\x3c\x1c\x83\x1b\xba\x7e\x1f\x5f\x8a\xe2\x47\x0b\x95\x96\xec\xa1\x95\x67\x2e\x7d\x07\x8a\xb8\x93\xa4\x51\xb0\x97\xff\xfe\x7f\x4c\x35\xde\x13\xfa\xd9\x5b\x64\xb2\x5d\x8a\x18\xf6\xa1\xd9\xcc\xde\xdf\x99\x42\xcf\x77\x15\x9e\x51\xf9\xdd\xab\xe7\x12\xc6\x4b\xb7\x8a\x82\x7b\xb7\xcc\x46\x2b\xb4\x9b\xe8\xee\x9d\x8a\xd7\x40\x00\xf7\x03\xd6\xf5\xe6\x91\xd5\xe8\x5a\x49\x0f\x9b\xf8\x18\x77\x34\xd9\x3f\xcb\x76\x29\x8a\x2e\xd9\x79\x8b\x6f\xbc\xf7\xe0\xb8\x07\x03\x6a\x35\x30\x1f\xa0\x3c\x69\xca\x9a\x5b\x9f\x33\xdd\x81\xa7\xab\x34\x10\x2d\x6a\x54\xfd\x55\x3f\xd8\x93\xd1\x16\x6e\x4e\xbf\x03\x00\x00\xff\xff\xad\x7e\x77\x16\xd5\x07\x00\x00") +var _webdataMainCss = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x55\xed\x6e\xe2\x3a\x10\xfd\x9f\xa7\xf0\x05\x5d\xa9\x95\x30\x97\xf6\x76\xa5\x95\xfb\x67\x5f\xc5\x71\x26\xc1\x8b\xe3\x89\xec\x89\x42\xba\xe2\xdd\x57\xb1\x4d\x48\x5a\xdc\xee\x82\x84\xc8\x99\xef\x33\xc7\xf1\x91\x5a\xb3\x2b\x4a\xac\xc6\x5d\xb1\xed\x64\xb5\x2b\xb6\x27\x18\x4b\x94\x6e\xfa\x8b\x1d\x58\x6d\x9b\x5d\xb1\x55\x06\x3d\x54\xec\x57\xc1\x18\x63\x83\xae\xe8\x28\xd8\xd3\xe1\xf0\xef\x6b\x00\x8e\xa0\x9b\x23\x2d\x91\x56\xba\x46\x5b\xc1\x0e\xaf\xc5\xa5\x08\xf9\x53\x6c\x8d\x96\x78\x2d\x5b\x6d\x46\xc1\xbc\xb4\x3e\x38\xa4\xd2\x1e\x6c\x55\xf6\x44\x68\xf3\xc5\x4b\xa9\x4e\x8d\xc3\xde\x56\x5c\xa1\x41\x27\xd8\xf6\xe5\x30\x7d\xd9\x3f\xba\xed\xd0\x91\xb4\xf4\xfa\xde\x53\xb7\xb2\x01\xc1\x7a\x67\x1e\x08\xce\xfb\xce\x36\x8f\xb1\x6e\xa6\x48\xa5\x7d\x67\xe4\x28\x58\x6d\xe0\x1c\xb3\x49\xa3\x1b\xcb\x35\x41\xeb\x05\x53\x60\x09\x5c\x34\xfc\xec\x3d\xe9\x7a\xe4\x0a\x2d\x81\xa5\xb5\x31\x8c\xeb\xf5\x1b\x08\xf6\x0c\x6d\xc4\x52\xdb\xc3\x51\x13\x44\x64\x40\x57\xf1\xc1\xc9\x4e\xb0\xd2\x81\x3c\xf1\x09\x48\x09\x0c\x9c\x79\xa5\x1d\x28\xd2\x68\xc5\x14\xdc\xb7\x76\x26\x2d\xdf\xef\x17\x81\x46\x96\x60\x52\x74\x6a\xa8\x71\x72\x8c\xb1\x04\x67\xe2\xfe\x28\x2b\x1c\x44\x00\xa6\x0f\x7f\xea\xce\xf1\xe7\xc0\x4a\x23\xd5\x69\x37\x9b\xf2\x96\x80\x66\x63\x16\x86\x58\x18\x3b\xa9\x34\x8d\x82\x1d\xf6\x87\xef\x0b\x06\x87\x24\xb0\x12\x4d\xb5\x14\x18\x27\xec\x04\x93\x3d\xe1\x0a\x2d\x91\x08\xdb\xa5\x21\x4c\x14\x56\x98\xdd\xcf\xcb\x75\x3f\x99\x6d\x4c\xc4\xd5\xbd\x31\x5e\x39\x00\x3b\xcb\xf4\x7a\x5c\x66\x60\x25\x62\x07\x06\x65\x7a\xcc\x0a\x98\x9c\xb4\xbe\x93\x0e\x66\xe5\xa2\xab\xc0\x89\xc0\x8f\x47\xa3\xab\x25\x47\xf3\x61\xdb\x7f\x9b\x3b\x8e\x07\x72\x56\xd8\xd7\xaa\xfb\xfb\x61\xae\xdd\x87\xd6\x66\x86\x2d\xda\x4c\xb6\xb5\xbf\x81\x9a\x96\xde\xeb\x42\x6b\x5f\x17\xe7\x8b\xce\x8b\xad\xc6\x1c\x71\xa7\xcb\x1c\x7f\x7e\x06\x1c\x0e\x31\x74\x92\xc3\xf5\x85\x64\xe0\x2c\xd8\xf3\x9a\xf8\x5b\x6d\x07\x91\xc7\x1b\x72\x8f\xdc\x8f\x3b\x5d\x9c\xee\x84\xa4\x15\x5e\x8a\x62\x1f\xa7\xf6\xf7\x1b\x9f\xfa\xcb\xd1\xfe\x81\x9a\x84\x87\x63\x70\x43\xd7\xef\xe3\x4b\x51\xfc\x68\xa1\xd2\x92\x3d\xb4\xf2\xcc\xa5\xef\x40\x11\x77\x92\x34\x0a\xf6\xf2\xdf\xff\x8f\xa9\xc6\x7b\x42\x3f\x7b\x8b\x4c\xb6\x4b\x11\xc3\x3e\x34\x9b\xd9\xfb\x3b\x53\xe8\xf9\xae\xc2\x33\x2a\xbf\x7b\xf5\x5c\xc2\x78\xe9\x56\x51\x70\xef\x96\xd9\x68\x85\x76\x13\xdd\xbd\x53\xf1\x1a\x08\xe0\x7e\xc0\xba\xde\x3c\xb2\x1a\x5d\x2b\xe9\x61\x13\x1f\xe3\x8e\x26\xfb\x67\xd9\x2e\x45\xd1\x25\x3b\x6f\xf1\x8d\xf7\x1e\x1c\xf7\x60\x40\xad\x06\xe6\x03\x94\x27\x4d\x59\x73\xeb\x73\xa6\x3b\xf0\x74\x95\x06\xa2\x45\x8d\xaa\xbf\xea\x07\x7b\x32\xda\xc2\xcd\xe9\x77\x00\x00\x00\xff\xff\x22\xea\xb5\x19\xd5\x07\x00\x00") func webdataMainCssBytes() ([]byte, error) { return bindataRead( diff --git a/webdata/fn.js b/webdata/fn.js index 84c9e2b..9d863fa 100644 --- a/webdata/fn.js +++ b/webdata/fn.js @@ -16,12 +16,16 @@ * You should have received a copy of the GNU General Public License * along with Foobar. If not, see . */ - - // [1 Touch, 2 Touches, 3 Touches] +// [1 Touch, 2 Touches, 3 Touches] const TOUCH_MOVE_THRESHOLD = [10, 15, 15]; const TOUCH_TIMEOUT = 250; // [[px/s, mult], ...] -const POINTER_ACCELERATION = [[0, 0], [87, 1], [173, 1], [553, 2]]; +const POINTER_ACCELERATION = [ + [0, 0], + [87, 1], + [173, 1], + [553, 2] +]; var ws; var pad; @@ -124,12 +128,12 @@ function calculatePointerAccelerationMult(speed) { if (i == 0) { return a2; } - s1 = POINTER_ACCELERATION[i-1][0]; - a1 = POINTER_ACCELERATION[i-1][1]; - return ((speed-s1) / (s2-s1)) * (a2-a1) + a1; + s1 = POINTER_ACCELERATION[i - 1][0]; + a1 = POINTER_ACCELERATION[i - 1][1]; + return ((speed - s1) / (s2 - s1)) * (a2 - a1) + a1; } if (POINTER_ACCELERATION.length > 0) { - return POINTER_ACCELERATION[POINTER_ACCELERATION.length-1][1]; + return POINTER_ACCELERATION[POINTER_ACCELERATION.length - 1][1]; } return 1; } @@ -209,17 +213,17 @@ function handleEnd(evt) { touchMoved = true; } if (ongoingTouches.length == 0 && touchReleasedCount >= 1 && - dragging) { + dragging) { ws.send("b1;0"); } if (ongoingTouches.length == 0 && touchReleasedCount >= 1 && - !touchMoved && evt.timeStamp - touchStart < TOUCH_TIMEOUT) { + !touchMoved && evt.timeStamp - touchStart < TOUCH_TIMEOUT) { var button = 0; if (touchReleasedCount == 1) { button = 1; } else if (touchReleasedCount == 2) { button = 3; - }else if (touchReleasedCount == 3) { + } else if (touchReleasedCount == 3) { button = 2; } ws.send("b" + button + ";1"); @@ -259,8 +263,11 @@ function handleMove(evt) { continue; } if (!touchMoved) { - var dist = Math.sqrt(Math.pow(touches[i].pageX - ongoingTouches[idx].pageXStart, 2) + Math.pow(touches[i].pageY - ongoingTouches[idx].pageYStart, 2)); - if (ongoingTouches.length > TOUCH_MOVE_THRESHOLD.length || dist > TOUCH_MOVE_THRESHOLD[ongoingTouches.length - 1] || evt.timeStamp - touchStart >= TOUCH_TIMEOUT) { + var dist = Math.sqrt(Math.pow(touches[i].pageX - ongoingTouches[idx].pageXStart, 2) + + Math.pow(touches[i].pageY - ongoingTouches[idx].pageYStart, 2)); + if (ongoingTouches.length > TOUCH_MOVE_THRESHOLD.length || + dist > TOUCH_MOVE_THRESHOLD[ongoingTouches.length - 1] || + evt.timeStamp - touchStart >= TOUCH_TIMEOUT) { touchMoved = true; } } @@ -311,8 +318,8 @@ window.addEventListener("load", function() { wsProtocol = "ws:"; } ws = new WebSocket(wsProtocol + "//" + location.hostname + - (location.port ? ":" + location.port : "") + - "/ws"); + (location.port ? ":" + location.port : "") + + "/ws"); ws.onmessage = function(event) { if (authenticated) { @@ -328,9 +335,9 @@ window.addEventListener("load", function() { } else { pad.style.display = "flex"; } - }; + }; - ws.onclose = function() { + ws.onclose = function() { if (fullscreenElement()) { exitFullscreen(); } @@ -338,18 +345,18 @@ window.addEventListener("load", function() { pad.style.display = "none"; keyboard.style.display = "none" closed.style.display = "flex"; - }; + }; document.getElementById("keyboardbutton").addEventListener("click", - function(e) { - if (fullscreenElement()) { - exitFullscreen(); - } - pad.style.display = "none"; - keyboard.style.display = "flex"; - text.focus(); - history.pushState("keyboard", "Remote Keyboard"); - }); + function(e) { + if (fullscreenElement()) { + exitFullscreen(); + } + pad.style.display = "none"; + keyboard.style.display = "flex"; + text.focus(); + history.pushState("keyboard", "Remote Keyboard"); + }); if (!fullscreenEnabled()) { fullscreenbutton.style.display = "none"; } @@ -360,14 +367,14 @@ window.addEventListener("load", function() { requestFullscreen(pad); } }); - document.getElementById("sendbutton").addEventListener("click", - function(e) { - if (text.value != "") { - ws.send("t" + text.value); - text.value = ""; - } - window.history.back(); - }); + document.getElementById("sendbutton").addEventListener("click", + function(e) { + if (text.value != "") { + ws.send("t" + text.value); + text.value = ""; + } + window.history.back(); + }); window.onpopstate = function(event) { if (keyboard.style.display == "flex") { pad.style.display = "flex"; @@ -377,9 +384,9 @@ window.addEventListener("load", function() { } }; document.getElementById("reloadbutton").addEventListener("click", - function(e) { - location.reload(); - }); + function(e) { + location.reload(); + }); pad.addEventListener("touchstart", handleStart, false); pad.addEventListener("touchend", handleEnd, false); pad.addEventListener("touchcancel", handleCancel, false); diff --git a/webdata/index.html b/webdata/index.html index 4f86fb0..660fd2e 100644 --- a/webdata/index.html +++ b/webdata/index.html @@ -1,33 +1,36 @@ - - - - - - - Remote Touchpad - - - - -
-

Connecting...

+ + + + + + + + Remote Touchpad + + + + + +
+

Connecting...

+
+
+

Disconnected

+ +
+
+

Touchpad

+
+ +
-
-

Disconnected

- -
-
-

Touchpad

-
- - -
-
-
- - -
- +
+
+ + +
+ + diff --git a/webdata/main.css b/webdata/main.css index 5a3fca7..02887b4 100644 --- a/webdata/main.css +++ b/webdata/main.css @@ -1,4 +1,9 @@ -html, body, #pad, #keyboard, #opening, #closed { +html, +body, +#pad, +#keyboard, +#opening, +#closed { width: 100%; height: 100%; margin: 0; @@ -8,12 +13,16 @@ body { font-family: sans; } -#pad, #sendbutton, #opening, #closed { +#pad, +#sendbutton, +#opening, +#closed { background-color: #404040 !important; background-image: url(tex.png); } -#opening, #closed { +#opening, +#closed { display: flex; align-items: center; justify-content: center; @@ -44,7 +53,10 @@ body { word-wrap: break-word; } -#fullscreenbutton, #keyboardbutton, #sendbutton, #reloadbutton { +#fullscreenbutton, +#keyboardbutton, +#sendbutton, +#reloadbutton { background-color: transparent; border: 1px solid black; height: 1.5em; @@ -53,7 +65,9 @@ body { color: white; } -#fullscreenbutton, #keyboardbutton, #sendbutton { +#fullscreenbutton, +#keyboardbutton, +#sendbutton { border-bottom: none; }