From ea433c09efefedcf19072ff87cbd1d9ca7cbc136 Mon Sep 17 00:00:00 2001 From: Unrud Date: Sat, 23 Jun 2018 18:17:53 +0200 Subject: [PATCH 001/321] fix path for generated icon resource --- icon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icon.go b/icon.go index 2706811..e814d01 100644 --- a/icon.go +++ b/icon.go @@ -1,3 +1,3 @@ package main -//go:generate rsrc -ico desktop/remote-touchpad.ico -o icon.syso +//go:generate rsrc -ico desktop/remote-touchpad.ico -o icon_windows.syso From ca23cdec39ef6cb518eabbda744fd4fa93f6c70f Mon Sep 17 00:00:00 2001 From: Unrud Date: Sat, 23 Jun 2018 18:34:01 +0200 Subject: [PATCH 002/321] fix sentence --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 951e288..5f53651 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Control mouse and keyboard from the webbrowser of a smartphone (or any other device with a touchscreen). To take control just open the displayed URL or scan the QR code. -Supports with Linux/X11 and Windows. +Supports Linux/X11 and Windows. ## Screenshots From b3fa4c1b2776bd6e714fd0f82b577189a7fb386d Mon Sep 17 00:00:00 2001 From: Unrud Date: Sat, 23 Jun 2018 18:50:14 +0200 Subject: [PATCH 003/321] fix sentence --- README.md | 2 +- desktop/remote-touchpad.appdata.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5f53651..4bda6c8 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Remote Touchpad Control mouse and keyboard from the webbrowser of a smartphone (or any other device with a touchscreen). -To take control just open the displayed URL or scan the QR code. +To take control open the displayed URL or scan the QR code. Supports Linux/X11 and Windows. diff --git a/desktop/remote-touchpad.appdata.xml b/desktop/remote-touchpad.appdata.xml index c756511..1ef2038 100644 --- a/desktop/remote-touchpad.appdata.xml +++ b/desktop/remote-touchpad.appdata.xml @@ -8,7 +8,7 @@

Control mouse and keyboard from the webbrowser of a smartphone (or any other device with a touchscreen). - To take control just open the displayed URL or scan the QR code. + To take control open the displayed URL or scan the QR code.

Supports Linux/X11 and Windows. From 16a807f1448a36f05222a998bf917b98b81b8256 Mon Sep 17 00:00:00 2001 From: Unrud Date: Mon, 25 Jun 2018 06:12:37 +0200 Subject: [PATCH 004/321] add reload button to disconnected-page --- bindata.generated.go | 18 +++++++++--------- webdata/fn.js | 4 ++++ webdata/index.html | 1 + webdata/main.css | 8 ++++++-- 4 files changed, 20 insertions(+), 11 deletions(-) diff --git a/bindata.generated.go b/bindata.generated.go index ef99e13..a446d3e 100644 --- a/bindata.generated.go +++ b/bindata.generated.go @@ -74,7 +74,7 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var _webdataFnJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3a\xdd\x6f\xdb\xb6\xb7\xef\xf9\x2b\x4e\xf5\x50\xc8\x8d\x23\xdb\x29\x7a\x37\xd4\x75\xee\x75\x53\x77\x09\x96\x34\x81\xed\x6c\x35\x82\xa0\xa0\xa5\x63\x5b\xab\x4c\x6a\x22\x15\x27\xbd\xcd\xff\x7e\x41\x7d\x52\x14\x25\x67\x1d\xfa\x72\xf1\x33\xb0\x4e\x21\xcf\x39\x3c\xdf\x1f\x94\x7a\xaf\x0e\xe0\x15\x00\xc0\x29\x0b\x1f\x23\x7f\xbd\x11\x60\xbb\x1d\x38\xee\x0f\x7e\x85\x1b\x1a\xc5\xde\xbb\x58\xfe\xfb\x3f\x2c\x16\x01\x63\x5f\x1d\x97\x6d\x4f\x0e\x20\x47\x9a\x6f\x7c\x0e\x2b\x3f\x40\xf0\x39\x84\x24\x12\xc0\x56\x30\xc5\x2d\x13\x78\x34\x67\xb1\xbb\x09\x89\xe7\x94\xe0\x1f\x19\x5b\x92\x48\xc2\xae\x22\x44\xe0\x6c\x25\x76\x24\xc2\xb7\xf0\xc8\x62\x70\x09\x85\x08\x3d\x9f\x8b\xc8\x5f\xc6\x02\xc1\x17\x40\xa8\xd7\x63\x11\x6c\x99\xe7\xaf\x1e\x33\x22\xbe\x80\x98\x7a\x18\x81\xd8\x20\x08\x8c\xb6\x5c\x1e\x2a\xff\xf8\xed\xd3\x0d\xfc\x86\x14\x23\x12\xc0\x75\xbc\x0c\x7c\x17\x2e\x7c\x17\x29\x47\x20\x1c\x42\xb9\xc2\x37\xe8\xc1\x32\x27\x25\x91\x3e\x4a\x4e\x66\x19\x27\xf0\x91\xc5\xd4\x23\xc2\x67\xb4\x0b\xe8\x8b\x0d\x46\x70\x8f\x11\xf7\x19\x85\xd7\xf9\x31\x19\xcd\x2e\xb0\x28\xa3\x63\x13\x21\x45\x88\x80\x85\x12\xb5\x03\x84\x3e\x42\x40\x44\x89\xad\x28\x41\x53\x8f\xd4\x46\x29\xb4\x07\x3e\x4d\x0e\xd9\xb0\x10\x41\x6c\x88\x90\xf2\xee\xfc\x20\x80\x25\x42\xcc\x71\x15\x07\xdd\x8c\xd0\x32\x16\xf0\xe7\xf9\xfc\xec\xea\x66\x0e\xe3\x4f\x0b\xf8\x73\x3c\x9d\x8e\x3f\xcd\x17\x43\xd8\xf9\x62\xc3\x62\x01\x78\x8f\x29\x35\x7f\x1b\x06\x3e\x7a\xb0\x23\x51\x44\xa8\x78\x04\xb6\xca\x88\x5c\x4e\xa6\xa7\x67\xe3\x4f\xf3\xf1\xfb\xf3\x8b\xf3\xf9\x02\x58\x04\x1f\xcf\xe7\x9f\x26\xb3\x19\x7c\xbc\x9a\xc2\x18\xae\xc7\xd3\xf9\xf9\xe9\xcd\xc5\x78\x0a\xd7\x37\xd3\xeb\xab\xd9\xc4\x01\x98\xa1\x64\x0e\x33\x1a\x2d\x7a\x5f\x25\xd6\x8b\x10\x3c\x14\xc4\x0f\x78\xa9\x87\x05\x8b\x81\x6f\x58\x1c\x78\xb0\x21\xf7\x08\x11\xba\xe8\xdf\xa3\x07\x04\x5c\x16\x3e\xee\xb7\x69\x4a\x86\x04\x8c\xae\x13\x81\x33\xef\x72\x00\xce\x57\x40\x99\xe8\x02\x47\x84\x77\x1b\x21\xc2\xb7\xbd\xde\x6e\xb7\x73\xd6\x34\x76\x58\xb4\xee\x05\x29\x01\xde\x3b\x91\xec\xf4\x0e\x0e\xa0\xd7\x83\xdb\x01\x24\x26\xe9\xc2\x71\xfa\x80\xbc\x0b\xaf\xf3\xc7\xbb\x03\x97\x51\x2e\x60\x7e\x75\x73\x7a\xf6\xe5\xf2\xea\x8f\xc9\x97\xf9\xd9\x74\x32\x3b\xbb\xba\xf8\x00\x23\xb8\x1d\xf4\xbb\x30\x78\x23\xff\xbb\x1b\x56\x40\xe7\xe7\x97\x13\x69\xa0\x11\x1c\xbf\xe9\xe7\x5b\x09\xfe\xe5\xcd\x85\x5c\x1e\xe4\x8b\xb3\xd3\xe9\xd5\xc5\x45\xbe\xdc\x77\xfa\x6f\x86\x07\x92\xaf\xdb\xf0\xa1\xc7\xbb\xb0\x8d\x03\x71\xd7\x05\xc7\x71\x72\x5e\xae\xaf\xce\x3f\xcd\x27\xd3\x2f\xe3\xd3\xd3\xc9\xc5\x64\x3a\x9e\x9f\x5f\x7d\x92\xbc\xdc\xf6\xbb\xd0\xbf\xeb\xc2\xed\xaf\xbf\x74\x61\x20\x1f\x06\xbf\xbc\xce\x9e\xde\xbc\x79\xdd\x85\xe3\xbb\x82\xc9\x9b\xeb\x0f\xe3\xf9\xe4\x4b\x42\xe8\x8f\xf1\x05\x8c\x40\xe1\x72\xfc\xf9\xcb\xf9\x87\x8b\xc9\x97\x14\x68\x26\x99\xed\x0f\x0f\x0e\xee\x49\x04\x3b\x3e\x4c\xfe\x1f\x12\xaf\x78\x08\xc8\x12\x83\x6c\x5f\x48\xb5\x5d\x32\x69\xcf\x11\xac\x48\xc0\x71\x58\xae\xcf\x84\xcc\x14\x23\xe8\x2b\x6b\x17\x84\x8b\x09\xf5\xb4\xd5\x29\x06\x48\x38\x7a\xa7\x2c\xa6\x0a\x06\xa3\x6b\xe6\xd3\x75\x66\x1b\x29\xf3\x5d\xba\xb1\x65\xf7\xf8\x79\x16\x6f\x4b\x50\xb9\xb2\xa8\xac\x70\x37\x62\x41\xf0\xd9\xb0\x56\x85\xf3\x22\xb2\x5e\xfb\x74\x5d\x15\x20\x5f\x9d\xfb\x5b\x94\x21\x36\x02\x1a\x07\x41\xba\x17\x87\x1e\x11\x28\x77\xa2\xca\xba\xef\x05\x78\x93\xec\xf1\x94\xfc\xc1\x2a\xa6\xae\xcc\x14\xb0\x8a\x83\x80\xbb\x11\x22\x9d\x50\xb2\x0c\xd0\xb3\x3b\xf0\xbf\x07\x32\xa8\x22\x14\x71\x44\xc1\xf6\x98\x1b\x6f\x91\x0a\xa7\x06\x0a\xdf\xbf\x27\x90\xf2\x57\x40\xed\x70\xf9\xd5\x17\x1f\x9f\x05\xbb\x65\xdf\x24\xe0\x6c\x3f\x20\x6f\x25\x98\xa8\xa7\x33\x3c\x78\x52\x04\x8b\xf0\xef\x18\xb9\xc2\x88\x8d\xb9\x64\xfe\x0a\x6c\x74\x6a\x00\xf9\xb6\xfc\x19\xb6\xed\xce\x30\xd9\x7e\x02\x0c\x38\x66\x44\x52\x69\xa7\xed\xa4\x1a\x80\x8c\x04\xb7\xec\x9b\x02\x38\x33\x50\x33\x41\x98\x49\xf1\x3d\x7c\x19\x00\x0a\x42\x15\x5d\xe2\x83\x5f\x81\x51\xf4\x58\x98\xa8\x0a\xa3\x1e\xd4\x00\x62\xe0\x59\x73\xa2\xc9\x7e\x92\x26\xc0\x36\xc2\x5b\xf6\xed\x94\x50\x17\x03\xb3\x76\xdb\xe0\x5a\xc9\xf2\x67\xf0\xaa\x03\x99\x75\xad\x44\x59\x80\x12\xef\x59\x01\x99\x82\x3e\x2f\x20\x5b\x60\xab\x01\xd9\x06\xc8\x5b\x09\xca\xd4\xa3\xc5\x23\xf1\xbc\x12\xc5\xdd\x10\xba\xc6\xc9\x3d\x52\x71\xe1\x73\x21\xcb\xab\x1d\x64\x0f\x46\xef\xaa\x8b\xfa\x62\x34\x4a\xda\xb0\x95\x4f\xd1\x33\xea\x9b\x78\x5e\xf5\x04\x6b\xa5\x31\x60\x75\xa1\x38\x75\x9f\x33\xd6\xe5\xfd\x11\x0e\x52\x5a\x3f\xc6\x87\xd1\x38\x3f\xc2\xc4\x96\x7d\xfb\x41\x0e\x0c\x56\xff\x11\x06\x2e\x67\x25\x9d\xd3\xa6\xf3\x2b\xde\x23\x3b\xb2\xa4\xda\xda\x22\xed\x91\x84\xbf\xc5\x99\x20\xdb\x50\x8b\x8e\xf2\x7c\xdf\x43\x2a\xfc\x95\x8f\xd1\xdb\xb4\x96\x3b\xe5\x4a\xb7\x80\x0a\xc9\x1a\x3f\xe7\x00\xc9\x1f\xda\x5e\xd2\x2b\xb4\x00\x2c\xd4\xbd\x85\xb6\x57\x43\x56\x00\x0a\x09\xde\x96\x8f\xa9\xe4\xd5\xc0\x51\x7b\x8d\x73\xea\xe1\xc3\xfb\xc7\x73\xcf\xf6\xbd\x39\xfb\xe8\xd3\x42\xe3\xb2\xcf\xb5\x93\x5a\x9f\x54\x78\xf0\xe1\x9d\xd6\xa5\x38\x01\xd2\xb5\xd8\x0c\xc1\x3f\x3c\x54\xed\x94\x36\x08\x30\xd2\xc0\x6f\xfd\x3b\x45\x61\xc3\x83\x52\xaf\x2b\xb0\x25\xfc\x08\x74\x1e\xf2\x5f\x66\x0a\x7f\x58\xac\x3e\x1d\x94\xff\x66\xbb\x47\x83\xaa\x98\x2e\x09\xdc\x58\x8e\x2c\xd7\xcc\xa7\x02\xa3\xb1\xeb\x62\x80\x51\x32\x0a\x5d\xc6\x81\xb0\x79\x88\xd8\x2a\xae\xa9\x1d\x6d\x12\x9a\x1f\xc3\xc8\x88\x70\xeb\xdf\xdd\xf6\xef\x4a\xce\x49\x1b\xe0\x40\x01\x94\x6a\xe1\xc7\xf0\x6e\x04\x15\x46\xf3\x9f\xcb\xa8\xf0\x69\x8c\xba\x4e\x0a\x8d\x4a\x85\xf6\x1b\x34\x49\x8e\x4d\x68\x7c\xd0\xc8\xda\xd1\x40\x93\xa2\x1d\x54\x95\x23\xaf\x32\xa9\xbe\x8f\xf8\xa0\x03\x3d\x29\x99\x7c\xea\xc0\x2b\xb0\xc9\xf1\x11\x19\x74\xe0\x10\xc8\x60\xa8\x98\x55\x0a\xd1\x62\x01\x38\xa9\x4a\x97\x1d\x63\xe4\xa9\x85\x8c\xca\x6d\xc5\x9d\x06\x7a\xd0\x7c\xa8\xf6\xc9\x45\x15\x6d\xea\x9f\xe5\xde\x8e\x3b\x1c\xa9\x67\x5b\x99\x0f\xbe\x8f\x85\x60\x14\x06\xd0\xb7\xb4\x6a\x96\x76\xda\x72\xbe\x18\x53\x6f\x96\x34\xef\x95\xb6\xa8\xd2\x89\xa7\x47\xa8\xd2\x33\x7a\x53\x00\x24\xcc\x55\xfd\x48\x1f\x8a\x4e\xa0\x0f\x2f\x5f\x56\xdb\x78\x83\xb7\x54\xdb\x7f\x8e\xe2\x5c\x0a\x71\x4f\x02\x5b\x3b\xaf\xab\x8f\x5d\x9d\x7a\xa8\x56\xb5\xa9\xb1\x9b\x4b\xaa\x30\x74\x98\x4c\x92\x79\x42\x49\xe6\x20\x18\xc1\x25\x11\x1b\x47\x44\x31\x75\xed\x7c\x34\xea\x54\xa1\x16\x75\xa8\x45\x09\x25\xb5\x91\xec\x92\x25\x4f\x29\x74\xe0\x64\x04\x03\xf8\xfe\x1d\x2a\xeb\x8b\x74\x5d\x55\x49\x31\x8b\x1d\x8d\xd2\xe7\x61\x65\x6b\xa1\x6c\x2d\x14\xfd\xeb\xb3\x52\xbe\xa1\x3b\x87\x34\x3e\x58\x70\x98\xc9\x7a\x08\x56\xf1\xd7\xa2\xa3\x7a\xa8\x32\xf3\x55\x65\x2d\x07\x41\x45\x27\xd9\x24\x68\x82\x6c\xd2\x4b\x46\xc7\xa0\x99\x0c\xaf\xae\x1b\x65\x06\x3d\x1a\xe5\x7f\x0d\xb5\xed\x45\x65\xfb\x47\x74\x94\x46\x46\xa2\x97\x5c\x03\xb9\x9e\x72\xd6\xf4\x1c\xa2\xd2\x3e\x19\xd5\xee\x00\x54\x21\xdc\x00\x49\x54\xf8\xb8\xe2\xfd\x8a\x3b\x9b\x46\xe2\xba\x83\x6f\x08\xf5\x02\x4c\xaa\xb5\x8d\xf7\x42\x8d\x64\x63\x11\xad\x85\x5f\xe5\x5a\x01\xef\x85\x53\x94\xf4\x61\x15\x46\xbb\x92\xa8\xec\x19\x2e\x1b\xf2\xfd\xfa\x5d\x40\xd5\xbf\x44\x71\x13\x21\x0f\x4f\x7b\x3a\x2f\xe3\x79\xd8\x58\x31\x45\x7b\x67\x20\xc5\x17\x65\x37\x20\x48\xb4\xc6\xb4\xe1\x0b\x89\x27\x13\x52\xe3\x66\x72\x13\xf3\x4f\x4a\xa0\xe4\x3a\x8c\x50\xb6\x89\x1f\x70\x45\x64\xbd\x57\x8c\xa8\xd9\x20\x8c\xf9\xc6\xd6\x3a\xc2\x84\x8b\x6e\x55\xf5\x9d\x8e\xa6\xe0\xca\x1d\x8f\x2a\xe5\x8b\x5c\xbf\x3a\xcf\xca\x7d\x4e\x73\x2a\xab\x65\x95\xb6\x8c\x56\x95\xbb\x72\x17\xd4\x96\x1a\xb4\xa8\x6c\xcf\x0e\xb9\x58\x7a\xad\x7b\x61\x28\x45\x45\x20\xe5\xc9\x5d\x43\xd2\x64\x6c\x2b\x9f\x06\x67\x15\x51\xdd\xde\xa6\xd0\x9b\x50\x4f\x0d\xbc\x9f\xe6\xd2\x69\xb3\xfb\xa0\x75\xbb\x65\x5b\x2d\x4c\xcd\xaf\xa6\x55\x89\xff\xae\x5e\x7d\xdb\xdc\x5b\x73\x60\x1e\x06\xbe\x8b\x92\x50\x17\x06\xba\x93\x56\xb2\xc0\xe1\x61\xa3\x0b\x1b\xb2\x4c\x99\x45\x0d\xf9\xe4\xc4\x78\x77\x9c\x29\xaa\x96\xcb\xf2\x3c\x55\x1a\xf0\xe9\x19\x29\xb1\x48\x0a\xda\xd1\xb2\x2e\xbd\x7c\x69\x74\x12\xf5\xe4\xf6\xfe\xeb\x27\x30\xf1\x42\x91\xf5\xe5\xcb\xaa\x4a\xe1\x48\xcd\xea\xef\xaa\xd7\xe9\xba\x4f\x2d\x53\x4e\x6b\x89\xc5\x94\xd7\xb5\x52\x0c\xe9\x9b\x94\x14\x7d\xa0\x78\x4f\x39\x80\x9b\xa9\x1c\x37\x52\x79\xad\x50\xd9\x43\xe4\x75\x23\x11\xe3\xcc\xd1\x60\x21\x59\xd0\x33\x44\x59\xdf\x07\x96\x16\x32\x39\x51\x83\xe8\xf5\x84\xc2\x51\xe4\xb9\xa8\xd6\xc6\x77\x35\x33\xd4\xd4\x55\x25\xfe\x3c\x76\xfb\xd6\x9e\xfe\x37\xcd\x51\xe9\x85\xe0\x7f\xd2\xd4\xbf\x4e\x53\xd0\x96\x64\xea\x7a\x97\x50\xba\xd6\x79\xbc\xfd\x5c\x46\x5b\xb6\xb2\xa8\xae\xfc\x7f\xb2\x4c\xf2\xe6\xc7\xe7\x22\x2f\xfc\xfc\xef\x48\xa4\x03\x40\xc8\x76\xea\xa1\xc9\x0d\x15\x1c\xd5\x2e\x73\xbc\x87\x6c\x2f\x49\x67\x5d\x99\x3c\x0e\xa1\x89\xc0\xa2\x85\xc0\xa2\x20\xa0\x49\x65\x4e\xc8\xad\x55\x47\xce\x2a\x89\x54\x66\xa8\x5b\x33\xc9\x23\x18\xdc\xe9\xba\x6b\x70\x27\x83\x12\xa5\xe9\xfe\x89\xbe\x86\x55\xf4\xc7\x3a\x7a\xab\xb6\xaa\xe8\x32\x10\x3e\x60\x20\x88\x1e\x18\x0d\x24\x0c\x81\x93\x78\xfe\xe1\x48\x0a\xf2\x6a\xff\xa5\x59\x31\x09\x7a\x0f\x1d\xe8\x29\xe7\xbf\x82\x41\xbf\xdf\xef\x54\xe8\x2e\x12\xba\x8f\xff\x8c\xee\xe3\x1e\xba\x8d\x8a\x35\xd8\x61\x3f\xd6\xc2\xa0\xfe\x76\xac\x52\xc5\xcf\x69\x99\xda\x5b\x81\x3c\xab\x9d\x8c\x9a\xbb\x81\xd6\xde\x24\x99\xce\xf7\xce\x1a\x87\xa3\xd4\xca\xaf\xca\xf7\xf4\x0d\x83\x46\x0a\xb9\x30\x43\x2a\x0d\x44\x23\x43\xb5\x1e\x42\xbb\x18\x48\xd9\x50\xbe\x0c\x18\x1a\xa0\x17\x25\xf4\xa2\x09\xfa\x49\x9b\xc8\xb5\xab\x33\xe3\x9d\xff\x86\x04\x92\x53\x9c\x22\x0f\x19\xe5\x68\x6f\x91\x73\xb2\xc6\x4a\x21\xd8\x90\xab\xe5\x5f\x72\x0c\xc1\x1d\xfc\xc5\x67\x67\x63\xdb\x9a\x9d\x8d\x8f\x8e\xdf\xfc\x97\xd5\x05\x6b\x3e\xf9\x3c\xcf\xab\x7b\x0a\xea\x70\x14\x67\x97\xe3\xd3\xdf\xf1\x31\xa7\x67\x86\x4b\xf9\xb4\x77\x3e\xf5\xd8\xce\x09\x98\x9b\x78\xbf\xb3\x21\x7c\xe3\xf0\x78\xc9\x45\x64\x0f\xf2\x1c\x98\x5d\x42\x2e\x05\x23\x76\x86\xbe\x4e\x8f\xb1\xad\xf7\x8b\xf9\x64\x66\x75\xd2\x0b\xc4\x8c\x5a\xfd\x95\x48\xc0\x88\x67\x75\x21\x17\xde\x56\x65\x24\xb1\xd8\xc8\x52\xe2\x12\xa1\xdf\x1d\x24\x1f\x23\x84\x48\xd3\x69\xab\x78\xe5\xb2\x46\x91\xbd\x9f\x49\x8a\x92\x95\x81\x58\xca\x3d\x93\x1b\x30\x9e\x50\x6b\x44\x4a\x21\x72\x1c\x39\xf2\xb7\x00\x87\x44\x85\x4c\xe6\xff\x3d\xe0\x09\x8c\xca\xd1\x57\x7c\x5c\x32\x12\xb5\x1e\x93\xc3\xa8\x78\xe5\xbb\xac\xa2\x77\x6d\xc4\xd7\x61\x55\x3a\x02\x1f\x44\x1b\xae\xdc\xcf\xe1\x53\xdd\x38\x5c\x3c\x06\xe8\x78\x3e\x0f\x03\x22\x2b\x83\x45\x19\x45\xab\x50\x43\xeb\x7e\x2e\x4a\x2b\x90\x3c\xd3\xb9\x27\x41\x8c\x72\xc3\xca\x5e\xc3\xec\x78\xe6\xf0\x7f\xe2\x72\xc6\xdc\xaf\x28\x6c\x6b\xc7\xdf\xf6\x7a\xb2\xb1\x2d\x3d\x95\x71\x41\xc9\x16\xe1\xb0\x12\xb3\xca\xcf\x2e\x60\x43\x16\x09\xf8\x6f\xb0\xde\x56\x28\x24\xab\x6f\xc1\xb2\x3a\xcd\x34\xac\xde\x8e\x4b\xad\x64\x8c\x39\x8c\x66\x51\x25\x1d\x35\xf7\xe6\xe4\x62\x47\xcf\x92\x15\xb7\xd6\xf3\xd0\x8e\x3b\x89\x8e\x6d\xed\xfe\x21\x8d\x34\x53\x5e\xd1\xa3\xa4\xda\x05\xe4\x93\x40\x3d\xa9\x24\xbc\x39\x1e\x11\x44\xed\x68\xb2\x88\x69\x35\x4e\x2e\xc8\xc6\xe7\x82\x45\x8f\x0e\x17\x44\xa0\xcc\xaa\x8a\x9b\x6a\x62\x35\x1b\x7d\x15\xe0\x83\x55\x95\x35\x31\xfe\x8a\xb9\x31\xb7\xf7\x0d\x3a\x46\x67\xd3\x48\x66\xaa\x7a\xca\xdf\xe5\x25\xc6\x4a\x94\xac\x9a\x4a\xb7\x92\xe1\x7b\x04\x5d\x28\xf3\x77\x1d\x55\xeb\x3c\x57\x9f\xfb\xa2\xa6\x5d\x89\x09\x60\x01\xd7\x14\xa4\xaa\x5e\x72\x6d\xec\xcd\x38\x79\xbe\x30\xe4\x6e\x37\xf0\xdd\xaf\x56\xb7\x29\x42\x9e\xfb\x2b\xa3\xe5\x27\xd9\xe0\xdf\xe9\x56\xf3\x26\xb3\x73\xe6\xa1\x10\xc6\x7c\x33\x93\xe1\xa0\xa4\xec\x2e\x58\xe9\xa7\xa7\xf0\xbb\x96\xc5\x9f\x94\xb7\x1a\x2f\x0c\x5f\xa4\xa9\xc2\xea\x19\xbc\x55\xa2\x54\xf6\x1a\x4a\xa3\x09\x7f\x9a\x0d\x4c\x31\x5b\xff\xc2\x2c\x24\x5e\xfd\x26\x22\x5f\x69\xf4\x50\x99\xd7\x7e\xb2\x77\x36\xab\x45\x29\x50\x2f\x46\x49\xa5\x68\xb8\x81\xc9\x6d\x3e\x97\x55\x56\x56\x99\x12\xb3\x63\x48\x7b\x6a\xcd\xab\x2a\x24\xa1\x9a\xb6\x51\xb9\xb7\x2d\x89\xfb\xd5\xd6\x7c\x29\x03\x61\x34\x64\x61\x96\x98\xf7\xd4\xa3\x26\xd7\xcf\x7d\x5f\x17\xed\x39\x39\x17\x9e\x5b\xe8\xa1\xf1\x0a\xab\x59\xd4\x52\x27\x4f\x65\xcb\x51\x77\x80\x64\x74\xe1\x72\x6a\xb7\xba\xea\x9b\xae\x6e\xf1\xdd\xe4\x1e\x5c\xa4\x5e\x81\x39\xa1\xde\xb3\xf1\xdc\xe4\xc2\xac\x40\x4d\xef\xcf\x9e\x8d\x2d\x87\x9c\x02\x57\x8e\x0b\x25\xe6\x53\xf9\xf8\x7f\x01\x00\x00\xff\xff\x87\xf5\x90\xa3\x3f\x30\x00\x00") +var _webdataFnJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3a\xdd\x6f\xdb\xb6\xb7\xef\xf9\x2b\x4e\xf5\x50\xc8\x8d\x23\xdb\x29\x7a\x37\xd4\x75\xee\x75\x53\x77\x09\x96\x34\x81\xed\x6c\x35\x82\xa0\xa0\xa5\x63\x5b\xab\x4c\x6a\x22\x15\x27\xbd\xcd\xff\x7e\x41\x7d\x52\x14\x25\x67\x1d\xfa\x72\xf1\x33\xb0\x4e\x21\xcf\x39\x3c\xdf\x1f\x94\x7a\xaf\x0e\xe0\x15\x00\xc0\x29\x0b\x1f\x23\x7f\xbd\x11\x60\xbb\x1d\x38\xee\x0f\x7e\x85\x1b\x1a\xc5\xde\xbb\x58\xfe\xfb\x3f\x2c\x16\x01\x63\x5f\x1d\x97\x6d\x4f\x0e\x20\x47\x9a\x6f\x7c\x0e\x2b\x3f\x40\xf0\x39\x84\x24\x12\xc0\x56\x30\xc5\x2d\x13\x78\x34\x67\xb1\xbb\x09\x89\xe7\x94\xe0\x1f\x19\x5b\x92\x48\xc2\xae\x22\x44\xe0\x6c\x25\x76\x24\xc2\xb7\xf0\xc8\x62\x70\x09\x85\x08\x3d\x9f\x8b\xc8\x5f\xc6\x02\xc1\x17\x40\xa8\xd7\x63\x11\x6c\x99\xe7\xaf\x1e\x33\x22\xbe\x80\x98\x7a\x18\x81\xd8\x20\x08\x8c\xb6\x5c\x1e\x2a\xff\xf8\xed\xd3\x0d\xfc\x86\x14\x23\x12\xc0\x75\xbc\x0c\x7c\x17\x2e\x7c\x17\x29\x47\x20\x1c\x42\xb9\xc2\x37\xe8\xc1\x32\x27\x25\x91\x3e\x4a\x4e\x66\x19\x27\xf0\x91\xc5\xd4\x23\xc2\x67\xb4\x0b\xe8\x8b\x0d\x46\x70\x8f\x11\xf7\x19\x85\xd7\xf9\x31\x19\xcd\x2e\xb0\x28\xa3\x63\x13\x21\x45\x88\x80\x85\x12\xb5\x03\x84\x3e\x42\x40\x44\x89\xad\x28\x41\x53\x8f\xd4\x46\x29\xb4\x07\x3e\x4d\x0e\xd9\xb0\x10\x41\x6c\x88\x90\xf2\xee\xfc\x20\x80\x25\x42\xcc\x71\x15\x07\xdd\x8c\xd0\x32\x16\xf0\xe7\xf9\xfc\xec\xea\x66\x0e\xe3\x4f\x0b\xf8\x73\x3c\x9d\x8e\x3f\xcd\x17\x43\xd8\xf9\x62\xc3\x62\x01\x78\x8f\x29\x35\x7f\x1b\x06\x3e\x7a\xb0\x23\x51\x44\xa8\x78\x04\xb6\xca\x88\x5c\x4e\xa6\xa7\x67\xe3\x4f\xf3\xf1\xfb\xf3\x8b\xf3\xf9\x02\x58\x04\x1f\xcf\xe7\x9f\x26\xb3\x19\x7c\xbc\x9a\xc2\x18\xae\xc7\xd3\xf9\xf9\xe9\xcd\xc5\x78\x0a\xd7\x37\xd3\xeb\xab\xd9\xc4\x01\x98\xa1\x64\x0e\x33\x1a\x2d\x7a\x5f\x25\xd6\x8b\x10\x3c\x14\xc4\x0f\x78\xa9\x87\x05\x8b\x81\x6f\x58\x1c\x78\xb0\x21\xf7\x08\x11\xba\xe8\xdf\xa3\x07\x04\x5c\x16\x3e\xee\xb7\x69\x4a\x86\x04\x8c\xae\x13\x81\x33\xef\x72\x00\xce\x57\x40\x99\xe8\x02\x47\x84\x77\x1b\x21\xc2\xb7\xbd\xde\x6e\xb7\x73\xd6\x34\x76\x58\xb4\xee\x05\x29\x01\xde\x3b\x91\xec\xf4\x0e\x0e\xa0\xd7\x83\xdb\x01\x24\x26\xe9\xc2\x71\xfa\x80\xbc\x0b\xaf\xf3\xc7\xbb\x03\x97\x51\x2e\x60\x7e\x75\x73\x7a\xf6\xe5\xf2\xea\x8f\xc9\x97\xf9\xd9\x74\x32\x3b\xbb\xba\xf8\x00\x23\xb8\x1d\xf4\xbb\x30\x78\x23\xff\xbb\x1b\x56\x40\xe7\xe7\x97\x13\x69\xa0\x11\x1c\xbf\xe9\xe7\x5b\x09\xfe\xe5\xcd\x85\x5c\x1e\xe4\x8b\xb3\xd3\xe9\xd5\xc5\x45\xbe\xdc\x77\xfa\x6f\x86\x07\x92\xaf\xdb\xf0\xa1\xc7\xbb\xb0\x8d\x03\x71\xd7\x05\xc7\x71\x72\x5e\xae\xaf\xce\x3f\xcd\x27\xd3\x2f\xe3\xd3\xd3\xc9\xc5\x64\x3a\x9e\x9f\x5f\x7d\x92\xbc\xdc\xf6\xbb\xd0\xbf\xeb\xc2\xed\xaf\xbf\x74\x61\x20\x1f\x06\xbf\xbc\xce\x9e\xde\xbc\x79\xdd\x85\xe3\xbb\x82\xc9\x9b\xeb\x0f\xe3\xf9\xe4\x4b\x42\xe8\x8f\xf1\x05\x8c\x40\xe1\x72\xfc\xf9\xcb\xf9\x87\x8b\xc9\x97\x14\x68\x26\x99\xed\x0f\x0f\x0e\xee\x49\x04\x3b\x3e\x4c\xfe\x1f\x12\xaf\x78\x08\xc8\x12\x83\x6c\x5f\x48\xb5\x5d\x32\x69\xcf\x11\xac\x48\xc0\x71\x58\xae\xcf\x84\xcc\x14\x23\xe8\x2b\x6b\x17\x84\x8b\x09\xf5\xb4\xd5\x29\x06\x48\x38\x7a\xa7\x2c\xa6\x0a\x06\xa3\x6b\xe6\xd3\x75\x66\x1b\x29\xf3\x5d\xba\xb1\x65\xf7\xf8\x79\x16\x6f\x4b\x50\xb9\xb2\xa8\xac\x70\x37\x62\x41\xf0\xd9\xb0\x56\x85\xf3\x22\xb2\x5e\xfb\x74\x5d\x15\x20\x5f\x9d\xfb\x5b\x94\x21\x36\x02\x1a\x07\x41\xba\x17\x87\x1e\x11\x28\x77\xa2\xca\xba\xef\x05\x78\x93\xec\xf1\x94\xfc\xc1\x2a\xa6\xae\xcc\x14\xb0\x8a\x83\x80\xbb\x11\x22\x9d\x50\xb2\x0c\xd0\xb3\x3b\xf0\xbf\x07\x32\xa8\x22\x14\x71\x44\xc1\xf6\x98\x1b\x6f\x91\x0a\xa7\x06\x0a\xdf\xbf\x27\x90\xf2\x57\x40\xed\x70\xf9\xd5\x17\x1f\x9f\x05\xbb\x65\xdf\x24\xe0\x6c\x3f\x20\x6f\x25\x98\xa8\xa7\x33\x3c\x78\x52\x04\x8b\xf0\xef\x18\xb9\xc2\x88\x8d\xb9\x64\xfe\x0a\x6c\x74\x6a\x00\xf9\xb6\xfc\x19\xb6\xed\xce\x30\xd9\x7e\x02\x0c\x38\x66\x44\x52\x69\xa7\xed\xa4\x1a\x80\x8c\x04\xb7\xec\x9b\x02\x38\x33\x50\x33\x41\x98\x49\xf1\x3d\x7c\x19\x00\x0a\x42\x15\x5d\xe2\x83\x5f\x81\x51\xf4\x58\x98\xa8\x0a\xa3\x1e\xd4\x00\x62\xe0\x59\x73\xa2\xc9\x7e\x92\x26\xc0\x36\xc2\x5b\xf6\xed\x94\x50\x17\x03\xb3\x76\xdb\xe0\x5a\xc9\xf2\x67\xf0\xaa\x03\x99\x75\xad\x44\x59\x80\x12\xef\x59\x01\x99\x82\x3e\x2f\x20\x5b\x60\xab\x01\xd9\x06\xc8\x5b\x09\xca\xd4\xa3\xc5\x23\xf1\xbc\x12\xc5\xdd\x10\xba\xc6\xc9\x3d\x52\x71\xe1\x73\x21\xcb\xab\x1d\x64\x0f\x46\xef\xaa\x8b\xfa\x62\x34\x4a\xda\xb0\x95\x4f\xd1\x33\xea\x9b\x78\x5e\xf5\x04\x6b\xa5\x31\x60\x75\xa1\x38\x75\x9f\x33\xd6\xe5\xfd\x11\x0e\x52\x5a\x3f\xc6\x87\xd1\x38\x3f\xc2\xc4\x96\x7d\xfb\x41\x0e\x0c\x56\xff\x11\x06\x2e\x67\x25\x9d\xd3\xa6\xf3\x2b\xde\x23\x3b\xb2\xa4\xda\xda\x22\xed\x91\x84\xbf\xc5\x99\x20\xdb\x50\x8b\x8e\xf2\x7c\xdf\x43\x2a\xfc\x95\x8f\xd1\xdb\xb4\x96\x3b\xe5\x4a\xb7\x80\x0a\xc9\x1a\x3f\xe7\x00\xc9\x1f\xda\x5e\xd2\x2b\xb4\x00\x2c\xd4\xbd\x85\xb6\x57\x43\x56\x00\x0a\x09\xde\x96\x8f\xa9\xe4\xd5\xc0\x51\x7b\x8d\x73\xea\xe1\xc3\xfb\xc7\x73\xcf\xf6\xbd\x39\xfb\xe8\xd3\x42\xe3\xb2\xcf\xb5\x93\x5a\x9f\x54\x78\xf0\xe1\x9d\xd6\xa5\x38\x01\xd2\xb5\xd8\x0c\xc1\x3f\x3c\x54\xed\x94\x36\x08\x30\xd2\xc0\x6f\xfd\x3b\x45\x61\xc3\x83\x52\xaf\x2b\xb0\x25\xfc\x08\x74\x1e\xf2\x5f\x66\x0a\x7f\x58\xac\x3e\x1d\x94\xff\x66\xbb\x47\x83\xaa\x98\x2e\x09\xdc\x58\x8e\x2c\xd7\xcc\xa7\x02\xa3\xb1\xeb\x62\x80\x51\x32\x0a\x5d\xc6\x81\xb0\x79\x88\xd8\x2a\xae\xa9\x1d\x6d\x12\x9a\x1f\xc3\xc8\x88\x70\xeb\xdf\xdd\xf6\xef\x4a\xce\x49\x1b\xe0\x40\x01\x94\x6a\xe1\xc7\xf0\x6e\x04\x15\x46\xf3\x9f\xcb\xa8\xf0\x69\x8c\xba\x4e\x0a\x8d\x4a\x85\xf6\x1b\x34\x49\x8e\x4d\x68\x7c\xd0\xc8\xda\xd1\x40\x93\xa2\x1d\x54\x95\x23\xaf\x32\xa9\xbe\x8f\xf8\xa0\x03\x3d\x29\x99\x7c\xea\xc0\x2b\xb0\xc9\xf1\x11\x19\x74\xe0\x10\xc8\x60\xa8\x98\x55\x0a\xd1\x62\x01\x38\xa9\x4a\x97\x1d\x63\xe4\xa9\x85\x8c\xca\x6d\xc5\x9d\x06\x7a\xd0\x7c\xa8\xf6\xc9\x45\x15\x6d\xea\x9f\xe5\xde\x8e\x3b\x1c\xa9\x67\x5b\x99\x0f\xbe\x8f\x85\x60\x14\x06\xd0\xb7\xb4\x6a\x96\x76\xda\x72\xbe\x18\x53\x6f\x96\x34\xef\x95\xb6\xa8\xd2\x89\xa7\x47\xa8\xd2\x33\x7a\x53\x00\x24\xcc\x55\xfd\x48\x1f\x8a\x4e\xa0\x0f\x2f\x5f\x56\xdb\x78\x83\xb7\x54\xdb\x7f\x8e\xe2\x5c\x0a\x71\x4f\x02\x5b\x3b\xaf\xab\x8f\x5d\x9d\x7a\xa8\x56\xb5\xa9\xb1\x9b\x4b\xaa\x30\x74\x98\x4c\x92\x79\x42\x49\xe6\x20\x18\xc1\x25\x11\x1b\x47\x44\x31\x75\xed\x7c\x34\xea\x54\xa1\x16\x75\xa8\x45\x09\x25\xb5\x91\xec\x92\x25\x4f\x29\x74\xe0\x64\x04\x03\xf8\xfe\x1d\x2a\xeb\x8b\x74\x5d\x55\x49\x31\x8b\x1d\x8d\xd2\xe7\x61\x65\x6b\xa1\x6c\x2d\x14\xfd\xeb\xb3\x52\xbe\xa1\x3b\x87\x34\x3e\x58\x70\x98\xc9\x7a\x08\x56\xf1\xd7\xa2\xa3\x7a\xa8\x32\xf3\x55\x65\x2d\x07\x41\x45\x27\xd9\x24\x68\x82\x6c\xd2\x4b\x46\xc7\xa0\x99\x0c\xaf\xae\x1b\x65\x06\x3d\x1a\xe5\x7f\x0d\xb5\xed\x45\x65\xfb\x47\x74\x94\x46\x46\xa2\x97\x5c\x03\xb9\x9e\x72\xd6\xf4\x1c\xa2\xd2\x3e\x19\xd5\xee\x00\x54\x21\xdc\x00\x49\x54\xf8\xb8\xe2\xfd\x8a\x3b\x9b\x46\xe2\xba\x83\x6f\x08\xf5\x02\x4c\xaa\xb5\x8d\xf7\x42\x8d\x64\x63\x11\xad\x85\x5f\xe5\x5a\x01\xef\x85\x53\x94\xf4\x61\x15\x46\xbb\x92\xa8\xec\x19\x2e\x1b\xf2\xfd\xfa\x5d\x40\xd5\xbf\x44\x71\x13\x21\x0f\x4f\x7b\x3a\x2f\xe3\x79\xd8\x58\x31\x45\x7b\x67\x20\xc5\x17\x65\x37\x20\x48\xb4\xc6\xb4\xe1\x0b\x89\x27\x13\x52\xe3\x66\x72\x13\xf3\x4f\x4a\xa0\xe4\x3a\x8c\x50\xb6\x89\x1f\x70\x45\x64\xbd\x57\x8c\xa8\xd9\x20\x8c\xf9\xc6\xd6\x3a\xc2\x84\x8b\x6e\x55\xf5\x9d\x8e\xa6\xe0\xca\x1d\x8f\x2a\xe5\x8b\x5c\xbf\x3a\xcf\xca\x7d\x4e\x73\x2a\xab\x65\x95\xb6\x8c\x56\x95\xbb\x72\x17\xd4\x96\x1a\xb4\xa8\x6c\xcf\x0e\xb9\x58\x7a\xad\x7b\x61\x28\x45\x45\x20\xe5\xc9\x5d\x43\xd2\x64\x6c\x2b\x9f\x06\x67\x15\x51\xdd\xde\xa6\xd0\x9b\x50\x4f\x0d\xbc\x9f\xe6\xd2\x69\xb3\xfb\xa0\x75\xbb\x65\x5b\x2d\x4c\xcd\xaf\xa6\x55\x89\xff\xae\x5e\x7d\xdb\xdc\x5b\x73\x60\x1e\x06\xbe\x8b\x92\x50\x17\x06\xba\x93\x56\xb2\xc0\xe1\x61\xa3\x0b\x1b\xb2\x4c\x99\x45\x0d\xf9\xe4\xc4\x78\x77\x9c\x29\xaa\x96\xcb\xf2\x3c\x55\x1a\xf0\xe9\x19\x29\xb1\x48\x0a\xda\xd1\xb2\x2e\xbd\x7c\x69\x74\x12\xf5\xe4\xf6\xfe\xeb\x27\x30\xf1\x42\x91\xf5\xe5\xcb\xaa\x4a\xe1\x48\xcd\xea\xef\xaa\xd7\xe9\xba\x4f\x2d\x53\x4e\x6b\x89\xc5\x94\xd7\xb5\x52\x0c\xe9\x9b\x94\x14\x7d\xa0\x78\x4f\x39\x80\x9b\xa9\x1c\x37\x52\x79\xad\x50\xd9\x43\xe4\x75\x23\x11\xe3\xcc\xd1\x60\x21\x59\xd0\x33\x44\x59\xdf\x07\x96\x16\x32\x39\x51\x83\xe8\xf5\x84\xc2\x51\xe4\xb9\xa8\xd6\xc6\x77\x35\x33\xd4\xd4\x55\x25\xfe\x3c\x76\xfb\xd6\x9e\xfe\x37\xcd\x51\xe9\x85\xe0\x7f\xd2\xd4\xbf\x4e\x53\xd0\x96\x64\xea\x7a\x97\x50\xba\xd6\x79\xbc\xfd\x5c\x46\x5b\xb6\xb2\xa8\xae\xfc\x7f\xb2\x4c\xf2\xe6\xc7\xe7\x22\x2f\xfc\xfc\xef\x48\xa4\x03\x40\xc8\x76\xea\xa1\xc9\x0d\x15\x1c\xd5\x2e\x73\xbc\x87\x6c\x2f\x49\x67\x5d\x99\x3c\x0e\xa1\x89\xc0\xa2\x85\xc0\xa2\x20\xa0\x49\x65\x4e\xc8\xad\x55\x47\xce\x2a\x89\x54\x66\xa8\x5b\x33\xc9\x23\x18\xdc\xe9\xba\x6b\x70\x27\x83\x12\xa5\xe9\xfe\x89\xbe\x86\x55\xf4\xc7\x3a\x7a\xab\xb6\xaa\xe8\x32\x10\x3e\x60\x20\x88\x1e\x18\x0d\x24\x0c\x81\x93\x78\xfe\xe1\x48\x0a\xf2\x6a\xff\xa5\x59\x31\x09\x7a\x0f\x1d\xe8\x29\xe7\xbf\x82\x41\xbf\xdf\xef\x54\xe8\x2e\x12\xba\x8f\xff\x8c\xee\xe3\x1e\xba\x8d\x8a\x35\xd8\x61\x3f\xd6\xc2\xa0\xfe\x76\xac\x52\xc5\xcf\x69\x99\xda\x5b\x81\x3c\xab\x9d\x8c\x9a\xbb\x81\xd6\xde\x24\x99\xce\xf7\xce\x1a\x87\xa3\xd4\xca\xaf\xca\xf7\xf4\x0d\x83\x46\x0a\xb9\x30\x43\x2a\x0d\x44\x23\x43\xb5\x1e\x42\xbb\x18\x48\xd9\x50\xbe\x0c\x18\x1a\xa0\x17\x25\xf4\xa2\x09\xfa\x49\x9b\xc8\xb5\xab\x33\xe3\x9d\xff\x86\x04\x92\x53\x9c\x22\x0f\x19\xe5\x68\x6f\x91\x73\xb2\xc6\x4a\x21\xd8\x90\xab\xe5\x5f\x72\x0c\xc1\x1d\xfc\xc5\x67\x67\x63\xdb\x9a\x9d\x8d\x8f\x8e\xdf\xfc\x97\xd5\x05\x6b\x3e\xf9\x3c\xcf\xab\x7b\x0a\xea\x70\x14\x67\x97\xe3\xd3\xdf\xf1\x31\xa7\x67\x86\x4b\xf9\xb4\x77\x3e\xf5\xd8\xce\x09\x98\x9b\x78\xbf\xb3\x21\x7c\xe3\xf0\x78\xc9\x45\x64\x0f\xf2\x1c\x98\x5d\x42\x2e\x05\x23\x76\x86\xbe\x4e\x8f\xb1\xad\xf7\x8b\xf9\x64\x66\x75\xd2\x0b\xc4\x8c\x5a\xfd\x95\x48\xc0\x88\x67\x75\x21\x17\xde\x56\x65\x24\xb1\xd8\xc8\x52\xe2\x12\xa1\xdf\x1d\x24\x1f\x23\x84\x48\xd3\x69\xab\x78\xe5\xb2\x46\x91\xbd\x9f\x49\x8a\x92\x95\x81\x58\xca\x3d\x93\x1b\x30\x9e\x50\x6b\x44\x4a\x21\x72\x1c\x39\xf2\xb7\x00\x87\x44\x85\x4c\xe6\xff\x3d\xe0\x09\x8c\xca\xd1\x57\x7c\x5c\x32\x12\xb5\x1e\x93\xc3\xa8\x78\xe5\xbb\xac\xa2\x77\x6d\xc4\xd7\x61\x55\x3a\x02\x1f\x44\x1b\xae\xdc\xcf\xe1\x53\xdd\x38\x5c\x3c\x06\xe8\x78\x3e\x0f\x03\x22\x2b\x83\x45\x19\x45\xab\x50\x43\xeb\x7e\x2e\x4a\x2b\x90\x3c\xd3\xb9\x27\x41\x8c\x72\xc3\xca\x5e\xc3\xec\x78\xe6\xf0\x7f\xe2\x72\xc6\xdc\xaf\x28\x6c\x6b\xc7\xdf\xf6\x7a\xb2\xb1\x2d\x3d\x95\x71\x41\xc9\x16\xe1\xb0\x12\xb3\xca\xcf\x2e\x60\x43\x16\x09\xf8\x6f\xb0\xde\x56\x28\x24\xab\x6f\xc1\xb2\x3a\xcd\x34\xac\xde\x8e\x4b\xad\x64\x8c\x39\x8c\x66\x51\x25\x1d\x35\xf7\xe6\xe4\x62\x47\xcf\x92\x15\xb7\xd6\xf3\xd0\x8e\x3b\x89\x8e\x6d\xed\xfe\x21\x8d\x34\x53\x5e\xd1\xa3\xa4\xda\x05\xe4\x93\x40\x3d\xa9\x24\xbc\x39\x1e\x11\x44\xed\x68\xb2\x88\x69\x35\x4e\x2e\xc8\xc6\xe7\x82\x45\x8f\x0e\x17\x44\xa0\xcc\xaa\x8a\x9b\x6a\x62\x35\x1b\x7d\x15\xe0\x83\x55\x95\x35\x31\xfe\x8a\xb9\x31\xb7\xf7\x0d\x3a\x46\x67\xd3\x48\x66\xaa\x7a\xca\xdf\xe5\x25\xc6\x4a\x94\xac\x9a\x4a\xb7\x92\xe1\x7b\x04\x5d\x28\xf3\x77\x1d\x55\xeb\x3c\x57\x9f\xfb\xa2\xa6\x5d\x89\x09\x60\x01\xd7\x14\xa4\xaa\x5e\x72\x6d\xec\xcd\x38\x79\xbe\x30\xe4\x6e\x37\xf0\xdd\xaf\x56\xb7\x29\x42\x9e\xfb\x2b\xa3\xe5\x27\xd9\xe0\xdf\xe9\x56\xf3\x26\xb3\x73\xe6\xa1\x10\xc6\x7c\x33\x93\xe1\xa0\xa4\xec\x2e\x58\xe9\xa7\xa7\xf0\xbb\x96\xc5\x9f\x94\xb7\x1a\x2f\x0c\x5f\xa4\xa9\xc2\xea\x19\xbc\x55\xa2\x54\xf6\x1a\x4a\xa3\x09\x7f\x9a\x0d\x4c\x31\x5b\xff\xc2\x2c\x24\x5e\xfd\x26\x22\x5f\x69\xf4\x50\x99\xd7\x7e\xb2\x77\x36\xab\x45\x29\x50\x2f\x46\x49\xa5\x68\xb8\x81\xc9\x6d\x3e\x97\x55\x56\x56\x99\x12\xb3\x63\x48\x7b\x6a\xcd\xab\x2a\x24\xa1\x9a\xb6\x51\xb9\xb7\x2d\x89\xfb\xd5\xd6\x7c\x29\x03\x61\x34\x64\x61\x96\x98\xf7\xd4\xa3\x26\xd7\xcf\x7d\x5f\x17\xed\x39\x39\x17\x9e\x5b\xe8\xa1\xf1\x0a\xab\x59\xd4\x52\x27\x4f\xc3\xf6\x24\x16\xa1\xec\x2f\x7f\x76\x0a\x33\x7b\x49\xd1\x4d\xa4\x4c\xe8\x76\x92\x5a\xac\xf3\x93\x8c\x5b\x5c\x90\x48\x58\x5d\xf5\xed\x5c\xb7\xf8\xd6\x73\x0f\x2e\x52\xaf\xc0\x9c\x50\xef\xd9\x78\x6e\x72\xc9\x57\xa0\xa6\x77\x7e\xcf\xc6\x96\x83\x59\x81\x2b\x47\x9c\x12\xf3\xa9\x7c\xfc\xbf\x00\x00\x00\xff\xff\xb1\x51\x14\x18\xf3\x30\x00\x00") func webdataFnJsBytes() ([]byte, error) { return bindataRead( @@ -89,7 +89,7 @@ func webdataFnJs() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/fn.js", size: 12351, mode: os.FileMode(436), modTime: time.Unix(1529766470, 0)} + info := bindataFileInfo{name: "webdata/fn.js", size: 12531, mode: os.FileMode(436), modTime: time.Unix(1529899874, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -109,12 +109,12 @@ func webdataIconPng() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/icon.png", size: 1578, mode: os.FileMode(436), modTime: time.Unix(1529766470, 0)} + info := bindataFileInfo{name: "webdata/icon.png", size: 1578, mode: os.FileMode(436), modTime: time.Unix(1529899874, 0)} a := &asset{bytes: bytes, info: info} return a, nil } -var _webdataIndexHtml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x94\xb1\x8e\xd4\x30\x10\x86\xfb\x7b\x0a\x33\x35\x49\x00\x09\x44\x11\x47\x42\x77\x57\x50\x81\xd0\x21\x41\xe9\xd8\xb3\xc9\x70\x8e\x6d\xec\xc9\xde\xed\x3b\x50\x53\x52\x40\xc3\x73\xf1\x24\x68\x63\xed\x25\x97\xdd\x45\x54\xc9\xfc\xf3\xcf\xe7\x19\xdb\x72\xfd\xe4\xea\xdd\xe5\xcd\xe7\xf7\xd7\xa2\xe7\xc1\x36\x17\xf5\xfe\x23\xac\x72\x9d\x04\x74\xd0\x5c\x08\x21\x44\xdd\xa3\x32\xf9\x77\x0a\x07\x64\x25\x74\xaf\x62\x42\x96\x30\xf2\xa6\x78\x0d\xa2\x5a\x1b\x9c\x1a\x50\xc2\x96\xf0\x2e\xf8\xc8\x20\xb4\x77\x8c\x8e\x25\xdc\x91\xe1\x5e\x1a\xdc\x92\xc6\x62\x0a\x04\x39\x62\x52\xb6\x48\x5a\x59\x94\xcf\x9f\x8a\x41\xdd\xd3\x30\x0e\xb3\x30\x26\x8c\x53\xa4\x5a\x8b\xf2\xd9\x89\xf5\x7a\xe6\x50\xe0\xd7\x91\xb6\x12\x3e\x15\x1f\xdf\x14\x97\x7e\x08\x8a\xa9\xb5\xb8\x58\xfc\xed\xb5\x44\xd3\xe1\xe3\xfa\xa4\x23\x05\x16\x29\x6a\x09\x1b\x57\x7e\x49\xd0\xd4\x55\x16\xcf\xb8\x52\xaf\x5e\xbc\x7c\x75\xce\xc9\xc4\x16\x9b\x0f\x38\x78\x46\x71\xe3\x47\xdd\x07\x65\xea\x2a\xcb\xb3\xcd\x92\xbb\x15\x7d\xc4\x8d\x84\x41\x91\x2b\x75\x4a\x20\x06\x34\xa4\x24\x24\x1d\x11\x1d\x88\x88\x56\x42\xe2\x9d\xc5\xd4\x23\xf2\xe3\xbe\x17\x00\xd2\xde\x95\xc1\x75\x20\x78\x17\x50\x02\x0d\xaa\xc3\x6a\x12\x32\xa2\xf7\x91\xf5\xc8\x62\x6f\x7c\xa0\xd4\xd5\x7c\xb4\x75\xeb\xcd\x6e\x01\x37\xb4\x15\x64\x24\xf8\x80\x8e\x5c\x07\x73\x6a\x4a\x87\xe6\xd2\x3b\x87\x9a\xc9\x75\x65\x59\xd6\x55\x58\xd4\x56\x86\xb6\x27\x50\xda\xfa\x84\xe6\x98\x74\x45\x49\x67\x18\x9a\xff\x02\x05\x75\x4c\x39\x24\xac\x6a\xd1\x42\x33\x6f\x7b\x58\x39\xf7\x10\x6d\x55\x4a\x12\xda\x91\xd9\xbb\xb4\x62\xe5\xdd\x98\x52\x13\x74\x33\x5a\x9b\xcf\x23\x8b\xd0\xfc\xf9\xfe\xb3\xae\x72\xf0\xef\xd2\x5b\xdc\xb5\x5e\x45\xf3\x50\xf8\xed\xf7\xa9\xc2\xf5\x9c\x67\xc6\x3e\xd0\xd6\xb3\x33\xde\xb3\x8a\xa8\x26\xd3\x3e\xd8\xdf\xca\x83\xb8\xf2\x2e\x9a\x4b\xe8\xe6\xc6\x7e\xfc\x3a\x6e\x6c\xd1\x47\x5d\xe5\xeb\x51\x57\xf9\xa1\xf8\x1b\x00\x00\xff\xff\xb9\x03\xa0\x33\x39\x04\x00\x00") +var _webdataIndexHtml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x84\x94\xb1\x8e\xd4\x30\x10\x86\xfb\x7b\x0a\x33\x35\x49\x00\x09\x44\x11\x47\x42\x77\x57\x50\x81\xd0\x21\x41\x39\x6b\xcf\x26\xc3\x39\x76\xb0\x27\x7b\xb7\x2f\x40\x45\x4d\x49\x01\x0d\xef\xc0\xdb\xf0\x24\x68\x63\xdd\x65\x2f\xbb\x0b\x55\x32\xe3\x7f\xbe\xf9\x27\x63\xa5\x7e\x74\xf1\xe6\xfc\xea\xe3\xdb\x4b\xd5\x49\xef\x9a\xb3\x7a\xf7\x50\x0e\x7d\xab\x81\x3c\x34\x67\x4a\x29\x55\x77\x84\x36\xbf\x4e\x61\x4f\x82\xca\x74\x18\x13\x89\x86\x51\xd6\xc5\x4b\x50\xd5\x52\xe0\xb1\x27\x0d\x1b\xa6\x9b\x21\x44\x01\x65\x82\x17\xf2\xa2\xe1\x86\xad\x74\xda\xd2\x86\x0d\x15\x53\xa0\xd8\xb3\x30\xba\x22\x19\x74\xa4\x9f\x3e\x56\x3d\xde\x72\x3f\xf6\x73\x62\x4c\x14\xa7\x08\x57\x8e\xf4\x93\x23\xfd\x3a\x91\xa1\xa0\xcf\x23\x6f\x34\x7c\x28\xde\xbf\x2a\xce\x43\x3f\xa0\xf0\xca\xd1\x5e\xf3\xd7\x97\x9a\x6c\x4b\x0f\xeb\x93\x89\x3c\x88\x4a\xd1\x68\x58\xfb\xf2\x53\x82\xa6\xae\x72\xf2\x84\x2a\x75\xf8\xec\xf9\x8b\x53\x4a\x61\x71\xd4\xbc\xa3\x3e\x08\xa9\xab\x30\x9a\x6e\x40\x5b\x57\x39\x3d\xcb\x1c\xfb\x6b\xd5\x45\x5a\x6b\xe8\x91\x7d\x69\x52\x02\xd5\x93\x65\xd4\x90\x4c\x24\xf2\xa0\x22\x39\x0d\x49\xb6\x8e\x52\x47\x24\x0f\x7d\xef\x01\xd8\x04\x5f\x0e\xbe\x05\x25\xdb\x81\x34\x70\x8f\x2d\x55\x53\x22\x23\xba\x10\xc5\x8c\xa2\x76\xc2\x7b\x4a\x5d\xcd\xab\xad\x57\xc1\x6e\xf7\xe0\x96\x37\x8a\xad\x86\x30\x90\x67\xdf\xc2\x7c\x34\x1d\x0f\xcd\x79\xf0\x9e\x8c\xb0\x6f\xcb\xb2\xac\xab\x61\xaf\xb6\xb2\xbc\x39\x82\x32\x2e\x24\xb2\x87\xa4\x0b\x4e\x26\xc3\xc8\x3e\x00\x65\x5f\xa3\x48\xf0\x13\x20\x92\x0b\x68\x73\x02\x9a\x3f\x5f\x7e\xd7\x55\x0e\xfe\xdf\x7b\xc0\xc3\xc6\x77\x07\x0e\x57\xe4\xa0\x99\x37\xb5\xb4\xb0\x83\x18\x87\x29\x69\xc8\xfd\xd2\x82\xb5\x34\xba\x1e\x9d\xcb\x2b\xbc\x37\xfb\xed\xc7\xa1\xd9\x63\xa5\xd7\xb4\x5d\x05\x8c\xf3\x94\x5f\x7f\x1d\x2b\x5c\xce\x79\x62\xec\x3b\xda\x72\x76\xa1\x5b\xc1\x48\x38\x89\x76\xc1\xee\x22\xdf\x25\x4f\x2f\x20\x91\x9f\x8d\x7d\xff\xf9\xcf\xcf\x5f\x57\xf9\x46\xd5\x55\xfe\xb7\xfc\x0d\x00\x00\xff\xff\xc2\x55\x56\x63\x6c\x04\x00\x00") func webdataIndexHtmlBytes() ([]byte, error) { return bindataRead( @@ -129,12 +129,12 @@ func webdataIndexHtml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/index.html", size: 1081, mode: os.FileMode(436), modTime: time.Unix(1529766470, 0)} + info := bindataFileInfo{name: "webdata/index.html", size: 1132, mode: os.FileMode(436), modTime: time.Unix(1529899874, 0)} a := &asset{bytes: bytes, info: info} return a, nil } -var _webdataMainCss = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x55\xed\xae\x9b\x30\x0c\xfd\xcf\x53\x78\xaa\x26\xdd\x2b\x35\x77\xbd\x1f\x93\xa6\xdc\x3f\x7b\x95\x40\x5c\x9a\x35\xc4\x28\x31\xa2\xdd\xc4\xbb\x4f\x21\x94\x42\x0b\xdd\x1a\xa9\x42\xc7\x71\x7c\x7c\x7c\x02\x07\xae\xec\x16\x72\xd2\xe7\x2d\x6c\x6a\xa5\xb7\xb0\x39\xe2\x39\x27\xe5\xe3\x23\xd5\xe8\x8c\x2b\xb7\xb0\x29\x2c\x05\xd4\xf0\x27\x03\x00\x68\x8d\xe6\x83\x84\xd7\xdd\xee\xeb\x67\x0f\x1c\xd0\x94\x07\x9e\x22\x95\xf2\xa5\x71\x12\x76\x9f\x59\x97\x65\xf1\xfc\x21\x77\x4f\x8e\xc5\x5e\x55\xc6\x9e\x25\x04\xe5\x42\xbf\x61\x28\x1d\xd0\xe9\xbc\x61\x26\xb7\x5e\x3c\x57\xc5\xb1\xf4\xd4\x38\x2d\x0a\xb2\xe4\x25\x6c\x3e\x76\x71\xc1\x17\x53\xd5\xe4\x59\x39\xfe\xbc\xdd\x69\x2a\x55\xa2\x84\xc6\xdb\x27\xc6\xd3\x4b\xed\xca\xe7\x54\x77\xa5\x88\x36\xa1\xb6\xea\x2c\x61\x6f\xf1\x94\x4e\x53\xd6\x94\x4e\x18\xc6\x2a\x48\x28\xd0\x31\xfa\x14\xf8\xd5\x04\x36\xfb\xb3\x28\xc8\x31\x3a\x9e\x07\xfb\x76\x83\xf9\x8d\x12\xde\xb0\x4a\xd8\x40\xbb\x3d\x18\xc6\x84\xb4\xe4\xb5\x68\xbd\xaa\x25\xe4\x1e\xd5\x51\x44\x60\x14\x66\x9d\x53\x7c\x12\xda\x78\x2c\xd8\x90\x93\xf1\xe4\xa6\x72\x63\xa2\x55\x39\xda\x21\x7b\xd4\xea\x2d\xae\x94\xce\x78\x62\x11\x0e\x4a\x53\x2b\x7b\x20\xfe\xc4\x6b\x7d\x4a\x7f\x3b\xd8\xbc\xff\x88\x6b\x3b\x06\x1f\xc5\x7a\xfc\x41\xde\x2c\x34\x51\xa7\x1d\xcc\x93\x93\xd5\x53\xf3\x08\xa6\x5a\x82\x6a\x98\x66\x68\x4e\xcc\x54\x4d\x03\x7d\x1b\xfd\x78\x56\xb5\xff\xb8\x68\xff\x40\xe9\x7d\x63\x6d\x28\x3c\xa2\x1b\x2d\x78\xb9\x0a\x23\x70\x35\xe8\xaa\x1b\xd9\x2b\x17\x6a\xe5\x71\xb4\x21\x79\x8d\x5e\xf6\xfd\x07\xb2\x46\x43\x6e\x55\x71\x9c\x06\xc7\xa6\x1c\x39\xbc\xb9\x52\x2f\xdf\x47\xee\xe9\xda\x8d\x3e\xfa\xb7\xb7\x96\xda\xba\x10\x4f\x85\x2d\xee\xf9\x52\x36\xee\x9e\x77\x3c\xdf\xeb\x13\xa3\x2b\xc7\x61\x22\xe9\x8c\x34\x8f\xe9\x19\xff\xef\x5b\x4f\x6d\x4a\x8d\xa3\xbc\xbc\x28\x2c\x9e\x24\xbc\xcd\x35\xbc\xd6\xf6\x98\x3a\xbf\x22\x4b\x72\xdc\x8f\x67\x72\xeb\x06\x64\x98\x46\x97\x65\x2f\xa9\xeb\xb0\x4c\x3c\xf2\xbb\x9f\xff\x8a\x34\x03\xde\x5b\x78\x61\xa8\xfd\x7b\xb2\xcb\xb2\x9f\x15\x6a\xa3\xe0\xa9\x52\x27\xa1\x42\x8d\x05\x0b\xaf\xd8\x90\x84\x8f\x6f\xef\xcf\x43\x8d\x5b\x41\x1f\xdd\xfc\x18\xeb\xb2\x94\x76\x47\x76\x65\xee\x37\xa1\x9e\xf3\xa2\x59\x57\x7c\xb9\xf8\x49\xe8\xb2\xee\x6f\x00\x00\x00\xff\xff\x19\xc9\xf5\x7f\x5c\x06\x00\x00") +var _webdataMainCss = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x55\x6d\x6f\x9b\x30\x10\xfe\xce\xaf\xb8\x29\x9a\xd4\x4a\x71\x97\xbe\x4c\x9a\xdc\x2f\xfb\x2b\x06\x5f\xc0\x8b\xf1\x21\xfb\x10\x64\x13\xff\x7d\x32\x26\x14\xd2\xd0\x6e\xb5\x54\x25\xcf\xbd\xfa\xb9\xe7\x9c\x8a\x6b\xbb\x87\x9c\xf4\x79\x0f\xbb\x46\xe9\x3d\xec\x4e\x78\xce\x49\xf9\xf8\x91\x1a\x74\xc6\x95\x7b\xd8\x15\x96\x02\x6a\xf8\x93\x01\x00\x74\x46\x73\x25\xe1\xf1\x70\xf8\xfa\x3a\x02\x15\x9a\xb2\xe2\x25\x52\x2b\x5f\x1a\x27\xe1\xf0\x9a\x0d\x59\x16\xf3\x4f\xb1\x47\x72\x2c\x8e\xaa\x36\xf6\x2c\x21\x28\x17\x46\x87\xa9\x74\x40\xa7\xf3\x96\x99\xdc\x76\xf1\x5c\x15\xa7\xd2\x53\xeb\xb4\x28\xc8\x92\x97\xb0\x7b\x39\xc4\x03\x5f\x4c\xdd\x90\x67\xe5\xf8\xf5\xda\xd3\xd4\xaa\x44\x09\xad\xb7\x77\x8c\xfd\x43\xe3\xca\xfb\x54\x77\xa3\x88\x36\xa1\xb1\xea\x2c\xe1\x68\xb1\x4f\xd9\x94\x35\xa5\x13\x86\xb1\x0e\x12\x0a\x74\x8c\x3e\x19\x7e\xb5\x81\xcd\xf1\x2c\x0a\x72\x8c\x8e\xd7\xc6\xf1\xba\xc1\xfc\x46\x09\x4f\x58\x27\x6c\x6a\xbb\xab\x0c\x63\x42\x3a\xf2\x5a\x74\x5e\x35\x12\x72\x8f\xea\x24\x22\x30\x25\xb0\xd8\x0b\x6d\x3c\x16\x6c\xc8\xc9\x18\xdc\xd6\x6e\x26\x6d\xbb\xdf\x4f\x02\xad\xca\xd1\x4e\xd1\x33\x8f\x4f\xf1\xa4\x70\xc6\x9e\x45\xa8\x94\xa6\x4e\x8e\x40\xfc\x13\x8f\x4d\x9f\xfe\x1d\x60\xf7\xfc\x23\x9e\xfd\x6c\xfc\xc8\x36\xe2\x1f\xc4\xad\x4c\x0b\xe6\xba\x49\x58\x39\x59\xbd\x14\x96\x60\x6a\x24\xa8\x96\x69\x85\xe6\xc4\x4c\xf5\xd2\x30\x5e\x63\x1c\xdd\xe6\x5c\x5e\x2e\x73\xd9\x98\x42\x24\xec\xd8\x5a\x1b\x0a\x8f\xe8\x66\x79\x5e\xd6\x64\x06\x56\xe2\xf5\x68\x49\x4d\x5f\x37\x85\xcb\x5e\xb9\xd0\x28\x8f\xb3\x62\xc9\x6b\xf4\x72\xa4\x23\x90\x35\x1a\x72\xab\x8a\xd3\xd5\x92\x3d\x7c\x9f\x3b\x4e\x8b\x38\x2b\xeb\x73\xb5\xfd\xff\x65\x2e\xdd\x8f\xad\xcd\x0c\x3b\x72\x1b\xd9\xd6\xfe\x16\x8f\xbc\xf4\x5e\x17\x5a\xfb\xfa\x74\xbf\xe4\xbc\x98\x6a\xca\x91\x66\xba\xcc\xf1\xef\xda\xf7\xd4\xa5\xd0\x28\x87\xcb\x43\x64\xb1\x97\xf0\xb4\x26\xfe\xad\xb6\xc7\xc4\xe3\x1b\x72\x8b\xdc\xf7\x33\x5d\x6c\xf5\x84\x4c\x23\x1c\xb2\xec\x21\xdd\x3a\xdc\x6e\x3c\xf6\xb7\x45\xfb\x3b\x6a\x26\x7c\x5c\x83\x37\x74\xfd\x0e\x0f\x59\xf6\xb3\x46\x6d\x14\xdc\xd5\xaa\x17\x2a\x34\x58\xb0\xf0\x8a\x0d\x49\x78\xf9\xf6\x7c\x3f\xd5\xb8\x26\xf4\xa3\xd7\x23\xda\x86\x2c\x85\xbd\x6b\x76\x63\xee\x57\xa6\xb1\xe7\x9b\x0a\xdf\x50\xf9\xcd\x9f\x9c\x21\x1b\xfe\x06\x00\x00\xff\xff\x02\x28\x6c\x00\xbc\x06\x00\x00") func webdataMainCssBytes() ([]byte, error) { return bindataRead( @@ -149,7 +149,7 @@ func webdataMainCss() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/main.css", size: 1628, mode: os.FileMode(436), modTime: time.Unix(1529766470, 0)} + info := bindataFileInfo{name: "webdata/main.css", size: 1724, mode: os.FileMode(436), modTime: time.Unix(1529899874, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -169,7 +169,7 @@ func webdataSha256Js() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/sha256.js", size: 9380, mode: os.FileMode(436), modTime: time.Unix(1529766470, 0)} + info := bindataFileInfo{name: "webdata/sha256.js", size: 9380, mode: os.FileMode(436), modTime: time.Unix(1529899874, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -189,7 +189,7 @@ func webdataTexPng() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/tex.png", size: 3878, mode: os.FileMode(436), modTime: time.Unix(1529766470, 0)} + info := bindataFileInfo{name: "webdata/tex.png", size: 3878, mode: os.FileMode(436), modTime: time.Unix(1529899874, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/webdata/fn.js b/webdata/fn.js index 78287c5..5839f5c 100644 --- a/webdata/fn.js +++ b/webdata/fn.js @@ -378,6 +378,10 @@ window.addEventListener("load", function() { window.history.back(); } }; + document.getElementById("reloadbutton").addEventListener("click", + 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 c93bbe3..1d43187 100644 --- a/webdata/index.html +++ b/webdata/index.html @@ -16,6 +16,7 @@

Disconnected

+

Touchpad

diff --git a/webdata/main.css b/webdata/main.css index bbd1605..5e71bfd 100644 --- a/webdata/main.css +++ b/webdata/main.css @@ -20,6 +20,7 @@ body { font-size: 2em; color: white; word-wrap: break-word; + flex-direction: column; } #pad { @@ -42,16 +43,19 @@ body { word-wrap: break-word; } -#fullscreenbutton, #keyboardbutton, #sendbutton { +#fullscreenbutton, #keyboardbutton, #sendbutton, #reloadbutton { background-color: transparent; border: 1px solid black; - border-bottom: none; height: 1.5em; width: 2em; font-size: 2em; color: white; } +#fullscreenbutton, #keyboardbutton, #sendbutton { + border-bottom: none; +} + #fullscreenbutton { border-left: none; } From 0e0381fb12bb46abb757bf93b88a48c61443b111 Mon Sep 17 00:00:00 2001 From: Unrud Date: Mon, 25 Jun 2018 06:12:39 +0200 Subject: [PATCH 005/321] use golang sdk extension --- flatpak/com.github.unrud.RemoteTouchpad.json | 62 ++------------------ 1 file changed, 4 insertions(+), 58 deletions(-) diff --git a/flatpak/com.github.unrud.RemoteTouchpad.json b/flatpak/com.github.unrud.RemoteTouchpad.json index f2b220f..b261473 100644 --- a/flatpak/com.github.unrud.RemoteTouchpad.json +++ b/flatpak/com.github.unrud.RemoteTouchpad.json @@ -7,68 +7,14 @@ "rename-appdata-file" : "remote-touchpad.appdata.xml", "rename-desktop-file" : "remote-touchpad.desktop", "rename-icon" : "remote-touchpad", + "sdk-extensions" : [ + "org.freedesktop.Sdk.Extension.golang" + ], "finish-args" : [ "--socket=x11", "--share=network" ], - "build-options" : { - "append-path" : "/app/share/go/bin", - "env" : { - } - }, "modules" : [ - { - "name" : "go-compiler", - "sources" : [ - { - "only-arches" : [ - "i386" - ], - "type" : "archive", - "strip-components" : 0, - "url" : "https://dl.google.com/go/go1.10.3.linux-386.tar.gz", - "sha256" : "3d5fe1932c904a01acb13dae07a5835bffafef38bef9e5a05450c52948ebdeb4" - }, - { - "only-arches" : [ - "x86_64" - ], - "type" : "archive", - "strip-components" : 0, - "url" : "https://dl.google.com/go/go1.10.3.linux-amd64.tar.gz", - "sha256" : "fa1b0e45d3b647c252f51f5e1204aba049cde4af177ef9f2181f43004f901035" - }, - { - "only-arches" : [ - "arm" - ], - "type" : "archive", - "strip-components" : 0, - "url" : "https://dl.google.com/go/go1.10.3.linux-armv6l.tar.gz", - "sha256" : "d3df3fa3d153e81041af24f31a82f86a21cb7b92c1b5552fb621bad0320f06b6" - }, - { - "only-arches" : [ - "aarch64" - ], - "type" : "archive", - "strip-components" : 0, - "url" : "https://dl.google.com/go/go1.10.3.linux-arm64.tar.gz", - "sha256" : "355128a05b456c9e68792143801ad18e0431510a53857f640f7b30ba92624ed2" - } - ], - "buildsystem" : "simple", - "build-commands" : [ - "mkdir -p /app/share", - "cp -r go /app/share" - ], - "build-options" : { - "no-debuginfo" : true - }, - "cleanup" : [ - "*" - ] - }, { "name" : "remote-desktop", "sources" : [ @@ -99,7 +45,7 @@ ], "buildsystem" : "simple", "build-commands" : [ - "env GOPATH=\"$(pwd)\" go build github.com/unrud/remote-touchpad", + ". /usr/lib/sdk/golang/enable.sh; env GOPATH=\"$(pwd)\" go build github.com/unrud/remote-touchpad", "install -Dm0755 -t /app/bin remote-touchpad", "install -Dm0644 -t /app/share/appdata src/github.com/unrud/remote-touchpad/desktop/remote-touchpad.appdata.xml", "install -Dm0644 -t /app/share/applications src/github.com/unrud/remote-touchpad/desktop/remote-touchpad.desktop", From 5c294e6c84aa813d39366d3fce2fb74adc85d006 Mon Sep 17 00:00:00 2001 From: Unrud Date: Mon, 25 Jun 2018 06:12:40 +0200 Subject: [PATCH 006/321] fix module name --- flatpak/com.github.unrud.RemoteTouchpad.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flatpak/com.github.unrud.RemoteTouchpad.json b/flatpak/com.github.unrud.RemoteTouchpad.json index b261473..ef4b838 100644 --- a/flatpak/com.github.unrud.RemoteTouchpad.json +++ b/flatpak/com.github.unrud.RemoteTouchpad.json @@ -16,7 +16,7 @@ ], "modules" : [ { - "name" : "remote-desktop", + "name" : "remote-touchpad", "sources" : [ { "type" : "git", From 1c7a2773287ac3a3735d0491d14d96b12d5bc787 Mon Sep 17 00:00:00 2001 From: Unrud Date: Mon, 25 Jun 2018 06:12:41 +0200 Subject: [PATCH 007/321] bump version to 0.0.2 --- desktop/remote-touchpad.appdata.xml | 7 ++++--- main.go | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/desktop/remote-touchpad.appdata.xml b/desktop/remote-touchpad.appdata.xml index 1ef2038..82c7901 100644 --- a/desktop/remote-touchpad.appdata.xml +++ b/desktop/remote-touchpad.appdata.xml @@ -18,17 +18,18 @@ https://github.com/Unrud/remote-touchpad Unrud + - https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.1/screenshots/1.png + https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.2/screenshots/1.png - https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.1/screenshots/2.png + https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.2/screenshots/2.png - https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.1/screenshots/3.png + https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.2/screenshots/3.png diff --git a/main.go b/main.go index 394d5ea..ec057af 100644 --- a/main.go +++ b/main.go @@ -43,7 +43,7 @@ const ( authenticationRateBurst int = 10 challengeLength int = 8 defaultBind string = ":0" - version string = "0.0.1" + version string = "0.0.2" ) func processCommand(plugin Plugin, command string) error { From b5ed8ee23b928876301cc5774fe6a331570ad783 Mon Sep 17 00:00:00 2001 From: Unrud Date: Tue, 26 Jun 2018 06:01:16 +0200 Subject: [PATCH 008/321] use shorter commands --- bindata.generated.go | 14 +++++++------- main.go | 25 ++++++++++++++++--------- webdata/fn.js | 14 +++++++------- 3 files changed, 30 insertions(+), 23 deletions(-) diff --git a/bindata.generated.go b/bindata.generated.go index a446d3e..646cc99 100644 --- a/bindata.generated.go +++ b/bindata.generated.go @@ -74,7 +74,7 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var _webdataFnJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3a\xdd\x6f\xdb\xb6\xb7\xef\xf9\x2b\x4e\xf5\x50\xc8\x8d\x23\xdb\x29\x7a\x37\xd4\x75\xee\x75\x53\x77\x09\x96\x34\x81\xed\x6c\x35\x82\xa0\xa0\xa5\x63\x5b\xab\x4c\x6a\x22\x15\x27\xbd\xcd\xff\x7e\x41\x7d\x52\x14\x25\x67\x1d\xfa\x72\xf1\x33\xb0\x4e\x21\xcf\x39\x3c\xdf\x1f\x94\x7a\xaf\x0e\xe0\x15\x00\xc0\x29\x0b\x1f\x23\x7f\xbd\x11\x60\xbb\x1d\x38\xee\x0f\x7e\x85\x1b\x1a\xc5\xde\xbb\x58\xfe\xfb\x3f\x2c\x16\x01\x63\x5f\x1d\x97\x6d\x4f\x0e\x20\x47\x9a\x6f\x7c\x0e\x2b\x3f\x40\xf0\x39\x84\x24\x12\xc0\x56\x30\xc5\x2d\x13\x78\x34\x67\xb1\xbb\x09\x89\xe7\x94\xe0\x1f\x19\x5b\x92\x48\xc2\xae\x22\x44\xe0\x6c\x25\x76\x24\xc2\xb7\xf0\xc8\x62\x70\x09\x85\x08\x3d\x9f\x8b\xc8\x5f\xc6\x02\xc1\x17\x40\xa8\xd7\x63\x11\x6c\x99\xe7\xaf\x1e\x33\x22\xbe\x80\x98\x7a\x18\x81\xd8\x20\x08\x8c\xb6\x5c\x1e\x2a\xff\xf8\xed\xd3\x0d\xfc\x86\x14\x23\x12\xc0\x75\xbc\x0c\x7c\x17\x2e\x7c\x17\x29\x47\x20\x1c\x42\xb9\xc2\x37\xe8\xc1\x32\x27\x25\x91\x3e\x4a\x4e\x66\x19\x27\xf0\x91\xc5\xd4\x23\xc2\x67\xb4\x0b\xe8\x8b\x0d\x46\x70\x8f\x11\xf7\x19\x85\xd7\xf9\x31\x19\xcd\x2e\xb0\x28\xa3\x63\x13\x21\x45\x88\x80\x85\x12\xb5\x03\x84\x3e\x42\x40\x44\x89\xad\x28\x41\x53\x8f\xd4\x46\x29\xb4\x07\x3e\x4d\x0e\xd9\xb0\x10\x41\x6c\x88\x90\xf2\xee\xfc\x20\x80\x25\x42\xcc\x71\x15\x07\xdd\x8c\xd0\x32\x16\xf0\xe7\xf9\xfc\xec\xea\x66\x0e\xe3\x4f\x0b\xf8\x73\x3c\x9d\x8e\x3f\xcd\x17\x43\xd8\xf9\x62\xc3\x62\x01\x78\x8f\x29\x35\x7f\x1b\x06\x3e\x7a\xb0\x23\x51\x44\xa8\x78\x04\xb6\xca\x88\x5c\x4e\xa6\xa7\x67\xe3\x4f\xf3\xf1\xfb\xf3\x8b\xf3\xf9\x02\x58\x04\x1f\xcf\xe7\x9f\x26\xb3\x19\x7c\xbc\x9a\xc2\x18\xae\xc7\xd3\xf9\xf9\xe9\xcd\xc5\x78\x0a\xd7\x37\xd3\xeb\xab\xd9\xc4\x01\x98\xa1\x64\x0e\x33\x1a\x2d\x7a\x5f\x25\xd6\x8b\x10\x3c\x14\xc4\x0f\x78\xa9\x87\x05\x8b\x81\x6f\x58\x1c\x78\xb0\x21\xf7\x08\x11\xba\xe8\xdf\xa3\x07\x04\x5c\x16\x3e\xee\xb7\x69\x4a\x86\x04\x8c\xae\x13\x81\x33\xef\x72\x00\xce\x57\x40\x99\xe8\x02\x47\x84\x77\x1b\x21\xc2\xb7\xbd\xde\x6e\xb7\x73\xd6\x34\x76\x58\xb4\xee\x05\x29\x01\xde\x3b\x91\xec\xf4\x0e\x0e\xa0\xd7\x83\xdb\x01\x24\x26\xe9\xc2\x71\xfa\x80\xbc\x0b\xaf\xf3\xc7\xbb\x03\x97\x51\x2e\x60\x7e\x75\x73\x7a\xf6\xe5\xf2\xea\x8f\xc9\x97\xf9\xd9\x74\x32\x3b\xbb\xba\xf8\x00\x23\xb8\x1d\xf4\xbb\x30\x78\x23\xff\xbb\x1b\x56\x40\xe7\xe7\x97\x13\x69\xa0\x11\x1c\xbf\xe9\xe7\x5b\x09\xfe\xe5\xcd\x85\x5c\x1e\xe4\x8b\xb3\xd3\xe9\xd5\xc5\x45\xbe\xdc\x77\xfa\x6f\x86\x07\x92\xaf\xdb\xf0\xa1\xc7\xbb\xb0\x8d\x03\x71\xd7\x05\xc7\x71\x72\x5e\xae\xaf\xce\x3f\xcd\x27\xd3\x2f\xe3\xd3\xd3\xc9\xc5\x64\x3a\x9e\x9f\x5f\x7d\x92\xbc\xdc\xf6\xbb\xd0\xbf\xeb\xc2\xed\xaf\xbf\x74\x61\x20\x1f\x06\xbf\xbc\xce\x9e\xde\xbc\x79\xdd\x85\xe3\xbb\x82\xc9\x9b\xeb\x0f\xe3\xf9\xe4\x4b\x42\xe8\x8f\xf1\x05\x8c\x40\xe1\x72\xfc\xf9\xcb\xf9\x87\x8b\xc9\x97\x14\x68\x26\x99\xed\x0f\x0f\x0e\xee\x49\x04\x3b\x3e\x4c\xfe\x1f\x12\xaf\x78\x08\xc8\x12\x83\x6c\x5f\x48\xb5\x5d\x32\x69\xcf\x11\xac\x48\xc0\x71\x58\xae\xcf\x84\xcc\x14\x23\xe8\x2b\x6b\x17\x84\x8b\x09\xf5\xb4\xd5\x29\x06\x48\x38\x7a\xa7\x2c\xa6\x0a\x06\xa3\x6b\xe6\xd3\x75\x66\x1b\x29\xf3\x5d\xba\xb1\x65\xf7\xf8\x79\x16\x6f\x4b\x50\xb9\xb2\xa8\xac\x70\x37\x62\x41\xf0\xd9\xb0\x56\x85\xf3\x22\xb2\x5e\xfb\x74\x5d\x15\x20\x5f\x9d\xfb\x5b\x94\x21\x36\x02\x1a\x07\x41\xba\x17\x87\x1e\x11\x28\x77\xa2\xca\xba\xef\x05\x78\x93\xec\xf1\x94\xfc\xc1\x2a\xa6\xae\xcc\x14\xb0\x8a\x83\x80\xbb\x11\x22\x9d\x50\xb2\x0c\xd0\xb3\x3b\xf0\xbf\x07\x32\xa8\x22\x14\x71\x44\xc1\xf6\x98\x1b\x6f\x91\x0a\xa7\x06\x0a\xdf\xbf\x27\x90\xf2\x57\x40\xed\x70\xf9\xd5\x17\x1f\x9f\x05\xbb\x65\xdf\x24\xe0\x6c\x3f\x20\x6f\x25\x98\xa8\xa7\x33\x3c\x78\x52\x04\x8b\xf0\xef\x18\xb9\xc2\x88\x8d\xb9\x64\xfe\x0a\x6c\x74\x6a\x00\xf9\xb6\xfc\x19\xb6\xed\xce\x30\xd9\x7e\x02\x0c\x38\x66\x44\x52\x69\xa7\xed\xa4\x1a\x80\x8c\x04\xb7\xec\x9b\x02\x38\x33\x50\x33\x41\x98\x49\xf1\x3d\x7c\x19\x00\x0a\x42\x15\x5d\xe2\x83\x5f\x81\x51\xf4\x58\x98\xa8\x0a\xa3\x1e\xd4\x00\x62\xe0\x59\x73\xa2\xc9\x7e\x92\x26\xc0\x36\xc2\x5b\xf6\xed\x94\x50\x17\x03\xb3\x76\xdb\xe0\x5a\xc9\xf2\x67\xf0\xaa\x03\x99\x75\xad\x44\x59\x80\x12\xef\x59\x01\x99\x82\x3e\x2f\x20\x5b\x60\xab\x01\xd9\x06\xc8\x5b\x09\xca\xd4\xa3\xc5\x23\xf1\xbc\x12\xc5\xdd\x10\xba\xc6\xc9\x3d\x52\x71\xe1\x73\x21\xcb\xab\x1d\x64\x0f\x46\xef\xaa\x8b\xfa\x62\x34\x4a\xda\xb0\x95\x4f\xd1\x33\xea\x9b\x78\x5e\xf5\x04\x6b\xa5\x31\x60\x75\xa1\x38\x75\x9f\x33\xd6\xe5\xfd\x11\x0e\x52\x5a\x3f\xc6\x87\xd1\x38\x3f\xc2\xc4\x96\x7d\xfb\x41\x0e\x0c\x56\xff\x11\x06\x2e\x67\x25\x9d\xd3\xa6\xf3\x2b\xde\x23\x3b\xb2\xa4\xda\xda\x22\xed\x91\x84\xbf\xc5\x99\x20\xdb\x50\x8b\x8e\xf2\x7c\xdf\x43\x2a\xfc\x95\x8f\xd1\xdb\xb4\x96\x3b\xe5\x4a\xb7\x80\x0a\xc9\x1a\x3f\xe7\x00\xc9\x1f\xda\x5e\xd2\x2b\xb4\x00\x2c\xd4\xbd\x85\xb6\x57\x43\x56\x00\x0a\x09\xde\x96\x8f\xa9\xe4\xd5\xc0\x51\x7b\x8d\x73\xea\xe1\xc3\xfb\xc7\x73\xcf\xf6\xbd\x39\xfb\xe8\xd3\x42\xe3\xb2\xcf\xb5\x93\x5a\x9f\x54\x78\xf0\xe1\x9d\xd6\xa5\x38\x01\xd2\xb5\xd8\x0c\xc1\x3f\x3c\x54\xed\x94\x36\x08\x30\xd2\xc0\x6f\xfd\x3b\x45\x61\xc3\x83\x52\xaf\x2b\xb0\x25\xfc\x08\x74\x1e\xf2\x5f\x66\x0a\x7f\x58\xac\x3e\x1d\x94\xff\x66\xbb\x47\x83\xaa\x98\x2e\x09\xdc\x58\x8e\x2c\xd7\xcc\xa7\x02\xa3\xb1\xeb\x62\x80\x51\x32\x0a\x5d\xc6\x81\xb0\x79\x88\xd8\x2a\xae\xa9\x1d\x6d\x12\x9a\x1f\xc3\xc8\x88\x70\xeb\xdf\xdd\xf6\xef\x4a\xce\x49\x1b\xe0\x40\x01\x94\x6a\xe1\xc7\xf0\x6e\x04\x15\x46\xf3\x9f\xcb\xa8\xf0\x69\x8c\xba\x4e\x0a\x8d\x4a\x85\xf6\x1b\x34\x49\x8e\x4d\x68\x7c\xd0\xc8\xda\xd1\x40\x93\xa2\x1d\x54\x95\x23\xaf\x32\xa9\xbe\x8f\xf8\xa0\x03\x3d\x29\x99\x7c\xea\xc0\x2b\xb0\xc9\xf1\x11\x19\x74\xe0\x10\xc8\x60\xa8\x98\x55\x0a\xd1\x62\x01\x38\xa9\x4a\x97\x1d\x63\xe4\xa9\x85\x8c\xca\x6d\xc5\x9d\x06\x7a\xd0\x7c\xa8\xf6\xc9\x45\x15\x6d\xea\x9f\xe5\xde\x8e\x3b\x1c\xa9\x67\x5b\x99\x0f\xbe\x8f\x85\x60\x14\x06\xd0\xb7\xb4\x6a\x96\x76\xda\x72\xbe\x18\x53\x6f\x96\x34\xef\x95\xb6\xa8\xd2\x89\xa7\x47\xa8\xd2\x33\x7a\x53\x00\x24\xcc\x55\xfd\x48\x1f\x8a\x4e\xa0\x0f\x2f\x5f\x56\xdb\x78\x83\xb7\x54\xdb\x7f\x8e\xe2\x5c\x0a\x71\x4f\x02\x5b\x3b\xaf\xab\x8f\x5d\x9d\x7a\xa8\x56\xb5\xa9\xb1\x9b\x4b\xaa\x30\x74\x98\x4c\x92\x79\x42\x49\xe6\x20\x18\xc1\x25\x11\x1b\x47\x44\x31\x75\xed\x7c\x34\xea\x54\xa1\x16\x75\xa8\x45\x09\x25\xb5\x91\xec\x92\x25\x4f\x29\x74\xe0\x64\x04\x03\xf8\xfe\x1d\x2a\xeb\x8b\x74\x5d\x55\x49\x31\x8b\x1d\x8d\xd2\xe7\x61\x65\x6b\xa1\x6c\x2d\x14\xfd\xeb\xb3\x52\xbe\xa1\x3b\x87\x34\x3e\x58\x70\x98\xc9\x7a\x08\x56\xf1\xd7\xa2\xa3\x7a\xa8\x32\xf3\x55\x65\x2d\x07\x41\x45\x27\xd9\x24\x68\x82\x6c\xd2\x4b\x46\xc7\xa0\x99\x0c\xaf\xae\x1b\x65\x06\x3d\x1a\xe5\x7f\x0d\xb5\xed\x45\x65\xfb\x47\x74\x94\x46\x46\xa2\x97\x5c\x03\xb9\x9e\x72\xd6\xf4\x1c\xa2\xd2\x3e\x19\xd5\xee\x00\x54\x21\xdc\x00\x49\x54\xf8\xb8\xe2\xfd\x8a\x3b\x9b\x46\xe2\xba\x83\x6f\x08\xf5\x02\x4c\xaa\xb5\x8d\xf7\x42\x8d\x64\x63\x11\xad\x85\x5f\xe5\x5a\x01\xef\x85\x53\x94\xf4\x61\x15\x46\xbb\x92\xa8\xec\x19\x2e\x1b\xf2\xfd\xfa\x5d\x40\xd5\xbf\x44\x71\x13\x21\x0f\x4f\x7b\x3a\x2f\xe3\x79\xd8\x58\x31\x45\x7b\x67\x20\xc5\x17\x65\x37\x20\x48\xb4\xc6\xb4\xe1\x0b\x89\x27\x13\x52\xe3\x66\x72\x13\xf3\x4f\x4a\xa0\xe4\x3a\x8c\x50\xb6\x89\x1f\x70\x45\x64\xbd\x57\x8c\xa8\xd9\x20\x8c\xf9\xc6\xd6\x3a\xc2\x84\x8b\x6e\x55\xf5\x9d\x8e\xa6\xe0\xca\x1d\x8f\x2a\xe5\x8b\x5c\xbf\x3a\xcf\xca\x7d\x4e\x73\x2a\xab\x65\x95\xb6\x8c\x56\x95\xbb\x72\x17\xd4\x96\x1a\xb4\xa8\x6c\xcf\x0e\xb9\x58\x7a\xad\x7b\x61\x28\x45\x45\x20\xe5\xc9\x5d\x43\xd2\x64\x6c\x2b\x9f\x06\x67\x15\x51\xdd\xde\xa6\xd0\x9b\x50\x4f\x0d\xbc\x9f\xe6\xd2\x69\xb3\xfb\xa0\x75\xbb\x65\x5b\x2d\x4c\xcd\xaf\xa6\x55\x89\xff\xae\x5e\x7d\xdb\xdc\x5b\x73\x60\x1e\x06\xbe\x8b\x92\x50\x17\x06\xba\x93\x56\xb2\xc0\xe1\x61\xa3\x0b\x1b\xb2\x4c\x99\x45\x0d\xf9\xe4\xc4\x78\x77\x9c\x29\xaa\x96\xcb\xf2\x3c\x55\x1a\xf0\xe9\x19\x29\xb1\x48\x0a\xda\xd1\xb2\x2e\xbd\x7c\x69\x74\x12\xf5\xe4\xf6\xfe\xeb\x27\x30\xf1\x42\x91\xf5\xe5\xcb\xaa\x4a\xe1\x48\xcd\xea\xef\xaa\xd7\xe9\xba\x4f\x2d\x53\x4e\x6b\x89\xc5\x94\xd7\xb5\x52\x0c\xe9\x9b\x94\x14\x7d\xa0\x78\x4f\x39\x80\x9b\xa9\x1c\x37\x52\x79\xad\x50\xd9\x43\xe4\x75\x23\x11\xe3\xcc\xd1\x60\x21\x59\xd0\x33\x44\x59\xdf\x07\x96\x16\x32\x39\x51\x83\xe8\xf5\x84\xc2\x51\xe4\xb9\xa8\xd6\xc6\x77\x35\x33\xd4\xd4\x55\x25\xfe\x3c\x76\xfb\xd6\x9e\xfe\x37\xcd\x51\xe9\x85\xe0\x7f\xd2\xd4\xbf\x4e\x53\xd0\x96\x64\xea\x7a\x97\x50\xba\xd6\x79\xbc\xfd\x5c\x46\x5b\xb6\xb2\xa8\xae\xfc\x7f\xb2\x4c\xf2\xe6\xc7\xe7\x22\x2f\xfc\xfc\xef\x48\xa4\x03\x40\xc8\x76\xea\xa1\xc9\x0d\x15\x1c\xd5\x2e\x73\xbc\x87\x6c\x2f\x49\x67\x5d\x99\x3c\x0e\xa1\x89\xc0\xa2\x85\xc0\xa2\x20\xa0\x49\x65\x4e\xc8\xad\x55\x47\xce\x2a\x89\x54\x66\xa8\x5b\x33\xc9\x23\x18\xdc\xe9\xba\x6b\x70\x27\x83\x12\xa5\xe9\xfe\x89\xbe\x86\x55\xf4\xc7\x3a\x7a\xab\xb6\xaa\xe8\x32\x10\x3e\x60\x20\x88\x1e\x18\x0d\x24\x0c\x81\x93\x78\xfe\xe1\x48\x0a\xf2\x6a\xff\xa5\x59\x31\x09\x7a\x0f\x1d\xe8\x29\xe7\xbf\x82\x41\xbf\xdf\xef\x54\xe8\x2e\x12\xba\x8f\xff\x8c\xee\xe3\x1e\xba\x8d\x8a\x35\xd8\x61\x3f\xd6\xc2\xa0\xfe\x76\xac\x52\xc5\xcf\x69\x99\xda\x5b\x81\x3c\xab\x9d\x8c\x9a\xbb\x81\xd6\xde\x24\x99\xce\xf7\xce\x1a\x87\xa3\xd4\xca\xaf\xca\xf7\xf4\x0d\x83\x46\x0a\xb9\x30\x43\x2a\x0d\x44\x23\x43\xb5\x1e\x42\xbb\x18\x48\xd9\x50\xbe\x0c\x18\x1a\xa0\x17\x25\xf4\xa2\x09\xfa\x49\x9b\xc8\xb5\xab\x33\xe3\x9d\xff\x86\x04\x92\x53\x9c\x22\x0f\x19\xe5\x68\x6f\x91\x73\xb2\xc6\x4a\x21\xd8\x90\xab\xe5\x5f\x72\x0c\xc1\x1d\xfc\xc5\x67\x67\x63\xdb\x9a\x9d\x8d\x8f\x8e\xdf\xfc\x97\xd5\x05\x6b\x3e\xf9\x3c\xcf\xab\x7b\x0a\xea\x70\x14\x67\x97\xe3\xd3\xdf\xf1\x31\xa7\x67\x86\x4b\xf9\xb4\x77\x3e\xf5\xd8\xce\x09\x98\x9b\x78\xbf\xb3\x21\x7c\xe3\xf0\x78\xc9\x45\x64\x0f\xf2\x1c\x98\x5d\x42\x2e\x05\x23\x76\x86\xbe\x4e\x8f\xb1\xad\xf7\x8b\xf9\x64\x66\x75\xd2\x0b\xc4\x8c\x5a\xfd\x95\x48\xc0\x88\x67\x75\x21\x17\xde\x56\x65\x24\xb1\xd8\xc8\x52\xe2\x12\xa1\xdf\x1d\x24\x1f\x23\x84\x48\xd3\x69\xab\x78\xe5\xb2\x46\x91\xbd\x9f\x49\x8a\x92\x95\x81\x58\xca\x3d\x93\x1b\x30\x9e\x50\x6b\x44\x4a\x21\x72\x1c\x39\xf2\xb7\x00\x87\x44\x85\x4c\xe6\xff\x3d\xe0\x09\x8c\xca\xd1\x57\x7c\x5c\x32\x12\xb5\x1e\x93\xc3\xa8\x78\xe5\xbb\xac\xa2\x77\x6d\xc4\xd7\x61\x55\x3a\x02\x1f\x44\x1b\xae\xdc\xcf\xe1\x53\xdd\x38\x5c\x3c\x06\xe8\x78\x3e\x0f\x03\x22\x2b\x83\x45\x19\x45\xab\x50\x43\xeb\x7e\x2e\x4a\x2b\x90\x3c\xd3\xb9\x27\x41\x8c\x72\xc3\xca\x5e\xc3\xec\x78\xe6\xf0\x7f\xe2\x72\xc6\xdc\xaf\x28\x6c\x6b\xc7\xdf\xf6\x7a\xb2\xb1\x2d\x3d\x95\x71\x41\xc9\x16\xe1\xb0\x12\xb3\xca\xcf\x2e\x60\x43\x16\x09\xf8\x6f\xb0\xde\x56\x28\x24\xab\x6f\xc1\xb2\x3a\xcd\x34\xac\xde\x8e\x4b\xad\x64\x8c\x39\x8c\x66\x51\x25\x1d\x35\xf7\xe6\xe4\x62\x47\xcf\x92\x15\xb7\xd6\xf3\xd0\x8e\x3b\x89\x8e\x6d\xed\xfe\x21\x8d\x34\x53\x5e\xd1\xa3\xa4\xda\x05\xe4\x93\x40\x3d\xa9\x24\xbc\x39\x1e\x11\x44\xed\x68\xb2\x88\x69\x35\x4e\x2e\xc8\xc6\xe7\x82\x45\x8f\x0e\x17\x44\xa0\xcc\xaa\x8a\x9b\x6a\x62\x35\x1b\x7d\x15\xe0\x83\x55\x95\x35\x31\xfe\x8a\xb9\x31\xb7\xf7\x0d\x3a\x46\x67\xd3\x48\x66\xaa\x7a\xca\xdf\xe5\x25\xc6\x4a\x94\xac\x9a\x4a\xb7\x92\xe1\x7b\x04\x5d\x28\xf3\x77\x1d\x55\xeb\x3c\x57\x9f\xfb\xa2\xa6\x5d\x89\x09\x60\x01\xd7\x14\xa4\xaa\x5e\x72\x6d\xec\xcd\x38\x79\xbe\x30\xe4\x6e\x37\xf0\xdd\xaf\x56\xb7\x29\x42\x9e\xfb\x2b\xa3\xe5\x27\xd9\xe0\xdf\xe9\x56\xf3\x26\xb3\x73\xe6\xa1\x10\xc6\x7c\x33\x93\xe1\xa0\xa4\xec\x2e\x58\xe9\xa7\xa7\xf0\xbb\x96\xc5\x9f\x94\xb7\x1a\x2f\x0c\x5f\xa4\xa9\xc2\xea\x19\xbc\x55\xa2\x54\xf6\x1a\x4a\xa3\x09\x7f\x9a\x0d\x4c\x31\x5b\xff\xc2\x2c\x24\x5e\xfd\x26\x22\x5f\x69\xf4\x50\x99\xd7\x7e\xb2\x77\x36\xab\x45\x29\x50\x2f\x46\x49\xa5\x68\xb8\x81\xc9\x6d\x3e\x97\x55\x56\x56\x99\x12\xb3\x63\x48\x7b\x6a\xcd\xab\x2a\x24\xa1\x9a\xb6\x51\xb9\xb7\x2d\x89\xfb\xd5\xd6\x7c\x29\x03\x61\x34\x64\x61\x96\x98\xf7\xd4\xa3\x26\xd7\xcf\x7d\x5f\x17\xed\x39\x39\x17\x9e\x5b\xe8\xa1\xf1\x0a\xab\x59\xd4\x52\x27\x4f\xc3\xf6\x24\x16\xa1\xec\x2f\x7f\x76\x0a\x33\x7b\x49\xd1\x4d\xa4\x4c\xe8\x76\x92\x5a\xac\xf3\x93\x8c\x5b\x5c\x90\x48\x58\x5d\xf5\xed\x5c\xb7\xf8\xd6\x73\x0f\x2e\x52\xaf\xc0\x9c\x50\xef\xd9\x78\x6e\x72\xc9\x57\xa0\xa6\x77\x7e\xcf\xc6\x96\x83\x59\x81\x2b\x47\x9c\x12\xf3\xa9\x7c\xfc\xbf\x00\x00\x00\xff\xff\xb1\x51\x14\x18\xf3\x30\x00\x00") +var _webdataFnJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3a\xdd\x6f\xdb\xb8\x93\xef\xf9\x2b\xa6\x7a\x28\xe4\xc6\x91\xed\x14\xbd\x5d\xd4\x75\xee\xbc\xa9\xbb\x09\x36\x69\x02\xdb\xd9\xad\x11\x04\x05\x2d\x8d\x6d\x6d\x65\x52\x2b\x52\x71\xd2\x6b\xfe\xf7\x03\xf5\x49\x51\x94\x9c\x76\xd1\x97\xc3\xcf\x40\x53\x99\x9c\x19\xce\xf7\x07\xe5\xde\xab\x03\x78\x05\x00\x70\xca\xc2\xc7\xc8\x5f\x6f\x04\xd8\x6e\x07\x8e\xfb\x83\x5f\xe1\x86\x46\xb1\xf7\x2e\x96\x7f\xff\x87\xc5\x22\x60\xec\x8b\xe3\xb2\xed\xc9\x01\xe4\x48\xf3\x8d\xcf\x61\xe5\x07\x08\x3e\x87\x90\x44\x02\xd8\x0a\xa6\xb8\x65\x02\x8f\xe6\x2c\x76\x37\x21\xf1\x9c\x12\xfc\x03\x63\x4b\x12\x49\xd8\x55\x84\x08\x9c\xad\xc4\x8e\x44\xf8\x16\x1e\x59\x0c\x2e\xa1\x10\xa1\xe7\x73\x11\xf9\xcb\x58\x20\xf8\x02\x08\xf5\x7a\x2c\x82\x2d\xf3\xfc\xd5\x63\x46\xc4\x17\x10\x53\x0f\x23\x10\x1b\x04\x81\xd1\x96\xcb\x43\xe5\x97\xdf\x3f\xde\xc0\xef\x48\x31\x22\x01\x5c\xc7\xcb\xc0\x77\xe1\xc2\x77\x91\x72\x04\xc2\x21\x94\x2b\x7c\x83\x1e\x2c\x73\x52\x12\xe9\x83\xe4\x64\x96\x71\x02\x1f\x58\x4c\x3d\x22\x7c\x46\xbb\x80\xbe\xd8\x60\x04\xf7\x18\x71\x9f\x51\x78\x9d\x1f\x93\xd1\xec\x02\x8b\x32\x3a\x36\x11\x52\x84\x08\x58\x28\x51\x3b\x40\xe8\x23\x04\x44\x94\xd8\x8a\x12\x34\xf5\x48\x6d\x94\x42\x7b\xe0\xd3\xe4\x90\x0d\x0b\x11\xc4\x86\x08\x29\xef\xce\x0f\x02\x58\x22\xc4\x1c\x57\x71\xd0\xcd\x08\x2d\x63\x01\x7f\x9d\xcf\xcf\xae\x6e\xe6\x30\xfe\xb8\x80\xbf\xc6\xd3\xe9\xf8\xe3\x7c\x31\x84\x9d\x2f\x36\x2c\x16\x80\xf7\x98\x52\xf3\xb7\x61\xe0\xa3\x07\x3b\x12\x45\x84\x8a\x47\x60\xab\x8c\xc8\xe5\x64\x7a\x7a\x36\xfe\x38\x1f\xff\x76\x7e\x71\x3e\x5f\x00\x8b\xe0\xc3\xf9\xfc\xe3\x64\x36\x83\x0f\x57\x53\x18\xc3\xf5\x78\x3a\x3f\x3f\xbd\xb9\x18\x4f\xe1\xfa\x66\x7a\x7d\x35\x9b\x38\x00\x33\x94\xcc\x61\x46\xa3\x45\xef\xab\xc4\x7a\x11\x82\x87\x82\xf8\x01\x2f\xf5\xb0\x60\x31\xf0\x0d\x8b\x03\x0f\x36\xe4\x1e\x21\x42\x17\xfd\x7b\xf4\x80\x80\xcb\xc2\xc7\xfd\x36\x4d\xc9\x90\x80\xd1\x75\x22\x70\xe6\x5d\x0e\xc0\xf9\x0a\x28\x13\x5d\xe0\x88\xf0\x6e\x23\x44\xf8\xb6\xd7\xdb\xed\x76\xce\x9a\xc6\x0e\x8b\xd6\xbd\x20\x25\xc0\x7b\x27\x92\x9d\xde\xc1\x01\xf4\x7a\x70\x3b\x80\xc4\x24\x5d\x38\x4e\x1f\x90\x77\xe1\x75\xfe\x78\x77\xe0\x32\xca\x05\xcc\xaf\x6e\x4e\xcf\x3e\x5f\x5e\xfd\x39\xf9\x3c\x3f\x9b\x4e\x66\x67\x57\x17\xef\x61\x04\xb7\x83\x7e\x17\x06\x6f\xe4\xbf\xbb\x61\x05\x74\x7e\x7e\x39\x91\x06\x1a\xc1\xf1\x9b\x7e\xbe\x95\xe0\x5f\xde\x5c\xc8\xe5\x41\xbe\x38\x3b\x9d\x5e\x5d\x5c\xe4\xcb\x7d\xa7\xff\x66\x78\x20\xf9\xba\x0d\x1f\x7a\xbc\x0b\xdb\x38\x10\x77\x5d\x70\x1c\x27\xe7\xe5\xfa\xea\xfc\xe3\x7c\x32\xfd\x3c\x3e\x3d\x9d\x5c\x4c\xa6\xe3\xf9\xf9\xd5\x47\xc9\xcb\x6d\xbf\x0b\xfd\xbb\x2e\xdc\xfe\xfa\x4b\x17\x06\xf2\x61\xf0\xcb\xeb\xec\xe9\xcd\x9b\xd7\x5d\x38\xbe\x2b\x98\xbc\xb9\x7e\x3f\x9e\x4f\x3e\x27\x84\xfe\x1c\x5f\xc0\x08\x14\x2e\xc7\x9f\x3e\x9f\xbf\xbf\x98\x7c\x4e\x81\x66\x92\xd9\xfe\xf0\xe0\xe0\x9e\x44\xb0\xe3\xc3\xe4\xff\x90\x78\xc5\x43\x40\x96\x18\x64\xfb\x42\xaa\xed\x92\x49\x7b\x8e\x60\x45\x02\x8e\xc3\x72\x7d\x26\x64\xa6\x18\x41\x5f\x59\xbb\x20\x5c\x4c\xa8\xa7\xad\x4e\x31\x40\xc2\xd1\x3b\x65\x31\x55\x30\x18\x5d\x33\x9f\xae\x33\xdb\x48\x99\xef\xd2\x8d\x2d\xbb\xc7\x4f\xb3\x78\x5b\x82\xca\x95\x45\x65\x85\xbb\x11\x0b\x82\x4f\x86\xb5\x2a\x9c\x17\x91\xf5\xda\xa7\xeb\xaa\x00\xf9\xea\xdc\xdf\xa2\x0c\xb1\x11\xd0\x38\x08\xd2\xbd\x38\xf4\x88\x40\xb9\x13\x55\xd6\x7d\x2f\xc0\x9b\x64\x8f\xa7\xe4\x0f\x56\x31\x75\x65\xa6\x80\x55\x1c\x04\xdc\x8d\x10\xe9\x84\x92\x65\x80\x9e\xdd\x81\xff\x3d\x90\x41\x15\xa1\x88\x23\x0a\xb6\xc7\xdc\x78\x8b\x54\x38\x35\x50\xf8\xf6\x2d\x81\x94\x9f\x02\x6a\x87\xcb\x2f\xbe\xf8\xf0\x2c\xd8\x2d\xfb\x2a\x01\x67\xfb\x01\x79\x2b\xc1\x44\x3d\x9d\xe1\xc1\x93\x22\x58\x84\xff\xc4\xc8\x15\x46\x6c\xcc\x25\xf3\x57\x60\xa3\x53\x03\xc8\xb7\xe5\xc7\xb0\x6d\x77\x86\xc9\xf6\x13\x60\xc0\x31\x23\x92\x4a\x3b\x6d\x27\xd5\x00\x64\x24\xb8\x65\x5f\x15\xc0\x99\x81\x9a\x09\xc2\x4c\x8a\xef\xe1\xcb\x00\x50\x10\xaa\xe8\x12\x1f\xfc\x0a\x8c\xa2\xc7\xc2\x44\x55\x18\xf5\xa0\x06\x10\x03\xcf\x9a\x13\x4d\xf6\x93\x34\x01\xb6\x11\xde\xb2\xaf\xa7\x84\xba\x18\x98\xb5\xdb\x06\xd7\x4a\x96\x3f\x83\x57\x1d\xc8\xac\x6b\x25\xca\x02\x94\x78\xcf\x0a\xc8\x14\xf4\x79\x01\xd9\x02\x5b\x0d\xc8\x36\x40\xde\x4a\x50\xa6\x1e\x2d\x1e\x89\xe7\x95\x28\xee\x86\xd0\x35\x4e\xee\x91\x8a\x0b\x9f\x0b\x59\x5e\xed\x20\x7b\x30\x7a\x57\x5d\xd4\x17\xa3\x51\xd2\x86\xad\x7c\x8a\x9e\x51\xdf\xc4\xf3\xaa\x27\x58\x2b\x8d\x01\xab\x0b\xc5\xa9\xfb\x9c\xb1\x2e\xef\x8f\x70\x90\xd2\xfa\x31\x3e\x8c\xc6\xf9\x11\x26\xb6\xec\xeb\x0f\x72\x60\xb0\xfa\x8f\x30\x70\x39\x2b\xe9\x9c\x36\x9d\x5f\xf1\x1e\xd9\x91\x25\xd5\xd6\x16\x69\x8f\x24\xfc\x2d\xce\x04\xd9\x86\x5a\x74\x94\xe7\xfb\x1e\x52\xe1\xaf\x7c\x8c\xde\xa6\xb5\xdc\x29\x57\xba\x05\x54\x48\xd6\xf8\x29\x07\x48\xbe\x68\x7b\x49\xaf\xd0\x02\xb0\x50\xf7\x16\xda\x5e\x0d\x59\x01\x28\x24\x78\x5b\x3e\xa6\x92\x57\x03\x47\xed\x35\xce\xa9\x87\x0f\xbf\x3d\x9e\x7b\xb6\xef\xcd\xd9\x07\x9f\x16\x1a\x97\x7d\xae\x9d\xd4\xfa\xa4\xc2\x83\x0f\xef\xb4\x2e\xc5\x09\x90\xae\xc5\x66\x08\xfe\xe1\xa1\x6a\xa7\xb4\x41\x80\x91\x06\x7e\xeb\xdf\x29\x0a\x1b\x1e\x94\x7a\x5d\x81\x2d\xe1\x47\xa0\xf3\x90\x7f\x32\x53\xf8\xc3\x62\xf5\xe9\xa0\xfc\x9b\xed\x1e\x0d\xaa\x62\xba\x24\x70\x63\x39\xb2\x5c\x33\x9f\x0a\x8c\xc6\xae\x8b\x01\x46\xc9\x28\x74\x19\x07\xc2\xe6\x21\x62\xab\xb8\xa6\x76\xb4\x49\x68\x7e\x0c\x23\x23\xc2\xad\x7f\x77\xdb\xbf\x2b\x39\x27\x6d\x80\x03\x05\x50\xaa\x85\x1f\xc3\xbb\x11\x54\x18\xcd\x3f\x2e\xa3\xc2\xa7\x31\xea\x3a\x29\x34\x2a\x15\xda\x6f\xd0\x24\x39\x36\xa1\xf1\x41\x23\x6b\x47\x03\x4d\x8a\x76\x50\x55\x8e\xbc\xca\xa4\xfa\x3e\xe2\x83\x0e\xf4\xa4\x64\xf2\xa9\x03\xaf\xc0\x26\xc7\x47\x64\xd0\x81\x43\x20\x83\xa1\x62\x56\x29\x44\x8b\x05\xe0\xa4\x2a\x5d\x76\x8c\x91\xa7\x16\x32\x2a\xb7\x15\x77\x1a\xe8\x41\xf3\xbe\xda\x27\x17\x55\xb4\xa9\x7f\x96\x7b\x3b\xee\x70\xa4\x9e\x6d\x2d\x07\xc3\xbe\xa5\x15\xb0\xb4\xb9\x96\x23\xc5\x98\x7a\xb3\xa4\x5f\xaf\x74\x42\x95\xe6\x3b\xa5\xaa\x0a\xcc\xe8\x4d\x01\x90\xf0\x53\x75\x1d\x7d\x0e\x3a\x81\x3e\xbc\x7c\x59\xed\xdc\x0d\x0e\x52\xed\xf8\x39\x8a\x73\x19\x3b\xf7\x24\xb0\xb5\xf3\xba\xfa\xa4\xd5\xa9\x47\x67\x55\x81\x1a\xbb\xb9\xa4\x0a\x43\x87\xc9\xf0\x98\xe7\x90\x64\xf4\x81\x11\x5c\x12\xb1\x71\x44\x14\x53\xd7\xce\xa7\xa1\x4e\x15\x6a\x51\x87\x5a\x94\x50\x52\x1b\xc9\x2e\x59\xf2\x94\x42\x07\x4e\x46\x30\x80\x6f\xdf\xa0\xb2\xbe\x48\xd7\x55\x95\x14\xe3\xd7\xd1\x28\x7d\x1e\x56\xb6\x16\xca\xd6\x42\xd1\xbf\x3e\x1e\xe5\x1b\x85\x3f\x6c\x2d\x38\xcc\x04\x3c\x04\x6b\x98\x7f\x5b\x74\x54\x4f\x54\x66\xbb\xaa\x80\xe5\xc0\xa7\x28\x22\x9b\xf8\x4c\x90\x4d\xca\xc8\xe8\x18\xd4\x91\xe1\xd5\x15\xa2\xcc\x9a\x47\xa3\xfc\xdb\x50\xdb\x5e\x54\xb6\xbf\x4b\x31\x5c\xaa\x22\x17\x3a\x57\x4d\xce\x8d\x9e\x1e\x54\x72\x27\xa3\xda\x78\xaf\xf2\xed\x06\x48\xa2\xc2\x97\x15\x2f\x57\xdc\xd6\x34\xed\xd6\x1d\x79\x43\xa8\x17\x60\x52\x88\x6d\xbc\x17\x6a\xc4\x1a\xeb\x63\x2d\xcc\x2a\x37\x06\x78\x2f\x9c\xa2\x5a\x0f\xab\x30\xda\x6d\x43\x65\xcf\x70\x8f\x90\xef\xd7\xc7\xfc\xaa\x4b\x89\xe2\x92\x41\x1e\x9e\xb6\x6b\x5e\xc6\xf3\xb0\xb1\x18\x8a\xf6\xa2\x2f\xc5\x17\x65\xa1\x17\x24\x5a\x63\xda\xcb\x85\xc4\x93\x89\xa7\x71\x33\xb9\x64\xf9\x9e\xea\x26\xb9\x0e\x23\x94\x1d\xe0\x7b\x5c\x11\x59\xca\x15\x23\x6a\x36\x08\x63\xbe\xb1\xb5\x66\x2f\xe1\xa2\x5b\x55\x7d\xa7\xa3\x29\xb8\x72\x7d\xa3\x4a\xf9\x22\xd7\xaf\xce\xb3\x72\x55\xd3\x9c\xb2\x6a\xd9\xa3\x2d\x73\x55\xe5\xae\x5c\xf3\xb4\x65\x03\x2d\x10\xdb\x13\x42\x2e\x96\x5e\xc6\x5e\x18\x4a\x4e\x11\x48\x79\x12\xd7\x90\x34\x19\xdb\x2a\xa3\xc1\x59\x45\x54\xb7\xb7\x29\xf4\x26\xd4\x53\x03\xef\xa7\xb9\x74\xda\xc7\x3e\x68\x8d\x6c\xd9\x31\x0b\x53\x5f\xab\x69\x55\xe2\xbf\xab\x57\xd9\x36\xf7\xd6\x1c\x98\x87\x81\xef\xa2\x24\xd4\x85\x81\xee\xa4\x95\x2c\x70\x78\xd8\xe8\xc2\x86\x2c\x53\x66\x51\x43\x3e\x39\x31\x5e\x0b\x67\x8a\xaa\xe5\xb2\x3c\x4f\x95\x06\x7c\x7a\x46\x4a\x2c\x92\x82\x76\xb4\x2c\x45\x2f\x5f\x1a\x9d\x44\x3d\xb9\xd6\x5a\xfd\x84\x73\x5f\x28\xe2\xbd\x7c\x59\xd5\x22\x1c\xa9\x89\xfc\x5d\xf5\x72\x5c\x77\xa3\x65\x2c\x04\xa3\xf5\x5c\x62\x4a\xe5\x5a\xc1\x85\xf4\xbd\x48\x8a\x3e\x50\x1c\xa6\x1c\xa7\xcd\x54\x8e\x1b\xa9\xbc\x56\xa8\xec\x21\xf2\xba\x91\x88\x71\x82\x28\x8d\x22\xcb\x76\x06\x2b\xab\xf8\xc0\xd2\x02\x23\xa7\x63\x90\xb6\x9e\x36\x38\x8a\x3c\xe3\xd4\xfa\xf0\xae\xa6\xf9\x9a\x86\xaa\xc4\x1b\x39\xec\x5b\x7b\x1a\xd8\x34\xf9\xa4\x97\x78\xff\xc9\x3f\xff\x3a\xff\x40\x5b\xf6\xa8\xeb\x5d\x42\xe9\x5a\xe7\xf1\xf6\x53\x19\x53\xd9\xca\xa2\xba\xf2\xff\xc9\x32\xc9\xdb\x1a\x9f\x8b\xbc\xa2\xf3\x7f\x22\x91\x36\xf3\x21\xdb\xa9\x87\x26\xb7\x4a\x70\x54\xbb\x80\xf1\x1e\xb2\xbd\x24\x69\x75\x65\x8a\x38\x84\x26\x02\x8b\x16\x02\x8b\x82\x80\x26\x95\x39\xed\xb6\x96\x13\x39\x77\x24\x52\x99\xa1\x6e\xcd\x24\x8f\x60\x70\xa7\xeb\xae\xc1\x9d\x0c\x4a\x94\xa6\xfb\x1e\x7d\x0d\xab\xe8\x8f\x75\xf4\x56\x6d\x55\xd1\x65\x20\xbc\xc7\x40\x10\x3d\x30\x1a\x48\x18\x02\x27\xf1\xfc\xc3\x91\x14\xe4\xd5\xfe\x8b\xae\x62\xaa\xf3\x1e\x3a\xd0\x53\xce\x7f\x05\x83\x7e\xbf\xdf\xa9\xd0\x5d\x24\x74\x1f\xbf\x8f\xee\xe3\x1e\xba\x8d\x8a\x35\xd8\x61\x3f\xd6\xc2\xa0\xfe\x76\xac\x52\xc5\xcf\xe9\x85\xda\x0b\x7e\x9e\xd5\x4e\x46\xcd\x35\xbf\xb5\x03\x49\x26\xed\xbd\x43\xc4\xe1\x28\xb5\xf2\xab\xf2\xdd\x7a\xc3\x04\x91\x42\x2e\xcc\x90\x4a\x9b\xd0\xc8\x50\xad\x53\xd0\x86\xfc\x94\x0d\xe5\x6d\xfe\xd0\x00\xbd\x28\xa1\x17\x4d\xd0\x4f\xda\xa8\xad\xdd\x7d\x19\xef\xe9\x37\x24\x90\x9c\xe2\x14\x79\xc8\x28\x47\x7b\x8b\x9c\x93\x35\x56\x0a\xc1\x86\x5c\x2d\xff\x96\xf3\x05\xee\xe0\x6f\x3e\x3b\x1b\xdb\xd6\xec\x6c\x7c\x74\xfc\xe6\xbf\xac\x2e\x58\xf3\xc9\xa7\x79\x5e\xdd\x53\x50\x87\xa3\x38\xbb\x1c\x9f\xfe\x81\x8f\x39\x3d\x33\x5c\xca\xa7\xbd\xf3\xa9\xc7\x76\x4e\xc0\xdc\xc4\xfb\x9d\x0d\xe1\x1b\x87\xc7\x4b\x2e\x22\x7b\x90\xe7\xc0\xec\xe2\x70\x29\x18\xb1\x33\xf4\x75\x7a\x8c\x6d\xfd\xb6\x98\x4f\x66\x56\x27\xbd\x01\xcc\xa8\xd5\x5f\x63\x04\x8c\x78\x56\x17\x72\xe1\x6d\x55\x46\x12\x8b\x8d\x2c\x25\x2e\x11\xfa\xa5\x40\xf2\x03\x82\x10\x69\x3a\x46\x15\xaf\x49\xd6\x28\xb2\x77\x2a\x49\x51\xb2\x32\x10\x4b\xb9\x33\x72\x03\xc6\x13\x6a\x8d\x48\x29\x44\x8e\x23\x67\xf9\x16\xe0\x90\xa8\x90\xc9\x60\xbf\x07\x3c\x81\x51\x39\xfa\x82\x8f\x4b\x46\xa2\xd6\x63\x72\x18\x15\xaf\x7c\xff\x54\x74\xa8\x8d\xf8\x3a\xac\x4a\x47\xe0\x83\x68\xc3\x95\xfb\x39\x7c\xaa\x1b\x87\x8b\xc7\x00\x1d\xcf\xe7\x61\x40\x64\x65\xb0\x28\xa3\x68\x15\x6a\x68\xdd\xcf\x45\x69\x05\x92\x67\x3a\xf7\x24\x88\x51\x6e\x58\xd9\xab\x93\x1d\xcf\x1c\xfe\x2f\x5c\xce\x98\xfb\x05\x85\x6d\xed\xf8\xdb\x5e\x4f\x36\xb6\xa5\xa7\x32\x2e\x28\xd9\x22\x1c\x56\x62\x56\xf9\xd8\x05\x6c\xc8\x22\x01\xff\x0d\xd6\xdb\x0a\x85\x64\xf5\x2d\x58\x56\xa7\x99\x86\xd5\xdb\x71\xa9\x95\x8c\x31\x87\xd1\x2c\xaa\xa4\xa3\xe6\xde\x9c\xdc\xd8\xe8\x59\xb2\xe2\xd6\x7a\x1e\xda\x71\x27\xd1\xb1\xad\x5d\x2c\xa4\x91\x66\xca\x2b\x7a\x94\x54\xbb\x80\xbc\xf9\xaf\x27\x95\x84\x37\xc7\x23\x82\xa8\x1d\x4d\x16\x31\xad\xc6\xc9\x05\xd9\xf8\x5c\xb0\xe8\xd1\xe1\x82\x08\x94\x59\x55\x71\x53\x4d\xac\x66\xa3\xaf\x02\x7c\xb0\xaa\xb2\x26\xc6\x5f\x31\x37\xe6\xf6\xbe\xd9\xc6\xe8\x6c\x1a\xc9\x4c\x55\x4f\xf9\xfb\xb7\xc4\x58\x89\x92\x55\x53\xe9\x56\x32\xfc\x86\x40\x17\xca\xfc\x5b\x8c\xaa\x75\x9e\xab\xcf\x7d\x51\xd3\xae\xc4\x04\xb0\x80\x6b\x0a\x52\x55\x2f\xb9\x36\xf6\x66\x9c\x3c\x5f\x18\x72\xb7\x1b\xf8\xee\x17\xab\xdb\x14\x21\xcf\xfd\x94\xd1\xf2\x93\x6c\xf0\xef\x74\xab\x79\x93\xd9\x39\xf3\x50\x08\x63\xbe\x99\xc9\x70\x50\x52\x76\x17\xac\xf4\xe7\xa2\xf0\x87\x96\xc5\x9f\x94\x37\x14\x2f\x0c\xbf\x22\x53\x85\xd5\x33\x78\xab\x44\xa9\xec\x35\x94\x46\x13\xfe\x34\x1b\x98\x62\xb6\xfe\xab\xb0\x90\x78\xf5\x9b\x88\x7c\xa5\xd1\x43\x65\x5e\xfb\xc9\xde\xd9\xac\x16\xa5\x40\xbd\x18\x25\x95\xa2\xe1\xd2\x45\xc8\xca\x52\x42\x77\x0c\xa9\x4e\xad\x73\x55\x25\x24\x94\xd2\xd6\x29\xf7\xb0\x25\x71\xbf\xd8\x9a\xff\x64\x20\x8c\x86\x2c\xcc\x92\xf1\x9e\x1a\xd4\xe4\xee\xb9\xbf\xeb\xe2\x3c\x27\xcf\xc2\x73\x8b\x3b\x34\xde\x54\x35\x8b\x5a\xea\xe4\x69\xd8\x9e\xb8\x22\x94\x3d\xe5\xcf\x4e\x5b\x66\xcf\x28\x3a\x88\x94\x09\xdd\x4e\x52\x8b\x75\x7e\x92\x11\x8b\x0b\x12\x09\xab\xab\xbe\x6a\xeb\x16\xbf\xc9\xdc\x83\x8b\xd4\x2b\x30\x27\xd4\x7b\x36\x9e\x9b\x5c\xec\x15\xa8\xe9\x3d\xdf\xb3\xb1\xe5\x30\x56\xe0\xca\xb1\xa6\xc4\x7c\x2a\x1f\xff\x2f\x00\x00\xff\xff\xdc\x48\x1c\x6a\x9b\x30\x00\x00") func webdataFnJsBytes() ([]byte, error) { return bindataRead( @@ -89,7 +89,7 @@ func webdataFnJs() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/fn.js", size: 12531, mode: os.FileMode(436), modTime: time.Unix(1529899874, 0)} + info := bindataFileInfo{name: "webdata/fn.js", size: 12443, mode: os.FileMode(436), modTime: time.Unix(1529985636, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -109,7 +109,7 @@ func webdataIconPng() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/icon.png", size: 1578, mode: os.FileMode(436), modTime: time.Unix(1529899874, 0)} + info := bindataFileInfo{name: "webdata/icon.png", size: 1578, mode: os.FileMode(436), modTime: time.Unix(1529985636, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -129,7 +129,7 @@ func webdataIndexHtml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/index.html", size: 1132, mode: os.FileMode(436), modTime: time.Unix(1529899874, 0)} + info := bindataFileInfo{name: "webdata/index.html", size: 1132, mode: os.FileMode(436), modTime: time.Unix(1529985636, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -149,7 +149,7 @@ func webdataMainCss() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/main.css", size: 1724, mode: os.FileMode(436), modTime: time.Unix(1529899874, 0)} + info := bindataFileInfo{name: "webdata/main.css", size: 1724, mode: os.FileMode(436), modTime: time.Unix(1529985636, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -169,7 +169,7 @@ func webdataSha256Js() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/sha256.js", size: 9380, mode: os.FileMode(436), modTime: time.Unix(1529899874, 0)} + info := bindataFileInfo{name: "webdata/sha256.js", size: 9380, mode: os.FileMode(436), modTime: time.Unix(1529985636, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -189,7 +189,7 @@ func webdataTexPng() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/tex.png", size: 3878, mode: os.FileMode(436), modTime: time.Unix(1529899874, 0)} + info := bindataFileInfo{name: "webdata/tex.png", size: 3878, mode: os.FileMode(436), modTime: time.Unix(1529985636, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/main.go b/main.go index ec057af..344d324 100644 --- a/main.go +++ b/main.go @@ -35,6 +35,7 @@ import ( "strconv" "strings" "time" + "unicode/utf8" ) const ( @@ -47,29 +48,35 @@ const ( ) func processCommand(plugin Plugin, command string) error { - commandParts := strings.Split(command, " ") - if commandParts[0] == "KeyboardText" { - text := strings.Join(commandParts[1:], " ") + if len(command) == 0 { + return errors.New("empty command") + } + if command[0] == 't' { + text := command[1:] + if !utf8.ValidString(text) { + return errors.New("invalid utf-8") + } return plugin.KeyboardText(text) } - if len(commandParts) != 3 { + arguments := strings.Split(command[1:], ";") + if len(arguments) != 2 { return errors.New("wrong number of arguments") } - x, err := strconv.ParseInt(commandParts[1], 10, 32) + x, err := strconv.ParseInt(arguments[0], 10, 32) if err != nil { return err } - y, err := strconv.ParseInt(commandParts[2], 10, 32) + y, err := strconv.ParseInt(arguments[1], 10, 32) if err != nil { return err } - if commandParts[0] == "PointerMove" { + if command[0] == 'm' { return plugin.PointerMove(int(x), int(y)) } - if commandParts[0] == "PointerScroll" { + if command[0] == 's' { return plugin.PointerScroll(int(x), int(y)) } - if commandParts[0] == "PointerButton" { + if command[0] == 'b' { if x <= 0 || x > 3 { return errors.New("unknown pointer button") } diff --git a/webdata/fn.js b/webdata/fn.js index 5839f5c..1cb654b 100644 --- a/webdata/fn.js +++ b/webdata/fn.js @@ -141,7 +141,7 @@ function calculatePointerAccelerationMult(speed) { function onDraggingTimeout() { draggingTimeout = null; - ws.send("PointerButton 1 0"); + ws.send("b1;0"); } function updateMoveAndScroll() { @@ -161,7 +161,7 @@ function onUpdateTimeout() { moveXSum -= moveX; moveYSum -= moveY; idleUpdates = 0; - ws.send("PointerMove " + moveX + " " + moveY); + ws.send("m" + moveX + ";" + moveY); } var scrollX = Math.trunc(scrollXSum); var scrollY = Math.trunc(scrollYSum); @@ -169,7 +169,7 @@ function onUpdateTimeout() { scrollXSum -= scrollX; scrollYSum -= scrollY; idleUpdates = 0; - ws.send("PointerScroll " + scrollX + " " + scrollY); + ws.send("s" + scrollX + ";" + scrollY); } if (idleUpdates >= MAX_IDLE_UPDATES) { clearInterval(updateTimer); @@ -222,7 +222,7 @@ function handleEnd(evt) { } if (ongoingTouches.length == 0 && touchReleasedCount >= 1 && dragging) { - ws.send("PointerButton 1 0"); + ws.send("b1;0"); } if (ongoingTouches.length == 0 && touchReleasedCount >= 1 && !touchMoved && evt.timeStamp - touchStart < TOUCH_TIMEOUT) { @@ -234,11 +234,11 @@ function handleEnd(evt) { }else if (touchReleasedCount == 3) { button = 2; } - ws.send("PointerButton " + button + " 1"); + ws.send("b" + button + ";1"); if (button == 1) { draggingTimeout = setTimeout(onDraggingTimeout, TOUCH_TIMEOUT); } else { - ws.send("PointerButton " + button + " 0"); + ws.send("b" + button + ";0"); } } } @@ -365,7 +365,7 @@ window.addEventListener("load", function() { document.getElementById("sendbutton").addEventListener("click", function(e) { if (text.value != "") { - ws.send("KeyboardText " + text.value); + ws.send("t" + text.value); text.value = ""; } window.history.back(); From 2fe8fb47b3dc71cf4daeb5d59e736addebaf93bf Mon Sep 17 00:00:00 2001 From: Unrud Date: Tue, 26 Jun 2018 06:02:11 +0200 Subject: [PATCH 009/321] fix websocket with https --- bindata.generated.go | 14 +++++++------- webdata/fn.js | 6 +++++- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/bindata.generated.go b/bindata.generated.go index 646cc99..5528843 100644 --- a/bindata.generated.go +++ b/bindata.generated.go @@ -74,7 +74,7 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var _webdataFnJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3a\xdd\x6f\xdb\xb8\x93\xef\xf9\x2b\xa6\x7a\x28\xe4\xc6\x91\xed\x14\xbd\x5d\xd4\x75\xee\xbc\xa9\xbb\x09\x36\x69\x02\xdb\xd9\xad\x11\x04\x05\x2d\x8d\x6d\x6d\x65\x52\x2b\x52\x71\xd2\x6b\xfe\xf7\x03\xf5\x49\x51\x94\x9c\x76\xd1\x97\xc3\xcf\x40\x53\x99\x9c\x19\xce\xf7\x07\xe5\xde\xab\x03\x78\x05\x00\x70\xca\xc2\xc7\xc8\x5f\x6f\x04\xd8\x6e\x07\x8e\xfb\x83\x5f\xe1\x86\x46\xb1\xf7\x2e\x96\x7f\xff\x87\xc5\x22\x60\xec\x8b\xe3\xb2\xed\xc9\x01\xe4\x48\xf3\x8d\xcf\x61\xe5\x07\x08\x3e\x87\x90\x44\x02\xd8\x0a\xa6\xb8\x65\x02\x8f\xe6\x2c\x76\x37\x21\xf1\x9c\x12\xfc\x03\x63\x4b\x12\x49\xd8\x55\x84\x08\x9c\xad\xc4\x8e\x44\xf8\x16\x1e\x59\x0c\x2e\xa1\x10\xa1\xe7\x73\x11\xf9\xcb\x58\x20\xf8\x02\x08\xf5\x7a\x2c\x82\x2d\xf3\xfc\xd5\x63\x46\xc4\x17\x10\x53\x0f\x23\x10\x1b\x04\x81\xd1\x96\xcb\x43\xe5\x97\xdf\x3f\xde\xc0\xef\x48\x31\x22\x01\x5c\xc7\xcb\xc0\x77\xe1\xc2\x77\x91\x72\x04\xc2\x21\x94\x2b\x7c\x83\x1e\x2c\x73\x52\x12\xe9\x83\xe4\x64\x96\x71\x02\x1f\x58\x4c\x3d\x22\x7c\x46\xbb\x80\xbe\xd8\x60\x04\xf7\x18\x71\x9f\x51\x78\x9d\x1f\x93\xd1\xec\x02\x8b\x32\x3a\x36\x11\x52\x84\x08\x58\x28\x51\x3b\x40\xe8\x23\x04\x44\x94\xd8\x8a\x12\x34\xf5\x48\x6d\x94\x42\x7b\xe0\xd3\xe4\x90\x0d\x0b\x11\xc4\x86\x08\x29\xef\xce\x0f\x02\x58\x22\xc4\x1c\x57\x71\xd0\xcd\x08\x2d\x63\x01\x7f\x9d\xcf\xcf\xae\x6e\xe6\x30\xfe\xb8\x80\xbf\xc6\xd3\xe9\xf8\xe3\x7c\x31\x84\x9d\x2f\x36\x2c\x16\x80\xf7\x98\x52\xf3\xb7\x61\xe0\xa3\x07\x3b\x12\x45\x84\x8a\x47\x60\xab\x8c\xc8\xe5\x64\x7a\x7a\x36\xfe\x38\x1f\xff\x76\x7e\x71\x3e\x5f\x00\x8b\xe0\xc3\xf9\xfc\xe3\x64\x36\x83\x0f\x57\x53\x18\xc3\xf5\x78\x3a\x3f\x3f\xbd\xb9\x18\x4f\xe1\xfa\x66\x7a\x7d\x35\x9b\x38\x00\x33\x94\xcc\x61\x46\xa3\x45\xef\xab\xc4\x7a\x11\x82\x87\x82\xf8\x01\x2f\xf5\xb0\x60\x31\xf0\x0d\x8b\x03\x0f\x36\xe4\x1e\x21\x42\x17\xfd\x7b\xf4\x80\x80\xcb\xc2\xc7\xfd\x36\x4d\xc9\x90\x80\xd1\x75\x22\x70\xe6\x5d\x0e\xc0\xf9\x0a\x28\x13\x5d\xe0\x88\xf0\x6e\x23\x44\xf8\xb6\xd7\xdb\xed\x76\xce\x9a\xc6\x0e\x8b\xd6\xbd\x20\x25\xc0\x7b\x27\x92\x9d\xde\xc1\x01\xf4\x7a\x70\x3b\x80\xc4\x24\x5d\x38\x4e\x1f\x90\x77\xe1\x75\xfe\x78\x77\xe0\x32\xca\x05\xcc\xaf\x6e\x4e\xcf\x3e\x5f\x5e\xfd\x39\xf9\x3c\x3f\x9b\x4e\x66\x67\x57\x17\xef\x61\x04\xb7\x83\x7e\x17\x06\x6f\xe4\xbf\xbb\x61\x05\x74\x7e\x7e\x39\x91\x06\x1a\xc1\xf1\x9b\x7e\xbe\x95\xe0\x5f\xde\x5c\xc8\xe5\x41\xbe\x38\x3b\x9d\x5e\x5d\x5c\xe4\xcb\x7d\xa7\xff\x66\x78\x20\xf9\xba\x0d\x1f\x7a\xbc\x0b\xdb\x38\x10\x77\x5d\x70\x1c\x27\xe7\xe5\xfa\xea\xfc\xe3\x7c\x32\xfd\x3c\x3e\x3d\x9d\x5c\x4c\xa6\xe3\xf9\xf9\xd5\x47\xc9\xcb\x6d\xbf\x0b\xfd\xbb\x2e\xdc\xfe\xfa\x4b\x17\x06\xf2\x61\xf0\xcb\xeb\xec\xe9\xcd\x9b\xd7\x5d\x38\xbe\x2b\x98\xbc\xb9\x7e\x3f\x9e\x4f\x3e\x27\x84\xfe\x1c\x5f\xc0\x08\x14\x2e\xc7\x9f\x3e\x9f\xbf\xbf\x98\x7c\x4e\x81\x66\x92\xd9\xfe\xf0\xe0\xe0\x9e\x44\xb0\xe3\xc3\xe4\xff\x90\x78\xc5\x43\x40\x96\x18\x64\xfb\x42\xaa\xed\x92\x49\x7b\x8e\x60\x45\x02\x8e\xc3\x72\x7d\x26\x64\xa6\x18\x41\x5f\x59\xbb\x20\x5c\x4c\xa8\xa7\xad\x4e\x31\x40\xc2\xd1\x3b\x65\x31\x55\x30\x18\x5d\x33\x9f\xae\x33\xdb\x48\x99\xef\xd2\x8d\x2d\xbb\xc7\x4f\xb3\x78\x5b\x82\xca\x95\x45\x65\x85\xbb\x11\x0b\x82\x4f\x86\xb5\x2a\x9c\x17\x91\xf5\xda\xa7\xeb\xaa\x00\xf9\xea\xdc\xdf\xa2\x0c\xb1\x11\xd0\x38\x08\xd2\xbd\x38\xf4\x88\x40\xb9\x13\x55\xd6\x7d\x2f\xc0\x9b\x64\x8f\xa7\xe4\x0f\x56\x31\x75\x65\xa6\x80\x55\x1c\x04\xdc\x8d\x10\xe9\x84\x92\x65\x80\x9e\xdd\x81\xff\x3d\x90\x41\x15\xa1\x88\x23\x0a\xb6\xc7\xdc\x78\x8b\x54\x38\x35\x50\xf8\xf6\x2d\x81\x94\x9f\x02\x6a\x87\xcb\x2f\xbe\xf8\xf0\x2c\xd8\x2d\xfb\x2a\x01\x67\xfb\x01\x79\x2b\xc1\x44\x3d\x9d\xe1\xc1\x93\x22\x58\x84\xff\xc4\xc8\x15\x46\x6c\xcc\x25\xf3\x57\x60\xa3\x53\x03\xc8\xb7\xe5\xc7\xb0\x6d\x77\x86\xc9\xf6\x13\x60\xc0\x31\x23\x92\x4a\x3b\x6d\x27\xd5\x00\x64\x24\xb8\x65\x5f\x15\xc0\x99\x81\x9a\x09\xc2\x4c\x8a\xef\xe1\xcb\x00\x50\x10\xaa\xe8\x12\x1f\xfc\x0a\x8c\xa2\xc7\xc2\x44\x55\x18\xf5\xa0\x06\x10\x03\xcf\x9a\x13\x4d\xf6\x93\x34\x01\xb6\x11\xde\xb2\xaf\xa7\x84\xba\x18\x98\xb5\xdb\x06\xd7\x4a\x96\x3f\x83\x57\x1d\xc8\xac\x6b\x25\xca\x02\x94\x78\xcf\x0a\xc8\x14\xf4\x79\x01\xd9\x02\x5b\x0d\xc8\x36\x40\xde\x4a\x50\xa6\x1e\x2d\x1e\x89\xe7\x95\x28\xee\x86\xd0\x35\x4e\xee\x91\x8a\x0b\x9f\x0b\x59\x5e\xed\x20\x7b\x30\x7a\x57\x5d\xd4\x17\xa3\x51\xd2\x86\xad\x7c\x8a\x9e\x51\xdf\xc4\xf3\xaa\x27\x58\x2b\x8d\x01\xab\x0b\xc5\xa9\xfb\x9c\xb1\x2e\xef\x8f\x70\x90\xd2\xfa\x31\x3e\x8c\xc6\xf9\x11\x26\xb6\xec\xeb\x0f\x72\x60\xb0\xfa\x8f\x30\x70\x39\x2b\xe9\x9c\x36\x9d\x5f\xf1\x1e\xd9\x91\x25\xd5\xd6\x16\x69\x8f\x24\xfc\x2d\xce\x04\xd9\x86\x5a\x74\x94\xe7\xfb\x1e\x52\xe1\xaf\x7c\x8c\xde\xa6\xb5\xdc\x29\x57\xba\x05\x54\x48\xd6\xf8\x29\x07\x48\xbe\x68\x7b\x49\xaf\xd0\x02\xb0\x50\xf7\x16\xda\x5e\x0d\x59\x01\x28\x24\x78\x5b\x3e\xa6\x92\x57\x03\x47\xed\x35\xce\xa9\x87\x0f\xbf\x3d\x9e\x7b\xb6\xef\xcd\xd9\x07\x9f\x16\x1a\x97\x7d\xae\x9d\xd4\xfa\xa4\xc2\x83\x0f\xef\xb4\x2e\xc5\x09\x90\xae\xc5\x66\x08\xfe\xe1\xa1\x6a\xa7\xb4\x41\x80\x91\x06\x7e\xeb\xdf\x29\x0a\x1b\x1e\x94\x7a\x5d\x81\x2d\xe1\x47\xa0\xf3\x90\x7f\x32\x53\xf8\xc3\x62\xf5\xe9\xa0\xfc\x9b\xed\x1e\x0d\xaa\x62\xba\x24\x70\x63\x39\xb2\x5c\x33\x9f\x0a\x8c\xc6\xae\x8b\x01\x46\xc9\x28\x74\x19\x07\xc2\xe6\x21\x62\xab\xb8\xa6\x76\xb4\x49\x68\x7e\x0c\x23\x23\xc2\xad\x7f\x77\xdb\xbf\x2b\x39\x27\x6d\x80\x03\x05\x50\xaa\x85\x1f\xc3\xbb\x11\x54\x18\xcd\x3f\x2e\xa3\xc2\xa7\x31\xea\x3a\x29\x34\x2a\x15\xda\x6f\xd0\x24\x39\x36\xa1\xf1\x41\x23\x6b\x47\x03\x4d\x8a\x76\x50\x55\x8e\xbc\xca\xa4\xfa\x3e\xe2\x83\x0e\xf4\xa4\x64\xf2\xa9\x03\xaf\xc0\x26\xc7\x47\x64\xd0\x81\x43\x20\x83\xa1\x62\x56\x29\x44\x8b\x05\xe0\xa4\x2a\x5d\x76\x8c\x91\xa7\x16\x32\x2a\xb7\x15\x77\x1a\xe8\x41\xf3\xbe\xda\x27\x17\x55\xb4\xa9\x7f\x96\x7b\x3b\xee\x70\xa4\x9e\x6d\x2d\x07\xc3\xbe\xa5\x15\xb0\xb4\xb9\x96\x23\xc5\x98\x7a\xb3\xa4\x5f\xaf\x74\x42\x95\xe6\x3b\xa5\xaa\x0a\xcc\xe8\x4d\x01\x90\xf0\x53\x75\x1d\x7d\x0e\x3a\x81\x3e\xbc\x7c\x59\xed\xdc\x0d\x0e\x52\xed\xf8\x39\x8a\x73\x19\x3b\xf7\x24\xb0\xb5\xf3\xba\xfa\xa4\xd5\xa9\x47\x67\x55\x81\x1a\xbb\xb9\xa4\x0a\x43\x87\xc9\xf0\x98\xe7\x90\x64\xf4\x81\x11\x5c\x12\xb1\x71\x44\x14\x53\xd7\xce\xa7\xa1\x4e\x15\x6a\x51\x87\x5a\x94\x50\x52\x1b\xc9\x2e\x59\xf2\x94\x42\x07\x4e\x46\x30\x80\x6f\xdf\xa0\xb2\xbe\x48\xd7\x55\x95\x14\xe3\xd7\xd1\x28\x7d\x1e\x56\xb6\x16\xca\xd6\x42\xd1\xbf\x3e\x1e\xe5\x1b\x85\x3f\x6c\x2d\x38\xcc\x04\x3c\x04\x6b\x98\x7f\x5b\x74\x54\x4f\x54\x66\xbb\xaa\x80\xe5\xc0\xa7\x28\x22\x9b\xf8\x4c\x90\x4d\xca\xc8\xe8\x18\xd4\x91\xe1\xd5\x15\xa2\xcc\x9a\x47\xa3\xfc\xdb\x50\xdb\x5e\x54\xb6\xbf\x4b\x31\x5c\xaa\x22\x17\x3a\x57\x4d\xce\x8d\x9e\x1e\x54\x72\x27\xa3\xda\x78\xaf\xf2\xed\x06\x48\xa2\xc2\x97\x15\x2f\x57\xdc\xd6\x34\xed\xd6\x1d\x79\x43\xa8\x17\x60\x52\x88\x6d\xbc\x17\x6a\xc4\x1a\xeb\x63\x2d\xcc\x2a\x37\x06\x78\x2f\x9c\xa2\x5a\x0f\xab\x30\xda\x6d\x43\x65\xcf\x70\x8f\x90\xef\xd7\xc7\xfc\xaa\x4b\x89\xe2\x92\x41\x1e\x9e\xb6\x6b\x5e\xc6\xf3\xb0\xb1\x18\x8a\xf6\xa2\x2f\xc5\x17\x65\xa1\x17\x24\x5a\x63\xda\xcb\x85\xc4\x93\x89\xa7\x71\x33\xb9\x64\xf9\x9e\xea\x26\xb9\x0e\x23\x94\x1d\xe0\x7b\x5c\x11\x59\xca\x15\x23\x6a\x36\x08\x63\xbe\xb1\xb5\x66\x2f\xe1\xa2\x5b\x55\x7d\xa7\xa3\x29\xb8\x72\x7d\xa3\x4a\xf9\x22\xd7\xaf\xce\xb3\x72\x55\xd3\x9c\xb2\x6a\xd9\xa3\x2d\x73\x55\xe5\xae\x5c\xf3\xb4\x65\x03\x2d\x10\xdb\x13\x42\x2e\x96\x5e\xc6\x5e\x18\x4a\x4e\x11\x48\x79\x12\xd7\x90\x34\x19\xdb\x2a\xa3\xc1\x59\x45\x54\xb7\xb7\x29\xf4\x26\xd4\x53\x03\xef\xa7\xb9\x74\xda\xc7\x3e\x68\x8d\x6c\xd9\x31\x0b\x53\x5f\xab\x69\x55\xe2\xbf\xab\x57\xd9\x36\xf7\xd6\x1c\x98\x87\x81\xef\xa2\x24\xd4\x85\x81\xee\xa4\x95\x2c\x70\x78\xd8\xe8\xc2\x86\x2c\x53\x66\x51\x43\x3e\x39\x31\x5e\x0b\x67\x8a\xaa\xe5\xb2\x3c\x4f\x95\x06\x7c\x7a\x46\x4a\x2c\x92\x82\x76\xb4\x2c\x45\x2f\x5f\x1a\x9d\x44\x3d\xb9\xd6\x5a\xfd\x84\x73\x5f\x28\xe2\xbd\x7c\x59\xd5\x22\x1c\xa9\x89\xfc\x5d\xf5\x72\x5c\x77\xa3\x65\x2c\x04\xa3\xf5\x5c\x62\x4a\xe5\x5a\xc1\x85\xf4\xbd\x48\x8a\x3e\x50\x1c\xa6\x1c\xa7\xcd\x54\x8e\x1b\xa9\xbc\x56\xa8\xec\x21\xf2\xba\x91\x88\x71\x82\x28\x8d\x22\xcb\x76\x06\x2b\xab\xf8\xc0\xd2\x02\x23\xa7\x63\x90\xb6\x9e\x36\x38\x8a\x3c\xe3\xd4\xfa\xf0\xae\xa6\xf9\x9a\x86\xaa\xc4\x1b\x39\xec\x5b\x7b\x1a\xd8\x34\xf9\xa4\x97\x78\xff\xc9\x3f\xff\x3a\xff\x40\x5b\xf6\xa8\xeb\x5d\x42\xe9\x5a\xe7\xf1\xf6\x53\x19\x53\xd9\xca\xa2\xba\xf2\xff\xc9\x32\xc9\xdb\x1a\x9f\x8b\xbc\xa2\xf3\x7f\x22\x91\x36\xf3\x21\xdb\xa9\x87\x26\xb7\x4a\x70\x54\xbb\x80\xf1\x1e\xb2\xbd\x24\x69\x75\x65\x8a\x38\x84\x26\x02\x8b\x16\x02\x8b\x82\x80\x26\x95\x39\xed\xb6\x96\x13\x39\x77\x24\x52\x99\xa1\x6e\xcd\x24\x8f\x60\x70\xa7\xeb\xae\xc1\x9d\x0c\x4a\x94\xa6\xfb\x1e\x7d\x0d\xab\xe8\x8f\x75\xf4\x56\x6d\x55\xd1\x65\x20\xbc\xc7\x40\x10\x3d\x30\x1a\x48\x18\x02\x27\xf1\xfc\xc3\x91\x14\xe4\xd5\xfe\x8b\xae\x62\xaa\xf3\x1e\x3a\xd0\x53\xce\x7f\x05\x83\x7e\xbf\xdf\xa9\xd0\x5d\x24\x74\x1f\xbf\x8f\xee\xe3\x1e\xba\x8d\x8a\x35\xd8\x61\x3f\xd6\xc2\xa0\xfe\x76\xac\x52\xc5\xcf\xe9\x85\xda\x0b\x7e\x9e\xd5\x4e\x46\xcd\x35\xbf\xb5\x03\x49\x26\xed\xbd\x43\xc4\xe1\x28\xb5\xf2\xab\xf2\xdd\x7a\xc3\x04\x91\x42\x2e\xcc\x90\x4a\x9b\xd0\xc8\x50\xad\x53\xd0\x86\xfc\x94\x0d\xe5\x6d\xfe\xd0\x00\xbd\x28\xa1\x17\x4d\xd0\x4f\xda\xa8\xad\xdd\x7d\x19\xef\xe9\x37\x24\x90\x9c\xe2\x14\x79\xc8\x28\x47\x7b\x8b\x9c\x93\x35\x56\x0a\xc1\x86\x5c\x2d\xff\x96\xf3\x05\xee\xe0\x6f\x3e\x3b\x1b\xdb\xd6\xec\x6c\x7c\x74\xfc\xe6\xbf\xac\x2e\x58\xf3\xc9\xa7\x79\x5e\xdd\x53\x50\x87\xa3\x38\xbb\x1c\x9f\xfe\x81\x8f\x39\x3d\x33\x5c\xca\xa7\xbd\xf3\xa9\xc7\x76\x4e\xc0\xdc\xc4\xfb\x9d\x0d\xe1\x1b\x87\xc7\x4b\x2e\x22\x7b\x90\xe7\xc0\xec\xe2\x70\x29\x18\xb1\x33\xf4\x75\x7a\x8c\x6d\xfd\xb6\x98\x4f\x66\x56\x27\xbd\x01\xcc\xa8\xd5\x5f\x63\x04\x8c\x78\x56\x17\x72\xe1\x6d\x55\x46\x12\x8b\x8d\x2c\x25\x2e\x11\xfa\xa5\x40\xf2\x03\x82\x10\x69\x3a\x46\x15\xaf\x49\xd6\x28\xb2\x77\x2a\x49\x51\xb2\x32\x10\x4b\xb9\x33\x72\x03\xc6\x13\x6a\x8d\x48\x29\x44\x8e\x23\x67\xf9\x16\xe0\x90\xa8\x90\xc9\x60\xbf\x07\x3c\x81\x51\x39\xfa\x82\x8f\x4b\x46\xa2\xd6\x63\x72\x18\x15\xaf\x7c\xff\x54\x74\xa8\x8d\xf8\x3a\xac\x4a\x47\xe0\x83\x68\xc3\x95\xfb\x39\x7c\xaa\x1b\x87\x8b\xc7\x00\x1d\xcf\xe7\x61\x40\x64\x65\xb0\x28\xa3\x68\x15\x6a\x68\xdd\xcf\x45\x69\x05\x92\x67\x3a\xf7\x24\x88\x51\x6e\x58\xd9\xab\x93\x1d\xcf\x1c\xfe\x2f\x5c\xce\x98\xfb\x05\x85\x6d\xed\xf8\xdb\x5e\x4f\x36\xb6\xa5\xa7\x32\x2e\x28\xd9\x22\x1c\x56\x62\x56\xf9\xd8\x05\x6c\xc8\x22\x01\xff\x0d\xd6\xdb\x0a\x85\x64\xf5\x2d\x58\x56\xa7\x99\x86\xd5\xdb\x71\xa9\x95\x8c\x31\x87\xd1\x2c\xaa\xa4\xa3\xe6\xde\x9c\xdc\xd8\xe8\x59\xb2\xe2\xd6\x7a\x1e\xda\x71\x27\xd1\xb1\xad\x5d\x2c\xa4\x91\x66\xca\x2b\x7a\x94\x54\xbb\x80\xbc\xf9\xaf\x27\x95\x84\x37\xc7\x23\x82\xa8\x1d\x4d\x16\x31\xad\xc6\xc9\x05\xd9\xf8\x5c\xb0\xe8\xd1\xe1\x82\x08\x94\x59\x55\x71\x53\x4d\xac\x66\xa3\xaf\x02\x7c\xb0\xaa\xb2\x26\xc6\x5f\x31\x37\xe6\xf6\xbe\xd9\xc6\xe8\x6c\x1a\xc9\x4c\x55\x4f\xf9\xfb\xb7\xc4\x58\x89\x92\x55\x53\xe9\x56\x32\xfc\x86\x40\x17\xca\xfc\x5b\x8c\xaa\x75\x9e\xab\xcf\x7d\x51\xd3\xae\xc4\x04\xb0\x80\x6b\x0a\x52\x55\x2f\xb9\x36\xf6\x66\x9c\x3c\x5f\x18\x72\xb7\x1b\xf8\xee\x17\xab\xdb\x14\x21\xcf\xfd\x94\xd1\xf2\x93\x6c\xf0\xef\x74\xab\x79\x93\xd9\x39\xf3\x50\x08\x63\xbe\x99\xc9\x70\x50\x52\x76\x17\xac\xf4\xe7\xa2\xf0\x87\x96\xc5\x9f\x94\x37\x14\x2f\x0c\xbf\x22\x53\x85\xd5\x33\x78\xab\x44\xa9\xec\x35\x94\x46\x13\xfe\x34\x1b\x98\x62\xb6\xfe\xab\xb0\x90\x78\xf5\x9b\x88\x7c\xa5\xd1\x43\x65\x5e\xfb\xc9\xde\xd9\xac\x16\xa5\x40\xbd\x18\x25\x95\xa2\xe1\xd2\x45\xc8\xca\x52\x42\x77\x0c\xa9\x4e\xad\x73\x55\x25\x24\x94\xd2\xd6\x29\xf7\xb0\x25\x71\xbf\xd8\x9a\xff\x64\x20\x8c\x86\x2c\xcc\x92\xf1\x9e\x1a\xd4\xe4\xee\xb9\xbf\xeb\xe2\x3c\x27\xcf\xc2\x73\x8b\x3b\x34\xde\x54\x35\x8b\x5a\xea\xe4\x69\xd8\x9e\xb8\x22\x94\x3d\xe5\xcf\x4e\x5b\x66\xcf\x28\x3a\x88\x94\x09\xdd\x4e\x52\x8b\x75\x7e\x92\x11\x8b\x0b\x12\x09\xab\xab\xbe\x6a\xeb\x16\xbf\xc9\xdc\x83\x8b\xd4\x2b\x30\x27\xd4\x7b\x36\x9e\x9b\x5c\xec\x15\xa8\xe9\x3d\xdf\xb3\xb1\xe5\x30\x56\xe0\xca\xb1\xa6\xc4\x7c\x2a\x1f\xff\x2f\x00\x00\xff\xff\xdc\x48\x1c\x6a\x9b\x30\x00\x00") +var _webdataFnJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3a\xdd\x6f\xdb\xb6\xb7\xef\xf9\x2b\x4e\xf5\x50\xc8\x8d\x23\xdb\x29\x7a\x37\xd4\x75\xee\xf5\x52\x77\x09\x96\x34\x81\xed\x6c\x35\x82\xa0\xa0\xa5\x63\x5b\xab\x4c\x6a\x22\x15\x27\xbd\xcd\xff\x7e\x41\x7d\x52\x14\x25\xa7\x1d\xfa\x72\xf1\x33\xb0\x4e\x21\xcf\x39\x3c\xdf\x1f\x94\x7a\xaf\x0e\xe0\x15\x00\xc0\x29\x0b\x1f\x23\x7f\xbd\x11\x60\xbb\x1d\x38\xee\x0f\x7e\x85\x1b\x1a\xc5\xde\xbb\x58\xfe\xfb\x3f\x2c\x16\x01\x63\x5f\x1c\x97\x6d\x4f\x0e\x20\x47\x9a\x6f\x7c\x0e\x2b\x3f\x40\xf0\x39\x84\x24\x12\xc0\x56\x30\xc5\x2d\x13\x78\x34\x67\xb1\xbb\x09\x89\xe7\x94\xe0\x1f\x18\x5b\x92\x48\xc2\xae\x22\x44\xe0\x6c\x25\x76\x24\xc2\xb7\xf0\xc8\x62\x70\x09\x85\x08\x3d\x9f\x8b\xc8\x5f\xc6\x02\xc1\x17\x40\xa8\xd7\x63\x11\x6c\x99\xe7\xaf\x1e\x33\x22\xbe\x80\x98\x7a\x18\x81\xd8\x20\x08\x8c\xb6\x5c\x1e\x2a\xff\xf8\xfd\xe3\x0d\xfc\x8e\x14\x23\x12\xc0\x75\xbc\x0c\x7c\x17\x2e\x7c\x17\x29\x47\x20\x1c\x42\xb9\xc2\x37\xe8\xc1\x32\x27\x25\x91\x3e\x48\x4e\x66\x19\x27\xf0\x81\xc5\xd4\x23\xc2\x67\xb4\x0b\xe8\x8b\x0d\x46\x70\x8f\x11\xf7\x19\x85\xd7\xf9\x31\x19\xcd\x2e\xb0\x28\xa3\x63\x13\x21\x45\x88\x80\x85\x12\xb5\x03\x84\x3e\x42\x40\x44\x89\xad\x28\x41\x53\x8f\xd4\x46\x29\xb4\x07\x3e\x4d\x0e\xd9\xb0\x10\x41\x6c\x88\x90\xf2\xee\xfc\x20\x80\x25\x42\xcc\x71\x15\x07\xdd\x8c\xd0\x32\x16\xf0\xd7\xf9\xfc\xec\xea\x66\x0e\xe3\x8f\x0b\xf8\x6b\x3c\x9d\x8e\x3f\xce\x17\x43\xd8\xf9\x62\xc3\x62\x01\x78\x8f\x29\x35\x7f\x1b\x06\x3e\x7a\xb0\x23\x51\x44\xa8\x78\x04\xb6\xca\x88\x5c\x4e\xa6\xa7\x67\xe3\x8f\xf3\xf1\x6f\xe7\x17\xe7\xf3\x05\xb0\x08\x3e\x9c\xcf\x3f\x4e\x66\x33\xf8\x70\x35\x85\x31\x5c\x8f\xa7\xf3\xf3\xd3\x9b\x8b\xf1\x14\xae\x6f\xa6\xd7\x57\xb3\x89\x03\x30\x43\xc9\x1c\x66\x34\x5a\xf4\xbe\x4a\xac\x17\x21\x78\x28\x88\x1f\xf0\x52\x0f\x0b\x16\x03\xdf\xb0\x38\xf0\x60\x43\xee\x11\x22\x74\xd1\xbf\x47\x0f\x08\xb8\x2c\x7c\xdc\x6f\xd3\x94\x0c\x09\x18\x5d\x27\x02\x67\xde\xe5\x00\x9c\xaf\x80\x32\xd1\x05\x8e\x08\xef\x36\x42\x84\x6f\x7b\xbd\xdd\x6e\xe7\xac\x69\xec\xb0\x68\xdd\x0b\x52\x02\xbc\x77\x22\xd9\xe9\x1d\x1c\x40\xaf\x07\xb7\x03\x48\x4c\xd2\x85\xe3\xf4\x01\x79\x17\x5e\xe7\x8f\x77\x07\x2e\xa3\x5c\xc0\xfc\xea\xe6\xf4\xec\xf3\xe5\xd5\x9f\x93\xcf\xf3\xb3\xe9\x64\x76\x76\x75\xf1\x1e\x46\x70\x3b\xe8\x77\x61\xf0\x46\xfe\x77\x37\xac\x80\xce\xcf\x2f\x27\xd2\x40\x23\x38\x7e\xd3\xcf\xb7\x12\xfc\xcb\x9b\x0b\xb9\x3c\xc8\x17\x67\xa7\xd3\xab\x8b\x8b\x7c\xb9\xef\xf4\xdf\x0c\x0f\x24\x5f\xb7\xe1\x43\x8f\x77\x61\x1b\x07\xe2\xae\x0b\x8e\xe3\xe4\xbc\x5c\x5f\x9d\x7f\x9c\x4f\xa6\x9f\xc7\xa7\xa7\x93\x8b\xc9\x74\x3c\x3f\xbf\xfa\x28\x79\xb9\xed\x77\xa1\x7f\xd7\x85\xdb\x5f\x7f\xe9\xc2\x40\x3e\x0c\x7e\x79\x9d\x3d\xbd\x79\xf3\xba\x0b\xc7\x77\x05\x93\x37\xd7\xef\xc7\xf3\xc9\xe7\x84\xd0\x9f\xe3\x0b\x18\x81\xc2\xe5\xf8\xd3\xe7\xf3\xf7\x17\x93\xcf\x29\xd0\x4c\x32\xdb\x1f\x1e\x1c\xdc\x93\x08\x76\x7c\x98\xfc\x3f\x24\x5e\xf1\x10\x90\x25\x06\xd9\xbe\x90\x6a\xbb\x64\xd2\x9e\x23\x58\x91\x80\xe3\xb0\x5c\x9f\x09\x99\x29\x46\xd0\x57\xd6\x2e\x08\x17\x13\xea\x69\xab\x53\x0c\x90\x70\xf4\x4e\x59\x4c\x15\x0c\x46\xd7\xcc\xa7\xeb\xcc\x36\x52\xe6\xbb\x74\x63\xcb\xee\xf1\xd3\x2c\xde\x96\xa0\x72\x65\x51\x59\xe1\x6e\xc4\x82\xe0\x93\x61\xad\x0a\xe7\x45\x64\xbd\xf6\xe9\xba\x2a\x40\xbe\x3a\xf7\xb7\x28\x43\x6c\x04\x34\x0e\x82\x74\x2f\x0e\x3d\x22\x50\xee\x44\x95\x75\xdf\x0b\xf0\x26\xd9\xe3\x29\xf9\x83\x55\x4c\x5d\x99\x29\x60\x15\x07\x01\x77\x23\x44\x3a\xa1\x64\x19\xa0\x67\x77\xe0\x7f\x0f\x64\x50\x45\x28\xe2\x88\x82\xed\x31\x37\xde\x22\x15\x4e\x0d\x14\xbe\x7d\x4b\x20\xe5\xaf\x80\xda\xe1\xf2\x8b\x2f\x3e\x3c\x0b\x76\xcb\xbe\x4a\xc0\xd9\x7e\x40\xde\x4a\x30\x51\x4f\x67\x78\xf0\xa4\x08\x16\xe1\x3f\x31\x72\x85\x11\x1b\x73\xc9\xfc\x15\xd8\xe8\xd4\x00\xf2\x6d\xf9\x33\x6c\xdb\x9d\x61\xb2\xfd\x04\x18\x70\xcc\x88\xa4\xd2\x4e\xdb\x49\x35\x00\x19\x09\x6e\xd9\x57\x05\x70\x66\xa0\x66\x82\x30\x93\xe2\x7b\xf8\x32\x00\x14\x84\x2a\xba\xc4\x07\xbf\x02\xa3\xe8\xb1\x30\x51\x15\x46\x3d\xa8\x01\xc4\xc0\xb3\xe6\x44\x93\xfd\x24\x4d\x80\x6d\x84\xb7\xec\xeb\x29\xa1\x2e\x06\x66\xed\xb6\xc1\xb5\x92\xe5\xcf\xe0\x55\x07\x32\xeb\x5a\x89\xb2\x00\x25\xde\xb3\x02\x32\x05\x7d\x5e\x40\xb6\xc0\x56\x03\xb2\x0d\x90\xb7\x12\x94\xa9\x47\x8b\x47\xe2\x79\x25\x8a\xbb\x21\x74\x8d\x93\x7b\xa4\xe2\xc2\xe7\x42\x96\x57\x3b\xc8\x1e\x8c\xde\x55\x17\xf5\xc5\x68\x94\xb4\x61\x2b\x9f\xa2\x67\xd4\x37\xf1\xbc\xea\x09\xd6\x4a\x63\xc0\xea\x42\x71\xea\x3e\x67\xac\xcb\xfb\x23\x1c\xa4\xb4\x7e\x8c\x0f\xa3\x71\x7e\x84\x89\x2d\xfb\xfa\x83\x1c\x18\xac\xfe\x23\x0c\x5c\xce\x4a\x3a\xa7\x4d\xe7\x57\xbc\x47\x76\x64\x49\xb5\xb5\x45\xda\x23\x09\x7f\x8b\x33\x41\xb6\xa1\x16\x1d\xe5\xf9\xbe\x87\x54\xf8\x2b\x1f\xa3\xb7\x69\x2d\x77\xca\x95\x6e\x01\x15\x92\x35\x7e\xca\x01\x92\x3f\xb4\xbd\xa4\x57\x68\x01\x58\xa8\x7b\x0b\x6d\xaf\x86\xac\x00\x14\x12\xbc\x2d\x1f\x53\xc9\xab\x81\xa3\xf6\x1a\xe7\xd4\xc3\x87\xdf\x1e\xcf\x3d\xdb\xf7\xe6\xec\x83\x4f\x0b\x8d\xcb\x3e\xd7\x4e\x6a\x7d\x52\xe1\xc1\x87\x77\x5a\x97\xe2\x04\x48\xd7\x62\x33\x04\xff\xf0\x50\xb5\x53\xda\x20\xc0\x48\x03\xbf\xf5\xef\x14\x85\x0d\x0f\x4a\xbd\xae\xc0\x96\xf0\x23\xd0\x79\xc8\x7f\x99\x29\xfc\x61\xb1\xfa\x74\x50\xfe\x9b\xed\x1e\x0d\xaa\x62\xba\x24\x70\x63\x39\xb2\x5c\x33\x9f\x0a\x8c\xc6\xae\x8b\x01\x46\xc9\x28\x74\x19\x07\xc2\xe6\x21\x62\xab\xb8\xa6\x76\xb4\x49\x68\x7e\x0c\x23\x23\xc2\xad\x7f\x77\xdb\xbf\x2b\x39\x27\x6d\x80\x03\x05\x50\xaa\x85\x1f\xc3\xbb\x11\x54\x18\xcd\x7f\x2e\xa3\xc2\xa7\x31\xea\x3a\x29\x34\x2a\x15\xda\x6f\xd0\x24\x39\x36\xa1\xf1\x41\x23\x6b\x47\x03\x4d\x8a\x76\x50\x55\x8e\xbc\xca\xa4\xfa\x3e\xe2\x83\x0e\xf4\xa4\x64\xf2\xa9\x03\xaf\xc0\x26\xc7\x47\x64\xd0\x81\x43\x20\x83\xa1\x62\x56\x29\x44\x8b\x05\xe0\xa4\x2a\x5d\x76\x8c\x91\xa7\x16\x32\x2a\xb7\x15\x77\x1a\xe8\x41\xf3\xbe\xda\x27\x17\x55\xb4\xa9\x7f\x96\x7b\x3b\xee\x70\xa4\x9e\x6d\x2d\x07\xc3\xbe\xa5\x15\xb0\xb4\xb9\x96\x23\xc5\x98\x7a\xb3\xa4\x5f\xaf\x74\x42\x95\xe6\x3b\xa5\xaa\x0a\xcc\xe8\x4d\x01\x90\xf0\x53\x75\x1d\x7d\x0e\x3a\x81\x3e\xbc\x7c\x59\xed\xdc\x0d\x0e\x52\xed\xf8\x39\x8a\x73\x19\x3b\xf7\x24\xb0\xb5\xf3\xba\xfa\xa4\xd5\xa9\x47\x67\x55\x81\x1a\xbb\xb9\xa4\x0a\x43\x87\xc9\xf0\x98\xe7\x90\x64\xf4\x81\x11\x5c\x12\xb1\x71\x44\x14\x53\xd7\xce\xa7\xa1\x4e\x15\x6a\x51\x87\x5a\x94\x50\x52\x1b\xc9\x2e\x59\xf2\x94\x42\x07\x4e\x46\x30\x80\x6f\xdf\xa0\xb2\xbe\x48\xd7\x55\x95\x14\xe3\xd7\xd1\x28\x7d\x1e\x56\xb6\x16\xca\xd6\x42\xd1\xbf\x3e\x1e\xe5\x1b\x85\x3f\x6c\x2d\x38\xcc\x04\x3c\x04\x6b\x98\xff\xb5\xe8\xa8\x9e\xa8\xcc\x76\x55\x01\xcb\x81\x4f\x51\x44\x36\xf1\x99\x20\x9b\x94\x91\xd1\x31\xa8\x23\xc3\xab\x2b\x44\x99\x35\x8f\x46\xf9\x5f\x43\x6d\x7b\x51\xd9\xfe\x2e\xc5\x70\xa9\x8a\x5c\xe8\x5c\x35\x39\x37\x7a\x7a\x50\xc9\x9d\x8c\x6a\xe3\xbd\xca\xb7\x1b\x20\x89\x0a\x5f\x56\xbc\x5c\x71\x5b\xd3\xb4\x5b\x77\xe4\x0d\xa1\x5e\x80\x49\x21\xb6\xf1\x5e\xa8\x11\x6b\xac\x8f\xb5\x30\xab\xdc\x18\xe0\xbd\x70\x8a\x6a\x3d\xac\xc2\x68\xb7\x0d\x95\x3d\xc3\x3d\x42\xbe\x5f\x1f\xf3\xab\x2e\x25\x8a\x4b\x06\x79\x78\xda\xae\x79\x19\xcf\xc3\xc6\x62\x28\xda\x8b\xbe\x14\x5f\x94\x85\x5e\x90\x68\x8d\x69\x2f\x17\x12\x4f\x26\x9e\xc6\xcd\xe4\x92\xe5\x7b\xaa\x9b\xe4\x3a\x8c\x50\x76\x80\xef\x71\x45\x64\x29\x57\x8c\xa8\xd9\x20\x8c\xf9\xc6\xd6\x9a\xbd\x84\x8b\x6e\x55\xf5\x9d\x8e\xa6\xe0\xca\xf5\x8d\x2a\xe5\x8b\x5c\xbf\x3a\xcf\xca\x55\x4d\x73\xca\xaa\x65\x8f\xb6\xcc\x55\x95\xbb\x72\xcd\xd3\x96\x0d\xb4\x40\x6c\x4f\x08\xb9\x58\x7a\x19\x7b\x61\x28\x39\x45\x20\xe5\x49\x5c\x43\xd2\x64\x6c\xab\x8c\x06\x67\x15\x51\xdd\xde\xa6\xd0\x9b\x50\x4f\x0d\xbc\x9f\xe6\xd2\x69\x1f\xfb\xa0\x35\xb2\x65\xc7\x2c\x4c\x7d\xad\xa6\x55\x89\xff\xae\x5e\x65\xdb\xdc\x5b\x73\x60\x1e\x06\xbe\x8b\x92\x50\x17\x06\xba\x93\x56\xb2\xc0\xe1\x61\xa3\x0b\x1b\xb2\x4c\x99\x45\x0d\xf9\xe4\xc4\x78\x2d\x9c\x29\xaa\x96\xcb\xf2\x3c\x55\x1a\xf0\xe9\x19\x29\xb1\x48\x0a\xda\xd1\xb2\x14\xbd\x7c\x69\x74\x12\xf5\xe4\x5a\x6b\xf5\x13\xce\x7d\xa1\x88\xf7\xf2\x65\x55\x8b\x70\xa4\x26\xf2\x77\xd5\xcb\x71\xdd\x8d\x96\xb1\x10\x8c\xd6\x73\x89\x29\x95\x6b\x05\x17\xd2\xf7\x22\x29\xfa\x40\x71\x98\x72\x9c\x36\x53\x39\x6e\xa4\xf2\x5a\xa1\xb2\x87\xc8\xeb\x46\x22\xc6\x09\xa2\x34\x8a\x2c\xdb\x19\xac\xac\xe2\x03\x4b\x0b\x8c\x9c\x8e\x41\xda\x7a\xda\xe0\x28\xf2\x8c\x53\xeb\xc3\xbb\x9a\xe6\x6b\x1a\xaa\x12\x6f\xe4\xb0\x6f\xed\x69\x60\xd3\xe4\x93\x5e\xe2\xfd\x27\xff\xfc\xeb\xfc\x03\x6d\xd9\xa3\xae\x77\x09\xa5\x6b\x9d\xc7\xdb\x4f\x65\x4c\x65\x2b\x8b\xea\xca\xff\x27\xcb\x24\x6f\x6b\x7c\x2e\xf2\x8a\xce\xff\x89\x44\xda\xcc\x87\x6c\xa7\x1e\x9a\xdc\x2a\xc1\x51\xed\x02\xc6\x7b\xc8\xf6\x92\xa4\xd5\x95\x29\xe2\x10\x9a\x08\x2c\x5a\x08\x2c\x0a\x02\x9a\x54\xe6\xb4\xdb\x5a\x4e\xe4\xdc\x91\x48\x65\x86\xba\x35\x93\x3c\x82\xc1\x9d\xae\xbb\x06\x77\x32\x28\x51\x9a\xee\x7b\xf4\x35\xac\xa2\x3f\xd6\xd1\x5b\xb5\x55\x45\x97\x81\xf0\x1e\x03\x41\xf4\xc0\x68\x20\x61\x08\x9c\xc4\xf3\x0f\x47\x52\x90\x57\xfb\x2f\xba\x8a\xa9\xce\x7b\xe8\x40\x4f\x39\xff\x15\x0c\xfa\xfd\x7e\xa7\x42\x77\x91\xd0\x7d\xfc\x3e\xba\x8f\x7b\xe8\x36\x2a\xd6\x60\x87\xfd\x58\x0b\x83\xfa\xdb\xb1\x4a\x15\x3f\xa7\x17\x6a\x2f\xf8\x79\x56\x3b\x19\x35\xd7\xfc\xd6\x0e\x24\x99\xb4\xf7\x0e\x11\x87\xa3\xd4\xca\xaf\xca\x77\xeb\x0d\x13\x44\x0a\xb9\x30\x43\x2a\x6d\x42\x23\x43\xb5\x4e\x41\x1b\xf2\x53\x36\x94\xb7\xf9\x43\x03\xf4\xa2\x84\x5e\x34\x41\x3f\x69\xa3\xb6\x76\xf7\x65\xbc\xa7\xdf\x90\x40\x72\x8a\x53\xe4\x21\xa3\x1c\xed\x2d\x72\x4e\xd6\x58\x29\x04\x1b\x72\xb5\xfc\x5b\xce\x17\xb8\x83\xbf\xf9\xec\x6c\x6c\x5b\xb3\xb3\xf1\xd1\xf1\x9b\xff\xb2\xba\x60\xcd\x27\x9f\xe6\x79\x75\x4f\x41\x1d\x8e\xe2\xec\x72\x7c\xfa\x07\x3e\xe6\xf4\xcc\x70\x29\x9f\xf6\xce\xa7\x1e\xdb\x39\x01\x73\x13\xef\x77\x36\x84\x6f\x1c\x1e\x2f\xb9\x88\xec\x41\x9e\x03\xb3\x8b\xc3\xa5\x60\xc4\xce\xd0\xd7\xe9\x31\xb6\xf5\xdb\x62\x3e\x99\x59\x9d\xf4\x06\x30\xa3\x56\x7f\x8d\x11\x30\xe2\x59\x5d\xc8\x85\xb7\x55\x19\x49\x2c\x36\xb2\x94\xb8\x44\xe8\x97\x02\xc9\x07\x04\x21\xd2\x74\x8c\x2a\x5e\x93\xac\x51\x64\xef\x54\x92\xa2\x64\x65\x20\x96\x72\x67\xe4\x06\x8c\x27\xd4\x1a\x91\x52\x88\x1c\x47\xce\xf2\x2d\xc0\x21\x51\x21\x93\xc1\x7e\x0f\x78\x02\xa3\x72\xf4\x05\x1f\x97\x8c\x44\xad\xc7\xe4\x30\x2a\x5e\xf9\xfe\xa9\xe8\x50\x1b\xf1\x75\x58\x95\x8e\xc0\x07\xd1\x86\x2b\xf7\x73\xf8\x54\x37\x0e\x17\x8f\x01\x3a\x9e\xcf\xc3\x80\xc8\xca\x60\x51\x46\xd1\x2a\xd4\xd0\xba\x9f\x8b\xd2\x0a\x24\xcf\x74\xee\x49\x10\xa3\xdc\xb0\xb2\x57\x27\xe9\x47\x2b\xd7\x11\x13\xcc\x65\x52\xcf\xd6\x8e\xf3\xb7\x56\x79\xcd\x57\x78\x6b\x58\xc0\x8c\xc0\x4a\xbe\x1e\xb2\xaa\x93\x54\x95\x48\x4e\x23\x8d\xd6\x1d\xcf\xe2\xea\x2f\x5c\xce\x98\xfb\x05\x85\xad\x20\x1c\x82\xd5\xeb\xc9\x4e\xba\x0c\x0d\xc6\x05\x25\x5b\x84\xc3\x4a\x92\x50\x7e\x0a\x63\x2c\x12\xf0\xdf\x60\xbd\xad\x50\x48\x56\xdf\x82\x65\x75\x9a\x69\x58\xbd\x1d\x97\x66\xc8\x58\x74\x18\xcd\xc2\x58\x46\x46\x1e\x3e\xc9\x15\x91\x9e\x96\x2b\x71\xa4\x27\xbe\x1d\x77\x12\xa3\xda\xda\x4d\x46\x1a\xda\xa6\x44\xa6\x87\x65\xb5\xed\xc8\xa7\x8d\x7a\x16\x4b\x78\x73\x3c\x22\x88\xda\x42\x65\x21\xda\xea\x0d\xb9\x20\x1b\x9f\x0b\x16\x3d\x3a\x5c\x10\x81\x89\x69\xcb\xb8\xd0\xc4\x6a\xf6\xb2\x55\x80\x0f\x56\x55\xd6\xc4\xdb\x56\xcc\x8d\xb9\xbd\x6f\x98\x32\x7a\xb7\x46\x32\x53\xd5\x53\xfe\xc2\x2f\x31\x56\xa2\x64\xd5\x54\xba\x95\x0c\x1f\x2d\xe8\x42\x99\x3f\xfe\xa8\x5a\xe7\xb9\xfa\xdc\x17\xa6\xed\x4a\x4c\x00\x0b\xb8\xa6\xac\xa0\xea\x25\xd7\xc6\xde\x14\x97\x27\x28\x43\xb1\x70\x03\xdf\xfd\x62\x75\x9b\x22\xe4\xb9\xbf\x32\x5a\x7e\x92\x0d\xfe\x9d\x6e\x35\x6f\x32\x3b\x67\x1e\x0a\x61\xcc\x37\x33\x19\x0e\x4a\x8d\xe8\x82\x95\x7e\x9f\x0a\x7f\x68\x65\xe3\x49\x79\x25\xf2\xc2\xf0\xd9\x9a\x2a\xac\x5e\x32\x5a\x25\x4a\x65\xaf\xa1\x34\x9a\xf0\xa7\xd9\xc0\x14\xb3\xf5\xcf\xd0\x42\xe2\xd5\xaf\x3e\xf2\x95\x46\x0f\x95\x79\xed\x27\x7b\x67\xb3\x5a\x94\x8a\xf8\x62\x94\x54\x8a\x86\x5b\x1e\x21\x2b\x4b\x09\xdd\x31\xa4\x3a\xb5\xb0\x56\x95\x90\x50\x4a\x7b\xb5\xdc\xc3\x96\xc4\xfd\x62\x6b\xfe\x93\x81\x30\x1a\xb2\x30\x4b\xc6\x7b\x6a\x50\x93\xbb\xe7\xfe\xae\x8b\xf3\x9c\x3c\x0b\xcf\xed\x26\xa0\xf1\x6a\xac\x59\xd4\x52\x27\x4f\xc3\xf6\xc4\x15\xa1\x6c\x62\x7f\x76\xda\x32\x7b\x46\xd1\x41\xa4\x4c\xe8\x76\x92\x5a\xac\xf3\x93\xcc\x74\x5c\x90\x48\x58\x5d\xf5\xdd\x5e\xb7\xf8\x08\x74\x0f\x2e\x52\xaf\xc0\x9c\x50\xef\xd9\x78\x6e\x72\x93\x58\xa0\xa6\x17\x8b\xcf\xc6\x96\xd3\x5f\x81\x2b\xe7\xa8\x12\xf3\xa9\x7c\xfc\xbf\x00\x00\x00\xff\xff\x99\xae\x88\x84\x0c\x31\x00\x00") func webdataFnJsBytes() ([]byte, error) { return bindataRead( @@ -89,7 +89,7 @@ func webdataFnJs() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/fn.js", size: 12443, mode: os.FileMode(436), modTime: time.Unix(1529985636, 0)} + info := bindataFileInfo{name: "webdata/fn.js", size: 12556, mode: os.FileMode(436), modTime: time.Unix(1529985773, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -109,7 +109,7 @@ func webdataIconPng() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/icon.png", size: 1578, mode: os.FileMode(436), modTime: time.Unix(1529985636, 0)} + info := bindataFileInfo{name: "webdata/icon.png", size: 1578, mode: os.FileMode(436), modTime: time.Unix(1529985773, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -129,7 +129,7 @@ func webdataIndexHtml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/index.html", size: 1132, mode: os.FileMode(436), modTime: time.Unix(1529985636, 0)} + info := bindataFileInfo{name: "webdata/index.html", size: 1132, mode: os.FileMode(436), modTime: time.Unix(1529985773, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -149,7 +149,7 @@ func webdataMainCss() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/main.css", size: 1724, mode: os.FileMode(436), modTime: time.Unix(1529985636, 0)} + info := bindataFileInfo{name: "webdata/main.css", size: 1724, mode: os.FileMode(436), modTime: time.Unix(1529985773, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -169,7 +169,7 @@ func webdataSha256Js() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/sha256.js", size: 9380, mode: os.FileMode(436), modTime: time.Unix(1529985636, 0)} + info := bindataFileInfo{name: "webdata/sha256.js", size: 9380, mode: os.FileMode(436), modTime: time.Unix(1529985773, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -189,7 +189,7 @@ func webdataTexPng() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/tex.png", size: 3878, mode: os.FileMode(436), modTime: time.Unix(1529985636, 0)} + info := bindataFileInfo{name: "webdata/tex.png", size: 3878, mode: os.FileMode(436), modTime: time.Unix(1529985773, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/webdata/fn.js b/webdata/fn.js index 1cb654b..0d154c1 100644 --- a/webdata/fn.js +++ b/webdata/fn.js @@ -312,7 +312,11 @@ window.addEventListener("load", function() { keyboard.style.display = "none"; text.value = ""; - ws = new WebSocket("ws://" + location.hostname + + var wsProtocol = "wss:"; + if (location.protocol == "http:") { + wsProtocol = "ws:"; + } + ws = new WebSocket(wsProtocol + "//" + location.hostname + (location.port ? ":" + location.port : "") + "/ws"); From 82470705fdd5385d054d6228940f5f2c9b5843d6 Mon Sep 17 00:00:00 2001 From: Unrud Date: Tue, 26 Jun 2018 06:04:49 +0200 Subject: [PATCH 010/321] bump version to 0.0.3 --- desktop/remote-touchpad.appdata.xml | 7 ++++--- main.go | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/desktop/remote-touchpad.appdata.xml b/desktop/remote-touchpad.appdata.xml index 82c7901..4808eb4 100644 --- a/desktop/remote-touchpad.appdata.xml +++ b/desktop/remote-touchpad.appdata.xml @@ -18,18 +18,19 @@ https://github.com/Unrud/remote-touchpad Unrud + - https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.2/screenshots/1.png + https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.3/screenshots/1.png - https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.2/screenshots/2.png + https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.3/screenshots/2.png - https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.2/screenshots/3.png + https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.3/screenshots/3.png diff --git a/main.go b/main.go index 344d324..3af536e 100644 --- a/main.go +++ b/main.go @@ -44,7 +44,7 @@ const ( authenticationRateBurst int = 10 challengeLength int = 8 defaultBind string = ":0" - version string = "0.0.2" + version string = "0.0.3" ) func processCommand(plugin Plugin, command string) error { From ad17454c532b226bc069e7636aa68f18f4d5f4be Mon Sep 17 00:00:00 2001 From: Unrud Date: Thu, 28 Jun 2018 03:04:03 +0200 Subject: [PATCH 011/321] Add links to binaries --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 4bda6c8..17d955c 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,11 @@ To take control open the displayed URL or scan the QR code. Supports Linux/X11 and Windows. +## Installation + + * [Flatpak](https://flathub.org/apps/details/com.github.unrud.RemoteTouchpad) + * [Windows](https://github.com/Unrud/remote-touchpad/releases/latest) + ## Screenshots ![screenshot 1](https://raw.githubusercontent.com/Unrud/remote-touchpad/master/screenshots/1.png) From 931dff5f049a56fd5ab797ed408bd464ee575ab6 Mon Sep 17 00:00:00 2001 From: Unrud Date: Sun, 22 Jul 2018 10:34:47 +0200 Subject: [PATCH 012/321] set correct license --- desktop/remote-touchpad.appdata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/remote-touchpad.appdata.xml b/desktop/remote-touchpad.appdata.xml index 4808eb4..4f2b2b0 100644 --- a/desktop/remote-touchpad.appdata.xml +++ b/desktop/remote-touchpad.appdata.xml @@ -2,7 +2,7 @@ remote-touchpad.desktop CC0-1.0 - AGPL-3.0-or-later + GPL-3.0-or-later Remote Touchpad Control mouse and keyboard from a smartphone From 5ef0e86ab873424f96a390e459d7f7c045b0a2e8 Mon Sep 17 00:00:00 2001 From: Unrud Date: Sun, 22 Jul 2018 10:36:28 +0200 Subject: [PATCH 013/321] add setting for mouse polling interval --- bindata.generated.go | 4 ++-- main.go | 8 ++++++++ webdata/fn.js | 24 ++++++++++++++++++++---- 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/bindata.generated.go b/bindata.generated.go index 5528843..d66bb51 100644 --- a/bindata.generated.go +++ b/bindata.generated.go @@ -74,7 +74,7 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var _webdataFnJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3a\xdd\x6f\xdb\xb6\xb7\xef\xf9\x2b\x4e\xf5\x50\xc8\x8d\x23\xdb\x29\x7a\x37\xd4\x75\xee\xf5\x52\x77\x09\x96\x34\x81\xed\x6c\x35\x82\xa0\xa0\xa5\x63\x5b\xab\x4c\x6a\x22\x15\x27\xbd\xcd\xff\x7e\x41\x7d\x52\x14\x25\xa7\x1d\xfa\x72\xf1\x33\xb0\x4e\x21\xcf\x39\x3c\xdf\x1f\x94\x7a\xaf\x0e\xe0\x15\x00\xc0\x29\x0b\x1f\x23\x7f\xbd\x11\x60\xbb\x1d\x38\xee\x0f\x7e\x85\x1b\x1a\xc5\xde\xbb\x58\xfe\xfb\x3f\x2c\x16\x01\x63\x5f\x1c\x97\x6d\x4f\x0e\x20\x47\x9a\x6f\x7c\x0e\x2b\x3f\x40\xf0\x39\x84\x24\x12\xc0\x56\x30\xc5\x2d\x13\x78\x34\x67\xb1\xbb\x09\x89\xe7\x94\xe0\x1f\x18\x5b\x92\x48\xc2\xae\x22\x44\xe0\x6c\x25\x76\x24\xc2\xb7\xf0\xc8\x62\x70\x09\x85\x08\x3d\x9f\x8b\xc8\x5f\xc6\x02\xc1\x17\x40\xa8\xd7\x63\x11\x6c\x99\xe7\xaf\x1e\x33\x22\xbe\x80\x98\x7a\x18\x81\xd8\x20\x08\x8c\xb6\x5c\x1e\x2a\xff\xf8\xfd\xe3\x0d\xfc\x8e\x14\x23\x12\xc0\x75\xbc\x0c\x7c\x17\x2e\x7c\x17\x29\x47\x20\x1c\x42\xb9\xc2\x37\xe8\xc1\x32\x27\x25\x91\x3e\x48\x4e\x66\x19\x27\xf0\x81\xc5\xd4\x23\xc2\x67\xb4\x0b\xe8\x8b\x0d\x46\x70\x8f\x11\xf7\x19\x85\xd7\xf9\x31\x19\xcd\x2e\xb0\x28\xa3\x63\x13\x21\x45\x88\x80\x85\x12\xb5\x03\x84\x3e\x42\x40\x44\x89\xad\x28\x41\x53\x8f\xd4\x46\x29\xb4\x07\x3e\x4d\x0e\xd9\xb0\x10\x41\x6c\x88\x90\xf2\xee\xfc\x20\x80\x25\x42\xcc\x71\x15\x07\xdd\x8c\xd0\x32\x16\xf0\xd7\xf9\xfc\xec\xea\x66\x0e\xe3\x8f\x0b\xf8\x6b\x3c\x9d\x8e\x3f\xce\x17\x43\xd8\xf9\x62\xc3\x62\x01\x78\x8f\x29\x35\x7f\x1b\x06\x3e\x7a\xb0\x23\x51\x44\xa8\x78\x04\xb6\xca\x88\x5c\x4e\xa6\xa7\x67\xe3\x8f\xf3\xf1\x6f\xe7\x17\xe7\xf3\x05\xb0\x08\x3e\x9c\xcf\x3f\x4e\x66\x33\xf8\x70\x35\x85\x31\x5c\x8f\xa7\xf3\xf3\xd3\x9b\x8b\xf1\x14\xae\x6f\xa6\xd7\x57\xb3\x89\x03\x30\x43\xc9\x1c\x66\x34\x5a\xf4\xbe\x4a\xac\x17\x21\x78\x28\x88\x1f\xf0\x52\x0f\x0b\x16\x03\xdf\xb0\x38\xf0\x60\x43\xee\x11\x22\x74\xd1\xbf\x47\x0f\x08\xb8\x2c\x7c\xdc\x6f\xd3\x94\x0c\x09\x18\x5d\x27\x02\x67\xde\xe5\x00\x9c\xaf\x80\x32\xd1\x05\x8e\x08\xef\x36\x42\x84\x6f\x7b\xbd\xdd\x6e\xe7\xac\x69\xec\xb0\x68\xdd\x0b\x52\x02\xbc\x77\x22\xd9\xe9\x1d\x1c\x40\xaf\x07\xb7\x03\x48\x4c\xd2\x85\xe3\xf4\x01\x79\x17\x5e\xe7\x8f\x77\x07\x2e\xa3\x5c\xc0\xfc\xea\xe6\xf4\xec\xf3\xe5\xd5\x9f\x93\xcf\xf3\xb3\xe9\x64\x76\x76\x75\xf1\x1e\x46\x70\x3b\xe8\x77\x61\xf0\x46\xfe\x77\x37\xac\x80\xce\xcf\x2f\x27\xd2\x40\x23\x38\x7e\xd3\xcf\xb7\x12\xfc\xcb\x9b\x0b\xb9\x3c\xc8\x17\x67\xa7\xd3\xab\x8b\x8b\x7c\xb9\xef\xf4\xdf\x0c\x0f\x24\x5f\xb7\xe1\x43\x8f\x77\x61\x1b\x07\xe2\xae\x0b\x8e\xe3\xe4\xbc\x5c\x5f\x9d\x7f\x9c\x4f\xa6\x9f\xc7\xa7\xa7\x93\x8b\xc9\x74\x3c\x3f\xbf\xfa\x28\x79\xb9\xed\x77\xa1\x7f\xd7\x85\xdb\x5f\x7f\xe9\xc2\x40\x3e\x0c\x7e\x79\x9d\x3d\xbd\x79\xf3\xba\x0b\xc7\x77\x05\x93\x37\xd7\xef\xc7\xf3\xc9\xe7\x84\xd0\x9f\xe3\x0b\x18\x81\xc2\xe5\xf8\xd3\xe7\xf3\xf7\x17\x93\xcf\x29\xd0\x4c\x32\xdb\x1f\x1e\x1c\xdc\x93\x08\x76\x7c\x98\xfc\x3f\x24\x5e\xf1\x10\x90\x25\x06\xd9\xbe\x90\x6a\xbb\x64\xd2\x9e\x23\x58\x91\x80\xe3\xb0\x5c\x9f\x09\x99\x29\x46\xd0\x57\xd6\x2e\x08\x17\x13\xea\x69\xab\x53\x0c\x90\x70\xf4\x4e\x59\x4c\x15\x0c\x46\xd7\xcc\xa7\xeb\xcc\x36\x52\xe6\xbb\x74\x63\xcb\xee\xf1\xd3\x2c\xde\x96\xa0\x72\x65\x51\x59\xe1\x6e\xc4\x82\xe0\x93\x61\xad\x0a\xe7\x45\x64\xbd\xf6\xe9\xba\x2a\x40\xbe\x3a\xf7\xb7\x28\x43\x6c\x04\x34\x0e\x82\x74\x2f\x0e\x3d\x22\x50\xee\x44\x95\x75\xdf\x0b\xf0\x26\xd9\xe3\x29\xf9\x83\x55\x4c\x5d\x99\x29\x60\x15\x07\x01\x77\x23\x44\x3a\xa1\x64\x19\xa0\x67\x77\xe0\x7f\x0f\x64\x50\x45\x28\xe2\x88\x82\xed\x31\x37\xde\x22\x15\x4e\x0d\x14\xbe\x7d\x4b\x20\xe5\xaf\x80\xda\xe1\xf2\x8b\x2f\x3e\x3c\x0b\x76\xcb\xbe\x4a\xc0\xd9\x7e\x40\xde\x4a\x30\x51\x4f\x67\x78\xf0\xa4\x08\x16\xe1\x3f\x31\x72\x85\x11\x1b\x73\xc9\xfc\x15\xd8\xe8\xd4\x00\xf2\x6d\xf9\x33\x6c\xdb\x9d\x61\xb2\xfd\x04\x18\x70\xcc\x88\xa4\xd2\x4e\xdb\x49\x35\x00\x19\x09\x6e\xd9\x57\x05\x70\x66\xa0\x66\x82\x30\x93\xe2\x7b\xf8\x32\x00\x14\x84\x2a\xba\xc4\x07\xbf\x02\xa3\xe8\xb1\x30\x51\x15\x46\x3d\xa8\x01\xc4\xc0\xb3\xe6\x44\x93\xfd\x24\x4d\x80\x6d\x84\xb7\xec\xeb\x29\xa1\x2e\x06\x66\xed\xb6\xc1\xb5\x92\xe5\xcf\xe0\x55\x07\x32\xeb\x5a\x89\xb2\x00\x25\xde\xb3\x02\x32\x05\x7d\x5e\x40\xb6\xc0\x56\x03\xb2\x0d\x90\xb7\x12\x94\xa9\x47\x8b\x47\xe2\x79\x25\x8a\xbb\x21\x74\x8d\x93\x7b\xa4\xe2\xc2\xe7\x42\x96\x57\x3b\xc8\x1e\x8c\xde\x55\x17\xf5\xc5\x68\x94\xb4\x61\x2b\x9f\xa2\x67\xd4\x37\xf1\xbc\xea\x09\xd6\x4a\x63\xc0\xea\x42\x71\xea\x3e\x67\xac\xcb\xfb\x23\x1c\xa4\xb4\x7e\x8c\x0f\xa3\x71\x7e\x84\x89\x2d\xfb\xfa\x83\x1c\x18\xac\xfe\x23\x0c\x5c\xce\x4a\x3a\xa7\x4d\xe7\x57\xbc\x47\x76\x64\x49\xb5\xb5\x45\xda\x23\x09\x7f\x8b\x33\x41\xb6\xa1\x16\x1d\xe5\xf9\xbe\x87\x54\xf8\x2b\x1f\xa3\xb7\x69\x2d\x77\xca\x95\x6e\x01\x15\x92\x35\x7e\xca\x01\x92\x3f\xb4\xbd\xa4\x57\x68\x01\x58\xa8\x7b\x0b\x6d\xaf\x86\xac\x00\x14\x12\xbc\x2d\x1f\x53\xc9\xab\x81\xa3\xf6\x1a\xe7\xd4\xc3\x87\xdf\x1e\xcf\x3d\xdb\xf7\xe6\xec\x83\x4f\x0b\x8d\xcb\x3e\xd7\x4e\x6a\x7d\x52\xe1\xc1\x87\x77\x5a\x97\xe2\x04\x48\xd7\x62\x33\x04\xff\xf0\x50\xb5\x53\xda\x20\xc0\x48\x03\xbf\xf5\xef\x14\x85\x0d\x0f\x4a\xbd\xae\xc0\x96\xf0\x23\xd0\x79\xc8\x7f\x99\x29\xfc\x61\xb1\xfa\x74\x50\xfe\x9b\xed\x1e\x0d\xaa\x62\xba\x24\x70\x63\x39\xb2\x5c\x33\x9f\x0a\x8c\xc6\xae\x8b\x01\x46\xc9\x28\x74\x19\x07\xc2\xe6\x21\x62\xab\xb8\xa6\x76\xb4\x49\x68\x7e\x0c\x23\x23\xc2\xad\x7f\x77\xdb\xbf\x2b\x39\x27\x6d\x80\x03\x05\x50\xaa\x85\x1f\xc3\xbb\x11\x54\x18\xcd\x7f\x2e\xa3\xc2\xa7\x31\xea\x3a\x29\x34\x2a\x15\xda\x6f\xd0\x24\x39\x36\xa1\xf1\x41\x23\x6b\x47\x03\x4d\x8a\x76\x50\x55\x8e\xbc\xca\xa4\xfa\x3e\xe2\x83\x0e\xf4\xa4\x64\xf2\xa9\x03\xaf\xc0\x26\xc7\x47\x64\xd0\x81\x43\x20\x83\xa1\x62\x56\x29\x44\x8b\x05\xe0\xa4\x2a\x5d\x76\x8c\x91\xa7\x16\x32\x2a\xb7\x15\x77\x1a\xe8\x41\xf3\xbe\xda\x27\x17\x55\xb4\xa9\x7f\x96\x7b\x3b\xee\x70\xa4\x9e\x6d\x2d\x07\xc3\xbe\xa5\x15\xb0\xb4\xb9\x96\x23\xc5\x98\x7a\xb3\xa4\x5f\xaf\x74\x42\x95\xe6\x3b\xa5\xaa\x0a\xcc\xe8\x4d\x01\x90\xf0\x53\x75\x1d\x7d\x0e\x3a\x81\x3e\xbc\x7c\x59\xed\xdc\x0d\x0e\x52\xed\xf8\x39\x8a\x73\x19\x3b\xf7\x24\xb0\xb5\xf3\xba\xfa\xa4\xd5\xa9\x47\x67\x55\x81\x1a\xbb\xb9\xa4\x0a\x43\x87\xc9\xf0\x98\xe7\x90\x64\xf4\x81\x11\x5c\x12\xb1\x71\x44\x14\x53\xd7\xce\xa7\xa1\x4e\x15\x6a\x51\x87\x5a\x94\x50\x52\x1b\xc9\x2e\x59\xf2\x94\x42\x07\x4e\x46\x30\x80\x6f\xdf\xa0\xb2\xbe\x48\xd7\x55\x95\x14\xe3\xd7\xd1\x28\x7d\x1e\x56\xb6\x16\xca\xd6\x42\xd1\xbf\x3e\x1e\xe5\x1b\x85\x3f\x6c\x2d\x38\xcc\x04\x3c\x04\x6b\x98\xff\xb5\xe8\xa8\x9e\xa8\xcc\x76\x55\x01\xcb\x81\x4f\x51\x44\x36\xf1\x99\x20\x9b\x94\x91\xd1\x31\xa8\x23\xc3\xab\x2b\x44\x99\x35\x8f\x46\xf9\x5f\x43\x6d\x7b\x51\xd9\xfe\x2e\xc5\x70\xa9\x8a\x5c\xe8\x5c\x35\x39\x37\x7a\x7a\x50\xc9\x9d\x8c\x6a\xe3\xbd\xca\xb7\x1b\x20\x89\x0a\x5f\x56\xbc\x5c\x71\x5b\xd3\xb4\x5b\x77\xe4\x0d\xa1\x5e\x80\x49\x21\xb6\xf1\x5e\xa8\x11\x6b\xac\x8f\xb5\x30\xab\xdc\x18\xe0\xbd\x70\x8a\x6a\x3d\xac\xc2\x68\xb7\x0d\x95\x3d\xc3\x3d\x42\xbe\x5f\x1f\xf3\xab\x2e\x25\x8a\x4b\x06\x79\x78\xda\xae\x79\x19\xcf\xc3\xc6\x62\x28\xda\x8b\xbe\x14\x5f\x94\x85\x5e\x90\x68\x8d\x69\x2f\x17\x12\x4f\x26\x9e\xc6\xcd\xe4\x92\xe5\x7b\xaa\x9b\xe4\x3a\x8c\x50\x76\x80\xef\x71\x45\x64\x29\x57\x8c\xa8\xd9\x20\x8c\xf9\xc6\xd6\x9a\xbd\x84\x8b\x6e\x55\xf5\x9d\x8e\xa6\xe0\xca\xf5\x8d\x2a\xe5\x8b\x5c\xbf\x3a\xcf\xca\x55\x4d\x73\xca\xaa\x65\x8f\xb6\xcc\x55\x95\xbb\x72\xcd\xd3\x96\x0d\xb4\x40\x6c\x4f\x08\xb9\x58\x7a\x19\x7b\x61\x28\x39\x45\x20\xe5\x49\x5c\x43\xd2\x64\x6c\xab\x8c\x06\x67\x15\x51\xdd\xde\xa6\xd0\x9b\x50\x4f\x0d\xbc\x9f\xe6\xd2\x69\x1f\xfb\xa0\x35\xb2\x65\xc7\x2c\x4c\x7d\xad\xa6\x55\x89\xff\xae\x5e\x65\xdb\xdc\x5b\x73\x60\x1e\x06\xbe\x8b\x92\x50\x17\x06\xba\x93\x56\xb2\xc0\xe1\x61\xa3\x0b\x1b\xb2\x4c\x99\x45\x0d\xf9\xe4\xc4\x78\x2d\x9c\x29\xaa\x96\xcb\xf2\x3c\x55\x1a\xf0\xe9\x19\x29\xb1\x48\x0a\xda\xd1\xb2\x14\xbd\x7c\x69\x74\x12\xf5\xe4\x5a\x6b\xf5\x13\xce\x7d\xa1\x88\xf7\xf2\x65\x55\x8b\x70\xa4\x26\xf2\x77\xd5\xcb\x71\xdd\x8d\x96\xb1\x10\x8c\xd6\x73\x89\x29\x95\x6b\x05\x17\xd2\xf7\x22\x29\xfa\x40\x71\x98\x72\x9c\x36\x53\x39\x6e\xa4\xf2\x5a\xa1\xb2\x87\xc8\xeb\x46\x22\xc6\x09\xa2\x34\x8a\x2c\xdb\x19\xac\xac\xe2\x03\x4b\x0b\x8c\x9c\x8e\x41\xda\x7a\xda\xe0\x28\xf2\x8c\x53\xeb\xc3\xbb\x9a\xe6\x6b\x1a\xaa\x12\x6f\xe4\xb0\x6f\xed\x69\x60\xd3\xe4\x93\x5e\xe2\xfd\x27\xff\xfc\xeb\xfc\x03\x6d\xd9\xa3\xae\x77\x09\xa5\x6b\x9d\xc7\xdb\x4f\x65\x4c\x65\x2b\x8b\xea\xca\xff\x27\xcb\x24\x6f\x6b\x7c\x2e\xf2\x8a\xce\xff\x89\x44\xda\xcc\x87\x6c\xa7\x1e\x9a\xdc\x2a\xc1\x51\xed\x02\xc6\x7b\xc8\xf6\x92\xa4\xd5\x95\x29\xe2\x10\x9a\x08\x2c\x5a\x08\x2c\x0a\x02\x9a\x54\xe6\xb4\xdb\x5a\x4e\xe4\xdc\x91\x48\x65\x86\xba\x35\x93\x3c\x82\xc1\x9d\xae\xbb\x06\x77\x32\x28\x51\x9a\xee\x7b\xf4\x35\xac\xa2\x3f\xd6\xd1\x5b\xb5\x55\x45\x97\x81\xf0\x1e\x03\x41\xf4\xc0\x68\x20\x61\x08\x9c\xc4\xf3\x0f\x47\x52\x90\x57\xfb\x2f\xba\x8a\xa9\xce\x7b\xe8\x40\x4f\x39\xff\x15\x0c\xfa\xfd\x7e\xa7\x42\x77\x91\xd0\x7d\xfc\x3e\xba\x8f\x7b\xe8\x36\x2a\xd6\x60\x87\xfd\x58\x0b\x83\xfa\xdb\xb1\x4a\x15\x3f\xa7\x17\x6a\x2f\xf8\x79\x56\x3b\x19\x35\xd7\xfc\xd6\x0e\x24\x99\xb4\xf7\x0e\x11\x87\xa3\xd4\xca\xaf\xca\x77\xeb\x0d\x13\x44\x0a\xb9\x30\x43\x2a\x6d\x42\x23\x43\xb5\x4e\x41\x1b\xf2\x53\x36\x94\xb7\xf9\x43\x03\xf4\xa2\x84\x5e\x34\x41\x3f\x69\xa3\xb6\x76\xf7\x65\xbc\xa7\xdf\x90\x40\x72\x8a\x53\xe4\x21\xa3\x1c\xed\x2d\x72\x4e\xd6\x58\x29\x04\x1b\x72\xb5\xfc\x5b\xce\x17\xb8\x83\xbf\xf9\xec\x6c\x6c\x5b\xb3\xb3\xf1\xd1\xf1\x9b\xff\xb2\xba\x60\xcd\x27\x9f\xe6\x79\x75\x4f\x41\x1d\x8e\xe2\xec\x72\x7c\xfa\x07\x3e\xe6\xf4\xcc\x70\x29\x9f\xf6\xce\xa7\x1e\xdb\x39\x01\x73\x13\xef\x77\x36\x84\x6f\x1c\x1e\x2f\xb9\x88\xec\x41\x9e\x03\xb3\x8b\xc3\xa5\x60\xc4\xce\xd0\xd7\xe9\x31\xb6\xf5\xdb\x62\x3e\x99\x59\x9d\xf4\x06\x30\xa3\x56\x7f\x8d\x11\x30\xe2\x59\x5d\xc8\x85\xb7\x55\x19\x49\x2c\x36\xb2\x94\xb8\x44\xe8\x97\x02\xc9\x07\x04\x21\xd2\x74\x8c\x2a\x5e\x93\xac\x51\x64\xef\x54\x92\xa2\x64\x65\x20\x96\x72\x67\xe4\x06\x8c\x27\xd4\x1a\x91\x52\x88\x1c\x47\xce\xf2\x2d\xc0\x21\x51\x21\x93\xc1\x7e\x0f\x78\x02\xa3\x72\xf4\x05\x1f\x97\x8c\x44\xad\xc7\xe4\x30\x2a\x5e\xf9\xfe\xa9\xe8\x50\x1b\xf1\x75\x58\x95\x8e\xc0\x07\xd1\x86\x2b\xf7\x73\xf8\x54\x37\x0e\x17\x8f\x01\x3a\x9e\xcf\xc3\x80\xc8\xca\x60\x51\x46\xd1\x2a\xd4\xd0\xba\x9f\x8b\xd2\x0a\x24\xcf\x74\xee\x49\x10\xa3\xdc\xb0\xb2\x57\x27\xe9\x47\x2b\xd7\x11\x13\xcc\x65\x52\xcf\xd6\x8e\xf3\xb7\x56\x79\xcd\x57\x78\x6b\x58\xc0\x8c\xc0\x4a\xbe\x1e\xb2\xaa\x93\x54\x95\x48\x4e\x23\x8d\xd6\x1d\xcf\xe2\xea\x2f\x5c\xce\x98\xfb\x05\x85\xad\x20\x1c\x82\xd5\xeb\xc9\x4e\xba\x0c\x0d\xc6\x05\x25\x5b\x84\xc3\x4a\x92\x50\x7e\x0a\x63\x2c\x12\xf0\xdf\x60\xbd\xad\x50\x48\x56\xdf\x82\x65\x75\x9a\x69\x58\xbd\x1d\x97\x66\xc8\x58\x74\x18\xcd\xc2\x58\x46\x46\x1e\x3e\xc9\x15\x91\x9e\x96\x2b\x71\xa4\x27\xbe\x1d\x77\x12\xa3\xda\xda\x4d\x46\x1a\xda\xa6\x44\xa6\x87\x65\xb5\xed\xc8\xa7\x8d\x7a\x16\x4b\x78\x73\x3c\x22\x88\xda\x42\x65\x21\xda\xea\x0d\xb9\x20\x1b\x9f\x0b\x16\x3d\x3a\x5c\x10\x81\x89\x69\xcb\xb8\xd0\xc4\x6a\xf6\xb2\x55\x80\x0f\x56\x55\xd6\xc4\xdb\x56\xcc\x8d\xb9\xbd\x6f\x98\x32\x7a\xb7\x46\x32\x53\xd5\x53\xfe\xc2\x2f\x31\x56\xa2\x64\xd5\x54\xba\x95\x0c\x1f\x2d\xe8\x42\x99\x3f\xfe\xa8\x5a\xe7\xb9\xfa\xdc\x17\xa6\xed\x4a\x4c\x00\x0b\xb8\xa6\xac\xa0\xea\x25\xd7\xc6\xde\x14\x97\x27\x28\x43\xb1\x70\x03\xdf\xfd\x62\x75\x9b\x22\xe4\xb9\xbf\x32\x5a\x7e\x92\x0d\xfe\x9d\x6e\x35\x6f\x32\x3b\x67\x1e\x0a\x61\xcc\x37\x33\x19\x0e\x4a\x8d\xe8\x82\x95\x7e\x9f\x0a\x7f\x68\x65\xe3\x49\x79\x25\xf2\xc2\xf0\xd9\x9a\x2a\xac\x5e\x32\x5a\x25\x4a\x65\xaf\xa1\x34\x9a\xf0\xa7\xd9\xc0\x14\xb3\xf5\xcf\xd0\x42\xe2\xd5\xaf\x3e\xf2\x95\x46\x0f\x95\x79\xed\x27\x7b\x67\xb3\x5a\x94\x8a\xf8\x62\x94\x54\x8a\x86\x5b\x1e\x21\x2b\x4b\x09\xdd\x31\xa4\x3a\xb5\xb0\x56\x95\x90\x50\x4a\x7b\xb5\xdc\xc3\x96\xc4\xfd\x62\x6b\xfe\x93\x81\x30\x1a\xb2\x30\x4b\xc6\x7b\x6a\x50\x93\xbb\xe7\xfe\xae\x8b\xf3\x9c\x3c\x0b\xcf\xed\x26\xa0\xf1\x6a\xac\x59\xd4\x52\x27\x4f\xc3\xf6\xc4\x15\xa1\x6c\x62\x7f\x76\xda\x32\x7b\x46\xd1\x41\xa4\x4c\xe8\x76\x92\x5a\xac\xf3\x93\xcc\x74\x5c\x90\x48\x58\x5d\xf5\xdd\x5e\xb7\xf8\x08\x74\x0f\x2e\x52\xaf\xc0\x9c\x50\xef\xd9\x78\x6e\x72\x93\x58\xa0\xa6\x17\x8b\xcf\xc6\x96\xd3\x5f\x81\x2b\xe7\xa8\x12\xf3\xa9\x7c\xfc\xbf\x00\x00\x00\xff\xff\x99\xae\x88\x84\x0c\x31\x00\x00") +var _webdataFnJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3a\x5b\x6f\xdb\x38\x97\xef\xfe\x15\xa7\x7a\x28\xe4\xc6\xf1\x25\x45\x77\x06\x75\x9d\x5d\x4f\xea\x4c\x82\xc9\x0d\xb6\xb3\x53\x23\x08\x0a\x5a\x3a\xb6\x35\x95\x49\x8d\x48\xc5\x49\xb7\xf9\xef\x0b\xea\x4a\x51\x94\x9c\x76\xbe\xbe\x7c\xf8\x0c\x4c\x47\x21\xcf\x39\x3c\xf7\x0b\xa5\xde\x9b\x16\xbc\x01\x00\x38\x61\xc1\x53\xe8\xad\x37\x02\x6c\xa7\x0d\x47\xfd\xc1\xaf\x70\x4b\xc3\xc8\xfd\x10\xc9\x7f\xff\x87\x45\xc2\x67\xec\x4b\xd7\x61\xdb\xe3\x16\x64\x48\xf3\x8d\xc7\x61\xe5\xf9\x08\x1e\x87\x80\x84\x02\xd8\x0a\xa6\xb8\x65\x02\x0f\xe7\x2c\x72\x36\x01\x71\xbb\x05\xf8\x29\x63\x4b\x12\x4a\xd8\x55\x88\x08\x9c\xad\xc4\x8e\x84\xf8\x1e\x9e\x58\x04\x0e\xa1\x10\xa2\xeb\x71\x11\x7a\xcb\x48\x20\x78\x02\x08\x75\x7b\x2c\x84\x2d\x73\xbd\xd5\x53\x4a\xc4\x13\x10\x51\x17\x43\x10\x1b\x04\x81\xe1\x96\xcb\x43\xe5\x1f\xbf\x5f\xdd\xc2\xef\x48\x31\x24\x3e\xdc\x44\x4b\xdf\x73\xe0\xc2\x73\x90\x72\x04\xc2\x21\x90\x2b\x7c\x83\x2e\x2c\x33\x52\x12\xe9\x54\x72\x32\x4b\x39\x81\x53\x16\x51\x97\x08\x8f\xd1\x0e\xa0\x27\x36\x18\xc2\x03\x86\xdc\x63\x14\xde\x66\xc7\xa4\x34\x3b\xc0\xc2\x94\x8e\x4d\x84\x14\x21\x04\x16\x48\xd4\x36\x10\xfa\x04\x3e\x11\x05\xb6\xa2\x04\x4d\x3d\x52\x1b\x85\xd0\x2e\x78\x34\x3e\x64\xc3\x02\x04\xb1\x21\x42\xca\xbb\xf3\x7c\x1f\x96\x08\x11\xc7\x55\xe4\x77\x52\x42\xcb\x48\xc0\x9f\xe7\xf3\xb3\xeb\xdb\x39\x8c\xaf\x16\xf0\xe7\x78\x3a\x1d\x5f\xcd\x17\x43\xd8\x79\x62\xc3\x22\x01\xf8\x80\x09\x35\x6f\x1b\xf8\x1e\xba\xb0\x23\x61\x48\xa8\x78\x02\xb6\x4a\x89\x5c\x4e\xa6\x27\x67\xe3\xab\xf9\xf8\xb7\xf3\x8b\xf3\xf9\x02\x58\x08\xa7\xe7\xf3\xab\xc9\x6c\x06\xa7\xd7\x53\x18\xc3\xcd\x78\x3a\x3f\x3f\xb9\xbd\x18\x4f\xe1\xe6\x76\x7a\x73\x3d\x9b\x74\x01\x66\x28\x99\xc3\x94\x46\x83\xde\x57\xb1\xf5\x42\x04\x17\x05\xf1\x7c\x5e\xe8\x61\xc1\x22\xe0\x1b\x16\xf9\x2e\x6c\xc8\x03\x42\x88\x0e\x7a\x0f\xe8\x02\x01\x87\x05\x4f\xfb\x6d\x9a\x90\x21\x3e\xa3\xeb\x58\xe0\xd4\xbb\xba\x00\xe7\x2b\xa0\x4c\x74\x80\x23\xc2\x87\x8d\x10\xc1\xfb\x5e\x6f\xb7\xdb\x75\xd7\x34\xea\xb2\x70\xdd\xf3\x13\x02\xbc\x77\x2c\xd9\xe9\xb5\x5a\xd0\xeb\xc1\xdd\x00\x62\x93\x74\xe0\x28\x79\x40\xde\x81\xb7\xd9\xe3\x7d\xcb\x61\x94\x0b\x98\x5f\xdf\x9e\x9c\x7d\xbe\xbc\xfe\xdf\xc9\xe7\xf9\xd9\x74\x32\x3b\xbb\xbe\xf8\x08\x23\xb8\x1b\xf4\x3b\x30\x78\x27\xff\xbb\x1f\x96\x40\xe7\xe7\x97\x13\x69\xa0\x11\x1c\xbd\xeb\x67\x5b\x31\xfe\xe5\xed\x85\x5c\x1e\x64\x8b\xb3\x93\xe9\xf5\xc5\x45\xb6\xdc\xef\xf6\xdf\x0d\x5b\x92\xaf\xbb\xe0\xb1\xc7\x3b\xb0\x8d\x7c\x71\xdf\x81\x6e\xb7\x9b\xf1\x72\x73\x7d\x7e\x35\x9f\x4c\x3f\x8f\x4f\x4e\x26\x17\x93\xe9\x78\x7e\x7e\x7d\x25\x79\xb9\xeb\x77\xa0\x7f\xdf\x81\xbb\x5f\x7f\xe9\xc0\x40\x3e\x0c\x7e\x79\x9b\x3e\xbd\x7b\xf7\xb6\x03\x47\xf7\x39\x93\x97\xe3\x4f\x9f\xcf\x3f\x5e\x4c\x3e\xdf\xde\x7c\x1c\xcf\x27\x33\xc9\x50\x7f\xd8\x6a\x3d\x90\x10\x76\x7c\x18\xff\x3f\x20\x6e\xfe\xe0\x93\x25\xfa\xe9\xbe\x90\xaa\xb9\x64\xd2\x66\x23\x58\x11\x9f\xe3\xb0\x58\x9f\x09\x99\x0d\x46\xd0\x57\xd6\x2e\x08\x17\x13\xea\x6a\xab\x53\xf4\x91\x70\x74\x4f\x58\x44\x15\x0c\x46\xd7\xcc\xa3\xeb\x54\xff\x52\xae\xfb\x64\x63\xcb\x1e\xf0\xd3\x2c\xda\x16\xa0\x72\x65\x51\x5a\xe1\x4e\xc8\x7c\xff\x93\x61\xad\x0c\xe7\x86\x64\xbd\xf6\xe8\xba\x2c\x40\xb6\x3a\xf7\xb6\x28\xc3\x68\x04\x34\xf2\xfd\x64\x2f\x0a\x5c\x22\x50\xee\x84\x86\xf5\x73\x2a\x30\x7c\x20\x7e\x71\x82\xe7\xfa\x78\x1b\xef\xf1\x64\xb1\xb5\x8a\xa8\x23\xb3\x04\xac\x22\xdf\xe7\x4e\x88\x48\x27\x94\x2c\x7d\x74\xed\x36\xfc\x5f\x4b\x06\x54\x88\x22\x0a\x29\xd8\x2e\x73\xa2\x2d\x52\xd1\xad\x80\xc2\xb7\x6f\x31\xa4\xfc\xe5\x50\x3b\x5c\x7e\xf1\xc4\xe9\x8b\x60\xb7\xec\xab\x04\x9c\xed\x07\xe4\x8d\x04\x63\xb5\xb5\x87\xad\x67\x45\xb0\x10\xff\x8e\x90\x2b\x8c\xd8\x98\x49\xe6\xad\xc0\xc6\x6e\x05\x20\xdb\x96\x3f\xc3\xb6\xdd\x1e\xc6\xdb\xcf\x80\x3e\xc7\x94\x48\x22\xed\xb4\x99\x54\x0d\x90\x91\xe0\x96\x7d\x55\x00\x67\x06\x6a\x26\x08\x33\x29\xbe\x87\x2f\x03\x40\x4e\xa8\xa4\x4b\x7c\xf4\x4a\x30\x8a\x1e\x73\x13\x95\x61\xd4\x83\x6a\x40\x0c\x3c\x6b\x4e\x34\xd9\x4f\xd2\x04\xd8\x44\x78\xcb\xbe\x9e\x10\xea\xa0\x6f\xd6\x6e\x13\x5c\x23\x59\xfe\x02\x5e\x75\x20\xb3\xae\x95\x28\xf3\x51\xe2\xbd\x28\x20\x13\xd0\x97\x05\x64\x03\x6c\x39\x20\x9b\x00\x79\x23\x41\x99\x92\xb4\x78\x24\xae\x5b\xa0\x38\x1b\x42\xd7\x38\x79\x40\x2a\x2e\x3c\x2e\x64\x69\xb5\xfd\xf4\xc1\xe8\x5d\x55\x51\x5f\x8d\x46\x71\x0b\xb6\xf2\x28\xba\x46\x7d\x13\xd7\x2d\x9f\x60\xad\x34\x06\xac\x0e\xe4\xa7\xee\x73\xc6\xaa\xbc\x3f\xc2\x41\x42\xeb\xc7\xf8\x30\x1a\xe7\x47\x98\xd8\xb2\xaf\x3f\xc8\x81\xc1\xea\x3f\xc2\xc0\xe5\xac\xa0\x73\x52\x77\x7e\xc9\x7b\x64\x37\x16\x57\x61\x5b\x24\xfd\x91\xf0\xb6\x38\x13\x64\x1b\x68\xd1\x51\x9c\xef\xb9\x48\x85\xb7\xf2\x30\x7c\x9f\xd4\xf8\x6e\xb1\xd2\xc9\xa1\x02\xb2\xc6\x4f\x19\x40\xfc\x87\xb6\x17\xf7\x10\x0d\x00\x0b\x75\x6f\xa1\xed\x55\x90\x15\x80\x5c\x82\xf7\xc5\x63\x22\x79\x39\x70\xd4\x1e\xe4\x9c\xba\xf8\xf8\xdb\xd3\xb9\x6b\x7b\xee\x9c\x9d\x7a\x34\xd7\xb8\xec\x71\xed\xb8\xd6\xc7\x15\x1e\x3c\xf8\xa0\x75\x2f\x5d\x1f\xe9\x5a\x6c\x86\xe0\x1d\x1c\xa8\x76\x4a\x1a\x04\x18\x69\xe0\x77\xde\xbd\xa2\xb0\x61\xab\xd0\xeb\x0a\x6c\x09\x3f\x02\x9d\x87\xec\x97\x9a\xc2\x1b\xe6\xab\xcf\xad\xe2\xdf\x74\xf7\x70\x50\x16\xd3\x21\xbe\x13\xc9\x71\xe5\x86\x79\xb2\x81\x19\x3b\x0e\xfa\x18\xc6\x63\xd0\x65\xe4\x0b\x9b\x07\x88\x8d\xe2\x9a\x5a\xd1\x3a\xa1\xf9\x11\x8c\x8c\x08\x77\xde\xfd\x5d\xff\xbe\xe0\x9c\x34\x01\x0e\x14\x40\xa9\x16\x7e\x04\x1f\x46\x50\x62\x34\xfb\x39\x8c\x0a\x8f\x46\xa8\xeb\x24\xd7\xa8\x54\x68\xbf\x46\x93\xe4\xc8\x84\xc6\x07\xb5\xac\x1d\x0e\x34\x29\x9a\x41\x55\x39\xb2\x2a\x93\xe8\xfb\x90\x0f\xda\xd0\x93\x92\xc9\xa7\x36\xbc\x01\x9b\x1c\x1d\x92\x41\x1b\x0e\x80\x0c\x86\x8a\x59\xa5\x10\x0d\x16\x80\xe3\xb2\x74\xe9\x31\x46\x9e\x1a\xc8\xa8\xdc\x96\xdc\x69\xa0\x07\xcd\xc7\x72\xff\x9c\x57\xd1\xba\xbe\x5a\xee\xed\x78\x97\x23\x75\x6d\x6b\x39\x18\xf6\x2d\xad\x80\x25\xcd\xb5\x1c\x35\xc6\xd4\x9d\xc5\x7d\x7c\xa9\x13\x2a\x35\xe5\x09\x55\x55\x60\x46\x6f\x73\x80\x98\x9f\xb2\xeb\x68\xad\xfb\x31\xf4\xe1\xf5\xeb\x72\xe3\x6e\xf0\x8f\xf2\x20\xc0\x51\x64\x04\x6c\xed\xb8\x8e\x36\x1b\xb4\xab\xb1\x59\x56\x9f\xc6\x6c\x26\xa7\xc2\xcf\x41\x3c\x36\x66\x19\x24\x1e\x88\x60\x04\x97\x44\x6c\xba\x22\x8c\xa8\x63\x67\x33\x52\xbb\x0c\xb5\xa8\x42\x2d\x0a\x28\xa9\x8b\x78\x97\x2c\x79\x42\xa1\x0d\xc7\x23\x18\xc0\xb7\x6f\x50\x5a\x5f\x24\xeb\xaa\x46\xf2\xa1\xec\x70\x94\x3c\x0f\x4b\x5b\x0b\x65\x6b\xa1\x68\x5f\x1f\x8e\xb2\x8d\xdc\x1b\xb6\x16\x1c\xa4\x02\x1e\x80\x35\xcc\xfe\x5a\xb4\x55\x3f\x54\x26\xbe\xb2\x80\xc5\x18\xa8\x28\x22\x9d\x03\x4d\x90\x75\xca\x48\xe9\x18\xd4\x91\xe2\x55\x15\xa2\x4c\xa0\x87\xa3\xec\xaf\xa1\xb6\xbd\x28\x6d\x7f\x97\x62\xb8\x54\x45\x26\x74\xa6\x9a\x8c\x1b\x3d\x39\xa8\xe4\x8e\x47\x95\xa1\x5f\xe5\xdb\xf1\x91\x84\xb9\x2b\x2b\x4e\xae\xb8\xad\x69\x06\xae\x3a\xf2\x86\x50\xd7\xc7\xb8\x0c\xdb\xf8\x20\xd4\x78\x35\x56\xc7\x4a\x94\x95\xee\x11\xf0\x41\x74\xf3\x5a\x3d\x2c\xc3\x68\x77\x10\xa5\x3d\xc3\xed\x42\xb6\x5f\x1d\xfe\xcb\x2e\x25\xf2\xab\x07\x79\x78\xd2\xac\xb9\x29\xcf\xc3\xda\x52\x28\x9a\x4b\xbe\x14\x5f\x14\x65\x5e\x90\x70\x8d\x49\x27\x17\x10\x57\xe6\x9d\xda\xcd\xf8\xea\xe5\x7b\x6a\x9b\xe4\x3a\x08\x51\xf6\x7f\x1f\x71\x45\x64\x21\x57\x8c\xa8\xd9\x20\x88\xf8\xc6\xd6\x5a\xbd\x98\x8b\x4e\x59\xf5\xed\xb6\xa6\xe0\xd2\xa5\x8e\x2a\xe5\xab\x4c\xbf\x3a\xcf\xca\x05\x4e\x7d\xca\xaa\x64\x8f\xa6\xcc\x55\x96\xbb\x74\xf9\xd3\x94\x0d\xb4\x40\x6c\x4e\x08\x99\x58\x7a\x11\x7b\x65\x28\x38\x79\x20\x65\x49\x5c\x43\xd2\x64\x6c\xaa\x8b\x06\x67\x15\x61\xd5\xde\xa6\xd0\x9b\x50\x57\x0d\xbc\x9f\xe6\xd2\x49\x17\xfb\xa8\xb5\xb1\x45\xbf\x2c\x4c\x5d\xad\xa6\x55\x89\xff\xa1\x5a\x64\x9b\xdc\x5b\x73\x60\x1e\xf8\x9e\x83\x92\x50\x07\x06\xba\x93\x96\xb2\xc0\xc1\x41\xad\x0b\x1b\xb2\x4c\x91\x45\x0d\xf9\xe4\xd8\x78\x21\x9c\x2a\xaa\x92\xcb\xb2\x3c\x55\x18\xf0\xf9\x05\x29\x31\x4f\x0a\xda\xd1\xb2\x14\xbd\x7e\x6d\x74\x12\xf5\xe4\x4a\x63\xf5\x13\xce\x7d\xa5\x88\xf7\xfa\x75\x59\x8b\x70\xa8\x26\xf2\x0f\xe5\x6b\x71\xdd\x8d\x96\x91\x10\x8c\x56\x73\x89\x29\x95\x6b\x05\x17\x92\x37\x22\x09\xfa\x40\x71\x98\x62\x98\x36\x53\x39\xaa\xa5\xf2\x56\xa1\xb2\x87\xc8\xdb\x5a\x22\xc6\xf9\xa1\x30\x8a\x2c\xdb\x29\xac\xac\xe2\x03\x4b\x0b\x8c\x8c\x8e\x41\xda\x6a\xda\xe0\x28\xb2\x8c\x53\xe9\xc2\x3b\x9a\xe6\x2b\x1a\x2a\x13\xaf\xe5\xb0\x6f\xed\x69\x60\x93\xe4\x93\x5c\xe1\xfd\x27\xff\xfc\xe3\xfc\x03\x4d\xd9\xa3\xaa\x77\x09\xa5\x6b\x9d\x47\xdb\x4f\x45\x4c\xa5\x2b\x8b\xf2\xca\xbf\x93\x65\xe2\x77\x38\x1e\x17\x59\x45\xe7\x7f\x87\x22\x69\xe6\x03\xb6\x53\x0f\x8d\xef\x94\xe0\xb0\x72\xfd\xe2\x3e\xa6\x7b\x71\xd2\xea\xc8\x14\x71\x00\x75\x04\x16\x0d\x04\x16\x39\x01\x4d\x2a\x73\xda\x6d\x2c\x27\x72\xee\x88\xa5\x32\x43\xdd\x99\x49\x1e\xc2\xe0\x5e\xd7\x5d\x8d\x3b\x19\x94\x28\x4d\xf7\x3d\xfa\x1a\x96\xd1\x9f\xaa\xe8\x8d\xda\x2a\xa3\xcb\x40\xf8\x88\xbe\x20\x7a\x60\xd4\x90\x30\x04\x4e\xec\xf9\x07\x23\x29\xc8\x9b\xfd\xd7\x5c\xf9\x54\xe7\x3e\xb6\xa1\xa7\x9c\xff\x06\x06\xfd\x7e\xbf\x5d\xa2\xbb\x88\xe9\x3e\x7d\x1f\xdd\xa7\x3d\x74\x6b\x15\x6b\xb0\xc3\x7e\xac\x85\x41\xfd\xcd\x58\x85\x8a\x5f\xd2\x0b\x35\x17\xfc\x2c\xab\x1d\x8f\xea\x6b\x7e\x63\x07\x12\x4f\xda\x7b\x87\x88\x83\x51\x62\xe5\x37\xc5\x5b\xf5\x9a\x09\x22\x81\x5c\x98\x21\x95\x36\xa1\x96\xa1\x4a\xa7\xa0\x0d\xf9\x09\x1b\xca\x7b\xfc\xa1\x01\x7a\x51\x40\x2f\xea\xa0\x9f\xb5\x51\x5b\xbb\xf9\x32\xde\xd2\x6f\x88\x2f\x39\xc5\x29\xf2\x80\x51\x8e\xf6\x16\x39\x27\x6b\x2c\x15\x82\x0d\xb9\x5e\xfe\x25\xe7\x0b\xdc\xc1\x5f\x7c\x76\x36\xb6\xad\xd9\xd9\xf8\xf0\xe8\xdd\x7f\x59\x1d\xb0\xe6\x93\x4f\xf3\xac\xba\x27\xa0\x5d\x8e\xe2\xec\x72\x7c\xf2\x07\x3e\x65\xf4\xcc\x70\x09\x9f\xf6\xce\xa3\x2e\xdb\x75\x7d\xe6\xc4\xde\xdf\xdd\x10\xbe\xe9\xf2\x68\xc9\x45\x68\x0f\xb2\x1c\x98\x5e\x1b\x2e\x05\x23\x76\x8a\xbe\x4e\x8e\xb1\xad\xdf\x16\xf3\xc9\xcc\x6a\x6b\xf7\x7f\x41\xc8\x1c\xe4\xfc\x84\x6d\xb7\x84\xba\xba\x64\xd2\x66\xe9\x92\x2c\x5c\xe1\x58\xd8\xfd\xb6\xb4\x97\xe5\x59\x7a\x35\x92\x09\x2d\x20\x21\xc7\x73\x2a\x72\x24\x9d\xc1\x8c\xa8\xc7\xaf\xc8\x95\xfd\xd8\x96\x7e\xf8\xd8\x15\x6c\x26\x42\x8f\xae\xed\x36\xbc\x1a\x41\x05\x37\x06\x32\x55\xaa\x54\x5c\xed\x72\x42\x37\xb1\xf2\xe5\xc0\xe3\xf0\x5f\x72\x1b\xa3\x9c\xad\x0f\x1c\x65\x96\x9e\x5b\xad\xd4\x6e\xd5\xd7\x45\x3e\x23\xae\xd5\x81\xcc\x12\xb6\xea\x4d\x24\x12\x1b\x59\xb4\x1d\x22\xf4\xeb\x97\xf8\x03\x8e\x00\x69\x32\xb0\xe6\xaf\xa3\xd6\x28\xd2\x77\x57\x71\xf9\xb7\x52\x10\x4b\xb9\x9d\x73\x7c\xc6\x63\x6a\xb5\x48\x09\x44\x86\x13\x90\x46\xe0\x80\xa8\x90\xf1\x15\xca\x1e\xf0\x18\x46\xe5\xe8\x0b\x3e\x2d\x19\x09\x1b\x8f\xc9\x60\x54\xbc\xe2\x3d\x5f\x3e\x0b\xd4\xe2\xeb\xb0\x2a\x1d\x81\x8f\xa2\x09\x57\xee\x67\xf0\x89\x6e\xba\x5c\x3c\xf9\xd8\x75\x3d\x1e\xf8\x44\xd6\x60\x8b\x32\x8a\x56\xae\x86\xc6\xfd\x4c\x94\x46\x20\x79\x66\xf7\x81\xf8\x11\xca\x0d\x2b\x7d\x45\x95\x7c\x34\x74\x13\x32\xc1\x1c\x26\xf5\x6c\xed\x38\x7f\x6f\x15\x17\xaa\x79\x5e\x08\x72\x98\x11\x58\xf1\x17\x5a\x56\x79\x66\x2d\x13\xc9\x68\x24\xde\xbb\xe3\x69\x06\xfb\x13\x97\x33\xe6\x7c\x41\x61\x2b\x08\x07\x60\xf5\x7a\x72\x66\x29\x92\x10\xe3\x82\x92\x2d\xc2\x41\x29\x2e\x95\x9f\xc2\x18\x0b\x05\xfc\x37\x58\xef\x4b\x14\xe2\xd5\xf7\x60\x59\xed\x7a\x1a\x56\x6f\xc7\xa5\x19\x52\x16\xbb\x8c\xa6\x29\x42\x46\x46\x16\x3e\xf1\x65\x9c\x5e\x00\x4b\x71\xa4\x67\x8f\xf8\x26\x4d\xcb\x7f\x31\x95\xae\x4b\x04\x69\xeb\xe0\xe9\xe1\xb1\x1f\xd8\xda\x35\xd3\xb3\x21\x2d\x99\x12\x92\x1e\xd7\xe5\x0e\x31\x1b\x0c\xab\x05\x47\x65\x4b\x69\x33\x92\x18\x6f\x74\xa7\x4c\xd0\x8d\xc7\x05\x0b\x9f\xba\x5c\x10\x81\xb1\x6f\x14\x81\xa5\x09\x5a\xef\xa6\x2b\x1f\x1f\xad\xb2\xe4\xb1\xbb\xae\x98\x13\x71\x7b\xdf\xdc\x6b\x0c\x0f\x8d\x64\xaa\xaa\xe7\xec\xcd\x6c\x6c\xed\x58\xe5\xaa\xad\x75\x33\x1b\xbe\x2e\xd1\x85\x32\x7f\xa5\x53\xb6\xce\x4b\xf5\xb9\x2f\xce\x9b\x95\x18\x03\x2a\x65\xc8\x9c\x56\x54\xbd\x64\xda\xd8\x9b\x23\xb3\x0c\x67\xa8\x36\x8e\xef\x39\x5f\xac\x4e\x5d\x88\xbd\xf4\x57\x84\xdb\x4f\xb2\xc1\x3f\xd3\xad\xe6\x4d\x66\xe7\xcc\x42\x21\x88\xf8\x66\x26\xc3\x41\x29\x32\x1d\xb0\x92\x8f\x88\xe1\x0f\xad\xee\x3c\x2b\x6f\xaf\x5e\x19\xbe\x2f\x54\x85\xd5\x6b\x4e\xa3\x44\x89\xec\x15\x94\x5a\x13\xfe\x34\x1b\x98\x62\xb6\xfa\xbd\x60\x40\xdc\xea\x2d\x55\xb6\x52\xeb\xa1\x32\xaf\xfd\x64\xef\xac\x57\x8b\x52\x52\x5f\x8d\xe2\x52\x53\x73\x21\x27\x64\x69\x2a\xa0\xdb\x86\x54\xa7\x56\xe6\xb2\x12\x62\x4a\x49\xb3\x97\x79\xd8\x92\x38\x5f\x6c\xcd\x7f\x52\x10\x46\x03\x16\xa4\xc9\x78\x4f\x11\xab\x73\xf7\xcc\xdf\x75\x71\x5e\x92\x67\xe1\xa5\xed\x08\xd4\xde\x62\xd6\x8b\x5a\xe8\xe4\x79\xd8\x9c\xb8\x42\x94\x5d\xf0\xcf\x4e\x5b\x66\xcf\xc8\x5b\x90\x84\x09\xdd\x4e\x52\x8b\x55\x7e\xe2\xf1\x9b\x0b\x12\x0a\xab\xa3\xbe\x86\xed\xe4\x5f\xeb\xee\xc1\x45\xea\xe6\x98\x13\xea\xbe\x18\xcf\x89\x2f\x7d\x73\xd4\xe4\x0e\xf8\xc5\xd8\x72\x50\xcf\x71\xe5\xc8\x5b\x60\x3e\x17\x8f\xff\x1f\x00\x00\xff\xff\x6b\xa4\xaf\x2d\xb1\x32\x00\x00") func webdataFnJsBytes() ([]byte, error) { return bindataRead( @@ -89,7 +89,7 @@ func webdataFnJs() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/fn.js", size: 12556, mode: os.FileMode(436), modTime: time.Unix(1529985773, 0)} + info := bindataFileInfo{name: "webdata/fn.js", size: 12977, mode: os.FileMode(436), modTime: time.Unix(1532248388, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/main.go b/main.go index 3af536e..18a30d4 100644 --- a/main.go +++ b/main.go @@ -43,6 +43,7 @@ const ( authenticationRateLimit time.Duration = time.Second / 10 authenticationRateBurst int = 10 challengeLength int = 8 + defaultUpdateInterval int = 50 defaultBind string = ":0" version string = "0.0.3" ) @@ -127,12 +128,15 @@ func secureRandBase64(length int) string { func main() { var bind, certFile, keyFile, secret string var showVersion, invert bool + var updateInterval int flag.BoolVar(&showVersion, "version", false, "show program's version number and exit") flag.StringVar(&bind, "bind", defaultBind, "bind server to [IP]:PORT") flag.StringVar(&secret, "secret", "", "shared secret for client authentication") flag.StringVar(&certFile, "cert", "", "file containing TLS certificate") flag.StringVar(&keyFile, "key", "", "file containing TLS private key") flag.BoolVar(&invert, "invert", false, "use inverse colors for QR code") + flag.IntVar(&updateInterval, "interval", defaultUpdateInterval, + "mouse polling interval in milliseconds") flag.Parse() if showVersion { fmt.Println(version) @@ -148,6 +152,9 @@ func main() { if secret == "" { secret = secureRandBase64(defaultSecretLength) } + if updateInterval < 0 { + log.Fatal("interval must be greater or equal to zero") + } var plugin Plugin platformErrors := "" for _, f := range Plugins { @@ -199,6 +206,7 @@ func main() { if !challenge.verify(message) { return } + websocket.Message.Send(ws, fmt.Sprintf("i%d", updateInterval)) for { if err := websocket.Message.Receive(ws, &message); err != nil { return diff --git a/webdata/fn.js b/webdata/fn.js index 0d154c1..6861e41 100644 --- a/webdata/fn.js +++ b/webdata/fn.js @@ -24,7 +24,6 @@ const MOVE_MULT = 1; const SCROLL_MULT = 0.05; // [[px/s, mult], ...] const POINTER_ACCELERATION = [[0, 0], [87, 1], [173, 1], [553, 2]]; -const UPDATE_INTERVAL = 50; const MAX_IDLE_UPDATES = 10; var ws; @@ -43,6 +42,7 @@ var scrollYSum = 0; var dragging = false; var draggingTimeout = null; var updateTimer = null; +var updateInterval = 0; var idleUpdates = 0; function fullscreenEnabled() { @@ -147,8 +147,8 @@ function onDraggingTimeout() { function updateMoveAndScroll() { if (updateTimer == null) { onUpdateTimeout(); - if (UPDATE_INTERVAL > 0 && idleUpdates == 0) { - updateTimer = setInterval(onUpdateTimeout, UPDATE_INTERVAL); + if (updateInterval > 0 && idleUpdates == 0) { + updateTimer = setInterval(onUpdateTimeout, updateInterval); } } } @@ -298,6 +298,20 @@ function challengeResponse(message) { return btoa(shaObj.getHMAC("BYTES")); } +function processCommand(message) { + if (message.charAt(0) == "i") { + var x = parseInt(message.substr(1)); + if (isNaN(x) || x.toString() != message.substr(1) || x < 0) { + return false; + } + updateInterval = x; + clearInterval(updateTimer); + updateTimer = null; + return true; + } + return false; +} + window.addEventListener("load", function() { var authenticated = false; var opening = document.getElementById("opening"); @@ -322,7 +336,9 @@ window.addEventListener("load", function() { ws.onmessage = function(event) { if (authenticated) { - ws.close(); + if (!processCommand(event.data)) { + ws.close(); + } return; } authenticated = true; From 3a8ecb0b88afc6864fd232739a47e162fc2b417d Mon Sep 17 00:00:00 2001 From: Unrud Date: Sun, 22 Jul 2018 10:38:10 +0200 Subject: [PATCH 014/321] bump version to 0.0.4 --- desktop/remote-touchpad.appdata.xml | 7 ++++--- main.go | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/desktop/remote-touchpad.appdata.xml b/desktop/remote-touchpad.appdata.xml index 4f2b2b0..1a5b781 100644 --- a/desktop/remote-touchpad.appdata.xml +++ b/desktop/remote-touchpad.appdata.xml @@ -18,19 +18,20 @@ https://github.com/Unrud/remote-touchpad Unrud + - https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.3/screenshots/1.png + https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.4/screenshots/1.png - https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.3/screenshots/2.png + https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.4/screenshots/2.png - https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.3/screenshots/3.png + https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.4/screenshots/3.png diff --git a/main.go b/main.go index 18a30d4..6c6aafe 100644 --- a/main.go +++ b/main.go @@ -45,7 +45,7 @@ const ( challengeLength int = 8 defaultUpdateInterval int = 50 defaultBind string = ":0" - version string = "0.0.3" + version string = "0.0.4" ) func processCommand(plugin Plugin, command string) error { From a296bd11887e6dccdb01ad51f7519b20d8a9c08c Mon Sep 17 00:00:00 2001 From: Unrud Date: Tue, 31 Jul 2018 20:18:45 +0200 Subject: [PATCH 015/321] set mode and modTime --- bindata.generated.go | 12 ++++++------ bindata.go | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bindata.generated.go b/bindata.generated.go index d66bb51..295f7c6 100644 --- a/bindata.generated.go +++ b/bindata.generated.go @@ -89,7 +89,7 @@ func webdataFnJs() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/fn.js", size: 12977, mode: os.FileMode(436), modTime: time.Unix(1532248388, 0)} + info := bindataFileInfo{name: "webdata/fn.js", size: 12977, mode: os.FileMode(436), modTime: time.Unix(1, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -109,7 +109,7 @@ func webdataIconPng() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/icon.png", size: 1578, mode: os.FileMode(436), modTime: time.Unix(1529985773, 0)} + info := bindataFileInfo{name: "webdata/icon.png", size: 1578, mode: os.FileMode(436), modTime: time.Unix(1, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -129,7 +129,7 @@ func webdataIndexHtml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/index.html", size: 1132, mode: os.FileMode(436), modTime: time.Unix(1529985773, 0)} + info := bindataFileInfo{name: "webdata/index.html", size: 1132, mode: os.FileMode(436), modTime: time.Unix(1, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -149,7 +149,7 @@ func webdataMainCss() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/main.css", size: 1724, mode: os.FileMode(436), modTime: time.Unix(1529985773, 0)} + info := bindataFileInfo{name: "webdata/main.css", size: 1724, mode: os.FileMode(436), modTime: time.Unix(1, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -169,7 +169,7 @@ func webdataSha256Js() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/sha256.js", size: 9380, mode: os.FileMode(436), modTime: time.Unix(1529985773, 0)} + info := bindataFileInfo{name: "webdata/sha256.js", size: 9380, mode: os.FileMode(436), modTime: time.Unix(1, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -189,7 +189,7 @@ func webdataTexPng() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/tex.png", size: 3878, mode: os.FileMode(436), modTime: time.Unix(1529985773, 0)} + info := bindataFileInfo{name: "webdata/tex.png", size: 3878, mode: os.FileMode(436), modTime: time.Unix(1, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/bindata.go b/bindata.go index 5465368..3ed0ac6 100644 --- a/bindata.go +++ b/bindata.go @@ -1,3 +1,3 @@ package main -//go:generate go-bindata-assetfs -o ./bindata.generated.go webdata/... +//go:generate go-bindata-assetfs -mode 0664 -modtime 1 -o ./bindata.generated.go webdata/... From 26337f3a0e164e5c498ec00d53933a810f22458f Mon Sep 17 00:00:00 2001 From: Unrud Date: Tue, 31 Jul 2018 20:18:47 +0200 Subject: [PATCH 016/321] break long lines --- host.go | 3 ++- plugin_windows.go | 14 ++++++++++---- plugin_x11.go | 15 ++++++++++----- 3 files changed, 22 insertions(+), 10 deletions(-) diff --git a/host.go b/host.go index beb5921..f22174d 100644 --- a/host.go +++ b/host.go @@ -61,7 +61,8 @@ func FindDefaultHost() string { if fallbackAddr == "" { fallbackAddr = ip.String() } - for _, linkLocalPrefix := range []string{"169.254.", "fe8", "fe9", "fea", "feb"} { + for _, linkLocalPrefix := range []string{ + "169.254.", "fe8", "fe9", "fea", "feb"} { if strings.HasPrefix(ip.String(), linkLocalPrefix) { continue addrs } diff --git a/plugin_windows.go b/plugin_windows.go index 34c472f..8ad78e7 100644 --- a/plugin_windows.go +++ b/plugin_windows.go @@ -98,7 +98,9 @@ func (p *windowsPlugin) KeyboardText(text string) error { inputs[i].dwFlags |= keyeventfKeyup } } - if r, _, err := p.sendInputProc.Call(uintptr(len(inputs)), uintptr(unsafe.Pointer(&inputs[0])), unsafe.Sizeof(inputs[0])); int(r) != len(inputs) { + if r, _, err := p.sendInputProc.Call(uintptr(len(inputs)), + uintptr(unsafe.Pointer(&inputs[0])), + unsafe.Sizeof(inputs[0])); int(r) != len(inputs) { return err } return nil @@ -124,7 +126,8 @@ func (p *windowsPlugin) PointerButton(button uint, press bool) error { } else if button == 3 { input.dwFlags = mouseeventfRightup } - if r, _, err := p.sendInputProc.Call(1, uintptr(unsafe.Pointer(&input)), unsafe.Sizeof(input)); int(r) != 1 { + if r, _, err := p.sendInputProc.Call(1, uintptr(unsafe.Pointer(&input)), + unsafe.Sizeof(input)); int(r) != 1 { return err } return nil @@ -137,7 +140,8 @@ func (p *windowsPlugin) PointerMove(deltaX, deltaY int) error { dy: int32(deltaY), dwFlags: mouseeventfMove, } - if r, _, err := p.sendInputProc.Call(1, uintptr(unsafe.Pointer(&input)), unsafe.Sizeof(input)); int(r) != 1 { + if r, _, err := p.sendInputProc.Call(1, uintptr(unsafe.Pointer(&input)), + unsafe.Sizeof(input)); int(r) != 1 { return err } return nil @@ -162,7 +166,9 @@ func (p *windowsPlugin) PointerScroll(stepsHorizontal, stepsVertical int) error if len(inputs) == 0 { return nil } - if r, _, err := p.sendInputProc.Call(uintptr(len(inputs)), uintptr(unsafe.Pointer(&inputs[0])), unsafe.Sizeof(inputs[0])); int(r) != len(inputs) { + if r, _, err := p.sendInputProc.Call(uintptr(len(inputs)), + uintptr(unsafe.Pointer(&inputs[0])), + unsafe.Sizeof(inputs[0])); int(r) != len(inputs) { return err } return nil diff --git a/plugin_x11.go b/plugin_x11.go index bf520f4..15e1d91 100644 --- a/plugin_x11.go +++ b/plugin_x11.go @@ -71,7 +71,8 @@ func (p *x11Plugin) KeyboardText(text string) error { var minKeycodes, maxKeycodes C.int C.XDisplayKeycodes(p.display, &minKeycodes, &maxKeycodes) var keysymsPerKeycode C.int - keysyms := C.XGetKeyboardMapping(p.display, C.KeyCode(minKeycodes), maxKeycodes-minKeycodes+1, &keysymsPerKeycode) + keysyms := C.XGetKeyboardMapping(p.display, C.KeyCode(minKeycodes), + maxKeycodes-minKeycodes+1, &keysymsPerKeycode) if keysyms == nil { return errors.New("failed to get keyboard mapping") } @@ -79,8 +80,10 @@ func (p *x11Plugin) KeyboardText(text string) error { keycodes: for keycode := C.KeyCode(minKeycodes); keycode <= C.KeyCode(maxKeycodes); keycode++ { for i := 0; i < int(keysymsPerKeycode); i++ { - keysymsIndex := int(keycode-C.KeyCode(minKeycodes))*int(keysymsPerKeycode) + i - keysym := *(*C.KeySym)(unsafe.Pointer(uintptr(unsafe.Pointer(keysyms)) + uintptr(keysymsIndex)*unsafe.Sizeof(*keysyms))) + keysymsIndex := int(keycode- + C.KeyCode(minKeycodes))*int(keysymsPerKeycode) + i + keysym := *(*C.KeySym)(unsafe.Pointer(uintptr(unsafe.Pointer(keysyms)) + + uintptr(keysymsIndex)*unsafe.Sizeof(*keysyms))) if keysym != 0 { continue keycodes } @@ -98,7 +101,8 @@ keycodes: for i := range keycodeMapping { keycodeMapping[i] = keysym } - C.XChangeKeyboardMapping(p.display, C.int(emptyKeycode), keysymsPerKeycode, (*C.KeySym)(unsafe.Pointer(&keycodeMapping[0])), 1) + C.XChangeKeyboardMapping(p.display, C.int(emptyKeycode), keysymsPerKeycode, + (*C.KeySym)(unsafe.Pointer(&keycodeMapping[0])), 1) C.XTestFakeKeyEvent(p.display, C.uint(emptyKeycode), C.True, 0) C.XTestFakeKeyEvent(p.display, C.uint(emptyKeycode), C.False, 0) // race condition! @@ -108,7 +112,8 @@ keycodes: for i := range keycodeMapping { keycodeMapping[i] = 0 } - C.XChangeKeyboardMapping(p.display, C.int(emptyKeycode), keysymsPerKeycode, (*C.KeySym)(unsafe.Pointer(&keycodeMapping[0])), 1) + C.XChangeKeyboardMapping(p.display, C.int(emptyKeycode), keysymsPerKeycode, + (*C.KeySym)(unsafe.Pointer(&keycodeMapping[0])), 1) C.XFlush(p.display) return nil } From a9230ceea4f1d997e1a82690f3e3aff71b1bcbf4 Mon Sep 17 00:00:00 2001 From: Unrud Date: Tue, 31 Jul 2018 20:18:49 +0200 Subject: [PATCH 017/321] use defer for cleanup --- plugin_x11.go | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/plugin_x11.go b/plugin_x11.go index 15e1d91..89cdcb8 100644 --- a/plugin_x11.go +++ b/plugin_x11.go @@ -76,6 +76,7 @@ func (p *x11Plugin) KeyboardText(text string) error { if keysyms == nil { return errors.New("failed to get keyboard mapping") } + defer C.XFree(unsafe.Pointer(keysyms)) emptyKeycode := C.KeyCode(0) keycodes: for keycode := C.KeyCode(minKeycodes); keycode <= C.KeyCode(maxKeycodes); keycode++ { @@ -91,11 +92,18 @@ keycodes: emptyKeycode = keycode break } - C.XFree(unsafe.Pointer(keysyms)) if emptyKeycode == 0 { return errors.New("no empty keycode found") } keycodeMapping := make([]C.KeySym, keysymsPerKeycode) + defer func() { + for i := range keycodeMapping { + keycodeMapping[i] = 0 + } + C.XChangeKeyboardMapping(p.display, C.int(emptyKeycode), keysymsPerKeycode, + (*C.KeySym)(unsafe.Pointer(&keycodeMapping[0])), 1) + C.XFlush(p.display) + }() for _, runeValue := range text { keysym := C.KeySym(0x01000000 + runeValue) for i := range keycodeMapping { @@ -109,12 +117,6 @@ keycodes: C.XFlush(p.display) time.Sleep(typingDelay) } - for i := range keycodeMapping { - keycodeMapping[i] = 0 - } - C.XChangeKeyboardMapping(p.display, C.int(emptyKeycode), keysymsPerKeycode, - (*C.KeySym)(unsafe.Pointer(&keycodeMapping[0])), 1) - C.XFlush(p.display) return nil } From 57d37479682f967238eefa30ce92ef21d0ab0582 Mon Sep 17 00:00:00 2001 From: Unrud Date: Tue, 31 Jul 2018 20:18:52 +0200 Subject: [PATCH 018/321] remove goto --- host.go | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/host.go b/host.go index f22174d..483f7ec 100644 --- a/host.go +++ b/host.go @@ -25,8 +25,8 @@ import ( "strings" ) -func FindDefaultHost() string { - fallbackAddr := "" +func FindDefaultHost() (host string) { + host = "localhost" for _, publicIP := range []string{"2001:4860:4860::8888", "8.8.8.8"} { addr := fmt.Sprintf("[%s]:80", publicIP) conn, err := net.Dial("udp", addr) @@ -34,15 +34,15 @@ func FindDefaultHost() string { continue } conn.Close() - host, _, err := net.SplitHostPort(conn.LocalAddr().String()) + host, _, err = net.SplitHostPort(conn.LocalAddr().String()) if err != nil { - continue + panic(err) } - return host + return } interfaces, err := net.Interfaces() if err != nil { - goto fallback + return } for _, inter := range interfaces { if inter.Flags&net.FlagUp == 0 || inter.Flags&net.FlagLoopback != 0 { @@ -58,8 +58,8 @@ func FindDefaultHost() string { if err != nil { continue } - if fallbackAddr == "" { - fallbackAddr = ip.String() + if host == "localhost" { + host = ip.String() } for _, linkLocalPrefix := range []string{ "169.254.", "fe8", "fe9", "fea", "feb"} { @@ -71,9 +71,5 @@ func FindDefaultHost() string { } } -fallback: - if fallbackAddr != "" { - return fallbackAddr - } - return "localhost" + return } From f2e67640feeb69cf2f53f91cac986221657ad2bb Mon Sep 17 00:00:00 2001 From: Unrud Date: Tue, 31 Jul 2018 20:18:54 +0200 Subject: [PATCH 019/321] remove duplicate check --- plugin_windows.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugin_windows.go b/plugin_windows.go index 8ad78e7..61454b3 100644 --- a/plugin_windows.go +++ b/plugin_windows.go @@ -107,9 +107,6 @@ func (p *windowsPlugin) KeyboardText(text string) error { } func (p *windowsPlugin) PointerButton(button uint, press bool) error { - if button == 0 || button > 3 { - return errors.New("unsupported pointer button") - } input := mouseInput{ typ: inputMouse, } @@ -125,6 +122,8 @@ func (p *windowsPlugin) PointerButton(button uint, press bool) error { input.dwFlags = mouseeventfRightdown } else if button == 3 { input.dwFlags = mouseeventfRightup + } else { + return errors.New("unsupported pointer button") } if r, _, err := p.sendInputProc.Call(1, uintptr(unsafe.Pointer(&input)), unsafe.Sizeof(input)); int(r) != 1 { From f9ab379abc595bd0c029aa29c68de501a6180eea Mon Sep 17 00:00:00 2001 From: Unrud Date: Tue, 31 Jul 2018 20:18:56 +0200 Subject: [PATCH 020/321] rename "unknown" to "unsupported" --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 6c6aafe..4707aac 100644 --- a/main.go +++ b/main.go @@ -79,7 +79,7 @@ func processCommand(plugin Plugin, command string) error { } if command[0] == 'b' { if x <= 0 || x > 3 { - return errors.New("unknown pointer button") + return errors.New("unsupported pointer button") } b := true if y == 0 { @@ -87,7 +87,7 @@ func processCommand(plugin Plugin, command string) error { } return plugin.PointerButton(uint(x), b) } - return errors.New("unknown command") + return errors.New("unsupported command") } type challenge struct { From 5fe430b3f22f057d7105d9fca71e3d83f898c4fb Mon Sep 17 00:00:00 2001 From: Unrud Date: Tue, 31 Jul 2018 20:18:58 +0200 Subject: [PATCH 021/321] wait on error when started via desktop file --- desktop/remote-touchpad-wait-on-error | 8 ++++++++ desktop/remote-touchpad.desktop | 2 +- flatpak/com.github.unrud.RemoteTouchpad.json | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 desktop/remote-touchpad-wait-on-error diff --git a/desktop/remote-touchpad-wait-on-error b/desktop/remote-touchpad-wait-on-error new file mode 100644 index 0000000..88778dd --- /dev/null +++ b/desktop/remote-touchpad-wait-on-error @@ -0,0 +1,8 @@ +#!/bin/bash + +remote-touchpad "$@" +if [ $? -eq 1 ]; then + echo + read -n 1 -s -r -p "Press any key to close" + echo +fi diff --git a/desktop/remote-touchpad.desktop b/desktop/remote-touchpad.desktop index 8ba6773..7924c12 100644 --- a/desktop/remote-touchpad.desktop +++ b/desktop/remote-touchpad.desktop @@ -4,6 +4,6 @@ Type=Application Name=Remote Touchpad Comment=Control mouse and keyboard from a smartphone Terminal=true -Exec=remote-touchpad +Exec=remote-touchpad-wait-on-error Icon=remote-touchpad Categories=Network;RemoteAccess;ConsoleOnly; diff --git a/flatpak/com.github.unrud.RemoteTouchpad.json b/flatpak/com.github.unrud.RemoteTouchpad.json index ef4b838..efa6dc7 100644 --- a/flatpak/com.github.unrud.RemoteTouchpad.json +++ b/flatpak/com.github.unrud.RemoteTouchpad.json @@ -47,6 +47,7 @@ "build-commands" : [ ". /usr/lib/sdk/golang/enable.sh; env GOPATH=\"$(pwd)\" go build github.com/unrud/remote-touchpad", "install -Dm0755 -t /app/bin remote-touchpad", + "install -Dm0755 -t /app/bin src/github.com/unrud/remote-touchpad/desktop/remote-touchpad-wait-on-error", "install -Dm0644 -t /app/share/appdata src/github.com/unrud/remote-touchpad/desktop/remote-touchpad.appdata.xml", "install -Dm0644 -t /app/share/applications src/github.com/unrud/remote-touchpad/desktop/remote-touchpad.desktop", "install -Dm0644 src/github.com/unrud/remote-touchpad/desktop/remote-touchpad_64.png /app/share/icons/hicolor/64x64/apps/remote-touchpad.png", From e73a18710b28362a0754e0c9adaab791bbf4f2ef Mon Sep 17 00:00:00 2001 From: Unrud Date: Tue, 31 Jul 2018 20:19:00 +0200 Subject: [PATCH 022/321] use build tag for x11 --- README.md | 2 +- desktop/remote-touchpad.appdata.xml | 2 +- flatpak/com.github.unrud.RemoteTouchpad.json | 2 +- plugin_x11.go | 2 +- plugin_x11_dummy.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 17d955c..904fd5e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Control mouse and keyboard from the webbrowser of a smartphone (or any other device with a touchscreen). To take control open the displayed URL or scan the QR code. -Supports Linux/X11 and Windows. +Supports Windows and X11. ## Installation diff --git a/desktop/remote-touchpad.appdata.xml b/desktop/remote-touchpad.appdata.xml index 1a5b781..b549b08 100644 --- a/desktop/remote-touchpad.appdata.xml +++ b/desktop/remote-touchpad.appdata.xml @@ -11,7 +11,7 @@ To take control open the displayed URL or scan the QR code.

- Supports Linux/X11 and Windows. + Supports Windows and X11.

https://github.com/Unrud/remote-touchpad/issues diff --git a/flatpak/com.github.unrud.RemoteTouchpad.json b/flatpak/com.github.unrud.RemoteTouchpad.json index efa6dc7..151250b 100644 --- a/flatpak/com.github.unrud.RemoteTouchpad.json +++ b/flatpak/com.github.unrud.RemoteTouchpad.json @@ -45,7 +45,7 @@ ], "buildsystem" : "simple", "build-commands" : [ - ". /usr/lib/sdk/golang/enable.sh; env GOPATH=\"$(pwd)\" go build github.com/unrud/remote-touchpad", + ". /usr/lib/sdk/golang/enable.sh; env GOPATH=\"$(pwd)\" go build -tags x11 github.com/unrud/remote-touchpad", "install -Dm0755 -t /app/bin remote-touchpad", "install -Dm0755 -t /app/bin src/github.com/unrud/remote-touchpad/desktop/remote-touchpad-wait-on-error", "install -Dm0644 -t /app/share/appdata src/github.com/unrud/remote-touchpad/desktop/remote-touchpad.appdata.xml", diff --git a/plugin_x11.go b/plugin_x11.go index 89cdcb8..50555fd 100644 --- a/plugin_x11.go +++ b/plugin_x11.go @@ -1,4 +1,4 @@ -// +build linux +// +build x11 /* * Copyright (c) 2018 Unrud diff --git a/plugin_x11_dummy.go b/plugin_x11_dummy.go index 029f5aa..d404c0c 100644 --- a/plugin_x11_dummy.go +++ b/plugin_x11_dummy.go @@ -1,4 +1,4 @@ -// +build !linux +// +build !x11 /* * Copyright (c) 2018 Unrud From fe568cd37cee6c647cd30f0a4ec435e3e9c802c2 Mon Sep 17 00:00:00 2001 From: Unrud Date: Tue, 31 Jul 2018 20:19:02 +0200 Subject: [PATCH 023/321] add changelog --- CHANGELOG.md | 17 +++++++++++++++++ desktop/remote-touchpad.appdata.xml | 22 ++++++++++++++++++---- 2 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..3df0d89 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,17 @@ +# Changelog + +## 0.0.4 (2018-07-22) + + * add setting for mouse polling interval + +## 0.0.3 (2018-06-26) + + * fix websocket with https + +## 0.0.2 (2018-06-25) + + * add reload button to disconnected-page + +## 0.0.1 (2018-06-23) + +initial release \ No newline at end of file diff --git a/desktop/remote-touchpad.appdata.xml b/desktop/remote-touchpad.appdata.xml index b549b08..5e269ed 100644 --- a/desktop/remote-touchpad.appdata.xml +++ b/desktop/remote-touchpad.appdata.xml @@ -18,10 +18,24 @@ https://github.com/Unrud/remote-touchpad Unrud - - - - + +​
    +
  • add setting for mouse polling interval
  • +
+
+ +​
    +
  • fix websocket with https
  • +
+
+ +​
    +
  • add reload button to disconnected-page
  • +
+
+ +​

initial release

+
From 2eb0baaca1834c6641924719732b9b822ecb9856 Mon Sep 17 00:00:00 2001 From: Unrud Date: Tue, 31 Jul 2018 20:19:05 +0200 Subject: [PATCH 024/321] log plugin errors --- main.go | 11 +++++++---- plugin.go | 16 +++++++++------- plugin_windows.go | 2 +- plugin_windows_dummy.go | 4 +++- plugin_x11.go | 3 ++- plugin_x11_dummy.go | 4 +++- 6 files changed, 25 insertions(+), 15 deletions(-) diff --git a/main.go b/main.go index 4707aac..2d354df 100644 --- a/main.go +++ b/main.go @@ -156,16 +156,18 @@ func main() { log.Fatal("interval must be greater or equal to zero") } var plugin Plugin + var pluginName string platformErrors := "" - for _, f := range Plugins { + for _, pluginInfo := range Plugins { + pluginName = pluginInfo.Name var err error - plugin, err = f() + plugin, err = pluginInfo.Init() if err == nil { break } else if _, ok := err.(UnsupportedPlatformError); ok { - platformErrors += err.Error() + "\n" + platformErrors += fmt.Sprintf("%s plugin: %v\n", pluginName, err) } else { - log.Fatal(err) + log.Fatal(fmt.Sprintf("%s plugin: %v", pluginName, err)) } } if plugin == nil { @@ -212,6 +214,7 @@ func main() { return } if err := processCommand(plugin, message); err != nil { + log.Print(fmt.Sprintf("%s plugin: %v", pluginName, err)) return } } diff --git a/plugin.go b/plugin.go index 014f6ef..8f9c722 100644 --- a/plugin.go +++ b/plugin.go @@ -19,20 +19,22 @@ package main -import "fmt" +type PluginInfo struct { + Name string + Init func() (Plugin, error) +} -var Plugins [](func() (Plugin, error)) = [](func() (Plugin, error)){ - InitX11Plugin, - InitWindowsPlugin, +var Plugins []PluginInfo = []PluginInfo{ + {"X11", InitX11Plugin}, + {"Windows", InitWindowsPlugin}, } type UnsupportedPlatformError struct { - name string - message string + err error } func (e UnsupportedPlatformError) Error() string { - return fmt.Sprintf("%s plugin: %s", e.name, e.message) + return e.err.Error() } type Plugin interface { diff --git a/plugin_windows.go b/plugin_windows.go index 61454b3..64db40f 100644 --- a/plugin_windows.go +++ b/plugin_windows.go @@ -75,7 +75,7 @@ func InitWindowsPlugin() (Plugin, error) { p.userDLL = syscall.NewLazyDLL("user32.dll") p.sendInputProc = p.userDLL.NewProc("SendInput") if err := p.sendInputProc.Find(); err != nil { - return nil, UnsupportedPlatformError{"Windows", err.Error()} + return nil, UnsupportedPlatformError{err} } return p, nil } diff --git a/plugin_windows_dummy.go b/plugin_windows_dummy.go index 8db1b06..dae0dbe 100644 --- a/plugin_windows_dummy.go +++ b/plugin_windows_dummy.go @@ -21,6 +21,8 @@ package main +import "errors" + func InitWindowsPlugin() (Plugin, error) { - return nil, UnsupportedPlatformError{"Windows", "disabled"} + return nil, UnsupportedPlatformError{errors.New("disabled")} } diff --git a/plugin_x11.go b/plugin_x11.go index 50555fd..8031dad 100644 --- a/plugin_x11.go +++ b/plugin_x11.go @@ -43,7 +43,8 @@ type x11Plugin struct { func InitX11Plugin() (Plugin, error) { display := C.XOpenDisplay(nil) if display == nil { - return nil, UnsupportedPlatformError{"X11", "failed to connect to X server"} + return nil, UnsupportedPlatformError{ + errors.New("failed to connect to X server")} } return &x11Plugin{display: display}, nil } diff --git a/plugin_x11_dummy.go b/plugin_x11_dummy.go index d404c0c..9b41d2e 100644 --- a/plugin_x11_dummy.go +++ b/plugin_x11_dummy.go @@ -21,6 +21,8 @@ package main +import "errors" + func InitX11Plugin() (Plugin, error) { - return nil, UnsupportedPlatformError{"X11", "disabled"} + return nil, UnsupportedPlatformError{errors.New("disabled")} } From e8779478241195a8835e456b8822efdd03d1560c Mon Sep 17 00:00:00 2001 From: Unrud Date: Tue, 31 Jul 2018 20:19:06 +0200 Subject: [PATCH 025/321] remove mouse polling interval --- bindata.generated.go | 4 ++-- main.go | 11 ++--------- webdata/fn.js | 38 +------------------------------------- 3 files changed, 5 insertions(+), 48 deletions(-) diff --git a/bindata.generated.go b/bindata.generated.go index 295f7c6..9c02c58 100644 --- a/bindata.generated.go +++ b/bindata.generated.go @@ -74,7 +74,7 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var _webdataFnJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3a\x5b\x6f\xdb\x38\x97\xef\xfe\x15\xa7\x7a\x28\xe4\xc6\xf1\x25\x45\x77\x06\x75\x9d\x5d\x4f\xea\x4c\x82\xc9\x0d\xb6\xb3\x53\x23\x08\x0a\x5a\x3a\xb6\x35\x95\x49\x8d\x48\xc5\x49\xb7\xf9\xef\x0b\xea\x4a\x51\x94\x9c\x76\xbe\xbe\x7c\xf8\x0c\x4c\x47\x21\xcf\x39\x3c\xf7\x0b\xa5\xde\x9b\x16\xbc\x01\x00\x38\x61\xc1\x53\xe8\xad\x37\x02\x6c\xa7\x0d\x47\xfd\xc1\xaf\x70\x4b\xc3\xc8\xfd\x10\xc9\x7f\xff\x87\x45\xc2\x67\xec\x4b\xd7\x61\xdb\xe3\x16\x64\x48\xf3\x8d\xc7\x61\xe5\xf9\x08\x1e\x87\x80\x84\x02\xd8\x0a\xa6\xb8\x65\x02\x0f\xe7\x2c\x72\x36\x01\x71\xbb\x05\xf8\x29\x63\x4b\x12\x4a\xd8\x55\x88\x08\x9c\xad\xc4\x8e\x84\xf8\x1e\x9e\x58\x04\x0e\xa1\x10\xa2\xeb\x71\x11\x7a\xcb\x48\x20\x78\x02\x08\x75\x7b\x2c\x84\x2d\x73\xbd\xd5\x53\x4a\xc4\x13\x10\x51\x17\x43\x10\x1b\x04\x81\xe1\x96\xcb\x43\xe5\x1f\xbf\x5f\xdd\xc2\xef\x48\x31\x24\x3e\xdc\x44\x4b\xdf\x73\xe0\xc2\x73\x90\x72\x04\xc2\x21\x90\x2b\x7c\x83\x2e\x2c\x33\x52\x12\xe9\x54\x72\x32\x4b\x39\x81\x53\x16\x51\x97\x08\x8f\xd1\x0e\xa0\x27\x36\x18\xc2\x03\x86\xdc\x63\x14\xde\x66\xc7\xa4\x34\x3b\xc0\xc2\x94\x8e\x4d\x84\x14\x21\x04\x16\x48\xd4\x36\x10\xfa\x04\x3e\x11\x05\xb6\xa2\x04\x4d\x3d\x52\x1b\x85\xd0\x2e\x78\x34\x3e\x64\xc3\x02\x04\xb1\x21\x42\xca\xbb\xf3\x7c\x1f\x96\x08\x11\xc7\x55\xe4\x77\x52\x42\xcb\x48\xc0\x9f\xe7\xf3\xb3\xeb\xdb\x39\x8c\xaf\x16\xf0\xe7\x78\x3a\x1d\x5f\xcd\x17\x43\xd8\x79\x62\xc3\x22\x01\xf8\x80\x09\x35\x6f\x1b\xf8\x1e\xba\xb0\x23\x61\x48\xa8\x78\x02\xb6\x4a\x89\x5c\x4e\xa6\x27\x67\xe3\xab\xf9\xf8\xb7\xf3\x8b\xf3\xf9\x02\x58\x08\xa7\xe7\xf3\xab\xc9\x6c\x06\xa7\xd7\x53\x18\xc3\xcd\x78\x3a\x3f\x3f\xb9\xbd\x18\x4f\xe1\xe6\x76\x7a\x73\x3d\x9b\x74\x01\x66\x28\x99\xc3\x94\x46\x83\xde\x57\xb1\xf5\x42\x04\x17\x05\xf1\x7c\x5e\xe8\x61\xc1\x22\xe0\x1b\x16\xf9\x2e\x6c\xc8\x03\x42\x88\x0e\x7a\x0f\xe8\x02\x01\x87\x05\x4f\xfb\x6d\x9a\x90\x21\x3e\xa3\xeb\x58\xe0\xd4\xbb\xba\x00\xe7\x2b\xa0\x4c\x74\x80\x23\xc2\x87\x8d\x10\xc1\xfb\x5e\x6f\xb7\xdb\x75\xd7\x34\xea\xb2\x70\xdd\xf3\x13\x02\xbc\x77\x2c\xd9\xe9\xb5\x5a\xd0\xeb\xc1\xdd\x00\x62\x93\x74\xe0\x28\x79\x40\xde\x81\xb7\xd9\xe3\x7d\xcb\x61\x94\x0b\x98\x5f\xdf\x9e\x9c\x7d\xbe\xbc\xfe\xdf\xc9\xe7\xf9\xd9\x74\x32\x3b\xbb\xbe\xf8\x08\x23\xb8\x1b\xf4\x3b\x30\x78\x27\xff\xbb\x1f\x96\x40\xe7\xe7\x97\x13\x69\xa0\x11\x1c\xbd\xeb\x67\x5b\x31\xfe\xe5\xed\x85\x5c\x1e\x64\x8b\xb3\x93\xe9\xf5\xc5\x45\xb6\xdc\xef\xf6\xdf\x0d\x5b\x92\xaf\xbb\xe0\xb1\xc7\x3b\xb0\x8d\x7c\x71\xdf\x81\x6e\xb7\x9b\xf1\x72\x73\x7d\x7e\x35\x9f\x4c\x3f\x8f\x4f\x4e\x26\x17\x93\xe9\x78\x7e\x7e\x7d\x25\x79\xb9\xeb\x77\xa0\x7f\xdf\x81\xbb\x5f\x7f\xe9\xc0\x40\x3e\x0c\x7e\x79\x9b\x3e\xbd\x7b\xf7\xb6\x03\x47\xf7\x39\x93\x97\xe3\x4f\x9f\xcf\x3f\x5e\x4c\x3e\xdf\xde\x7c\x1c\xcf\x27\x33\xc9\x50\x7f\xd8\x6a\x3d\x90\x10\x76\x7c\x18\xff\x3f\x20\x6e\xfe\xe0\x93\x25\xfa\xe9\xbe\x90\xaa\xb9\x64\xd2\x66\x23\x58\x11\x9f\xe3\xb0\x58\x9f\x09\x99\x0d\x46\xd0\x57\xd6\x2e\x08\x17\x13\xea\x6a\xab\x53\xf4\x91\x70\x74\x4f\x58\x44\x15\x0c\x46\xd7\xcc\xa3\xeb\x54\xff\x52\xae\xfb\x64\x63\xcb\x1e\xf0\xd3\x2c\xda\x16\xa0\x72\x65\x51\x5a\xe1\x4e\xc8\x7c\xff\x93\x61\xad\x0c\xe7\x86\x64\xbd\xf6\xe8\xba\x2c\x40\xb6\x3a\xf7\xb6\x28\xc3\x68\x04\x34\xf2\xfd\x64\x2f\x0a\x5c\x22\x50\xee\x84\x86\xf5\x73\x2a\x30\x7c\x20\x7e\x71\x82\xe7\xfa\x78\x1b\xef\xf1\x64\xb1\xb5\x8a\xa8\x23\xb3\x04\xac\x22\xdf\xe7\x4e\x88\x48\x27\x94\x2c\x7d\x74\xed\x36\xfc\x5f\x4b\x06\x54\x88\x22\x0a\x29\xd8\x2e\x73\xa2\x2d\x52\xd1\xad\x80\xc2\xb7\x6f\x31\xa4\xfc\xe5\x50\x3b\x5c\x7e\xf1\xc4\xe9\x8b\x60\xb7\xec\xab\x04\x9c\xed\x07\xe4\x8d\x04\x63\xb5\xb5\x87\xad\x67\x45\xb0\x10\xff\x8e\x90\x2b\x8c\xd8\x98\x49\xe6\xad\xc0\xc6\x6e\x05\x20\xdb\x96\x3f\xc3\xb6\xdd\x1e\xc6\xdb\xcf\x80\x3e\xc7\x94\x48\x22\xed\xb4\x99\x54\x0d\x90\x91\xe0\x96\x7d\x55\x00\x67\x06\x6a\x26\x08\x33\x29\xbe\x87\x2f\x03\x40\x4e\xa8\xa4\x4b\x7c\xf4\x4a\x30\x8a\x1e\x73\x13\x95\x61\xd4\x83\x6a\x40\x0c\x3c\x6b\x4e\x34\xd9\x4f\xd2\x04\xd8\x44\x78\xcb\xbe\x9e\x10\xea\xa0\x6f\xd6\x6e\x13\x5c\x23\x59\xfe\x02\x5e\x75\x20\xb3\xae\x95\x28\xf3\x51\xe2\xbd\x28\x20\x13\xd0\x97\x05\x64\x03\x6c\x39\x20\x9b\x00\x79\x23\x41\x99\x92\xb4\x78\x24\xae\x5b\xa0\x38\x1b\x42\xd7\x38\x79\x40\x2a\x2e\x3c\x2e\x64\x69\xb5\xfd\xf4\xc1\xe8\x5d\x55\x51\x5f\x8d\x46\x71\x0b\xb6\xf2\x28\xba\x46\x7d\x13\xd7\x2d\x9f\x60\xad\x34\x06\xac\x0e\xe4\xa7\xee\x73\xc6\xaa\xbc\x3f\xc2\x41\x42\xeb\xc7\xf8\x30\x1a\xe7\x47\x98\xd8\xb2\xaf\x3f\xc8\x81\xc1\xea\x3f\xc2\xc0\xe5\xac\xa0\x73\x52\x77\x7e\xc9\x7b\x64\x37\x16\x57\x61\x5b\x24\xfd\x91\xf0\xb6\x38\x13\x64\x1b\x68\xd1\x51\x9c\xef\xb9\x48\x85\xb7\xf2\x30\x7c\x9f\xd4\xf8\x6e\xb1\xd2\xc9\xa1\x02\xb2\xc6\x4f\x19\x40\xfc\x87\xb6\x17\xf7\x10\x0d\x00\x0b\x75\x6f\xa1\xed\x55\x90\x15\x80\x5c\x82\xf7\xc5\x63\x22\x79\x39\x70\xd4\x1e\xe4\x9c\xba\xf8\xf8\xdb\xd3\xb9\x6b\x7b\xee\x9c\x9d\x7a\x34\xd7\xb8\xec\x71\xed\xb8\xd6\xc7\x15\x1e\x3c\xf8\xa0\x75\x2f\x5d\x1f\xe9\x5a\x6c\x86\xe0\x1d\x1c\xa8\x76\x4a\x1a\x04\x18\x69\xe0\x77\xde\xbd\xa2\xb0\x61\xab\xd0\xeb\x0a\x6c\x09\x3f\x02\x9d\x87\xec\x97\x9a\xc2\x1b\xe6\xab\xcf\xad\xe2\xdf\x74\xf7\x70\x50\x16\xd3\x21\xbe\x13\xc9\x71\xe5\x86\x79\xb2\x81\x19\x3b\x0e\xfa\x18\xc6\x63\xd0\x65\xe4\x0b\x9b\x07\x88\x8d\xe2\x9a\x5a\xd1\x3a\xa1\xf9\x11\x8c\x8c\x08\x77\xde\xfd\x5d\xff\xbe\xe0\x9c\x34\x01\x0e\x14\x40\xa9\x16\x7e\x04\x1f\x46\x50\x62\x34\xfb\x39\x8c\x0a\x8f\x46\xa8\xeb\x24\xd7\xa8\x54\x68\xbf\x46\x93\xe4\xc8\x84\xc6\x07\xb5\xac\x1d\x0e\x34\x29\x9a\x41\x55\x39\xb2\x2a\x93\xe8\xfb\x90\x0f\xda\xd0\x93\x92\xc9\xa7\x36\xbc\x01\x9b\x1c\x1d\x92\x41\x1b\x0e\x80\x0c\x86\x8a\x59\xa5\x10\x0d\x16\x80\xe3\xb2\x74\xe9\x31\x46\x9e\x1a\xc8\xa8\xdc\x96\xdc\x69\xa0\x07\xcd\xc7\x72\xff\x9c\x57\xd1\xba\xbe\x5a\xee\xed\x78\x97\x23\x75\x6d\x6b\x39\x18\xf6\x2d\xad\x80\x25\xcd\xb5\x1c\x35\xc6\xd4\x9d\xc5\x7d\x7c\xa9\x13\x2a\x35\xe5\x09\x55\x55\x60\x46\x6f\x73\x80\x98\x9f\xb2\xeb\x68\xad\xfb\x31\xf4\xe1\xf5\xeb\x72\xe3\x6e\xf0\x8f\xf2\x20\xc0\x51\x64\x04\x6c\xed\xb8\x8e\x36\x1b\xb4\xab\xb1\x59\x56\x9f\xc6\x6c\x26\xa7\xc2\xcf\x41\x3c\x36\x66\x19\x24\x1e\x88\x60\x04\x97\x44\x6c\xba\x22\x8c\xa8\x63\x67\x33\x52\xbb\x0c\xb5\xa8\x42\x2d\x0a\x28\xa9\x8b\x78\x97\x2c\x79\x42\xa1\x0d\xc7\x23\x18\xc0\xb7\x6f\x50\x5a\x5f\x24\xeb\xaa\x46\xf2\xa1\xec\x70\x94\x3c\x0f\x4b\x5b\x0b\x65\x6b\xa1\x68\x5f\x1f\x8e\xb2\x8d\xdc\x1b\xb6\x16\x1c\xa4\x02\x1e\x80\x35\xcc\xfe\x5a\xb4\x55\x3f\x54\x26\xbe\xb2\x80\xc5\x18\xa8\x28\x22\x9d\x03\x4d\x90\x75\xca\x48\xe9\x18\xd4\x91\xe2\x55\x15\xa2\x4c\xa0\x87\xa3\xec\xaf\xa1\xb6\xbd\x28\x6d\x7f\x97\x62\xb8\x54\x45\x26\x74\xa6\x9a\x8c\x1b\x3d\x39\xa8\xe4\x8e\x47\x95\xa1\x5f\xe5\xdb\xf1\x91\x84\xb9\x2b\x2b\x4e\xae\xb8\xad\x69\x06\xae\x3a\xf2\x86\x50\xd7\xc7\xb8\x0c\xdb\xf8\x20\xd4\x78\x35\x56\xc7\x4a\x94\x95\xee\x11\xf0\x41\x74\xf3\x5a\x3d\x2c\xc3\x68\x77\x10\xa5\x3d\xc3\xed\x42\xb6\x5f\x1d\xfe\xcb\x2e\x25\xf2\xab\x07\x79\x78\xd2\xac\xb9\x29\xcf\xc3\xda\x52\x28\x9a\x4b\xbe\x14\x5f\x14\x65\x5e\x90\x70\x8d\x49\x27\x17\x10\x57\xe6\x9d\xda\xcd\xf8\xea\xe5\x7b\x6a\x9b\xe4\x3a\x08\x51\xf6\x7f\x1f\x71\x45\x64\x21\x57\x8c\xa8\xd9\x20\x88\xf8\xc6\xd6\x5a\xbd\x98\x8b\x4e\x59\xf5\xed\xb6\xa6\xe0\xd2\xa5\x8e\x2a\xe5\xab\x4c\xbf\x3a\xcf\xca\x05\x4e\x7d\xca\xaa\x64\x8f\xa6\xcc\x55\x96\xbb\x74\xf9\xd3\x94\x0d\xb4\x40\x6c\x4e\x08\x99\x58\x7a\x11\x7b\x65\x28\x38\x79\x20\x65\x49\x5c\x43\xd2\x64\x6c\xaa\x8b\x06\x67\x15\x61\xd5\xde\xa6\xd0\x9b\x50\x57\x0d\xbc\x9f\xe6\xd2\x49\x17\xfb\xa8\xb5\xb1\x45\xbf\x2c\x4c\x5d\xad\xa6\x55\x89\xff\xa1\x5a\x64\x9b\xdc\x5b\x73\x60\x1e\xf8\x9e\x83\x92\x50\x07\x06\xba\x93\x96\xb2\xc0\xc1\x41\xad\x0b\x1b\xb2\x4c\x91\x45\x0d\xf9\xe4\xd8\x78\x21\x9c\x2a\xaa\x92\xcb\xb2\x3c\x55\x18\xf0\xf9\x05\x29\x31\x4f\x0a\xda\xd1\xb2\x14\xbd\x7e\x6d\x74\x12\xf5\xe4\x4a\x63\xf5\x13\xce\x7d\xa5\x88\xf7\xfa\x75\x59\x8b\x70\xa8\x26\xf2\x0f\xe5\x6b\x71\xdd\x8d\x96\x91\x10\x8c\x56\x73\x89\x29\x95\x6b\x05\x17\x92\x37\x22\x09\xfa\x40\x71\x98\x62\x98\x36\x53\x39\xaa\xa5\xf2\x56\xa1\xb2\x87\xc8\xdb\x5a\x22\xc6\xf9\xa1\x30\x8a\x2c\xdb\x29\xac\xac\xe2\x03\x4b\x0b\x8c\x8c\x8e\x41\xda\x6a\xda\xe0\x28\xb2\x8c\x53\xe9\xc2\x3b\x9a\xe6\x2b\x1a\x2a\x13\xaf\xe5\xb0\x6f\xed\x69\x60\x93\xe4\x93\x5c\xe1\xfd\x27\xff\xfc\xe3\xfc\x03\x4d\xd9\xa3\xaa\x77\x09\xa5\x6b\x9d\x47\xdb\x4f\x45\x4c\xa5\x2b\x8b\xf2\xca\xbf\x93\x65\xe2\x77\x38\x1e\x17\x59\x45\xe7\x7f\x87\x22\x69\xe6\x03\xb6\x53\x0f\x8d\xef\x94\xe0\xb0\x72\xfd\xe2\x3e\xa6\x7b\x71\xd2\xea\xc8\x14\x71\x00\x75\x04\x16\x0d\x04\x16\x39\x01\x4d\x2a\x73\xda\x6d\x2c\x27\x72\xee\x88\xa5\x32\x43\xdd\x99\x49\x1e\xc2\xe0\x5e\xd7\x5d\x8d\x3b\x19\x94\x28\x4d\xf7\x3d\xfa\x1a\x96\xd1\x9f\xaa\xe8\x8d\xda\x2a\xa3\xcb\x40\xf8\x88\xbe\x20\x7a\x60\xd4\x90\x30\x04\x4e\xec\xf9\x07\x23\x29\xc8\x9b\xfd\xd7\x5c\xf9\x54\xe7\x3e\xb6\xa1\xa7\x9c\xff\x06\x06\xfd\x7e\xbf\x5d\xa2\xbb\x88\xe9\x3e\x7d\x1f\xdd\xa7\x3d\x74\x6b\x15\x6b\xb0\xc3\x7e\xac\x85\x41\xfd\xcd\x58\x85\x8a\x5f\xd2\x0b\x35\x17\xfc\x2c\xab\x1d\x8f\xea\x6b\x7e\x63\x07\x12\x4f\xda\x7b\x87\x88\x83\x51\x62\xe5\x37\xc5\x5b\xf5\x9a\x09\x22\x81\x5c\x98\x21\x95\x36\xa1\x96\xa1\x4a\xa7\xa0\x0d\xf9\x09\x1b\xca\x7b\xfc\xa1\x01\x7a\x51\x40\x2f\xea\xa0\x9f\xb5\x51\x5b\xbb\xf9\x32\xde\xd2\x6f\x88\x2f\x39\xc5\x29\xf2\x80\x51\x8e\xf6\x16\x39\x27\x6b\x2c\x15\x82\x0d\xb9\x5e\xfe\x25\xe7\x0b\xdc\xc1\x5f\x7c\x76\x36\xb6\xad\xd9\xd9\xf8\xf0\xe8\xdd\x7f\x59\x1d\xb0\xe6\x93\x4f\xf3\xac\xba\x27\xa0\x5d\x8e\xe2\xec\x72\x7c\xf2\x07\x3e\x65\xf4\xcc\x70\x09\x9f\xf6\xce\xa3\x2e\xdb\x75\x7d\xe6\xc4\xde\xdf\xdd\x10\xbe\xe9\xf2\x68\xc9\x45\x68\x0f\xb2\x1c\x98\x5e\x1b\x2e\x05\x23\x76\x8a\xbe\x4e\x8e\xb1\xad\xdf\x16\xf3\xc9\xcc\x6a\x6b\xf7\x7f\x41\xc8\x1c\xe4\xfc\x84\x6d\xb7\x84\xba\xba\x64\xd2\x66\xe9\x92\x2c\x5c\xe1\x58\xd8\xfd\xb6\xb4\x97\xe5\x59\x7a\x35\x92\x09\x2d\x20\x21\xc7\x73\x2a\x72\x24\x9d\xc1\x8c\xa8\xc7\xaf\xc8\x95\xfd\xd8\x96\x7e\xf8\xd8\x15\x6c\x26\x42\x8f\xae\xed\x36\xbc\x1a\x41\x05\x37\x06\x32\x55\xaa\x54\x5c\xed\x72\x42\x37\xb1\xf2\xe5\xc0\xe3\xf0\x5f\x72\x1b\xa3\x9c\xad\x0f\x1c\x65\x96\x9e\x5b\xad\xd4\x6e\xd5\xd7\x45\x3e\x23\xae\xd5\x81\xcc\x12\xb6\xea\x4d\x24\x12\x1b\x59\xb4\x1d\x22\xf4\xeb\x97\xf8\x03\x8e\x00\x69\x32\xb0\xe6\xaf\xa3\xd6\x28\xd2\x77\x57\x71\xf9\xb7\x52\x10\x4b\xb9\x9d\x73\x7c\xc6\x63\x6a\xb5\x48\x09\x44\x86\x13\x90\x46\xe0\x80\xa8\x90\xf1\x15\xca\x1e\xf0\x18\x46\xe5\xe8\x0b\x3e\x2d\x19\x09\x1b\x8f\xc9\x60\x54\xbc\xe2\x3d\x5f\x3e\x0b\xd4\xe2\xeb\xb0\x2a\x1d\x81\x8f\xa2\x09\x57\xee\x67\xf0\x89\x6e\xba\x5c\x3c\xf9\xd8\x75\x3d\x1e\xf8\x44\xd6\x60\x8b\x32\x8a\x56\xae\x86\xc6\xfd\x4c\x94\x46\x20\x79\x66\xf7\x81\xf8\x11\xca\x0d\x2b\x7d\x45\x95\x7c\x34\x74\x13\x32\xc1\x1c\x26\xf5\x6c\xed\x38\x7f\x6f\x15\x17\xaa\x79\x5e\x08\x72\x98\x11\x58\xf1\x17\x5a\x56\x79\x66\x2d\x13\xc9\x68\x24\xde\xbb\xe3\x69\x06\xfb\x13\x97\x33\xe6\x7c\x41\x61\x2b\x08\x07\x60\xf5\x7a\x72\x66\x29\x92\x10\xe3\x82\x92\x2d\xc2\x41\x29\x2e\x95\x9f\xc2\x18\x0b\x05\xfc\x37\x58\xef\x4b\x14\xe2\xd5\xf7\x60\x59\xed\x7a\x1a\x56\x6f\xc7\xa5\x19\x52\x16\xbb\x8c\xa6\x29\x42\x46\x46\x16\x3e\xf1\x65\x9c\x5e\x00\x4b\x71\xa4\x67\x8f\xf8\x26\x4d\xcb\x7f\x31\x95\xae\x4b\x04\x69\xeb\xe0\xe9\xe1\xb1\x1f\xd8\xda\x35\xd3\xb3\x21\x2d\x99\x12\x92\x1e\xd7\xe5\x0e\x31\x1b\x0c\xab\x05\x47\x65\x4b\x69\x33\x92\x18\x6f\x74\xa7\x4c\xd0\x8d\xc7\x05\x0b\x9f\xba\x5c\x10\x81\xb1\x6f\x14\x81\xa5\x09\x5a\xef\xa6\x2b\x1f\x1f\xad\xb2\xe4\xb1\xbb\xae\x98\x13\x71\x7b\xdf\xdc\x6b\x0c\x0f\x8d\x64\xaa\xaa\xe7\xec\xcd\x6c\x6c\xed\x58\xe5\xaa\xad\x75\x33\x1b\xbe\x2e\xd1\x85\x32\x7f\xa5\x53\xb6\xce\x4b\xf5\xb9\x2f\xce\x9b\x95\x18\x03\x2a\x65\xc8\x9c\x56\x54\xbd\x64\xda\xd8\x9b\x23\xb3\x0c\x67\xa8\x36\x8e\xef\x39\x5f\xac\x4e\x5d\x88\xbd\xf4\x57\x84\xdb\x4f\xb2\xc1\x3f\xd3\xad\xe6\x4d\x66\xe7\xcc\x42\x21\x88\xf8\x66\x26\xc3\x41\x29\x32\x1d\xb0\x92\x8f\x88\xe1\x0f\xad\xee\x3c\x2b\x6f\xaf\x5e\x19\xbe\x2f\x54\x85\xd5\x6b\x4e\xa3\x44\x89\xec\x15\x94\x5a\x13\xfe\x34\x1b\x98\x62\xb6\xfa\xbd\x60\x40\xdc\xea\x2d\x55\xb6\x52\xeb\xa1\x32\xaf\xfd\x64\xef\xac\x57\x8b\x52\x52\x5f\x8d\xe2\x52\x53\x73\x21\x27\x64\x69\x2a\xa0\xdb\x86\x54\xa7\x56\xe6\xb2\x12\x62\x4a\x49\xb3\x97\x79\xd8\x92\x38\x5f\x6c\xcd\x7f\x52\x10\x46\x03\x16\xa4\xc9\x78\x4f\x11\xab\x73\xf7\xcc\xdf\x75\x71\x5e\x92\x67\xe1\xa5\xed\x08\xd4\xde\x62\xd6\x8b\x5a\xe8\xe4\x79\xd8\x9c\xb8\x42\x94\x5d\xf0\xcf\x4e\x5b\x66\xcf\xc8\x5b\x90\x84\x09\xdd\x4e\x52\x8b\x55\x7e\xe2\xf1\x9b\x0b\x12\x0a\xab\xa3\xbe\x86\xed\xe4\x5f\xeb\xee\xc1\x45\xea\xe6\x98\x13\xea\xbe\x18\xcf\x89\x2f\x7d\x73\xd4\xe4\x0e\xf8\xc5\xd8\x72\x50\xcf\x71\xe5\xc8\x5b\x60\x3e\x17\x8f\xff\x1f\x00\x00\xff\xff\x6b\xa4\xaf\x2d\xb1\x32\x00\x00") +var _webdataFnJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3a\x5d\x6f\xdb\xb8\xb2\xef\xf9\x15\x53\x3d\x14\x72\xe3\xc8\x76\x8a\xde\x5d\xd4\x75\xef\xf5\xa6\xee\x26\xd8\xa4\x09\x6c\xe7\x6e\x8d\x20\x58\xd0\xd2\xd8\xd6\x56\x26\xb5\x22\x15\xc7\x3d\xcd\x7f\x3f\xa0\x3e\x29\x8a\x92\xb3\x5d\xf4\xe5\xe0\x18\x68\x2a\x93\x33\xc3\xf9\xfe\xa0\xdc\x7b\x75\x04\xaf\x00\x00\xce\x58\xb8\x8f\xfc\xf5\x46\x80\xed\x76\xe0\xb4\x3f\xf8\x19\x6e\x69\x14\x7b\xef\x62\xf9\xf7\xff\x58\x2c\x02\xc6\xbe\x38\x2e\xdb\xbe\x3f\x82\x1c\x69\xbe\xf1\x39\xac\xfc\x00\xc1\xe7\x10\x92\x48\x00\x5b\xc1\x14\xb7\x4c\xe0\xc9\x9c\xc5\xee\x26\x24\x9e\x53\x82\x7f\x64\x6c\x49\x22\x09\xbb\x8a\x10\x81\xb3\x95\xd8\x91\x08\xdf\xc2\x9e\xc5\xe0\x12\x0a\x11\x7a\x3e\x17\x91\xbf\x8c\x05\x82\x2f\x80\x50\xaf\xc7\x22\xd8\x32\xcf\x5f\xed\x33\x22\xbe\x80\x98\x7a\x18\x81\xd8\x20\x08\x8c\xb6\x5c\x1e\x2a\xbf\xfc\xfa\xe9\x16\x7e\x45\x8a\x11\x09\xe0\x26\x5e\x06\xbe\x0b\x97\xbe\x8b\x94\x23\x10\x0e\xa1\x5c\xe1\x1b\xf4\x60\x99\x93\x92\x48\x1f\x25\x27\xb3\x8c\x13\xf8\xc8\x62\xea\x11\xe1\x33\xda\x05\xf4\xc5\x06\x23\x78\xc0\x88\xfb\x8c\xc2\xeb\xfc\x98\x8c\x66\x17\x58\x94\xd1\xb1\x89\x90\x22\x44\xc0\x42\x89\xda\x01\x42\xf7\x10\x10\x51\x62\x2b\x4a\xd0\xd4\x23\xb5\x51\x0a\xed\x81\x4f\x93\x43\x36\x2c\x44\x10\x1b\x22\xa4\xbc\x3b\x3f\x08\x60\x89\x10\x73\x5c\xc5\x41\x37\x23\xb4\x8c\x05\xfc\x7e\x31\x3f\xbf\xbe\x9d\xc3\xf8\xd3\x02\x7e\x1f\x4f\xa7\xe3\x4f\xf3\xc5\x10\x76\xbe\xd8\xb0\x58\x00\x3e\x60\x4a\xcd\xdf\x86\x81\x8f\x1e\xec\x48\x14\x11\x2a\xf6\xc0\x56\x19\x91\xab\xc9\xf4\xec\x7c\xfc\x69\x3e\xfe\xe5\xe2\xf2\x62\xbe\x00\x16\xc1\xc7\x8b\xf9\xa7\xc9\x6c\x06\x1f\xaf\xa7\x30\x86\x9b\xf1\x74\x7e\x71\x76\x7b\x39\x9e\xc2\xcd\xed\xf4\xe6\x7a\x36\x71\x00\x66\x28\x99\xc3\x8c\x46\x8b\xde\x57\x89\xf5\x22\x04\x0f\x05\xf1\x03\x5e\xea\x61\xc1\x62\xe0\x1b\x16\x07\x1e\x6c\xc8\x03\x42\x84\x2e\xfa\x0f\xe8\x01\x01\x97\x85\xfb\xc3\x36\x4d\xc9\x90\x80\xd1\x75\x22\x70\xe6\x5d\x0e\xc0\xc5\x0a\x28\x13\x5d\xe0\x88\xf0\x6e\x23\x44\xf8\xb6\xd7\xdb\xed\x76\xce\x9a\xc6\x0e\x8b\xd6\xbd\x20\x25\xc0\x7b\xef\x25\x3b\xbd\xa3\x23\xe8\xf5\xe0\x6e\x00\x89\x49\xba\x70\x9a\x3e\x20\xef\xc2\xeb\xfc\xf1\xfe\xc8\x65\x94\x0b\x98\x5f\xdf\x9e\x9d\xff\x71\x75\xfd\xff\x93\x3f\xe6\xe7\xd3\xc9\xec\xfc\xfa\xf2\x03\x8c\xe0\x6e\xd0\xef\xc2\xe0\x8d\xfc\x77\x3f\xac\x80\xce\x2f\xae\x26\xd2\x40\x23\x38\x7d\xd3\xcf\xb7\x12\xfc\xab\xdb\x4b\xb9\x3c\xc8\x17\x67\x67\xd3\xeb\xcb\xcb\x7c\xb9\xef\xf4\xdf\x0c\x8f\x24\x5f\x77\xe1\x63\x8f\x77\x61\x1b\x07\xe2\xbe\x0b\x8e\xe3\xe4\xbc\xdc\x5c\x5f\x7c\x9a\x4f\xa6\x7f\x8c\xcf\xce\x26\x97\x93\xe9\x78\x7e\x71\xfd\x49\xf2\x72\xd7\xef\x42\xff\xbe\x0b\x77\x3f\xff\xd4\x85\x81\x7c\x18\xfc\xf4\x3a\x7b\x7a\xf3\xe6\x75\x17\x4e\xef\xef\x87\x47\x47\x0f\x24\x82\x1d\x1f\x26\xff\x87\xc4\x2b\x1e\x02\xb2\xc4\x20\xdb\x17\x52\xfa\x2b\x26\xcd\x32\x82\x15\x09\x38\x0e\xcb\xf5\x99\x90\x01\x3f\x82\xbe\xb2\x76\x49\xb8\x98\x50\x4f\x5b\x9d\x62\x80\x84\xa3\x77\xc6\x62\xaa\x60\x30\xba\x66\x3e\x5d\x67\x2a\x96\xac\xdf\xa7\x1b\x5b\xf6\x80\x9f\x67\xf1\xb6\x04\x95\x2b\x8b\xca\x0a\x77\x23\x16\x04\x9f\x0d\x6b\x55\x38\x2f\x22\xeb\xb5\x4f\xd7\x55\x01\xf2\xd5\xb9\xbf\x45\x19\x29\x23\xa0\x71\x20\xa5\x5e\xc5\xd4\x95\x31\x0c\xab\x38\x08\xb8\x1b\x21\xd2\x09\x25\xcb\x00\x3d\xbb\x03\xff\x3a\x92\xee\x1e\xa1\x88\x23\x0a\xb6\xc7\xdc\x78\x8b\x54\x38\x35\x50\xf8\xf6\x2d\x81\x94\x9f\x02\x6a\x87\xcb\x2f\xbe\xf8\xf8\x2c\xd8\x2d\xfb\x2a\x01\x67\x87\x01\x79\x2b\xc1\x44\xe2\xce\xf0\xe8\x49\x11\x2c\xc2\xbf\x62\xe4\x0a\x23\x36\xe6\x92\xf9\x2b\xb0\xd1\xa9\x01\xe4\xdb\xf2\x63\xd8\xb6\x3b\xc3\x64\xfb\x09\x30\xe0\x98\x11\x49\xa5\x9d\xb6\x93\x6a\x00\x32\x12\xdc\xb2\xaf\x0a\xe0\xcc\x40\xcd\x04\x61\x26\xc5\x0f\xf0\x65\x00\x28\x08\x55\x74\x89\x8f\x7e\x05\x46\xd1\x63\x61\xa2\x2a\x8c\x7a\x50\x03\x88\x81\x67\xcd\x89\x26\x87\x49\x9a\x00\xdb\x08\x6f\xd9\xd7\x33\x42\x5d\x0c\xcc\xda\x6d\x83\x6b\x25\xcb\x9f\xc1\xab\x0e\x64\xd6\xb5\x12\x65\x01\x4a\xbc\x67\x05\x64\x0a\xfa\xbc\x80\x6c\x81\xad\x06\x64\x1b\x20\x6f\x25\x28\xb3\x8c\x16\x8f\xc4\xf3\x4a\x14\x77\x43\xe8\x1a\x27\x0f\x48\xc5\xa5\xcf\x85\x2c\x7c\x76\x90\x3d\x18\xbd\xab\x2e\xea\x8b\xd1\x28\x69\x90\x56\x3e\x45\xcf\xa8\x6f\xe2\x79\xd5\x13\xac\x95\xc6\x80\xd5\x85\xe2\xd4\x43\xce\x58\x97\xf7\x7b\x38\x48\x69\x7d\x1f\x1f\x46\xe3\x7c\x0f\x13\x5b\xf6\xf5\x3b\x39\x30\x58\xfd\x7b\x18\xb8\x9a\x95\x74\xce\x9a\xce\xaf\x78\x8f\xec\x95\x92\x02\x6a\x8b\xb4\x7b\x11\xfe\x16\x67\x82\x6c\x43\x2d\x3a\xca\xf3\x7d\x0f\xa9\xf0\x57\x3e\x46\x6f\xd3\xf2\xec\x94\x2b\xdd\x02\x2a\x24\x6b\xfc\x9c\x03\x24\x5f\xb4\xbd\xa4\xfc\xb7\x00\x2c\xd4\xbd\x85\xb6\x57\x43\x56\x00\x0a\x09\xde\x96\x8f\xa9\xe4\xd5\xc0\x51\xdb\x87\x0b\xea\xe1\xe3\x2f\xfb\x0b\xcf\xf6\xbd\x39\xfb\xe8\xd3\x42\xe3\xb2\x03\xb5\x65\xc9\xf7\x93\x9e\x00\x7c\x78\xa7\x35\x1e\x4e\x80\x74\x2d\x36\x43\xf0\x8f\x8f\x55\x3b\x25\x48\xb2\x95\xa9\x82\xdf\xf9\xf7\x8a\xc2\x86\x47\xa5\x5e\x57\x60\x4b\xf8\x11\xe8\x3c\xe4\x9f\xcc\x14\xfe\xb0\x58\x7d\x3a\x2a\xff\x66\xbb\x27\x83\xaa\x98\x2e\x09\xdc\x58\x0e\x13\x37\xcc\xa7\x02\xa3\xb1\xeb\x62\x80\x51\x32\xa4\x5c\xc5\x81\xb0\x79\x88\xd8\x2a\xae\xa9\x51\x6c\x12\x9a\x9f\xc2\xc8\x88\x70\xe7\xdf\xdf\xf5\xef\x4b\xce\x49\x1b\xe0\x40\x01\x94\x6a\xe1\xa7\xf0\x6e\x04\x15\x46\xf3\x8f\xcb\xa8\xf0\x69\x8c\xba\x4e\x0a\x8d\x4a\x85\xf6\x1b\x34\x49\x4e\x4d\x68\x7c\xd0\xc8\xda\xc9\x40\x93\xa2\x1d\x54\x95\x23\xaf\x32\xa9\xbe\x4f\xf8\xa0\x03\x3d\x29\x99\x7c\xea\xc0\x2b\xb0\xc9\xe9\x09\x19\x74\xe0\x18\xc8\x60\xa8\x98\x55\x0a\xd1\x62\x01\x78\x5f\x95\x2e\x3b\xc6\xc8\x53\x0b\x19\x95\xdb\x8a\x3b\x0d\xf4\xa0\xf9\x50\x6d\x7d\x8b\x2a\xda\xd4\x12\xcb\xbd\x1d\x77\x38\x52\xcf\xb6\x96\x83\x61\xdf\xd2\x0a\x58\x1c\x7a\x44\xa0\x9c\x12\xc6\xd4\x9b\x25\x2d\x78\x41\xb4\xe8\xe6\x61\x04\x57\x44\x6c\x1c\x11\xc5\xd4\xb5\xf3\x06\x3f\x4b\x69\x45\x87\x5f\x87\x5a\x94\x50\x52\x91\xc9\x2e\x59\xf2\x94\x42\x07\xde\x8f\x60\x00\xdf\xbe\x41\x65\x7d\x91\xae\xab\x5a\x2d\x26\x8a\x93\x51\xfa\x3c\xac\x6c\x2d\x94\xad\x45\xb9\x55\x88\xbd\xb5\xe0\x38\x93\xe3\x18\xac\x61\xfe\x6d\xd1\x51\x15\xae\x4c\x25\x55\x39\xca\x51\x45\x91\x37\x9b\x55\x4c\x90\x4d\x32\x67\x74\x0c\x52\x67\x78\x75\xb9\x95\x29\xe9\x64\x94\x7f\x1b\x6a\xdb\x8b\xca\xb6\x49\x7e\x2e\x25\xce\x65\xcb\x35\x90\x1f\x6a\x2a\x4b\x1b\x42\xbd\x00\x93\x2c\x6f\xe3\x83\x50\x5b\x17\x63\xf2\xad\x05\x79\x65\xc2\xc4\x07\xe1\x14\xa5\x60\x58\x85\xd1\xa6\xd3\xca\x9e\x61\xee\xcc\xf7\xeb\x63\x61\xd5\x90\xa2\x18\x4a\xe5\xe1\x69\x2f\xe0\x65\x3c\x0f\x1b\x33\xad\x68\xaf\x28\x52\x7c\x51\x56\x11\x41\xa2\x35\xa6\x8d\x42\x48\x3c\x78\xf9\x12\x1a\x37\x93\xa1\xfc\xef\xa4\x4e\xc9\x75\x18\xa1\x6c\x2f\x3e\xe0\x8a\xc8\x3a\xd1\x29\xe1\x34\x1b\x84\x31\xdf\xd8\x5a\x27\x91\x70\xd1\xad\xaa\xbe\xd3\xd1\x14\x5c\x19\xf7\x55\x29\x5f\xe4\xfa\xd5\x79\x56\x46\xfb\xe6\x7c\x50\x0b\xcd\xb6\xb4\x50\x95\xbb\x72\x2d\xd0\x16\x83\x9a\xfb\xb7\x87\x61\x2e\x96\x9e\x23\xa5\x75\x92\x96\x5e\xb7\x4c\x80\x24\xca\x13\xac\x86\xa4\xc9\xd8\x96\x76\x0d\xce\x2a\xa2\xba\xbd\x4d\xa1\x37\xa1\x9e\x1a\x78\x3f\xcc\xa5\xd3\x26\xe9\x51\xeb\x92\xca\x76\x4c\x98\x9a\x26\x4d\xab\x12\xff\x5d\xbd\xc6\xb7\xb9\xb7\xe6\xc0\x3c\x0c\x7c\x17\x25\xa1\x2e\x0c\x74\x27\xad\x64\x81\xe3\xe3\x46\x17\x36\x64\x99\xb2\x82\x1b\xf2\xc9\x7b\xe3\x6d\x60\xa6\xa8\x5a\x2e\xcb\xf3\x54\x69\xc0\xa7\x67\xa4\xc4\x22\x29\x68\x47\xcb\x02\xf0\xf2\xa5\xd1\x49\xd4\x93\x6b\x75\xfb\x07\x9c\xfb\x42\x11\xef\xe5\xcb\xaa\x16\xe1\x44\x4d\xe4\xef\xaa\x77\xa2\xba\x1b\x2d\x63\x21\x18\xad\xe7\x12\x53\x2a\xd7\xca\x1c\xa4\xd7\xe1\x29\xfa\x40\x71\x98\x72\x56\x33\x53\x39\x6d\xa4\xf2\x5a\xa1\x72\x80\xc8\xeb\x46\x22\xc6\xf6\xb4\x34\x8a\xac\xa2\x19\xac\x2c\xaa\x03\x4b\x0b\x8c\x9c\x8e\x41\xda\x7a\xda\xe0\x28\xf2\x8c\x53\x6b\xf2\xba\x9a\xe6\x6b\x1a\xaa\x12\x6f\xe4\xb0\x6f\xd5\x92\xae\x29\xf9\xa4\x37\x44\xff\xcd\x3f\xff\x38\xff\x40\x5b\xf6\xa8\xeb\x5d\x42\xe9\x5a\xe7\xf1\xf6\x73\x19\x53\xd9\xca\xa2\xba\xf2\x9f\x64\x99\xe4\x76\xdf\xe7\x22\xaf\xe8\xfc\xaf\x48\xa4\x2d\x74\xc8\x76\xea\xa1\xc9\x95\x05\x9c\xd4\xa6\x7b\xef\x31\xdb\x4b\x92\x56\x57\xa6\x88\x63\x68\x22\xb0\x68\x21\xb0\x28\x08\x68\x52\x99\xd3\x6e\x6b\x39\x91\xdd\x7e\x22\x95\x19\xea\xce\x4c\xf2\x04\x06\xf7\xba\xee\x1a\xdc\xc9\xa0\x44\x69\xba\xbf\xa3\xaf\x61\x15\x7d\x5f\x47\x6f\xd5\x56\x15\x5d\x06\xc2\x07\x0c\x04\xd1\x03\xa3\x81\x84\x21\x70\x12\xcf\x3f\x1e\x49\x41\x5e\x1d\xbe\x45\x29\x66\x29\xef\x51\x0e\xf6\xe5\xf9\xaf\x60\xd0\xef\xf7\x3b\x15\xba\x8b\x84\xee\xfe\xef\xd1\xdd\x1f\xa0\xdb\xa8\x58\x83\x1d\x0e\x63\x2d\x0c\xea\x6f\xc7\x2a\x55\xfc\x9c\x5e\xa8\xbd\xe0\xe7\x59\xed\xfd\xa8\xb9\xe6\xb7\x76\x20\xc9\x7c\x7b\x70\x88\x38\x1e\xa5\x56\x7e\x55\xbe\x52\x6d\x98\x20\x52\xc8\x85\x19\x52\x69\x13\x1a\x19\xaa\x75\x0a\xda\x68\x9d\xb2\xa1\xbc\xc4\x1d\x1a\xa0\x17\x25\xf4\xa2\x09\xba\x8c\x42\xe3\xc5\x8a\xf1\x12\x78\x43\x02\xc9\x29\x4e\x91\x87\x8c\x72\xb4\xb7\xc8\x39\x59\x63\xa5\x10\x6c\xc8\xf5\xf2\x4f\x39\x5f\xe0\x0e\xfe\xe4\xb3\xf3\xb1\x6d\xcd\xce\xc7\x27\xa7\x6f\xfe\xc7\xea\x82\x35\x9f\x7c\x9e\xe7\xd5\x3d\x05\x75\x38\x8a\xf3\xab\xf1\xd9\x6f\xb8\xcf\xe9\x99\xe1\x52\x3e\xed\x9d\x4f\x3d\xb6\x73\x02\xe6\x26\xde\xef\x6c\x08\xdf\x38\x3c\x5e\x72\x11\xd9\x83\x3c\x07\x66\xb7\x52\x4b\xc1\x88\x9d\xa1\xaf\xd3\x63\x6c\xeb\x97\xc5\x7c\x32\xb3\x3a\xe9\xf5\x52\x46\xad\x7e\x47\x1e\x30\xe2\x59\x5d\xc8\x85\xaf\x5c\x35\x91\x58\x6c\x64\x29\x71\x89\xd0\x2f\x05\x92\x17\xce\x21\xd2\x74\x8c\x2a\xee\xe0\xd7\x28\xb2\x0b\xfb\xa4\x28\x59\x19\x88\xa5\xdc\xd4\xb8\x01\xe3\x09\xb5\x46\xa4\x14\x22\xc7\x91\xb3\x7c\x0b\x70\x48\x54\xc8\x64\xb0\x3f\x00\x9e\xc0\xa8\x1c\x7d\xc1\xfd\x92\x91\xa8\xf5\x98\x1c\x46\xc5\x2b\x5f\x6e\x14\x1d\x6a\x23\xbe\x0e\xab\xd2\x11\xf8\x28\xda\x70\xe5\x7e\x0e\x9f\xea\xc6\xe1\x62\x1f\xa0\xe3\xf9\x3c\x0c\x88\xac\x0c\x16\x65\x14\xad\x42\x0d\xad\xfb\xb9\x28\xad\x40\xf2\x4c\xe7\x81\x04\x31\xca\x0d\x2b\xbb\x97\x4f\x7f\xe4\x70\x13\x31\xc1\x5c\x26\xf5\x6c\xed\x38\x7f\x6b\x95\x97\x6b\x85\xb7\x86\x05\xcc\x08\xac\xe4\x47\x23\x56\x75\x92\xaa\x12\xc9\x69\xa4\xd1\xba\xe3\x59\x5c\xfd\x8e\xcb\x19\x73\xbf\xa0\xb0\x15\x84\x63\xb0\x7a\x3d\xd9\x49\x97\xa1\xc1\xb8\xa0\x64\x8b\x70\x5c\x49\x12\xca\x47\x61\x8c\x45\x02\xfe\x17\xac\xb7\x15\x0a\xc9\xea\x5b\xb0\xac\x4e\x33\x0d\xab\xb7\xe3\xd2\x0c\x19\x8b\x0e\xa3\x59\x18\xcb\xc8\xc8\xc3\x27\xb9\x22\xd2\xd3\x72\x25\x8e\xf4\xc4\xb7\xe3\x4e\x62\x54\x5b\xbb\xc9\x48\x43\xdb\x94\xc8\xf4\xb0\xac\xb6\x1d\xf9\xb4\x51\xcf\x62\x09\x6f\x8e\x47\x04\x51\x5b\xa8\x2c\x44\x5b\xbd\x21\x17\x64\xe3\x73\xc1\xa2\xbd\xc3\x05\x11\x98\x98\xb6\x8c\x0b\x4d\xac\x66\x2f\x5b\x05\xf8\x68\x55\x65\x4d\xbc\x6d\xc5\xdc\x98\xdb\x87\x86\x29\xa3\x77\x6b\x24\x33\x55\x3d\xe5\x6f\x93\x12\x63\x25\x4a\x56\x4d\xa5\x5b\xc9\xf0\x46\x5c\x17\xca\xfc\xcb\x82\xaa\x75\x9e\xab\xcf\x43\x61\xda\xae\xc4\x04\xb0\x80\x6b\xca\x0a\xaa\x5e\x72\x6d\x1c\x4c\x71\x79\x82\x32\x14\x0b\x37\xf0\xdd\x2f\x56\xb7\x29\x42\x9e\xfb\x29\xa3\xe5\x07\xd9\xe0\x9f\xe9\x56\xf3\x26\xb3\x73\xe6\xa1\x10\xc6\x7c\x33\x93\xe1\xa0\xd4\x88\x2e\x58\xe9\xcf\x12\xe1\x37\xad\x6c\x3c\x29\x2f\x22\x5e\x18\x7e\x13\xa5\x0a\xab\x97\x8c\x56\x89\x52\xd9\x6b\x28\x8d\x26\xfc\x61\x36\x30\xc5\x6c\xfd\x37\x4e\x21\xf1\xea\x57\x1f\xf9\x4a\xa3\x87\xca\xbc\xf6\x83\xbd\xb3\x59\x2d\x4a\x45\x7c\x31\x4a\x2a\x45\xc3\x2d\x8f\x90\x95\xa5\x84\xee\x18\x52\x9d\x5a\x58\xab\x4a\x48\x28\xa5\xbd\x5a\xee\x61\x4b\xe2\x7e\xb1\x35\xff\xc9\x40\x18\x0d\x59\x98\x25\xe3\x03\x35\xa8\xc9\xdd\x73\x7f\xd7\xc5\x79\x4e\x9e\x85\xe7\x76\x13\xd0\x78\x35\xd6\x2c\x6a\xa9\x93\xa7\x61\x7b\xe2\x8a\x50\x36\xb1\x3f\x3a\x6d\x99\x3d\xa3\xe8\x20\x52\x26\x74\x3b\x49\x2d\xd6\xf9\x49\x66\x3a\x2e\x48\x24\xac\xae\xfa\x6e\xaf\x5b\xfc\xc2\xf0\x00\x2e\x52\xaf\xc0\x9c\x50\xef\xd9\x78\x6e\x72\x93\x58\xa0\xa6\x17\x8b\xcf\xc6\x96\xd3\x5f\x81\x2b\xe7\xa8\x12\xf3\xa9\x7c\xfc\x77\x00\x00\x00\xff\xff\x43\x36\xc0\xc9\x03\x2f\x00\x00") func webdataFnJsBytes() ([]byte, error) { return bindataRead( @@ -89,7 +89,7 @@ func webdataFnJs() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/fn.js", size: 12977, mode: os.FileMode(436), modTime: time.Unix(1, 0)} + info := bindataFileInfo{name: "webdata/fn.js", size: 12035, mode: os.FileMode(436), modTime: time.Unix(1, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/main.go b/main.go index 2d354df..1e3edf4 100644 --- a/main.go +++ b/main.go @@ -43,7 +43,6 @@ const ( authenticationRateLimit time.Duration = time.Second / 10 authenticationRateBurst int = 10 challengeLength int = 8 - defaultUpdateInterval int = 50 defaultBind string = ":0" version string = "0.0.4" ) @@ -128,15 +127,13 @@ func secureRandBase64(length int) string { func main() { var bind, certFile, keyFile, secret string var showVersion, invert bool - var updateInterval int flag.BoolVar(&showVersion, "version", false, "show program's version number and exit") - flag.StringVar(&bind, "bind", defaultBind, "bind server to [IP]:PORT") + flag.StringVar(&bind, "bind", defaultBind, "bind server to [HOSTNAME]:PORT") flag.StringVar(&secret, "secret", "", "shared secret for client authentication") flag.StringVar(&certFile, "cert", "", "file containing TLS certificate") flag.StringVar(&keyFile, "key", "", "file containing TLS private key") flag.BoolVar(&invert, "invert", false, "use inverse colors for QR code") - flag.IntVar(&updateInterval, "interval", defaultUpdateInterval, - "mouse polling interval in milliseconds") + flag.Int("interval", 0, "obsolete, not used anymore") flag.Parse() if showVersion { fmt.Println(version) @@ -152,9 +149,6 @@ func main() { if secret == "" { secret = secureRandBase64(defaultSecretLength) } - if updateInterval < 0 { - log.Fatal("interval must be greater or equal to zero") - } var plugin Plugin var pluginName string platformErrors := "" @@ -208,7 +202,6 @@ func main() { if !challenge.verify(message) { return } - websocket.Message.Send(ws, fmt.Sprintf("i%d", updateInterval)) for { if err := websocket.Message.Receive(ws, &message); err != nil { return diff --git a/webdata/fn.js b/webdata/fn.js index 6861e41..35d174a 100644 --- a/webdata/fn.js +++ b/webdata/fn.js @@ -24,7 +24,6 @@ const MOVE_MULT = 1; const SCROLL_MULT = 0.05; // [[px/s, mult], ...] const POINTER_ACCELERATION = [[0, 0], [87, 1], [173, 1], [553, 2]]; -const MAX_IDLE_UPDATES = 10; var ws; var pad; @@ -41,9 +40,6 @@ var scrollXSum = 0; var scrollYSum = 0; var dragging = false; var draggingTimeout = null; -var updateTimer = null; -var updateInterval = 0; -var idleUpdates = 0; function fullscreenEnabled() { return (document.fullscreenEnabled || @@ -145,22 +141,11 @@ function onDraggingTimeout() { } function updateMoveAndScroll() { - if (updateTimer == null) { - onUpdateTimeout(); - if (updateInterval > 0 && idleUpdates == 0) { - updateTimer = setInterval(onUpdateTimeout, updateInterval); - } - } -} - -function onUpdateTimeout() { - idleUpdates += 1; var moveX = Math.trunc(moveXSum); var moveY = Math.trunc(moveYSum); if (Math.abs(moveX) >= 1 || Math.abs(moveY) >= 1) { moveXSum -= moveX; moveYSum -= moveY; - idleUpdates = 0; ws.send("m" + moveX + ";" + moveY); } var scrollX = Math.trunc(scrollXSum); @@ -168,13 +153,8 @@ function onUpdateTimeout() { if (Math.abs(scrollX) >= 1 || Math.abs(scrollY) >= 1) { scrollXSum -= scrollX; scrollYSum -= scrollY; - idleUpdates = 0; ws.send("s" + scrollX + ";" + scrollY); } - if (idleUpdates >= MAX_IDLE_UPDATES) { - clearInterval(updateTimer); - updateTimer = null; - } } function handleStart(evt) { @@ -298,20 +278,6 @@ function challengeResponse(message) { return btoa(shaObj.getHMAC("BYTES")); } -function processCommand(message) { - if (message.charAt(0) == "i") { - var x = parseInt(message.substr(1)); - if (isNaN(x) || x.toString() != message.substr(1) || x < 0) { - return false; - } - updateInterval = x; - clearInterval(updateTimer); - updateTimer = null; - return true; - } - return false; -} - window.addEventListener("load", function() { var authenticated = false; var opening = document.getElementById("opening"); @@ -336,9 +302,7 @@ window.addEventListener("load", function() { ws.onmessage = function(event) { if (authenticated) { - if (!processCommand(event.data)) { - ws.close(); - } + ws.close(); return; } authenticated = true; From 209eaf960d8fb1b4bdad1ce90e7b75d67ede33bb Mon Sep 17 00:00:00 2001 From: Unrud Date: Tue, 31 Jul 2018 20:19:08 +0200 Subject: [PATCH 026/321] X11 plugin: check session type --- plugin_x11.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugin_x11.go b/plugin_x11.go index 8031dad..6273f4f 100644 --- a/plugin_x11.go +++ b/plugin_x11.go @@ -28,6 +28,8 @@ package main import "C" import ( "errors" + "fmt" + "os" "sync" "time" "unsafe" @@ -41,6 +43,11 @@ type x11Plugin struct { } func InitX11Plugin() (Plugin, error) { + sessionType := os.Getenv("XDG_SESSION_TYPE") + if sessionType != "" && sessionType != "x11" { + return nil, UnsupportedPlatformError{errors.New(fmt.Sprintf( + "unsupported session type '%v'", sessionType))} + } display := C.XOpenDisplay(nil) if display == nil { return nil, UnsupportedPlatformError{ From c1509ac8fa9c8a16d0dfd94e793d7bccb7b022f1 Mon Sep 17 00:00:00 2001 From: Unrud Date: Tue, 31 Jul 2018 20:19:10 +0200 Subject: [PATCH 027/321] add support for "pixel-perfect" scrolling --- bindata.generated.go | 4 ++-- main.go | 3 +++ plugin.go | 3 ++- plugin_windows.go | 16 ++++++++++------ plugin_x11.go | 26 ++++++++++++++++++++++---- webdata/fn.js | 24 ++++++++++++++++++------ 6 files changed, 57 insertions(+), 19 deletions(-) diff --git a/bindata.generated.go b/bindata.generated.go index 9c02c58..46238ef 100644 --- a/bindata.generated.go +++ b/bindata.generated.go @@ -74,7 +74,7 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var _webdataFnJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3a\x5d\x6f\xdb\xb8\xb2\xef\xf9\x15\x53\x3d\x14\x72\xe3\xc8\x76\x8a\xde\x5d\xd4\x75\xef\xf5\xa6\xee\x26\xd8\xa4\x09\x6c\xe7\x6e\x8d\x20\x58\xd0\xd2\xd8\xd6\x56\x26\xb5\x22\x15\xc7\x3d\xcd\x7f\x3f\xa0\x3e\x29\x8a\x92\xb3\x5d\xf4\xe5\xe0\x18\x68\x2a\x93\x33\xc3\xf9\xfe\xa0\xdc\x7b\x75\x04\xaf\x00\x00\xce\x58\xb8\x8f\xfc\xf5\x46\x80\xed\x76\xe0\xb4\x3f\xf8\x19\x6e\x69\x14\x7b\xef\x62\xf9\xf7\xff\x58\x2c\x02\xc6\xbe\x38\x2e\xdb\xbe\x3f\x82\x1c\x69\xbe\xf1\x39\xac\xfc\x00\xc1\xe7\x10\x92\x48\x00\x5b\xc1\x14\xb7\x4c\xe0\xc9\x9c\xc5\xee\x26\x24\x9e\x53\x82\x7f\x64\x6c\x49\x22\x09\xbb\x8a\x10\x81\xb3\x95\xd8\x91\x08\xdf\xc2\x9e\xc5\xe0\x12\x0a\x11\x7a\x3e\x17\x91\xbf\x8c\x05\x82\x2f\x80\x50\xaf\xc7\x22\xd8\x32\xcf\x5f\xed\x33\x22\xbe\x80\x98\x7a\x18\x81\xd8\x20\x08\x8c\xb6\x5c\x1e\x2a\xbf\xfc\xfa\xe9\x16\x7e\x45\x8a\x11\x09\xe0\x26\x5e\x06\xbe\x0b\x97\xbe\x8b\x94\x23\x10\x0e\xa1\x5c\xe1\x1b\xf4\x60\x99\x93\x92\x48\x1f\x25\x27\xb3\x8c\x13\xf8\xc8\x62\xea\x11\xe1\x33\xda\x05\xf4\xc5\x06\x23\x78\xc0\x88\xfb\x8c\xc2\xeb\xfc\x98\x8c\x66\x17\x58\x94\xd1\xb1\x89\x90\x22\x44\xc0\x42\x89\xda\x01\x42\xf7\x10\x10\x51\x62\x2b\x4a\xd0\xd4\x23\xb5\x51\x0a\xed\x81\x4f\x93\x43\x36\x2c\x44\x10\x1b\x22\xa4\xbc\x3b\x3f\x08\x60\x89\x10\x73\x5c\xc5\x41\x37\x23\xb4\x8c\x05\xfc\x7e\x31\x3f\xbf\xbe\x9d\xc3\xf8\xd3\x02\x7e\x1f\x4f\xa7\xe3\x4f\xf3\xc5\x10\x76\xbe\xd8\xb0\x58\x00\x3e\x60\x4a\xcd\xdf\x86\x81\x8f\x1e\xec\x48\x14\x11\x2a\xf6\xc0\x56\x19\x91\xab\xc9\xf4\xec\x7c\xfc\x69\x3e\xfe\xe5\xe2\xf2\x62\xbe\x00\x16\xc1\xc7\x8b\xf9\xa7\xc9\x6c\x06\x1f\xaf\xa7\x30\x86\x9b\xf1\x74\x7e\x71\x76\x7b\x39\x9e\xc2\xcd\xed\xf4\xe6\x7a\x36\x71\x00\x66\x28\x99\xc3\x8c\x46\x8b\xde\x57\x89\xf5\x22\x04\x0f\x05\xf1\x03\x5e\xea\x61\xc1\x62\xe0\x1b\x16\x07\x1e\x6c\xc8\x03\x42\x84\x2e\xfa\x0f\xe8\x01\x01\x97\x85\xfb\xc3\x36\x4d\xc9\x90\x80\xd1\x75\x22\x70\xe6\x5d\x0e\xc0\xc5\x0a\x28\x13\x5d\xe0\x88\xf0\x6e\x23\x44\xf8\xb6\xd7\xdb\xed\x76\xce\x9a\xc6\x0e\x8b\xd6\xbd\x20\x25\xc0\x7b\xef\x25\x3b\xbd\xa3\x23\xe8\xf5\xe0\x6e\x00\x89\x49\xba\x70\x9a\x3e\x20\xef\xc2\xeb\xfc\xf1\xfe\xc8\x65\x94\x0b\x98\x5f\xdf\x9e\x9d\xff\x71\x75\xfd\xff\x93\x3f\xe6\xe7\xd3\xc9\xec\xfc\xfa\xf2\x03\x8c\xe0\x6e\xd0\xef\xc2\xe0\x8d\xfc\x77\x3f\xac\x80\xce\x2f\xae\x26\xd2\x40\x23\x38\x7d\xd3\xcf\xb7\x12\xfc\xab\xdb\x4b\xb9\x3c\xc8\x17\x67\x67\xd3\xeb\xcb\xcb\x7c\xb9\xef\xf4\xdf\x0c\x8f\x24\x5f\x77\xe1\x63\x8f\x77\x61\x1b\x07\xe2\xbe\x0b\x8e\xe3\xe4\xbc\xdc\x5c\x5f\x7c\x9a\x4f\xa6\x7f\x8c\xcf\xce\x26\x97\x93\xe9\x78\x7e\x71\xfd\x49\xf2\x72\xd7\xef\x42\xff\xbe\x0b\x77\x3f\xff\xd4\x85\x81\x7c\x18\xfc\xf4\x3a\x7b\x7a\xf3\xe6\x75\x17\x4e\xef\xef\x87\x47\x47\x0f\x24\x82\x1d\x1f\x26\xff\x87\xc4\x2b\x1e\x02\xb2\xc4\x20\xdb\x17\x52\xfa\x2b\x26\xcd\x32\x82\x15\x09\x38\x0e\xcb\xf5\x99\x90\x01\x3f\x82\xbe\xb2\x76\x49\xb8\x98\x50\x4f\x5b\x9d\x62\x80\x84\xa3\x77\xc6\x62\xaa\x60\x30\xba\x66\x3e\x5d\x67\x2a\x96\xac\xdf\xa7\x1b\x5b\xf6\x80\x9f\x67\xf1\xb6\x04\x95\x2b\x8b\xca\x0a\x77\x23\x16\x04\x9f\x0d\x6b\x55\x38\x2f\x22\xeb\xb5\x4f\xd7\x55\x01\xf2\xd5\xb9\xbf\x45\x19\x29\x23\xa0\x71\x20\xa5\x5e\xc5\xd4\x95\x31\x0c\xab\x38\x08\xb8\x1b\x21\xd2\x09\x25\xcb\x00\x3d\xbb\x03\xff\x3a\x92\xee\x1e\xa1\x88\x23\x0a\xb6\xc7\xdc\x78\x8b\x54\x38\x35\x50\xf8\xf6\x2d\x81\x94\x9f\x02\x6a\x87\xcb\x2f\xbe\xf8\xf8\x2c\xd8\x2d\xfb\x2a\x01\x67\x87\x01\x79\x2b\xc1\x44\xe2\xce\xf0\xe8\x49\x11\x2c\xc2\xbf\x62\xe4\x0a\x23\x36\xe6\x92\xf9\x2b\xb0\xd1\xa9\x01\xe4\xdb\xf2\x63\xd8\xb6\x3b\xc3\x64\xfb\x09\x30\xe0\x98\x11\x49\xa5\x9d\xb6\x93\x6a\x00\x32\x12\xdc\xb2\xaf\x0a\xe0\xcc\x40\xcd\x04\x61\x26\xc5\x0f\xf0\x65\x00\x28\x08\x55\x74\x89\x8f\x7e\x05\x46\xd1\x63\x61\xa2\x2a\x8c\x7a\x50\x03\x88\x81\x67\xcd\x89\x26\x87\x49\x9a\x00\xdb\x08\x6f\xd9\xd7\x33\x42\x5d\x0c\xcc\xda\x6d\x83\x6b\x25\xcb\x9f\xc1\xab\x0e\x64\xd6\xb5\x12\x65\x01\x4a\xbc\x67\x05\x64\x0a\xfa\xbc\x80\x6c\x81\xad\x06\x64\x1b\x20\x6f\x25\x28\xb3\x8c\x16\x8f\xc4\xf3\x4a\x14\x77\x43\xe8\x1a\x27\x0f\x48\xc5\xa5\xcf\x85\x2c\x7c\x76\x90\x3d\x18\xbd\xab\x2e\xea\x8b\xd1\x28\x69\x90\x56\x3e\x45\xcf\xa8\x6f\xe2\x79\xd5\x13\xac\x95\xc6\x80\xd5\x85\xe2\xd4\x43\xce\x58\x97\xf7\x7b\x38\x48\x69\x7d\x1f\x1f\x46\xe3\x7c\x0f\x13\x5b\xf6\xf5\x3b\x39\x30\x58\xfd\x7b\x18\xb8\x9a\x95\x74\xce\x9a\xce\xaf\x78\x8f\xec\x95\x92\x02\x6a\x8b\xb4\x7b\x11\xfe\x16\x67\x82\x6c\x43\x2d\x3a\xca\xf3\x7d\x0f\xa9\xf0\x57\x3e\x46\x6f\xd3\xf2\xec\x94\x2b\xdd\x02\x2a\x24\x6b\xfc\x9c\x03\x24\x5f\xb4\xbd\xa4\xfc\xb7\x00\x2c\xd4\xbd\x85\xb6\x57\x43\x56\x00\x0a\x09\xde\x96\x8f\xa9\xe4\xd5\xc0\x51\xdb\x87\x0b\xea\xe1\xe3\x2f\xfb\x0b\xcf\xf6\xbd\x39\xfb\xe8\xd3\x42\xe3\xb2\x03\xb5\x65\xc9\xf7\x93\x9e\x00\x7c\x78\xa7\x35\x1e\x4e\x80\x74\x2d\x36\x43\xf0\x8f\x8f\x55\x3b\x25\x48\xb2\x95\xa9\x82\xdf\xf9\xf7\x8a\xc2\x86\x47\xa5\x5e\x57\x60\x4b\xf8\x11\xe8\x3c\xe4\x9f\xcc\x14\xfe\xb0\x58\x7d\x3a\x2a\xff\x66\xbb\x27\x83\xaa\x98\x2e\x09\xdc\x58\x0e\x13\x37\xcc\xa7\x02\xa3\xb1\xeb\x62\x80\x51\x32\xa4\x5c\xc5\x81\xb0\x79\x88\xd8\x2a\xae\xa9\x51\x6c\x12\x9a\x9f\xc2\xc8\x88\x70\xe7\xdf\xdf\xf5\xef\x4b\xce\x49\x1b\xe0\x40\x01\x94\x6a\xe1\xa7\xf0\x6e\x04\x15\x46\xf3\x8f\xcb\xa8\xf0\x69\x8c\xba\x4e\x0a\x8d\x4a\x85\xf6\x1b\x34\x49\x4e\x4d\x68\x7c\xd0\xc8\xda\xc9\x40\x93\xa2\x1d\x54\x95\x23\xaf\x32\xa9\xbe\x4f\xf8\xa0\x03\x3d\x29\x99\x7c\xea\xc0\x2b\xb0\xc9\xe9\x09\x19\x74\xe0\x18\xc8\x60\xa8\x98\x55\x0a\xd1\x62\x01\x78\x5f\x95\x2e\x3b\xc6\xc8\x53\x0b\x19\x95\xdb\x8a\x3b\x0d\xf4\xa0\xf9\x50\x6d\x7d\x8b\x2a\xda\xd4\x12\xcb\xbd\x1d\x77\x38\x52\xcf\xb6\x96\x83\x61\xdf\xd2\x0a\x58\x1c\x7a\x44\xa0\x9c\x12\xc6\xd4\x9b\x25\x2d\x78\x41\xb4\xe8\xe6\x61\x04\x57\x44\x6c\x1c\x11\xc5\xd4\xb5\xf3\x06\x3f\x4b\x69\x45\x87\x5f\x87\x5a\x94\x50\x52\x91\xc9\x2e\x59\xf2\x94\x42\x07\xde\x8f\x60\x00\xdf\xbe\x41\x65\x7d\x91\xae\xab\x5a\x2d\x26\x8a\x93\x51\xfa\x3c\xac\x6c\x2d\x94\xad\x45\xb9\x55\x88\xbd\xb5\xe0\x38\x93\xe3\x18\xac\x61\xfe\x6d\xd1\x51\x15\xae\x4c\x25\x55\x39\xca\x51\x45\x91\x37\x9b\x55\x4c\x90\x4d\x32\x67\x74\x0c\x52\x67\x78\x75\xb9\x95\x29\xe9\x64\x94\x7f\x1b\x6a\xdb\x8b\xca\xb6\x49\x7e\x2e\x25\xce\x65\xcb\x35\x90\x1f\x6a\x2a\x4b\x1b\x42\xbd\x00\x93\x2c\x6f\xe3\x83\x50\x5b\x17\x63\xf2\xad\x05\x79\x65\xc2\xc4\x07\xe1\x14\xa5\x60\x58\x85\xd1\xa6\xd3\xca\x9e\x61\xee\xcc\xf7\xeb\x63\x61\xd5\x90\xa2\x18\x4a\xe5\xe1\x69\x2f\xe0\x65\x3c\x0f\x1b\x33\xad\x68\xaf\x28\x52\x7c\x51\x56\x11\x41\xa2\x35\xa6\x8d\x42\x48\x3c\x78\xf9\x12\x1a\x37\x93\xa1\xfc\xef\xa4\x4e\xc9\x75\x18\xa1\x6c\x2f\x3e\xe0\x8a\xc8\x3a\xd1\x29\xe1\x34\x1b\x84\x31\xdf\xd8\x5a\x27\x91\x70\xd1\xad\xaa\xbe\xd3\xd1\x14\x5c\x19\xf7\x55\x29\x5f\xe4\xfa\xd5\x79\x56\x46\xfb\xe6\x7c\x50\x0b\xcd\xb6\xb4\x50\x95\xbb\x72\x2d\xd0\x16\x83\x9a\xfb\xb7\x87\x61\x2e\x96\x9e\x23\xa5\x75\x92\x96\x5e\xb7\x4c\x80\x24\xca\x13\xac\x86\xa4\xc9\xd8\x96\x76\x0d\xce\x2a\xa2\xba\xbd\x4d\xa1\x37\xa1\x9e\x1a\x78\x3f\xcc\xa5\xd3\x26\xe9\x51\xeb\x92\xca\x76\x4c\x98\x9a\x26\x4d\xab\x12\xff\x5d\xbd\xc6\xb7\xb9\xb7\xe6\xc0\x3c\x0c\x7c\x17\x25\xa1\x2e\x0c\x74\x27\xad\x64\x81\xe3\xe3\x46\x17\x36\x64\x99\xb2\x82\x1b\xf2\xc9\x7b\xe3\x6d\x60\xa6\xa8\x5a\x2e\xcb\xf3\x54\x69\xc0\xa7\x67\xa4\xc4\x22\x29\x68\x47\xcb\x02\xf0\xf2\xa5\xd1\x49\xd4\x93\x6b\x75\xfb\x07\x9c\xfb\x42\x11\xef\xe5\xcb\xaa\x16\xe1\x44\x4d\xe4\xef\xaa\x77\xa2\xba\x1b\x2d\x63\x21\x18\xad\xe7\x12\x53\x2a\xd7\xca\x1c\xa4\xd7\xe1\x29\xfa\x40\x71\x98\x72\x56\x33\x53\x39\x6d\xa4\xf2\x5a\xa1\x72\x80\xc8\xeb\x46\x22\xc6\xf6\xb4\x34\x8a\xac\xa2\x19\xac\x2c\xaa\x03\x4b\x0b\x8c\x9c\x8e\x41\xda\x7a\xda\xe0\x28\xf2\x8c\x53\x6b\xf2\xba\x9a\xe6\x6b\x1a\xaa\x12\x6f\xe4\xb0\x6f\xd5\x92\xae\x29\xf9\xa4\x37\x44\xff\xcd\x3f\xff\x38\xff\x40\x5b\xf6\xa8\xeb\x5d\x42\xe9\x5a\xe7\xf1\xf6\x73\x19\x53\xd9\xca\xa2\xba\xf2\x9f\x64\x99\xe4\x76\xdf\xe7\x22\xaf\xe8\xfc\xaf\x48\xa4\x2d\x74\xc8\x76\xea\xa1\xc9\x95\x05\x9c\xd4\xa6\x7b\xef\x31\xdb\x4b\x92\x56\x57\xa6\x88\x63\x68\x22\xb0\x68\x21\xb0\x28\x08\x68\x52\x99\xd3\x6e\x6b\x39\x91\xdd\x7e\x22\x95\x19\xea\xce\x4c\xf2\x04\x06\xf7\xba\xee\x1a\xdc\xc9\xa0\x44\x69\xba\xbf\xa3\xaf\x61\x15\x7d\x5f\x47\x6f\xd5\x56\x15\x5d\x06\xc2\x07\x0c\x04\xd1\x03\xa3\x81\x84\x21\x70\x12\xcf\x3f\x1e\x49\x41\x5e\x1d\xbe\x45\x29\x66\x29\xef\x51\x0e\xf6\xe5\xf9\xaf\x60\xd0\xef\xf7\x3b\x15\xba\x8b\x84\xee\xfe\xef\xd1\xdd\x1f\xa0\xdb\xa8\x58\x83\x1d\x0e\x63\x2d\x0c\xea\x6f\xc7\x2a\x55\xfc\x9c\x5e\xa8\xbd\xe0\xe7\x59\xed\xfd\xa8\xb9\xe6\xb7\x76\x20\xc9\x7c\x7b\x70\x88\x38\x1e\xa5\x56\x7e\x55\xbe\x52\x6d\x98\x20\x52\xc8\x85\x19\x52\x69\x13\x1a\x19\xaa\x75\x0a\xda\x68\x9d\xb2\xa1\xbc\xc4\x1d\x1a\xa0\x17\x25\xf4\xa2\x09\xba\x8c\x42\xe3\xc5\x8a\xf1\x12\x78\x43\x02\xc9\x29\x4e\x91\x87\x8c\x72\xb4\xb7\xc8\x39\x59\x63\xa5\x10\x6c\xc8\xf5\xf2\x4f\x39\x5f\xe0\x0e\xfe\xe4\xb3\xf3\xb1\x6d\xcd\xce\xc7\x27\xa7\x6f\xfe\xc7\xea\x82\x35\x9f\x7c\x9e\xe7\xd5\x3d\x05\x75\x38\x8a\xf3\xab\xf1\xd9\x6f\xb8\xcf\xe9\x99\xe1\x52\x3e\xed\x9d\x4f\x3d\xb6\x73\x02\xe6\x26\xde\xef\x6c\x08\xdf\x38\x3c\x5e\x72\x11\xd9\x83\x3c\x07\x66\xb7\x52\x4b\xc1\x88\x9d\xa1\xaf\xd3\x63\x6c\xeb\x97\xc5\x7c\x32\xb3\x3a\xe9\xf5\x52\x46\xad\x7e\x47\x1e\x30\xe2\x59\x5d\xc8\x85\xaf\x5c\x35\x91\x58\x6c\x64\x29\x71\x89\xd0\x2f\x05\x92\x17\xce\x21\xd2\x74\x8c\x2a\xee\xe0\xd7\x28\xb2\x0b\xfb\xa4\x28\x59\x19\x88\xa5\xdc\xd4\xb8\x01\xe3\x09\xb5\x46\xa4\x14\x22\xc7\x91\xb3\x7c\x0b\x70\x48\x54\xc8\x64\xb0\x3f\x00\x9e\xc0\xa8\x1c\x7d\xc1\xfd\x92\x91\xa8\xf5\x98\x1c\x46\xc5\x2b\x5f\x6e\x14\x1d\x6a\x23\xbe\x0e\xab\xd2\x11\xf8\x28\xda\x70\xe5\x7e\x0e\x9f\xea\xc6\xe1\x62\x1f\xa0\xe3\xf9\x3c\x0c\x88\xac\x0c\x16\x65\x14\xad\x42\x0d\xad\xfb\xb9\x28\xad\x40\xf2\x4c\xe7\x81\x04\x31\xca\x0d\x2b\xbb\x97\x4f\x7f\xe4\x70\x13\x31\xc1\x5c\x26\xf5\x6c\xed\x38\x7f\x6b\x95\x97\x6b\x85\xb7\x86\x05\xcc\x08\xac\xe4\x47\x23\x56\x75\x92\xaa\x12\xc9\x69\xa4\xd1\xba\xe3\x59\x5c\xfd\x8e\xcb\x19\x73\xbf\xa0\xb0\x15\x84\x63\xb0\x7a\x3d\xd9\x49\x97\xa1\xc1\xb8\xa0\x64\x8b\x70\x5c\x49\x12\xca\x47\x61\x8c\x45\x02\xfe\x17\xac\xb7\x15\x0a\xc9\xea\x5b\xb0\xac\x4e\x33\x0d\xab\xb7\xe3\xd2\x0c\x19\x8b\x0e\xa3\x59\x18\xcb\xc8\xc8\xc3\x27\xb9\x22\xd2\xd3\x72\x25\x8e\xf4\xc4\xb7\xe3\x4e\x62\x54\x5b\xbb\xc9\x48\x43\xdb\x94\xc8\xf4\xb0\xac\xb6\x1d\xf9\xb4\x51\xcf\x62\x09\x6f\x8e\x47\x04\x51\x5b\xa8\x2c\x44\x5b\xbd\x21\x17\x64\xe3\x73\xc1\xa2\xbd\xc3\x05\x11\x98\x98\xb6\x8c\x0b\x4d\xac\x66\x2f\x5b\x05\xf8\x68\x55\x65\x4d\xbc\x6d\xc5\xdc\x98\xdb\x87\x86\x29\xa3\x77\x6b\x24\x33\x55\x3d\xe5\x6f\x93\x12\x63\x25\x4a\x56\x4d\xa5\x5b\xc9\xf0\x46\x5c\x17\xca\xfc\xcb\x82\xaa\x75\x9e\xab\xcf\x43\x61\xda\xae\xc4\x04\xb0\x80\x6b\xca\x0a\xaa\x5e\x72\x6d\x1c\x4c\x71\x79\x82\x32\x14\x0b\x37\xf0\xdd\x2f\x56\xb7\x29\x42\x9e\xfb\x29\xa3\xe5\x07\xd9\xe0\x9f\xe9\x56\xf3\x26\xb3\x73\xe6\xa1\x10\xc6\x7c\x33\x93\xe1\xa0\xd4\x88\x2e\x58\xe9\xcf\x12\xe1\x37\xad\x6c\x3c\x29\x2f\x22\x5e\x18\x7e\x13\xa5\x0a\xab\x97\x8c\x56\x89\x52\xd9\x6b\x28\x8d\x26\xfc\x61\x36\x30\xc5\x6c\xfd\x37\x4e\x21\xf1\xea\x57\x1f\xf9\x4a\xa3\x87\xca\xbc\xf6\x83\xbd\xb3\x59\x2d\x4a\x45\x7c\x31\x4a\x2a\x45\xc3\x2d\x8f\x90\x95\xa5\x84\xee\x18\x52\x9d\x5a\x58\xab\x4a\x48\x28\xa5\xbd\x5a\xee\x61\x4b\xe2\x7e\xb1\x35\xff\xc9\x40\x18\x0d\x59\x98\x25\xe3\x03\x35\xa8\xc9\xdd\x73\x7f\xd7\xc5\x79\x4e\x9e\x85\xe7\x76\x13\xd0\x78\x35\xd6\x2c\x6a\xa9\x93\xa7\x61\x7b\xe2\x8a\x50\x36\xb1\x3f\x3a\x6d\x99\x3d\xa3\xe8\x20\x52\x26\x74\x3b\x49\x2d\xd6\xf9\x49\x66\x3a\x2e\x48\x24\xac\xae\xfa\x6e\xaf\x5b\xfc\xc2\xf0\x00\x2e\x52\xaf\xc0\x9c\x50\xef\xd9\x78\x6e\x72\x93\x58\xa0\xa6\x17\x8b\xcf\xc6\x96\xd3\x5f\x81\x2b\xe7\xa8\x12\xf3\xa9\x7c\xfc\x77\x00\x00\x00\xff\xff\x43\x36\xc0\xc9\x03\x2f\x00\x00") +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\xdf\x92\x78\x5c\x64\x8d\x0e\xff\x2b\x14\xc9\x9d\x23\x60\x5b\xf5\xd0\x78\xc6\x03\x47\x95\x71\x88\xfb\x98\xee\xc5\x19\xb1\x2d\xf3\xcf\x21\xd4\x11\x98\x37\x10\x98\xe7\x04\x34\xa9\xcc\x39\xbd\xb1\x56\xc9\xeb\x51\x2c\x95\x19\xea\xce\x4c\xf2\x08\xfa\xf7\xba\xee\x1a\x7c\x55\x53\xa2\x34\xdd\xf7\xe8\x6b\x50\x46\xdf\x55\xd1\x1b\xb5\x55\x46\x97\x51\xf6\x11\x7d\x41\xf4\xa8\xab\x21\x61\x88\xca\xd8\xf3\x0f\x87\x52\x90\x37\xfb\xc7\x4e\xf9\xe5\xd3\x7d\x6c\x41\x57\x39\xff\x0d\xf4\x7b\xbd\x5e\xab\x44\x77\x1e\xd3\xdd\x7d\x1f\xdd\xdd\x1e\xba\xb5\x8a\x35\xd8\x61\x3f\xd6\xdc\xa0\xfe\x66\xac\x42\xc5\xc6\x44\xa7\x35\x5a\xcd\xdd\x44\x96\x32\x3f\x0c\xeb\x1b\x8a\xc6\xf6\x26\x1e\x08\xec\xbd\x5b\x1d\x0e\x63\x2b\xd7\x5c\xa6\x92\xdd\xb9\xb1\xd7\xa8\x3d\xb8\xd2\x6e\x68\x33\x87\xca\x71\xda\xd0\xa1\x7c\x60\xfe\x64\x9c\x2a\x19\x27\xe0\x6b\xe2\x4b\x6e\x70\x82\x3c\x60\x94\xa3\xbd\x41\xce\xc9\x0a\x4b\x49\x7d\x4d\x6e\x16\x7f\xca\x2b\x14\x6e\xe1\x4f\x3e\x3d\x1f\xd9\xd6\xf4\x7c\x74\x74\xfc\xee\xff\xac\x36\x58\xb3\xf1\xe7\x59\x56\x50\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\x9f\xa5\x23\xb9\x85\x60\xc4\x4e\xd1\x57\xc9\x31\xb6\xf5\xcb\x7c\x36\x9e\x5a\xad\x64\xb6\x96\x52\xab\xbe\x20\xf0\x19\x71\xad\x36\x64\xc2\x97\xe6\x6c\x24\x12\x6b\x59\x16\x1c\x22\xf4\xb9\x47\xfc\x12\x3e\x40\x9a\x94\xc7\xfc\x05\xc4\x0a\x45\xfa\xb6\x22\x2e\x30\x56\x0a\x62\x29\x63\x2a\xc7\x67\x3c\xa6\x56\x8b\x94\x40\x64\x38\x01\x69\x04\x0e\x88\x0a\x19\xcf\x2e\xf6\x80\xc7\x30\x2a\x47\x5f\x70\xb7\x60\x24\x6c\x3c\x26\x83\x51\xf1\x8a\x37\x3b\x79\x2b\x5b\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\x52\x22\xf9\xf0\xe3\x36\x64\x82\x39\x4c\xea\xd9\xda\x72\x7e\x62\x15\x93\xc5\xdc\x5b\x83\x1c\x66\x08\x56\xfc\x65\x8c\x55\xbe\x72\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\xb9\x8b\xd0\x60\x5c\x50\xb2\x41\x38\x2c\xa5\x05\xe5\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\xa7\x60\x7a\x8a\x2d\xc5\x91\xa1\x03\x8d\x8d\x6a\x6b\xed\x67\x12\xda\xa6\x44\xa6\x87\xa5\x79\x90\x5a\xcd\x62\x31\x6f\x1d\x97\x08\xa2\xb6\x43\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\x75\x19\xbd\x5b\x23\x99\xaa\xea\x29\x7b\x95\x16\x1b\x2b\x56\xb2\x6a\x2a\xdd\x4a\x86\xcf\x01\x74\xa1\xcc\x9f\x55\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\xeb\xa9\x0c\x07\xa5\x46\xb4\xc1\x4a\xbe\xbd\x84\xdf\xb4\xb2\xf1\xa4\xbc\x85\x79\x65\xf8\x20\x4c\x15\x56\x2f\x19\x8d\x12\x25\xb2\x57\x50\x6a\x4d\xf8\x62\x36\x30\xc5\x6c\xf5\x03\xaf\x80\xb8\xd5\x19\x49\xb6\x52\xeb\xa1\x32\xaf\xbd\xb0\x77\xd6\xab\x45\xa9\x88\xaf\x86\x71\xa5\xa8\x99\x24\x08\x59\x59\x0a\xe8\x96\x21\xd5\xa9\x85\xb5\xac\x84\x98\x52\xd2\xab\x65\x1e\xb6\x20\xce\x17\x5b\xf3\x9f\x14\x84\xd1\x80\x05\x69\x32\xde\x53\x83\xea\xdc\x3d\xf3\x77\x5d\x9c\xe7\xe4\x59\x78\x6e\x37\x01\xb5\x33\xb4\x7a\x51\x0b\x9d\x3c\x0d\x9a\x13\x57\x88\xb2\x89\x7d\xe9\xb4\x65\xf6\x8c\xbc\x83\x48\x98\xd0\xed\x24\xb5\x58\xe5\x27\xbe\x9f\x71\x41\x42\x61\xb5\xd5\xd7\x97\xed\xfc\xf3\xca\x3d\xb8\x48\xdd\x1c\x73\x4c\xdd\x67\xe3\x39\xf1\xc8\x31\x47\x4d\x26\x90\xcf\xc6\x96\xb7\xba\x1c\x57\xde\xa3\x0a\xcc\xa7\xe2\xf1\x9f\x01\x00\x00\xff\xff\x16\x31\x02\x9c\xe8\x2f\x00\x00") func webdataFnJsBytes() ([]byte, error) { return bindataRead( @@ -89,7 +89,7 @@ func webdataFnJs() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "webdata/fn.js", size: 12035, mode: os.FileMode(436), modTime: time.Unix(1, 0)} + info := bindataFileInfo{name: "webdata/fn.js", size: 12264, mode: os.FileMode(436), modTime: time.Unix(1, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/main.go b/main.go index 1e3edf4..7f7a08d 100644 --- a/main.go +++ b/main.go @@ -51,6 +51,9 @@ func processCommand(plugin Plugin, command string) error { if len(command) == 0 { return errors.New("empty command") } + if command == "sf" { + return plugin.PointerScrollFinish() + } if command[0] == 't' { text := command[1:] if !utf8.ValidString(text) { diff --git a/plugin.go b/plugin.go index 8f9c722..9445537 100644 --- a/plugin.go +++ b/plugin.go @@ -42,5 +42,6 @@ type Plugin interface { KeyboardText(text string) error PointerButton(button uint, press bool) error PointerMove(deltaX, deltaY int) error - PointerScroll(stepsHorizontal, stepsVertical int) error + PointerScroll(deltaHorizontal, deltaVertical int) error + PointerScrollFinish() error } diff --git a/plugin_windows.go b/plugin_windows.go index 64db40f..91c6e97 100644 --- a/plugin_windows.go +++ b/plugin_windows.go @@ -44,7 +44,7 @@ const ( mouseeventfWheel uint32 = 0x800 mouseeventfHwheel uint32 = 0x1000 - wheelDelta int = 120 + scrollMult int = 6 ) type mouseInput struct { @@ -146,20 +146,20 @@ func (p *windowsPlugin) PointerMove(deltaX, deltaY int) error { return nil } -func (p *windowsPlugin) PointerScroll(stepsHorizontal, stepsVertical int) error { +func (p *windowsPlugin) PointerScroll(deltaHorizontal, deltaVertical int) error { inputs := make([]mouseInput, 0, 2) - if stepsHorizontal != 0 { + if deltaHorizontal != 0 { inputs = append(inputs, mouseInput{ typ: inputMouse, dwFlags: mouseeventfHwheel, - mouseData: uint32(stepsHorizontal * wheelDelta), + mouseData: uint32(deltaHorizontal * scrollMult), }) } - if stepsVertical != 0 { + if deltaVertical != 0 { inputs = append(inputs, mouseInput{ typ: inputMouse, dwFlags: mouseeventfWheel, - mouseData: uint32(stepsVertical * wheelDelta), + mouseData: uint32(deltaVertical * scrollMult), }) } if len(inputs) == 0 { @@ -172,3 +172,7 @@ func (p *windowsPlugin) PointerScroll(stepsHorizontal, stepsVertical int) error } return nil } + +func (p *windowsPlugin) PointerScrollFinish() error { + return nil +} diff --git a/plugin_x11.go b/plugin_x11.go index 6273f4f..747df9f 100644 --- a/plugin_x11.go +++ b/plugin_x11.go @@ -35,11 +35,15 @@ import ( "unsafe" ) -const typingDelay time.Duration = 100 * time.Millisecond +const ( + typingDelay time.Duration = 100 * time.Millisecond + scrollDiv int = 20 +) type x11Plugin struct { - display *C.Display - lock sync.Mutex + display *C.Display + lock sync.Mutex + scrollHorizontal, scrollVertical int } func InitX11Plugin() (Plugin, error) { @@ -157,7 +161,13 @@ func (p *x11Plugin) PointerMove(deltaX, deltaY int) error { return nil } -func (p *x11Plugin) PointerScroll(stepsHorizontal, stepsVertical int) error { +func (p *x11Plugin) PointerScroll(deltaHorizontal, deltaVertical int) error { + p.lock.Lock() + stepsHorizontal := (p.scrollHorizontal + deltaHorizontal) / scrollDiv + stepsVertical := (p.scrollVertical + deltaVertical) / scrollDiv + p.scrollHorizontal = (p.scrollHorizontal + deltaHorizontal) % scrollDiv + p.scrollVertical = (p.scrollVertical + deltaVertical) % scrollDiv + p.lock.Unlock() var buttonHorizontal uint = 7 if stepsHorizontal < 0 { buttonHorizontal = 6 @@ -186,3 +196,11 @@ func (p *x11Plugin) PointerScroll(stepsHorizontal, stepsVertical int) error { } return nil } + +func (p *x11Plugin) PointerScrollFinish() error { + p.lock.Lock() + defer p.lock.Unlock() + p.scrollHorizontal = 0 + p.scrollVertical = 0 + return nil +} diff --git a/webdata/fn.js b/webdata/fn.js index 35d174a..9bc7f6f 100644 --- a/webdata/fn.js +++ b/webdata/fn.js @@ -20,8 +20,6 @@ // [1 Touch, 2 Touches, 3 Touches] const TOUCH_MOVE_THRESHOLD = [10, 15, 15]; const TOUCH_TIMEOUT = 250; -const MOVE_MULT = 1; -const SCROLL_MULT = 0.05; // [[px/s, mult], ...] const POINTER_ACCELERATION = [[0, 0], [87, 1], [173, 1], [553, 2]]; @@ -40,6 +38,7 @@ var scrollXSum = 0; var scrollYSum = 0; var dragging = false; var draggingTimeout = null; +var scrolling = false; function fullscreenEnabled() { return (document.fullscreenEnabled || @@ -153,6 +152,7 @@ function updateMoveAndScroll() { if (Math.abs(scrollX) >= 1 || Math.abs(scrollY) >= 1) { scrollXSum -= scrollX; scrollYSum -= scrollY; + scrolling = true; ws.send("s" + scrollX + ";" + scrollY); } } @@ -183,6 +183,10 @@ function handleStart(evt) { draggingTimeout = null; dragging = true; } + if (scrolling) { + ws.send("sf"); + scrolling = false; + } } } @@ -196,6 +200,10 @@ function handleEnd(evt) { ongoingTouches.splice(idx, 1); touchReleasedCount++; touchLastEnd = evt.timeStamp; + if (scrolling) { + ws.send("sf"); + scrolling = false; + } } if (touchReleasedCount > TOUCH_MOVE_THRESHOLD.length) { touchMoved = true; @@ -234,6 +242,10 @@ function handleCancel(evt) { touchReleasedCount++; touchLastEnd = evt.timeStamp; touchMoved = true; + if (scrolling) { + ws.send("sf"); + scrolling = false; + } } } @@ -261,11 +273,11 @@ function handleMove(evt) { } if (touchMoved && evt.timeStamp - touchLastEnd >= TOUCH_TIMEOUT) { if (ongoingTouches.length == 1 || dragging) { - moveXSum += sumX * MOVE_MULT; - moveYSum += sumY * MOVE_MULT; + moveXSum += sumX; + moveYSum += sumY; } else if (ongoingTouches.length == 2) { - scrollXSum -= sumX * SCROLL_MULT; - scrollYSum -= sumY * SCROLL_MULT; + scrollXSum -= sumX; + scrollYSum -= sumY; } updateMoveAndScroll(); } From 71d7cd42b9031481c406b9bfe9f75742a96bec5d Mon Sep 17 00:00:00 2001 From: Unrud Date: Tue, 31 Jul 2018 20:19:12 +0200 Subject: [PATCH 028/321] add support for Flatpak's RemoteDesktop portal --- README.md | 2 +- desktop/remote-touchpad.appdata.xml | 2 +- flatpak/com.github.unrud.RemoteTouchpad.json | 8 +- plugin.go | 1 + plugin_portal.go | 271 +++++++++++++++++++ plugin_portal_dummy.go | 28 ++ 6 files changed, 309 insertions(+), 3 deletions(-) create mode 100644 plugin_portal.go create mode 100644 plugin_portal_dummy.go diff --git a/README.md b/README.md index 904fd5e..42ea676 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Control mouse and keyboard from the webbrowser of a smartphone (or any other device with a touchscreen). To take control open the displayed URL or scan the QR code. -Supports Windows and X11. +Supports Flatpak's RemoteDesktop portal (experimental), Windows and X11. ## Installation diff --git a/desktop/remote-touchpad.appdata.xml b/desktop/remote-touchpad.appdata.xml index 5e269ed..62dd6c5 100644 --- a/desktop/remote-touchpad.appdata.xml +++ b/desktop/remote-touchpad.appdata.xml @@ -11,7 +11,7 @@ To take control open the displayed URL or scan the QR code.

- Supports Windows and X11. + Supports Flatpak's RemoteDesktop portal (experimental), Windows and X11.

https://github.com/Unrud/remote-touchpad/issues diff --git a/flatpak/com.github.unrud.RemoteTouchpad.json b/flatpak/com.github.unrud.RemoteTouchpad.json index 151250b..db92ec4 100644 --- a/flatpak/com.github.unrud.RemoteTouchpad.json +++ b/flatpak/com.github.unrud.RemoteTouchpad.json @@ -36,6 +36,12 @@ "commit" : "38087fe4dafb822e541b3f7955075cc1c30bd294", "dest" : "src/github.com/elazarl/go-bindata-assetfs" }, + { + "type" : "git", + "url" : "https://anonscm.debian.org/git/pkg-go/packages/golang-dbus.git", + "commit" : "79d96b151df08809558c825f8a75188826e8e228", + "dest" : "src/anonscm.debian.org/git/pkg-go/packages/golang-dbus.git" + }, { "type" : "git", "path" : "..", @@ -45,7 +51,7 @@ ], "buildsystem" : "simple", "build-commands" : [ - ". /usr/lib/sdk/golang/enable.sh; env GOPATH=\"$(pwd)\" go build -tags x11 github.com/unrud/remote-touchpad", + ". /usr/lib/sdk/golang/enable.sh; env GOPATH=\"$(pwd)\" go build -tags 'portal x11' github.com/unrud/remote-touchpad", "install -Dm0755 -t /app/bin remote-touchpad", "install -Dm0755 -t /app/bin src/github.com/unrud/remote-touchpad/desktop/remote-touchpad-wait-on-error", "install -Dm0644 -t /app/share/appdata src/github.com/unrud/remote-touchpad/desktop/remote-touchpad.appdata.xml", diff --git a/plugin.go b/plugin.go index 9445537..64482fc 100644 --- a/plugin.go +++ b/plugin.go @@ -26,6 +26,7 @@ type PluginInfo struct { var Plugins []PluginInfo = []PluginInfo{ {"X11", InitX11Plugin}, + {"RemoteDesktop portal", InitPortalPlugin}, {"Windows", InitWindowsPlugin}, } diff --git a/plugin_portal.go b/plugin_portal.go new file mode 100644 index 0000000..faa6a5d --- /dev/null +++ b/plugin_portal.go @@ -0,0 +1,271 @@ +// +build portal + +/* + * Copyright (c) 2018 Unrud + * + * This file is part of Remote-Touchpad. + * + * Foobar is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Remote-Touchpad is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Foobar. If not, see . + */ + +package main + +import ( + dbus "anonscm.debian.org/git/pkg-go/packages/golang-dbus.git" + "errors" + "fmt" + "sync" +) + +const ( + deviceKeyboard uint32 = 1 + devicePointer uint32 = 2 + + btnReleased uint32 = 0 + btnPressed uint32 = 1 + + btnLeft int32 = 0x110 + btnRight int32 = 0x111 + btnMiddle int32 = 0x112 +) + +type portalPlugin struct { + bus *dbus.Conn + remoteDesktop dbus.BusObject + sessionHandle dbus.ObjectPath + lock sync.RWMutex +} + +func InitPortalPlugin() (Plugin, error) { + bus, err := dbus.SessionBusPrivate() + if err != nil { + return nil, UnsupportedPlatformError{err} + } + cleanupBus := true + defer func() { + if cleanupBus { + bus.Close() + } + }() + err = bus.Auth(nil) + if err != nil { + return nil, UnsupportedPlatformError{err} + } + err = bus.Hello() + if err != nil { + return nil, UnsupportedPlatformError{err} + } + remoteDesktop := bus.Object("org.freedesktop.portal.Desktop", + "/org/freedesktop/portal/desktop") + availableDeviceTypesV, err := remoteDesktop.GetProperty( + "org.freedesktop.portal.RemoteDesktop.AvailableDeviceTypes") + if err != nil { + return nil, UnsupportedPlatformError{err} + } + availableDeviceTypes, ok := availableDeviceTypesV.Value().(uint32) + if !ok { + return nil, UnsupportedPlatformError{errors.New( + "unexpected 'AvailableDeviceTypes' return type")} + } + if availableDeviceTypes&deviceKeyboard == 0 || + availableDeviceTypes&devicePointer == 0 { + return nil, UnsupportedPlatformError{errors.New( + "keyboard or pointer source type not supported")} + } + inVardict := make(map[string]dbus.Variant) + inVardict["session_handle_token"] = dbus.MakeVariant("t") + result, outVardict, err := getResponse(bus, remoteDesktop, + "org.freedesktop.portal.RemoteDesktop.CreateSession", 0, inVardict) + if err != nil { + return nil, UnsupportedPlatformError{err} + } + if result != 0 { + return nil, UnsupportedPlatformError{errors.New(fmt.Sprintf( + "Calling 'CreateSession' failed (%v)", result))} + } + sessionHandleV, ok := outVardict["session_handle"] + if !ok { + return nil, UnsupportedPlatformError{errors.New( + "'session_handle' missing from 'CreateSession' return value")} + } + sessionHandleS, ok := sessionHandleV.Value().(string) + if !ok { + return nil, UnsupportedPlatformError{errors.New( + "unexpected 'session_handle' type in 'CreateSession' return value")} + } + sessionHandle := dbus.ObjectPath(sessionHandleS) + inVardict = make(map[string]dbus.Variant) + inVardict["type"] = dbus.MakeVariant(deviceKeyboard | devicePointer) + result, outVardict, err = getResponse(bus, remoteDesktop, + "org.freedesktop.portal.RemoteDesktop.SelectDevices", 0, sessionHandle, inVardict) + if err != nil { + return nil, UnsupportedPlatformError{err} + } + if result != 0 { + return nil, UnsupportedPlatformError{errors.New(fmt.Sprintf( + "Calling 'SelectDevices' failed (%v)", result))} + } + inVardict = make(map[string]dbus.Variant) + result, outVardict, err = getResponse(bus, remoteDesktop, + "org.freedesktop.portal.RemoteDesktop.Start", 0, sessionHandle, "", inVardict) + if err != nil { + return nil, UnsupportedPlatformError{err} + } + if result != 0 { + return nil, errors.New("keyboard or pointer access denied") + } + devicesV, ok := outVardict["devices"] + if !ok { + return nil, UnsupportedPlatformError{errors.New( + "'devices' missing from 'Start' return value")} + } + devices, ok := devicesV.Value().(uint32) + if !ok { + return nil, UnsupportedPlatformError{errors.New( + "unexpected 'devices' type in 'Start' return value")} + } + if devices&deviceKeyboard == 0 || devices&devicePointer == 0 { + return nil, errors.New("keyboard or pointer access denied") + } + cleanupBus = false + return &portalPlugin{bus: bus, remoteDesktop: remoteDesktop, + sessionHandle: sessionHandle}, nil +} + +func getResponse(bus *dbus.Conn, object dbus.BusObject, method string, + flags dbus.Flags, args ...interface{}) (uint32, map[string]dbus.Variant, error) { + ch := make(chan *dbus.Signal) + bus.Signal(ch) + defer bus.RemoveSignal(ch) + var requestPath dbus.ObjectPath + if err := object.Call(method, flags, args...).Store(&requestPath); err != nil { + return 0, nil, err + } + for { + s := <-ch + if s.Path == requestPath && s.Name == "org.freedesktop.portal.Request.Response" { + if len(s.Body) != 2 { + return 0, nil, errors.New("unexpected 'Response' return length") + } + result, ok := s.Body[0].(uint32) + if !ok { + return 0, nil, errors.New("unexpected 'Response' return type") + } + outVardict, ok := s.Body[1].(map[string]dbus.Variant) + if !ok { + return 0, nil, errors.New("unexpected 'Response' return type") + } + return result, outVardict, nil + } + } +} + +func (p *portalPlugin) Close() error { + p.lock.Lock() + defer p.lock.Unlock() + if p.bus == nil { + return errors.New("dbus connection closed") + } + if err := p.bus.Close(); err != nil { + return err + } + p.bus = nil + p.remoteDesktop = nil + return nil +} + +func (p *portalPlugin) KeyboardText(text string) error { + p.lock.RLock() + defer p.lock.RUnlock() + if p.bus == nil { + return errors.New("dbus connection closed") + } + inVardict := make(map[string]dbus.Variant) + for _, runeValue := range text { + keysym := int32(0x01000000 + runeValue) + for _, state := range [...]uint32{btnPressed, btnReleased} { + if err := p.remoteDesktop.Call( + "org.freedesktop.portal.RemoteDesktop.NotifyKeyboardKeysym", + 0, p.sessionHandle, inVardict, keysym, state).Store(); err != nil { + return err + } + } + } + return nil +} + +func (p *portalPlugin) PointerButton(button uint, press bool) error { + p.lock.RLock() + defer p.lock.RUnlock() + if p.bus == nil { + return errors.New("dbus connection closed") + } + var btn int32 + if button == 1 { + btn = btnLeft + } else if button == 2 { + btn = btnMiddle + } else if button == 3 { + btn = btnRight + } else { + return errors.New("unsupported pointer button") + } + state := btnReleased + if press { + state = btnPressed + } + inVardict := make(map[string]dbus.Variant) + if err := p.remoteDesktop.Call("org.freedesktop.portal.RemoteDesktop.NotifyPointerButton", + 0, p.sessionHandle, inVardict, btn, state).Store(); err != nil { + return err + } + return nil +} + +func (p *portalPlugin) PointerMove(deltaX, deltaY int) error { + p.lock.RLock() + defer p.lock.RUnlock() + if p.bus == nil { + return errors.New("dbus connection closed") + } + inVardict := make(map[string]dbus.Variant) + if err := p.remoteDesktop.Call("org.freedesktop.portal.RemoteDesktop.NotifyPointerMotion", + 0, p.sessionHandle, inVardict, float64(deltaX), float64(deltaY)).Store(); err != nil { + return err + } + return nil +} + +func (p *portalPlugin) pointerScrollFull(deltaHorizontal, deltaVertical int, finish bool) error { + p.lock.RLock() + defer p.lock.RUnlock() + if p.bus == nil { + return errors.New("dbus connection closed") + } + inVardict := make(map[string]dbus.Variant) + inVardict["finish"] = dbus.MakeVariant(finish) + if err := p.remoteDesktop.Call("org.freedesktop.portal.RemoteDesktop.NotifyPointerAxis", + 0, p.sessionHandle, inVardict, float64(deltaHorizontal), float64(deltaVertical)).Store(); err != nil { + return err + } + return nil +} + +func (p *portalPlugin) PointerScroll(deltaHorizontal, deltaVertical int) error { + return p.pointerScrollFull(deltaHorizontal, deltaVertical, false) +} + +func (p *portalPlugin) PointerScrollFinish() error { + return p.pointerScrollFull(0, 0, true) +} diff --git a/plugin_portal_dummy.go b/plugin_portal_dummy.go new file mode 100644 index 0000000..9148781 --- /dev/null +++ b/plugin_portal_dummy.go @@ -0,0 +1,28 @@ +// +build !portal + +/* + * Copyright (c) 2018 Unrud + * + * This file is part of Remote-Touchpad. + * + * Foobar is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Remote-Touchpad is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Foobar. If not, see . + */ + +package main + +import "errors" + +func InitPortalPlugin() (Plugin, error) { + return nil, UnsupportedPlatformError{errors.New("disabled")} +} From 1fe8ae8b75a62b4b0a9f0cb290254c5f52471d73 Mon Sep 17 00:00:00 2001 From: Unrud Date: Tue, 31 Jul 2018 20:19:16 +0200 Subject: [PATCH 029/321] bump version to 0.0.5 --- CHANGELOG.md | 8 ++++++++ desktop/remote-touchpad.appdata.xml | 15 ++++++++++++--- main.go | 2 +- 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3df0d89..e02f4f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.0.5 (2018-07-31) + + * remove mouse polling interval + * add support for "pixel-perfect" scrolling + * add experimental support for Flatpak's RemoteDesktop portal + * X11 plugin: check session type + * improve error logging + ## 0.0.4 (2018-07-22) * add setting for mouse polling interval diff --git a/desktop/remote-touchpad.appdata.xml b/desktop/remote-touchpad.appdata.xml index 62dd6c5..139d300 100644 --- a/desktop/remote-touchpad.appdata.xml +++ b/desktop/remote-touchpad.appdata.xml @@ -18,6 +18,15 @@ https://github.com/Unrud/remote-touchpad Unrud + +​
    +
  • remove mouse polling interval
  • +
  • add support for "pixel-perfect" scrolling
  • +
  • add experimental support for Flatpak's RemoteDesktop portal
  • +
  • X11 plugin: check session type
  • +
  • improve error logging
  • +
+